/* LorexaGOG UI enhancement patch
   Scope: business footer + interactive map presentation only.
*/
:root {
  --lxg-ui-accent: var(--bs-primary, #3b82f6);
  --lxg-ui-footer-bg: #07111f;
  --lxg-ui-footer-panel: rgba(255,255,255,.055);
  --lxg-ui-footer-border: rgba(255,255,255,.12);
  --lxg-ui-footer-text: #f5f7fb;
  --lxg-ui-footer-muted: #aeb9ca;
}

.lxg-business-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  background:
    radial-gradient(circle at 8% 8%, rgba(59,130,246,.17), transparent 32%),
    radial-gradient(circle at 92% 28%, rgba(255,255,255,.07), transparent 26%),
    linear-gradient(145deg, #07111f 0%, #0a1729 52%, #091322 100%);
  color: var(--lxg-ui-footer-text);
  border-top: 1px solid rgba(255,255,255,.1);
}

.lxg-business-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 74%);
}

.lxg-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 26px;
}

.lxg-footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 36px;
  align-items: start;
}

.lxg-footer-brandmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.lxg-footer-brandmark::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lxg-ui-accent);
  box-shadow: 0 0 0 7px rgba(59,130,246,.14);
}

.lxg-footer-intro {
  max-width: 390px;
  margin: 0 0 22px;
  color: var(--lxg-ui-footer-muted);
  line-height: 1.75;
  font-size: .96rem;
}

.lxg-footer-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--lxg-ui-footer-border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #e6edf7;
  font-size: .82rem;
  font-weight: 700;
}

.lxg-footer-trust-pill::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,.15);
  color: #86efac;
  font-size: .76rem;
}

.lxg-footer-heading {
  margin: 2px 0 15px;
  color: #fff;
  font-size: .79rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.lxg-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lxg-footer-list li {
  position: relative;
  padding: 6px 0 6px 14px;
  color: var(--lxg-ui-footer-muted);
  line-height: 1.45;
  font-size: .9rem;
}

.lxg-footer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
}

.lxg-footer-business-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 38px 0 22px;
  overflow: hidden;
  border: 1px solid var(--lxg-ui-footer-border);
  border-radius: 14px;
  background: var(--lxg-ui-footer-border);
}

.lxg-footer-business-item {
  background: rgba(5,14,26,.88);
  padding: 18px 20px;
}

.lxg-footer-business-item strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
  font-size: .91rem;
}

.lxg-footer-business-item span {
  color: var(--lxg-ui-footer-muted);
  font-size: .82rem;
  line-height: 1.55;
}

.lxg-footer-disclaimer {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  border: 1px solid var(--lxg-ui-footer-border);
  border-radius: 14px;
  background: var(--lxg-ui-footer-panel);
  color: var(--lxg-ui-footer-muted);
  font-size: .79rem;
  line-height: 1.65;
}

.lxg-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--lxg-ui-footer-border);
  color: #8996a9;
  font-size: .78rem;
}

.lxg-footer-bottom strong {
  color: #dfe7f2;
}

/* Map enhancement shell */
.lxg-map-enhanced {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  border-radius: max(14px, inherit);
  box-shadow:
    0 16px 46px rgba(15,23,42,.13),
    inset 0 0 0 1px rgba(15,23,42,.06);
  touch-action: none;
  cursor: grab;
}

.lxg-map-enhanced.lxg-map-dragging {
  cursor: grabbing;
}

.lxg-map-enhanced::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  box-shadow: inset 0 0 45px rgba(15,23,42,.055);
}

.lxg-map-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform .18s ease-out;
}

.lxg-map-dragging .lxg-map-stage {
  transition: none;
}

.lxg-map-toolbar {
  position: absolute;
  z-index: 30;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lxg-map-control {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: #162033;
  box-shadow: 0 7px 20px rgba(15,23,42,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 800 20px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.lxg-map-control:hover {
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 10px 25px rgba(15,23,42,.2);
  background: #fff;
}

.lxg-map-control:active {
  transform: translateY(0) scale(.97);
}

.lxg-map-control svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lxg-map-hint {
  position: absolute;
  z-index: 25;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #263449;
  box-shadow: 0 7px 20px rgba(15,23,42,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 700 12px/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.lxg-map-hint::before {
  content: "↔";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lxg-ui-accent);
  color: #fff;
  font-size: 12px;
}

.lxg-map-hint.lxg-map-hint-hidden {
  opacity: 0;
  transform: translateY(5px);
}

.lxg-map-enhanced img,
.lxg-map-enhanced svg,
.lxg-map-enhanced canvas {
  user-select: none;
  -webkit-user-drag: none;
}

/* Give common map markers a little more life without changing data */
.lxg-map-enhanced [class*="marker"],
.lxg-map-enhanced [class*="pin"],
.lxg-map-enhanced [class*="dot"] {
  transition: filter .18s ease, opacity .18s ease;
}

.lxg-map-enhanced [class*="marker"]:hover,
.lxg-map-enhanced [class*="pin"]:hover,
.lxg-map-enhanced [class*="dot"]:hover {
  filter: brightness(1.07) drop-shadow(0 5px 8px rgba(15,23,42,.18));
}

@media (max-width: 900px) {
  .lxg-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .lxg-footer-brand {
    grid-column: 1 / -1;
  }
  .lxg-footer-business-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lxg-business-footer {
    margin-top: 52px;
  }
  .lxg-footer-inner {
    width: min(100% - 28px, 1180px);
    padding-top: 44px;
  }
  .lxg-footer-top {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .lxg-footer-brand {
    grid-column: auto;
  }
  .lxg-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .lxg-map-toolbar {
    top: 11px;
    right: 11px;
  }
  .lxg-map-control {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }
  .lxg-map-hint {
    left: 11px;
    bottom: 11px;
    max-width: calc(100% - 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lxg-map-stage,
  .lxg-map-control,
  .lxg-map-hint,
  .lxg-map-enhanced [class*="marker"],
  .lxg-map-enhanced [class*="pin"],
  .lxg-map-enhanced [class*="dot"] {
    transition: none !important;
  }
}

/* ============================================================
   Lorexa v35 · member workspace, introductions and security UX
   ============================================================ */

.member-menu-link {
    position: relative;
}

.member-nav-badge {
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #1f1d18;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.member-menu-link.active .member-nav-badge {
    background: #9a7018;
}

.member-dashboard,
.introductions-page,
.verification-status-page {
    padding: 38px 0 84px;
}

.member-dashboard-hero,
.introductions-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 32px;
    margin-bottom: 18px;
    border: 1px solid #ddd5c2;
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 8%, rgba(204,160,54,.18), transparent 26%),
        linear-gradient(145deg, #fffefb, #f8f3e8);
    box-shadow: 0 18px 45px rgba(31,27,18,.06);
}

.member-dashboard-hero h1,
.introductions-hero h1,
.verification-status-card h1 {
    margin: 5px 0 0;
    color: #1f1d18;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -.055em;
}

.member-dashboard-hero p,
.introductions-hero p {
    max-width: 750px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.member-dashboard-actions {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.dashboard-kpi {
    position: relative;
    overflow: hidden;
    min-height: 142px;
    padding: 20px;
    border: 1px solid #e0d8c5;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(31,27,18,.045);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.dashboard-kpi::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, #d1a33a, #8f6716);
    opacity: .35;
}

.dashboard-kpi:hover {
    transform: translateY(-2px);
    border-color: #ccb777;
    box-shadow: 0 16px 34px rgba(31,27,18,.075);
}

.dashboard-kpi > span,
.dashboard-kpi > strong,
.dashboard-kpi > small {
    display: block;
}

.dashboard-kpi > span {
    color: #756e60;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .065em;
}

.dashboard-kpi > strong {
    margin: 12px 0 6px;
    color: #1f1d18;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.045em;
}

.dashboard-kpi > small {
    color: #847d70;
    font-size: 12px;
    line-height: 1.45;
}

.dashboard-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-work-card {
    min-height: 245px;
    padding: 24px;
    border: 1px solid #dfd6c1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31,27,18,.045);
}

.dashboard-verification-card {
    background:
        radial-gradient(circle at 100% 0, rgba(208,164,56,.15), transparent 30%),
        #fff;
}

.dashboard-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-card-head h2,
.dashboard-progress-copy h2 {
    margin: 5px 0 0;
    color: #242119;
    font-size: 22px;
    letter-spacing: -.035em;
}

.dashboard-work-card > p {
    min-height: 68px;
    margin: 24px 0 18px;
    color: #6d665a;
    font-size: 14px;
    line-height: 1.65;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1eee6;
    color: #615b50;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-status.good {
    background: #e8f4ea;
    color: #28633a;
}

.dashboard-status.pending {
    background: #fff4d6;
    color: #815b0a;
}

.dashboard-status.warning {
    background: #fae8e4;
    color: #8f392d;
}

.dashboard-mini-count {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #f8f1df;
    color: #7e5a11;
    font-weight: 850;
}

.dashboard-reference,
.verification-meeting-box {
    padding: 12px 14px;
    margin: -4px 0 15px;
    border: 1px solid #e3d6ae;
    border-radius: 10px;
    background: #fffbf0;
    color: #5b4a24;
    font-size: 12px;
    line-height: 1.5;
}

.dashboard-text-action {
    color: #7f5b12;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-text-action:hover {
    text-decoration: underline;
}

.dashboard-progress-card {
    display: grid;
    grid-template-columns: minmax(210px, .7fr) minmax(0, 2fr);
    gap: 28px;
    padding: 26px;
    border: 1px solid #ddd5c2;
    border-radius: 18px;
    background: #191814;
    color: #fff;
}

.dashboard-progress-copy h2 {
    color: #fff;
}

.dashboard-progress-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.dashboard-progress-steps a {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: #fff;
    text-decoration: none;
}

.dashboard-progress-steps a > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #e7dfcf;
    font-size: 11px;
    font-weight: 850;
}

.dashboard-progress-steps a.is-complete > span {
    border-color: #c99a31;
    background: #c99a31;
    color: #201b12;
}

.dashboard-progress-steps a.is-current {
    border-color: rgba(208,164,56,.7);
    background: rgba(208,164,56,.09);
}

.dashboard-progress-steps strong,
.dashboard-progress-steps small {
    display: block;
}

.dashboard-progress-steps strong {
    margin-bottom: 4px;
    font-size: 13px;
}

.dashboard-progress-steps small {
    color: #aaa394;
    font-size: 10px;
    line-height: 1.4;
}

/* Introductions */
.introduction-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    margin: 0 0 16px;
    border-radius: 11px;
    background: #1d1b17;
}

.introduction-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 8px;
    color: #d9d3c7;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.introduction-tabs a span {
    min-width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 10px;
}

.introduction-tabs a.active {
    background: #d1a036;
    color: #231e15;
}

.introduction-tabs a.active span {
    background: rgba(35,30,21,.12);
}

.introduction-list {
    display: grid;
    gap: 14px;
}

.introduction-card {
    overflow: hidden;
    padding: 24px;
    border: 1px solid #ded5c1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(31,27,18,.05);
}

.introduction-card.pending {
    border-left: 4px solid #c9972b;
}

.introduction-card.active {
    border-left: 4px solid #4d8a5e;
}

.introduction-card.closed {
    border-left: 4px solid #a6a096;
}

.introduction-card-top,
.introduction-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.introduction-card-top > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.introduction-status {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}

.introduction-status.pending {
    background: #fff2ce;
    color: #7d590a;
}

.introduction-status.active {
    background: #e5f2e8;
    color: #2b633b;
}

.introduction-status.closed {
    background: #efede8;
    color: #655f55;
}

.introduction-route {
    display: grid;
    grid-template-columns: minmax(0,1fr) 160px minmax(0,1fr);
    align-items: center;
    gap: 20px;
    margin: 24px 0;
    padding: 18px;
    border-radius: 14px;
    background: #f8f5ee;
}

.introduction-party {
    display: flex;
    align-items: center;
    gap: 12px;
}

.introduction-party > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid #e0d7c3;
    border-radius: 11px;
    background: #fff;
    font-size: 23px;
}

.introduction-party div small,
.introduction-party div strong {
    display: block;
}

.introduction-party div small {
    margin-bottom: 3px;
    color: #857e70;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.introduction-party.is-you div small {
    color: #856111;
}

.introduction-lorexa {
    position: relative;
    text-align: center;
}

.introduction-lorexa::before,
.introduction-lorexa::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 44px;
    height: 1px;
    background: #cdb472;
}

.introduction-lorexa::before { right: calc(50% + 27px); }
.introduction-lorexa::after { left: calc(50% + 27px); }

.introduction-lorexa > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 5px;
    border-radius: 50%;
    background: #1e1c17;
    color: #d4a235;
    font-weight: 900;
}

.introduction-lorexa small {
    color: #81796b;
    font-size: 10px;
    font-weight: 800;
}

.introduction-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.introduction-detail-grid > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e7e0d2;
    border-radius: 11px;
    background: #fffdfa;
}

.introduction-detail-grid span,
.introduction-detail-grid strong,
.introduction-detail-grid small,
.introduction-detail-grid a {
    display: block;
}

.introduction-detail-grid span {
    margin-bottom: 7px;
    color: #8a8274;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.introduction-detail-grid strong {
    overflow: hidden;
    margin-bottom: 5px;
    color: #2b2822;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
}

.introduction-detail-grid small {
    color: #777064;
    font-size: 10px;
}

.introduction-detail-grid a {
    margin-top: 7px;
    color: #865f11;
    text-decoration: none;
    font-size: 10px;
    font-weight: 850;
}

.introduction-card-footer {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #ebe4d7;
}

.introduction-card-footer p {
    max-width: 820px;
    margin: 0;
    color: #6e675a;
    font-size: 12px;
    line-height: 1.6;
}

.introductions-empty {
    padding: 64px 24px;
    border: 1px solid #e0d7c5;
    border-radius: 17px;
    background: #fff;
    text-align: center;
}

.introductions-empty.compact {
    padding: 32px;
}

/* Verification */
.verification-status-page {
    max-width: 980px;
}

.verification-status-card {
    padding: 30px;
    border: 1px solid #ddd5c2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(31,27,18,.055);
}

.verification-status-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.verification-timeline {
    display: grid;
    gap: 10px;
    margin: 26px 0;
}

.verification-timeline > div {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 13px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid #e6dfd1;
    border-radius: 12px;
    background: #fbfaf7;
}

.verification-timeline > div > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid #d7cebc;
    border-radius: 50%;
    color: #7e776a;
    font-size: 11px;
    font-weight: 900;
}

.verification-timeline > div.is-complete > span {
    border-color: #4f8c60;
    background: #e7f3e9;
    color: #2e6840;
}

.verification-timeline > div.is-current {
    border-color: #d9bd75;
    background: #fffaf0;
}

.verification-timeline > div.is-current > span {
    border-color: #c9952c;
    background: #f7e6b8;
    color: #6f4d08;
}

.verification-timeline strong,
.verification-timeline small {
    display: block;
}

.verification-timeline strong {
    margin-bottom: 3px;
    color: #29261f;
    font-size: 13px;
}

.verification-timeline small {
    color: #777064;
    font-size: 11px;
    line-height: 1.45;
}

.verification-meeting-box {
    margin: 0 0 18px;
}

.verification-meeting-box strong,
.verification-meeting-box p {
    display: block;
    margin: 0;
}

.verification-meeting-box p {
    margin-top: 5px;
}

/* Messages read-state */
.messages-stat-strip {
    grid-template-columns: repeat(4, minmax(92px, 1fr));
}

.conversation-inbox-row.is-unread {
    background: #fffaf0;
    box-shadow: inset 4px 0 0 #d1a036;
}

.conversation-inbox-row.is-unread .conversation-last-message {
    color: #373229;
    font-weight: 720;
}

.conversation-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #d2a138;
    color: #241f16;
    font-size: 10px;
    font-weight: 900;
}

/* Renewals */
.opportunity-renew-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.opportunity-renew-form select {
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid #d9d1c0;
    border-radius: 8px;
    background: #fff;
    color: #3e392f;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}

/* Admin scheduling */
.admin-verification-actions {
    min-width: 330px;
}

.admin-schedule-form {
    display: grid;
    grid-template-columns: minmax(145px, .8fr) minmax(180px, 1.2fr) auto;
    gap: 7px;
    align-items: end;
    margin-bottom: 9px;
}

.admin-schedule-form label > span {
    display: block;
    margin-bottom: 4px;
    color: #777064;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.admin-schedule-form input {
    width: 100%;
    min-height: 35px;
    padding: 6px 8px;
    border: 1px solid #ddd5c4;
    border-radius: 8px;
    background: #fff;
    color: #302c25;
    font: inherit;
    font-size: 10px;
}

.admin-match-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 1120px) {
    .dashboard-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-work-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-work-grid > :last-child {
        grid-column: 1 / -1;
    }

    .dashboard-progress-card {
        grid-template-columns: 1fr;
    }

    .introduction-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-schedule-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .member-dashboard,
    .introductions-page,
    .verification-status-page {
        width: min(100% - 24px, 1320px);
        padding-top: 24px;
    }

    .member-dashboard-hero,
    .introductions-hero,
    .verification-status-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-dashboard-hero,
    .introductions-hero,
    .verification-status-card {
        padding: 21px;
        border-radius: 15px;
    }

    .member-dashboard-actions {
        width: 100%;
        flex-direction: column;
    }

    .member-dashboard-actions .btn,
    .introductions-hero .btn {
        width: 100%;
    }

    .dashboard-kpi-grid,
    .dashboard-work-grid,
    .introduction-detail-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-work-grid > :last-child {
        grid-column: auto;
    }

    .dashboard-progress-steps {
        grid-template-columns: 1fr;
    }

    .dashboard-progress-steps a {
        display: grid;
        grid-template-columns: 32px minmax(0,1fr);
        gap: 0 10px;
        align-items: center;
    }

    .dashboard-progress-steps a > span {
        grid-row: 1 / 3;
        margin: 0;
    }

    .introduction-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .introduction-tabs a {
        flex: 0 0 auto;
    }

    .introduction-card {
        padding: 18px;
    }

    .introduction-card-top,
    .introduction-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .introduction-route {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .introduction-lorexa {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .introduction-lorexa::before,
    .introduction-lorexa::after {
        display: none;
    }

    .introduction-lorexa > span {
        margin: 0;
    }

    .messages-stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-verification-actions {
        min-width: 0;
    }

    .admin-match-actions {
        grid-template-columns: 1fr;
    }
}

.admin-password-shell {
    display: grid;
    place-items: start center;
    padding-top: 48px;
    padding-bottom: 80px;
}

.admin-password-card {
    width: min(100%, 620px);
}

.admin-password-card .field small {
    display: block;
    margin-top: 6px;
    color: #7a7366;
    font-size: 10px;
    line-height: 1.45;
}

/* v35 public trust and operating model */
.home-process-section,
.home-markets-section {
    padding: 82px 0;
    background: #f8f4ea;
}

.home-section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.home-section-heading h2,
.home-verification-grid h2 {
    margin: 10px 0 12px;
    color: #1e1c18;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(31px, 3.4vw, 49px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -.03em;
}

.home-section-heading p {
    max-width: 680px;
    margin: 0;
    color: #716a5d;
    font-size: 14px;
    line-height: 1.75;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-process-card {
    position: relative;
    min-height: 245px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid #ded6c5;
    border-radius: 18px;
    background: rgba(255,255,255,.76);
}

.home-process-number {
    display: inline-flex;
    margin-bottom: 48px;
    color: #b78928;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.home-process-card h3,
.home-markets-grid h3 {
    margin: 0 0 10px;
    color: #27231d;
    font-size: 18px;
    line-height: 1.2;
}

.home-process-card p,
.home-markets-grid p {
    margin: 0;
    color: #746d60;
    font-size: 12px;
    line-height: 1.7;
}

.home-process-card::after {
    content: '';
    position: absolute;
    right: -28px;
    top: -28px;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(186,143,48,.22);
    border-radius: 50%;
}

.home-verification-section {
    padding: 80px 0;
    background: #1d1b18;
    color: #f6f0e4;
}

.home-verification-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: start;
}

.home-verification-section .eyebrow {
    color: #d7ad54;
}

.home-verification-grid h2 {
    color: #fffaf0;
}

.home-verification-copy > p {
    margin: 0 0 24px;
    color: #d4ccbd;
    font-size: 14px;
    line-height: 1.8;
}

.home-verification-points {
    display: grid;
    gap: 9px;
    margin-bottom: 24px;
}

.home-verification-points span {
    position: relative;
    padding: 12px 14px 12px 38px;
    border: 1px solid rgba(226,195,126,.17);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    color: #f4ebda;
    font-size: 11px;
    font-weight: 750;
}

.home-verification-points span::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 11px;
    color: #d8aa49;
    font-weight: 900;
}

.home-verification-copy small {
    display: block;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #918a7e;
    font-size: 10px;
    line-height: 1.65;
}

.home-markets-section {
    background: #fffdf8;
}

.home-markets-heading {
    max-width: 810px;
}

.home-markets-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #ddd5c5;
    border-bottom: 1px solid #ddd5c5;
}

.home-markets-grid article {
    min-height: 205px;
    padding: 25px 24px;
    border-right: 1px solid #ddd5c5;
}

.home-markets-grid article:last-child {
    border-right: 0;
}

.home-markets-grid article > span {
    display: block;
    margin-bottom: 52px;
    color: #ad8129;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.home-markets-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
}

.home-markets-cta p {
    max-width: 650px;
    margin: 0;
    color: #746d60;
    font-size: 12px;
    line-height: 1.6;
}

/* Member account security */
.account-security-page {
    min-height: 70vh;
    background: #f8f4ea;
}

.account-security-shell {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
    padding: 42px 0 78px;
}

.account-security-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}

.account-security-head h1 {
    margin: 8px 0 8px;
    color: #24211c;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.05;
}

.account-security-head p {
    max-width: 630px;
    margin: 0;
    color: #756e62;
    font-size: 12px;
    line-height: 1.65;
}

.account-security-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 16px;
}

.account-summary-card,
.account-password-card {
    padding: 26px;
    border: 1px solid #ddd5c4;
    border-radius: 16px;
    background: #fffdf9;
}

.account-summary-card h2,
.account-password-card h2 {
    margin: 7px 0 8px;
    color: #28241e;
    font-size: 21px;
}

.account-password-card > p {
    margin: 0 0 20px;
    color: #766f63;
    font-size: 11px;
    line-height: 1.55;
}

.account-summary-list {
    display: grid;
    margin: 22px 0;
}

.account-summary-list div {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #eee8dc;
}

.account-summary-list dt {
    color: #8a8275;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.account-summary-list dd {
    margin: 0;
    color: #353027;
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.account-security-note {
    margin: 0;
    color: #867f73;
    font-size: 10px;
    line-height: 1.6;
}

.account-password-form {
    display: grid;
    gap: 14px;
}

.account-password-form .field small {
    display: block;
    margin-top: 5px;
    color: #8a8377;
    font-size: 9px;
    line-height: 1.45;
}

.admin-verification-gate {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid #e4dccb;
    border-radius: 8px;
    background: #faf7ef;
    color: #7e7568;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .home-process-grid,
    .home-markets-grid,
    .account-security-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-markets-grid article:nth-child(2) {
        border-right: 0;
    }

    .home-markets-grid article:nth-child(-n+2) {
        border-bottom: 1px solid #ddd5c5;
    }

    .home-verification-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 620px) {
    .home-process-section,
    .home-verification-section,
    .home-markets-section {
        padding: 54px 0;
    }

    .home-process-grid,
    .home-markets-grid,
    .account-security-grid {
        grid-template-columns: 1fr;
    }

    .home-process-card {
        min-height: 0;
    }

    .home-process-number,
    .home-markets-grid article > span {
        margin-bottom: 30px;
    }

    .home-markets-grid article,
    .home-markets-grid article:nth-child(2) {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #ddd5c5;
    }

    .home-markets-grid article:last-child {
        border-bottom: 0;
    }

    .home-markets-cta,
    .account-security-head {
        align-items: stretch;
        flex-direction: column;
    }

    .home-markets-cta .btn,
    .account-security-head .btn {
        width: 100%;
    }

    .account-security-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 26px;
    }

    .account-summary-card,
    .account-password-card {
        padding: 20px;
    }

    .account-summary-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* v36 unified member Profile hub */
.profile-hub-head {
    margin-bottom: 24px;
}

.profile-hub-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
    align-items: start;
}

.profile-summary-card {
    padding: 28px;
}

.profile-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.profile-summary-header h2 {
    margin-bottom: 0;
}

.profile-edit-button {
    flex: 0 0 auto;
}

.profile-account-list {
    margin-bottom: 26px;
}

.profile-verification-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-verification-value.is-verified::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #b88725;
    box-shadow: 0 0 0 3px rgba(184, 135, 37, .12);
}

.profile-summary-section {
    padding: 18px 0;
    border-top: 1px solid #e9e2d5;
}

.profile-summary-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.profile-summary-section-head > span {
    color: #8a8275;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.profile-summary-section-head > small {
    color: #aaa294;
    font-size: 9px;
}

.profile-summary-value-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.profile-summary-value-row strong {
    color: #302b24;
    font-size: 12px;
    line-height: 1.55;
}

.profile-summary-value-row small {
    color: #8c8477;
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
}

.profile-interest-summary-list {
    display: grid;
    gap: 2px;
}

.profile-interest-summary-group {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #f0ebe1;
}

.profile-interest-summary-group:last-child {
    border-bottom: 0;
}

.profile-interest-category {
    color: #7c7467;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5;
}

.profile-interest-lines {
    display: grid;
    gap: 7px;
}

.profile-interest-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 18px;
}

.profile-interest-line span {
    color: #373128;
    font-size: 11px;
    line-height: 1.5;
}

.profile-interest-line strong {
    color: #a27720;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-empty-copy {
    margin: 0;
    color: #8b8376;
    font-size: 11px;
}

.profile-security-card {
    align-self: start;
}

.profile-page-notice {
    margin-bottom: 16px;
}

.profile-security-notice {
    margin: 0 0 16px;
}

/* Profile edit modal */
body.profile-modal-open {
    overflow: hidden;
}

.profile-edit-modal[hidden] {
    display: none !important;
}

.profile-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.profile-edit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 18, .56);
    backdrop-filter: blur(3px);
}

.profile-edit-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    max-height: min(90vh, 920px);
    overflow: hidden;
    border: 1px solid #d9d0bf;
    border-radius: 18px;
    background: #fbf8f1;
    box-shadow: 0 30px 90px rgba(26, 22, 16, .26);
}

.profile-edit-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 23px 26px 19px;
    border-bottom: 1px solid #e4dccf;
    background: #fffdf9;
}

.profile-edit-dialog-head h2 {
    margin: 5px 0 5px;
    color: #28241e;
    font-size: 23px;
    line-height: 1.15;
}

.profile-edit-dialog-head p {
    margin: 0;
    color: #7c7468;
    font-size: 11px;
    line-height: 1.55;
}

.profile-modal-close {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #ddd4c5;
    border-radius: 9px;
    background: #fff;
    color: #50483d;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.profile-modal-close:hover {
    border-color: #c79a33;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    max-height: calc(min(90vh, 920px) - 99px);
}

.profile-modal-error {
    margin: 16px 24px 0;
}

.profile-modal-error + .profile-edit-scroll {
    padding-top: 14px;
}

.profile-edit-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 24px 28px;
}

.profile-modal-section {
    padding: 20px;
    margin-bottom: 14px;
    border: 1px solid #e0d8ca;
    border-radius: 12px;
    background: #fffdf9;
}

.profile-modal-section:last-child {
    margin-bottom: 0;
}

.profile-modal-section-head {
    margin-bottom: 16px;
}

.profile-modal-section-head h3 {
    margin: 0 0 4px;
    color: #302b24;
    font-size: 16px;
}

.profile-modal-section-head p {
    margin: 0;
    color: #81796d;
    font-size: 10px;
    line-height: 1.55;
}

.profile-modal-section .field {
    margin-bottom: 0;
}

.profile-modal-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-modal-options-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-modal-commodities .commodity-accordion-list {
    margin-top: 0;
}

.profile-edit-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 24px;
    border-top: 1px solid #e2dacc;
    background: #fffdf9;
}

.profile-edit-dialog-actions .btn {
    min-width: 128px;
}

@media (max-width: 980px) {
    .profile-hub-grid {
        grid-template-columns: 1fr;
    }

    .profile-modal-options-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .profile-summary-header,
    .profile-summary-value-row {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-edit-button {
        width: 100%;
    }

    .profile-summary-value-row small {
        text-align: left;
    }

    .profile-interest-summary-group {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .profile-edit-modal {
        padding: 0;
        align-items: end;
    }

    .profile-edit-dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 18px 18px 0 0;
        border-bottom: 0;
    }

    .profile-edit-dialog-head {
        padding: 18px 18px 15px;
    }

    .profile-edit-form {
        max-height: calc(94vh - 88px);
    }

    .profile-edit-scroll {
        padding: 14px 14px 22px;
    }

    .profile-modal-section {
        padding: 16px;
    }

    .profile-modal-section .form-grid,
    .profile-modal-options {
        grid-template-columns: 1fr;
    }

    .profile-modal-section .form-grid {
        gap: 0;
    }

    .profile-modal-section .field + .field {
        margin-top: 14px;
    }

    .profile-edit-dialog-actions {
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    }

    .profile-edit-dialog-actions .btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* v37 profile-bound opportunity commodities */
.profile-bound-commodity-field select:disabled {
    background: #f3f0e8;
    color: #8b8376;
    cursor: not-allowed;
}

.profile-commodity-rule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: #81796d;
    font-size: 10px;
    line-height: 1.45;
}

.profile-commodity-rule strong {
    color: #524a3f;
}

.profile-commodity-add {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(154, 116, 31, .42);
    background: transparent;
    color: #9a741f;
    cursor: pointer;
    font: inherit;
    font-weight: 760;
}

.profile-commodity-add:hover {
    color: #6f5116;
    border-bottom-color: #6f5116;
}

.opportunity-profile-updated {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto 18px;
}

body.opportunity-profile-gate-open {
    overflow: hidden;
}

.opportunity-profile-gate-modal[hidden] {
    display: none !important;
}

.opportunity-profile-gate-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.opportunity-profile-gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 18, .56);
    backdrop-filter: blur(3px);
}

.opportunity-profile-gate-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 30px;
    border: 1px solid #d9d0bf;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 30px 90px rgba(26, 22, 16, .26);
}

.opportunity-profile-gate-dialog h2 {
    margin: 12px 44px 10px 0;
    color: #28241e;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.opportunity-profile-gate-dialog > p {
    margin: 0;
    color: #645c50;
    font-size: 13px;
    line-height: 1.65;
}

.opportunity-profile-gate-dialog > p + p {
    margin-top: 12px;
}

.opportunity-profile-gate-reason {
    padding: 13px 14px;
    border-left: 2px solid #c79a33;
    background: #f8f3e7;
}

.opportunity-profile-gate-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #ddd4c5;
    border-radius: 9px;
    background: #fff;
    color: #50483d;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.opportunity-profile-gate-close:hover {
    border-color: #c79a33;
}

.opportunity-profile-gate-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.profile-commodity-context {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 16px 24px 0;
    padding: 13px 15px;
    border: 1px solid #e6d8b8;
    border-radius: 10px;
    background: #fbf5e7;
    color: #655a45;
    font-size: 11px;
    line-height: 1.5;
}

.profile-commodity-context > strong {
    flex: 0 0 auto;
    color: #8d681c;
}

.profile-commodity-context > span {
    flex: 1 1 auto;
}

.profile-commodity-context + .profile-modal-error {
    margin-top: 10px;
}

.profile-modal-commodities[data-profile-focus-target="commodities"] {
    scroll-margin-top: 12px;
}

@media (max-width: 720px) {
    .profile-commodity-rule,
    .profile-commodity-context {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-commodity-add {
        align-self: flex-start;
    }

    .opportunity-profile-gate-modal {
        align-items: end;
        padding: 0;
    }

    .opportunity-profile-gate-dialog {
        width: 100%;
        padding: 24px 18px max(20px, env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
        border-bottom: 0;
    }

    .opportunity-profile-gate-dialog h2 {
        margin-right: 42px;
    }

    .opportunity-profile-gate-actions {
        flex-direction: column-reverse;
    }

    .opportunity-profile-gate-actions .btn {
        width: 100%;
    }

    .profile-commodity-context {
        margin: 12px 14px 0;
    }
}


/* v40: official Lorexa mark in introduction routing. */
.introduction-lorexa > span {
    background: #1e1c17;
}

.introduction-lorexa > span img {
    display: block;
    width: 27px;
    height: 30px;
    object-fit: contain;
}


/* v44 request focus state */
.introduction-card.is-focused {
    outline: 2px solid rgba(201, 151, 34, 0.45);
    outline-offset: 3px;
    box-shadow: 0 18px 44px rgba(36, 28, 16, 0.10);
}


/* v46 mutual-approval request workflow */
.request-approval-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 24px 22px;
}
.request-approval-step {
    border: 1px solid rgba(116, 96, 58, .18);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(255, 252, 245, .76);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.request-approval-step span { display: grid; gap: 3px; }
.request-approval-step small {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
    color: #8b816e;
    font-weight: 800;
}
.request-approval-step strong { font-size: 13px; color: #24211c; }
.request-approval-state {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: #eeeae1;
    color: #6e685c;
}
.request-approval-state.accepted,
.request-approval-state.approved { background: #e8f4e9; color: #2f6b3c; }
.request-approval-state.declined { background: #f9e8e5; color: #93483e; }
.request-response-panel {
    padding: 16px;
    border: 1px solid rgba(201, 151, 37, .34);
    background: #fff9e9;
    border-radius: 14px;
    margin-bottom: 12px;
}
.request-response-panel strong { display: block; margin-bottom: 5px; }
.request-response-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.request-action-badge { background: #b7790b; color: #fff; }
.introduction-status.action-needed { background: #fff0c9; color: #795513; border-color: rgba(183,121,11,.22); }
@media (max-width: 720px) {
    .request-approval-grid { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
}
.introduction-card.action-needed {
    border-color: rgba(183, 121, 11, .58);
    box-shadow: 0 14px 34px rgba(113, 83, 25, .10);
}
