/* =====================================================================
   ORG — G7Bill template · design system  ("KIND HEART")
   ---------------------------------------------------------------------
   Calm, modern, minimal. Deep blue ink and bright paper with a single
   magenta accent; Sora for display, Inter for everything
   else. Glass over imagery, soft radii, diffuse depth, scroll-driven
   motion that always degrades to a still page.

   Layer order: legal.css → org-suite.css → org-pages.css →
   org-chrome.css (header · hero · home · footer · floating) →
   org-polish.css (modern component layer) → custom.css
   ===================================================================== */

:root {
  /* ---- palette : ink, paper, one crimson accent (the logo red) -------------------- */
  --og-ink:         #24191F;   /* midnight ink: text + dark grounds   */
  --og-ink-2:       #4B3E45;
  --og-ink-3:       #6F6269;
  --og-night:       #21141B;
  --og-panel:       #2E1C26;

  --og-seal:        #1D5598;   /* steel navy: links, icons, active    */
  --og-seal-600:    #164476;
  --og-seal-dark:   #21141B;
  --og-seal-deep:   #24191F;

  --og-brass:       #A4467A;   /* crimson: the logo red, the single accent           */
  --og-brass-600:   #86325F;
  --og-brass-soft:  #F9EEF4;

  /* legacy token names kept so older selectors resolve to the new brand */
  --og-royal:       var(--og-seal);
  --og-royal-600:   var(--og-seal-600);
  --og-royal-dark:  var(--og-seal-dark);
  --og-royal-deep:  var(--og-seal-deep);
  --og-gold:        var(--og-brass);
  --og-gold-600:    var(--og-brass-600);
  --og-gold-soft:   var(--og-brass-soft);
  --og-azure:       var(--og-seal);
  --og-sky:         #A8949F;
  --og-cardinal:    #164476;
  --og-cranberry:   #21141B;
  --og-turquoise:   #4B6C93;
  --og-violet:      #86325F;
  --og-orange:      #86325F;
  --og-grass:       #3E8E63;
  --og-slate:       #7C6D75;
  --og-sand:        #F4ECE2;
  --og-clay:        #86325F;
  --og-sunset:      linear-gradient(115deg, #24191F 0%, #1D5598 60%, #A4467A 100%);

  /* ---- neutrals : ink on paper ------------------------------------ */
  --og-muted:       #6F6269;
  --og-line:        #E9DED3;
  --og-line-2:      #DCCFC2;
  --og-surface:     #FFFFFF;
  --og-canvas:      #FBF7F2;
  --og-tint:        #F4ECE2;

  /* on-dark text */
  --og-on-dark:     #FBF7F2;
  --og-on-dark-2:   #E3D3DC;
  --og-on-dark-3:   #B5A3AD;

  /* ---- shape : soft, generous ------------------------------------- */
  --og-r-xs: 8px;
  --og-r-sm: 12px;
  --og-r:    16px;
  --og-r-lg: 24px;
  --og-r-xl: 32px;
  --og-pill: 999px;

  /* ---- depth : diffuse, layered, never heavy ---------------------- */
  --og-sh-1: 0 1px 2px rgba(36,25,31, .04), 0 1px 1px rgba(36,25,31, .03);
  --og-sh-2: 0 8px 24px -12px rgba(36,25,31, .18), 0 2px 6px rgba(36,25,31, .04);
  --og-sh-3: 0 24px 48px -24px rgba(36,25,31, .28), 0 4px 12px rgba(36,25,31, .05);
  --og-sh-4: 0 40px 80px -32px rgba(36,25,31, .4), 0 8px 20px rgba(36,25,31, .06);
  --og-ring: 0 0 0 4px rgba(164,70,122, .22);

  /* glass */
  --og-glass-dark:  rgba(36,25,31, .42);
  --og-glass-light: rgba(255, 255, 255, .66);
  --og-glass-edge:  rgba(255, 255, 255, .16);

  --og-ease: cubic-bezier(.22, .61, .36, 1);
  --og-ease-out: cubic-bezier(.16, 1, .3, 1);
  --og-font:      "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --og-font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --og-font-ui:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --og-font-mono: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --og-font-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --og-nav-h: 64px;
  --og-nav-gap: 14px;
  --og-side-w: 268px;
  --og-side-w-mini: 74px;
}

/* =====================================================================
   1. BASE
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--og-font);
  font-size: 15px;
  line-height: 1.66;
  color: var(--og-ink);
  background: var(--og-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  font-family: var(--og-font-head);
  color: var(--og-ink);
  letter-spacing: -.006em;
  line-height: 1.12;
  font-optical-sizing: auto;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 { font-weight: 700; letter-spacing: -.035em; }
h5, h6, .h5, .h6 { font-weight: 600; font-family: var(--og-font-ui); letter-spacing: 0; }
p { color: var(--og-ink-2); }
a { color: var(--og-seal); transition: color .18s var(--og-ease); }
a:hover, a:focus { color: var(--og-brass-600); text-decoration: none; }
img { max-width: 100%; height: auto; }
hr { border-top-color: var(--og-line); }
::selection { background: var(--og-brass); color: #fff; }
:focus-visible { outline: 2px solid var(--og-brass); outline-offset: 2px; }
.container { padding-left: 20px; padding-right: 20px; }
@media (min-width: 1300px) { .container { width: 1240px; } }

::-webkit-scrollbar { width: 12px; height: 12px; background: #E9DED3; }
::-webkit-scrollbar-thumb { background: var(--og-ink-3); border: 4px solid #E9DED3; }
::-webkit-scrollbar-thumb:hover { background: var(--og-seal); }
html { scrollbar-color: var(--og-ink-3) #E9DED3; scrollbar-width: thin; }

.og-skip {
  position: absolute; left: 12px; top: -64px; z-index: 100000;
  background: var(--og-seal); color: #FBF7F2; font-weight: 600;
  padding: 11px 18px; border-radius: var(--og-r); transition: top .2s var(--og-ease);
  font-family: var(--og-font-ui); letter-spacing: .04em;
}
.og-skip:focus { top: 12px; color: #FBF7F2; }

/* ---- eyebrow : a docket label, no ornaments ----------------------- */
.og-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--og-font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--og-brass-600);
}
.og-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.og-eyebrow::after { display: none; }
.og-eyebrow.og-noline::before, .og-eyebrow.og-noline::after { display: none; }
.og-left .og-eyebrow::before { display: none; }
/* on ink grounds the docket label lifts to the bright brass */
.og-hero .og-eyebrow, .og-section-royal .og-eyebrow, .og-footer-cta .og-eyebrow,
.og-banner .og-eyebrow, .og-invite .og-eyebrow, .og-auth-copy .og-eyebrow,
.og-kb-hero .og-eyebrow, .og-product-hero .og-eyebrow, .og-dev-hero .og-eyebrow,
.og-event-gate-art .og-eyebrow, .og-profile-hero .og-eyebrow,
.og-trust .og-eyebrow, .og-cta .og-eyebrow { color: var(--og-brass); }

/* ---- printed rule -------------------------------------------------- */
.og-rule {
  height: 3px; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--og-seal) 0 34%, var(--og-brass) 34% 52%, var(--og-ink) 52% 100%);
}
.og-orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--og-brass); margin: 16px 0 0; }
.og-orn::before, .og-orn::after { content: ""; height: 1px; width: 54px; background: var(--og-line-2); }
.og-gold-underline { background-image: linear-gradient(transparent 62%, rgba(164,70,122,.42) 62%); background-repeat: no-repeat; background-size: 100% 100%; }

/* ---- type helpers -------------------------------------------------- */
.og-strong { color: var(--og-ink); font-weight: 600; }
.og-muted { color: var(--og-muted); }
.og-lead { font-family: var(--og-font-head); font-size: 1.2rem; line-height: 1.6; color: var(--og-ink-2); font-weight: 600; }
.og-mono { font-family: var(--og-font-code); font-size: .88em; letter-spacing: .01em; }
.og-amt { font-family: var(--og-font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.og-code { font-family: var(--og-font-code); font-size: .86em; background: var(--og-tint); border: 1px solid var(--og-line); border-radius: 2px; padding: 1px 6px; color: var(--og-seal-dark); }
.og-dropcap::first-letter {
  font-family: var(--og-font-head); font-weight: 600; float: left;
  font-size: 3.6em; line-height: .82; padding: 6px 12px 0 0; color: var(--og-seal);
}
.og-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.og-wide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.og-text-link { font-family: var(--og-font-ui); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--og-seal); display: inline-flex; align-items: center; gap: 8px; }
.og-text-link i { transition: transform .2s var(--og-ease); }
.og-text-link:hover i { transform: translateX(4px); }
.og-link-arrow::after { content: "\2192"; margin-left: 8px; transition: margin .2s var(--og-ease); }
.og-link-arrow:hover::after { margin-left: 14px; }

/* =====================================================================
   2. BUTTONS
   ===================================================================== */
.btn { border-radius: var(--og-r); font-family: var(--og-font-ui); font-weight: 600; letter-spacing: .03em; transition: all .18s var(--og-ease); }
.btn.og-btn-primary, .btn.btn-primary, .btn.blue-sharp:not(.btn-outline), .btn.dark:not(.btn-outline) {
  background: var(--og-ink); border: 1px solid var(--og-ink); color: #FBF7F2;
}
.btn.og-btn-primary:hover, .btn.btn-primary:hover, .btn.blue-sharp:not(.btn-outline):hover, .btn.dark:not(.btn-outline):hover {
  background: var(--og-seal); border-color: var(--og-seal); color: #FBF7F2;
}
.btn.og-btn-gold, .btn.btn-warning, .btn.yellow:not(.btn-outline), .btn.yellow-crusta:not(.btn-outline), .btn.yellow-gold:not(.btn-outline) {
  background: var(--og-brass); border: 1px solid var(--og-brass); color: #fff;
}
.btn.og-btn-gold:hover, .btn.btn-warning:hover, .btn.yellow:not(.btn-outline):hover, .btn.yellow-crusta:not(.btn-outline):hover, .btn.yellow-gold:not(.btn-outline):hover {
  background: var(--og-brass-600); border-color: var(--og-brass-600); color: #fff;
}
.btn.og-btn-soft, .btn.og-btn-outline, .btn.btn-default, .btn.default:not(.btn-outline) {
  background: transparent; border: 1px solid var(--og-line-2); color: var(--og-ink);
}
.btn.og-btn-soft:hover, .btn.og-btn-outline:hover, .btn.btn-default:hover, .btn.default:not(.btn-outline):hover {
  background: var(--og-ink); border-color: var(--og-ink); color: #FBF7F2;
}
.btn.og-btn-ghost { background: transparent; border: 1px solid rgba(246,245,255,.42); color: #FBF7F2; }
.btn.og-btn-ghost:hover { background: #FBF7F2; border-color: #FBF7F2; color: var(--og-ink); }
.btn.og-btn-ghost-dark { background: transparent; border: 1px solid var(--og-line-2); color: var(--og-ink); }
.btn.og-btn-ghost-dark:hover { background: var(--og-ink); border-color: var(--og-ink); color: #FBF7F2; }
.btn.og-btn-text { background: transparent; border: 0; color: var(--og-seal); padding-left: 0; padding-right: 0; }
.btn.og-btn-text:hover { color: var(--og-brass-600); }
.btn.og-btn-google { background: #fff; border: 1px solid var(--og-line-2); color: var(--og-ink-2); }
.btn.og-btn-google:hover { background: var(--og-tint); }
.btn.og-btn-icon { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--og-line-2); background: #fff; color: var(--og-ink); }
.btn.og-btn-icon:hover { background: var(--og-ink); color: #FBF7F2; border-color: var(--og-ink); }
.btn.og-btn-icon.og-icon-sm { width: 30px; height: 30px; font-size: 12px; }
.btn.og-btn-outline.yellow { border-color: var(--og-brass-600); color: var(--og-brass-600); }
.btn.og-btn-outline.yellow:hover { background: var(--og-brass); border-color: var(--og-brass); color: #fff; }
.btn.btn-lg { padding: 13px 26px; font-size: 14px; }
.btn.red-stripe, .btn.default.red-stripe, .btn.green-stripe { border-left: 2px solid var(--og-brass) !important; }

/* =====================================================================
   3. FORM FACTORY (FF::*) + native fields
   ===================================================================== */
.og-ff, .og-form { display: block; }
.og-ff-section { border-top: 1px solid var(--og-line); padding-top: 22px; margin-top: 22px; }
.og-ff-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.og-ff-section-title {
  font-family: var(--og-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--og-seal); margin: 0 0 14px;
}
.og-ff-stack { display: flex; flex-direction: column; gap: 6px; }
.og-ff-wide { grid-column: 1 / -1; }
.og-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 22px; }
.og-field-grid.is-single { grid-template-columns: minmax(0,1fr); }
.og-field-grid > .is-wide, .og-ff-stack.is-wide, .og-field-break { grid-column: 1 / -1; }
@media (max-width: 767px) { .og-field-grid { grid-template-columns: 1fr; } }
.og-field-break { height: 0; }
.og-field, .input-icon.og-input { position: relative; }
.og-field > i, .input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--og-brass-600); z-index: 2; pointer-events: none; }
.og-field .form-control, .input-icon .form-control { padding-left: 42px; }
.input-icon.right .form-control { padding-left: 13px; padding-right: 42px; }
.input-icon.right > i { left: auto; right: 14px; }
.og-ff-label, .og-field > label, .control-label {
  font-family: var(--og-font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--og-ink-3); margin: 0;
}
.og-ff-help, .og-helper-copy, .help-block { font-size: 12.5px; color: var(--og-muted); margin: 2px 0 0; line-height: 1.5; }
.og-ff-control, .og-input, .og-ff .form-control, .form-control {
  border: 1px solid var(--og-line-2); border-radius: var(--og-r); background: #fff; color: var(--og-ink);
  padding: 11px 13px; font-size: 14px; box-shadow: none; transition: border-color .16s var(--og-ease), box-shadow .16s var(--og-ease);
}
.og-ff-control:focus, .og-input:focus, .form-control:focus {
  border-color: var(--og-ink); box-shadow: var(--og-ring); outline: 0;
}
.form-control[disabled], .form-control[readonly] { background: var(--og-tint); color: var(--og-muted); }
.og-input-group { display: flex; }
.og-input-group > * { border-radius: 0 !important; }
.og-input-split { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0,1fr); gap: 0; }
.og-input-split-a { border-right: 0; }
.og-ff-actions, .og-form-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  border-top: 1px solid var(--og-line); margin-top: 24px; padding-top: 20px;
}
.og-mini-field { max-width: 220px; }
.og-otp-input { letter-spacing: .5em; font-family: var(--og-font-mono); text-align: center; }
.og-eye { color: var(--og-muted); }
.og-field .og-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: var(--og-muted); z-index: 2; }
.og-field .og-eye:hover { background: var(--og-tint); color: var(--og-seal); }
.og-copy-field { display: flex; gap: 0; }
.og-copy-field .og-input { border-right: 0; }

.checkbox input[type=checkbox], .radio input[type=radio] { accent-color: var(--og-seal); }
.og-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--og-ink-2); }

/* =====================================================================
   4. CARDS · PANELS · PORTLETS
   ===================================================================== */
.og-card, .og-panel, .og-formcard, .og-verify-card, .og-thread-card, .og-frame-card {
  background: var(--og-surface); border: 1px solid var(--og-line);
  border-radius: var(--og-r); box-shadow: var(--og-sh-1);
}
.og-panel-head, .og-card-head, .og-formcard-head {
  border-bottom: 1px solid var(--og-line); padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.og-panel-body, .og-card-body, .og-formcard-body { padding: 20px; }
.og-card-label { font-family: var(--og-font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--og-brass-600); }
.og-card-icon, .og-card-ico {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--og-line-2); color: var(--og-seal); font-size: 17px; background: var(--og-tint);
}
.og-card-headline { font-family: var(--og-font-head); font-size: 1.15rem; font-weight: 600; color: var(--og-ink); }
.og-card-media { position: relative; overflow: hidden; background: var(--og-tint); }
.og-card-media img { width: 100%; display: block; }
.og-card-tag {
  font-family: var(--og-font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--og-ink); color: #FBF7F2; padding: 4px 8px;
}
.og-card-number { font-family: var(--og-font-head); font-size: 1.28rem; color: var(--og-seal); }
.og-card-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.og-card-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 16px; }
.og-panel.og-panel-dark, .og-side-card-royal { background: var(--og-ink); border-color: var(--og-ink); color: #E8E6F4; }
.og-panel.og-panel-dark h1, .og-panel.og-panel-dark h2, .og-panel.og-panel-dark h3, .og-panel.og-panel-dark h4 { color: #FBF7F2; }
.og-value-card { border: 1px solid var(--og-line); border-left: 3px solid var(--og-brass); padding: 18px 20px; background: #fff; }
.og-alert-card { border: 1px solid var(--og-line-2); border-left: 3px solid var(--og-seal); background: var(--og-brass-soft); padding: 16px 18px; }

/* portlets (engine) */
.portlet { border-radius: var(--og-r); border: 1px solid var(--og-line); box-shadow: var(--og-sh-1); background: #fff; }
.portlet > .portlet-title { border-bottom: 1px solid var(--og-line); padding: 14px 18px; min-height: 0; }
.portlet > .portlet-title > .caption { font-family: var(--og-font-head); font-size: 1.05rem; color: var(--og-ink); }
.portlet.box > .portlet-title { background: var(--og-ink); color: #FBF7F2; border-bottom: 0; }
.portlet.box > .portlet-title > .caption, .portlet.box > .portlet-title > .caption > i { color: #FBF7F2; }
.portlet.box > .portlet-body { background: #fff !important; padding: 20px; border-radius: var(--og-r); }

/* =====================================================================
   5. TABLES · LISTS · KV · CODE
   ===================================================================== */
.og-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.og-table thead th {
  font-family: var(--og-font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--og-ink-3); border-bottom: 2px solid var(--og-ink); padding: 10px 12px; text-align: left; background: transparent;
}
.og-table tbody td { border-bottom: 1px solid var(--og-line); padding: 12px; color: var(--og-ink-2); vertical-align: middle; }
.og-table tbody tr:hover { background: var(--og-tint); }
.og-table-card { border: 1px solid var(--og-line); background: #fff; }
.og-flat-table thead th { background: var(--og-tint); border-bottom: 1px solid var(--og-line-2); }
.og-cell-muted { color: var(--og-muted); }
.og-cell-status { font-family: var(--og-font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.og-list, .og-list-inner { list-style: none; margin: 0; padding: 0; }
.og-list-card { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--og-line); background: #fff; border-left: 3px solid var(--og-brass); }
.og-list-card + .og-list-card { margin-top: -1px; }
.og-list-ico { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--og-line-2); color: var(--og-seal); background: var(--og-tint); }
.og-list-body { flex: 1 1 auto; min-width: 0; }
.og-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.og-list-title { font-family: var(--og-font-head); font-size: 1.02rem; font-weight: 600; color: var(--og-ink); margin: 0; }
.og-list-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.og-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--og-line); background: var(--og-tint); }
.og-list-toolbar-left, .og-list-toolbar-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.og-kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; }
.og-kv-row { display: contents; }
.og-kv-k { font-family: var(--og-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--og-ink-3); padding: 11px 14px; border-bottom: 1px solid var(--og-line); }
.og-kv-v { padding: 11px 14px; border-bottom: 1px solid var(--og-line); color: var(--og-ink-2); }
.og-kv-boxed { border: 1px solid var(--og-line); }
.og-kv-lines .og-kv-k, .og-kv-lines .og-kv-v { border-bottom: 1px solid var(--og-line); }
.og-kv-strong { color: var(--og-ink); font-weight: 600; }
.og-kv-sep { grid-column: 1 / -1; height: 1px; background: var(--og-line-2); }
.og-meta-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--og-muted); }

.og-codebox { border: 1px solid var(--og-ink); background: var(--og-night); color: #e0e9f2; }
.og-codebox-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(245,248,255,.12); }
.og-codebox-dots { display: inline-flex; gap: 6px; }
.og-codebox-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245,248,255,.28); display: inline-block; }
.og-codebox-title { font-family: var(--og-font-code); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #b3c6d6; }
.og-codebox-copy { margin-left: auto; color: #b3c6d6; }
.og-codebox-area, .og-codebox pre { margin: 0; padding: 16px; font-family: var(--og-font-code); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; color: #e6eef6; }
.og-codebox-sm .og-codebox-area { padding: 12px; font-size: 11.5px; }

.og-param { font-family: var(--og-font-code); font-size: 12px; color: var(--og-seal-dark); background: var(--og-tint); border: 1px solid var(--og-line); padding: 1px 6px; }

/* =====================================================================
   6. STATUS : pills · dots · tones
   ===================================================================== */
.og-pill, .label, .badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 2px;
  font-family: var(--og-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--og-line-2); background: var(--og-tint); color: var(--og-ink-2);
}
.og-pill-paid, .og-pill-approved, .og-pill-solved, .og-pill-closed { background: #E6EFE8; border-color: #B7CFBD; color: #2B5239; }
.og-pill-pending, .og-pill-hold, .og-pill-draft { background: #F9EEF4; border-color: #D0C4FF; color: #6B2449; }
.og-pill-cancelled, .og-pill-expired, .og-pill-terminated, .og-pill-suspended, .og-pill-inactive { background: #F4E9E7; border-color: #DDBFB9; color: #C0344F; }
.og-pill-fraud { background: var(--og-seal); border-color: var(--og-seal); color: #FBF7F2; }
.og-pill-new, .og-pill-open, .og-pill-active { background: #F4ECE2; border-color: #E3D3DC; color: #231F55; }
.og-pill-debit { background: #F4E9E7; border-color: #DDBFB9; color: #C0344F; }
.og-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--og-slate); }
.og-dot-new, .og-dot-open, .og-dot-pending { background: var(--og-brass); }
.og-dot-solved, .og-dot-closed { background: #4C7A5C; }
.og-dot-hold { background: #A4467A; }
.og-tone-royal { color: var(--og-seal); }
.og-tone-cardinal { color: var(--og-seal-600); }
.og-tone-gold { color: var(--og-brass-600); }
.og-tone-grass { color: var(--og-grass); }
.og-tone-violet { color: var(--og-violet); }
.og-tone-ink { color: var(--og-ink); }
.og-tone-muted { color: var(--og-muted); }
.og-badge-soft { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--og-ink-2); background: var(--og-tint); border: 1px solid var(--og-line); padding: 3px 9px; }
.og-tag { font-family: var(--og-font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--og-line-2); padding: 3px 8px; color: var(--og-ink-3); }
.og-tag-gold { border-color: var(--og-brass); color: var(--og-brass-600); }
.og-new { font-family: var(--og-font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--og-seal); color: #FBF7F2; padding: 2px 6px; }

/* =====================================================================
   7. KPI
   ===================================================================== */
.og-kpis { display: grid; gap: 16px; }
.og-kpis-2 { grid-template-columns: repeat(2,1fr); }
.og-kpis-3 { grid-template-columns: repeat(3,1fr); }
.og-kpis-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 991px) { .og-kpis-3, .og-kpis-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px) { .og-kpis-2, .og-kpis-3, .og-kpis-4 { grid-template-columns: 1fr; } }
.og-kpi { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--og-line); border-top: 3px solid var(--og-ink); }
.og-kpi-ico { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--og-line-2); color: var(--og-seal); background: var(--og-tint); }
.og-kpi-body { min-width: 0; }
.og-kpi-value { font-family: var(--og-font-head); font-size: 1.20rem; font-weight: 600; color: var(--og-ink); line-height: 1.1; }
.og-kpi-label { font-family: var(--og-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--og-ink-3); }
.og-kpi-go, .og-kpi-share { color: var(--og-muted); }

/* =====================================================================
   8. PROSE · ARTICLE · RESULT · EMPTY · MISC
   ===================================================================== */
.og-prose { font-size: 15.5px; line-height: 1.78; color: var(--og-ink-2); }
.og-prose h2, .og-prose h3 { color: var(--og-ink); margin-top: 1.6em; }
.og-prose a { border-bottom: 1px solid rgba(29,85,152,.4); }
.og-prose blockquote { border-left: 3px solid var(--og-brass); margin: 1.4em 0; padding: 4px 0 4px 20px; font-family: var(--og-font-head); font-size: 1.16rem; color: var(--og-ink); }
.og-prose-card { background: #fff; border: 1px solid var(--og-line); padding: clamp(20px,3vw,38px); }
.og-toc { border-left: 2px solid var(--og-line-2); padding-left: 16px; }
.og-toc a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--og-ink-3); }
.og-toc a:hover { color: var(--og-seal); }

.og-result { border: 1px solid var(--og-line); background: #fff; padding: 28px; text-align: center; }
.og-result-ico { width: 62px; height: 62px; margin: 0 auto 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; border: 1px solid var(--og-line-2); color: var(--og-seal); background: var(--og-tint); }
.og-result-success .og-result-ico { color: #2b5239; border-color: #b7cfbd; background: #e6efe8; }
.og-result-error .og-result-ico { color: #c0344f; border-color: #ddbfb9; background: #f4e9e7; }
.og-result-amount { font-family: var(--og-font-head); font-size: 1.68rem; font-weight: 600; color: var(--og-ink); }
.og-result-label { font-family: var(--og-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--og-ink-3); }
.og-result-sign { font-size: .6em; vertical-align: super; color: var(--og-brass-600); }
.og-result-foot { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.og-empty:not(li) { text-align: center; padding: 54px 24px; border: 1px dashed var(--og-line-2); background: #fff; }
.og-empty-ico { font-size: 34px; color: var(--og-line-2); margin-bottom: 12px; }
.og-helper { border: 1px solid var(--og-line); background: var(--og-tint); padding: 18px 20px; }
.og-helper-body { font-size: 13.5px; color: var(--og-ink-2); }
.og-info-list { list-style: none; margin: 0; padding: 0; }
.og-info-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--og-line); font-size: 13.5px; }
.og-info-ico { color: var(--og-brass-600); }
.og-secure-note { font-size: 12.5px; color: var(--og-muted); display: flex; align-items: center; gap: 8px; }
.og-secure-note i { color: var(--og-brass-600); }
.og-avatar { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--og-ink); color: #FBF7F2; font-family: var(--og-font-head); font-size: 15px; }
.og-stars { color: var(--og-brass); letter-spacing: 2px; }
.og-spinner { width: 22px; height: 22px; border: 2px solid var(--og-line-2); border-top-color: var(--og-seal); border-radius: 50%; display: inline-block; animation: og-spin .8s linear infinite; }
@keyframes og-spin { to { transform: rotate(360deg); } }
.og-chip-code, .og-chip-link { font-family: var(--og-font-mono); font-size: 11px; border: 1px solid var(--og-line-2); padding: 2px 7px; color: var(--og-ink-3); background: var(--og-tint); }
.og-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--og-muted); }
.og-legend-item { display: inline-flex; align-items: center; gap: 7px; }
/* checkout progress: a horizontal pill rail on light pages.
   The dark hero variant (.ox-steps, org-home.css, loaded later) overrides it. */
.og-steps { counter-reset: og-step; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.og-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--og-pill); border: 1px solid var(--og-line-2); background: #fff; color: var(--og-ink-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.og-steps li > span { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--og-tint); color: var(--og-ink); font-size: 12px; }
.og-steps li.is-active { background: var(--og-brass); border-color: var(--og-brass); color: #fff; }
.og-steps li.is-active > span { background: rgba(255,255,255,.22); color: #fff; }
.og-steps li.is-done > span { background: #2bbf8a; color: #fff; }
@media (max-width: 575px) { .og-steps li { padding-right: 8px; font-size: 0; gap: 0; } .og-steps li.is-active { font-size: 13px; gap: 10px; padding-right: 16px; } }
.og-step { counter-increment: og-step; position: relative; padding: 0 0 24px 54px; }
.og-step::before { content: counter(og-step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--og-font-mono); font-size: 13px; color: var(--og-brass-600); border: 1px solid var(--og-line-2); width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.og-step::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 4px; width: 1px; background: var(--og-line); }
.og-step:last-child::after { display: none; }
.og-checklist { list-style: none; margin: 0; padding: 0; }
.og-checklist li { position: relative; padding: 7px 0 7px 30px; color: var(--og-ink-2); }
.og-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 7px; color: var(--og-brass-600); font-weight: 700; }
.og-checklist-light li { color: #cddae6; }
.og-checklist-light li::before { color: var(--og-brass); }
.og-checklist-num { font-family: var(--og-font-mono); color: var(--og-brass-600); margin-right: 8px; }

/* =====================================================================
   9. SECTION SHELLS (public site)
   ===================================================================== */
.og-section { padding: clamp(56px, 7vw, 96px) 0; }
.og-section-tight { padding: clamp(34px, 4vw, 56px) 0; }
.og-section-white { background: var(--og-surface); }
.og-section-sand { background: var(--og-tint); border-top: 1px solid var(--og-line); border-bottom: 1px solid var(--og-line); }
.og-section-tint { background: var(--og-tint); }
.og-section-royal { background: var(--og-ink); color: #E9DED3; }
.og-section-royal h1, .og-section-royal h2, .og-section-royal h3, .og-section-royal h4 { color: #FBF7F2; }
.og-section-royal p { color: #E3D3DC; }
.og-section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.og-section-head h2 { font-size: clamp(1.06rem, 1.98vw, 1.52rem); margin: 10px 0 0; }
.og-bleed { position: relative; }

/* =====================================================================
   14. AUTH
   ===================================================================== */
.og-auth { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
@media (max-width: 991px) { .og-auth { grid-template-columns: 1fr; } }
.og-auth-art { position: relative; background: var(--og-ink); color: #E9DED3; display: flex; align-items: center; padding: clamp(34px, 5vw, 68px); overflow: hidden; }
.og-auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(36,25,31,.5), rgba(7,6,26,.2)); }
@media (max-width: 991px) { .og-auth-art { min-height: 260px; } }
.og-auth-copy { position: relative; z-index: 2; max-width: 460px; }
.og-auth-copy h1 { font-family: var(--og-font-head); font-size: clamp(1.19rem, 2.24vw, 1.78rem); color: #FBF7F2; }
.og-auth-copy p { color: #E3D3DC; }
.og-auth-lead { font-family: var(--og-font-head); font-size: 1.1rem; color: #E3D3DC; }
.og-auth-logo { margin-bottom: 26px; }
.og-auth-logo img { max-height: 46px; width: auto; }
.og-auth-test { list-style: none; margin: 26px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--og-brass); font-family: var(--og-font-ui); color: #E3D3DC; }
.og-auth-test li { padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.og-auth-test li i { color: var(--og-brass); }
.og-auth-pane { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 60px) 20px; background: var(--og-canvas); }
.og-auth-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--og-line); border-top: 3px solid var(--og-ink); padding: clamp(24px, 3vw, 38px); }
.og-auth-card h2 { font-size: 1.6rem; margin: 0 0 4px; }
.og-auth-body { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.og-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.og-auth-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.og-auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--og-line); font-size: 13.5px; color: var(--og-muted); }
.og-auth-note { font-size: 12.5px; color: var(--og-muted); background: var(--og-tint); border: 1px solid var(--og-line); padding: 12px 14px; }
.og-auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--og-muted); margin-bottom: 18px; }

/* =====================================================================
   15. APP SHELL (member area)
   ===================================================================== */
.og-app-shell { display: flex; min-height: 100vh; }
.og-side { width: var(--og-side-w); flex: 0 0 var(--og-side-w); background: var(--og-ink); color: #E3D3DC; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
@media (min-width: 992px) { .og-app.og-side-collapsed .og-side { width: var(--og-side-w-mini); flex-basis: var(--og-side-w-mini); } }
.og-side-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-bottom: 1px solid rgba(245,248,255,.1); }
.og-side-logo { max-height: 36px; }
.og-side-mark { display: none; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--og-brass); color: #fff; font-family: var(--og-font-head); font-weight: 600; }
.og-side-collapse { background: transparent; border: 0; color: #B5A3AD; }
.og-side-nav { flex: 1 1 auto; overflow-y: auto; padding: 14px 0; }
.og-side-nav .page-sidebar-menu { list-style: none; margin: 0; padding: 0; }
.og-side-nav .page-sidebar-menu > li > a { display: flex; align-items: center; gap: 12px; padding: 11px 20px; color: #E3D3DC; font-size: 13.5px; border-left: 3px solid transparent; }
.og-side-nav .page-sidebar-menu > li > a:hover, .og-side-nav .page-sidebar-menu > li.active > a { color: #FBF7F2; background: rgba(246,245,255,.05); border-left-color: var(--og-brass); }

/* member menu: rows, sub-menus, collapsed fly-out */
.og-menu, .og-menu ul { list-style: none; margin: 0; padding: 0; }
.og-menu > li > a { display: flex; align-items: center; gap: 13px; padding: 11px 20px; color: #E3D3DC; font-size: 14px; font-weight: 500; border-left: 3px solid transparent; white-space: nowrap; transition: background .2s var(--og-ease), color .2s var(--og-ease); }
.og-menu > li > a > i { flex: 0 0 22px; width: 22px; text-align: center; color: var(--og-brass); font-size: 15px; }
.og-menu > li > a > .title { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.og-menu > li > a > .arrow { flex: 0 0 auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .55; transition: transform .25s var(--og-ease); }
.og-menu > li.og-empty > a > .arrow { display: none; }
.og-menu > li.open > a > .arrow { transform: rotate(45deg); }
.og-menu > li > a:hover { background: rgba(246,245,255,.06); color: #FBF7F2; }
.og-menu > li.active > a, .og-menu > li.open > a { background: rgba(246,245,255,.08); color: #FBF7F2; font-weight: 600; border-left-color: var(--og-brass); }
.og-menu .sub-menu { display: none; margin: 2px 0 8px 22px; padding: 2px 0 2px 14px; border-left: 1px solid rgba(246,245,255,.16); }
.og-menu > li.open > .sub-menu { display: block; }
.og-menu .sub-menu > li > a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: #BFAFB8; font-size: 13.5px; }
.og-menu .sub-menu > li > a > i { width: 16px; text-align: center; font-size: 11px; color: var(--og-brass); opacity: .85; }
.og-menu .sub-menu > li > a:hover { color: #FBF7F2; background: rgba(246,245,255,.05); }
.og-menu .sub-menu > li.active > a { color: #FBF7F2; font-weight: 600; }

/* collapsed rail (desktop): icon-only with hover fly-out */
@media (min-width: 992px) {
  .og-side-collapsed .og-menu > li > a { justify-content: center; padding: 11px 0; border-left-color: transparent; }
  .og-side-collapsed .og-menu > li > a > .title, .og-side-collapsed .og-menu > li > a > .arrow { display: none; }
  .og-side-collapsed .og-menu > li.active > a { border-left-color: var(--og-brass); }
  .og-side-collapsed .og-menu > li > .sub-menu { display: none !important; }
  .og-side-collapsed .og-side-nav { overflow: visible; }
  .og-side-collapsed .og-menu > li { position: relative; }
  .og-side-collapsed .og-menu > li:hover > .sub-menu { display: block !important; position: absolute; left: calc(100% + 10px); top: 0; min-width: 232px; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--og-line-2); border-top: 3px solid var(--og-brass); box-shadow: var(--og-sh-4); }
  .og-side-collapsed .og-menu > li.og-empty:hover > .sub-menu { display: none !important; }
  .og-side-collapsed .og-menu > li > a::after { content: attr(data-title); position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 6px 12px; background: var(--og-ink); color: #FBF7F2; font-size: 12.5px; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; box-shadow: var(--og-sh-3); }
  .og-side-collapsed .og-menu > li.og-empty > a:hover::after { opacity: 1; visibility: visible; }
}

/* public nav: mobile accordion sub-menus */
@media (max-width: 991px) {
  .og-nav .nav > li > .dropdown-menu { display: none; position: static; float: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; margin: 0; }
  .og-nav .nav > li.og-open > .dropdown-menu { display: block; }
  .og-nav .nav > li.og-open > a { color: #fff; }
  .og-nav .nav > li.og-open > a > .arrow { transform: rotate(45deg); }
  .og-nav .dropdown-menu > li > a { color: #BFAFB8; border-bottom: 1px solid rgba(246,245,255,.06); }
  .og-nav .dropdown-menu > li > a:hover { background: rgba(246,245,255,.06); color: #fff; }
}
.og-side-foot { padding: 16px 20px; border-top: 1px solid rgba(246,245,255,.1); }
.og-help { font-size: 12.5px; color: #B5A3AD; }
.og-help strong { display: block; color: #E3D3DC; margin: 4px 0; }
.og-help small { display: block; margin-bottom: 10px; }
.og-side-overlay { display: none; position: fixed; inset: 0; background: rgba(6,24,46,.5); z-index: 1039; }
.og-app-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.og-appbar { display: flex; align-items: center; gap: 16px; padding: 12px 22px; background: #fff; border-bottom: 1px solid var(--og-line-2); position: sticky; top: 0; z-index: 1030; }
.og-appbar-menu { display: none; width: 40px; height: 40px; border: 1px solid var(--og-line-2); background: #fff; }
.og-appbar-crumbs { flex: 1 1 auto; min-width: 0; }
.og-appbar-right { display: flex; align-items: center; gap: 14px; }
.og-user-btn { display: inline-flex; align-items: center; gap: 9px; background: transparent; border: 0; color: var(--og-ink); }
.og-user-btn img { width: 34px; height: 34px; border-radius: 50%; }
.og-app-content { flex: 1 1 auto; padding: 26px 22px; }
.og-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.og-page-title { font-family: var(--og-font-head); font-size: 1.36rem; font-weight: 600; margin: 0; }
.og-page-title small { display: block; font-family: var(--og-font-ui); font-size: 13.5px; font-weight: 400; color: var(--og-muted); margin-top: 4px; }
.og-app-footer { padding: 16px 22px; border-top: 1px solid var(--og-line); font-size: 12.5px; color: var(--og-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; }
.og-crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--og-muted); }
@media (max-width: 991px) {
  .og-side { position: fixed; left: 0; top: 0; width: min(300px, 86vw); flex-basis: auto; transform: translateX(-100%); transition: transform .24s var(--og-ease); z-index: 1041; }
  .og-app.og-side-open .og-side { transform: none; }
  .og-app.og-side-open .og-side-overlay { display: block; }
  .og-appbar-menu { display: inline-flex; align-items: center; justify-content: center; }
}

/* =====================================================================
   16. MOTION & PRINT
   ===================================================================== */
[data-og-parallax] { will-change: transform; }
.og-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--og-ease), transform .6s var(--og-ease); }
.og-reveal.is-in, .og-reveal.og-in { opacity: 1; transform: none; }
.og-sheen { position: relative; overflow: hidden; }
.og-sheen::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(245,248,255,.28), transparent); transform: skewX(-18deg); transition: left .7s var(--og-ease); }
.og-sheen:hover::after { left: 120%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .og-reveal { opacity: 1; transform: none; }
}
@media print {
  .og-util, .og-masthead, .og-navbar, .og-footer, .og-fab, .og-totop, .og-progress-rail { display: none !important; }
  body { background: #fff; }
}

/* boxed portlets: Metronic paints the box itself — keep it white */
.portlet.box, .portlet.blue, .portlet.green, .portlet.yellow, .portlet.red, .portlet.purple, .portlet.grey-cascade, .portlet.dark { background: #fff !important; }
