/* Point 7: presentation only. Desktop rules remain in their original stylesheets. */
.rv-responsive-toggle{display:none}
.rv-responsive-toggle:focus-visible,.rv-table-scroll:focus-visible,.rv-admin-table-wrap:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:1360px){
  .rv-header.rv-header{height:auto;min-height:102px;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}
  .rv-header .rv-brand{min-width:0}
  .rv-header .rv-brand img{width:235px;max-width:100%;height:auto}
  .rv-header .rv-header-actions{grid-column:1/-1;grid-row:2;justify-content:flex-start}
  .rv-header .rv-main-nav{grid-column:1/-1;height:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  .rv-header .rv-main-nav a{min-width:0;min-height:48px;height:auto;white-space:normal;font-size:12px;padding:10px;flex-direction:row;overflow-wrap:anywhere;text-align:center}
  .rv-header .rv-main-nav a svg{flex:0 0 24px;width:24px;height:24px}
  .rv-header .rv-lang-switch a{min-height:44px}
  .rv-header .rv-responsive-toggle.rv-menu-ready{display:block;grid-column:2;grid-row:1}
  .rv-header .rv-main-nav.rv-menu-ready:not(.rv-menu-open){display:none}
}
.rv-responsive-toggle{padding:10px 14px;min-height:44px;background:#073a5a;color:#fff;border:1px solid #20b8ff;border-radius:6px;font:inherit;cursor:pointer}
@media(max-width:600px){
  .rv-header .rv-main-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rv-header .rv-brand img{width:200px}
}
@media(max-width:1100px){
  body{overflow-x:visible}
  main{min-width:0;overflow-wrap:anywhere}
  main :is(input,select,textarea){max-width:100%;min-width:0}
  main :is(video,iframe){max-width:100%}
  main video{height:auto}
  main pre{max-width:100%;overflow:auto}
  .rv-common-hero .rv-common-hero__content{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .rv-opp-cta.rv-opp-cta{grid-template-columns:1fr;height:auto}
  .rv-opp-cta .rv-opp-rocket{display:none}
  .rv-opp-cta .rv-opp-wallet{width:auto;max-width:100%;padding:16px}
  .rv-opp-cta .rv-opp-steps{grid-template-columns:1fr;gap:12px}
}
@media(max-width:1020px){
  main.rv-site-information{width:calc(100% - 32px);min-width:0}
}
@media(max-width:760px){
  .rv-common-hero.rv-common-hero{height:auto;padding:28px 0}
  .rv-common-hero .rv-common-hero__content{width:100%;padding:0 20px}
  .rv-common-hero .rv-common-hero__title{font-size:clamp(28px,7vw,38px);overflow-wrap:anywhere}
  .rv-common-hero .rv-common-hero__cta{max-width:100%;white-space:normal;text-align:center}
  .rv-home .rv-key-copy{min-width:0}
  .rv-home .rv-key-copy strong{white-space:normal!important;overflow-wrap:anywhere}
  .rv-home>p[role="status"]{padding:12px 16px;font-size:14px}
}
/* Dashboard: override the later !important two-column declarations explicitly. */
@media(max-width:980px){
  .rv-hub-dashboard .rv-hub-dashboard-body{display:block}
  .rv-hub-dashboard .rv-hub-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}
  .rv-hub-dashboard .rv-hub-dashboard-right{width:100%!important;min-width:0;margin-top:14px!important}
  .rv-hub-dashboard .rv-hub-sidebar{display:block!important;width:100%!important;position:static;margin-bottom:14px}
  .rv-hub-dashboard .rv-hub-sidebar.rv-menu-ready:not(.rv-menu-open){display:none!important}
  .rv-hub-dashboard .rv-responsive-toggle.rv-menu-ready{display:block;width:100%;margin-bottom:12px}
  .rv-hub-dashboard :is(.rv-hub-dashboard-center,.rv-hub-panel,.rv-hub-article-tile){min-width:0;max-width:100%}
}
@media(max-width:920px){
  .rv-hub-article-layout.rv-hub-article-layout,.rv-hub-profile-layout.rv-hub-profile-layout,.rv-hub-private-layout.rv-hub-private-layout,.rv-hub-private-conversation-page-layout.rv-hub-private-conversation-page-layout{display:flex!important;flex-direction:column;min-width:0}
  .rv-hub-article-layout>*,.rv-hub-profile-layout>*,.rv-hub-private-layout>*,.rv-hub-private-conversation-page-layout>*{width:100%;min-width:0;max-width:100%}
  .rv-hub-article-layout>aside,.rv-hub-profile-layout>aside,.rv-hub-private-layout>aside,.rv-hub-private-conversation-page-layout>aside{display:block!important;order:1;position:static;margin-top:14px}
}
@media(max-width:760px){
  .rv-hub-compose-actions.rv-hub-compose-actions{flex-direction:column;align-items:stretch}
  .rv-hub-compose-actions>*{width:100%;min-height:44px;text-align:center;white-space:normal}
  .rv-hub-private-composer .rv-hub-private-composer-footer{flex-wrap:wrap}
  .rv-hub-private-tabs a,.rv-hub-private-composer button{min-height:44px;font-size:13px}
  .rv-hub-private-composer textarea{font-size:16px}
}
/* Admin min-content containment keeps wide tables inside their scroll region. */
.rv-admin-content,.rv-admin-main,.rv-admin-grid>*,.rv-admin-panel,.rv-admin-form-grid>*{min-width:0}
.rv-admin-table-wrap,.rv-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}
@media(max-width:960px){
  .rv-admin-sidebar .rv-responsive-toggle.rv-menu-ready{display:block;width:100%;margin-top:14px}
  .rv-admin-sidebar .rv-menu-ready:not(.rv-menu-open):not(button){display:none}
  .rv-admin-sidebar .rv-admin-brand{margin-bottom:0}
  .rv-admin-sidebar .rv-admin-sidebar-bottom{margin-top:12px}
  .rv-admin-main{overflow-wrap:anywhere}
  .rv-admin-main .rv-admin-grid{grid-template-columns:minmax(0,1fr)}
  .rv-admin-main .rv-admin-stats[style*="grid-template-columns"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .rv-admin-main .rv-admin-form-grid{grid-template-columns:minmax(0,1fr)!important}
  .rv-admin-main :is(input,select,textarea,fieldset){max-width:100%;min-width:0}
  .rv-admin-main :is(img,video){max-width:100%;height:auto}
  .rv-admin-main .rv-admin-form-actions{flex-wrap:wrap}
}
@media(max-width:600px){
  .rv-admin-main .rv-admin-panel{padding:16px}
  .rv-admin-main .rv-admin-stats[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
  .rv-admin-main .rv-admin-heading h1{font-size:26px}
}
@media(max-width:600px){
  .rv-hub-dashboard .rv-hub-welcome{grid-template-columns:minmax(0,1fr);padding:16px 16px 0}
  .rv-header .rv-main-nav a{flex-direction:column}
}
@media(max-width:960px){
  .rv-admin-table-wrap table{min-width:640px;overflow-wrap:normal}
}
@media(min-width:921px) and (max-width:1280px){
  .rv-hub-article-layout>.rv-hub-article-sidebar--right,
  .rv-hub-profile-layout>.rv-hub-profile-sidebar--right,
  .rv-hub-private-layout>.rv-hub-private-sidebar:last-child,
  .rv-hub-private-conversation-page-layout>.rv-hub-private-sidebar:last-child{display:block!important;grid-column:2;min-width:0;width:100%}
}
