/* Banking-sharp layout overrides.
   Keeps the Sealed Energy palette, type, components and their native corner radii.
   Tightens rhythm: one grid, no dead vertical space, ATM-direct actions. */

:root {
  --bank-grid: min(1224px, calc(100% - 64px));
  --bank-section: clamp(56px, 7vh, 88px);
  --bank-line-light: rgba(7, 16, 15, .14);
  --bank-line-dark: rgba(225, 239, 233, .14);
}

/* One column width everywhere */
.landing-wrap { width: var(--bank-grid) !important; }

/* Our header is in flow (sticky), not fixed: remove the repo's fixed-header offsets */
.app-shell:not(.app-loading), .view-home.app-shell:not(.app-loading) { padding-top: 0 !important; }
.landing-page { padding-top: 0 !important; }

/* Hero hugs its content: no viewport-height blank band */
.bank-campaign-hero, .bank-campaign-frame { min-height: 0 !important; }
.bank-campaign-frame { width: var(--bank-grid) !important; padding: clamp(36px, 5vh, 64px) 0 clamp(40px, 6vh, 72px); }
.bank-campaign-media { min-height: clamp(420px, 46vw, 560px); }

/* Hero headline: 2 lines, verify-title size, overflowing the media */
.bank-campaign-copy h1 span, .bank-campaign-copy h1 em { white-space: nowrap !important; }
.bank-campaign-copy h1 { font-size: clamp(46px, 4.6vw, 68px) !important; position: relative; z-index: 3; width: max-content !important; max-width: min(92vw, 1150px) !important; }
/* Unified section-title cadence across the page */
.landing-page :is(.section-intro h2, .section-intro.centred h2, .integrate-copy h2, .cycle-copy h2, h2.process-title) {
  font-family: Inter, sans-serif !important;
  font-size: clamp(46px, 4.6vw, 68px) !important;
  line-height: .95 !important;
  letter-spacing: -.065em !important;
  font-weight: 560 !important;
  margin: 0 0 clamp(18px, 1.8vw, 26px) !important;
  text-wrap: balance;
}
.landing-page .landing-kicker { margin-bottom: clamp(14px, 1.4vw, 20px) !important; }

/* ===== Declared Markets map hero (added above the campaign hero) ===== */
.declared-map-hero-section { width: 100%; background: #0a1210; padding: clamp(28px, 4vh, 56px) 0 clamp(20px, 3vh, 40px); }
.declared-map-hero { width: var(--bank-grid); margin: 0 auto; display: grid; grid-template-columns: minmax(300px, .82fr) 1.35fr; gap: clamp(20px, 2.4vw, 40px); align-items: stretch; min-height: clamp(460px, 66vh, 680px); }
.dmh-list { display: flex; flex-direction: column; min-width: 0; }
.dmh-list-head { margin-bottom: 20px; }
.dmh-list-head > span { display: block; font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .22em; text-transform: uppercase; color: #59dce8; margin-bottom: 12px; }
.dmh-list-head h2 { margin: 0; font: 560 clamp(26px, 2.2vw, 38px)/1.02 Inter, sans-serif; letter-spacing: -.04em; color: #f4f1e9; }
.dmh-items { display: flex; flex-direction: column; gap: 10px; overflow: auto; padding-right: 4px; }
.dmh-items::-webkit-scrollbar { width: 6px; }
.dmh-items::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.dmh-card { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 6px 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); text-align: left; cursor: pointer; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.dmh-card:hover { background: rgba(255,255,255,.075); border-color: rgba(89,220,232,.35); transform: translateX(4px); }
.dmh-card > b { font: 600 15px Inter, sans-serif; color: #f4f1e9; letter-spacing: -.01em; min-width: 0; }
.dmh-card .dmh-val { font: 700 18px Inter, sans-serif; color: #c7ff31; letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.dmh-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; font: 500 12px "JetBrains Mono", ui-monospace, monospace; color: rgba(244,241,233,.5); letter-spacing: .04em; }
.dmh-meta .tier { color: rgba(244,241,233,.8); }
.dmh-open { grid-column: 1 / -1; margin-top: 4px; font: 600 11.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #59dce8; }
.dmh-open i { font-style: normal; color: rgba(244,241,233,.4); margin: 0 8px; }
.dmh-map { position: relative; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #0f211c, #0a1210 70%); border: 1px solid rgba(255,255,255,.08); min-height: 460px; }
.dmh-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.market-pin { position: absolute; transform: translate(-50%, -100%); animation: pin-drop .55s cubic-bezier(.3,1.25,.5,1) backwards; cursor: pointer; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); transition: transform .18s ease; }
.market-pin:hover { transform: translate(-50%, -108%) scale(1.12); z-index: 5; }
@keyframes pin-drop { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -100%); } }
.dmh-map-legend { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: flex; gap: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(10,18,16,.72); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.08); font: 500 10px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,241,233,.7); }
.dmh-map-legend b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.dmh-map-legend b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.dmh-map-legend .lg-seed::before { background: #34d399; }
.dmh-map-legend .lg-bloom::before { background: #60a5fa; }
.dmh-map-legend .lg-root::before { background: #a78bfa; }
@media (max-width: 900px) { .declared-map-hero { grid-template-columns: 1fr; } .dmh-map { min-height: 340px; } }

/* Declared Markets: header + Trenches/Map display toggle */
.dmh-header { width: var(--bank-grid); margin: 0 auto 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dmh-head-copy > span { display: block; font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .22em; text-transform: uppercase; color: #59dce8; margin-bottom: 10px; }
.dmh-head-copy h2 { margin: 0; font: 560 clamp(24px, 2vw, 34px)/1.02 Inter, sans-serif; letter-spacing: -.04em; color: #f4f1e9; }
.dmh-toggle { flex: none; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.dmh-toggle button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 9px; background: transparent; color: rgba(244,241,233,.6); font: 600 11.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease; }
.dmh-toggle button svg { width: 15px; height: 15px; }
.dmh-toggle button.active { background: #c7ff31; color: #0a1408; }
/* Trench board */
.dmh-trenches { width: var(--bank-grid); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dmh-trench { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 20px 16px; display: flex; flex-direction: column; min-width: 0; }
.dmh-trench-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dmh-trench-head .tnum { flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.05); display: grid; place-items: center; font: 600 11px "JetBrains Mono", ui-monospace, monospace; color: rgba(244,241,233,.5); }
.dmh-trench-head h3 { margin: 0; font: 600 17px Inter, sans-serif; color: #f4f1e9; letter-spacing: -.01em; }
.dmh-trench-head small { display: block; margin-top: 2px; font: 600 9px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,241,233,.4); }
.dmh-trench-head .tcount { margin-left: auto; font: 600 12px "JetBrains Mono", ui-monospace, monospace; color: rgba(244,241,233,.4); }
.dmh-mkt { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; column-gap: 14px; row-gap: 3px; align-items: center; padding: 13px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); cursor: pointer; text-align: left; transition: background .2s ease, transform .2s ease, border-color .2s ease; margin-bottom: 10px; }
.dmh-mkt:hover { background: rgba(255,255,255,.06); border-color: rgba(89,220,232,.3); transform: translateY(-2px); }
.dmh-mkt-logo { grid-row: 1 / 4; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #0a1210; align-self: start; }
.dmh-mkt-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmh-mkt-title { grid-column: 2; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.dmh-mkt-title b { font: 600 14px Inter, sans-serif; color: #f4f1e9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmh-mkt-title .cat { flex: none; font: 600 9px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; color: #59dce8; }
.dmh-mkt-pct { grid-column: 3; grid-row: 1; text-align: right; }
.dmh-mkt-pct b { font: 700 19px Inter, sans-serif; color: #f4f1e9; letter-spacing: -.02em; }
.dmh-mkt-loc { grid-column: 2; font: 500 11px Inter, sans-serif; color: rgba(244,241,233,.45); }
.dmh-mkt-fund { grid-column: 3; grid-row: 2; text-align: right; font: 500 9.5px "JetBrains Mono", ui-monospace, monospace; color: rgba(244,241,233,.42); white-space: nowrap; }
.dmh-mkt-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font: 500 10px "JetBrains Mono", ui-monospace, monospace; color: rgba(244,241,233,.4); }
.dmh-mkt-meta .sealed { display: inline-flex; align-items: center; gap: 4px; color: #34d399; }
.dmh-mkt-bar { grid-column: 3; grid-row: 3; width: 92px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; margin-left: auto; margin-top: 6px; }
.dmh-mkt-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f27405, #59dce8); }
.dmh-map-wrap { width: var(--bank-grid); margin: 0 auto; }
.dmh-map-wrap .dmh-map { min-height: clamp(420px, 60vh, 620px); }
@media (max-width: 900px) { .dmh-trenches { grid-template-columns: 1fr; } .dmh-header { flex-direction: column; align-items: flex-start; } }

/* Embedded Seal Exchange trench board (repo .view-exchange markup) bounded for the home hero */
.dmh-exchange-embed { width: 100%; margin: 0 auto; }
.dmh-exchange-embed .exchange-surface-markets { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }
.dmh-exchange-embed .exchange-surface-markets .market-discovery { min-height: 0 !important; display: grid !important; grid-template-rows: auto auto auto minmax(0, 1fr) !important; gap: 12px; }
.dmh-exchange-embed .market-board { height: clamp(460px, 62vh, 640px) !important; }
.dmh-exchange-embed .market-trench { grid-template-rows: 54px minmax(0, 1fr) !important; }
.dmh-exchange-embed .market-trench, .dmh-exchange-embed .market-trench-list, .dmh-exchange-embed .market-row, .dmh-exchange-embed .market-row-main { min-width: 0 !important; }
.dmh-exchange-embed .market-row { grid-template-columns: 58px minmax(0, 1fr) 82px !important; }

/* Section rhythm: tight, even, hairline-ruled */
.landing-process { padding: var(--bank-section) 0 !important; border-top: 0; }
.landing-integrate { padding: var(--bank-section) 0 !important; border-top: 0; }
.landing-use { padding: var(--bank-section) 0 !important; border-top: 0; }
.landing-cycles { padding: var(--bank-section) 0 !important; border-top: 0; }
.landing-conversion { min-height: 0 !important; padding: var(--bank-section) 0 0 !important; overflow: hidden !important; }
.home-product-stage { padding-bottom: var(--bank-section) !important; }
.landing-footer { padding: 44px 0 56px !important; border-top: 0; }

.section-intro.split { margin-bottom: 40px !important; gap: 56px !important; }
.section-intro.centred { margin-bottom: 40px !important; }

/* Display type: disciplined banking scale */
.section-intro h2, .integrate-copy h2, .section-intro.centred h2 { font-size: clamp(40px, 4.6vw, 64px) !important; line-height: .96 !important; letter-spacing: -.045em !important; }
/* Conversion section: copy column wide enough for the two-line display quote */
.conversion-grid { grid-template-columns: minmax(0, 1fr) 340px !important; align-items: end !important; gap: 56px !important; }
.conversion-copy { padding-bottom: var(--bank-section); }
.conversion-copy blockquote.conversion-quote { margin: 18px 0 26px !important; max-width: none !important; font-weight: 500; font-size: clamp(40px, 4.6vw, 64px) !important; line-height: .96 !important; letter-spacing: -.045em !important; color: #f4f1e9; white-space: normal !important; position: relative; z-index: 9; width: max-content; }
@media (max-width: 1420px) { .conversion-copy blockquote.conversion-quote { width: auto !important; font-size: clamp(32px, 3.4vw, 48px) !important; } }

/* Grids: tight even gutters */
/* Route cards: full colour photography, faces never cropped */
.product-route-photo { filter: none !important; object-fit: cover !important; object-position: 50% 28% !important; }
.product-route-media::after { background: linear-gradient(180deg, transparent, rgba(4, 12, 13, .45)) !important; height: 26% !important; }
.product-route-media { min-height: clamp(300px, 22vw, 380px) !important; }

/* Memory section download buttons */
.integrate-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.integrate-downloads a { display: flex; align-items: center; gap: 13px; padding: 13px 18px 13px 15px; border-radius: 12px; background: #07100f; color: #f2efe8 !important; text-decoration: none !important; box-shadow: 0 12px 32px rgba(7,16,15,.18); transition: transform 160ms ease, box-shadow 160ms ease; }
.integrate-downloads a:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(7,16,15,.26); color: #f2efe8 !important; }
.integrate-downloads a small { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(199,255,49,.14); color: #c7ff31; font-size: 15px; }
.integrate-downloads a b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.integrate-downloads a em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: rgba(242,239,232,.55); }
.integrate-downloads a u { text-decoration: none; margin-left: 4px; color: #c7ff31; font-weight: 600; }

/* Conversion CTA pair */
.conversion-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.landing-cta.ghost-dark { background: transparent !important; color: #f4f1e9 !important; box-shadow: inset 0 0 0 1.5px rgba(244,241,233,.35) !important; }
.landing-cta.ghost-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(244,241,233,.6) !important; }

.use-grid, .product-route-grid { gap: 12px !important; }

/* Footer v2: compact banking footer */
.footer-v2 { padding: 72px 0 36px; }
.footer-v2-top { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 64px; align-items: start; }
.footer-v2-brand strong { font-size: 30px; font-weight: 800; letter-spacing: .02em; color: #f4f1e9; }
.footer-v2-logo { display: block; width: min(100%, 240px); height: auto; }
.terminal-brand-logo { display: block; width: 190px; height: auto; }
.footer-v2-brand strong span { color: #f27405; }
.footer-v2-brand p { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: rgba(244,241,233,.6); }
.footer-v2-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 8px; background: #f27405; color: #0a1408; font-weight: 600; font-size: 14px; cursor: pointer; }
.footer-v2-cta:hover { filter: brightness(1.07); }
.footer-v2-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-v2-cols small { display: block; margin-bottom: 18px; font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,241,233,.45); }
.footer-v2-cols a, .footer-v2-cols button { display: block; width: max-content; margin: 0 0 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; min-height: 0 !important; height: auto !important; line-height: 1.4 !important; font-family: inherit; font-size: 14px !important; font-weight: 400 !important; color: rgba(244,241,233,.75) !important; text-decoration: none; }
.footer-v2-cols a:hover, .footer-v2-cols button:hover { color: #c7ff31 !important; }
.footer-v2-legal { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 0; font-size: 12px; color: rgba(244,241,233,.45); }
.footer-v2-sig { font: 400 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; }
@media (max-width: 900px) { .footer-v2-top { grid-template-columns: 1fr; gap: 40px; } .footer-v2-cols { grid-template-columns: 1fr 1fr; } }

/* Footer legal strip */
.landing-footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 34px; padding-top: 22px; border-top: 0; font-size: 12px; color: rgba(244,241,233,.5); }
.product-route-grid { grid-template-columns: repeat(3, 1fr) !important; }
.integrate-grid { gap: 48px !important; grid-template-columns: .8fr 1.2fr !important; }
.integrate-copy { position: relative; z-index: 5; }
.integrate-copy h2 { width: max-content; max-width: none !important; }
.integrate-downloads { flex-wrap: nowrap !important; }
.integrate-downloads a { flex: 1 1 0; min-width: 0; }
.surface-orbit.memory-stage { width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: 1 / 1.05 !important; max-height: 560px; overflow: visible !important; align-self: center; }
.integrate-grid > :first-child { min-width: 0; }
/* Witness mobile mock, lifted from the attached Witness Mobile DC (option 1a) on DL tokens */
.landing-conversion .landing-wrap { padding-left: 6% !important; padding-right: 6% !important; }
.witness-phone { width: 330px; flex: none; height: 490px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; border-radius: 42px 42px 0 0; border: 8px solid #151915; border-bottom: 0; background: #080c08; box-shadow: 0 26px 60px -20px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06); font-family: Inter, system-ui, sans-serif; }
.witness-status { flex: none; height: 40px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 22px 5px; font: 600 11px "JetBrains Mono", ui-monospace, monospace; color: rgba(255,255,255,.85); letter-spacing: .04em; }
.witness-screen { flex: 1; min-height: 0; padding: 6px 18px 18px; }

/* Verify-a-seal gauge: bare instrument, no card chrome */
.scan-gauge-card { justify-self: center; width: min(100%, 594px); display: flex; flex-direction: column; align-items: center; }
.scan-gauge-card .witness-dial { width: min(96%, 567px); margin: 26px auto 0; }
.scan-gauge-card .witness-dial-face b { font-size: 58px; }
.scan-gauge-card .witness-dial-face b u { font-size: 32px; }
.scan-gauge-card .witness-dial-face em { font-size: 13px; margin-top: 12px; }
.scan-gauge-card .witness-dial-face i { font-size: 10px; margin-top: 8px; }
.scan-gauge-card .witness-dial-tier { font-size: 10px; }
.scan-open { position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; min-height: 46px; padding: 0 26px; border-radius: 999px; background: var(--campaign-lime, #c7ff31); color: #0a1408 !important; font-weight: 600; font-size: 13.5px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.scan-open:hover { filter: brightness(1.06); color: #0a1408 !important; }
.witness-dial-face.dial-idle b { color: rgba(244,241,233,.4); }
.witness-dial-face.dial-idle em { color: rgba(255,255,255,.45); }
.witness-dial-face.dial-done { padding-bottom: 34px; }
/* Verify DONE state renders the same bare mandala as idle (no cream app-clip card) */
.witness-dial-face.dial-done .dial-qr { width: 66%; height: 66%; aspect-ratio: 1; border-radius: 0; background: transparent; padding: 0; box-sizing: border-box; display: block; }
.witness-dial-face.dial-done .dial-qr canvas, .witness-dial-face.dial-done .dial-qr img, .witness-dial-face.dial-done .dial-qr svg { width: 100%; height: 100%; display: block; }
.witness-dial-face.dial-done b.dial-done-score { margin-top: 12px; font-size: 30px; }
.witness-dial-face.dial-done b.dial-done-score u { font-size: 18px; }
.witness-dial-face.dial-done em { margin-top: 6px; font-size: 10px; }
.witness-dial-face.dial-done i { margin-top: 5px; max-width: 20ch; overflow: hidden; text-overflow: ellipsis; }

/* Sealed cycles heatmap (ported from the source mock) */
.witness-heat { display: grid; grid-template-columns: repeat(23, 1fr); gap: 2.5px; margin-top: 10px; }
.witness-heat i { display: block; aspect-ratio: 1; border-radius: 2px; background: rgba(255,255,255,.06); }
.witness-heat i.l1 { background: rgba(52,211,153,.28); }
.witness-heat i.l2 { background: rgba(52,211,153,.55); }
.witness-heat i.l3 { background: #34d399; }
.witness-id { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 0; }
.witness-id-main { display: flex; align-items: center; gap: 12px; }
.witness-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1.5px rgba(52,211,153,.5), 0 0 0 4px rgba(52,211,153,.12); }
.witness-face.witness-logo { border-radius: 11px; object-fit: contain; padding: 8px; box-sizing: border-box; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: none; filter: brightness(0) invert(1); opacity: .9; }
.witness-mark { width: 34px; height: 34px; border-radius: 9px; display: block; opacity: 1; padding: 6px; box-sizing: border-box; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.witness-id-main b { display: block; font: 600 14px Inter, sans-serif; letter-spacing: -.01em; color: rgba(255,255,255,.96); }
.witness-id-main em { display: block; margin-top: 3px; font: 400 8.5px "JetBrains Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: #34d399; }
.witness-help { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font: 500 12px "JetBrains Mono", ui-monospace, monospace; color: rgba(255,255,255,.55); }
.witness-dial { position: relative; width: 178px; margin: 18px auto 0; aspect-ratio: 1; }
.witness-dial svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.witness-dial-tier { font: 600 8px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .28em; fill: rgba(255,255,255,.45); }
.witness-dial-tier.t-seed { fill: #34d399; }
.witness-dial-tier.t-bloom { fill: #60a5fa; }
.witness-dial-tier.t-root { fill: #a78bfa; }
.witness-dial-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 18px; }
/* Faces that hold only the mandala must center on the arc's true center */
.witness-dial-face.dial-idle, .witness-dial-face.dial-done { padding: 0 !important; }
.witness-dial-face b { font: 400 34px Georgia, "Times New Roman", serif; letter-spacing: -.01em; color: #f4f1e9; line-height: 1; }
.witness-dial-face b u { text-decoration: none; font-size: 20px; color: rgba(255,255,255,.6); }
.witness-dial-face em { margin-top: 7px; font: 500 9px "JetBrains Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .3em; text-transform: uppercase; color: #60a5fa; }
.witness-dial-face i { margin-top: 5px; font: 400 7px "JetBrains Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); white-space: nowrap; }
@keyframes witness-breathe { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .9; transform: scale(1.04); } }
.witness-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 16px; }
.witness-stats span { padding: 10px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); background: #0d110d; }
.witness-stats em { display: block; font: 400 7.5px "JetBrains Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.witness-stats b { display: block; margin-top: 6px; font: 500 15px "JetBrains Mono", ui-monospace, monospace; color: #fff; }
.witness-stats b.is-flux { color: #fbbf24; }
.witness-meta { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 9px; font: 400 8px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.witness-events { display: grid; gap: 7px; }
.witness-event { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); background: #0d110d; }
.witness-event .rail { flex: none; width: 5px; height: 28px; border-radius: 3px; }
.witness-event .rail.seed { background: #34d399; }
.witness-event .rail.bloom { background: #60a5fa; }
.witness-event .rail.root { background: #a78bfa; }
.witness-event > span { flex: 1; min-width: 0; }
.witness-event b { display: block; font: 500 11.5px Inter, sans-serif; color: rgba(255,255,255,.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.witness-event em { display: block; margin-top: 3px; font: 400 8.5px "JetBrains Mono", ui-monospace, monospace; font-style: normal; color: rgba(255,255,255,.4); }
.witness-event u { text-decoration: none; font: 500 12.5px "JetBrains Mono", ui-monospace, monospace; }
.witness-event u.seed { color: #34d399; }
.witness-event u.bloom { color: #60a5fa; }
.witness-event u.root { color: #a78bfa; }
.witness-nav { flex: none; height: 56px; display: flex; align-items: center; gap: 22px; padding: 0 20px; border-top: 0; }
.witness-nav span { font: 400 8.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.witness-nav span.is-active { font-weight: 600; color: #fff; border-bottom: 2px solid #fff; padding-bottom: 4px; }

.conversion-grid { gap: 56px !important; grid-template-columns: minmax(0, 1fr) 340px !important; align-items: end !important; }
.process-list article { border-top: 0; }
.cycle-opening { border-top: 0; padding-top: 40px; }

/* Keep the proof tile heading clear of the absolute mini-evidence card on mid widths */
@media (min-width: 901px) and (max-width: 1200px) {
  .collage-proof { padding-bottom: 118px !important; }
  .collage-proof h3 { margin-top: clamp(36px, 4.5vw, 76px) !important; font-size: clamp(24px, 2.5vw, 40px) !important; max-width: 420px !important; }
}

/* Subscribe panel: statement green, not campaign orange */
.cycle-community { background: var(--campaign-green, #08201b) !important; color: #f2efe8 !important; }
.cycle-community .community-intro h3, .cycle-community .community-intro p, .cycle-community .landing-kicker { color: #f2efe8 !important; }
.cycle-form label, .cycle-form small, .community-channels span, .community-channels small { color: rgba(242, 239, 232, .72) !important; }

/* Community channel buttons: clear separated targets, no overlap */
.community-channels > div { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.community-channels button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px !important; white-space: nowrap; }

/* Obsidian Memory stage: no panel, fabric sits on the section paper */
.surface-orbit.memory-stage, .surface-orbit.memory-stage::before, .surface-orbit.memory-stage::after { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.memory-stage .memory-fabric-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.memory-stage .orbit-node, .memory-stage .orbit-core { background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
.memory-stage .orbit-node i { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #0f6f78 !important; }
.memory-stage .orbit-node b { color: #0a1c19 !important; }
.memory-stage .orbit-node small { color: rgba(10, 28, 25, .55) !important; }
.memory-stage .memory-caption small { color: #0f6f78 !important; }
.memory-stage .memory-caption b { color: #0a1c19 !important; }
.memory-stage .orbit-core span, .memory-stage .orbit-core small { color: #0a1c19 !important; }
.memory-stage .memory-energy-mark { filter: invert(1) !important; }
.memory-stage .orbit-mobile { left: 5% !important; top: 14% !important; }
.memory-stage .orbit-browser { right: 4% !important; top: 14% !important; }
.memory-stage .orbit-workspace { left: 5% !important; bottom: 9% !important; }
.memory-stage .orbit-server { right: 5% !important; bottom: 6% !important; }

@media (max-width: 900px) {
  .landing-wrap, .bank-campaign-frame { width: calc(100% - 32px) !important; }
}

/* Step 03 visual: concentric seal rings (SVG), core pulses calmly */
.process-visual .seal-rings-svg .venn-label { font-family: var(--serif, Georgia), 'Times New Roman', serif; font-size: 20px; fill: #f4f1e9; }
.process-visual .seal-rings-svg { filter: drop-shadow(0 0 18px rgba(199, 255, 49, .25)); }
.process-visual .seal-rings-svg .seal-core { animation: se-access-pulse 2.6s ease-in-out infinite; transform-origin: center; }

/* CTP/IP Scan: Google-style centered search, button inside the field */
.cycle-community.seal-scan { display: block !important; text-align: center; padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 96px) !important; }
.seal-scan-head h3 { margin: 14px 0 0; font-size: clamp(30px, 3vw, 44px); }
.seal-scan-head p { max-width: 52ch; margin: 14px auto 0; color: rgba(242, 239, 232, .72); }
.seal-scan-form { max-width: 760px; margin: 34px auto 0; }
.visually-hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seal-scan-field { display: flex; align-items: center; gap: 0; padding: 7px 7px 7px 0; border-radius: 999px; background: #f4f1e9; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.seal-scan-field i { flex: 0 0 auto; width: 54px; height: 22px; position: relative; }
.seal-scan-field i::before { content: ""; position: absolute; left: 20px; top: 1px; width: 14px; height: 14px; border: 2px solid #55635e; border-radius: 50%; }
.seal-scan-field i::after { content: ""; position: absolute; left: 33px; top: 14px; width: 8px; height: 2px; background: #55635e; border-radius: 2px; transform: rotate(45deg); }
.seal-scan-field input { flex: 1; min-height: 62px !important; border: 0 !important; border-radius: 999px 0 0 999px !important; background: transparent !important; color: #0a0c0d !important; font-size: 17px !important; padding: 0 18px 0 2px !important; }
.seal-scan-field input::placeholder { color: #78847f !important; opacity: 1 !important; }
.seal-scan-field:focus-within { outline: 2px solid var(--campaign-lime, #c7ff31); outline-offset: 2px; }
.seal-scan-go { flex: 0 0 auto; min-height: 56px !important; padding: 0 32px; border: 0; border-radius: 999px; cursor: pointer; background: var(--campaign-lime, #c7ff31); color: #0a1408; font-weight: 760; font-size: 13px; letter-spacing: .06em; }
.seal-scan-go:hover { filter: brightness(1.06); }
.seal-scan-form small { display: block; margin-top: 16px; color: rgba(242, 239, 232, .6); }
@media (max-width: 640px) {
  .seal-scan-field { flex-wrap: wrap; padding: 7px; border-radius: 28px; }
  .seal-scan-go { width: 100%; margin-top: 6px; }
}

/* Mobile-device check rows: keep stacked, never overlapping */
.device-checks { display: grid !important; grid-auto-rows: auto; gap: 12px !important; align-items: start; }
.device-checks span { display: block; position: static !important; transform: none !important; grid-area: auto !important; }

/* Inline scan form inside the causal-time copy column */
.seal-scan-form.scan-inline { max-width: 560px; margin: 30px 0 0; }
.seal-scan-form.scan-inline small { text-align: left; color: #55635e; }
.landing-light .seal-scan-form small { color: #55635e; }
.landing-light .seal-scan-field { box-shadow: 0 14px 40px rgba(7, 16, 15, .14); border: 1px solid rgba(7, 16, 15, .12); }

/* Seal dial: self-contained SVG instrument */
.seal-dial { position: relative; width: min(100%, 430px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #f2efe8; background: radial-gradient(circle at 38% 30%, #12332c, var(--campaign-green, #0b1f1a) 68%); }
.seal-dial > * { grid-area: 1 / 1; }
.seal-dial sc-if { display: grid; place-items: center; }
.seal-dial .dial-face { width: 100%; height: 100%; display: block; }
.seal-dial .dial-progress { transform: rotate(-90deg); transform-origin: 220px 220px; transition: stroke-dashoffset 1s cubic-bezier(.6, .05, .2, 1), opacity .4s ease; }
.seal-dial .dial-needle { transform-origin: 220px 220px; transition: transform 1s cubic-bezier(.6, .05, .2, 1), opacity .4s ease; }
.seal-dial .dial-tick-label { font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; fill: rgba(244, 241, 233, .35); transition: fill .3s ease; }
.seal-dial .dial-tick-label.is-active { fill: var(--campaign-lime, #c7ff31); }
.seal-dial .dial-tick-label.is-passed { fill: rgba(244, 241, 233, .8); }
.seal-dial .dial-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.seal-dial .dial-count { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(72px, 7vw, 104px); line-height: .8; letter-spacing: -.06em; }
.seal-dial .dial-unit { margin-top: 12px; color: #59dce8; font-size: 13px !important; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; }
.seal-dial .dial-caption { margin-top: 9px; color: rgba(242, 239, 232, .55); font-size: 10px !important; text-transform: uppercase; letter-spacing: .18em; max-width: 200px; }
.seal-dial .dial-result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.seal-dial .dial-qr { display: block; width: 104px; height: 104px; padding: 8px; border-radius: 10px; background: #f4f1e9; }
.seal-dial .dial-qr img, .seal-dial .dial-qr canvas { display: block; width: 100%; height: 100%; }
.seal-dial .dial-artifact { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.seal-dial .dial-hash { font: 500 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace !important; letter-spacing: .06em; opacity: .65; max-width: 180px; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .seal-dial { width: min(100%, 340px); justify-self: center; } }

/* ENTER TERMINAL: no arrow; the ready square pulses calmly */
.terminal-command.is-access > i { display: none !important; }
.terminal-command.is-access::before { animation: se-access-pulse 2.6s ease-in-out infinite !important; }
@keyframes se-access-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ── Tweaks: density (feel-banking = tight statement rhythm) ───────────── */
.feel-banking { --bank-section: clamp(40px, 5vh, 60px); }
.feel-banking .bank-campaign-frame { padding: clamp(24px, 3.5vh, 44px) 0 clamp(28px, 4vh, 48px); }
.feel-banking .bank-campaign-media { min-height: clamp(340px, 36vw, 440px); }
.feel-banking .bank-campaign-copy h1 { font-size: var(--type-title) !important; }
.feel-banking .section-intro h2, .feel-banking .integrate-copy h2, .feel-banking .section-intro.centred h2 { font-size: clamp(32px, 3.6vw, 48px) !important; }
.feel-banking .conversion-copy blockquote.conversion-quote { font-size: clamp(26px, 2.3vw, 34px) !important; }
.feel-banking .section-intro.split, .feel-banking .section-intro.centred { margin-bottom: 26px !important; }
.feel-banking .integrate-grid { gap: 32px !important; }
.feel-banking .conversion-grid { gap: 36px !important; }
.feel-banking .use-grid, .feel-banking .product-route-grid { gap: 8px !important; }
.feel-banking .landing-footer { padding: 30px 0 38px !important; }

/* ── Tweaks: motion (calm slows everything, still freezes decoration) ──── */
.motion-calm * { transition-duration: .45s !important; }
.motion-calm .terminal-command.is-access::before, .motion-calm .process-visual .seal-rings-svg .seal-core { animation-duration: 5.2s !important; }
.motion-still *, .motion-still *::before, .motion-still *::after { animation: none !important; }
.motion-still .seal-dial .dial-progress, .motion-still .seal-dial .dial-needle { transition: none !important; }
.motion-still .product-route-card:hover, .motion-still .collage-main:hover, .motion-still .collage-proof:hover { transform: none !important; }


/* ------------------------------------------------------------------ */
/* Staging polish: mobile fixes for the fixed header, action dock and */
/* seal form. Loads last on every page; keep these at the file end.   */
/* ------------------------------------------------------------------ */

/* The terminal header is fixed; landing content must clear it on mobile. */
@media (max-width: 820px) {
  .landing-page { padding-top: var(--se-header-height, 130px) !important; }
}

/* Hero headline: never clip at narrow widths. Each phrase keeps its own
   line (nowrap by design), so the size must fit the narrowest viewport. */
@media (max-width: 480px) {
  .bank-campaign-copy h1 { font-size: clamp(27px, 9.2vw, 42px) !important; line-height: 1.06 !important; letter-spacing: -.045em !important; }
}

/* Action dock: the desktop centering transform must not survive on mobile. */
@media (max-width: 900px) {
  .seal-action-dock,
  .exchange-action-dock {
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    margin: 0 !important;
  }
}

/* Seal journey grids: children may never force the column wider than the
   viewport; every cell tracks minmax(0, 1fr). */
@media (max-width: 900px) {
  .observe-grid, .flow-grid, .authorize-grid, .verify-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .work-card, .readiness-card, .review-main, .side-summary, .panel { min-width: 0 !important; max-width: 100% !important; }
  .spl-invoice { min-width: 0 !important; max-width: 100% !important; }
  .spl-invoice .invoice-title { grid-template-columns: minmax(0, 1fr) !important; }
  .invoice-line-head { display: none !important; }
  .invoice-line-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .invoice-line-item > label:first-child, .invoice-line-item > div:first-child { grid-column: 1 / -1 !important; }
  .invoice-line-item > output { grid-column: 1 / -1 !important; text-align: right !important; }
  .invoice-parties, .invoice-issuer-line, .invoice-payment-fields, .invoice-settlement { grid-template-columns: minmax(0, 1fr) !important; }
  .invoice-totals { grid-template-columns: minmax(0, 1fr) !important; }
  .class-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .class-tabs::-webkit-scrollbar { display: none; }
  .class-tab { flex: none; }
}

/* Wide screens: the 1480px content cap must center, not hug the left edge. */
.exchange-terminal > :not(.seal-action-dock),
.workspace > :not(.seal-action-dock) {
  margin-inline: auto;
}

/* ------------------------------------------------------------------ */
/* Colour mode. One icon-only toggle on every page (shared-theme.js). */
/* html.se-bright lifts the dark surfaces to the paper register.      */
/* ------------------------------------------------------------------ */

.se-theme-btn {
  position: fixed; left: 22px; bottom: 22px; z-index: 900;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(10, 18, 16, .85); color: #f4f1e9; cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: color .2s ease, border-color .2s ease, background .3s ease;
}
.se-theme-btn:hover { color: #34d399; border-color: rgba(52, 211, 153, .5); }
.se-theme-btn svg { width: 19px; height: 19px; display: block; }
html.se-bright .se-theme-btn { background: #ffffff; border-color: rgba(11, 18, 16, .16); color: #0b1210; box-shadow: 0 10px 30px rgba(11, 18, 16, .16); }

/* Shared chrome: the terminal header follows the profile bright treatment. */
html.se-bright .terminal-header { background: #ffffff !important; border-bottom: 0; box-shadow: none !important; }
html.se-bright .terminal-header * { color: #0b1210 !important; }
html.se-bright .terminal-command { background: transparent !important; border-left: 1px solid rgba(11, 18, 16, .08) !important; box-shadow: none !important; }
html.se-bright .terminal-command small, html.se-bright .terminal-command em { color: rgba(11, 18, 16, .5) !important; }
html.se-bright .terminal-account { background: #f7f8f6 !important; }
html.se-bright .terminal-brand-logo { filter: invert(1) brightness(.15); }

/* Declared markets: board, controls and list lift to paper. The map stays a dark instrument. */
html.se-bright .dm-page { background: #eef1ee !important; }
html.se-bright .view-exchange .market-category-bar button { color: rgba(11, 18, 16, .6); }
html.se-bright .view-exchange .market-category-bar button.active { background: rgba(11, 18, 16, .08); color: #0b1210; }
html.se-bright .view-exchange .market-toolbar { background: rgba(11, 18, 16, .04); }
html.se-bright .view-exchange .market-sort-chips button { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-exchange .market-sort-chips button.active { background: rgba(15, 122, 134, .1) !important; color: #0f7a86 !important; }
html.se-bright .view-exchange .market-search { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .12) !important; }
html.se-bright .view-exchange .market-search input { color: #0b1210 !important; }
html.se-bright .view-exchange .market-search input::placeholder { color: rgba(11, 18, 16, .45) !important; }
html.se-bright .view-exchange .market-stage-jumps button { color: rgba(11, 18, 16, .55); }
html.se-bright .view-exchange .market-stage-jumps button.active { color: #0b1210; }
html.se-bright .view-exchange .market-trench > header h2 { color: #0b1210; }
html.se-bright .view-exchange .market-trench > header small,
html.se-bright .view-exchange .market-trench > header > span,
html.se-bright .view-exchange .market-trench > header > em { color: rgba(11, 18, 16, .5); }
html.se-bright .view-exchange .market-row { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .08) !important; box-shadow: 0 8px 22px rgba(11, 18, 16, .05) !important; }
html.se-bright .view-exchange .market-row-main b { color: #0b1210 !important; }
html.se-bright .view-exchange .market-row-main > small { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-exchange .market-row-meta i { background: rgba(11, 18, 16, .05) !important; color: rgba(11, 18, 16, .6) !important; }
html.se-bright .view-exchange .market-row-value b { color: #0b1210 !important; }
html.se-bright .view-exchange .market-row-value small { color: rgba(11, 18, 16, .5) !important; }
html.se-bright .dm-toggle { background: rgba(11, 18, 16, .05); border-color: rgba(11, 18, 16, .1); }
html.se-bright .dm-toggle button { color: rgba(11, 18, 16, .55); }
html.se-bright .dm-toggle button.active { background: #c7ff31; color: #0a1408; }
html.se-bright .dm-list-row { background: #ffffff; border-color: rgba(11, 18, 16, .1); }
html.se-bright .dm-list-row .lr-title b { color: #0b1210; }
html.se-bright .dm-list-row .lr-loc { color: rgba(11, 18, 16, .5); }
html.se-bright .dm-list-row .lr-pct b { color: #0b1210; }
html.se-bright .dm-list-row .lr-pct small { color: rgba(11, 18, 16, .5); }
html.se-bright .dm-list-empty { background: rgba(11, 18, 16, .04); border-color: rgba(11, 18, 16, .18); color: rgba(11, 18, 16, .55); }

/* My Seals ledger */
html.se-bright .view-seals-page { background: #eef1ee !important; }
html.se-bright .library-heading h1, html.se-bright .library-heading .eyebrow { color: #0b1210 !important; }
html.se-bright .library-heading p { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .library-tools .filters button { color: rgba(11, 18, 16, .6) !important; background: transparent !important; }
html.se-bright .library-tools .filters button.active { background: rgba(11, 18, 16, .08) !important; color: #0b1210 !important; }
html.se-bright .library-tools .search { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .12) !important; }
html.se-bright .library-tools .search input { color: #0b1210 !important; }
html.se-bright .library-tools .search input::placeholder { color: rgba(11, 18, 16, .45) !important; }
html.se-bright .seal-ledger-row { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .08) !important; box-shadow: 0 8px 22px rgba(11, 18, 16, .05) !important; }
html.se-bright .seal-ledger-row b, html.se-bright .seal-ledger-row code { color: #0b1210 !important; }
html.se-bright .seal-ledger-row small, html.se-bright .seal-ledger-row em { color: rgba(11, 18, 16, .5) !important; }
html.se-bright .seal-ledger-empty { background: rgba(11, 18, 16, .04); border-color: rgba(11, 18, 16, .18); color: rgba(11, 18, 16, .55); }

/* Market detail and support journey. Chart and coherence stay dark instruments. */
html.se-bright .mk-page { background: #eef1ee !important; }
html.se-bright .market-detail-copy h2, html.se-bright .market-detail-copy dd { color: #0b1210 !important; }
html.se-bright .market-detail-copy p, html.se-bright .market-detail-copy dt { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .market-detail-seal b { color: #0b1210 !important; }
html.se-bright .sealed-market-story header h2 { color: #0b1210 !important; }
html.se-bright .sealed-market-story header p, html.se-bright .sealed-market-story header small { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .market-detail-ledger h2, html.se-bright .market-detail-ledger dd { color: #0b1210 !important; }
html.se-bright .market-detail-ledger p, html.se-bright .market-detail-ledger dt { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .exchange-flow-card, html.se-bright .exchange-authorize .authorize-instrument, html.se-bright .wallet-approval, html.se-bright .exchange-sidecar { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .1) !important; color: #0b1210 !important; }
html.se-bright .exchange-flow-card h2, html.se-bright .exchange-flow-card strong, html.se-bright .exchange-flow-card dd,
html.se-bright .authorize-instrument h2, html.se-bright .wallet-approval h3, html.se-bright .exchange-sidecar b { color: #0b1210 !important; }
html.se-bright .exchange-flow-card p, html.se-bright .exchange-flow-card dt, html.se-bright .authorize-instrument p,
html.se-bright .wallet-approval p, html.se-bright .exchange-sidecar p { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .exchange-executing h2, html.se-bright .exchange-complete h2 { color: #0b1210 !important; }
html.se-bright .exchange-executing p, html.se-bright .exchange-complete p { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .exchange-complete code { color: #0f7a86 !important; }

/* Seal journey page background and readable copy; the invoice paper already fits. */
html.se-bright body, html.se-bright .app-shell.view-seal { background: #eef1ee !important; }
html.se-bright .view-seal .seal-page-title h1, html.se-bright .view-seal .flow-heading h1 { color: #0b1210 !important; }
html.se-bright .view-seal .flow-heading p { color: rgba(11, 18, 16, .6) !important; }
html.se-bright .view-seal .readiness-card h2 { color: #0b1210 !important; }
html.se-bright .view-seal .readiness-card > p, html.se-bright .view-seal .plain-checks span { color: rgba(11, 18, 16, .62) !important; }
html.se-bright .view-seal .handoff-status b { color: #0b1210 !important; }
html.se-bright .view-seal .evidence-head b { color: #0b1210 !important; }
html.se-bright .view-seal .evidence-head span { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .origin-boundary { color: rgba(11, 18, 16, .62) !important; }
html.se-bright .view-seal .draft-actions button { background: rgba(11, 18, 16, .05) !important; border-color: rgba(11, 18, 16, .14) !important; color: #0b1210 !important; }

/* Bright mode: the detail surface panels lift to paper as well. */
html.se-bright .mk-page .exchange-terminal { background: transparent !important; }
html.se-bright .market-detail-page { background: transparent !important; }
html.se-bright .market-detail-native { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .08) !important; box-shadow: 0 14px 36px rgba(11, 18, 16, .06) !important; }
html.se-bright .market-detail-context { color: #0f7a86 !important; }
html.se-bright .market-detail-seal { background: rgba(15, 157, 99, .08) !important; }
html.se-bright .market-detail-seal small { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .sealed-market-story, html.se-bright .market-detail-ledger { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .08) !important; box-shadow: 0 14px 36px rgba(11, 18, 16, .06) !important; }
html.se-bright .sealed-market-story header small { color: #0f7a86 !important; }
html.se-bright .exchange-executing, html.se-bright .exchange-complete { background: transparent !important; }

/* Overall frame narrowed 15%: content, campaign and machine frames follow. */
:root {
  --content-max: 1260px;
  --campaign-frame: min(1224px, calc(100% - 64px));
  --machine-frame-width: min(85vw, 1275px);
}

/* Bright mode: seal form legibility follows the home paper/ink register. */
html.se-bright .view-seal .origin-boundary b { color: #0b1210 !important; }
html.se-bright .view-seal .origin-boundary span { color: rgba(11, 18, 16, .65) !important; }
html.se-bright .view-seal .origin-boundary > i { background: rgba(15, 122, 134, .12) !important; color: #0f7a86 !important; border-color: transparent !important; }
html.se-bright .view-seal .evidence-list { border-color: rgba(11, 18, 16, .12) !important; background: #ffffff !important; }
html.se-bright .view-seal .evidence-list > div { border-color: rgba(11, 18, 16, .08) !important; }
html.se-bright .view-seal .evidence-list b { color: #0b1210 !important; }
html.se-bright .view-seal .evidence-list small { color: rgba(11, 18, 16, .5) !important; }
html.se-bright .view-seal .evidence-list code { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .evidence-list > div > i { border-color: rgba(11, 18, 16, .16) !important; color: rgba(11, 18, 16, .6) !important; background: rgba(11, 18, 16, .04) !important; }
html.se-bright .view-seal .evidence-list > div > em { color: #0f9d63 !important; }
html.se-bright .view-seal .plain-checks span i { color: #0f9d63 !important; border-color: rgba(11, 18, 16, .18) !important; }
html.se-bright .view-seal .plain-checks span.done { color: #0b1210 !important; }
html.se-bright .view-seal .evidence-head button { color: #2563d6 !important; }
html.se-bright .view-seal .seal-page-title .eyebrow { color: #0f7a86 !important; }
html.se-bright .view-seal .class-tab:not(.is-active) { background: rgba(11, 18, 16, .07) !important; color: rgba(11, 18, 16, .6) !important; }
html.se-bright .view-seal .class-tab:not(.is-active):hover { background: rgba(11, 18, 16, .12) !important; color: #0b1210 !important; }

/* Bright mode: authorize screen legibility (rails, labels, order summary). */
html.se-bright .view-seal .auth-node-label { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .auth-rail-row { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .12) !important; box-shadow: none !important; }
html.se-bright .view-seal .auth-rail-row:hover { border-color: rgba(15, 122, 134, .45) !important; }
html.se-bright .view-seal .auth-rail-row.selected { background: rgba(15, 122, 134, .07) !important; box-shadow: inset 0 0 0 1.5px rgba(15, 122, 134, .5) !important; }
html.se-bright .view-seal .auth-rail-copy b, html.se-bright .view-seal .auth-rail-fact b { color: #0b1210 !important; }
html.se-bright .view-seal .auth-rail-copy small, html.se-bright .view-seal .auth-rail-fact small { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .rail-mark-logo { filter: none !important; }
html.se-bright .view-seal .scope-card { background: rgba(11, 18, 16, .04) !important; border-color: rgba(11, 18, 16, .1) !important; }
html.se-bright .view-seal .scope-card small { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .scope-card p { color: rgba(11, 18, 16, .68) !important; }
html.se-bright .view-seal .auth-summary-rows div span { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .auth-summary-rows div b { color: #0b1210 !important; }
html.se-bright .view-seal .auth-summary-rows div { border-color: rgba(11, 18, 16, .08) !important; }
html.se-bright .view-seal .auth-summary-total span { color: rgba(11, 18, 16, .55) !important; }
html.se-bright .view-seal .auth-summary-total b { color: #0b1210 !important; }
html.se-bright .view-seal .auth-summary { background: #ffffff !important; border: 1px solid rgba(11, 18, 16, .1) !important; box-shadow: none !important; }
html.se-bright .view-seal .flow-heading .eyebrow { color: #0f7a86 !important; }
html.se-bright .view-seal .flow-heading h1 { color: #0b1210 !important; }

/* Home process mock: the wireframe carries an avatar circle like a market card. */
.mock-window.has-avatar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; width: 250px; height: 110px; }
.mock-window.has-avatar .mock-avatar { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(from -90deg, #34d399, #60a5fa 46%, #a78bfa 72%, #c7ff31 90%, #34d399); padding: 3px; box-sizing: border-box; }
.mock-window.has-avatar .mock-avatar::before { content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; background: #11161a; }
.mock-window.has-avatar .mock-lines { min-width: 0; }
.mock-window.has-avatar .mock-lines span:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .mock-window.has-avatar { width: 210px; height: 96px; } .mock-window.has-avatar .mock-avatar { width: 38px; height: 38px; } }


/* Authenticated terminal nav carries four blocks: fill the row, no empty column */
.terminal-header.is-authenticated .terminal-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(340px, 1.34fr) !important; }
@media (max-width: 1260px) and (min-width: 761px) {
  .terminal-header.is-authenticated .terminal-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .terminal-header.is-authenticated .terminal-navigation .terminal-account { grid-column: 1 / -1 !important; }
}
@media (max-width: 760px) {
  .terminal-header.is-authenticated .terminal-navigation { grid-template-columns: none !important; grid-auto-columns: minmax(178px, 46vw) !important; }
}

/* ===== Links: no default rule anywhere. Hover draws one, deliberately. ===== */
a, a:visited { text-decoration: none; }
.terminal-command, .terminal-command *, .terminal-account-main, .terminal-account-main *,
.terminal-logout, .terminal-logout *, .terminal-brand, .terminal-brand *,
.dock-back, .dock-back *, .button, .button *, .landing-cta, .landing-cta * { text-decoration: none !important; }

/* Nav blocks: a lit edge grows from the left, no underline. */
.terminal-command { position: relative; }
.terminal-command::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #c7ff31; transform: scaleX(0); transform-origin: left center; transition: transform .32s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.terminal-command:active::after, .terminal-command:focus-visible::after { transform: scaleX(1); }
.terminal-command.is-active::after { transform: scaleX(1); }

/* Text links inside content: a hairline that draws in on hover. */
.view-seals-page a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout),
.mk-page a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):not(.dock-back),
.pf a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout) {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .3s cubic-bezier(.16,1,.3,1);
}
.view-seals-page a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):focus-visible,
.view-seals-page a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):active,
.mk-page a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):not(.dock-back):focus-visible,
.mk-page a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):not(.dock-back):active,
.pf a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):focus-visible,
.pf a:not(.button):not(.terminal-command):not(.terminal-account-main):not(.terminal-logout):active { background-size: 100% 1px; }

/* The back control lifts rather than underlines. */
.dock-back { transition: background .22s ease, transform .22s cubic-bezier(.16,1,.3,1); }
.dock-back:active { transform: translateX(-2px); }

/* ===== MapLibre controls: seated inside the frame, brand weight ===== */
.maplibregl-ctrl-group { border-radius: 12px !important; overflow: hidden; background: rgba(10, 18, 16, .82) !important; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14) !important; box-shadow: 0 10px 26px rgba(6, 19, 17, .28) !important; }
.maplibregl-ctrl-group button { width: 32px !important; height: 32px !important; background: transparent !important; border: 0 !important; }
.maplibregl-ctrl-group button + button { border-top: 0; }
.maplibregl-ctrl-group button:hover { background: rgba(255, 255, 255, .1) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.6); }
.maplibregl-ctrl-top-right { top: 12px !important; right: 12px !important; }
.maplibregl-ctrl-bottom-right { bottom: 10px !important; right: 10px !important; }
.maplibregl-ctrl-attrib { border-radius: 8px !important; background: rgba(10, 18, 16, .72) !important; color: rgba(244, 241, 233, .8) !important; font: 500 10px Inter, sans-serif !important; padding: 3px 8px !important; }
.maplibregl-ctrl-attrib a { color: rgba(244, 241, 233, .9) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1) brightness(1.5); }

/* ===== Map harness: controls are bolted to the frame, not floating on it ===== */
.dm-map, .mk-map, .pf-map { position: relative; }
.maplibregl-ctrl-top-right { top: 0 !important; right: 0 !important; padding: 0 !important; }
.maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 0 !important; }
.maplibregl-ctrl-group { border-radius: 0 0 0 14px !important; overflow: hidden; background: rgba(8, 16, 14, .94) !important; border: 0 !important; border-left: 1px solid rgba(255, 255, 255, .14) !important; border-bottom: 0; box-shadow: none !important; display: flex !important; flex-direction: column; }
.maplibregl-ctrl-group button { width: 38px !important; height: 34px !important; background: transparent !important; border: 0 !important; }
.maplibregl-ctrl-group button + button { border-top: 0; }
.maplibregl-ctrl-group button:active { background: rgba(199, 255, 49, .22) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.7); }
.maplibregl-ctrl-bottom-right { bottom: 0 !important; right: 0 !important; padding: 0 !important; }
.maplibregl-ctrl-attrib { border-radius: 14px 0 0 0 !important; background: rgba(8, 16, 14, .82) !important; color: rgba(244, 241, 233, .78) !important; font: 500 9.5px Inter, sans-serif !important; padding: 5px 10px !important; margin: 0 !important; }
.maplibregl-ctrl-attrib a { color: rgba(244, 241, 233, .92) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1) brightness(1.5); }

/* Scroll stays with the page until the map is claimed by a click. */
.map-locked::after { content: "Click the map to zoom"; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; padding: 7px 14px; border-radius: 999px; background: rgba(8, 16, 14, .84); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); color: rgba(244, 241, 233, .84); font: 600 9.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.map-live { box-shadow: inset 0 0 0 2px rgba(199, 255, 49, .5); }

/* ===== Sealed artifact row: one card, used by the trenches, the map list and the profile ===== */
/* Jewel card skin (sealed artifact card anatomy) on trench rows, in both themes */
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row { background: #111614 !important; border: 1px solid rgba(255, 255, 255, .05) !important; box-shadow: none !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row:focus-visible, :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row.is-hot, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row:focus-visible, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row.is-hot { background: #131a17 !important; border-color: rgba(89, 220, 232, .3) !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-image { position: relative !important; border-radius: 50% !important; background: conic-gradient(from 210deg, #59dce8, #a78bfa, #ff8a42, #34d399, #59dce8) !important; overflow: visible !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-image img { position: absolute !important; inset: 3px !important; width: calc(100% - 6px) !important; height: calc(100% - 6px) !important; object-fit: cover !important; border-radius: 50% !important; border: 3px solid #111614; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main b, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main b { color: #f4f7f5 !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main em, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main em { font-weight: 700 !important; font-style: normal !important; letter-spacing: .16em !important; text-transform: uppercase; color: #101613 !important; background: #d7f75b !important; border-radius: 999px; padding: 3px 8px; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main > small, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main > small { color: rgba(244, 247, 245, .5) !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i { color: rgba(244, 247, 245, .5) !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i:first-child, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i:first-child { color: #59dce8 !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value b, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value b { color: #f4f7f5 !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value small, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value small { color: rgba(244, 247, 245, .5) !important; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value > span { background: rgba(255, 255, 255, .14) !important; border-radius: 999px; overflow: hidden; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value > span i { background: linear-gradient(90deg, #ff8a42, #d7f75b 55%, #59dce8) !important; border-radius: inherit; }
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats { border-top-color: rgba(255, 255, 255, .07) !important; }
html.se-bright .view-exchange .market-row-stats i { color: rgba(244, 247, 245, .55) !important; }
html.se-bright .view-exchange .market-row-stats .mrs-tier.tier-seed { color: #34d399 !important; }
html.se-bright .view-exchange .market-row-stats .mrs-tier.tier-bloom { color: #60a5fa !important; }
html.se-bright .view-exchange .market-row-stats .mrs-tier.tier-root { color: #a78bfa !important; }
html.se-bright .view-exchange .market-row-stats .mrs-quote { color: rgba(244, 247, 245, .8) !important; }
html.se-bright .view-exchange .market-row-stats .mrs-quote u.up { color: #59dce8 !important; }
html.se-bright .view-exchange .market-row-stats .mrs-quote u.down { color: #ff8a42 !important; }
html.se-bright .view-exchange .market-row-stats .mrs-goal, .view-exchange .market-row-stats .mrs-goal { color: rgba(244, 247, 245, .4) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i:first-child { color: #59dce8 !important; }
html.se-bright .view-exchange .market-row-stats .mrs-goal { color: rgba(11, 18, 16, .4); }
/* Map view: card list on the left of the map */
.dm-map-split { display: grid; grid-template-columns: minmax(300px, .72fr) 1.7fr; gap: 16px; height: 100%; min-height: 0; }
.dm-map-list { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.dm-map-list::-webkit-scrollbar { width: 5px; }
.dm-map-list::-webkit-scrollbar-thumb { background: rgba(89,220,232,.24); border-radius: 99px; }
.dm-list-empty, .dm-map-empty { padding: 22px 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.12); color: rgba(244,241,233,.55); font: 500 13px Inter, sans-serif; line-height: 1.5; }
.dm-map-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; background: rgba(10,18,16,.85); backdrop-filter: blur(6px); text-align: center; }
.dm-map-list .market-row.is-hot { background: #131a17 !important; border-color: rgba(89, 220, 232, .3) !important; }
.dm-map-split .dm-map { min-height: 0; }
@media (max-width: 860px) { .dm-map-split { grid-template-columns: 1fr; } }
/* Map view, full width */
.dm-map { position: relative; height: 100%; min-height: 460px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #0f211c, #0a1210 70%); border: 1px solid rgba(255,255,255,.08); }
.dm-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dm-pin { position: absolute; transform: translate(-50%, -100%); animation: dm-pin-drop .55s cubic-bezier(.3,1.25,.5,1) backwards; cursor: pointer; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); transition: transform .18s ease; border: 0; padding: 0; background: transparent; -webkit-tap-highlight-color: transparent; }
.dm-pin > svg { display: block; }
.dm-pin:focus-visible, .dm-pin.is-hot { transform: translate(-50%, -108%) scale(1.12); z-index: 6; }
.dm-pin:focus-visible { outline: 2px solid rgba(89,220,232,.7); outline-offset: 4px; border-radius: 10px; }
@keyframes dm-pin-drop { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -100%); } }
/* Pin tooltip card */
.dm-pin-tip { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translate(-50%, 4px); width: 236px; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 11px; row-gap: 2px; align-items: center; padding: 11px 13px; border-radius: 13px; background: rgba(8,15,13,.94); backdrop-filter: blur(8px); border: 1px solid rgba(89,220,232,.28); box-shadow: 0 14px 38px rgba(0,0,0,.5); opacity: 0; visibility: hidden; pointer-events: none; text-align: left; transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 8; }
.dm-pin:focus-visible .dm-pin-tip, .dm-pin.is-hot .dm-pin-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dm-pin-tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(89,220,232,.28); }
.dm-pin.tip-left .dm-pin-tip { left: auto; right: -14px; transform: translate(0, 4px); }
.dm-pin.tip-left:focus-visible .dm-pin-tip, .dm-pin.tip-left.is-hot .dm-pin-tip { transform: translate(0, 0); }
.dm-pin.tip-left .dm-pin-tip::after { left: auto; right: 22px; transform: none; }
.dm-pin.tip-right .dm-pin-tip { left: -14px; transform: translate(0, 4px); }
.dm-pin.tip-right:focus-visible .dm-pin-tip, .dm-pin.tip-right.is-hot .dm-pin-tip { transform: translate(0, 0); }
.dm-pin.tip-right .dm-pin-tip::after { left: 22px; transform: none; }
.dm-pin-tip .tip-logo { grid-row: 1 / 4; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: #0a1210; }
.dm-pin-tip .tip-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-pin-tip .tip-title { grid-column: 2; min-width: 0; display: flex; align-items: baseline; gap: 7px; }
.dm-pin-tip .tip-title b { font: 600 12.5px Inter, sans-serif; color: #f4f1e9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-pin-tip .tip-title em { flex: none; font: 600 8.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; font-style: normal; color: #59dce8; }
.dm-pin-tip .tip-loc { grid-column: 2; font: 500 10px Inter, sans-serif; color: rgba(244,241,233,.5); }
.dm-pin-tip .tip-funding { grid-column: 2; display: flex; align-items: baseline; gap: 6px; font: 700 13px Inter, sans-serif; color: #f4f1e9; }
.dm-pin-tip .tip-funding small { font: 500 9px "JetBrains Mono", ui-monospace, monospace; color: rgba(244,241,233,.45); }
.dm-pin-tip .tip-open { grid-column: 1 / 3; margin-top: 6px; padding-top: 7px; border-top: 0; font: 600 9.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #a9dcc0; }
.dm-map-legend { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: flex; gap: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(10,18,16,.72); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.08); font: 500 10px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,241,233,.7); }
.dm-map-legend b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.dm-map-legend b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
/* MapLibre GL layer */
.dm-map.gl-live .maplibregl-canvas { filter: invert(.93) sepia(.4) hue-rotate(95deg) saturate(.5) brightness(.82) contrast(.96); }
html.se-bright .dm-map.gl-live .maplibregl-canvas { filter: saturate(.42) hue-rotate(8deg) contrast(.97); }
.dm-gl { position: absolute; inset: 0; }
.dm-map.gl-live .dm-map-bg { display: none; }
.dm-map .maplibregl-map { font: inherit; }
.dm-map .maplibregl-marker { z-index: 2; }
.dm-map .maplibregl-marker:focus-within, .dm-map .maplibregl-marker:has(.dm-pin.is-hot) { z-index: 6; }
.dm-map .maplibregl-marker .dm-pin { position: relative; left: auto; top: auto; transform: none; animation: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.dm-map .maplibregl-marker .dm-pin:focus-visible, .dm-map .maplibregl-marker .dm-pin.is-hot { transform: none; }
.dm-map .maplibregl-marker .dm-pin > svg { transition: transform .18s ease; transform-origin: 50% 100%; }
.dm-map .maplibregl-marker .dm-pin:focus-visible > svg, .dm-map .maplibregl-marker .dm-pin.is-hot > svg { transform: scale(1.14); }
.dm-map .maplibregl-ctrl-top-right { top: 12px; right: 12px; }
.dm-map .maplibregl-ctrl-group { background: rgba(10, 18, 16, .85) !important; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; overflow: hidden; box-shadow: none !important; }
.dm-map .maplibregl-ctrl-group button { background: transparent !important; border: 0; }
.dm-map .maplibregl-ctrl-group button + button { border-top: 0; }
.dm-map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.4); }
.dm-map .maplibregl-ctrl-attrib { background: rgba(10, 18, 16, .78) !important; color: rgba(244, 241, 233, .72); font: 500 10.5px Inter, sans-serif; border-radius: 8px 0 0 0; padding: 3px 10px !important; }
.dm-map .maplibregl-ctrl-attrib a { color: #59dce8 !important; text-decoration: none; }
html.se-bright .dm-map .maplibregl-ctrl-group { background: rgba(255, 255, 255, .92) !important; border-color: rgba(11, 18, 16, .16); }
html.se-bright .dm-map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: none; }
html.se-bright .dm-map .maplibregl-ctrl-attrib { background: rgba(255, 255, 255, .88) !important; color: rgba(11, 18, 16, .65); }
html.se-bright .dm-map .maplibregl-ctrl-attrib a { color: #0f7a86 !important; }
.dm-map-legend .lg-created::before { background: #34d399; }
.dm-map-legend .lg-rising::before { background: #60a5fa; }
.dm-map-legend .lg-community::before { background: #a78bfa; }
/* Mobile: controls stack, categories scroll, map stacks above the list */
@media (max-width: 860px) {
  .dm-head { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .dm-toggle { order: 1; width: 100%; }
  .dm-toggle button { flex: 1; justify-content: center; min-height: 44px; }
  .dm-head .dm-controls { order: 2; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto; gap: 10px; }
  .dm-head .dm-controls button { flex: none; white-space: nowrap; min-height: 40px; }
  .dm-page .dm-head .market-search { min-height: 44px !important; }
  .dm-map-split { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 46vh) minmax(0, 1fr); }
  .dm-map { min-height: 300px; }
  .dm-map-list { order: 2; padding-right: 0; }
  .dm-map-split .dm-map { order: 1; }
  .dm-pin-tip { width: 210px; }
  .dm-view { min-height: 0; }
}

/* ===== Bright register: a true paper card. Same anatomy, light material. ===== */
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row { background: linear-gradient(158deg, #ffffff, #f3f6f3) !important; border: 1px solid rgba(11, 18, 16, .1) !important; box-shadow: 0 14px 34px rgba(6, 19, 17, .07) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row:focus-visible, html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row.is-hot { background: linear-gradient(158deg, #ffffff, #eef3ef) !important; border-color: rgba(8, 166, 150, .38) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-image img { border-color: #ffffff !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main b { color: #0b1210 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-main > small { color: rgba(11, 18, 16, .52) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i { color: rgba(11, 18, 16, .55) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-meta i:first-child { color: #0f7d55 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value b { color: #0b1210 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value small { color: rgba(11, 18, 16, .5) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value > span { background: rgba(11, 18, 16, .1) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-value > span i { background: linear-gradient(90deg, #e0742f, #a8c33a 55%, #2f9fb0) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats { border-top-color: rgba(11, 18, 16, .1) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats i { color: rgba(11, 18, 16, .6) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats .mrs-quote { color: rgba(11, 18, 16, .78) !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats .mrs-tier.tier-seed { color: #0f7d55 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats .mrs-tier.tier-bloom { color: #2563d6 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats .mrs-tier.tier-root { color: #6d4fd6 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats .mrs-quote u.up { color: #0f7a86 !important; }
html.se-bright :is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row-stats .mrs-quote u.down { color: #b4500f !important; }

/* The profile list inherits the same stats rail as the trenches. */
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 8px; margin-top: 8px; border-top: 0; font: 600 9.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .05em; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats i { font-style: normal; color: rgba(244, 241, 233, .55); white-space: nowrap; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-seed { color: #34d399; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-bloom { color: #60a5fa; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-root { color: #a78bfa; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote { color: rgba(244, 241, 233, .8); }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u { text-decoration: none; margin-left: 4px; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u.up { color: #59dce8; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u.down { color: #ff8a42; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-goal { margin-left: auto; color: rgba(244, 241, 233, .4); }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats { border-top-color: rgba(11, 18, 16, .08); }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats i { color: rgba(11, 18, 16, .55); }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-seed { color: #0f9d63; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-bloom { color: #2563d6; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-root { color: #6d4fd6; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote { color: rgba(11, 18, 16, .75); }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u.up { color: #0f7a86; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u.down { color: #b4500f; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats, html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats { border-top-color: rgba(255, 255, 255, .07) !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats i { color: rgba(244, 247, 245, .55) !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-seed { color: #34d399 !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-bloom { color: #60a5fa !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-tier.tier-root { color: #a78bfa !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote { color: rgba(244, 247, 245, .8) !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u.up { color: #59dce8 !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-quote u.down { color: #ff8a42 !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-goal, :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-goal { color: rgba(244, 247, 245, .4) !important; }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats .mrs-goal { color: rgba(11, 18, 16, .4); }
html.se-bright :is(.pf .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats { border-top-color: rgba(11, 18, 16, .1) !important; }

/* No rules, no dividers. Separation is spacing, never a line. */
.market-row-stats, .market-row .market-row-stats,
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row-stats, .witness-phone .pf-seal-list .market-row-stats, :is(.pf .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats,
:is(.view-exchange .exchange-surface-markets, .view-exchange .dm-map-list, .pf .pf-seal-list, .witness-phone .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats {
  border-top: 0 !important; padding-top: 12px !important; margin-top: 6px !important;
}
.pfs-row::after, .mk-gp-rows > div::after, .cn-ledger > div::after { display: none !important; content: none !important; }

/* ===== Dock: the primary action holds one line, the step ring reads whole ===== */
.seal-action-dock .dock-primary, .exchange-action-dock .dock-primary { min-width: 0 !important; }
.seal-action-dock .dock-primary > span, .exchange-action-dock .dock-primary > span { display: grid !important; gap: 2px !important; min-width: 0 !important; text-align: left !important; }
.seal-action-dock .dock-primary small, .exchange-action-dock .dock-primary small { white-space: nowrap !important; letter-spacing: .14em !important; font-size: 8.5px !important; }
.seal-action-dock .dock-primary b, .exchange-action-dock .dock-primary b { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; font-size: 14px !important; }
.dock-progress button i, .dock-progress button svg { flex: none !important; }
.dock-progress button i { border-radius: 50% !important; }

/* Profile column is narrower than the board: the row keeps its full width rail and a readable value. */
.pf .pf-seal-list .market-row { grid-template-columns: auto minmax(0, 1fr) minmax(96px, auto) !important; }
:is(.pf .pf-seal-list, .seal-start-artifact) .market-row .market-row-stats { grid-column: 1 / -1 !important; width: 100% !important; }
.pf .pf-seal-list .market-row-value b { white-space: nowrap !important; }
.pf .pf-seal-list .market-row-value small { white-space: nowrap !important; }
