/* Vyve rep app · Graphite direction. Tokens measured from VYVEOS-Graphite-App-Layouts.pdf
   (390x844 frames, 1 CSS px = 0.75 pt). Text floors raised to 11px for field use (see README). */
@font-face { font-family: "Noto Sans"; src: url("assets/NotoSans.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #030f12; --frame: #091215;
  --card: #152126; --card-line: #34454c;
  --tile: #1b3037; --tile-line: #3c525c;
  --hero: #172b31; --hero-line: #3c5b65;
  --pill: #1c2b31; --pill-line: #3a4b54; --ctl-line: #6d8790; /* interactive boundaries raised to >=3:1 (WCAG 1.4.11) */
  --divider: #2b3c44; --tabline: #354850;
  --track: #2b3f47; --teal: #27dfd7; --teal-2: #38ddd4; --teal-text: #33e1d8; --teal-hi: #b1fffa;
  --on-teal: #062022;
  --chip: #163934; --chip-line: #2d6258; --chip-text: #8defd2;
  --amber: #ffcb70; --amber-bg: #322d22; --amber-line: #63563c; --amber-title: #ffd28c; --amber-body: #d4c4a5;
  --chip-amber: #3c3321; --chip-amber-line: #625439; --chip-grey: #2d3b43; --chip-grey-line: #465a66; --chip-grey-text: #a4b9c4;
  --kv-rule: #2e424b; --kv-key: #a7bdc9; --btn2: #22373e; --btn2-text: #e5eff4;
  --state: #15262e; --state-line: #3a525f; --state-eyebrow: #89a6b7; --state-body: #b3c7d3;
  --choice: #1c3039; --choice-on: #184440; --choice-on-line: #67c8bb; --choice-on-text: #a0f3dc;
  --t1: #f5f8fa; --t2: #b7c5ce; --t-sub: #adbbc6; --t-meta: #afc0ca; --t-eyebrow: #8fa5b1;
  --t-row: #a9bdc8; --t-quote: #e0ecef; --t-attr: #9bb2bf; --t-tab: #a3b6c2; --t-nav: #c7d7df; --icon: #b8c8d0;
  --you: #1a393b; --you-line: #478681;
  --r-card: 18px; --r-tile: 13px; --r-btn: 18px; --r-hero: 15px; --r-state: 17px; --r-warn: 13px; --r-row: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--t1); font-family: "Noto Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
button, select { font: inherit; color: inherit; }
.phone { position: relative; max-width: 390px; min-height: 100vh; margin: 0 auto; overflow-x: hidden;
  background:
    radial-gradient(175px 85px at 50% 87.7%, rgba(36, 108, 112, .66) 0%, rgba(24, 84, 90, .4) 55%, rgba(3, 15, 18, 0) 100%),
    radial-gradient(320px 185px at 50% 88.3%, rgba(8, 42, 46, 1) 0%, rgba(8, 40, 44, .92) 55%, rgba(3, 15, 18, 0) 100%),
    var(--bg); background-attachment: fixed; }
.screen { padding: 25px 24px 128px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }

/* header */
.hdr { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: -4px; }
.logo { width: 110px; height: 21.5px; display: block; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 0; background: none; border: 0; color: #d4e2e8; font-size: 13px; cursor: pointer; }
.back svg { width: 16px; height: 16px; }
.picker { position: relative; display: inline-flex; align-items: center; height: 44px; }
.picker::before { content: ""; position: absolute; inset: 4.5px 0; border-radius: 17.5px; background: var(--pill); border: 1px solid var(--ctl-line); pointer-events: none; }
.picker select { position: relative; appearance: none; -webkit-appearance: none; height: 44px; field-sizing: content; max-width: 200px; padding: 0 34px 0 14px; background: transparent; border: 0; color: #bfced6; font-size: 11px; cursor: pointer; text-overflow: ellipsis; }
.picker select option { background: #152126; color: var(--t1); font-size: 14px; }
.picker svg { position: absolute; right: 12px; width: 11px; height: 11px; pointer-events: none; color: var(--icon); }

.eyebrow { margin: 7px 0 0; font-size: 11px; letter-spacing: .107em; text-transform: uppercase; color: var(--t-eyebrow); }
h1 { margin: 9px 0 0; font-size: 31px; line-height: 1.22; font-weight: 700; letter-spacing: -.033em; }
.subtitle { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--t-sub); }
.fresh { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--t-meta); }
.fresh svg { width: 13px; height: 13px; color: var(--icon); flex: none; }

/* banners */
.banner { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-warn); font-size: 12px; line-height: 1.45; }
.banner svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.banner b { display: block; font-size: 13px; }
.banner.warn { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-body); }
.banner.warn b { color: var(--amber-title); }
.banner.info { background: var(--tile); border: 1px solid var(--tile-line); color: var(--t2); }
.banner .act { margin-left: auto; }

/* underline tabs */
.utabs { display: flex; gap: 0; margin-top: 18px; border-bottom: 1px solid var(--tabline); overflow-x: auto; scrollbar-width: none; }
.utabs button { flex: none; min-height: 44px; padding: 0 12px; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 13px; color: var(--t-tab); cursor: pointer; }
.utabs button:first-child { padding-left: 0; }
.utabs button[aria-selected="true"] { color: var(--teal-text); border-bottom-color: var(--teal-text); }
.utabs button[aria-selected="true"]:first-child { border-image: linear-gradient(to right, var(--teal-text), var(--teal-text)) 0 0 1 0 / 0 0 2px 0; }

/* cards */
.card { margin-top: 20px; padding: 20px; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-card); }
.card .eyebrow { margin: 0; font-size: 11px; }
.eb-amber { color: var(--amber) !important; }
.eb-teal { color: var(--teal-2) !important; }
.card h2 { margin: 8px 0 0; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.card p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--t2); }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; color: var(--t-meta); }
.meta svg { width: 13px; height: 14px; color: var(--icon); flex: none; }

.btn { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 4px; width: 100%; min-height: 50px; margin-top: 18px; padding: 0 17px; border-radius: var(--r-btn); border: 0; background: var(--teal); color: var(--on-teal); font-size: 14px; text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--teal-hi), 0 15px 14px -6px rgba(0,0,0,.2); }
.btn svg { margin-left: auto; flex: none; width: 17px; height: 15px; color: rgba(6,32,34,.55); }
.btn2 { display: flex; align-items: center; justify-content: flex-start; gap: 4px; width: 100%; min-height: 50px; margin-top: 16px; padding: 0 14px; border-radius: var(--r-warn); background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--btn2-text); font-size: 14px; cursor: pointer; text-align: left; }
.btn2 svg { margin-left: auto; flex: none; width: 18px; height: 18px; color: var(--icon); }
.caption { margin-top: 10px; font-size: 11px; line-height: 1.5; color: var(--t-row); text-align: center; }
.caption.left { text-align: left; }

/* section heads */
.sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.sec h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.sec .side { font-size: 11px; color: #a4b9c4; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--chip); border: 1px solid var(--chip-line); color: var(--chip-text); font-size: 11px; white-space: nowrap; }
.chip.amber { background: var(--chip-amber); border-color: var(--chip-amber-line); color: var(--amber); }
.chip.grey { background: var(--chip-grey); border-color: var(--chip-grey-line); color: var(--chip-grey-text); }
.bar { height: 4px; margin-top: 12px; border-radius: 2px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal-2); }

/* rows */
.rows { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 61px; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--divider); text-align: left; cursor: pointer; color: inherit; }
.row:last-child { border-bottom: 1px solid var(--divider); }
.row .ic { width: 20px; height: 20px; color: var(--icon); flex: none; margin-left: 2px; }
.row .tx { flex: 1; min-width: 0; }
.row .t { display: block; font-size: 13px; font-weight: 700; color: var(--t1); }
.row .s { display: block; margin-top: 4px; font-size: 11px; line-height: 1.45; color: var(--t-row); }
.row .chev { width: 8px; height: 13px; color: var(--icon); flex: none; margin-right: 5px; }
.row[aria-disabled="true"] { cursor: default; }
.row .r { font-size: 14px; font-weight: 700; text-align: right; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 36px; padding: 9px 0; border-top: 1px solid var(--kv-rule); font-size: 11px; color: var(--kv-key); }
.kv b { color: var(--t1); font-weight: 700; text-align: right; }

/* quote */
.quote { margin-top: 14px; padding: 2px 0 2px 13px; border-left: 2px solid #39dbd2; }
.quote + .quote { margin-top: 14px; }
.quote q { display: block; font-size: 14px; line-height: 1.5; color: var(--t-quote); quotes: "\201C" "\201D"; }
.quote .attr { margin-top: 6px; font-size: 11px; color: var(--t-attr); }
.muted { font-size: 13px; line-height: 1.5; color: var(--t-row); }

/* stat tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 104px; padding: 14px 14px 12px; background: var(--tile); border: 1px solid var(--ctl-line); border-radius: var(--r-tile); text-align: left; cursor: pointer; color: inherit; }
.tile .lbl { font-size: 12px; color: #c3d1d8; }
.tile .val { margin-top: 6px; font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; color: var(--t1); }
.tile .val.nid { font-size: 13px; font-weight: 700; color: var(--amber); line-height: 1.35; margin-top: 10px; }
.tile .sub { margin-top: 4px; font-size: 11px; line-height: 1.4; color: var(--t-row); }
.tile.flag { border-color: #a3843f; box-shadow: inset 0 0 0 1px rgba(255,203,112,.18); }
.tile .flagtx { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 11px; color: var(--amber); }
.tile .flagtx svg { width: 12px; height: 12px; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.shortcut { display: flex; align-items: center; gap: 10px; min-height: 63px; padding: 0 18px; background: var(--tile); border: 1px solid var(--ctl-line); border-radius: var(--r-tile); font-size: 12px; color: var(--t1); cursor: pointer; text-align: left; }
.shortcut svg { width: 18px; height: 18px; color: var(--icon); flex: none; }

/* big number (earnings style) */
.big { margin-top: 8px; font-size: 47px; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; }
.big.nid { font-size: 22px; color: var(--amber); }
.two { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--divider); }
.two > div + div { padding-left: 18px; border-left: 1px solid var(--divider); }
.two .l { font-size: 11px; color: #acc1ce; }
.two .v { margin-top: 6px; font-size: 25px; font-weight: 700; }
.two .v.nid { font-size: 13px; color: var(--amber); line-height: 1.4; }
.note { display: flex; gap: 10px; margin-top: 16px; font-size: 11px; line-height: 1.5; color: #abc0ca; }
.note svg { width: 15px; height: 15px; flex: none; color: var(--icon); margin-top: 1px; }

/* learn */
.hero { position: relative; display: flex; flex-direction: column; margin-top: 20px; min-height: 161px; padding: 16px 18px 14px; background: var(--hero); border: 1px solid var(--hero-line); border-radius: var(--r-hero); overflow: hidden; }
.hero .logo { width: 72px; height: 14px; }
.hero .ht { margin: 16px 64px 0 0; font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -.022em; }
.hero .play { position: absolute; right: 22px; top: 58px; width: 46px; height: 46px; border-radius: 50%; background: #28505a; border: 1px solid #729ca4; display: grid; place-items: center; cursor: pointer; color: var(--icon); }
.hero .play svg { width: 22px; height: 22px; }
.hero .hcap { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; font-size: 11px; color: #d0e0e6; }
.lesson-h { margin: 15px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.lesson-p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--t2); }
.prog { display: flex; justify-content: space-between; margin-top: 17px; font-size: 11px; color: #afc5cf; }
.prog b { font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; text-align: center; }
.steps .step { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 2px 0; background: none; border: 0; border-radius: var(--r-row); cursor: pointer; color: inherit; }
.steps .step[aria-current="step"] { background: var(--choice-on); box-shadow: inset 0 0 0 1px var(--choice-on-line); }
.steps .step[aria-current="step"] .d { color: var(--choice-on-text); }
.steps svg { width: 22px; height: 20px; color: var(--icon); }
.steps .n { display: block; margin-top: 5px; font-size: 11px; color: var(--t1); }
.steps .d { display: block; margin-top: 1px; font-size: 11px; color: #a8bac7; }
.hero .hrow { display: flex; justify-content: space-between; align-items: center; }
.notes { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--t2); }
.notes li + li { margin-top: 6px; }
.md.blk { margin-top: 12px; }
.md blockquote { margin: 0 0 12px; padding: 10px 14px; border-left: 2px solid var(--teal-2); color: var(--t-quote); background: rgba(21,33,38,.6); }
.md.real_results { padding: 14px 16px; background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: var(--r-warn); color: var(--amber-body); }
.md.real_results p { margin: 0 0 8px; } .md.real_results p:last-child { margin: 0; }
.md .rr-label { font-size: 11px; letter-spacing: .107em; text-transform: uppercase; color: var(--amber-title); }
.transcript { margin-top: 10px; padding: 12px 14px; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-tile); font-size: 13px; line-height: 1.55; color: var(--t2); }
.transcript p { margin: 0 0 6px; } .transcript p.hot { color: var(--t1); } .transcript .ts { color: var(--t-attr); font-size: 11px; }
.transcript p.hot .ts { color: var(--teal-text); }
.row.course .chip { flex: none; }
.row[aria-current="true"] .t { color: var(--teal-text); }
.rpwalk { margin-top: 12px; }
.rp { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--kv-rule); font-size: 13px; line-height: 1.5; color: var(--t2); }
.rp .who { flex: none; width: 74px; font-size: 11px; color: var(--t-attr); padding-top: 2px; }
.rp.rep span:last-child { color: var(--t1); }
.rpb { display: flex; flex-direction: column; gap: 4px; padding: 0 0 8px 84px; font-size: 12px; color: var(--t-row); }
.drill .reveal + .reveal { margin-left: 8px; }
.drill { margin-top: 14px; padding: 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-card); }
.drill .q { font-size: 14px; line-height: 1.5; color: var(--t-quote); }
.drill .tags { display: flex; gap: 6px; margin-bottom: 10px; }
.drill .ans { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--t2); }
.drill .ans b { color: var(--t1); }
.drill .reveal { min-height: 44px; margin-top: 10px; padding: 0 14px; border-radius: var(--r-row); background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--t1); font-size: 12px; cursor: pointer; }
.md { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--t2); }
.md p, .md ul { margin: 0 0 12px; }
.md ul { padding-left: 20px; }
.md strong { color: var(--t1); }
.fill { padding: 0 4px; border-radius: 4px; background: var(--amber-bg); color: var(--amber); border: 1px dashed var(--amber-line); }

/* states */
.state-card { margin-top: 20px; padding: 24px 20px 20px; background: var(--state); border: 1px solid var(--state-line); border-radius: var(--r-state); }
.state-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.state-card .eyebrow { margin: 0; font-size: 11px; color: var(--state-eyebrow); }
.state-card h2 { margin: 12px 0 0; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.018em; }
.state-card p { margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: var(--state-body); }
.state-card .btn2 { min-height: 44px; border-radius: var(--r-row); font-size: 11px; }
.state-card .top svg { width: 20px; height: 20px; color: var(--icon); flex: none; }
.state-card .foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--divider); font-size: 11px; color: var(--t-row); }
.sk { background: linear-gradient(90deg, #13232a 0%, #1b3037 50%, #13232a 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* leaderboard */
.lbmeta { display: flex; justify-content: space-between; margin-top: 18px; font-size: 11px; color: #9cb6c2; }
.lbmeta b { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--t1); }
.lbmeta > div:last-child { text-align: right; }
.lb { margin-top: 16px; }
.lbrow { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 12px; border-top: 1px solid #38525d; }
.lbrow .chip { height: 21px; }
.lbrow .rk { width: 26px; font-size: 20px; color: #86aab6; text-align: center; flex: none; }
.lbrow .nm { flex: 1; min-width: 0; }
.lbrow .nm b { display: block; font-size: 13px; }
.lbrow .nm > span { display: block; margin-top: 4px; font-size: 11px; color: #a9c2cc; }
.lbrow svg { width: 20px; height: 18px; color: var(--icon); }
.lbrow.you { background: var(--you); border: 1px solid var(--you-line); border-radius: var(--r-row); }
.lbrow.you .rk { color: #75e6d7; }
.lbrow.you + .lbrow { border-top-color: transparent; }

/* ISP segmented chips (leaderboard scope) */
.seg { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--choice); border: 1px solid var(--ctl-line); font-size: 11px; color: var(--t1); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--choice-on); border-color: var(--choice-on-line); color: var(--choice-on-text); }

/* tab bar */
.tabbar { position: fixed; left: 50%; bottom: 23px; transform: translateX(-50%); width: 364px; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; border-radius: 35px; background: rgba(38, 62, 69, .937); border: 1px solid #8ba9ad;
  box-shadow: 0 24px 20px -12px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); z-index: 10; }
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 64px; min-width: 61px; padding: 0 7px; border: 0; border-radius: 28px; background: none; color: var(--t-nav); font-size: 11px; cursor: pointer; }
.tabbar button svg { width: 21px; height: 21px; color: var(--icon); }
.tabbar button[aria-current="page"] { background: var(--teal); color: var(--on-teal); box-shadow: inset 0 0 0 1px #abfff8; }
.tabbar button[aria-current="page"] svg { color: var(--on-teal); }

/* bottom sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(1,8,10,.7); display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: 100%; max-width: 390px; max-height: 85vh; overflow-y: auto; padding: 10px 24px 32px; background: var(--card); border: 1px solid var(--card-line); border-bottom: 0; border-radius: 20px 20px 0 0; }
.sheet .grab { width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: #4a6068; }
.sheet h2 { margin: 6px 0 0; font-size: 22px; }
.sheet .bigv { margin-top: 8px; font-size: 40px; font-weight: 700; }

.tagrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 11px; color: var(--t-meta); }
.tagrow .chip { flex: none; }
.tagrow span:last-child { text-align: right; }

.utabs.lesson-tabs { margin-top: 12px; }
.steps + .btn { margin-top: 16px; }

/* Practice scores + install check-ins (Graphite) */
.score { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--kv-rule); }
.score .muted { margin-top: 6px; font-size: 12px; }
.rate { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 4px; font-size: 12px; color: var(--kv-key); }
.rate-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.rate .rate-btns { margin-top: 0; }
.rate-btns button { min-height: 44px; border-radius: var(--r-row); background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--t1); font-size: 14px; font-weight: 700; cursor: pointer; }
.rate-btns button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.btn:disabled, .btn2:disabled, .drill .reveal:disabled, .ckrow .reveal:disabled { opacity: .45; cursor: default; }
.moment { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 10px 12px; text-align: left; border-radius: var(--r-row); background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--t2); font-size: 12px; line-height: 1.45; cursor: pointer; }
.xpmsg { display: block; margin-top: 10px; font-size: 12px; line-height: 1.45; color: var(--chip-text); }
.xp { color: var(--teal-text); }
.ckrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--kv-rule); }
.ckrow .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ckrow .tx b { font-size: 13px; color: var(--t1); }
.ckrow .tx > span { font-size: 11px; color: var(--kv-key); }
.ckrow .reveal { flex: none; min-height: 44px; padding: 0 14px; border-radius: var(--r-row); background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--t1); font-size: 12px; cursor: pointer; }
.banner .reveal { flex: none; min-height: 44px; padding: 0 14px; border-radius: var(--r-row); background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--t1); font-size: 12px; cursor: pointer; }

/* Opportunities: filters, request note, manager add-area form */
.oppsel, .oppfld { appearance: none; -webkit-appearance: none; background: var(--btn2); border: 1px solid var(--ctl-line); color: var(--t1); font: inherit; font-size: 14px; }
.oppsel option { background: #152126; color: var(--t1); }
.oppfld::placeholder { color: var(--t-meta); }
.oppsel:focus-visible, .oppfld:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }
html { scroll-padding-bottom: 128px; scroll-padding-top: 12px; }
.opp-isp { margin-top: 12px; padding: 0; overflow: hidden; scroll-margin-top: 12px; }
.opp-isp.open { border-color: var(--ctl-line); }
.opp-isp-hd { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 16px 18px; background: none; border: 0; color: var(--t1); text-align: left; cursor: pointer; }
.opp-isp-hd:focus-visible { outline: 2px solid var(--teal-text); outline-offset: -2px; border-radius: var(--r-card); }
.opp-isp-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.opp-isp-nm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.opp-isp-meta { font-size: 12px; color: var(--kv-key); }
.opp-mine { color: var(--teal-text); }
.opp-isp-types { display: flex; gap: 6px; flex-wrap: wrap; }
.opp-chev { flex: none; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--btn2); color: var(--t2); transition: transform .18s ease; }
.opp-chev svg { width: 16px; height: 16px; }
.opp-isp.open .opp-chev { transform: rotate(90deg); }
.opp-isp-body { padding: 0 18px 16px; border-top: 1px solid var(--kv-rule); }
.opp-filt { display: flex; gap: 10px; margin-top: 14px; }
.opp-filt label { flex: 1; min-width: 0; }
.opp-filt .oppsel, .opp-filt .oppfld { width: 100%; min-height: 44px; border-radius: 12px; padding: 0 12px; }
#oppIspList .opp-st { margin: 20px 0 2px; }
.opp-st + .ckrow { border-top: 0; }
@media (prefers-reduced-motion: reduce) { .opp-chev { transition: none; } }
