/* ==========================================================================
   electronicsohize.com — 2026 homepage theme
   Scoped to body.oh-theme so the older pages (about, contact, terms…) that
   share css/style.css are not affected.
   ========================================================================== */

:root {
  --oh-navy-950: #060E22;
  --oh-navy:     #0A1630;
  --oh-navy-2:   #12234A;
  --oh-navy-3:   #1B3366;
  --oh-blue:     #2F8CFF;
  --oh-cyan:     #7CC8FF;
  --oh-amber:    #FFB020;
  --oh-amber-2:  #FFC85A;
  --oh-paper:    #F2F5FA;
  --oh-paper-2:  #E6ECF5;
  --oh-ink:      #0E1A33;
  --oh-muted:    #50607E;
  --oh-line:     #D3DCEA;
  --oh-on-dark:  #E8EEF8;
  --oh-on-dark-muted: #A5B4CF;

  --oh-font-display: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
  --oh-font-body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --oh-font-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --oh-radius-lg: 18px;
  --oh-radius:    12px;
  --oh-radius-sm: 6px;
  --oh-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- base ---------- */
body.oh-theme {
  font-family: var(--oh-font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--oh-ink);
  background: var(--oh-paper);
  -webkit-font-smoothing: antialiased;
}
.oh-theme h1, .oh-theme h2, .oh-theme h3, .oh-theme h4 {
  font-family: var(--oh-font-display);
  color: inherit;
  margin: 0;
}
.oh-theme p { margin: 0 0 1em; }
.oh-theme a { color: inherit; }
.oh-theme a:hover, .oh-theme a:focus { color: inherit; }
.oh-theme :focus-visible {
  outline: 3px solid var(--oh-amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.oh-theme button { font: inherit; }

.oh-skip {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--oh-amber); color: var(--oh-navy) !important;
  padding: 10px 16px; border-radius: var(--oh-radius-sm); font-weight: 600;
}
.oh-skip:focus { top: 12px; }

.oh-h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: .5em !important;
}
.oh-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.2;
}

.oh-section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.oh-section--paper { background: var(--oh-paper); color: var(--oh-ink); }
.oh-section--dark  { background: var(--oh-navy); color: var(--oh-on-dark); }
.oh-section--navy  { background: var(--oh-navy-2); color: var(--oh-on-dark); }
.oh-section__head { margin-bottom: 36px; max-width: 62ch; }
.oh-section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: end;
}
.oh-section__lede { color: var(--oh-on-dark-muted); max-width: 60ch; }
.oh-section--paper .oh-section__lede { color: var(--oh-muted); }

/* ---------- buttons ---------- */
.oh-btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--oh-font-body);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--oh-ease);
  text-decoration: none !important;
}
.oh-btn:active { transform: translateY(1px); }
.oh-btn--amber { background: var(--oh-amber); color: var(--oh-navy) !important; }
.oh-btn--amber:hover { background: var(--oh-amber-2); }
.oh-btn--ghost { border-color: rgba(232,238,248,.45); color: var(--oh-on-dark) !important; background: transparent; }
.oh-btn--ghost:hover { border-color: var(--oh-cyan); background: rgba(124,200,255,.08); }
.oh-section--paper .oh-btn--ghost { border-color: var(--oh-line); color: var(--oh-ink) !important; }
.oh-btn--navy { background: var(--oh-navy); color: #fff !important; }
.oh-btn--navy:hover { background: var(--oh-navy-3); }
.oh-btn--whatsapp { background: #1FAF38; color: #fff !important; margin-top: 8px; }
.oh-btn--whatsapp:hover { background: #179a2f; }

.oh-textlink {
  font-weight: 600;
  color: var(--oh-navy-3) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px;
  text-decoration-color: var(--oh-amber) !important;
}
.oh-textlink--light { color: var(--oh-on-dark) !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.oh-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% 40%, rgba(47,140,255,.20), transparent 60%),
    linear-gradient(180deg, var(--oh-navy-950) 0%, var(--oh-navy) 100%);
  color: var(--oh-on-dark);
  isolation: isolate;
}
.oh-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.oh-hero__bg::before {             /* oscilloscope graticule */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,200,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,200,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 75% at 60% 45%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 45%, #000 30%, transparent 85%);
}
.oh-pcb { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.oh-pcb .trace { fill: none; stroke: rgba(124,200,255,.13); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.oh-pcb .pad   { fill: var(--oh-navy); stroke: rgba(124,200,255,.25); stroke-width: 1.5; }
.oh-pcb .pulse {
  fill: none; stroke: var(--oh-cyan); stroke-width: 2; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(124,200,255,.9));
  stroke-dasharray: 26 1400;
  animation: oh-pulse 6s linear infinite;
}
.oh-pcb .pulse--amber { stroke: var(--oh-amber); filter: drop-shadow(0 0 4px rgba(255,176,32,.9)); }
@keyframes oh-pulse { from { stroke-dashoffset: 1426; } to { stroke-dashoffset: 0; } }

.oh-hero__glow {
  position: absolute; right: 8%; top: 18%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,140,255,.28), transparent 65%);
  filter: blur(10px);
}

/* nav inside hero (home only) */
.oh-header { position: relative; z-index: 20; }
.oh-home .custom_nav-container { padding: 18px 0 8px; }
.oh-home .navbar-brand span {
  color: #fff; font-family: var(--oh-font-display); font-stretch: 115%;
  font-weight: 800; letter-spacing: .01em; text-transform: none; font-size: 1.25rem;
}
.oh-home .navbar-brand img { background: #fff; border-radius: 50%; padding: 5px; object-fit: contain; box-shadow: 0 0 0 3px rgba(124,200,255,.25); margin-right: 10px; }
.oh-home .custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
  color: var(--oh-on-dark); padding: 10px 16px; font-weight: 500; font-size: .98rem;
}
.oh-home .custom_nav-container.navbar-expand-lg .navbar-nav .nav-link:hover { color: var(--oh-amber); }
.oh-home .nav-resources { margin-top: 0 !important; }
.oh-home .nav-resources > .btn {
  background: transparent; border: 0; color: var(--oh-on-dark);
  font-size: .98rem; font-weight: 500; padding: 10px 16px;
}
.oh-home .nav-resources > .btn:hover { color: var(--oh-amber); }
.oh-home .navbar-nav .nav-item { display: flex; align-items: center; justify-content: center; }
.oh-home .custom_nav-container.navbar-expand-lg .navbar-nav .nav-submit-sim {
  border: 2px solid var(--oh-amber);
  border-radius: 999px;
  color: var(--oh-amber);
  padding: 7px 18px;
  margin: 0 8px;
  font-weight: 600;
}
.oh-home .custom_nav-container.navbar-expand-lg .navbar-nav .nav-submit-sim:hover { background: var(--oh-amber); color: var(--oh-navy); }
.oh-home .custom_nav-container .navbar-toggler { border: 1px solid rgba(232,238,248,.35); padding: 6px 8px; }
.oh-home .custom_nav-container .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E8EEF8' stroke-linecap='round' stroke-width='2.2' d='M5 8h20M5 15h20M5 22h20'/%3e%3c/svg%3e");
  background-size: 100%;
}
.oh-home .dropdown-menu { border-radius: var(--oh-radius); border: 1px solid var(--oh-line); box-shadow: 0 18px 40px rgba(6,14,34,.25); padding: 8px; }
.oh-home .dropdown-item { border-radius: 8px; padding: 9px 14px; font-size: .95rem; }

.oh-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 40px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(120px, 12vw, 170px);
}
.oh-hero__kicker {
  color: var(--oh-cyan);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 18px !important;
}
.oh-hero__title {
  font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.1rem);
  font-weight: 900;
  font-stretch: 116%;
  line-height: .98;
  letter-spacing: -0.03em;
  color: #fff !important;
  max-width: 15ch;
  margin-bottom: 26px !important;
  text-wrap: balance;
}
.oh-hero__lede {
  font-size: 1.15rem;
  color: var(--oh-on-dark-muted);
  max-width: 50ch;
  margin-bottom: 32px !important;
}
.oh-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.oh-hero__buy {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  font-size: .95rem; color: var(--oh-on-dark-muted);
}
.oh-hero__buy strong { color: #fff; font-weight: 600; }
.oh-hero__buy a {
  color: var(--oh-on-dark) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255,176,32,.7) !important;
  text-underline-offset: 4px;
}

/* 3D book */
.oh-hero__stage { display: flex; justify-content: center; perspective: 1600px; }
.oh-book {
  --w: clamp(220px, 24vw, 330px);
  --h: calc(var(--w) * 1.293);
  --d: calc(var(--w) * .15);
  --rx: 6deg; --ry: -32deg;
  position: relative;
  width: var(--w); height: var(--h);
  transform-style: preserve-3d;
}
.oh-book__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--oh-ease);
  animation: oh-book-in 1.4s var(--oh-ease) both;
}
@keyframes oh-book-in {
  from { transform: rotateX(10deg) rotateY(-70deg) translateY(30px); opacity: 0; }
  to   { transform: rotateX(var(--rx)) rotateY(var(--ry)); opacity: 1; }
}
.oh-book__front, .oh-book__back, .oh-book__spine, .oh-book__pages { position: absolute; backface-visibility: hidden; }
.oh-book__front {
  inset: 0;
  transform: translateZ(calc(var(--d) / 2));
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  box-shadow: inset 4px 0 6px rgba(0,0,0,.25);
}
.oh-book__front img, .oh-book__spine img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-book__front::after {           /* gloss sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) 45%, rgba(255,255,255,0) 60%);
  transform: translateX(-120%);
  animation: oh-gloss 1.6s .9s var(--oh-ease) both;
}
@keyframes oh-gloss { to { transform: translateX(120%); } }
.oh-book__spine {
  top: 0; left: 0;
  width: var(--d); height: 100%;
  transform-origin: left center;
  transform: translateX(0) translateZ(calc(var(--d) / 2)) rotateY(-90deg);
  filter: brightness(.82);
}
.oh-book__pages {
  top: 3px; right: 0;
  width: var(--d); height: calc(100% - 6px);
  transform-origin: right center;
  transform: translateZ(calc(var(--d) / 2)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f5f3ee 0 2px, #dcd8cf 2px 3px);
}
.oh-book__back {
  inset: 0; background: var(--oh-navy-3);
  transform: translateZ(calc(var(--d) / -2)) rotateY(180deg);
}
.oh-book__shadow {
  position: absolute; left: 6%; right: -10%; bottom: -46px; height: 40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%);
  filter: blur(6px);
  transform: translateZ(-80px);
}

/* oscilloscope trace along the hero's bottom edge */
.oh-scope { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; }
.oh-scope svg { width: 100%; height: 100%; display: block; }
.oh-scope__trace { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.oh-scope__trace--a {
  stroke: var(--oh-cyan); stroke-width: 2.2;
  filter: drop-shadow(0 0 6px rgba(124,200,255,.85));
  stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000);
  animation: oh-draw 2.4s .4s var(--oh-ease) forwards;
}
.oh-scope__trace--b { stroke: rgba(255,176,32,.55); stroke-width: 1.5; stroke-dasharray: 3 7; }
@keyframes oh-draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   BENTO GRID
   ========================================================================== */
#resources { overflow: hidden; }
#resources::before, #resources::after {   /* coloured light behind the glass */
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
#resources::before { width: 520px; height: 520px; left: -160px; top: 120px; background: rgba(47,140,255,.28); }
#resources::after  { width: 420px; height: 420px; right: -120px; bottom: 60px; background: rgba(255,176,32,.14); }
#resources .container { position: relative; z-index: 1; }

.oh-search { position: relative; }
.oh-search input {
  width: 100%; height: 56px;
  padding: 0 52px 0 50px;
  border-radius: 999px;
  border: 1px solid rgba(124,200,255,.3);
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 1rem;
  transition: border-color .2s, background-color .2s;
}
.oh-search input::placeholder { color: var(--oh-on-dark-muted); }
.oh-search input:focus { outline: none; border-color: var(--oh-amber); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(255,176,32,.18); }
.oh-search__icon { position: absolute; z-index: 2; pointer-events: none; left: 18px; top: 16px; width: 22px; height: 22px; fill: none; stroke: var(--oh-cyan); stroke-width: 2; stroke-linecap: round; }
.oh-search__kbd {
  position: absolute; z-index: 2; right: 16px; top: 15px;
  min-width: 26px; height: 26px; line-height: 24px; text-align: center;
  border-radius: 6px; border: 1px solid rgba(232,238,248,.3);
  color: var(--oh-on-dark-muted); font-family: var(--oh-font-mono); font-size: .8rem; background: transparent; padding: 0;
}
.oh-search__count { margin: 10px 0 0 18px !important; font-size: .9rem; color: var(--oh-on-dark-muted); min-height: 1.4em; }

.oh-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}
.oh-tile {
  position: relative;
  display: flex;
  border-radius: var(--oh-radius-lg);
  background: linear-gradient(155deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
  transition: border-color .25s, transform .3s var(--oh-ease), background-color .25s;
}
.oh-tile:hover, .oh-tile:focus-within {
  border-color: rgba(124,200,255,.55);
  transform: translateY(-3px);
}
.oh-tile.is-feature { grid-column: span 2; grid-row: span 2; }
.oh-tile.is-wide    { grid-column: span 2; }
.oh-tile.is-tall    { grid-row: span 2; }
.oh-tile[hidden] { display: none; }

.oh-tile__glyph {                    /* chapter circuit symbol */
  position: absolute; right: 18px; top: 18px;
  width: 64px; height: 64px;
  fill: none; stroke: rgba(124,200,255,.55); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s, transform .4s var(--oh-ease);
}
.oh-tile__glyph .g-acc  { stroke: var(--oh-amber); }
.oh-tile__glyph .g-fill { fill: rgba(124,200,255,.08); }
.oh-tile:hover .oh-tile__glyph { stroke: var(--oh-cyan); transform: scale(1.04); }
.is-feature .oh-tile__glyph { width: 46%; height: auto; right: 7%; top: 9%; stroke-width: 1.6; stroke: rgba(124,200,255,.5); }
.is-tall .oh-tile__glyph    { width: 62%; height: auto; right: 50%; transform: translateX(50%); top: 42%; stroke-width: 1.8; }
.is-tall:hover .oh-tile__glyph { transform: translateX(50%) scale(1.04); }
.is-wide .oh-tile__glyph    { width: 112px; height: 112px; right: 26px; top: 26px; stroke-width: 1.8; }
.oh-tile:not(.is-feature):not(.is-tall):not(.is-wide) .oh-tile__num,
.oh-tile:not(.is-feature):not(.is-tall):not(.is-wide) .oh-tile__title { padding-right: 68px; }
.is-wide .oh-tile__body > :not(.oh-tile__actions):not(.oh-tags) { padding-right: 130px; }

.oh-tile__body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: 22px 22px 18px;
  width: 100%;
}
.oh-tile__num { font-size: .88rem; color: var(--oh-cyan); font-weight: 500; margin-bottom: 8px !important; }
.oh-tile__title {
  font-size: 1.22rem; font-weight: 700; font-stretch: 106%; line-height: 1.2; color: #fff;
  margin-bottom: 8px !important;
  max-width: 22ch;
}
.is-feature .oh-tile__title { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); font-stretch: 115%; font-weight: 800; max-width: 12ch; margin-top: auto !important; }
.is-feature .oh-tile__num { font-size: 1rem; }
.oh-tile__link {
  color: inherit !important; background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font: inherit; text-decoration: none !important;
}
.oh-tile__link::after { content: ""; position: absolute; inset: 0; z-index: 0; }  /* whole card clickable */
.oh-tile__text { color: var(--oh-on-dark-muted); font-size: .95rem; line-height: 1.5; max-width: 42ch; }
.is-feature .oh-tile__text { font-size: 1.05rem; }
.oh-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 4px 0 0; }
.is-feature .oh-tags { margin-top: 6px; }
.oh-tag {
  font-size: .78rem; font-weight: 500; line-height: 1;
  padding: 6px 10px; border-radius: 999px;
  color: var(--oh-on-dark);
  background: rgba(124,200,255,.12);
  border: 1px solid rgba(124,200,255,.25);
}
.oh-tag--sim { color: #FFD48A; background: rgba(255,176,32,.12); border-color: rgba(255,176,32,.35); }
.oh-tile__actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .9rem;
}
.oh-tile__open { color: var(--oh-on-dark); font-weight: 500; }
.oh-tile:hover .oh-tile__open { color: var(--oh-amber); }
.oh-tile__dl {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(232,238,248,.25);
  color: var(--oh-on-dark) !important; font-weight: 600; font-size: .85rem;
}
.oh-tile__dl:hover { border-color: var(--oh-amber); color: var(--oh-amber) !important; }
.oh-tile__dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oh-tile__admin { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 6px; }
.oh-tile__admin a, .oh-tile__admin button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(6,14,34,.6); color: #fff; }

.oh-tile--tool { background: linear-gradient(155deg, rgba(47,140,255,.16), rgba(47,140,255,.04)); }
.oh-tile__icon { width: 30px; height: 30px; fill: none; stroke: var(--oh-amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.oh-empty {
  margin-top: 8px; padding: 28px; border-radius: var(--oh-radius-lg);
  border: 1px dashed rgba(124,200,255,.35); color: var(--oh-on-dark-muted); text-align: center;
}
.oh-empty strong { color: #fff; }
.oh-empty button { background: none; border: 0; color: var(--oh-amber); text-decoration: underline; padding: 0; cursor: pointer; }
.oh-admin-add { margin-top: 28px; text-align: center; }

/* ==========================================================================
   OHM'S LAW CALCULATOR
   ========================================================================== */
.oh-calc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.oh-calc-intro > p { color: var(--oh-muted); font-size: 1.08rem; max-width: 46ch; }
.oh-circuit { margin: 24px 0 0; max-width: 380px; }
.oh-circuit svg { width: 100%; height: auto; overflow: visible; }
.oh-circuit path { fill: none; stroke: var(--oh-navy-3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.oh-circuit .oh-circuit__res { stroke: var(--oh-blue); }
.oh-circuit__lbl { font-family: var(--oh-font-display); font-weight: 800; font-size: 18px; fill: var(--oh-navy-3); }
.oh-circuit circle { fill: var(--oh-amber); }
.oh-circuit figcaption { font-size: .9rem; color: var(--oh-muted); margin-top: 6px; }

.oh-meter {
  background: linear-gradient(180deg, var(--oh-navy-2), var(--oh-navy));
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(10,22,48,.55), inset 0 1px 0 rgba(255,255,255,.08);
  color: var(--oh-on-dark);
  border: 1px solid var(--oh-navy-3);
}
.oh-meter__screen {
  background: #0F2A1F;
  background: linear-gradient(180deg, #0B2333, #081A27);
  border-radius: 14px;
  padding: 18px 20px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(124,200,255,.2);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.5);
  min-height: 132px;
}
.oh-meter__eq {
  font-family: var(--oh-font-mono); font-weight: 500;
  font-size: clamp(1.15rem, .9rem + 1vw, 1.6rem);
  color: var(--oh-cyan);
  text-shadow: 0 0 10px rgba(124,200,255,.45);
  margin-bottom: 10px !important;
  word-break: break-word;
}
.oh-meter__power { font-family: var(--oh-font-mono); color: var(--oh-amber); margin: 0 !important; font-size: 1.05rem; }
.oh-meter__power span { color: var(--oh-on-dark-muted); font-family: var(--oh-font-body); font-size: .9rem; margin-right: 6px; }
.oh-meter__warn { margin: 8px 0 0 !important; font-size: .88rem; color: #FFD48A; }

.oh-meter__row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) 5.2rem;
  gap: 10px; align-items: center;
  padding: 8px 0;
}
.oh-meter__row label { margin: 0; font-weight: 500; color: var(--oh-on-dark); }
.oh-meter__row abbr { text-decoration: none; border: 0; color: var(--oh-on-dark-muted); font-family: var(--oh-font-mono); margin-left: 4px; }
.oh-meter__row input, .oh-meter__row select {
  height: 50px; border-radius: 12px;
  border: 1px solid rgba(124,200,255,.28);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: var(--oh-font-mono); font-size: 1.1rem;
  padding: 0 14px; width: 100%;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.oh-meter__row select { font-family: var(--oh-font-body); font-size: 1rem; padding: 0 8px; cursor: pointer; }
.oh-meter__row select option { color: var(--oh-ink); }
.oh-meter__row input::placeholder { color: rgba(165,180,207,.6); }
.oh-meter__row input:focus, .oh-meter__row select:focus { outline: none; border-color: var(--oh-amber); box-shadow: 0 0 0 3px rgba(255,176,32,.25); }
.oh-meter__row.is-solved input {
  border-color: var(--oh-amber); background: rgba(255,176,32,.12); color: var(--oh-amber-2);
}
.oh-meter__row.is-solved label::after { content: "solved"; display: inline-block; margin: 4px 0 0;  font-size: .75rem; color: var(--oh-navy); background: var(--oh-amber); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.oh-meter__row.is-invalid input { border-color: #FF7A7A; }
.oh-meter__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; }
.oh-meter__hint { margin: 0 !important; font-size: .9rem; color: var(--oh-on-dark-muted); }
.oh-meter__clear {
  background: transparent; border: 1px solid rgba(232,238,248,.3); color: var(--oh-on-dark);
  border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 600;
}
.oh-meter__clear:hover { border-color: var(--oh-amber); color: var(--oh-amber); }

/* ==========================================================================
   BOOKS + COMING SOON
   ========================================================================== */
.oh-books { padding-top: 0; }
.oh-feature-book {
  border-top: 1px solid var(--oh-line);
  padding-top: clamp(56px, 7vw, 96px);
}
.oh-feature-book__copy { max-width: 70ch; }
.oh-feature-book__copy p { color: var(--oh-muted); font-size: 1.08rem; }
.oh-feature-book__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }

.oh-soon { margin-top: clamp(56px, 7vw, 88px); }
.oh-soon .oh-h3 { margin-bottom: 26px !important; }
.oh-soon__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px);
}
.oh-soon__item figure { margin: 0; }
.oh-soon__cover {
  position: relative; border-radius: 6px 10px 10px 6px; overflow: hidden;
  aspect-ratio: 5 / 9;
  background: var(--oh-navy);
  box-shadow: 0 24px 40px -18px rgba(10,22,48,.6);
  animation: oh-soon-flash 2.4s ease-in-out infinite;
}
.oh-soon__item:nth-child(2) .oh-soon__cover { animation-delay: .8s; }
.oh-soon__item:nth-child(3) .oh-soon__cover { animation-delay: 1.6s; }
.oh-soon__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-soon__cover::after {          /* flash sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: oh-soon-sweep 2.4s ease-in-out infinite;
  animation-delay: inherit;
}
.oh-soon__badge {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--oh-amber); color: var(--oh-navy);
  font-weight: 700; font-size: .9rem;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255,176,32,.7);
  animation: oh-badge-blink 1.2s steps(1, end) infinite, oh-badge-ring 2.4s ease-out infinite;
  z-index: 2;
}
.oh-soon__item:nth-child(2) .oh-soon__badge { animation-delay: .4s, .8s; }
.oh-soon__item:nth-child(3) .oh-soon__badge { animation-delay: .8s, 1.6s; }
.oh-soon figcaption { margin-top: 16px; font-size: .92rem; color: var(--oh-muted); line-height: 1.45; }
.oh-soon figcaption strong { display: block; color: var(--oh-ink); font-size: 1rem; margin-bottom: 4px; font-weight: 600; }

@keyframes oh-soon-flash {
  0%, 100% { box-shadow: 0 24px 40px -18px rgba(10,22,48,.6), 0 0 0 0 rgba(255,176,32,0); filter: brightness(1); }
  50%      { box-shadow: 0 24px 40px -18px rgba(10,22,48,.6), 0 0 0 6px rgba(255,176,32,.55), 0 0 36px 6px rgba(255,176,32,.35); filter: brightness(1.12); }
}
@keyframes oh-soon-sweep { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }
@keyframes oh-badge-blink { 0%, 100% { background: var(--oh-amber); } 50% { background: #fff; } }
@keyframes oh-badge-ring { 0% { box-shadow: 0 0 0 0 rgba(255,176,32,.7); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255,176,32,0); } }

/* ==========================================================================
   AUTHOR
   ========================================================================== */
.oh-author { overflow: hidden; }
.oh-author::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,200,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,200,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.oh-author__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.oh-author__photo { position: relative; }
.oh-author__photo img {
  width: 100%; height: auto; display: block;
  border-radius: var(--oh-radius-lg);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
}
.oh-author__photo::after {          /* offset frame, like a PCB silkscreen outline */
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--oh-amber); border-radius: var(--oh-radius-lg);
  z-index: -1;
}
.oh-author__grid > .oh-author__photo { z-index: 0; isolation: isolate; }
.oh-author__name { font-family: var(--oh-font-display); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 800; font-stretch: 110%; color: #fff; margin-bottom: 4px !important; line-height: 1.15; }
.oh-author__role { color: var(--oh-amber-2); font-weight: 500; margin-bottom: 20px !important; max-width: 52ch; }
.oh-author__copy > p:not([class]) { color: var(--oh-on-dark-muted); max-width: 60ch; }
.oh-spec { margin: 26px 0 30px; border-top: 1px solid rgba(124,200,255,.2); }
.oh-spec > div {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(124,200,255,.2);
}
.oh-spec dt { color: var(--oh-on-dark-muted); font-weight: 500; }
.oh-spec dd { margin: 0; color: #fff; }
.oh-author__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.oh-quotes .oh-h2 { margin-bottom: 36px !important; }
.oh-quote { margin: 0; max-width: 72ch; }
.oh-quote p {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  line-height: 1.6;
  color: var(--oh-ink);
  border-left: 4px solid var(--oh-amber);
  padding-left: 24px;
}
.oh-quote footer { padding-left: 28px; margin-top: 18px; }
.oh-quote cite { display: block; font-style: normal; font-weight: 700; font-family: var(--oh-font-display); font-stretch: 108%; font-size: 1.1rem; }
.oh-quote footer span { color: var(--oh-muted); font-size: .95rem; }
.oh-quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.oh-quotes__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--oh-line); font-size: 1.6rem; line-height: 1; color: var(--oh-ink) !important;
  background: #fff;
}
.oh-quotes__btn:hover { border-color: var(--oh-navy-3); }
.oh-quotes__dots { position: static; margin: 0; justify-content: flex-start; }
.oh-quotes__dots li { width: 10px; height: 10px; border-radius: 50%; background: var(--oh-line); border: 0; margin: 0 4px; opacity: 1; }
.oh-quotes__dots li.active { background: var(--oh-navy-3); }

/* ==========================================================================
   CONTACT + FORMS (shared with submit-simulation page)
   ========================================================================== */
.oh-contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.oh-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(124,200,255,.2);
  border-radius: var(--oh-radius-lg);
  padding: clamp(20px, 3vw, 32px);
}
.oh-field { margin-bottom: 18px; }
.oh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.oh-field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.oh-field .oh-help { display: block; font-size: .85rem; color: var(--oh-on-dark-muted); margin-top: 6px; }
.oh-field input, .oh-field textarea, .oh-field select {
  width: 100%; min-height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(124,200,255,.28);
  background: rgba(255,255,255,.06);
  color: #fff; font-size: 1rem; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.oh-field textarea { resize: vertical; }
.oh-field input:focus, .oh-field textarea:focus, .oh-field select:focus { outline: none; border-color: var(--oh-amber); box-shadow: 0 0 0 3px rgba(255,176,32,.22); }
.oh-field.has-error input { border-color: #FF8A8A; }
.oh-field .oh-err { display: block; color: #FFB4B4; font-size: .88rem; margin-top: 6px; }
.oh-flash { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.oh-flash--ok  { background: rgba(31,175,56,.16); border: 1px solid rgba(31,175,56,.5); color: #BFF5C9; }
.oh-flash--err { background: rgba(255,90,90,.14); border: 1px solid rgba(255,90,90,.45); color: #FFD0D0; }

/* partners, map, footer */
.oh-partners { background: #fff; padding: 36px 0; border-top: 1px solid var(--oh-line); }
.oh-partners .container { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 6vw, 72px); flex-wrap: wrap; }
.oh-partners p { margin: 0 !important; color: var(--oh-muted); font-weight: 500; }
.oh-partners img { height: 64px; width: auto; object-fit: contain; }
.oh-map iframe { display: block; filter: saturate(.85); }

.oh-theme .info_section { background: var(--oh-navy-950); color: var(--oh-on-dark-muted); padding: 64px 0; }
.oh-theme .info_section h5 { color: #fff; font-family: var(--oh-font-display); font-weight: 700; font-stretch: 108%; font-size: 1.15rem; }
.oh-theme .info_section .oh-footer__photo { display: block; width: 200px; height: auto; aspect-ratio: 448 / 528; object-fit: cover; border-radius: var(--oh-radius); margin: 4px 0 18px; }
.oh-theme .info_section .oh-footer__name { color: #fff; font-weight: 600; margin-bottom: 8px !important; }
.oh-theme .oh-spec dd a { color: var(--oh-amber-2) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.oh-theme .info_section a { color: var(--oh-on-dark) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.oh-theme .info_section .social-box a { text-decoration: none !important; display: inline-block; background: #fff; border-radius: 8px; padding: 4px; margin-right: 6px; }
.oh-theme .info_section .social-box img { width: 28px; margin: 0; }
.oh-theme .footer_section { background: var(--oh-navy-950); border-top: 1px solid rgba(124,200,255,.12); font-family: var(--oh-font-body); }
.oh-theme .footer_section p, .oh-theme .footer_section a { color: var(--oh-on-dark-muted) !important; font-size: .9rem; }

/* modals keep Bootstrap look but pick up the type */
.oh-theme .modal-content { border-radius: var(--oh-radius-lg); border: 0; }
.oh-theme .modal-title { font-family: var(--oh-font-display); font-weight: 700; }


/* ==========================================================================
   SUBMIT SIMULATION + ADMIN LIST
   ========================================================================== */
.oh-hero--compact { min-height: 100vh; padding-bottom: 80px; }
.oh-sim__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
  padding-top: clamp(32px, 5vw, 64px);
}
.oh-sim__title {
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem);
  font-weight: 900; font-stretch: 116%; letter-spacing: -0.025em; line-height: 1.02;
  color: #fff !important; margin-bottom: 20px !important; max-width: 14ch;
}
.oh-sim__intro > p { color: var(--oh-on-dark-muted); max-width: 50ch; }
.oh-sim__checklist { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid rgba(124,200,255,.2); }
.oh-sim__checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(124,200,255,.2); position: relative; color: var(--oh-on-dark-muted); }
.oh-sim__checklist li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--oh-amber); box-shadow: 0 0 0 4px rgba(255,176,32,.2);
}
.oh-sim__checklist strong { color: #fff; font-weight: 600; }
.oh-sim__note { font-size: .95rem; }
.oh-sim__card {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(124,200,255,.22);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 24px; padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.oh-sim__form { background: none; border: 0; padding: 0; }
.oh-label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.oh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oh-field .oh-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; min-height: 150px; padding: 22px; margin: 0;
  border: 2px dashed rgba(124,200,255,.4); border-radius: 16px;
  background: rgba(124,200,255,.05); text-align: center; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.oh-drop:hover, .oh-drop.is-over { border-color: var(--oh-amber); background: rgba(255,176,32,.08); }
.oh-drop.has-file { border-style: solid; border-color: var(--oh-cyan); }
.oh-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.oh-drop input:focus-visible + svg { outline: 3px solid var(--oh-amber); outline-offset: 6px; border-radius: 6px; }
.oh-drop svg { width: 34px; height: 34px; fill: none; stroke: var(--oh-amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oh-drop__main { color: #fff; font-weight: 500; word-break: break-all; }
.oh-drop__hint { font-size: .88rem; color: var(--oh-on-dark-muted); }
.has-error .oh-drop { border-color: #FF8A8A; }
.oh-progress { margin: 4px 0 18px; }
.oh-progress__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.oh-progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--oh-blue), var(--oh-cyan)); transition: width .2s; }
.oh-progress p { margin: 8px 0 0 !important; font-size: .9rem; color: var(--oh-on-dark-muted); }
.oh-sim__submit { width: 100%; justify-content: center; font-size: 1.05rem; }
.oh-sim__submit[disabled] { opacity: .7; cursor: progress; }
.oh-sim__done { text-align: center; outline: none; }
.oh-sim__done > svg { width: 60px; height: 60px; fill: none; stroke: var(--oh-amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.oh-sim__done h2 { font-size: 1.7rem; font-weight: 800; font-stretch: 112%; color: #fff; margin-bottom: 12px !important; }
.oh-sim__done > p { color: var(--oh-on-dark-muted); margin-bottom: 4px !important; }
.oh-sim__ref { font-family: var(--oh-font-mono); font-size: 2rem; color: var(--oh-amber) !important; letter-spacing: .06em; margin-bottom: 20px !important; }
.oh-sim__summary { text-align: left; margin: 0 0 24px; border-top: 1px solid rgba(124,200,255,.2); }
.oh-sim__summary > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(124,200,255,.2); font-size: .95rem; }
.oh-sim__summary dt { color: var(--oh-on-dark-muted); font-weight: 500; }
.oh-sim__summary dd { margin: 0; color: #fff; word-break: break-word; }
.oh-sim__done-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }

.oh-admin { padding-top: 40px; color: var(--oh-on-dark); }
.oh-admin__filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.oh-admin__filters select, .oh-admin__filters input {
  min-height: 48px; border-radius: 12px; border: 1px solid rgba(124,200,255,.3);
  background: rgba(255,255,255,.06); color: #fff; padding: 0 14px; font-size: 1rem;
}
.oh-admin__filters input { flex: 1 1 260px; }
.oh-admin__filters select option { color: var(--oh-ink); }
.oh-admin__count { color: var(--oh-on-dark-muted); }
.oh-admin__table { overflow-x: auto; border: 1px solid rgba(124,200,255,.2); border-radius: var(--oh-radius-lg); }
.oh-admin__table table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: .95rem; }
.oh-admin__table th, .oh-admin__table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(124,200,255,.15); }
.oh-admin__table th { color: var(--oh-on-dark-muted); font-weight: 500; background: rgba(255,255,255,.04); }
.oh-admin__table small { color: var(--oh-on-dark-muted); }

@media (max-width: 991.98px) {
  .oh-sim__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .oh-sim__summary > div { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .oh-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .oh-home .navbar-collapse {
    background: rgba(6,14,34,.96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(124,200,255,.2);
    border-radius: var(--oh-radius-lg);
    margin-top: 12px; padding: 12px;
  }
  .oh-home .navbar-nav { width: 100%; }
  .oh-home .custom_nav-container.navbar-expand-lg .navbar-nav .nav-submit-sim { margin: 8px auto; }
  .oh-hero__body { grid-template-columns: 1fr; text-align: left; gap: 56px; }
  .oh-hero__stage { order: -1; padding-top: 8px; }
  .oh-book { --w: clamp(150px, 36vw, 230px); }
  .oh-section__head--split { grid-template-columns: 1fr; }
  .oh-calc-wrap, .oh-author__grid, .oh-contact__grid { grid-template-columns: 1fr; }
  .oh-author__photo { max-width: 420px; }
  .oh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  body.oh-theme { font-size: 16px; }
  .oh-hero__title { max-width: none; }
  .oh-hero__ctas .oh-btn { flex: 1 1 auto; justify-content: center; }
  .oh-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .oh-tile.is-feature, .oh-tile.is-wide, .oh-tile.is-tall { grid-column: auto; grid-row: auto; }
  .oh-tile.is-feature { min-height: 320px; }
  .oh-soon__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .oh-soon__badge { font-size: .7rem; padding: 5px 9px; top: 8px; }
  .oh-soon figcaption { font-size: .8rem; }
  .oh-soon figcaption strong { font-size: .85rem; }
  .oh-meter { padding: 16px; border-radius: 20px; }
  .oh-meter__row { grid-template-columns: minmax(0, 1fr) 5rem; }
  .oh-meter__row label { grid-column: 1 / -1; }
  .oh-field-row { grid-template-columns: 1fr; gap: 0; }
  .oh-spec > div { grid-template-columns: 1fr; gap: 2px; }
  .oh-author__photo::after { inset: 12px -12px -12px 12px; }
}
@media (max-width: 479.98px) {
  .oh-soon__list { grid-template-columns: 1fr 1fr; }
  .oh-soon__item:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .oh-theme *, .oh-theme *::before, .oh-theme *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .oh-pcb .pulse { display: none; }
  .oh-scope__trace--a { stroke-dashoffset: 0; }
  .oh-soon__cover { box-shadow: 0 24px 40px -18px rgba(10,22,48,.6), 0 0 0 4px rgba(255,176,32,.6); }
}


/* ==========================================================================
   LOGIN
   ========================================================================== */
.oh-auth__grid { align-items: center; padding-bottom: 40px; }
.oh-auth__card { max-width: 520px; width: 100%; justify-self: end; }
.oh-pass { position: relative; }
.oh-pass input { padding-right: 84px !important; }
.oh-pass__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(232,238,248,.25); background: transparent;
  color: var(--oh-on-dark); font-size: .88rem; font-weight: 600; cursor: pointer;
}
.oh-pass__toggle:hover { border-color: var(--oh-amber); color: var(--oh-amber); }
.oh-auth__alt { margin: 22px 0 6px !important; text-align: center; color: var(--oh-on-dark-muted); }
.oh-auth__help { margin: 0 !important; text-align: center; font-size: .9rem; color: var(--oh-on-dark-muted); }
.oh-auth .oh-sim__done h2 { margin-bottom: 10px !important; }
.oh-auth .oh-sim__done p { color: var(--oh-on-dark-muted); margin-bottom: 22px !important; }
.oh-auth .oh-sim__done strong { color: #fff; }
@media (max-width: 991.98px) {
  .oh-auth__grid { gap: 20px; }
  .oh-auth__grid > .oh-sim__intro { display: contents; }   /* let heading, form, notes reorder */
  .oh-auth__grid .oh-sim__title { order: -3; font-size: 2.2rem; margin: 0 !important; }
  .oh-auth__grid .oh-sim__intro > p:first-of-type { order: -2; margin: 0 !important; }
  .oh-auth__card { justify-self: stretch; max-width: none; order: -1; }
}


.oh-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.oh-label-row label { margin: 0 !important; }
.oh-forgot { font-size: .9rem; font-weight: 500; color: var(--oh-cyan) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.oh-forgot:hover { color: var(--oh-amber) !important; }
.oh-auth__who { color: #fff; word-break: break-all; }


/* ==========================================================================
   INNER PAGES (about, contact)
   ========================================================================== */
.oh-hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.oh-page__head { padding-top: clamp(32px, 5vw, 64px); position: relative; }
.oh-page__title {
  font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4rem);
  font-weight: 900; font-stretch: 116%; letter-spacing: -0.03em; line-height: 1;
  color: #fff !important; max-width: 16ch; margin-bottom: 18px !important;
}
.oh-page__lede { color: var(--oh-on-dark-muted); font-size: 1.12rem; max-width: 56ch; margin: 0 !important; }
.oh-page__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.oh-page__jump a {
  padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(232,238,248,.3);
  color: var(--oh-on-dark) !important; font-weight: 500; font-size: .95rem;
}
.oh-page__jump a:hover { border-color: var(--oh-amber); color: var(--oh-amber) !important; }

.oh-aboutbook__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.oh-aboutbook__copy p { color: var(--oh-muted); max-width: 68ch; }
.oh-aboutbook__sub { color: var(--oh-navy-3) !important; font-weight: 500; margin-bottom: 22px !important; }
.oh-aboutbook__stage { position: sticky; top: 40px; display: flex; justify-content: center; perspective: 1600px; padding: 40px 0 70px; }
.oh-aboutbook .oh-book__shadow { background: radial-gradient(ellipse at center, rgba(10,22,48,.35), transparent 70%); }

.oh-contact__info .oh-btn--whatsapp { margin-top: 4px; }
.oh-contact__list { margin-top: 0; }
.oh-contact__list > div { grid-template-columns: 8.5rem minmax(0, 1fr); }
.oh-contact__list a { color: #fff !important; text-decoration: underline !important; text-decoration-color: rgba(255,176,32,.6) !important; text-underline-offset: 4px; }
.oh-contact__list a:hover { color: var(--oh-amber) !important; }
.oh-form__title { font-size: 1.35rem; font-weight: 700; font-stretch: 108%; color: #fff; margin-bottom: 18px !important; }

@media (max-width: 991.98px) {
  .oh-aboutbook__grid { grid-template-columns: 1fr; }
  .oh-aboutbook__stage { position: static; order: -1; padding: 10px 0 50px; }
}
@media (max-width: 767.98px) {
  .oh-contact__list > div { grid-template-columns: 1fr; }
}

/* hide the "/" shortcut hint once the student is typing */
.oh-search input:not(:placeholder-shown) ~ .oh-search__kbd { display: none; }

/* about page: keep the portrait at the top beside the long biography */
.oh-page .oh-author__grid { align-items: start; }
@media (min-width: 992px) { .oh-page .oh-author__photo { position: sticky; top: 32px; } }

/* register: wider card for two-column rows */
.oh-auth__grid--wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.oh-auth__grid--wide .oh-auth__card { max-width: 640px; }
@media (max-width: 991.98px) { .oh-auth__grid--wide { grid-template-columns: 1fr; } }

/* ==========================================================================
   CHAPTER PAGE (content_details.php)
   ========================================================================== */
.oh-hero--chapter { padding-bottom: 40px; }
.oh-crumbs { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--oh-on-dark-muted); margin-bottom: 14px; }
.oh-crumbs a { color: var(--oh-cyan) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.oh-chapter__title { max-width: 24ch; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
.oh-chapter__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.oh-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px;
  border-radius: 999px; background: rgba(124,200,255,.18); color: #fff; font-size: .85rem; font-weight: 600;
}
.oh-count--dark { background: var(--oh-paper-2); color: var(--oh-navy-3); font-family: var(--oh-font-body); font-size: 1rem; vertical-align: middle; height: 32px; min-width: 32px; }
.oh-chapter__missing { font-size: 1.15rem; color: var(--oh-muted); }

.oh-viewer-wrap { background: var(--oh-navy); padding: 8px 0 56px; }
.oh-viewer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
.oh-viewer { border-radius: var(--oh-radius-lg); overflow: hidden; border: 1px solid rgba(124,200,255,.22); background: var(--oh-navy-2); }
.oh-viewer__stage {
  position: relative; min-height: 320px; padding: 18px;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(rgba(124,200,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,200,255,.05) 1px, transparent 1px), #0D1E3D;
  background-size: 32px 32px;
  outline: none;
}
.oh-viewer__stage:focus-visible { box-shadow: inset 0 0 0 3px var(--oh-amber); }
.oh-viewer__stage canvas { display: block; max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.oh-viewer__stage canvas.is-ready { opacity: 1; }
.oh-viewer__status { position: absolute; inset: auto 0 50% 0; text-align: center; color: var(--oh-on-dark-muted); margin: 0 !important; padding: 0 20px; }
.oh-viewer__edge {
  position: absolute; top: 0; bottom: 0; width: 18%; border: 0; background: transparent;
  color: transparent; font-size: 3rem; cursor: pointer; transition: color .2s, background .2s;
}
.oh-viewer__edge--prev { left: 0; } .oh-viewer__edge--next { right: 0; }
.oh-viewer__edge:hover:not([disabled]) { color: #fff; background: linear-gradient(90deg, rgba(6,14,34,.45), transparent); }
.oh-viewer__edge--next:hover:not([disabled]) { background: linear-gradient(270deg, rgba(6,14,34,.45), transparent); }
.oh-viewer__edge[disabled] { cursor: default; }
.oh-viewer__stage:fullscreen { padding: 0; background: #060E22; }
.oh-viewer__stage:fullscreen canvas { box-shadow: none; border-radius: 0; }
.oh-viewer__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 14px; border-top: 1px solid rgba(124,200,255,.18); color: var(--oh-on-dark);
}
.oh-viewer__spacer { flex: 1; }
.oh-vbtn {
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(232,238,248,.28);
  background: transparent; color: var(--oh-on-dark) !important; font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; cursor: pointer; text-decoration: none !important;
}
.oh-vbtn:hover:not([disabled]) { border-color: var(--oh-amber); color: var(--oh-amber) !important; }
.oh-vbtn[disabled] { opacity: .4; cursor: default; }
.oh-viewer__goto { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; color: var(--oh-on-dark-muted); }
.oh-viewer__goto label { margin: 0; }
.oh-viewer__goto input {
  width: 64px; height: 42px; border-radius: 10px; border: 1px solid rgba(124,200,255,.3);
  background: rgba(255,255,255,.06); color: #fff; text-align: center; font-family: var(--oh-font-mono); font-size: 1rem;
}
.oh-viewer__goto input:focus { outline: none; border-color: var(--oh-amber); }

.oh-chapters { position: sticky; top: 20px; background: var(--oh-navy-2); border: 1px solid rgba(124,200,255,.18); border-radius: var(--oh-radius-lg); padding: 16px 10px 10px; max-height: calc(100vh - 40px); overflow: auto; }
.oh-chapters .oh-chapters__title { font-size: 1rem; font-weight: 700; color: #fff; padding: 0 10px; margin-bottom: 8px !important; }
.oh-chapters__list { list-style: none; margin: 0; padding: 0; }
.oh-chapters__list a {
  display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px;
  color: var(--oh-on-dark-muted) !important; font-size: .93rem; line-height: 1.3;
}
.oh-chapters__list a:hover { background: rgba(124,200,255,.08); color: #fff !important; }
.oh-chapters__list a.is-current { background: rgba(255,176,32,.12); color: #fff !important; }
.oh-chapters__no {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(124,200,255,.35); color: var(--oh-cyan); font-weight: 600; font-size: .85rem;
}
.oh-chapters__list a.is-current .oh-chapters__no { background: var(--oh-amber); border-color: var(--oh-amber); color: var(--oh-navy); }

.oh-chapter__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.oh-pager {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--oh-radius);
  border: 1px solid rgba(124,200,255,.22); color: var(--oh-on-dark) !important;
}
.oh-pager span { font-size: .85rem; color: var(--oh-on-dark-muted); }
.oh-pager strong { font-weight: 600; color: #fff; }
.oh-pager--prev span::before { content: "‹ "; }
.oh-pager--next { text-align: right; grid-column: 2; }
.oh-pager--next span::after { content: " ›"; }
.oh-pager:hover { border-color: var(--oh-amber); }

/* discussion */
.oh-discuss__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.oh-comments { list-style: none; margin: 8px 0 20px; padding: 0; }
.oh-comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--oh-line); }
.oh-comment__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--oh-navy-3); color: #fff; font-weight: 700; font-family: var(--oh-font-display);
}
.oh-comment__body { min-width: 0; flex: 1; }
.oh-comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px !important; }
.oh-comment__head strong { color: var(--oh-ink); }
.oh-comment__head time { color: var(--oh-muted); font-size: .88rem; }
.oh-comment__text { margin: 0 !important; color: var(--oh-ink); white-space: pre-line; overflow-wrap: anywhere; }
.oh-comment__del { margin-left: auto; background: none; border: 0; color: #B3261E; font-size: .85rem; font-weight: 600; cursor: pointer; padding: 2px 4px; }
.oh-comment__del.is-confirm { background: #B3261E; color: #fff; border-radius: 6px; padding: 2px 8px; }
.oh-comments__empty { color: var(--oh-muted); }
.oh-discuss__form { position: sticky; top: 24px; background: #fff; border: 1px solid var(--oh-line); border-radius: var(--oh-radius-lg); padding: clamp(20px, 3vw, 28px); }
.oh-discuss__form .oh-h3 { margin-bottom: 6px !important; }
.oh-discuss__as { color: var(--oh-muted); font-size: .95rem; }
.oh-discuss__form textarea {
  width: 100%; border: 1px solid var(--oh-line); border-radius: 12px; padding: 12px 14px; font-size: 1rem; resize: vertical;
  color: var(--oh-ink); background: var(--oh-paper);
}
.oh-discuss__form textarea:focus { outline: none; border-color: var(--oh-blue); box-shadow: 0 0 0 3px rgba(47,140,255,.18); }
.oh-discuss__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.oh-discuss__chars { color: var(--oh-muted); font-size: .85rem; }
.oh-discuss__err { color: #B3261E; margin: 10px 0 0 !important; font-size: .95rem; }
.oh-discuss__login p { color: var(--oh-muted); }
.oh-discuss__login { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ==========================================================================
   TERMS PAGE
   ========================================================================== */
.oh-legal__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.oh-legal__toc { position: sticky; top: 24px; }
.oh-legal__toc-title { font-weight: 600; color: var(--oh-ink); margin-bottom: 8px !important; }
.oh-legal__toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--oh-line); }
.oh-legal__toc a { display: block; padding: 7px 14px; color: var(--oh-muted) !important; margin-left: -2px; border-left: 2px solid transparent; }
.oh-legal__toc a:hover { color: var(--oh-navy-3) !important; border-left-color: var(--oh-amber); }
.oh-legal__body { max-width: 70ch; }
.oh-legal__body section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--oh-line); scroll-margin-top: 20px; }
.oh-legal__body h2 { font-size: 1.45rem; font-weight: 700; font-stretch: 108%; margin-bottom: 12px !important; color: var(--oh-ink); }
.oh-legal__body p, .oh-legal__body li { color: #33415E; }
.oh-legal__body ul { padding-left: 1.2em; margin: 0; }
.oh-legal__body li { margin-bottom: 8px; }
.oh-legal__body li::marker { color: var(--oh-amber); }
.oh-legal__body a { color: var(--oh-navy-3) !important; text-decoration: underline !important; text-decoration-color: var(--oh-amber) !important; text-underline-offset: 3px; }
.oh-legal__addr { margin: 12px 0 0; }
.oh-legal__addr > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; padding: 8px 0; }
.oh-legal__addr dt { color: var(--oh-muted); font-weight: 500; }
.oh-legal__addr dd { margin: 0; color: var(--oh-ink); }
.oh-legal__thanks { font-weight: 500; color: var(--oh-ink) !important; }

@media (max-width: 991.98px) {
  .oh-viewer-grid, .oh-discuss__grid, .oh-legal__grid { grid-template-columns: 1fr; }
  .oh-chapters { position: static; max-height: none; }
  .oh-discuss__form { position: static; order: -1; }
  .oh-legal__toc { position: static; }
  .oh-legal__toc ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .oh-legal__toc a { border: 1px solid var(--oh-line); border-radius: 999px; padding: 6px 12px; margin: 0; font-size: .9rem; }
}
@media (max-width: 767.98px) {
  .oh-viewer-wrap .container { padding-left: 0; padding-right: 0; }
  .oh-viewer { border-radius: 0; border-left: 0; border-right: 0; }
  .oh-viewer__stage { padding: 10px; min-height: 200px; }
  .oh-viewer__bar { gap: 8px; }
  .oh-viewer__bar .oh-viewer__spacer { display: none; }
  .oh-chapters, .oh-chapter__pager { margin-left: 15px; margin-right: 15px; }
  .oh-chapter__pager { grid-template-columns: 1fr; }
  .oh-pager--next { grid-column: auto; }
  .oh-legal__addr > div { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   DOWNLOAD RESOURCES + UPLOAD MODALS (all pages)
   ========================================================================== */
.oh-theme .oh-resmodal .modal-content { border: 0; border-radius: var(--oh-radius-lg); overflow: hidden; }
.oh-theme .oh-resmodal .modal-header { align-items: flex-start; padding: 22px 26px 16px; border-bottom: 1px solid var(--oh-line); }
.oh-theme .oh-resmodal .modal-title { font-size: 1.4rem; font-weight: 800; font-stretch: 110%; color: var(--oh-ink); }
.oh-resmodal__sub { margin: 4px 0 0 !important; color: var(--oh-muted); font-size: .95rem; }
.oh-theme .oh-resmodal .modal-body { padding: 8px 26px 22px; }
.oh-resmodal__group { margin: 18px 0 6px; font-size: .95rem; font-weight: 600; color: var(--oh-navy-3); font-family: var(--oh-font-body); }
.oh-resmodal__list { list-style: none; margin: 0; padding: 0; }
.oh-resmodal__item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--oh-line); }
.oh-resmodal__item:last-child { border-bottom: 0; }
.oh-resmodal__type {
  flex: none; min-width: 74px; text-align: center; padding: 5px 8px; border-radius: 8px;
  background: var(--oh-paper-2); color: var(--oh-navy-3); font-size: .78rem; font-weight: 600;
}
.oh-resmodal__name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oh-resmodal__name a { color: var(--oh-ink) !important; font-weight: 500; overflow-wrap: anywhere; }
.oh-resmodal__name a:hover { color: var(--oh-navy-3) !important; text-decoration: underline !important; }
.oh-resmodal__name small { color: var(--oh-muted); }
.oh-resmodal__dl {
  flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--oh-line);
  color: var(--oh-navy-3) !important; font-weight: 600; font-size: .88rem;
}
.oh-resmodal__dl:hover { border-color: var(--oh-amber); background: #FFF6E3; }
.oh-resmodal__del { flex: none; background: none; border: 0; color: #B3261E; font-weight: 600; font-size: .85rem; cursor: pointer; }
.oh-resmodal__del.is-confirm { background: #B3261E; color: #fff; border-radius: 6px; padding: 4px 8px; }
.oh-resmodal__empty { color: var(--oh-muted); padding: 10px 14px; background: var(--oh-paper); border-radius: 10px; margin: 6px 0 0 !important; }
.oh-theme .oh-resmodal .modal-footer { padding: 14px 26px; border-top: 1px solid var(--oh-line); }
.oh-resform__field { margin: 14px 0; }
.oh-resform__field label { display: block; font-weight: 600; color: var(--oh-ink); margin-bottom: 6px; }
.oh-resform__field input[type=text], .oh-resform__field input[type=file] {
  width: 100%; border: 1px solid var(--oh-line); border-radius: 10px; padding: 10px 12px; background: var(--oh-paper); color: var(--oh-ink);
}
.oh-resform__field input:focus { outline: none; border-color: var(--oh-blue); box-shadow: 0 0 0 3px rgba(47,140,255,.18); }
.oh-resform__field small { display: block; margin-top: 6px; color: var(--oh-muted); }
.oh-resform__progress { height: 8px; border-radius: 999px; background: var(--oh-paper-2); overflow: hidden; }
.oh-resform__progress span { display: block; height: 100%; width: 0; background: var(--oh-blue); transition: width .2s; }
.oh-resform__msg { margin: 12px 0 0 !important; color: #B3261E; }
.oh-resform__msg.is-ok { color: #1E7B34; }
.oh-resform__cancel { background: none; border: 0; color: var(--oh-muted); font-weight: 600; cursor: pointer; margin-right: 8px; }
@media (max-width: 575.98px) {
  .oh-resmodal__item { flex-wrap: wrap; }
  .oh-resmodal__type { min-width: 0; }
  .oh-resmodal__name { flex-basis: calc(100% - 100px); }
  .oh-resmodal__dl { margin-left: auto; }
}

/* ==========================================================================
   ADMIN DASHBOARD (admin.php)
   ========================================================================== */
.oh-adm__hero { padding-bottom: 36px; }
.oh-adm__head .oh-page__title { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 8px !important; }
.oh-adm__wrap { background: var(--oh-paper); padding: 32px 0 80px; min-height: 60vh; }
.oh-adm__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.oh-adm__nav { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--oh-line); border-radius: var(--oh-radius-lg); padding: 10px; }
.oh-adm__nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--oh-ink) !important; font-weight: 500; }
.oh-adm__nav a:hover { background: var(--oh-paper); }
.oh-adm__nav a.is-current { background: var(--oh-navy); color: #fff !important; }
.oh-adm__navcount { font-size: .8rem; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--oh-paper-2); color: var(--oh-navy-3); font-weight: 600; }
.oh-adm__nav a.is-current .oh-adm__navcount { background: var(--oh-amber); color: var(--oh-navy); }
.oh-adm__main { min-width: 0; }
.oh-adm__h { font-size: 1.6rem; font-weight: 800; font-stretch: 110%; color: var(--oh-ink); margin: 0 0 16px !important; }
.oh-adm__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.oh-adm__bar .oh-adm__h { margin: 0 !important; }
.oh-adm__intro, .oh-adm__count { color: var(--oh-muted); max-width: 72ch; margin: 6px 0 16px !important; }
.oh-adm__empty { color: var(--oh-muted); background: #fff; border: 1px dashed var(--oh-line); border-radius: var(--oh-radius); padding: 18px 20px; }
.oh-adm__flash { padding: 12px 16px; border-radius: 10px; font-weight: 500; margin-bottom: 18px !important; }
.oh-adm__flash--ok  { background: #E7F6EA; border: 1px solid #9FD5AA; color: #1E5E2C; }
.oh-adm__flash--err { background: #FDECEC; border: 1px solid #F2B1AE; color: #8C1D18; }

.oh-adm__stats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.oh-adm__stats a { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--oh-line); border-radius: var(--oh-radius-lg); padding: 18px 20px; color: var(--oh-ink) !important; height: 100%; }
.oh-adm__stats a:hover { border-color: var(--oh-navy-3); }
.oh-adm__statnum { font-family: var(--oh-font-display); font-size: 2.2rem; font-weight: 800; font-stretch: 112%; line-height: 1.05; }
.oh-adm__statlabel { font-weight: 600; color: var(--oh-navy-3); }
.oh-adm__statnote { font-size: .85rem; color: var(--oh-muted); }

.oh-adm__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.oh-adm__panel { background: #fff; border: 1px solid var(--oh-line); border-radius: var(--oh-radius-lg); padding: 20px 22px; margin-bottom: 16px; }
.oh-adm__panel h3 { font-size: 1.1rem; font-weight: 700; color: var(--oh-ink); display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px !important; }
.oh-adm__panel h3 a { font-family: var(--oh-font-body); font-size: .9rem; font-weight: 600; color: var(--oh-navy-3) !important; text-decoration: underline !important; }
.oh-adm__panel .oh-adm__empty { border: 0; padding: 0; }
.oh-adm__feed { list-style: none; padding: 0; margin: 0; }
.oh-adm__feed li { padding: 10px 0; border-bottom: 1px solid var(--oh-line); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.oh-adm__feed li:last-child { border-bottom: 0; }
.oh-adm__feed span, .oh-adm__feed time { color: var(--oh-muted); font-size: .9rem; }
.oh-adm__feed time { margin-left: auto; }
.oh-adm__feed q { flex-basis: 100%; color: var(--oh-ink); font-size: .95rem; quotes: "“" "”"; }
.oh-adm__checks { list-style: none; padding: 0; margin: 0; }
.oh-adm__checks li { display: flex; gap: 12px; padding: 9px 0; color: var(--oh-ink); }
.oh-adm__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: #2E9E48; }
.oh-adm__checks li.is-warn .oh-adm__dot { background: var(--oh-amber); }
.oh-adm__checks li.is-bad .oh-adm__dot { background: #D93025; }
.oh-adm__checks li.is-bad { font-weight: 600; color: #8C1D18; }

.oh-adm__table { background: #fff; border: 1px solid var(--oh-line); border-radius: var(--oh-radius-lg); overflow-x: auto; }
.oh-adm__table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 680px; }
.oh-adm__table th { text-align: left; font-weight: 600; color: var(--oh-muted); font-size: .85rem; padding: 12px 16px; background: var(--oh-paper); border-bottom: 1px solid var(--oh-line); }
.oh-adm__table td { padding: 12px 16px; border-bottom: 1px solid var(--oh-line); vertical-align: top; color: var(--oh-ink); }
.oh-adm__table tr:last-child td { border-bottom: 0; }
.oh-adm__table small { color: var(--oh-muted); }
.oh-adm__table a { color: var(--oh-navy-3) !important; text-decoration: underline !important; text-underline-offset: 2px; }
.oh-adm__no { font-family: var(--oh-font-display); font-weight: 800; font-size: 1.1rem; color: var(--oh-navy-3); }
.oh-adm__rowact { text-align: right; width: 1%; }
.oh-adm__acts { display: flex; justify-content: flex-end; align-items: center; gap: 6px 16px; white-space: nowrap; }
.oh-adm__acts--stack { flex-direction: column; align-items: flex-end; }
.oh-adm__acts form { margin: 0; }
.oh-adm__del, .oh-adm__link { background: none; border: 0; padding: 0; font-weight: 600; font-size: .92rem; cursor: pointer; }
.oh-adm__del { color: #B3261E; }
.oh-adm__link { color: var(--oh-navy-3); text-decoration: underline; text-underline-offset: 2px; }
.oh-adm__del.is-armed, .oh-adm__link.is-armed, .oh-resmodal__del.is-confirm { background: #B3261E; color: #fff; border-radius: 6px; padding: 4px 8px; text-decoration: none; }
.oh-adm__link.is-armed { background: var(--oh-navy); }
.oh-adm__bad { color: #B3261E; font-weight: 600; }
.oh-adm__you { font-size: .75rem; background: var(--oh-amber); color: var(--oh-navy); padding: 1px 8px; border-radius: 999px; font-weight: 700; vertical-align: 2px; }
.oh-adm__role { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.oh-adm__role--admin { background: var(--oh-navy); color: #fff; }
.oh-adm__role--user { background: var(--oh-paper-2); color: var(--oh-navy-3); }

.oh-adm__filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 6px; }
.oh-adm__filters select, .oh-adm__filters input[type=search] {
  min-height: 46px; border: 1px solid var(--oh-line); border-radius: 12px; background: #fff; color: var(--oh-ink); padding: 0 14px; font-size: .98rem;
}
.oh-adm__filters input[type=search] { flex: 1 1 240px; }
.oh-adm__filters select:focus, .oh-adm__filters input:focus { outline: none; border-color: var(--oh-blue); box-shadow: 0 0 0 3px rgba(47,140,255,.18); }
.oh-adm__filters .oh-btn { min-height: 46px; padding: 8px 20px; }
.oh-adm__check { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--oh-ink); font-weight: 500; }
.oh-adm__cancel { color: var(--oh-muted) !important; font-weight: 600; text-decoration: underline !important; }
.oh-adm__exports { display: flex; flex-wrap: wrap; gap: 10px; }
.oh-adm__ghost { border-color: var(--oh-line) !important; color: var(--oh-ink) !important; background: #fff !important; }
.oh-adm__exports [aria-disabled="true"] { opacity: .45; pointer-events: none; }

.oh-adm__form label { display: block; font-weight: 600; color: var(--oh-ink); margin: 0 0 14px; }
.oh-adm__form input[type=text], .oh-adm__form input:not([type]), .oh-adm__form textarea, .oh-adm__form input[type=file] {
  display: block; width: 100%; margin-top: 6px; border: 1px solid var(--oh-line); border-radius: 10px; padding: 10px 12px;
  background: var(--oh-paper); color: var(--oh-ink); font-weight: 400; font-size: 1rem;
}
.oh-adm__form input:focus, .oh-adm__form textarea:focus { outline: none; border-color: var(--oh-blue); box-shadow: 0 0 0 3px rgba(47,140,255,.18); }
.oh-adm__form small { display: block; margin-top: 6px; color: var(--oh-muted); font-weight: 400; }
.oh-adm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oh-adm__actions { display: flex; align-items: center; gap: 18px; }
.oh-adm__inlineerr { color: #B3261E; font-weight: 500; }

.oh-adm__comments { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--oh-line); border-radius: var(--oh-radius-lg); }
.oh-adm__comments li { padding: 14px 20px; border-bottom: 1px solid var(--oh-line); }
.oh-adm__comments li:last-child { border-bottom: 0; }
.oh-adm__chead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.oh-adm__chead span, .oh-adm__chead time { color: var(--oh-muted); font-size: .9rem; }
.oh-adm__chead a { color: var(--oh-navy-3) !important; text-decoration: underline !important; }
.oh-adm__chead form { margin: 0 0 0 auto; }
.oh-adm__comments p { margin: 6px 0 0 !important; color: var(--oh-ink); overflow-wrap: anywhere; }

@media (max-width: 991.98px) {
  .oh-adm__grid { grid-template-columns: 1fr; gap: 18px; }
  .oh-adm__nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; }
  .oh-adm__nav a { flex: none; gap: 8px; }
  .oh-adm__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-adm__two { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .oh-adm__row { grid-template-columns: 1fr; gap: 0; }
  .oh-adm__statnum { font-size: 1.8rem; }
}
/* let long emails and file names wrap so the action column always fits */
.oh-adm__table td { overflow-wrap: anywhere; }
.oh-adm__table td.oh-adm__rowact { overflow-wrap: normal; }
.oh-adm__role, .oh-adm__you { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
