:root {
  --rxh-navy: #06132b;
  --rxh-navy-soft: #0b1e3d;
  --rxh-blue: #2f7cf6;
  --rxh-cyan: #26c6f4;
  --rxh-ink: #07162e;
  --rxh-muted: #60708a;
  --rxh-line: #d8e2f0;
  --rxh-canvas: #f4f8fd;
  --rxh-white: #fff;
  --rxh-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --rxh-sans: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--rxh-canvas); }
body { margin: 0; color: var(--rxh-ink); background: var(--rxh-canvas); font-family: var(--rxh-sans); }
.rxh-account-page { padding-top: 74px; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.rxh-account-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(140, 177, 230, 0.2);
  background: var(--rxh-navy);
  color: #fff;
}

.rxh-account-header-inner {
  width: min(100% - 64px, 1816px);
  min-height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 32px;
}

.rxh-account-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.rxh-account-brand > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--rxh-blue);
  font-family: var(--rxh-mono);
  font-weight: 800;
}

.rxh-account-brand strong { font-size: 17px; line-height: 1; }
.rxh-account-brand small { display: block; margin-top: 4px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 500; }
.rxh-account-header nav { display: flex; align-items: center; gap: 4px; }
.rxh-account-header nav a { padding: 36px 13px 32px; border-bottom: 3px solid transparent; color: rgba(255,255,255,.76); font-size: 12px; font-weight: 700; text-decoration: none; }
.rxh-account-header nav a:hover { border-bottom-color: var(--rxh-blue); color: #fff; }
.rxh-account-header-actions { display: flex; justify-self: end; align-items: center; gap: 8px; }
.rxh-account-header-actions button,
.rxh-account-header-actions a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.rxh-account-header-actions .is-primary { border-color: var(--rxh-blue); background: var(--rxh-blue); }

.rxh-auth-shell {
  width: min(100% - 64px, 1280px);
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  align-items: stretch;
}

.rxh-auth-intro {
  min-height: 660px;
  padding: 120px 8vw 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rxh-auth-intro > span,
.rxh-register-heading > span,
.rxh-auth-heading > span,
.rxh-profile-hero > div > span,
.rxh-submissions header > span,
.rxh-submit-shell > header > span,
.rxh-legal-shell > header > span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.rxh-auth-intro h1 { max-width: 650px; margin: 20px 0 24px; font-size: clamp(56px, 6vw, 92px); line-height: .98; }
.rxh-auth-intro p { max-width: 540px; margin: 0; color: var(--rxh-muted); font-size: 17px; line-height: 1.8; }
.rxh-auth-points { margin-top: 44px; display: flex; gap: 12px; }
.rxh-auth-points b { padding: 9px 12px; border-left: 2px solid var(--rxh-blue); color: #31415c; font-size: 12px; }

.rxh-auth-form-panel {
  margin: 72px 0;
  padding: 58px;
  align-self: center;
  border: 1px solid var(--rxh-line);
  border-radius: 8px;
  background: var(--rxh-white);
  box-shadow: 0 24px 70px rgba(21, 60, 112, .12);
}
.rxh-auth-heading h2 { margin: 10px 0 8px; font-size: 32px; }
.rxh-auth-heading p { margin: 0 0 32px; color: var(--rxh-muted); font-size: 13px; }
.rxh-auth-heading a,
.rxh-register-actions a,
.rxh-legal-check a { color: #1268e8; font-weight: 700; }

.rxh-auth-form,
.rxh-contribution-form { display: grid; gap: 20px; }
.rxh-auth-form label:not(.rxh-check),
.rxh-contribution-form label,
.rxh-form-grid label { display: grid; gap: 8px; }
.rxh-auth-form label > span,
.rxh-contribution-form label > span,
.rxh-form-grid label > span { color: #34445f; font-size: 12px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="date"], input[type="file"], textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd8e9;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--rxh-ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea { resize: vertical; line-height: 1.7; }
input:focus, textarea:focus { border-color: var(--rxh-blue); box-shadow: 0 0 0 3px rgba(47,124,246,.12); }
.rxh-check { display: flex; align-items: flex-start; gap: 9px; color: #465672; font-size: 12px; line-height: 1.6; }
.rxh-check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--rxh-blue); }
.rxh-submit {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--rxh-blue);
  border-radius: 7px;
  background: var(--rxh-blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.rxh-submit:hover { border-color: #1a64d8; background: #1a64d8; }

.rxh-account-notice { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid; background: #fff; font-size: 12px; line-height: 1.6; }
.rxh-account-notice.is-error { border-color: #d92d4c; color: #8f1730; }
.rxh-account-notice.is-success { border-color: #11a66a; color: #087149; }

.rxh-register-shell,
.rxh-profile-shell,
.rxh-submit-shell,
.rxh-legal-shell,
.rxh-badges-shell { width: min(100% - 64px, 1180px); min-height: calc(100vh - 190px); margin: 0 auto; padding: 76px 0 96px; }
.rxh-register-heading { margin-bottom: 36px; }
.rxh-register-heading h1,
.rxh-submit-shell > header h1,
.rxh-legal-shell > header h1 { margin: 12px 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; }
.rxh-register-heading p,
.rxh-submit-shell > header p,
.rxh-legal-shell > header p { margin: 0; color: var(--rxh-muted); line-height: 1.7; }
.rxh-register-form,
.rxh-contribution-form { padding: 38px; border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; }
.rxh-register-form fieldset { margin: 0 0 36px; padding: 0; border: 0; }
.rxh-register-form legend { width: 100%; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--rxh-line); font-size: 18px; font-weight: 800; }
.rxh-register-form legend small { margin-left: 8px; color: var(--rxh-muted); font-size: 10px; font-weight: 600; }
.rxh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.rxh-form-grid label > small { color: #7b8aa1; font-size: 10px; line-height: 1.5; }
.rxh-form-grid .is-wide { grid-column: 1 / -1; }
.rxh-honeypot { position: absolute !important; left: -9999px !important; }
.rxh-avatar-field { position: relative; }
.rxh-avatar-preview { width: 48px; height: 48px; position: absolute; right: 8px; bottom: 27px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--rxh-line); border-radius: 50%; background: var(--rxh-canvas); color: var(--rxh-muted) !important; font-size: 9px !important; }
.rxh-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.rxh-legal-check { margin: 12px 0; }
.rxh-register-actions { margin-top: 26px; display: flex; align-items: center; gap: 20px; }
.rxh-register-actions p { margin: 0; color: var(--rxh-muted); font-size: 12px; }

.rxh-profile-stage { min-height: calc(100vh - 74px); background: var(--rxh-canvas); }
.rxh-profile-stage.has-custom-background {
  background-image: linear-gradient(rgba(244,248,253,.72), rgba(244,248,253,.82)), var(--rxh-profile-background-image);
  background-attachment: fixed, fixed;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
}
.rxh-profile-hero { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 26px; padding: 34px 0 38px; border-bottom: 1px solid var(--rxh-line); }
.rxh-profile-hero > img { width: 96px; height: 96px; border: 5px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(25, 68, 125, .15); }
.rxh-profile-hero h1 { margin: 7px 0; font-size: 42px; }
.rxh-profile-hero p { margin: 0; color: var(--rxh-muted); }
.rxh-public-profile-hero { grid-template-columns: 110px minmax(0, 1fr); }
.rxh-public-profile-bio { margin: 30px 0 0; padding: 24px 28px; border: 1px solid var(--rxh-line); border-radius: 10px; background: rgba(255,255,255,.9); }
.rxh-public-profile-bio h2 { margin: 0 0 10px; font-size: 20px; }
.rxh-public-profile-bio p { margin: 0; color: #526176; font-size: 13px; line-height: 1.8; }
.rxh-profile-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.rxh-profile-actions a,
.rxh-profile-actions button { padding: 11px 14px; border: 1px solid var(--rxh-blue); border-radius: 7px; background: var(--rxh-blue); color: #fff; cursor: pointer; font-size: 11px; font-weight: 800; line-height: normal; text-decoration: none; }
.rxh-profile-actions .is-muted { border-color: var(--rxh-line); background: #fff; color: #566681; }
.rxh-profile-actions a:hover,
.rxh-profile-actions button:hover { border-color: #1767dd; background: #1767dd; }
.rxh-profile-actions .is-muted:hover { border-color: #9db0ca; background: #f7faff; color: #30425f; }
.rxh-profile-badges { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--rxh-line); }
.rxh-profile-badges-heading > span,
.rxh-badges-shell > header > span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.rxh-profile-badges-heading h2 { margin: 0; font-size: 23px; }
.rxh-badge-empty { margin: 0; color: var(--rxh-muted); font-size: 12px; }
.rxh-badge-strip { min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(92px, 1fr)) 92px; gap: 10px; }
.rxh-badge-mini { min-width: 0; height: 78px; padding: 11px; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 9px; border: 1px solid var(--rxh-line); border-radius: 7px; background: #fff; }
.rxh-badge-mini > span,
.rxh-badge-mark { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #9ac0ff; border-radius: 50%; background: #eaf2ff; color: #176ee7; font-family: var(--rxh-mono); font-size: 13px; font-weight: 900; }
.rxh-badge-mini strong { min-width: 0; overflow: hidden; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rxh-badge-mini.is-primary { border-color: #79aaff; box-shadow: inset 0 0 0 1px rgba(47,124,246,.14); }
.rxh-badge-more { height: 78px; display: grid; place-items: center; align-content: center; gap: 2px; border: 1px solid #d4dce8; border-radius: 7px; background: linear-gradient(145deg, #f8fafc, #dfe5ec); color: #526176; text-decoration: none; box-shadow: 0 8px 20px rgba(45,61,82,.1); transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.rxh-badge-more:hover { border-color: #8cccf8; background: linear-gradient(145deg, #e7f7ff, #8bd2ff); color: #064f87; transform: translateY(-2px); }
.rxh-badge-more b { font-size: 19px; line-height: 1; }
.rxh-badge-more small { font-size: 9px; font-weight: 800; }
.rxh-profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 34px 0 48px; border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; }
.rxh-profile-grid > div { min-width: 0; padding: 24px; border-right: 1px solid var(--rxh-line); }
.rxh-profile-grid > div:last-child { border-right: 0; }
.rxh-profile-grid span { display: block; margin-bottom: 8px; color: var(--rxh-muted); font-size: 10px; }
.rxh-profile-grid strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; }
.rxh-public-profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rxh-public-profile-grid a { color: #1766d7; text-decoration: none; }
.rxh-public-profile-grid a:hover { text-decoration: underline; }
.rxh-profile-favorites { margin-bottom: 70px; }
.rxh-profile-favorites > header { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rxh-profile-favorites > header span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.rxh-profile-favorites > header h2 { margin: 8px 0 0; font-size: 34px; }
.rxh-profile-favorites > header p { margin: 0; color: var(--rxh-muted); font-size: 11px; }
.rxh-profile-favorites > header p strong { color: var(--rxh-ink); font-family: var(--rxh-mono); font-size: 15px; }
.rxh-favorite-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rxh-favorite-product-card { min-width: 0; overflow: hidden; border: 1px solid #dce4ef; border-radius: 10px; background: #fff; color: var(--rxh-ink); text-decoration: none; box-shadow: 0 12px 30px rgba(10,37,79,.05); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.rxh-favorite-product-card:hover { border-color: #72a5ff; box-shadow: 0 18px 42px rgba(26,91,190,.12); transform: translateY(-3px); }
.rxh-favorite-product-card:focus-visible { outline: 3px solid rgba(47,124,246,.36); outline-offset: 3px; }
.rxh-favorite-product-media { position: relative; height: 164px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #e4ebf4; background: #edf4fc; }
.rxh-favorite-product-media img { width: 100%; height: 100%; padding: 20px 24px; display: block; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(17,45,82,.12)); transition: transform .25s ease; }
.rxh-favorite-product-card:hover .rxh-favorite-product-media img { transform: scale(1.035); }
.rxh-favorite-product-media > span { position: absolute; top: 12px; left: 12px; padding: 5px 7px; border: 1px solid #bcd3f4; border-radius: 999px; background: rgba(255,255,255,.94); color: #1766d7; font-family: var(--rxh-mono); font-size: 7px; font-weight: 800; }
.rxh-favorite-card-star { position: absolute; top: 11px; right: 12px; width: 19px; height: 19px; display: block; background: #f2d21b; -webkit-mask: url("assets/icons/star-filled.svg") center / contain no-repeat; mask: url("assets/icons/star-filled.svg") center / contain no-repeat; filter: drop-shadow(0 2px 4px rgba(202,169,0,.22)); }
.rxh-favorite-product-copy { min-height: 126px; padding: 17px 18px 18px; display: flex; flex-direction: column; }
.rxh-favorite-product-copy small { color: #6e7e94; font-size: 9px; }
.rxh-favorite-product-copy h3 { margin: 8px 0 18px; color: #071326; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.rxh-favorite-product-copy > span { margin-top: auto; color: #1766d7; font-size: 10px; font-weight: 800; }
.rxh-favorites-empty { padding: 30px; border: 1px dashed #bdcce0; border-radius: 8px; background: rgba(255,255,255,.75); text-align: center; }
.rxh-favorites-empty strong { font-size: 17px; }
.rxh-favorites-empty p { margin: 8px 0 14px; color: var(--rxh-muted); font-size: 11px; }
.rxh-favorites-empty a { color: #1766d7; font-size: 11px; font-weight: 800; text-decoration: none; }
.rxh-submissions > header { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rxh-submissions > header > div:first-child > span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.rxh-submissions header h2 { margin: 8px 0 0; font-size: 34px; }
.rxh-work-tabs { display: inline-flex; align-items: stretch; padding: 3px; border: 1px solid #cad7e8; border-radius: 8px; background: #e9f0f9; }
.rxh-work-tabs button { min-width: 110px; padding: 10px 16px; border: 0; border-radius: 6px; background: transparent; color: #5c6d85; cursor: pointer; font-size: 12px; font-weight: 800; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.rxh-work-tabs button:hover { color: #1766d7; }
.rxh-work-tabs button:focus-visible { outline: 2px solid #76adff; outline-offset: 2px; }
.rxh-work-tabs button.is-active { background: #fff; color: #0b5dcc; box-shadow: 0 4px 12px rgba(38,83,145,.12); }
.rxh-work-tabs small { margin-left: 5px; font-family: var(--rxh-mono); font-size: 9px; }
.rxh-work-panel[hidden],
.rxh-work-card[hidden] { display: none !important; }
.rxh-work-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rxh-work-card { min-width: 0; overflow: hidden; border: 1px solid #dce4ef; border-radius: 14px; background: #fff; color: var(--rxh-ink); text-decoration: none; box-shadow: 0 12px 30px rgba(10,37,79,.05); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.rxh-work-card:hover { border-color: #72a5ff; box-shadow: 0 18px 42px rgba(26,91,190,.12); transform: translateY(-3px); }
.rxh-work-card:focus-visible { outline: 3px solid rgba(47,124,246,.36); outline-offset: 3px; }
.rxh-work-card-media { position: relative; aspect-ratio: 1.55 / 1; overflow: hidden; background: #dce6f4; }
.rxh-work-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.rxh-work-card:hover .rxh-work-card-media img { transform: scale(1.025); }
.rxh-work-card-media span { position: absolute; top: 11px; left: 11px; padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,.92); color: #071326; font-family: var(--rxh-mono); font-size: 7px; font-weight: 800; }
.rxh-work-card-copy { min-height: 116px; padding: 18px; }
.rxh-work-card-copy small { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 7px; line-height: 1.5; }
.rxh-work-card-copy h3 { margin: 12px 0 0; overflow-wrap: anywhere; color: #071326; font-size: 17px; line-height: 1.35; }
.rxh-work-more { min-width: 168px; min-height: 44px; margin: 28px auto 0; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #a9c8f6; border-radius: 7px; background: #fff; color: #1766d7; cursor: pointer; font-size: 11px; font-weight: 800; }
.rxh-work-more:hover { border-color: var(--rxh-blue); background: #eaf3ff; }
.rxh-work-more:focus-visible { outline: 2px solid #76adff; outline-offset: 3px; }
.rxh-work-more small { font-family: var(--rxh-mono); font-size: 9px; }
.rxh-empty { padding: 28px; border: 1px dashed #bdcce0; color: var(--rxh-muted); text-align: center; }

.rxh-submit-shell > header,
.rxh-legal-shell > header { margin-bottom: 34px; }
.rxh-contribution-form { max-width: 900px; }
.rxh-legal-shell article { padding: 40px; border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; color: #273750; line-height: 1.9; }
.rxh-legal-shell article h2 { margin: 30px 0 8px; color: var(--rxh-ink); font-size: 20px; }
.rxh-legal-shell article h2:first-child { margin-top: 0; }
.rxh-back-link { display: inline-block; margin-top: 24px; color: #176ee7; font-weight: 800; }

.rxh-verification-field > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.rxh-verification-field button { min-height: 48px; padding: 0 16px; border: 1px solid #a9c8f6; border-radius: 6px; background: #edf5ff; color: #1766d7; cursor: pointer; font-size: 11px; font-weight: 800; white-space: nowrap; }
.rxh-verification-field button:hover { border-color: var(--rxh-blue); background: #dfeeff; }
.rxh-verification-field button:disabled { cursor: wait; opacity: .58; }
.rxh-verification-status { min-height: 20px; margin: 12px 0 0; color: #1766d7; font-size: 11px; }
.rxh-verification-status.is-error { color: #a61b39; }

.rxh-badges-shell > header { margin-bottom: 38px; }
.rxh-badges-shell > header h1 { margin: 10px 0 12px; font-size: clamp(42px, 5vw, 68px); line-height: 1; }
.rxh-badges-shell > header p { max-width: 760px; margin: 0; color: var(--rxh-muted); line-height: 1.75; }
.rxh-badge-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rxh-badge-card { position: relative; min-height: 184px; padding: 24px; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid var(--rxh-line); border-radius: 8px; outline: none; background: #fff; cursor: context-menu; box-shadow: 0 12px 30px rgba(24,59,104,.06); }
.rxh-badge-card:focus,
.rxh-badge-card:hover { border-color: #7eaff9; box-shadow: 0 16px 34px rgba(24,88,175,.12); }
.rxh-badge-card.is-primary { border-color: var(--rxh-blue); box-shadow: inset 0 0 0 1px rgba(47,124,246,.15), 0 16px 34px rgba(24,88,175,.12); }
.rxh-badge-card strong { margin-top: 20px; font-size: 16px; }
.rxh-badge-card small { margin-top: 6px; color: var(--rxh-muted); font-size: 10px; }
.rxh-badge-card em { position: absolute; top: 22px; right: 22px; color: var(--rxh-blue); font-size: 9px; font-style: normal; font-weight: 800; }
.rxh-primary-badge-form { display: none; }
.rxh-badge-context { position: fixed; z-index: 500; min-width: 190px; padding: 6px; border: 1px solid #cbd9ec; border-radius: 7px; background: #fff; box-shadow: 0 18px 50px rgba(9,30,64,.2); }
.rxh-badge-context[hidden] { display: none; }
.rxh-badge-context button { width: 100%; padding: 10px 12px; border: 0; border-radius: 5px; background: transparent; color: #263b5b; cursor: pointer; text-align: left; font-size: 11px; font-weight: 700; }
.rxh-badge-context button:hover { background: #e9f3ff; color: #1766d7; }

.rxh-background-dialog { width: min(100% - 32px, 660px); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 1px solid #b9cbe3; border-radius: 8px; background: #fff; color: #07162e; box-shadow: 0 28px 90px rgba(5,24,54,.28); }
.rxh-background-dialog::backdrop { background: rgba(3,14,32,.68); backdrop-filter: blur(4px); }
.rxh-background-form { padding: 28px; }
.rxh-background-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.rxh-background-form > header span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.rxh-background-form > header h2 { margin: 7px 0 0; font-size: 25px; }
.rxh-background-form > header > button { width: 36px; height: 36px; padding: 0; flex: 0 0 auto; border: 1px solid #d2ddea; border-radius: 6px; background: #f7f9fc; color: #30425f; cursor: pointer; font-size: 24px; line-height: 1; }
.rxh-background-form > header > button:hover { border-color: #8eb7f5; background: #eaf3ff; color: #1766d7; }
.rxh-background-preview { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; display: grid; place-items: center; overflow: hidden; border: 1px dashed #b9cbe3; border-radius: 7px; background: #edf3fa; color: #6f7f96; }
.rxh-background-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.rxh-background-preview span { font-size: 12px; }
.rxh-background-preview.has-image { border-style: solid; }
.rxh-background-file { display: grid; gap: 8px; }
.rxh-background-file > span { color: #34445f; font-size: 12px; font-weight: 800; }
.rxh-background-file small { color: #6f7f96; font-size: 10px; line-height: 1.6; }
.rxh-background-status { min-height: 18px; margin: 10px 0 0; color: #1766d7; font-size: 11px; }
.rxh-background-status.is-error { color: #a61b39; }
.rxh-background-actions { margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.rxh-background-actions button { min-height: 44px; padding: 0 16px; border-radius: 7px; cursor: pointer; font-size: 11px; font-weight: 800; }
.rxh-background-remove { border: 1px solid #e0a9b4; background: #fff; color: #9b1c35; }
.rxh-background-remove:hover { border-color: #c44860; background: #fff2f4; }
.rxh-background-cancel { margin-left: auto; border: 1px solid #cbd8e9; background: #fff; color: #526176; }
.rxh-background-cancel:hover { border-color: #8eb7f5; background: #f4f8fd; }

.rxh-account-footer { min-height: 96px; padding: 24px max(32px, calc((100vw - 1816px) / 2)); display: flex; align-items: center; gap: 24px; border-top: 1px solid rgba(135,170,220,.18); background: #061024; color: rgba(255,255,255,.66); font-size: 11px; }
.rxh-account-footer strong { color: #fff; }
.rxh-account-footer a { margin-left: auto; text-decoration: none; }

body.theme-black { --rxh-ink: #f5f8ff; --rxh-muted: #9ba9bf; --rxh-line: #263955; --rxh-canvas: #081426; --rxh-white: #0d1b31; }
body.theme-black .rxh-profile-stage.has-custom-background { background-image: linear-gradient(rgba(8,20,38,.72), rgba(8,20,38,.84)), var(--rxh-profile-background-image); }
body.theme-black input,
body.theme-black textarea { border-color: #304563; background: #09172b; color: #fff; }
body.theme-black .rxh-auth-points b,
body.theme-black .rxh-auth-form label > span,
body.theme-black .rxh-contribution-form label > span,
body.theme-black .rxh-form-grid label > span { color: #c8d4e7; }
body.theme-black .rxh-work-tabs { border-color: #314762; background: #0b192d; }
body.theme-black .rxh-work-tabs button { color: #9babbe; }
body.theme-black .rxh-work-tabs button.is-active { background: #152945; color: #71b7ff; box-shadow: none; }
body.theme-black .rxh-work-card { border-color: #26344a; background: #0b1422; }
body.theme-black .rxh-work-card-copy h3 { color: #f4f7ff; }
body.theme-black .rxh-favorite-product-card { border-color: #26344a; background: #0b1422; }
body.theme-black .rxh-favorite-product-media { border-color: #26344a; background: #111f34; }
body.theme-black .rxh-favorite-product-copy h3 { color: #f4f7ff; }
body.theme-black .rxh-favorites-empty { border-color: #35506f; background: rgba(11,25,45,.78); }
body.theme-black .rxh-work-more { border-color: #35537b; background: #0b192d; color: #71b7ff; }
body.theme-black .rxh-work-more:hover { background: #102b4b; }
body.theme-black .rxh-public-profile-bio { border-color: #26344a; background: rgba(11,20,34,.9); }
body.theme-black .rxh-public-profile-bio h2 { color: #f4f7ff; }
body.theme-black .rxh-public-profile-bio p { color: #9ba9bf; }

@media (max-width: 1050px) {
  .rxh-account-header-inner { grid-template-columns: 1fr auto; }
  .rxh-account-header nav { display: none; }
  .rxh-auth-shell { grid-template-columns: 1fr 420px; }
  .rxh-auth-intro { padding-right: 40px; }
  .rxh-profile-hero { grid-template-columns: 90px 1fr; }
  .rxh-profile-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .rxh-profile-badges { grid-template-columns: 1fr; }
  .rxh-badge-strip { grid-template-columns: repeat(3, minmax(92px, 1fr)); }
  .rxh-badge-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rxh-work-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rxh-favorite-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .rxh-account-page { padding-top: 72px; }
  .rxh-account-header-inner { width: min(100% - 28px, 1816px); min-height: 72px; }
  .rxh-account-brand > span { width: 40px; height: 40px; }
  .rxh-account-brand strong { font-size: 15px; }
  .rxh-account-header-actions button { display: none; }
  .rxh-account-header-actions a { min-height: 38px; padding: 0 11px; }
  .rxh-auth-shell { width: min(100% - 28px, 1280px); display: block; }
  .rxh-auth-intro { min-height: auto; padding: 64px 0 22px; }
  .rxh-auth-intro h1 { font-size: 52px; }
  .rxh-auth-intro p, .rxh-auth-points { display: none; }
  .rxh-auth-form-panel { margin: 20px 0 64px; padding: 28px 22px; }
  .rxh-register-shell, .rxh-profile-shell, .rxh-submit-shell, .rxh-legal-shell, .rxh-badges-shell { width: min(100% - 28px, 1180px); padding: 52px 0 70px; }
  .rxh-register-heading h1, .rxh-submit-shell > header h1, .rxh-legal-shell > header h1 { font-size: 42px; }
  .rxh-register-form, .rxh-contribution-form, .rxh-legal-shell article { padding: 24px 18px; }
  .rxh-form-grid { grid-template-columns: 1fr; }
  .rxh-form-grid .is-wide { grid-column: auto; }
  .rxh-register-actions { align-items: stretch; flex-direction: column; }
  .rxh-profile-hero { grid-template-columns: 72px 1fr; gap: 16px; }
  .rxh-profile-hero > img { width: 68px; height: 68px; }
  .rxh-profile-hero h1 { font-size: 30px; }
  .rxh-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rxh-profile-grid > div:nth-child(2) { border-right: 0; }
  .rxh-profile-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--rxh-line); }
  .rxh-public-profile-grid { grid-template-columns: 1fr; }
  .rxh-public-profile-grid > div { border-right: 0; border-bottom: 1px solid var(--rxh-line); }
  .rxh-public-profile-grid > div:last-child { border-bottom: 0; }
  .rxh-profile-badges { padding: 24px 0; }
  .rxh-badge-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rxh-badge-mini,
  .rxh-badge-more { height: 72px; }
  .rxh-submissions > header { align-items: stretch; flex-direction: column; }
  .rxh-profile-favorites > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rxh-work-tabs { width: 100%; }
  .rxh-work-tabs button { min-width: 0; flex: 1; }
  .rxh-badge-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rxh-badge-card { min-height: 160px; padding: 18px; }
  .rxh-verification-field > div { grid-template-columns: 1fr; }
  .rxh-account-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rxh-account-footer a { margin-left: 0; }
  .rxh-background-form { padding: 22px 18px; }
  .rxh-background-actions { align-items: stretch; flex-direction: column; }
  .rxh-background-actions button { width: 100%; }
  .rxh-background-cancel { margin-left: 0; }
}

@media (max-width: 460px) {
  .rxh-badge-gallery { grid-template-columns: 1fr; }
  .rxh-work-card-grid { grid-template-columns: 1fr; }
  .rxh-favorite-product-grid { grid-template-columns: 1fr; }
}

/* Structured Hardware, Wiki and Project submissions. */
.rxh-submission-shell { max-width: 1320px; }
.rxh-submission-title-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rxh-submission-title-row h1 { min-width: 0; }
.rxh-project-feedback-trigger { min-height: 44px; padding: 0 17px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; border: 1px solid #2f7cff; border-radius: 7px; background: #2f7cff; color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.rxh-project-feedback-trigger .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rxh-project-feedback-trigger:hover { border-color: #1a64d8; background: #1a64d8; transform: translateY(-1px); }
.rxh-project-feedback-trigger:focus-visible { outline: 3px solid rgba(47, 124, 255, .24); outline-offset: 3px; }
.rxh-project-feedback-dialog { width: min(100% - 32px, 620px); max-height: min(720px, calc(100vh - 40px)); padding: 0; overflow: hidden; border: 1px solid #ccdaed; border-radius: 8px; background: #fff; color: #071326; box-shadow: 0 28px 90px rgba(7, 24, 52, .25); }
.rxh-project-feedback-dialog::backdrop { background: rgba(14, 28, 49, .34); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.rxh-project-feedback-form { padding: 30px; display: grid; gap: 15px; }
.rxh-project-feedback-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rxh-project-feedback-form > header span { color: #2f7cff; font-family: var(--rxh-mono); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.rxh-project-feedback-form h2 { margin: 7px 0 0; color: #071326; font-size: 26px; }
.rxh-project-feedback-close { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 1px solid #d3deec; border-radius: 50%; background: #f6f9fd; color: #42536e; cursor: pointer; }
.rxh-project-feedback-close:hover { border-color: #9eb7d9; background: #edf4ff; color: #155fcf; }
.rxh-project-feedback-close .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rxh-project-feedback-form > label { color: #34445f; font-size: 12px; font-weight: 800; }
.rxh-project-feedback-form textarea { min-height: 190px; resize: vertical; background: #fbfcff; font-size: 14px; }
.rxh-project-feedback-form textarea::placeholder { color: #9aa7b9; opacity: 1; }
.rxh-project-feedback-status { min-height: 20px; margin: 0; color: #60718a; font-size: 12px; }
.rxh-project-feedback-status.is-error { color: #b4233d; }
.rxh-project-feedback-status.is-success { color: #087149; }
.rxh-project-feedback-form > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rxh-project-feedback-form > footer > span { color: #8794a7; font-size: 11px; }
.rxh-project-feedback-form > footer b { font-weight: 700; }
.rxh-project-feedback-form .rxh-submit { min-width: 112px; }
.rxh-project-feedback-form .rxh-submit:disabled { cursor: wait; opacity: .62; }
.rxh-submission-types { margin: 32px 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rxh-submission-types a { min-height: 88px; padding: 18px 20px; display: grid; align-content: center; gap: 7px; border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; color: var(--rxh-ink); }
.rxh-submission-types a:hover,
.rxh-submission-types a.is-active { border-color: var(--rxh-blue); background: #eef5ff; }
.rxh-submission-types span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 9px; font-weight: 700; }
.rxh-submission-types strong { font-size: 15px; }
.rxh-submission-steps { margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; list-style: none; }
.rxh-submission-steps li { min-height: 66px; padding: 0 20px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--rxh-line); color: #8390a4; }
.rxh-submission-steps li:last-child { border-right: 0; }
.rxh-submission-steps li.is-active { color: var(--rxh-ink); }
.rxh-submission-steps span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 10px; }
.rxh-submission-steps strong { font-size: 12px; }
.rxh-submission-form { max-width: none; padding: 0; overflow: hidden; }
.rxh-submission-form fieldset { margin: 0; padding: 32px 38px 36px; border: 0; border-bottom: 1px solid var(--rxh-line); }
.rxh-submission-form legend { width: 100%; padding: 24px 38px 14px; border-bottom: 1px solid var(--rxh-line); color: var(--rxh-ink); font-size: 16px; font-weight: 800; }
.rxh-submission-form legend small { margin-left: 8px; color: var(--rxh-muted); font-size: 10px; font-weight: 600; }
.rxh-submission-form select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cbd8e9; border-radius: 6px; background: #fff; color: var(--rxh-ink); }
.rxh-submission-drop { min-height: 112px; padding: 20px; align-content: center; border: 1px dashed #9db9e4; border-radius: 7px; background: #f6f9ff; }
.rxh-submission-drop.is-dragging { border-color: var(--rxh-blue); background: #e8f2ff; }
.rxh-submission-drop input { min-height: auto; padding: 8px 0; border: 0; background: transparent; }
.rxh-submission-form label > small { color: #74839a; font-size: 10px; line-height: 1.55; }
.rxh-submission-review-note { display: grid; gap: 5px; margin: 0; padding: 15px 17px; border: 1px solid #c9daf2; border-radius: 6px; background: #f3f7fd; color: #52647e; line-height: 1.6; }
.rxh-submission-review-note strong { color: var(--rxh-ink); font-size: 13px; }
.rxh-submission-review-note span { font-size: 11px; }
.rxh-submission-actions { padding: 24px 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.rxh-submission-actions .rxh-submit.is-secondary { border-color: #aac3e8; background: #fff; color: #175fcf; }
.rxh-submission-actions .rxh-submit.is-secondary:hover { border-color: var(--rxh-blue); background: #eef5ff; }
.rxh-submission-actions a { margin-left: auto; color: #58708f; font-size: 11px; font-weight: 700; }
.rxh-submission-preview { margin-top: 34px; }
.rxh-submission-preview-heading { margin-bottom: 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.rxh-submission-preview-heading span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 9px; font-weight: 700; }
.rxh-submission-preview-heading h2 { margin: 7px 0 0; font-size: 30px; }
.rxh-submission-preview-heading a { color: var(--rxh-blue); font-size: 10px; font-weight: 800; }
.rxh-submission-preview-card { min-height: 290px; display: grid; grid-template-columns: minmax(280px, .72fr) 1fr; overflow: hidden; border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; }
.rxh-submission-preview-card > img,
.rxh-submission-preview-empty { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.rxh-submission-preview-empty { display: grid; place-items: center; background: #eaf2ff; color: #71809a; font-size: 11px; }
.rxh-submission-preview-card > div:last-child { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.rxh-submission-preview-card > div > span { color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 9px; font-weight: 700; }
.rxh-submission-preview-card h2 { margin: 12px 0; font-size: 38px; line-height: 1.08; }
.rxh-submission-preview-card p { margin: 0; color: var(--rxh-muted); line-height: 1.8; }
.rxh-submission-preview-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 7px; }
.rxh-submission-preview-tags b { padding: 6px 9px; border: 1px solid #cbd8e9; border-radius: 6px; color: #49617f; font-size: 9px; }
.rxh-submission-preview-sections { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rxh-submission-preview-sections > div { min-height: 96px; padding: 18px; display: grid; grid-template-columns: 36px 1fr; align-content: center; column-gap: 10px; border: 1px solid var(--rxh-line); border-radius: 8px; background: #fff; }
.rxh-submission-preview-sections span { grid-row: 1 / 3; color: var(--rxh-blue); font-family: var(--rxh-mono); font-size: 10px; }
.rxh-submission-preview-sections strong { font-size: 12px; }
.rxh-submission-preview-sections small { margin-top: 4px; overflow: hidden; color: var(--rxh-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
body.theme-black .rxh-submission-types a,
body.theme-black .rxh-submission-steps,
body.theme-black .rxh-submission-form,
body.theme-black .rxh-submission-preview-card,
body.theme-black .rxh-submission-preview-sections > div { border-color: #293b59; background: #0d1a2e; color: #eaf2ff; }
body.theme-black .rxh-submission-types a.is-active,
body.theme-black .rxh-submission-drop { background: #102440; }
body.theme-black .rxh-submission-review-note { border-color: #34527b; background: #102440; color: #b9c8dc; }
body.theme-black .rxh-project-feedback-dialog { border-color: #2a3c58; background: #0d1a2e; color: #eaf2ff; }
body.theme-black .rxh-project-feedback-form h2 { color: #f4f8ff; }
body.theme-black .rxh-project-feedback-close { border-color: #334661; background: #13233a; color: #d7e2f2; }
body.theme-black .rxh-project-feedback-form > label { color: #d4ddeb; }
body.theme-black .rxh-project-feedback-form textarea { border-color: #334661; background: #101c2e; color: #f4f7ff; }
body.theme-black .rxh-submission-preview-card h2,
body.theme-black .rxh-submission-preview-heading h2,
body.theme-black .rxh-submission-preview-sections strong { color: #f4f8ff; }
@media (max-width: 760px) {
  .rxh-submission-title-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .rxh-submission-types,
  .rxh-submission-preview-sections { grid-template-columns: 1fr; }
  .rxh-submission-steps li { padding: 0 10px; }
  .rxh-submission-steps strong { font-size: 10px; }
  .rxh-submission-form fieldset { padding: 24px 18px; }
  .rxh-submission-form legend { padding: 20px 18px 12px; }
  .rxh-submission-actions { padding: 20px 18px; }
  .rxh-submission-actions a { width: 100%; margin-left: 0; }
  .rxh-submission-preview-heading { align-items: flex-start; flex-direction: column; }
  .rxh-submission-preview-card { grid-template-columns: 1fr; }
  .rxh-submission-preview-card > img,
  .rxh-submission-preview-empty { min-height: 220px; }
  .rxh-submission-preview-card > div:last-child { padding: 26px 22px; }
  .rxh-submission-preview-card h2 { font-size: 30px; }
  .rxh-project-feedback-form { padding: 24px 20px; }
  .rxh-project-feedback-form h2 { font-size: 23px; }
}
/* Project contribution workflow */
.rxh-project-draft-status { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: center; margin: 26px 0 18px; padding: 20px 22px; border: 1px solid #dce6f4; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(35, 62, 103, .08); }
.rxh-project-draft-status > div:first-child { display: grid; gap: 5px; }
.rxh-project-draft-status > div:first-child > span { color: #2f7cff; font-size: 11px; font-weight: 800; }
.rxh-project-draft-status strong { color: #071326; font-size: 20px; }
.rxh-project-draft-status small { color: #708099; font-size: 12px; }
.rxh-project-progress { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.rxh-project-progress > span { color: #071326; font-size: 20px; font-weight: 800; }
.rxh-project-progress > div { height: 7px; overflow: hidden; border-radius: 4px; background: #e8eef8; }
.rxh-project-progress i { display: block; width: 0; height: 100%; background: #2f7cff; transition: width .2s ease; }
.rxh-project-progress small { grid-column: 2; }
.rxh-project-submission-form { overflow: visible; }
.rxh-project-submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.rxh-project-editor { display: grid; gap: 16px; }
.rxh-project-submission-form .rxh-project-editor fieldset { scroll-margin-top: 96px; margin: 0; padding: 24px; border: 1px solid #dce6f4; border-radius: 8px; background: #fff; }
.rxh-project-submission-form .rxh-project-editor legend { display: flex; gap: 13px; align-items: center; width: auto; padding: 0 10px 0 0; color: #071326; }
.rxh-project-submission-form .rxh-project-editor legend > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 7px; background: #eaf2ff; color: #1768e9; font-size: 12px; font-weight: 900; }
.rxh-project-submission-form .rxh-project-editor legend > div { display: grid; gap: 2px; }
.rxh-project-submission-form .rxh-project-editor legend strong { font-size: 16px; }
.rxh-project-submission-form .rxh-project-editor legend small { color: #7b899e; font-size: 11px; font-weight: 400; }
.rxh-project-submission-form input,
.rxh-project-submission-form textarea,
.rxh-project-submission-form select { border-color: #cfdced; background: #fbfcff; }
.rxh-project-submission-form textarea { resize: vertical; }
.rxh-project-import { margin-top: 18px; border-top: 1px solid #e8eef6; padding-top: 16px; }
.rxh-project-import summary { color: #1768e9; cursor: pointer; font-size: 12px; font-weight: 800; }
.rxh-project-import label { margin-top: 14px; }
.rxh-project-reproduction-note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-left: 3px solid #2f7cff; background: #edf4ff; color: #50627d; font-size: 12px; }
.rxh-project-reproduction-note strong { color: #0b2d63; }
.rxh-project-submit-rail { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid #dce6f4; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(35, 62, 103, .08); }
.rxh-project-submit-rail::-webkit-scrollbar { width: 8px; }
.rxh-project-submit-rail::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 8px; background: #c2cee0; background-clip: padding-box; }
.rxh-project-checklist { padding: 20px; }
.rxh-project-checklist > span { color: #2f7cff; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.rxh-project-checklist h2 { margin: 7px 0 5px; color: #071326; font-size: 18px; }
.rxh-project-checklist > p { margin: 0 0 15px; color: #71819a; font-size: 11px; line-height: 1.6; }
.rxh-project-checklist nav { display: grid; }
.rxh-project-checklist nav a { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 38px; border-top: 1px solid #edf1f7; color: #52627a; font-size: 11px; }
.rxh-project-checklist nav a i { width: 14px; height: 14px; border: 1px solid #b8c7da; border-radius: 50%; }
.rxh-project-checklist nav a b { color: #9aa7b9; font-size: 9px; }
.rxh-project-checklist nav a.is-complete { color: #0f6a46; }
.rxh-project-checklist nav a.is-complete i { position: relative; border-color: #1aa06d; background: #1aa06d; }
.rxh-project-checklist nav a.is-complete i::after { content: ''; position: absolute; left: 3px; top: 2px; width: 5px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.rxh-project-checklist nav a.is-complete b { color: #1a9165; }
.rxh-project-submit-actions { display: grid; gap: 9px; padding: 18px 20px 20px; border-top: 1px solid #e4ebf5; }
.rxh-project-submit-actions button { width: 100%; min-height: 46px; }
.rxh-project-submit-actions .rxh-submit:disabled { cursor: not-allowed; opacity: .45; }
.rxh-project-preview-button { border: 1px solid #aac5ec; border-radius: 7px; background: #f4f8ff; color: #155fcf; font-weight: 800; cursor: pointer; }
.rxh-project-delete-button { border: 0; background: transparent; color: #a84545; cursor: pointer; font-size: 11px; font-weight: 700; }
.rxh-project-submit-actions small { color: #8491a5; font-size: 10px; line-height: 1.55; text-align: center; }
.rxh-project-series-choice { max-width: 760px; margin: 30px auto; padding: 38px; border: 1px solid #dce6f4; border-radius: 8px; background: #fff; box-shadow: 0 18px 44px rgba(35, 62, 103, .1); text-align: center; }
.rxh-project-series-choice > span { color: #2f7cff; font-size: 10px; font-weight: 900; letter-spacing: 0; }
.rxh-project-series-choice h2 { margin: 10px 0 12px; color: #071326; font-size: 28px; }
.rxh-project-series-choice p { max-width: 650px; margin: 0 auto; color: #60708a; font-size: 14px; line-height: 1.8; }
.rxh-project-series-actions { display: grid; gap: 12px; max-width: 520px; margin: 28px auto 16px; }
.rxh-project-series-actions button { min-height: 54px; padding: 12px 18px; border: 0; border-radius: 7px; color: #fff; font-size: 15px; font-weight: 850; cursor: pointer; }
.rxh-series-continue { background: #2f7cff; }
.rxh-series-continue:hover { background: #1768e9; }
.rxh-series-complete { background: #179764; }
.rxh-series-complete:hover { background: #0f8053; }
.rxh-project-series-choice > small { color: #8491a5; font-size: 11px; line-height: 1.6; }
body.theme-black .rxh-project-draft-status,
body.theme-black .rxh-project-submission-form .rxh-project-editor fieldset,
body.theme-black .rxh-project-submit-rail,
body.theme-black .rxh-project-series-choice { border-color: #283850; background: #0b1422; }
body.theme-black .rxh-project-submit-actions { border-top-color: #283850; }
body.theme-black .rxh-project-draft-status strong,
body.theme-black .rxh-project-submission-form .rxh-project-editor legend,
body.theme-black .rxh-project-checklist h2 { color: #f4f7ff; }
body.theme-black .rxh-project-series-choice h2 { color: #f4f7ff; }
body.theme-black .rxh-project-series-choice p { color: #bdc9db; }
body.theme-black .rxh-project-submission-form input,
body.theme-black .rxh-project-submission-form textarea,
body.theme-black .rxh-project-submission-form select { border-color: #2b3b53; background: #101c2e; color: #f4f7ff; }
body.theme-black .rxh-project-checklist nav a { border-color: #233148; color: #b6c1d1; }
body.theme-black .rxh-project-reproduction-note { background: #102848; color: #bdc9db; }
body.theme-black .rxh-project-reproduction-note strong { color: #fff; }

@media (max-width: 980px) {
  .rxh-project-submit-layout { grid-template-columns: 1fr; }
  .rxh-project-submit-rail { position: static; grid-row: 1; max-height: none; overflow: visible; scrollbar-gutter: auto; }
}
@media (max-width: 680px) {
  .rxh-project-draft-status { grid-template-columns: 1fr; }
  .rxh-project-submission-form .rxh-project-editor fieldset { padding: 18px; }
  .rxh-project-submission-form .rxh-project-editor legend small { display: none; }
  .rxh-project-reproduction-note { align-items: flex-start; flex-direction: column; }
}
