/*
 * Ryo Image Toolkit 2.1.2
 * Theme-resistant visual system for tools.ryo.news.
 * Full-bleed page surface, wider editorial grid, and explicit readable colors.
 */

body.rit-managed-page,
html body:has(.rit2) {
  background: #050b14 !important;
  overflow-x: hidden !important;
  color-scheme: dark !important;
}

body.rit-managed-page .entry-title,
body.rit-managed-page .page-title,
body.rit-managed-page .entry-header .entry-title,
body.rit-managed-page .page-header .page-title,
body.rit-managed-page article.page > header.entry-header {
  display: none !important;
}

body.rit-managed-page #content,
body.rit-managed-page .site-content,
body.rit-managed-page .content-area,
body.rit-managed-page main,
body.rit-managed-page main.site-main,
body.rit-managed-page article.page,
body.rit-managed-page .site-main > article.page,
body.rit-managed-page .entry-content,
body.rit-managed-page .post-content,
body.rit-managed-page .page-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-color: transparent !important;
  overflow: visible !important;
  background: #050b14 !important;
  box-shadow: none !important;
}

body.rit-managed-page .entry-content > .rit2,
body.rit-managed-page .post-content > .rit2,
body.rit-managed-page .page-content > .rit2 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html body .rit2,
html body .rit2 *,
html body .rit2 *::before,
html body .rit2 *::after {
  box-sizing: border-box !important;
}

html body .rit2 {
  --rit2-bg: #050b14;
  --rit2-bg-soft: #08111d;
  --rit2-panel: #0b1625;
  --rit2-panel-raised: #101e30;
  --rit2-panel-blue: #0c1c33;
  --rit2-line: #24344a;
  --rit2-line-strong: #385474;
  --rit2-text: #f5f8fc;
  --rit2-text-soft: #dce6f1;
  --rit2-muted: #aebed1;
  --rit2-subtle: #8799ad;
  --rit2-blue: #4f8cff;
  --rit2-blue-light: #89b3ff;
  --rit2-green: #55d6a7;
  --rit2-yellow: #ffd27a;
  --rit2-red: #ff8795;
  --rit2-radius-xl: 26px;
  --rit2-radius-lg: 20px;
  --rit2-radius-md: 14px;
  --rit2-shadow: 0 22px 70px rgba(0, 0, 0, .28);
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: clamp(18px, 2.1vw, 30px) max(18px, calc((100vw - 1440px) / 2)) 76px !important;
  border: 0 !important;
  border-top: 1px solid #17253a !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% -12%, rgba(63, 118, 222, .12), transparent 34%),
    linear-gradient(180deg, #07111d 0%, #050b14 18%, #050b14 100%) !important;
  color: var(--rit2-text) !important;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  isolation: isolate;
  overflow-x: clip !important;
}

html body .rit2 :where(h1,h2,h3,h4,p,a,span,strong,b,small,em,label,button,input,select,textarea,summary,dt,dd,th,td,li,output) {
  font-family: inherit !important;
  font-size: 16px !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

html body .rit2 h1,
html body .rit2 h2,
html body .rit2 h3,
html body .rit2 h4 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rit2-text) !important;
  font-weight: 780 !important;
  text-transform: none !important;
}

html body .rit2 h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -.045em !important;
}

html body .rit2 h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em !important;
}

html body .rit2 h3 {
  font-size: 1.24rem !important;
  line-height: 1.28 !important;
  letter-spacing: -.015em !important;
}

html body .rit2 p {
  margin: 0 !important;
  color: var(--rit2-muted) !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

html body .rit2 a {
  color: var(--rit2-blue-light) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body .rit2 a:hover {
  color: #b9d0ff !important;
}

html body .rit2 svg {
  width: 1em !important;
  height: 1em !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body .rit2 [hidden] {
  display: none !important;
}

html body .rit2 :focus-visible {
  outline: 3px solid #8bb5ff !important;
  outline-offset: 3px !important;
}

/* Brand bar */
html body .rit2-brandbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  min-height: 66px !important;
  margin: 0 0 24px !important;
  padding: 10px 4px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(67, 91, 122, .55) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body .rit2-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--rit2-text) !important;
}

html body .rit2-brand > span:last-child {
  display: grid !important;
  gap: 2px !important;
}

html body .rit2-brand strong {
  color: var(--rit2-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

html body .rit2-brand small {
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  font-weight: 620 !important;
  line-height: 1.15 !important;
}

html body .rit2-ryo-mark,
html body .rit2-cta-mark {
  position: relative !important;
  display: inline-block !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 30% 28%, #9fc0ff 0%, #5d96ff 30%, #356fe0 62%, #16408f 100%) !important;
  box-shadow: 0 9px 24px rgba(65, 126, 242, .28) !important;
}

html body .rit2-ryo-mark i,
html body .rit2-cta-mark i {
  position: absolute !important;
  inset: 14px !important;
  display: block !important;
  border-radius: 2px !important;
  background: #07101b !important;
}

html body .rit2-brand-links {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

html body .rit2-brand-links a {
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Shared typography tokens */
html body .rit2-overline,
html body .rit2-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: var(--rit2-blue-light) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

html body .rit2-kicker > span {
  width: 9px !important;
  height: 9px !important;
  display: inline-block !important;
  border-radius: 50% !important;
  background: var(--rit2-green) !important;
  box-shadow: 0 0 0 5px rgba(85, 214, 167, .10) !important;
}

html body .rit2-section-heading {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 28px !important;
  margin-bottom: 22px !important;
}

html body .rit2-section-heading > div {
  max-width: 780px !important;
}

html body .rit2-section-heading h2 {
  margin-top: 7px !important;
}

html body .rit2-section-heading > p {
  max-width: 430px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  text-align: right !important;
}

/* Buttons */
html body .rit2-button,
html body .rit2 a.rit2-button,
html body .rit2 button.rit2-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 12px 19px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  appearance: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}

html body .rit2-button-primary,
html body .rit2 a.rit2-button-primary,
html body .rit2 button.rit2-button-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #6ca1ff !important;
  background: linear-gradient(180deg, #386fd5 0%, #2f62c7 100%) !important;
  box-shadow: 0 10px 28px rgba(61, 120, 235, .24) !important;
}

html body .rit2-button-primary:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(180deg, #3b72d7 0%, #3267cf 100%) !important;
}

html body .rit2-button.is-busy,
html body .rit2-button:disabled {
  transform: none !important;
  cursor: wait !important;
  opacity: .78 !important;
}

html body .rit2-app[aria-busy="true"] .rit2-preview-stage {
  border-color: #42689b !important;
}

html body .rit2-button-secondary {
  color: var(--rit2-text) !important;
  -webkit-text-fill-color: var(--rit2-text) !important;
  border-color: var(--rit2-line-strong) !important;
  background: #0d1928 !important;
}

html body .rit2-button-secondary:hover {
  border-color: #5f87b8 !important;
  background: #132238 !important;
}

html body .rit2-button:disabled {
  opacity: .5 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Hub */
html body .rit2-hub-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, .7fr) !important;
  gap: 26px !important;
  align-items: stretch !important;
}

html body .rit2-hub-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 390px !important;
  padding: clamp(30px, 5vw, 58px) !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: var(--rit2-radius-xl) !important;
  background:
    radial-gradient(circle at 90% 5%, rgba(79, 140, 255, .17), transparent 34%),
    linear-gradient(145deg, #0e1e33 0%, #0a1625 52%, #07101b 100%) !important;
}

html body .rit2-hub-hero-copy h1 {
  max-width: 820px !important;
  margin-top: 16px !important;
}

html body .rit2-hub-hero-copy > p {
  max-width: 760px !important;
  margin-top: 20px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 19px !important;
  line-height: 1.68 !important;
}

html body .rit2-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 28px !important;
}

html body .rit2-hub-proof {
  display: grid !important;
  gap: 1px !important;
  overflow: hidden !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: var(--rit2-radius-xl) !important;
  background: var(--rit2-line) !important;
}

html body .rit2-proof-row {
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 24px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-proof-icon {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid #315073 !important;
  border-radius: 14px !important;
  background: #102540 !important;
  color: var(--rit2-blue-light) !important;
  font-size: 23px !important;
}

html body .rit2-proof-row strong {
  display: block !important;
  color: var(--rit2-text) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

html body .rit2-proof-row p {
  margin-top: 7px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

html body .rit2-featured,
html body .rit2-tool-directory,
html body .rit2-how,
html body .rit2-related,
html body .rit2-faq {
  margin-top: 64px !important;
}

html body .rit2-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

html body .rit2-feature-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 270px !important;
  padding: 23px !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 19px !important;
  background: linear-gradient(150deg, #0d1b2e 0%, #09131f 100%) !important;
  color: var(--rit2-text) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}

html body .rit2-feature-card:hover {
  transform: translateY(-3px) !important;
  border-color: #42668f !important;
  background: linear-gradient(150deg, #11243b 0%, #0a1726 100%) !important;
}

html body .rit2-feature-icon,
html body .rit2-directory-icon,
html body .rit2-related-icon,
html body .rit2-tool-hero-icon {
  display: grid !important;
  place-items: center !important;
  color: var(--rit2-blue-light) !important;
  background: #10233c !important;
  border: 1px solid #315073 !important;
}

html body .rit2-feature-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 15px !important;
  font-size: 25px !important;
}

html body .rit2-feature-meta {
  margin-top: 22px !important;
  color: var(--rit2-blue-light) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}

html body .rit2-feature-card > strong {
  margin-top: 7px !important;
  color: var(--rit2-text) !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.27 !important;
}

html body .rit2-feature-desc {
  margin-top: 10px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

html body .rit2-feature-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 22px !important;
  color: var(--rit2-blue-light) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

html body .rit2-directory-groups {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

html body .rit2-directory-group {
  overflow: hidden !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 20px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-directory-title {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 22px !important;
  border-bottom: 1px solid var(--rit2-line) !important;
  background: #0d1a2b !important;
}

html body .rit2-directory-title h3 {
  color: var(--rit2-text) !important;
  font-size: 21px !important;
}

html body .rit2-directory-title p {
  margin-top: 5px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html body .rit2-directory-title > span {
  flex: 0 0 auto !important;
  padding: 5px 9px !important;
  border: 1px solid #314967 !important;
  border-radius: 999px !important;
  background: #0b1625 !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

html body .rit2-directory-list {
  display: grid !important;
}

html body .rit2-directory-item {
  display: grid !important;
  grid-template-columns: 46px 1fr auto !important;
  gap: 13px !important;
  align-items: center !important;
  min-height: 92px !important;
  padding: 15px 18px !important;
  border-bottom: 1px solid #1a293c !important;
  color: var(--rit2-text) !important;
  background: var(--rit2-panel) !important;
  transition: background .16s ease !important;
}

html body .rit2-directory-item:last-child {
  border-bottom: 0 !important;
}

html body .rit2-directory-item:hover {
  background: #101f32 !important;
}

html body .rit2-directory-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 13px !important;
  font-size: 22px !important;
}

html body .rit2-directory-copy {
  display: grid !important;
  gap: 3px !important;
}

html body .rit2-directory-copy strong {
  color: var(--rit2-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

html body .rit2-directory-copy small {
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

html body .rit2-directory-arrow {
  color: var(--rit2-blue-light) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

html body .rit2-editorial {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr) !important;
  gap: 16px !important;
  margin-top: 64px !important;
}

html body .rit2-editorial-main,
html body .rit2-editorial-points {
  border: 1px solid var(--rit2-line) !important;
  border-radius: 21px !important;
  background: #0b1625 !important;
}

html body .rit2-editorial-main {
  padding: 32px !important;
}

html body .rit2-editorial-main h2 {
  margin-top: 8px !important;
  max-width: 760px !important;
}

html body .rit2-editorial-main p {
  margin-top: 16px !important;
  max-width: 820px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 18px !important;
}

html body .rit2-text-link {
  display: inline-flex !important;
  gap: 8px !important;
  margin-top: 20px !important;
  color: var(--rit2-blue-light) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html body .rit2-editorial-points {
  display: grid !important;
  overflow: hidden !important;
}

html body .rit2-editorial-points > div {
  display: flex !important;
  align-items: baseline !important;
  gap: 16px !important;
  padding: 22px !important;
  border-bottom: 1px solid var(--rit2-line) !important;
}

html body .rit2-editorial-points > div:last-child {
  border-bottom: 0 !important;
}

html body .rit2-editorial-points strong {
  min-width: 64px !important;
  color: var(--rit2-blue-light) !important;
  font-size: 32px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

html body .rit2-editorial-points span {
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

/* Tool page */
html body .rit2-breadcrumbs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 2px 15px !important;
  color: var(--rit2-subtle) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

html body .rit2-breadcrumbs a,
html body .rit2-breadcrumbs span,
html body .rit2-breadcrumbs strong {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

html body .rit2-breadcrumbs a {
  color: var(--rit2-muted) !important;
  font-weight: 700 !important;
}

html body .rit2-breadcrumbs strong {
  color: var(--rit2-text-soft) !important;
  font-weight: 750 !important;
}

html body .rit2-tool-hero {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
  padding: clamp(26px, 4vw, 42px) !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #0e1d30 0%, #091522 70%, #07101b 100%) !important;
}

html body .rit2-tool-hero-icon {
  width: 82px !important;
  height: 82px !important;
  border-radius: 20px !important;
  font-size: 37px !important;
}

html body .rit2-tool-hero-copy h1 {
  margin-top: 10px !important;
  font-size: clamp(2.35rem, 4.2vw, 3.8rem) !important;
}

html body .rit2-tool-hero-copy > p {
  max-width: 860px !important;
  margin-top: 14px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

html body .rit2-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin-top: 20px !important;
}

html body .rit2-badges > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 10px !important;
  border: 1px solid #2f4662 !important;
  border-radius: 999px !important;
  background: #0b1726 !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

html body .rit2-badges svg {
  color: var(--rit2-green) !important;
  font-size: 17px !important;
}

/* App workspace */
html body .rit2-app {
  margin-top: 20px !important;
  padding: clamp(20px, 3vw, 30px) !important;
  border: 1px solid #365473 !important;
  border-radius: 22px !important;
  background: #07111d !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .24) !important;
}

html body .rit2-app-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
}

html body .rit2-app-topbar h2 {
  margin-top: 6px !important;
  font-size: 28px !important;
}

html body .rit2-ready-state {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}

html body .rit2-ready-state > strong {
  color: inherit !important;
  font: inherit !important;
  font-weight: 800 !important;
}

html body .rit2-ready-state > span {
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  border-radius: 50% !important;
  background: var(--rit2-yellow) !important;
}

html body .rit2-ready-state.is-ready > span {
  background: var(--rit2-green) !important;
}

html body .rit2-ready-state.is-error > span {
  background: var(--rit2-red) !important;
}

html body .rit2-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
}

html body .rit2-steps li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  border: 1px solid #26384f !important;
  border-radius: 12px !important;
  background: #0a1523 !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

html body .rit2-steps li b {
  display: grid !important;
  place-items: center !important;
  width: 27px !important;
  height: 27px !important;
  flex: 0 0 27px !important;
  border-radius: 50% !important;
  background: #132238 !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

html body .rit2-steps li.is-active,
html body .rit2-steps li.is-complete {
  border-color: #395f8c !important;
  color: var(--rit2-text) !important;
  background: #0d2037 !important;
}

html body .rit2-steps li.is-active b {
  background: #2f62c7 !important;
  color: #fff !important;
}

html body .rit2-steps li.is-complete b {
  background: #184f41 !important;
  color: #9af0cf !important;
}

html body .rit2-drop-zone {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-height: 310px !important;
  padding: 36px 24px !important;
  border: 2px dashed #466b93 !important;
  border-radius: 19px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 140, 255, .09), transparent 44%),
    #0a1625 !important;
  color: var(--rit2-text) !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: border-color .16s ease, background .16s ease, transform .16s ease !important;
}

html body .rit2-drop-zone:hover,
html body .rit2-drop-zone:focus,
html body .rit2-drop-zone.is-drag {
  border-color: #75a5ff !important;
  background: #0e2038 !important;
}

html body .rit2-drop-icon {
  display: grid !important;
  place-items: center !important;
  width: 66px !important;
  height: 66px !important;
  margin-bottom: 15px !important;
  border: 1px solid #3f638c !important;
  border-radius: 19px !important;
  background: #102642 !important;
  color: var(--rit2-blue-light) !important;
  font-size: 31px !important;
}

html body .rit2-drop-copy {
  display: grid !important;
  gap: 6px !important;
  max-width: 560px !important;
}

html body .rit2-drop-copy strong {
  color: var(--rit2-text) !important;
  font-size: 23px !important;
  font-weight: 820 !important;
  line-height: 1.25 !important;
}

html body .rit2-drop-copy span {
  color: var(--rit2-muted) !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

html body .rit2-drop-zone .rit2-button {
  margin-top: 18px !important;
}

html body .rit2-file-types {
  margin-top: 13px !important;
  color: var(--rit2-subtle) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

html body .rit2-privacy-note {
  display: grid !important;
  grid-template-columns: 30px 1fr !important;
  gap: 12px !important;
  align-items: start !important;
  margin-top: 14px !important;
  padding: 15px 16px !important;
  border: 1px solid #245342 !important;
  border-radius: 14px !important;
  background: #0a201c !important;
  color: var(--rit2-text) !important;
}

html body .rit2-privacy-note > svg {
  margin-top: 1px !important;
  color: var(--rit2-green) !important;
  font-size: 24px !important;
}

html body .rit2-privacy-note div {
  display: grid !important;
  gap: 3px !important;
}

html body .rit2-privacy-note strong {
  color: #eafff7 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

html body .rit2-privacy-note span {
  color: #b7d3c9 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html body .rit2-workspace {
  margin-top: 18px !important;
}

html body .rit2-filebar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 14px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 14px !important;
  background: #0b1625 !important;
}

html body .rit2-file-summary {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
  min-width: 0 !important;
}

html body .rit2-file-summary > div {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

html body .rit2-file-summary span {
  color: var(--rit2-subtle) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

html body .rit2-file-summary strong {
  max-width: 260px !important;
  overflow: hidden !important;
  color: var(--rit2-text) !important;
  font-size: 16px !important;
  font-weight: 780 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .rit2-link-button {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--rit2-blue-light) !important;
  -webkit-text-fill-color: var(--rit2-blue-light) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  cursor: pointer !important;
}

html body .rit2-work-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .65fr) !important;
  gap: 14px !important;
  align-items: start !important;
}

html body .rit2-preview-panel,
html body .rit2-control-panel {
  overflow: hidden !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 17px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-panel-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 54px !important;
  padding: 13px 16px !important;
  border-bottom: 1px solid var(--rit2-line) !important;
  background: #0e1a2b !important;
}

html body .rit2-panel-heading > span {
  color: var(--rit2-text) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html body .rit2-panel-heading > small {
  color: #9fc0ff !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

html body .rit2-preview-label::before {
  content: "●" !important;
  margin-right: 7px !important;
  color: var(--rit2-green) !important;
  font-size: 16px !important;
}

html body .rit2-preview-stage {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-height: 500px !important;
  padding: 22px !important;
  overflow: auto !important;
  background:
    linear-gradient(45deg, #0a1421 25%, transparent 25%),
    linear-gradient(-45deg, #0a1421 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #0a1421 75%),
    linear-gradient(-45deg, transparent 75%, #0a1421 75%),
    #07101b !important;
  background-size: 24px 24px !important;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0 !important;
}

html body .rit2-preview {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 680px !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .35) !important;
}

html body .rit2-control-panel {
  min-height: 420px !important;
}

html body .rit2-controls {
  display: grid !important;
  gap: 15px !important;
  padding: 18px !important;
  color: var(--rit2-text) !important;
}

html body .rit2-control,
html body .rit2-control-grid label {
  display: grid !important;
  gap: 8px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 730 !important;
  line-height: 1.35 !important;
}

html body .rit2-control > span {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

html body .rit2-control-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body .rit2-controls input[type="number"],
html body .rit2-controls input[type="text"],
html body .rit2-controls input[type="color"],
html body .rit2-controls input[type="file"],
html body .rit2-controls select {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #3a536f !important;
  border-radius: 10px !important;
  outline: none !important;
  background: #07111d !important;
  color: #f7fbff !important;
  -webkit-text-fill-color: #f7fbff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}

html body .rit2-controls input[type="color"] {
  padding: 5px !important;
}

html body .rit2-controls select option {
  background: #07111d !important;
  color: #f7fbff !important;
}

html body .rit2-controls input[type="range"] {
  width: 100% !important;
  min-height: 28px !important;
  margin: 0 !important;
  accent-color: var(--rit2-blue) !important;
}

html body .rit2-controls output {
  color: var(--rit2-blue-light) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

html body .rit2-check {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

html body .rit2-check input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: var(--rit2-blue) !important;
}

html body .rit2-preset-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body .rit2-preset-row button {
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid #354b66 !important;
  border-radius: 9px !important;
  background: #0a1625 !important;
  color: var(--rit2-text-soft) !important;
  -webkit-text-fill-color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  cursor: pointer !important;
}

html body .rit2-preset-row button:hover,
html body .rit2-preset-row button.is-active {
  border-color: #6b9ff9 !important;
  background: #133059 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body .rit2-note {
  padding: 13px 14px !important;
  border: 1px solid #304760 !important;
  border-radius: 10px !important;
  background: #0a1523 !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

html body .rit2-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 18px 18px !important;
}

html body .rit2-actions .rit2-button {
  width: 100% !important;
}

html body .rit2-status {
  min-height: 28px !important;
  padding: 0 18px 18px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
}

html body .rit2-status-success { color: #8fe4c3 !important; }
html body .rit2-status-error { color: #ff9fab !important; }
html body .rit2-status-working { color: #a8c6ff !important; }

html body .rit2-alert {
  margin: 0 0 14px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

html body .rit2-alert-error {
  border: 1px solid #7e3442 !important;
  background: #2a1118 !important;
  color: #ffdbe0 !important;
}

/* Crop overlay */
html body .rit2-crop-overlay {
  position: absolute !important;
  border: 2px solid #82adff !important;
  background: rgba(79, 140, 255, .12) !important;
  box-shadow: 0 0 0 9999px rgba(2, 8, 15, .54) !important;
  cursor: move !important;
  touch-action: none !important;
}

html body .rit2-crop-handle {
  position: absolute !important;
  right: -10px !important;
  bottom: -10px !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  border: 3px solid #d9e7ff !important;
  border-radius: 50% !important;
  background: #4f8cff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .42) !important;
  cursor: nwse-resize !important;
  touch-action: none !important;
}

/* Results */
html body .rit2-results {
  display: grid !important;
  gap: 14px !important;
  margin-top: 14px !important;
}

html body .rit2-result-card {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) auto !important;
  gap: 15px !important;
  align-items: center !important;
  padding: 18px !important;
  border: 1px solid #2d6f58 !important;
  border-radius: 16px !important;
  background: #0a201b !important;
}

html body .rit2-result-check {
  display: grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 15px !important;
  background: #123e31 !important;
  color: #96e8c7 !important;
  font-size: 25px !important;
  font-weight: 900 !important;
}

html body .rit2-result-card strong {
  display: block !important;
  color: #f0fff9 !important;
  font-size: 18px !important;
  font-weight: 820 !important;
  line-height: 1.3 !important;
}

html body .rit2-result-card span {
  display: block !important;
  margin-top: 4px !important;
  color: #b9d4ca !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

html body .rit2-saving {
  padding: 12px 14px !important;
  border: 1px solid #2c594a !important;
  border-radius: 11px !important;
  background: #0b1c18 !important;
  color: #a8e6ce !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

html body .rit2-receipt {
  overflow: hidden !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 16px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-receipt-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid var(--rit2-line) !important;
  background: #0d1d2a !important;
}

html body .rit2-receipt-head > span {
  color: var(--rit2-green) !important;
  font-size: 20px !important;
}

html body .rit2-receipt-head strong {
  display: block !important;
  color: var(--rit2-text) !important;
  font-size: 17px !important;
  font-weight: 820 !important;
  line-height: 1.3 !important;
}

html body .rit2-receipt-head small {
  display: block !important;
  margin-top: 2px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

html body .rit2-receipt dl {
  margin: 0 !important;
  padding: 0 !important;
}

html body .rit2-receipt dl > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 11px 18px !important;
  border-bottom: 1px solid #1b293b !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-receipt dt,
html body .rit2-receipt dd {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

html body .rit2-receipt dt { color: var(--rit2-muted) !important; }
html body .rit2-receipt dd { color: var(--rit2-text-soft) !important; font-weight: 800 !important; text-align: right !important; }

html body .rit2-receipt-note {
  padding: 13px 18px !important;
  color: var(--rit2-subtle) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  background: #09131f !important;
}

/* Metadata */
html body .rit2-metadata-report {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 14px !important;
}

html body .rit2-score {
  display: grid !important;
  place-content: center !important;
  min-height: 210px !important;
  padding: 20px !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 16px !important;
  background: var(--rit2-panel) !important;
  text-align: center !important;
}

html body .rit2-score > span,
html body .rit2-score > em {
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  font-style: normal !important;
  line-height: 1.4 !important;
}

html body .rit2-score > strong {
  display: block !important;
  margin: 10px 0 !important;
  color: var(--rit2-text) !important;
  font-size: 48px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

html body .rit2-score small {
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
}

html body .rit2-table-wrap {
  overflow: auto !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 16px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-table-wrap table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: var(--rit2-panel) !important;
  color: var(--rit2-text) !important;
}

html body .rit2-table-wrap th,
html body .rit2-table-wrap td {
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #1b293b !important;
  background: var(--rit2-panel) !important;
  color: var(--rit2-text-soft) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  vertical-align: top !important;
}

html body .rit2-table-wrap th {
  color: var(--rit2-muted) !important;
  font-weight: 800 !important;
}

html body .rit2-risk {
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  margin-right: 8px !important;
  border-radius: 50% !important;
}

html body .rit2-risk-high { background: var(--rit2-red) !important; }
html body .rit2-risk-medium { background: var(--rit2-yellow) !important; }
html body .rit2-risk-low { background: var(--rit2-blue-light) !important; }

/* Informational sections */
html body .rit2-how-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

html body .rit2-how-grid article {
  min-height: 220px !important;
  padding: 24px !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 18px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-how-grid article > span {
  display: inline-block !important;
  margin-bottom: 30px !important;
  color: var(--rit2-blue-light) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

html body .rit2-how-grid h3 {
  color: var(--rit2-text) !important;
  font-size: 20px !important;
}

html body .rit2-how-grid p {
  margin-top: 9px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

html body .rit2-info {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 64px !important;
}

html body .rit2-info article {
  padding: 28px !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 19px !important;
  background: var(--rit2-panel) !important;
}

html body .rit2-info h2 {
  margin-top: 7px !important;
  font-size: 26px !important;
}

html body .rit2-info p {
  margin-top: 13px !important;
  color: var(--rit2-muted) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

/* FAQ */
html body .rit2-faq-list {
  display: grid !important;
  gap: 10px !important;
}

html body .rit2-faq-item {
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 15px !important;
  background: var(--rit2-panel) !important;
  color: var(--rit2-text) !important;
}

html body .rit2-faq-item[open] {
  border-color: #3b5d83 !important;
  background: #0d1b2d !important;
}

html body .rit2-faq-item summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px !important;
  gap: 18px !important;
  align-items: center !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 17px 19px !important;
  list-style: none !important;
  background: transparent !important;
  color: var(--rit2-text) !important;
  cursor: pointer !important;
}

html body .rit2-faq-item summary::-webkit-details-marker { display: none !important; }
html body .rit2-faq-item summary::marker { content: "" !important; }

html body .rit2-faq-item summary > span {
  color: var(--rit2-text) !important;
  font-size: 17px !important;
  font-weight: 780 !important;
  line-height: 1.45 !important;
}

html body .rit2-faq-item summary > b {
  position: relative !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #3b5573 !important;
  border-radius: 10px !important;
  background: #0b1726 !important;
}

html body .rit2-faq-item summary > b::before,
html body .rit2-faq-item summary > b::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 12px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: var(--rit2-blue-light) !important;
  transform: translate(-50%, -50%) !important;
}

html body .rit2-faq-item summary > b::after {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

html body .rit2-faq-item[open] summary > b::after {
  display: none !important;
}

html body .rit2-faq-item > div {
  padding: 0 19px 19px !important;
  background: transparent !important;
}

html body .rit2-faq-item > div p {
  max-width: 920px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Related */
html body .rit2-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body .rit2-related-grid > a {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) auto !important;
  gap: 13px !important;
  align-items: center !important;
  min-height: 104px !important;
  padding: 16px !important;
  border: 1px solid var(--rit2-line) !important;
  border-radius: 16px !important;
  background: var(--rit2-panel) !important;
  color: var(--rit2-text) !important;
}

html body .rit2-related-grid > a:hover {
  border-color: #46698f !important;
  background: #101f32 !important;
}

html body .rit2-related-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 13px !important;
  font-size: 23px !important;
}

html body .rit2-related-grid strong {
  display: block !important;
  color: var(--rit2-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

html body .rit2-related-grid small {
  display: block !important;
  margin-top: 4px !important;
  color: var(--rit2-muted) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

html body .rit2-related-grid > a > b {
  color: var(--rit2-blue-light) !important;
  font-size: 20px !important;
}

/* Footer CTA */
html body .rit2-privacy-cta {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 118px !important;
  gap: 28px !important;
  align-items: center !important;
  margin-top: 64px !important;
  padding: clamp(28px, 4vw, 42px) !important;
  overflow: hidden !important;
  border: 1px solid #35577f !important;
  border-radius: 21px !important;
  background:
    radial-gradient(circle at 95% 0%, rgba(79, 140, 255, .16), transparent 38%),
    linear-gradient(140deg, #10243f 0%, #0a1727 55%, #07111d 100%) !important;
}

html body .rit2-privacy-cta h2 {
  max-width: 830px !important;
  margin-top: 8px !important;
}

html body .rit2-privacy-cta p {
  max-width: 850px !important;
  margin-top: 14px !important;
  color: var(--rit2-text-soft) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

html body .rit2-privacy-cta .rit2-button {
  margin-top: 20px !important;
}

html body .rit2-cta-mark {
  width: 96px !important;
  height: 96px !important;
  justify-self: end !important;
}

html body .rit2-cta-mark i {
  inset: 32px !important;
  background: #0b1726 !important;
}

/* Responsive */
@media (max-width: 1050px) {
  html body .rit2-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .rit2-work-grid { grid-template-columns: 1fr !important; }
  html body .rit2-control-panel { min-height: 0 !important; }
}

@media (max-width: 880px) {
  html body .rit2 { margin-top: 0 !important; margin-bottom: 0 !important; border-radius: 0 !important; }
  html body .rit2-hub-hero { grid-template-columns: 1fr !important; }
  html body .rit2-hub-hero-copy { min-height: 0 !important; }
  html body .rit2-hub-proof { grid-template-columns: repeat(3, 1fr) !important; }
  html body .rit2-proof-row { grid-template-columns: 1fr !important; }
  html body .rit2-directory-groups { grid-template-columns: 1fr !important; }
  html body .rit2-editorial { grid-template-columns: 1fr !important; }
  html body .rit2-editorial-points { grid-template-columns: repeat(3, 1fr) !important; }
  html body .rit2-editorial-points > div { display: grid !important; border-bottom: 0 !important; border-right: 1px solid var(--rit2-line) !important; }
  html body .rit2-editorial-points > div:last-child { border-right: 0 !important; }
  html body .rit2-how-grid { grid-template-columns: 1fr !important; }
  html body .rit2-how-grid article { min-height: 0 !important; }
  html body .rit2-info { grid-template-columns: 1fr !important; }
  html body .rit2-related-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 700px) {
  html body .rit2 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 14px 14px 54px !important;
    font-size: 17px !important;
  }
  html body .rit2-brandbar { min-height: 58px !important; }
  html body .rit2-brand-links a:first-child { display: none !important; }
  html body .rit2-section-heading { align-items: flex-start !important; flex-direction: column !important; gap: 10px !important; }
  html body .rit2-section-heading > p { text-align: left !important; }
  html body .rit2-featured,
  html body .rit2-tool-directory,
  html body .rit2-how,
  html body .rit2-related,
  html body .rit2-faq,
  html body .rit2-info,
  html body .rit2-editorial,
  html body .rit2-privacy-cta { margin-top: 46px !important; }
  html body .rit2-featured-grid { grid-template-columns: 1fr !important; }
  html body .rit2-feature-card { min-height: 230px !important; }
  html body .rit2-hub-proof { grid-template-columns: 1fr !important; }
  html body .rit2-proof-row { grid-template-columns: 48px 1fr !important; }
  html body .rit2-tool-hero { grid-template-columns: 1fr !important; gap: 18px !important; }
  html body .rit2-tool-hero-icon { width: 64px !important; height: 64px !important; font-size: 29px !important; }
  html body .rit2-app { padding: 16px !important; }
  html body .rit2-app-topbar { align-items: flex-start !important; flex-direction: column !important; gap: 9px !important; }
  html body .rit2-steps { grid-template-columns: 1fr !important; }
  html body .rit2-steps li { min-height: 44px !important; }
  html body .rit2-drop-zone { min-height: 280px !important; padding: 28px 18px !important; }
  html body .rit2-filebar { align-items: flex-start !important; flex-direction: column !important; }
  html body .rit2-file-summary { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; width: 100% !important; }
  html body .rit2-control-grid { grid-template-columns: 1fr !important; }
  html body .rit2-preview-stage { min-height: 300px !important; }
  html body .rit2-result-card { grid-template-columns: 50px 1fr !important; }
  html body .rit2-result-card .rit2-button { grid-column: 1 / -1 !important; width: 100% !important; }
  html body .rit2-metadata-report { grid-template-columns: 1fr !important; }
  html body .rit2-editorial-points { grid-template-columns: 1fr !important; }
  html body .rit2-editorial-points > div { display: flex !important; border-right: 0 !important; border-bottom: 1px solid var(--rit2-line) !important; }
  html body .rit2-editorial-points > div:last-child { border-bottom: 0 !important; }
  html body .rit2-privacy-cta { grid-template-columns: 1fr !important; }
  html body .rit2-cta-mark { display: none !important; }
}

@media (max-width: 460px) {
  html body .rit2 h1 { font-size: 2.35rem !important; }
  html body .rit2 h2 { font-size: 1.7rem !important; }
  html body .rit2-hub-hero-copy { padding: 26px 20px !important; }
  html body .rit2-hub-hero-copy > p { font-size: 17px !important; }
  html body .rit2-hero-actions .rit2-button { width: 100% !important; }
  html body .rit2-directory-title { align-items: flex-start !important; flex-direction: column !important; }
  html body .rit2-tool-hero { padding: 24px 20px !important; }
  html body .rit2-badges { display: grid !important; grid-template-columns: 1fr !important; }
  html body .rit2-file-summary { grid-template-columns: 1fr !important; }
  html body .rit2-panel-heading { align-items: flex-start !important; flex-direction: column !important; gap: 4px !important; }
  html body .rit2-receipt dl > div { align-items: flex-start !important; flex-direction: column !important; gap: 3px !important; }
  html body .rit2-receipt dd { text-align: left !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body .rit2 *,
  html body .rit2 *::before,
  html body .rit2 *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* V2.1.1 hub stabilization -------------------------------------------------
 * The Image Toolkit hub uses a fixed inner canvas instead of viewport-based
 * content padding. This keeps the landing page balanced inside themes that
 * impose unusual content widths while preserving the full-bleed background.
 */
html body .rit2.rit2-hub {
  padding-left: clamp(18px, 2.4vw, 34px) !important;
  padding-right: clamp(18px, 2.4vw, 34px) !important;
}

html body .rit2-hub-inner {
  width: 100% !important;
  max-width: 1320px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

html body .rit2-hub-inner > *,
html body .rit2-hub-hero > *,
html body .rit2-featured-grid > *,
html body .rit2-directory-groups > *,
html body .rit2-editorial > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .rit2-hub-hero {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body .rit2-hub-hero-copy {
  min-height: 0 !important;
  padding: clamp(34px, 5vw, 56px) !important;
}

html body .rit2-hub-hero-copy h1 {
  max-width: 900px !important;
  font-size: clamp(2.55rem, 4.25vw, 3.9rem) !important;
  line-height: 1.04 !important;
}

html body .rit2-hub-hero-copy > p {
  max-width: 820px !important;
}

html body .rit2-hub-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

html body .rit2-hub-proof .rit2-proof-row {
  min-height: 152px !important;
  align-content: start !important;
}

html body .rit2-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body .rit2-directory-groups {
  align-items: start !important;
}

html body .rit2-directory-group,
html body .rit2-feature-card,
html body .rit2-editorial-main,
html body .rit2-editorial-points {
  width: 100% !important;
}

@media (max-width: 1180px) {
  html body .rit2-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 880px) {
  html body .rit2-hub-proof {
    grid-template-columns: 1fr !important;
  }
  html body .rit2-hub-proof .rit2-proof-row {
    min-height: 0 !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }
}

@media (max-width: 700px) {
  html body .rit2.rit2-hub {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  html body .rit2-hub-inner {
    max-width: none !important;
  }
  html body .rit2-featured-grid {
    grid-template-columns: 1fr !important;
  }
}

/* V2.1.2 universal width stabilization ------------------------------------
 * Every managed page now has a true full-bleed outer surface and a centered
 * inner canvas. The old viewport-derived padding could become enormous when a
 * theme constrained the WordPress content wrapper, leaving some tools squeezed
 * into a narrow column. This layout no longer depends on the theme's width.
 */
html body .rit2 {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow-x: clip !important;
}

html body .rit2.rit2-hub,
html body .rit2.rit2-tool-page {
  padding: 0 !important;
}

html body .rit2-hub-inner,
html body .rit2-page-inner {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding-top: clamp(18px, 2.1vw, 30px) !important;
  padding-bottom: 76px !important;
  padding-left: clamp(18px, 2.4vw, 34px) !important;
  padding-right: clamp(18px, 2.4vw, 34px) !important;
}

html body .rit2-hub-inner {
  max-width: 1388px !important;
}

html body .rit2-page-inner {
  max-width: 1488px !important;
}

html body .rit2-page-inner > *,
html body .rit2-work-grid > *,
html body .rit2-control-grid > *,
html body .rit2-metadata-report > *,
html body .rit2-info > *,
html body .rit2-related-grid > *,
html body .rit2-how-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .rit2-work-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .72fr) !important;
}

html body .rit2-preview-panel,
html body .rit2-control-panel,
html body .rit2-preview-stage,
html body .rit2-controls,
html body .rit2-results {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .rit2-preview-stage {
  overflow: hidden !important;
}

html body .rit2-preview {
  max-width: 100% !important;
}

@media (max-width: 1120px) {
  html body .rit2-work-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  html body .rit2-hub-inner,
  html body .rit2-page-inner {
    max-width: none !important;
    padding-top: 14px !important;
    padding-bottom: 54px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* Prefer the normal document width when WordPress exposes our managed-page
 * body class. This avoids the 100vw scrollbar-width offset. The viewport
 * breakout above remains as a fallback for themes that omit body_class(). */
html body.rit-managed-page .rit2 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Prevent a fallback 100vw breakout from creating a scrollbar-width sliver in
 * themes that omit body_class(). Current supported browsers all understand
 * :has(), and the managed body-class path above remains the primary route. */
html:has(body .rit2) {
  overflow-x: clip !important;
  background: #050b14 !important;
}
