
/* Radiation Oncology AI Network V1 private pre-launch UI */
.v1-view-note{max-width:1180px;margin:0 auto 10px;padding:8px 14px;border:1px solid #dbe7f5;border-radius:10px;background:#f7fbff;color:#52677e;font-size:.82rem}
.v1-nav{position:relative;z-index:50}.v1-nav-items{display:flex;align-items:stretch;gap:0;flex-wrap:wrap}.v1-nav a,.nav-dropbtn{display:flex;align-items:center;min-height:50px;padding:0 15px;border:0;background:transparent;color:inherit;text-decoration:none;font:inherit;font-weight:800;cursor:pointer}.v1-nav a:hover,.nav-dropbtn:hover,.v1-nav a.active{background:rgba(77,91,255,.16)}
.nav-dropdown{position:relative}.nav-dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:240px;padding:8px;background:#fff;border:1px solid #dfe7f1;border-radius:0 0 12px 12px;box-shadow:0 16px 30px rgba(20,45,75,.16);z-index:100}.nav-dropdown.open .nav-dropdown-menu{display:block}.nav-dropdown-menu a{min-height:42px;border-radius:7px;color:#243b5a!important;background:#fff}.nav-dropdown-menu a:hover{background:#eef5ff!important;color:#126de2!important}.mobile-nav-toggle{display:none;width:100%;padding:12px 16px;border:0;background:#071a3d;color:#fff;text-align:left;font-weight:900;font-size:1rem}
main>section.v1-hidden{display:none!important}main>section.v1-active{display:block!important;animation:v1fade .16s ease-out}@keyframes v1fade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
/* Home keeps the hero and the two immediately following overview strips visible. */
body.v1-focused .audience-strip,body.v1-focused .platform-scope{display:none}body.v1-focused.v1-home .audience-strip,body.v1-focused.v1-home .platform-scope{display:grid}
.free-promise{display:inline-flex;gap:10px;flex-wrap:wrap;margin:10px 0 2px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.1)}.audience-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}.audience-strip>div{padding:10px;border:1px solid #e0e8f3;border-radius:10px;background:#fff}.audience-strip span{display:block;color:#7b8ca2;font-size:.7rem;font-weight:900}.audience-strip b{font-size:.86rem}
.paper-submit-panel .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.paper-submit-panel .form-grid .wide{grid-column:1/-1}.paper-submit-panel label{font-weight:700}.paper-submit-panel input,.paper-submit-panel textarea{width:100%;box-sizing:border-box;margin-top:6px}.paper-workflow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.paper-workflow span{padding:7px 9px;border-radius:8px;background:#f1f6fb}.rules-notice{margin:14px 0;padding:15px;border:1px solid #d5e4f4;border-radius:12px;background:#f8fbff}
@media(max-width:820px){.mobile-nav-toggle{display:block}.v1-nav-items{display:none;flex-direction:column;align-items:stretch;background:#071a3d}.v1-nav.mobile-open .v1-nav-items{display:flex}.v1-nav a,.nav-dropbtn{width:100%;box-sizing:border-box;min-height:44px;padding:10px 16px;text-align:left}.nav-dropdown{width:100%}.nav-dropdown-menu{position:static;display:none;min-width:0;margin:0 10px 8px;border-radius:9px;box-shadow:none;background:#0b2856;border-color:#244a7a}.nav-dropdown.open .nav-dropdown-menu{display:block}.nav-dropdown-menu a{padding-left:28px;color:#fff!important;background:#0b2856}.nav-dropdown-menu a:hover{background:#14396f!important;color:#fff!important}.audience-strip{grid-template-columns:1fr 1fr}.paper-submit-panel .form-grid{grid-template-columns:1fr}.paper-submit-panel .form-grid .wide{grid-column:auto}.v1-view-note{margin:8px 10px}}
@media(max-width:520px){.audience-strip{grid-template-columns:1fr}}

/* V1 FIX2 — hero heading visibility */
#home.hero{padding-top:52px!important;overflow:hidden}
#home .hero-text{padding-top:6px;overflow:visible}
#home.hero h1{line-height:1.18!important;padding-top:4px;overflow:visible}
@media(max-width:700px){#home.hero{padding-top:36px!important}#home .hero-text{padding-top:4px}#home.hero h1{line-height:1.2!important;padding-top:3px}}

/* V1 final navigation refinement: keep primary tabs visible while scrolling. */
.v1-nav{position:sticky!important;top:92px;z-index:55;background:#fff}
@media(max-width:700px){.v1-nav{top:0}}


/* V3 readability refinement — Knowledge & Community */
#research, #submit-paper, #education, #discussions, #communities, #researchers {color:#24364f;}
#research p, #submit-paper p, #education p, #discussions p, #communities p, #researchers p,
#research .muted, #submit-paper .muted, #education .muted, #discussions .muted, #communities .muted, #researchers .muted,
#research small, #submit-paper small, #education small, #discussions small, #communities small, #researchers small {
  color:#455a73!important;font-size:13px!important;line-height:1.65!important;
}
#research .directory-card p, #education .directory-card p, #discussions .directory-card p,
#communities .directory-card p, #researchers .directory-card p {font-size:13px!important;color:#455a73!important;}
#research .tag, #education .tag, #discussions .tag, #communities .tag, #researchers .tag,
#submit-paper .form-kicker, #submit-paper .review-badge {font-size:10px!important;}
#research h3, #education h3, #discussions h3, #communities h3, #researchers h3 {font-size:15px!important;line-height:1.35;}
#submit-paper label {font-size:13px;color:#24364f;}
#submit-paper input, #submit-paper textarea {font-size:14px;padding:11px 12px;}
#submit-paper .form-actions {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;}
#paperSubmitButton {min-width:285px;padding:13px 20px;font-size:14px;line-height:1.25;border-radius:9px;white-space:normal;}
#paperSubmissionStatus {font-size:12px!important;}
@media(max-width:700px){#paperSubmitButton{width:100%;min-width:0}.paper-submit-panel .form-actions{align-items:stretch}}

/* V4 GLOBAL READABILITY STANDARD — one consistent content system across every page */
:root{--roain-text:#263b55;--roain-secondary:#40566f;--roain-small:14px;--roain-body:15px;}
main{color:var(--roain-text)}
main p,main li,main .muted,main .meta,main .journal,main .comments,main .directory-card p,main .global-note,main .ct-head p,main .ct-card p,main .ct-source-note,main .language-status span,main .language-status em,main .mini small,main .researcher small,main .stats small,main .card p,main .contact-panel p:not(.eyebrow),main .summary-disclaimer,main .insight-block p,main .insight-block li{color:var(--roain-secondary)!important;font-size:var(--roain-body)!important;line-height:1.65!important}
main small{color:var(--roain-secondary)!important;font-size:var(--roain-small)!important;line-height:1.55!important}
main .tag,main .new,main .live,main .badge,main .sample-label,main .review-badge,main .eyebrow,main .ct-kicker{font-size:12px!important;line-height:1.35!important}
main h2{font-size:20px!important;line-height:1.3!important;color:#162f50}
main h3{font-size:17px!important;line-height:1.4!important;color:#1c3658}
main h4{font-size:15px!important;line-height:1.4!important;color:#243d5d}
main a:not(.btn){font-size:14px;line-height:1.5}
main label{font-size:14px!important;color:#263b55!important;line-height:1.45}
main input,main select,main textarea,main button{font-size:14px}
/* Hero is intentionally its own high-contrast display treatment. */
#home.hero p:not(.eyebrow){color:#dce7f5!important;font-size:15px!important;line-height:1.6!important}
#home.hero .eyebrow{color:#78c7ff!important}
#home.hero small,#home.hero .pillars small{color:#d6e3f3!important;font-size:12px!important}
/* Keep dark navigation/footer surfaces high contrast. */
.v1-nav{color:#102b50}
footer small,footer a{color:#d6e1ef!important;font-size:12px!important;line-height:1.55!important}
footer .copyright-notice{color:#dce6f2!important;font-size:12px!important}
/* Legal/policy pages use the same readable body standard. */
.legal-shell p,.legal-shell li{color:var(--roain-secondary)!important;font-size:15px!important;line-height:1.7!important}
.legal-shell .legal-meta,.legal-alert{color:#314b69!important;font-size:14px!important;line-height:1.6!important}
@media(max-width:700px){:root{--roain-body:16px;--roain-small:14px}main h2{font-size:21px!important}main h3{font-size:18px!important}}


/* V5 SITE-WIDE READABILITY STANDARD — applies to every surface, including side cards, modals and admin UI. */
:root{
  --roain-text:#203650;
  --roain-secondary:#3b5069;
  --roain-muted:#425a74;
  --roain-body:16px;
  --roain-small:14px;
  --roain-label:13px;
}
body{font-size:16px;color:var(--roain-text)}

/* Standard explanatory/body text on all light surfaces. */
main p,main li,
.right p,.right li,.right .muted,.right small,.right .email.small,
.modal p,.modal li,.modal .muted,.modal small,
.admin p,.admin li,.admin .muted,.admin small,
.legal-shell p,.legal-shell li,
.card p,.panel p,
.muted,.meta,.journal,.comments,.ct-source-note,.global-note,
.directory-card p,.ct-head p,.ct-card p,.insight-block p,.insight-block li,
.summary-disclaimer,.language-status span,.language-status em{
  color:var(--roain-secondary)!important;
  font-size:var(--roain-body)!important;
  line-height:1.65!important;
}

/* Small text is still readable and consistent, never tiny gray. */
main small,.right small,.modal small,.admin small,.legal-shell small,
.stats small,.mini small,.researcher small,.pillars small,.platform-scope small,
.community-links a,.community-links em,.tabs button,.label{
  color:var(--roain-muted)!important;
  font-size:var(--roain-small)!important;
  line-height:1.55!important;
}

/* Compact labels/badges are allowed to be smaller, but remain legible. */
.tag,.new,.live,.badge,.sample-label,.review-badge,.eyebrow,.ct-kicker,
.free-card-badge,.form-kicker{
  font-size:var(--roain-label)!important;
  line-height:1.35!important;
  letter-spacing:.03em;
}

/* Right rail: Always Free / Platform Updates / Contact now follow the same standard. */
.right .card{padding:18px}
.right .card h2,.right .head h2{font-size:19px!important;line-height:1.3!important;color:#173553!important}
.right .card p,.right .card .muted{font-size:16px!important;color:#3b5069!important;line-height:1.65!important}
.right .card .email{font-size:14px!important;color:#1556a8!important;line-height:1.5!important;overflow-wrap:anywhere}
.right .btn{font-size:14px!important;line-height:1.25!important;padding:11px 14px!important}

/* Main headings and links use a predictable scale. */
main h2{font-size:21px!important;line-height:1.3!important;color:#162f50!important}
main h3{font-size:18px!important;line-height:1.4!important;color:#1c3658!important}
main h4{font-size:16px!important;line-height:1.4!important;color:#243d5d!important}
main a:not(.btn){font-size:15px;line-height:1.5}
main label{font-size:15px!important;color:#263b55!important;line-height:1.45}
main input,main select,main textarea,main button{font-size:15px}

/* Navigation and utility text should not fall below readable sizes. */
.v1-nav a,.nav-dropbtn{font-size:14px!important}
.topbar .contact,.topbar .admin-link{font-size:13px!important}
.brand small{font-size:12px!important;color:#d5e0ef!important}
.left nav a{font-size:14px!important;color:#425a74!important;line-height:1.45!important}
.left .label{font-size:13px!important;color:#526a83!important}
.left .community-links a{font-size:14px!important;color:#425a74!important}
.left .community-links em{font-size:13px!important;color:#526a83!important}

/* Hero and dark surfaces use high-contrast text instead of gray. */
#home.hero p:not(.eyebrow){color:#e3edf8!important;font-size:16px!important;line-height:1.65!important}
#home.hero small,#home.hero .pillars small{color:#e0eaf6!important;font-size:14px!important}
#home.hero .eyebrow{color:#8fd2ff!important}

/* Footer: readable but subordinate. */
footer small,footer a{color:#e0e9f4!important;font-size:13px!important;line-height:1.6!important}
footer .copyright-notice{color:#e3ebf5!important;font-size:13px!important;line-height:1.6!important}

/* Legal pages stay aligned with the site standard. */
.legal-shell p,.legal-shell li{font-size:16px!important;color:#3b5069!important;line-height:1.7!important}
.legal-shell .legal-meta,.legal-alert{font-size:15px!important;color:#314b69!important;line-height:1.65!important}

@media(max-width:700px){
  :root{--roain-body:16px;--roain-small:14px;--roain-label:13px}
  .right .card p,.right .card .muted{font-size:16px!important}
  main h2{font-size:22px!important}
  main h3{font-size:19px!important}
}

/* V6 — ALWAYS FREE emphasis */
.free-card .free-card-badge{
  display:inline-block!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:.045em!important;
  color:#007f8b!important;
  background:#e8fbfc!important;
  border:1px solid #79dce1!important;
  border-radius:999px!important;
  padding:9px 15px!important;
  margin-bottom:12px!important;
  box-shadow:0 2px 8px rgba(0,127,139,.12)!important;
}
@media(max-width:760px){
  .free-card .free-card-badge{font-size:20px!important;padding:8px 13px!important}
}
