
:root {
  color-scheme:light;
  --ink:#2c4057;
  --muted:#596b7e;
  --accent:#dce8f3;
  --action:#365f87;
  --paper:#f7f9fb;
  --line:#e0e7ee;
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  font-size:16px;
  line-height:1.75
}
a {
  color:inherit
}
a:focus-visible,button:focus-visible,select:focus-visible {
  outline:3px solid #2882ac;
  outline-offset:5px
}
.skip {
  position:absolute;
  left:20px;
  top:-100px
}
.skip:focus {
  top:12px;
  background:white;
  z-index:10
}
header {
  background:white;
  border-bottom:1px solid var(--line)
}
.nav {
  max-width:1200px;
  margin:auto;
  min-height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 32px
}
.brand {
  text-decoration:none;
  font-size:23px;
  font-weight:600;
  letter-spacing:-1px
}
.brand span {
  font-weight:400;
  color:var(--muted)
}
nav {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center
}
nav a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f4f7fa;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease
}
nav a:hover {
  background:#e7eef5;
  border-color:#b8c8d7;
  transform:translateY(-1px)
}
.profile-link {
  margin-left:auto;
  white-space:nowrap;
  background:var(--action);
  border-color:var(--action);
  color:white
}
.admin-tabs {
  padding-block:18px;
  border-bottom:1px solid var(--line)
}
.admin-summary {
  max-width:560px;
  margin-top:32px
}
nav a[aria-current=page] {
  background:var(--action);
  border-color:var(--action);
  color:white
}
nav .button {
  background:var(--action);
  border-color:var(--action);
  color:white;
  font-size:14px;
  padding:8px 16px
}
.account-menu {position:relative;margin-left:auto}
.account-menu summary {
  display:grid;
  grid-template-columns:1fr auto;
  column-gap:.5rem;
  min-height:44px;
  padding:7px 13px;
  cursor:pointer;
  list-style:none;
  font-weight:700;
  text-align:right;
  background:var(--action);
  color:white;
  border:1px solid var(--action);
  border-radius:10px
}
.account-menu summary:hover {background:#294d70;border-color:#294d70}
.account-menu summary::-webkit-details-marker {display:none}
.account-menu-name {grid-column:1;font-size:.9rem}
.account-menu-role {grid-column:1;font-size:.7rem;color:#e3edf6}
.account-menu-chevron {grid-column:2;grid-row:1 / span 2;align-self:center}
.account-menu-panel {
  position:absolute;
  right:0;
  z-index:10;
  display:grid;
  min-width:13rem;
  gap:.35rem;
  padding:1rem;
  margin-top:.65rem;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:.7rem;
  box-shadow:0 12px 32px #0f172a2e
}
.account-menu-panel a {
  display:block;
  min-height:0;
  padding:.45rem .6rem;
  color:#0f3b69;
  background:transparent;
  border:0;
  border-radius:.4rem;
  text-decoration:none;
  transform:none
}
.account-menu-panel a:hover {background:#edf3f8;transform:none}
.account-menu-panel strong {font-size:.8rem;overflow-wrap:anywhere}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--action);
  color:white;
  padding:13px 22px;
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  border:1px solid transparent;
  font-size:16px;
  cursor:pointer
}
.button.light {
  background:var(--action);
  color:white
}
.button.outline {
  background:transparent;
  border-color:#a6b9cb;
  color:inherit
}
.wrap {
  max-width:1200px;
  padding:0 32px;
  margin:auto
}
.hero {
  background:linear-gradient(120deg,#edf3f8,#e4edf5);
  color:var(--ink);
  padding:76px 0 72px
}
.hero-grid {
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:64px;
  align-items:center
}
.eyebrow {
  font-size:13px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  font-weight:700;
  color:#526c91
}
.hero .eyebrow {
  color:var(--action)
}
h1 {
  font-size:clamp(36px,4.3vw,56px);
  line-height:1.17;
  letter-spacing:-1.4px;
  font-weight:600;
  margin:22px 0
}
h1 em {
  font-style:normal;
  color:var(--action)
}
h2 {
  font-size:30px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.5px;
  margin:12px 0 18px
}
h3 {
  font-size:20px;
  font-weight:600;
  line-height:1.4;
  margin:12px 0
}
p {
  margin:12px 0
}
.hero p {
  max-width:550px;
  color:var(--muted);
  font-size:18px
}
.actions {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px
}
.mission-note {
  background:rgba(255,255,255,.65);
  border:1px solid rgba(255,255,255,.8);
  border-radius:20px;
  padding:30px
}
.mission-note .number {
  font-size:42px;
  line-height:1.2;
  color:var(--action);
  letter-spacing:-1px
}
.mission-note h2 {
  font-size:26px
}
.mission-note p {
  font-size:16px
}
.mission-note hr {
  border:0;
  border-top:1px solid var(--line);
  margin:28px 0
}
.strip {
  display:flex;
  gap:30px;
  justify-content:space-between;
  padding:22px 0;
  border-bottom:1px solid var(--line);
  font-size:14px;
  font-weight:650
}
.section {
  padding-block:68px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:40px;
  margin-bottom:24px
}
.section-heading p {
  color:var(--muted);
  max-width:420px
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px;
  box-shadow:0 5px 20px rgba(44,64,87,.025)
}
.card p,.muted {
  color:var(--muted)
}
.index {
  font-family:inherit;
  letter-spacing:.7px;
  color:#596f83;
  font-size:14px
}
.bottom {
  background:#edf2f7;
  padding:40px;
  border-radius:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px
}
.bottom p {
  max-width:680px
}
.footer {
  padding:28px 0;
  color:var(--muted);
  font-size:14px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid var(--line)
}
.notice {
  background:#edf3f9;
  border-bottom:1px solid var(--line);
  padding:12px 32px;
  text-align:center;
  font-size:14px
}
.portal {
  padding-top:40px;
  padding-bottom:60px
}
.portal h1 {
  font-size:36px;
  letter-spacing:-.8px
}
.portal-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px
}
.tag {
  display:inline-block;
  border-radius:4px;
  padding:4px 10px;
  background:#e7edf0;
  font-size:13px;
  font-weight:650
}
.tag.warn {
  background:#fff0c6;
  color:#714d00
}
.tag.demo {
  background:#e7effc;
  color:#234f90
}
.stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom:32px
}
.stats strong {
  display:block;
  font-size:30px;
  line-height:1.4
}
.stats .card {
  padding:22px
}
.panel {
  border:1px solid var(--line);
  background:white;
  border-radius:16px;
  overflow:hidden
}
.panel-head {
  padding:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid var(--line)
}
.panel-head h2 {
  font-size:23px;
  margin:0
}
select {
  font:inherit;
  background:white;
  border:1px solid #899da7;
  padding:8px;
  border-radius:5px;
  color:var(--ink)
}
.table-scroll {
  overflow-x:auto
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:left
}
th {
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  background:#f6f8f9
}
td,th {
  padding:18px 24px;
  border-bottom:1px solid var(--line)
}
td {
  font-size:14px
}
td strong {
  font-size:16px
}
td small {
  display:block;
  color:var(--muted);
  font-size:13px
}
.text-button {
  background:none;
  border:0;
  padding:6px 0;
  color:var(--action);
  font:inherit;
  font-weight:650;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px
}
.detail {
  margin-top:24px;
  padding:28px;
  background:#edf2f7;
  border-radius:16px
}
.detail h2 {
  font-size:24px
}
.detail dl {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:12px
}
.detail dt {
  font-weight:600
}
.detail dd {
  margin:0
}
.portal-bottom {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:24px
}
.portal-bottom h2 {
  font-size:23px
}
.profile-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:24px 0
}
.profile-field {
  padding:18px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f7f9fb
}
.profile-field span {
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.5px
}
.profile-field strong {
  display:block;
  margin-top:4px;
  overflow-wrap:anywhere
}
.profile-form {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:24px
}
.profile-form label {
  font-weight:650
}
.profile-form input {
  display:block;
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  font:inherit;
  color:var(--ink);
  background:white;
  border:1px solid #899da7;
  border-radius:8px
}
.profile-form .actions {
  grid-column:1 / -1;
  margin-top:0
}
.inline-link {
  color:var(--action);
  font-weight:650
}
.catalog-heading {
  margin-top:64px
}
.catalog-caption {
  text-align:left;
  padding:20px 24px;
  font-size:22px;
  font-weight:600;
  color:var(--ink)
}
.catalog-group {
  margin-top:24px
}
.catalog-editor {
  display:grid;
  grid-template-columns:minmax(190px,2fr) minmax(145px,1.3fr) minmax(82px,.6fr) minmax(95px,.7fr) minmax(170px,1.8fr) minmax(108px,.8fr) 58px;
  gap:8px;
  align-items:end
}
.catalog-editor label {
  min-width:0;
  font-size:0;
  line-height:1
}
.catalog-editor input,.catalog-editor select {
  display:block;
  width:100%;
  min-height:38px;
  margin-top:0;
  padding:7px 9px;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.25;
  color:var(--ink);
  background:white;
  border:1px solid #899da7;
  border-radius:8px
}
#editor {border:0;padding:0;margin:0;min-width:0}
#editor > .actions {
  position:sticky;
  top:86px;
  z-index:8;
  align-items:center;
  margin:18px 0 8px;
  padding:10px;
  background:rgba(245,247,244,.96);
  border:1px solid var(--line);
  border-radius:14px;
  backdrop-filter:blur(12px)
}
#editor > .actions .button {min-height:38px;padding:8px 14px;font-size:14px;box-shadow:none}
#status {margin:8px 2px 12px;font-size:14px;font-weight:650}
.catalog-columns {
  display:grid;
  grid-template-columns:minmax(190px,2fr) minmax(145px,1.3fr) minmax(82px,.6fr) minmax(95px,.7fr) minmax(170px,1.8fr) minmax(108px,.8fr) 58px;
  gap:8px;
  padding:0 8px 7px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.4px
}
.catalog-table {
  margin:0;
  padding:12px 10px 8px;
  overflow:hidden
}
#items {display:block}
.catalog-item {
  margin:0;
  padding:6px 8px;
  border-top:1px solid var(--line)
}
.catalog-item:hover {transform:none;background:rgba(40,130,172,.035)}
.catalog-item .text-button {
  margin:0;
  padding:8px 0;
  font-size:12px
}
input:focus-visible {outline:3px solid #2882ac;outline-offset:3px}
@media(max-width:760px) {
.nav {
  padding:18px 20px;
  flex-wrap:wrap;
  gap:14px
}
nav {
  gap:8px;
  flex-wrap:wrap
}
nav a {padding:8px 11px}
.account-menu {margin-left:0}
.wrap {
  padding:0 20px
}
.hero {
  padding:48px 0
}
.hero-grid {
  grid-template-columns:1fr;
  gap:36px
}
.mission-note {
  padding-left:24px
}
.mission-note .number {
  font-size:36px
}
.cards,.stats,.portal-bottom {
  grid-template-columns:1fr
}
.profile-grid,.profile-form {
  grid-template-columns:1fr
}
.strip {
  flex-wrap:wrap;
  gap:12px 24px
}
.section {
  padding-block:40px
}
.section-heading,.bottom,.portal-title,.panel-head {
  align-items:start;
  flex-direction:column;
  gap:16px
}
.bottom {
  padding:24px
}
.footer {
  flex-direction:column;
  gap:8px
}
.detail dl {
  grid-template-columns:1fr;
  gap:5px
}
.detail dd {
  margin-bottom:12px
}
.notice {
  padding:12px 20px
}
.catalog-editor {grid-template-columns:1fr 1fr}
.catalog-editor label {font-size:12px;line-height:1.25;font-weight:750;color:var(--muted);text-transform:uppercase;letter-spacing:.45px}
.catalog-editor input,.catalog-editor select {margin-top:4px}
.catalog-editor label:first-child,.catalog-editor label:nth-child(5),.catalog-item .text-button {grid-column:1 / -1}
.catalog-columns {display:none}
.catalog-table {padding:0}
.catalog-item {padding:12px;border-top:1px solid var(--line)}
.catalog-item:first-child {border-top:0}
#editor > .actions {top:72px}
h1 {
  letter-spacing:-1.5px
}

}

/* Unified RES3700 visual system */
:root {
  --ink:#173341;
  --muted:#62747b;
  --accent:#dcebed;
  --action:#176872;
  --action-dark:#0d4d59;
  --highlight:#b7dc86;
  --paper:#f5f7f4;
  --warm:#fbf8f1;
  --line:#dce5e1;
  --site-header-height:94px;
  --site-header-control-height:44px;
  --site-account-width:154px
}
body {
  line-height:1.7;
  background:radial-gradient(circle at 8% 4%,rgba(23,104,114,.07),transparent 24rem),var(--paper)
}
header {
  position:sticky;
  top:0;
  z-index:20;
  min-height:var(--site-header-height);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(220,229,225,.8);
  backdrop-filter:blur(18px);
  box-shadow:0 10px 30px rgba(23,51,65,.04)
}
.nav {
  width:100%;
  max-width:1240px;
  height:var(--site-header-height);
  min-height:var(--site-header-height);
  padding:17px 32px;
  flex-wrap:nowrap
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-weight:700;
  letter-spacing:-.7px;
  color:var(--ink)
}
.brand::before {
  content:"R";
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:12px;
  background:linear-gradient(145deg,var(--action),var(--action-dark));
  color:white;
  font-family:"Segoe UI",sans-serif;
  font-size:19px;
  box-shadow:0 8px 18px rgba(13,77,89,.2);
  margin-right:11px
}
nav {
  min-height:56px;
  flex-wrap:nowrap;
  gap:3px;
  padding:6px;
  border:1px solid rgba(220,229,225,.9);
  border-radius:18px;
  background:rgba(247,249,247,.88);
  box-shadow:0 10px 28px rgba(23,51,65,.08)
}
nav a {
  height:var(--site-header-control-height);
  min-height:var(--site-header-control-height);
  padding:8px 13px;
  border:0;
  border-radius:12px;
  background:transparent
}
nav a:hover {background:white;border-color:transparent}
nav a[aria-current=page],nav .button {
  background:var(--action-dark);
  border-color:var(--action-dark);
  color:white
}
.account-menu summary {
  width:100%;
  height:var(--site-header-control-height);
  min-height:var(--site-header-control-height);
  padding:5px 13px;
  background:var(--action-dark);
  border-color:var(--action-dark);
  border-radius:12px
}
.account-menu-name,.account-menu-role {line-height:1.1}
.profile-link,.account-menu {
  flex:0 0 var(--site-account-width);
  width:var(--site-account-width)
}
.account-menu summary:hover {background:#083b45;border-color:#083b45}
.account-menu-role {color:#d8e8e8}
.account-menu-panel {border-radius:14px;box-shadow:0 18px 45px rgba(23,51,65,.16)}
.button {
  background:var(--action-dark);
  padding:14px 22px;
  border-radius:10px;
  font-weight:700;
  box-shadow:0 9px 22px rgba(13,77,89,.16);
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease
}
.button:hover {transform:translateY(-2px);box-shadow:0 13px 28px rgba(13,77,89,.22)}
.button.light {background:var(--highlight);color:#123540;box-shadow:0 9px 22px rgba(183,220,134,.22)}
.wrap {max-width:1240px}
.hero {
  position:relative;
  overflow:hidden;
  background:radial-gradient(circle at 82% 22%,rgba(76,157,164,.36),transparent 28rem),linear-gradient(125deg,#082f3e 0%,#0d4f5b 55%,#176872 100%);
  color:white;
  padding:100px 0 94px
}
.hero::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 0 62%,rgba(255,255,255,.035) 62% 63%,transparent 63% 72%,rgba(255,255,255,.025) 72% 73%,transparent 73%)
}
.hero > .wrap {position:relative;z-index:1}
.eyebrow {font-weight:800;color:var(--action);letter-spacing:1.8px}
.hero .eyebrow {color:#c8e6a4}
h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,5vw,68px);
  line-height:1.05;
  letter-spacing:-2px;
  font-weight:500
}
h1 em {color:var(--highlight)}
h2 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(29px,3vw,42px);
  font-weight:500;
  line-height:1.18;
  letter-spacing:-1px
}
.hero p {color:#d8e7e8}
.hero .button.outline {color:white;border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08);box-shadow:none}
.mission-note {
  background:rgba(255,255,255,.94);
  color:var(--ink);
  border-color:rgba(255,255,255,.8);
  border-radius:24px;
  padding:38px;
  box-shadow:0 24px 55px rgba(4,31,40,.24)
}
.hero .mission-note p {color:var(--muted)}
.strip {background:rgba(255,255,255,.42)}
.section {padding-block:86px}
.cards {gap:22px}
.card {
  background:rgba(255,255,255,.9);
  border-radius:22px;
  padding:34px;
  box-shadow:0 15px 38px rgba(23,51,65,.07);
  transition:transform .2s ease,box-shadow .2s ease
}
.card:hover {transform:translateY(-4px);box-shadow:0 22px 48px rgba(23,51,65,.11)}
.bottom {
  background:linear-gradient(120deg,#0b3543,#176872);
  color:white;
  padding:48px;
  border-radius:24px
}
.bottom p {color:#d9e9e9}
.portal {padding-top:64px;padding-bottom:80px}
.portal h1 {font-size:46px}
.tag {border-radius:999px;padding:7px 13px;background:#dcebed}
.panel {border-radius:22px;box-shadow:0 15px 38px rgba(23,51,65,.07)}
.profile-field {border-radius:14px;background:#f7faf8}
.inline-link {color:var(--action);font-weight:700;text-underline-offset:4px}
.paygistix-banner {
  position:relative;
  width:calc(100% - 48px);
  max-width:1192px;
  margin-top:28px;
  margin-bottom:28px;
  padding:36px 40px;
  overflow:hidden;
  border-radius:24px;
  color:white;
  background:linear-gradient(118deg,#0b3543,#176872 72%,#287d83);
  box-shadow:0 18px 46px rgba(23,51,65,.14)
}
.paygistix-banner::after {
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-85px;
  top:-125px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  box-shadow:0 0 0 46px rgba(255,255,255,.035),0 0 0 92px rgba(255,255,255,.025)
}
.paygistix-banner > * {position:relative;z-index:1}
.paygistix-banner .eyebrow {color:#c8e6a4}
.paygistix-banner h2 {font-size:clamp(27px,3vw,39px);margin-block:10px}
.paygistix-banner p {max-width:820px;color:#e0eeee}
.paygistix-banner .inline-link {color:white}
.paygistix-banner .button {background:var(--highlight);color:#123540}
@media(max-width:980px) {
  header {min-height:0}
  .nav {height:auto;min-height:var(--site-header-height);padding:15px 18px;flex-wrap:wrap}
  nav {width:100%;min-height:0;gap:3px;padding:5px;border-radius:15px;flex-wrap:wrap}
  nav a {padding:8px 10px}
  .profile-link,.account-menu {margin-left:0}
}
@media(max-width:760px) {
  .brand {font-size:21px}
  .brand::before {width:35px;height:35px}
  .hero {padding:64px 0}
  .section {padding-block:54px}
  .paygistix-banner {width:auto;margin:18px 14px;padding:28px 24px;border-radius:20px}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;transition:none!important}
}
