/* Eclipse phone screens: values copied literally from ui_concepts/style2.css (mock2.html). Only used by screens/mk_screens.js. */
html[data-mk] { --mk-bg: #06070a; --mk-ink: #c3c8d2; --mk-ink-h: #d6dae2; --mk-ink2: #8f97a6; --mk-ink3: #737b8a; --mk-line: #ffffff17; --mk-blue: #5f8dff;
  --mk-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif; --mk-sans: 'Inter', 'Segoe UI', system-ui, sans-serif; }
html[data-mk], html[data-mk] body { background: var(--mk-bg); }
html[data-mk] .shell.earth-app::before { display: none; }
html[data-mk] .main { background: transparent; padding-left: 0; padding-right: 0; padding-top: var(--safe-t, 0px); }
html[data-mk] .topbar { padding-top: 10px; }

/* Moonlit hero (the Eclipse concept): dark planet whose top edge catches a white rim light, a thin light streak, and the faint starfield over both.
   Colours come from the concept's variables (--glow, --orb1, --orb2, --hz); Nebula and Ember re-tint them in style.css. Brightness (data-bright) scales rim + button. */
html[data-mk] { --acc: #eef0f5; --acc2: #b8bfce; --glow: #ffffff; --orb1: #2b2e36; --orb2: #030304; --hz: #ffffff; --btnbg: #f2f4f8; --btnfg: #07080a;
  --glow-rgb: 255,255,255; --mk-rim: 1; --mk-rim2: 0 0 0 0 transparent; --mk-streak: .9; }
html[data-mk][data-bright="soft"] { --mk-rim: .7; --mk-streak: .65; }
html[data-mk][data-bright="bright"] { --mk-rim2: 0 0 30px -8px var(--glow); --mk-streak: 1; }
html[data-mk][data-bright="soft"]:not([data-style="nebula"]):not([data-style="ember"]) { --btnbg: #cfd3da; }
html[data-mk][data-bright="bright"]:not([data-style="nebula"]):not([data-style="ember"]) { --btnbg: #ffffff; }
.mk-bg { position: absolute; left: 0; right: 0; top: calc(-1 * (47px + var(--safe-t, 0px))); height: 640px; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 60% at 50% 0%, #0d1018, #06070a 70%); }
.mk-bg::before { content: ""; position: absolute; left: -30%; right: -30%; top: -130px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 50% 100%, var(--orb1), var(--orb2) 62%); box-shadow: 0 0 90px -10px var(--glow), var(--mk-rim2); opacity: calc(.95 * var(--mk-rim)); }
.mk-bg-more::before, .mk-bg-ideas::before { box-shadow: 0 0 75px -12px rgba(var(--glow-rgb), .42), var(--mk-rim2); }
/* v38: the thin horizontal light streak is gone (owner: looked odd); the side rim light of the orb and the stars stay. */
html[data-night="1"] .mk-bg::before { opacity: .55; }
.mk-stars { position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(#fff8 1px, transparent 1.5px), radial-gradient(#fff5 1px, transparent 1.5px); background-size: 84px 66px, 130px 104px; background-position: 8px 6px, 46px 36px; opacity: .5; -webkit-mask-image: linear-gradient(#000, transparent 60%); mask-image: linear-gradient(#000, transparent 60%); }

/* top bar + bottom nav of the shell, restyled to the mockup */
html[data-mk] .bottom-nav { background: rgba(6,7,10,.92); border-top: 1px solid var(--mk-line); }
html[data-mk] .bottom-nav a { font: 400 12px/1.45 var(--mk-sans); color: var(--mk-ink3); }
html[data-mk] .bottom-nav a[aria-current="page"] { color: var(--mk-ink-h); font-weight: 600; }
html[data-mk][data-mock] .bottom-nav .nav-ic { display: none; }

/* screen */
.mk-scr { position: relative; z-index: 1; padding: 13px 16px 24px; display: flex; flex-direction: column; gap: 13px; font-family: var(--mk-sans); color: var(--mk-ink); line-height: 1.45; min-width: 0; }
.mk-scr * { box-sizing: border-box; }
.mk-greet { font-family: var(--mk-sans); font-weight: 650; font-size: clamp(26px, 7.5vw, 32px); line-height: 1.14; margin: 16px 0 0; color: #d2d6de; letter-spacing: -.025em; text-wrap: balance; }
.mk-greet.sm { margin-top: 12px; }
.mk-stat { margin: 0; font-size: 14px; color: #aab1c0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mk-stat span { color: var(--mk-ink2); }
.mk-stat.warn .mk-dot { background: #d3a867; box-shadow: 0 0 10px #d3a86788; }
.mk-dot { width: 8px; height: 8px; border-radius: 50%; background: #46e0a0; box-shadow: 0 0 10px #46e0a0; flex: none; }
.mk-sub { margin: 0; color: var(--mk-ink2); font-size: 14px; }
.mk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mk-tile { border: 1px solid var(--mk-line); border-radius: 18px; padding: 12px; background: #0d1016cc; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; gap: 4px; min-width: 0; color: inherit; text-decoration: none; align-content: start; }
.mk-tile b { font-size: 24px; font-weight: 600; color: #c9cdd6; line-height: 1.25; }
.mk-tile span { font-size: 14px; color: var(--mk-ink2); line-height: 1.3; }
.mk-tic { width: 28px; height: 28px; border-radius: 9px; background: #ffffff12; border: 1px solid var(--mk-line); display: block; }
.mk-tic.a { background: color-mix(in srgb, var(--acc) 22%, transparent); }
.mk-tic.b { background: color-mix(in srgb, var(--acc2) 22%, transparent); }
.mk-tic.c { background: #46e0a022; }
.mk-tic.d { background: #ffb35c24; }
.mk-tile em { font-style: normal; font-size: 12px; color: var(--mk-ink3); }
.mk-tile.warn em { color: #d3a867; }
.mk-row { display: flex; justify-content: space-between; align-items: center; }
.mk-row h2, .mk-snapshot-title { margin: 0; font-size: 17px; font-weight: 600; color: var(--mk-ink-h); }
.mk-snapshot-title { margin-top: 8px; }
.mk-row a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 8px; margin-inline-end: -8px; font-size: 13px; color: var(--mk-ink); text-decoration: none; }
.mk-agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mk-ag { display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; color: inherit; text-decoration: none; }
.mk-ag b { font-size: 12px; font-weight: 600; color: var(--mk-ink-h); }
.mk-st { font-size: 12px; color: var(--mk-ink2); }
.mk-ring { width: 64px; height: 64px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, var(--acc), transparent 40%, var(--acc2) 70%, var(--acc)); box-shadow: 0 0 22px -8px var(--glow); }
.mk-ring img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #07080c; display: block; }
/* lists */
.mk-list { display: grid; gap: 0; border: 1px solid var(--mk-line); border-radius: 18px; background: #0b0d12cc; overflow: hidden; }
.mk-li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--mk-line); color: inherit; text-decoration: none; }
.mk-list .mk-li:first-child { border-top: 0; }
.mk-li b { display: block; font-size: 15px; font-weight: 500; color: var(--mk-ink-h); }
.mk-li span { display: block; font-size: 13px; color: var(--mk-ink2); }
.mk-ic { width: 34px; height: 34px; border-radius: 11px; background: #ffffff0d; border: 1px solid var(--mk-line); flex: none; display: grid; place-items: center; color: var(--mk-ink2); }
.mk-legacy { border: 1px solid var(--mk-line); border-radius: 18px; background: #0b0d12cc; }
/* empty needs */
.mk-empty { display: grid; justify-items: center; text-align: center; gap: 6px; margin-top: 96px; }
.mk-empty h2 { font-family: var(--mk-serif); font-weight: 500; font-size: 28px; margin: 6px 0 0; color: var(--mk-ink-h); }
.mk-empty p { margin: 0; color: var(--mk-ink2); font-size: 14px; }
.mk-cube { position: relative; width: 96px; height: 96px; margin-top: 20px; }
.mk-cube i { position: absolute; inset: 0; border: 1px solid #ffffff30; border-radius: 14px; background: linear-gradient(135deg, #ffffff1a, #ffffff05); }
.mk-cube i:nth-child(1) { transform: translate(-10px, 10px) rotate(-8deg); }
.mk-cube i:nth-child(2) { transform: rotate(6deg); background: linear-gradient(135deg, #9fb4ff26, #ffffff05); }
.mk-cube i:nth-child(3) { transform: translate(12px, -10px) rotate(14deg); border-color: #9fb4ff55; }
.mk-card2 { border: 1px solid var(--mk-line); border-radius: 16px; padding: 12px 14px; background: #0b0d12cc; margin-top: 30px; }
.mk-card2 small { letter-spacing: .14em; color: var(--mk-ink3); font-size: 11px; }
.mk-card2 ul { margin: 8px 0 0; padding-left: 18px; color: var(--mk-ink2); font-size: 14px; display: grid; gap: 4px; }
/* ideas */
.mk-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0; border: 1px solid var(--mk-line); border-radius: 16px; background: #0b0d12cc; text-align: center; }
.mk-nums > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 13px 4px; }
.mk-nums > div + div { border-inline-start: 1px solid var(--mk-line); }
.mk-nums dt { font-size: 13px; color: var(--mk-ink2); }
.mk-nums dd { margin: 0; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mk-ink-h); }
.mk-shortlist h2 { margin: 3px 0 9px; font-size: 16px; font-weight: 600; }
.mk-shortlist .mk-li > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mk-shortlist .mk-li > svg { flex: none; color: var(--mk-ink2); }
.mk-list .mk-li:focus-visible { outline-offset: -3px; }
/* "More on this screen" */
.mk-more { border: 1px solid var(--mk-line); border-radius: 16px; background: #0b0d12cc; margin-top: 6px; }
.mk-more > summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font: 500 15px var(--mk-sans); color: var(--mk-ink-h); }
.mk-more > summary::-webkit-details-marker { display: none; }
.mk-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--mk-ink2); border-bottom: 2px solid var(--mk-ink2); transform: rotate(45deg); }
.mk-more[open] > summary::after { transform: rotate(-135deg); }
.mk-more-body { padding: 0 6px 14px; }
.mk-more-body .page { padding-left: 0; padding-right: 0; }

html[data-mk] .main { padding-top: var(--safe-t, 0px); }

html[data-mk] .topbar { position: relative; z-index: 2; }
html[data-mk] .topbar { height: 47px; box-sizing: border-box; padding: 14px 0 0; margin: 0; align-items: center; } html[data-mk] .topbar .mark { width: 28px; height: 28px; } html[data-mk] .topbar .icon-btn { min-height: 33px; }

/* wordmark header (phone): | M  MASON VENTURES  ... search, notification circle */
@media (max-width: 560px) {
  html[data-mk] .topbar .mobile-only.row { border-left: 3px solid var(--acc); padding-left: 8px; gap: 10px !important; min-height: 44px; align-self: center; margin-left: 2px; }
  html[data-mk] .topbar .mobile-only .mark { width: 22px; height: 22px; }
  html[data-mk] .topbar .mobile-only .wordmark { display: inline; font: 400 12px var(--mk-sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: #dfe3ec; }
  html[data-mk] .topbar a.icon-btn svg { display: none; }
  html[data-mk] .topbar a.icon-btn::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #fff9; box-sizing: border-box; }
  html[data-mk] .topbar a.icon-btn .dot { top: 12px; right: 11px; width: 7px; height: 7px; background: var(--acc); box-shadow: none; }
}
.mk-tic { display: flex; align-items: center; justify-content: center; color: #c3c8d2; }
.mk-tic svg { display: block; opacity: .92; }
.mk-tic.a { color: color-mix(in srgb, var(--acc) 85%, #fff 15%); }
.mk-tic.b { color: color-mix(in srgb, var(--acc2) 85%, #fff 15%); }
.mk-tic.c { color: #6fd9a8; }
.mk-tic.d { color: #e6b872; }
