/* WORK — a work app, not a landing page: a sidebar with the coin, the sections and the payroll clock; a quiet white
   workspace on the right. Instrument Sans for everything, DM Mono for every number. One accent: hi-vis yellow, used for
   what is happening right now (the shift running, people on shift) and the mark. */
:root {
  --bg: #ffffff;
  --side: #f6f6f3;
  --ink: #121211;
  --ink-2: #44443f;
  --muted: #7a7a72;
  --faint: #ababa3;
  --line: #ececE7;
  --line-2: #dddcd5;
  --hover: #f3f3ef;
  --hi: #ffd400;
  --hi-soft: #fff7cc;
  --hi-ink: #4a3d00;
  --cell: #efefea;
  --cell-1: #cfcfc7;
  --cell-2: #8a8a82;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --side-w: 252px;
  --max: 1160px;
  --r: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14.5px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--hi); color: var(--ink); }
.mono, .num { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.label { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { margin: 0; }
.h-display { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.ul { border-bottom: 1px solid var(--line-2); }
.ul:hover { border-color: var(--ink); }

/* ---------- the app frame ---------- */
#top { position: fixed; left: 0; top: 0; bottom: 0; width: var(--side-w); background: var(--side); border-right: 1px solid var(--line); z-index: 30; }
main.wrap, #foot { margin-left: var(--side-w); }
.wrap { max-width: calc(var(--max) + 80px); padding: 0 40px; }
main.wrap { min-height: calc(100vh - 64px); padding-top: 8px; }
.side { display: flex; flex-direction: column; height: 100%; padding: 18px 14px 14px; gap: 14px; overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px; }
.brand .mark { width: 28px; height: 28px; border-radius: 7px; }
.brand b { font: 700 18px/1 var(--sans); letter-spacing: -.03em; }
.brand .ver { margin-left: auto; }

.coinbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 10px; }
.coinbox .c1 { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coinbox .c1 img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--side); }
.coinbox .c1 b { display: block; font-weight: 600; font-size: 14.5px; }
.coinbox .c1 span { display: block; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.coinbox .c1 .ca { cursor: pointer; }
.coinbox .c1 .ca:hover { color: var(--ink); }
.coinbox .c2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coinbox .c2 div { font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.coinbox .c2 b { display: block; font: 500 13.5px/1.3 var(--mono); color: var(--ink); }

.snav { display: flex; flex-direction: column; gap: 1px; }
.snav a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 9px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.snav a svg { width: 17px; height: 17px; color: var(--muted); }
.snav a:hover { background: var(--hover); color: var(--ink); }
.snav a.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04); }
.snav a.on svg { color: var(--ink); }
.snav .n { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--faint); }
.snav .sep { height: 1px; background: var(--line); margin: 8px 9px; }

.paybox { margin-top: auto; background: var(--ink); color: #fff; border-radius: var(--r); padding: 13px 13px 12px; }
.paybox .k { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .55); display: flex; justify-content: space-between; }
.paybox .t { font: 500 34px/1 var(--mono); letter-spacing: -.04em; margin: 10px 0 10px; }
.paybox .t.wait { font-size: 16px; letter-spacing: 0; }
.paybox .bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.paybox .bar i { display: block; height: 100%; width: 0; background: var(--hi); transition: width 1s linear; }
.paybox .s { margin-top: 10px; font: 400 12px/1.45 var(--mono); color: rgba(255, 255, 255, .62); }
.paybox .s b { color: #fff; font-weight: 500; }
.side .me { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 8px; background: var(--hi); color: var(--ink); font-weight: 600; font-size: 14px; }
.side .me:hover { filter: brightness(.97); }

/* small screens: the sidebar becomes a top bar with a drawer */
.mbar { display: none; }

/* ---------- page toolbar ---------- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 30px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.ph h1 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.ph .label { display: block; margin-bottom: 10px; }
.ph p { margin: 8px 0 0; max-width: 620px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.figs { display: flex; gap: 8px; flex-wrap: wrap; }
.fig { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; min-width: 128px; background: #fff; }
.fig .k { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fig .v { margin-top: 8px; font: 500 19px/1 var(--mono); letter-spacing: -.02em; white-space: nowrap; }
.fig .s { margin-top: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2c2c2a; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.hi { background: var(--hi); color: var(--ink); border-color: var(--hi); }
.btn.hi:hover { filter: brightness(.97); }
.btn.big { height: 44px; padding: 0 20px; font-size: 15px; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 7px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .35; cursor: default; }
.btn svg { width: 14px; height: 14px; }
.icon-btn { width: 36px; height: 36px; border: 1px solid var(--line-2); background: #fff; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 11px/1 var(--mono); border: 1px solid var(--line-2); color: var(--ink-2); background: #fff; white-space: nowrap; }
.pill.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.blue, .pill.hi { background: var(--hi); border-color: var(--hi); color: var(--ink); }
.pill.sim { border-style: dashed; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 0 3px rgba(255, 212, 0, .25); flex: none; }
.dot.off { background: var(--faint); box-shadow: none; }
.dot.live { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 212, 0, 0); } }

/* ---------- today (home) ---------- */
.today-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 0 18px; flex-wrap: wrap; }
.today-h h1 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.today-h .date { font: 400 13px/1 var(--mono); color: var(--muted); margin-top: 8px; }
.intro { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--side); margin-bottom: 18px; }
.intro .sq { width: 10px; height: 10px; border-radius: 2px; background: var(--hi); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.intro p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.intro p b { color: var(--ink); font-weight: 600; }

.shift { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 28px; overflow: hidden; }
.shift > div { padding: 18px 20px; }
.shift-l { border-right: 1px solid var(--line); }
.shift-t { font: 500 46px/1 var(--mono); letter-spacing: -.05em; margin-top: 12px; }
.shift-t.wait { font-size: 20px; letter-spacing: 0; line-height: 1.2; }
.shift-m { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ticks { display: grid; grid-template-columns: repeat(60, 1fr); gap: 3px; height: 34px; }
.ticks i { background: var(--cell); border-radius: 2px; }
.ticks i.on { background: var(--hi); }
.ticks i.on:last-of-type, .ticks i.now { background: var(--ink); }
.shift-axis { display: flex; justify-content: space-between; font: 400 11px/1 var(--mono); color: var(--faint); }
.shift-r { display: flex; gap: 0; border-left: 1px solid var(--line); padding: 0 !important; }
.shift-r > div { padding: 18px 20px; border-right: 1px solid var(--line); min-width: 150px; display: flex; flex-direction: column; justify-content: center; }
.shift-r > div:last-child { border-right: 0; }
.shift-r .v { font: 500 19px/1.1 var(--mono); letter-spacing: -.02em; margin-top: 8px; white-space: nowrap; }
.shift-r .s { margin-top: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }

.cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; margin-bottom: 36px; }
.block-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.block-h h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.block-h h2 .n { font: 400 12.5px/1 var(--mono); color: var(--faint); }
.block-h a { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.block-h a:hover { color: var(--ink); }
.block-h a svg { width: 13px; height: 13px; }
.box { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }

/* the job checklist */
.task { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; padding: 15px 16px; border-bottom: 1px solid var(--line); align-items: start; }
.task:last-child { border-bottom: 0; }
a.task:hover { background: var(--hover); }
.ji { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; }
.ji img { width: 22px; height: 22px; }
.ji.x { background: var(--ink); border-color: var(--ink); color: #fff; }
.ji.x svg { width: 16px; height: 16px; }
.task .ck { width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 6px; margin-top: 1px; display: flex; align-items: center; justify-content: center; font: 500 11px/1 var(--mono); color: var(--faint); }
.task .t1 { font-weight: 600; font-size: 14.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.task .t2 { margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.task .t3 { margin-top: 8px; display: flex; gap: 14px; font: 400 12px/1 var(--mono); color: var(--muted); flex-wrap: wrap; }
.task .t3 b { color: var(--ink); font-weight: 500; }
.task .pts { text-align: right; font: 500 15px/1 var(--mono); white-space: nowrap; }
.task .pts small { display: block; margin-top: 6px; font: 400 11.5px/1 var(--mono); color: var(--muted); }

/* ---------- the timesheet grid ---------- */
.sheet { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; min-width: 900px; }
.sheet th { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 11px 12px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--side); }
.sheet td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet tr:hover td { background: #fbfbf9; }
.sheet .num, .sheet th.num { text-align: right; }
.cells { display: grid; grid-auto-flow: column; grid-auto-columns: 6px; gap: 2px; height: 18px; }
.cells i { background: var(--cell); border-radius: 1.5px; }
.cells i.l1 { background: var(--cell-1); }
.cells i.l2 { background: var(--cell-2); }
.cells i.l3 { background: var(--ink); }
.cells i:last-child { box-shadow: 0 0 0 1.5px var(--hi); }
.cells.big { grid-auto-columns: 10px; height: 26px; gap: 3px; }
.cells.dense { grid-auto-columns: 3px; gap: 1px; }
.legend { display: flex; gap: 12px; align-items: center; font: 400 11.5px/1 var(--mono); color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 12px; border-radius: 1.5px; background: var(--cell); display: inline-block; }
.legend i.l1 { background: var(--cell-1); } .legend i.l2 { background: var(--cell-2); } .legend i.l3 { background: var(--ink); }

/* people */
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--side); flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.av.lg { width: 60px; height: 60px; }
.av.md { width: 36px; height: 36px; }
.av.sq { border-radius: 7px; }
.who .nm { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; max-width: 190px; display: block; }
.who .sub { display: block; font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
a.who:hover .nm { text-decoration: underline; }
.rank { font: 400 12px/1 var(--mono); color: var(--faint); width: 26px; }

/* the three jobs as small boxes: C callout · X post · U uniform */
.jb { display: inline-flex; gap: 3px; }
.jb i { height: 22px; padding: 0 7px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font: 500 11.5px/1 var(--sans); font-style: normal; background: var(--cell); color: var(--faint); }
.jb i.on { background: var(--ink); color: #fff; }
.jb i.half { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.jb.sim i.on { background: var(--cell-2); }
.ptsbar { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.ptsbar .b { width: 56px; height: 5px; background: var(--cell); border-radius: 3px; overflow: hidden; }
.ptsbar .b i { display: block; height: 100%; background: var(--ink); }
.st { font: 500 12px/1 var(--mono); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st.working { color: var(--ink); }
.st.working::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.st.sold { color: var(--faint); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.tbl { width: 100%; border-collapse: collapse; min-width: 760px; }
.tbl th { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 11px 14px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--side); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-family: var(--mono); font-feature-settings: 'tnum'; white-space: nowrap; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #fbfbf9; }
.tbl tr.dim td { color: var(--faint); }
.tbl tr.open td { background: var(--side); }
.tbl .sub-row td { background: var(--side); padding: 4px 14px 16px; }
.box > .tbl-wrap, .box .tbl-wrap { border: 0; border-radius: 0; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; font-weight: 600; }

/* toolbar: tabs, sort, search */
.tools { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; flex-wrap: wrap; }
.tabs { display: inline-flex; gap: 2px; background: var(--side); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.tabs button { height: 28px; padding: 0 11px; border: 0; background: transparent; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--muted); border-radius: 6px; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .05); }
.tabs button span { font: 400 11.5px/1 var(--mono); color: var(--faint); margin-left: 5px; }
.search { margin-left: auto; height: 36px; width: 260px; max-width: 100%; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; background: #fff; font-size: 13.5px; outline: none; }
.search:focus { border-color: var(--ink); }
.sel { height: 36px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 30px 0 11px; background: #fff; font-size: 13.5px; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }

/* pages of 30 */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; flex-wrap: wrap; }
.pg-info { font: 400 12px/1 var(--mono); color: var(--muted); }
.pg-btns { display: flex; gap: 4px; align-items: center; }
.pg { height: 30px; min-width: 30px; padding: 0 9px; border: 1px solid var(--line-2); background: #fff; border-radius: 7px; cursor: pointer; font: 400 12.5px/1 var(--mono); }
.pg.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pg[disabled] { opacity: .35; cursor: default; }
.pg-gap { color: var(--faint); padding: 0 4px; }

/* ---------- feed (work log) ---------- */
.feed { display: flex; flex-direction: column; }
.ev { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ev:last-child { border-bottom: 0; }
.ev .av { width: 36px; height: 36px; }
.ev .line1 { font-size: 14px; line-height: 1.45; }
.ev .line1 b { font-weight: 600; }
.ev .line1 .act { color: var(--muted); }
.ev .txt { margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; max-height: 7.5em; overflow: hidden; }
.ev .meta { margin-top: 8px; display: flex; gap: 14px; font: 400 11.5px/1 var(--mono); color: var(--muted); flex-wrap: wrap; align-items: center; }
.ev .meta a:hover { color: var(--ink); text-decoration: underline; }
.ev .when { font: 400 11.5px/1 var(--mono); color: var(--faint); white-space: nowrap; text-align: right; padding-top: 2px; }
.ev .media { margin-top: 10px; width: 200px; height: 120px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: var(--side); }
.ev .kind { display: inline-block; font: 500 10.5px/1 var(--mono); text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: var(--side); color: var(--ink-2); margin-right: 7px; vertical-align: 1px; border: 1px solid var(--line); }
.ev .kind.x { background: var(--ink); color: #fff; border-color: var(--ink); }
.feed.compact .ev { padding: 11px 14px; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
.feed.compact .ev .av { width: 28px; height: 28px; }
.feed.compact .ev .line1 { font-size: 13.5px; }
.feed.compact .ev .txt { font-size: 13px; max-height: 3em; margin-top: 3px; color: var(--muted); }
.box > .feed > .ev { padding-left: 16px; padding-right: 16px; }

/* payslip */
.slip { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--side); border-radius: var(--r) var(--r) 0 0; }
.slip-head h3 { font-size: 14px; font-weight: 600; }
.slip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 16px; font-size: 14px; }
.slip-row .p { display: none; }
.slip-row .v { font: 400 13px/1 var(--mono); text-align: right; min-width: 92px; }
.slip-foot { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px dashed var(--line-2); font: 400 12px/1.4 var(--mono); color: var(--muted); }
.slip-foot b { color: var(--ink); font-weight: 500; }

.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
.sec { margin: 0 0 40px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-head h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.sec-head .label { display: block; margin-bottom: 6px; }
.sec-head .side { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sec-note { font-size: 13px; color: var(--muted); }

/* ---------- contracts ---------- */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ccard { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 11px; background: #fff; }
a.ccard:hover { border-color: var(--line-2); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.ccard .top { display: flex; align-items: center; gap: 11px; }
.ccard .top img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: var(--side); }
.ccard .top b { display: block; font-weight: 600; font-size: 14.5px; }
.ccard .top span { font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.ccard .top .pill { margin-left: auto; }
.ccard .row { display: flex; justify-content: space-between; font: 400 12.5px/1 var(--mono); color: var(--muted); }
.ccard .row b { color: var(--ink); font-weight: 500; }
.meter { height: 5px; background: var(--cell); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); }
.ccard .brief { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.crow { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 150px; gap: 16px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.crow:last-child { border-bottom: 0; }
a.crow:hover { background: var(--hover); }
.crow .k { font: 400 11.5px/1 var(--mono); color: var(--muted); }
.crow .v { font: 500 13.5px/1.2 var(--mono); margin-top: 5px; }

/* forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 13px; background: #fff; font-size: 14.5px; outline: none; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--hi-soft); }
textarea.input { height: 80px; padding: 11px 13px; resize: vertical; line-height: 1.45; }
.input.mono { font-family: var(--mono); font-size: 13.5px; }
.seg { display: inline-flex; gap: 2px; background: var(--side); border: 1px solid var(--line); border-radius: 9px; padding: 3px; width: 100%; }
.seg button { flex: 1; height: 34px; border: 0; background: transparent; cursor: pointer; font: 400 13.5px/1 var(--mono); border-radius: 6px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .05); }
.hint { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.45; }
.err { color: #b3261e; font-size: 13.5px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: #fff; }
.panel.ink { border: 1px solid var(--ink-2); }
.panel.paper { background: var(--side); }
.pay { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: start; }
.qr { width: 170px; height: 170px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; }
.qr svg, .qr img { width: 100%; height: 100%; }
.copyline { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 0 0 12px; height: 40px; font: 400 12.5px/1 var(--mono); overflow: hidden; }
.copyline span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.copyline button { height: 100%; border: 0; border-left: 1px solid var(--line-2); background: var(--side); padding: 0 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; }

/* ---------- timecard (/me) ---------- */
.tc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); margin-top: 18px; background: #fff; }
.tc-head h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.tc-head .sub { font: 400 12px/1.5 var(--mono); color: var(--muted); margin-top: 3px; word-break: break-all; }
.score { text-align: right; }
.score .v { font: 500 44px/1 var(--mono); letter-spacing: -.04em; }
.score .v small { font-size: 18px; color: var(--faint); letter-spacing: 0; }
.score .s { font: 400 12px/1.4 var(--mono); color: var(--muted); margin-top: 6px; }
.jobs-card { border: 1px solid var(--line); border-radius: var(--r); margin-top: 14px; overflow: hidden; }
.jobrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) 110px; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: start; }
.jobrow:last-child { border-bottom: 0; }
.jobrow .box { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font: 500 15px/1 var(--mono); background: var(--cell); color: var(--faint); border: 0; }
.jobrow .box.on { background: var(--hi); color: var(--ink); }
.jobrow .box img { width: 24px; height: 24px; }
.jobrow .box svg { width: 17px; height: 17px; }
.jobrow .box:not(.on):not(.half) img { filter: grayscale(1); opacity: .45; }
.jobrow .box.x.on { background: var(--ink); color: #fff; }
.hicon { display: inline-flex; vertical-align: -5px; margin-right: 10px; }
.hicon.ji { width: 30px; height: 30px; }
.hicon.ji img { width: 20px; height: 20px; }
.jobrow .box.half { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.jobrow h3 { font-size: 15.5px; font-weight: 600; }
.jobrow .state { margin-top: 3px; font: 400 12.5px/1.4 var(--mono); }
.jobrow .state.ok { color: var(--ink); }
.jobrow .state.no { color: var(--muted); }
.jobrow .do { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.jobrow .do b { color: var(--ink); }
.jobrow .acts { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.jobrow .pv { text-align: right; font: 500 20px/1 var(--mono); }
.jobrow .pv small { display: block; margin-top: 6px; font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.quote { margin-top: 10px; padding: 10px 12px; border-left: 2px solid var(--hi); background: var(--side); border-radius: 0 6px 6px 0; font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.lookup { display: flex; gap: 8px; max-width: 720px; }
.lookup .input { flex: 1; font-family: var(--mono); font-size: 13.5px; }

/* ---------- long text (jobs, how) ---------- */
.doc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
.toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 1px; }
.toc a { padding: 6px 10px; font-size: 13.5px; color: var(--muted); border-radius: 7px; }
.toc a:hover { color: var(--ink); background: var(--hover); }
.toc a.on { color: var(--ink); background: var(--side); box-shadow: inset 2px 0 0 var(--hi); }
.doc-body { max-width: 740px; }
.doc-body section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.doc-body section:last-child { border-bottom: 0; }
.doc-body .label { display: block; margin-bottom: 8px; }
.doc-body h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.doc-body h3 { font-size: 15px; font-weight: 600; margin: 20px 0 6px; }
.doc-body p, .doc-body li { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.doc-body p { margin: 0 0 12px; }
.doc-body ul, .doc-body ol { margin: 0 0 12px; padding-left: 20px; }
.doc-body code { font: 400 13px/1 var(--mono); background: var(--side); border: 1px solid var(--line); padding: 2px 5px; border-radius: 5px; }
.spec { width: 100%; border-collapse: collapse; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec td, .spec th { border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14px; vertical-align: top; }
.spec tr:last-child td { border-bottom: 0; }
.spec th { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--side); }
.spec td.num, .spec th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.spec td:first-child { font-weight: 600; }
.callout-box { border: 1px solid var(--line); border-left: 3px solid var(--hi); padding: 12px 14px; border-radius: 0 8px 8px 0; background: var(--side); margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 4px 0 18px; }
.flow > div { padding: 13px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; position: relative; }
.flow > div > b { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 6px; background: var(--hi); font: 500 11px/1 var(--mono); color: var(--ink); margin-bottom: 10px; }
.flow > div > span { font-size: 13.5px; font-weight: 500; line-height: 1.4; display: block; color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 17px/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 8px 0 0; }

/* the split of the fees */
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.split > div { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.split .pct { font: 500 26px/1 var(--mono); letter-spacing: -.03em; }
.split .t { margin-top: 10px; font-weight: 600; }
.split .s { margin-top: 3px; font-size: 13px; color: var(--muted); }
.split .bar2 { height: 5px; background: var(--ink); margin-top: 12px; border-radius: 3px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 56px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px 24px; padding: 18px 40px 26px; flex-wrap: wrap; font-size: 13px; color: var(--muted); max-width: calc(var(--max) + 80px); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
.foot-ca { font: 400 12px/1 var(--mono); cursor: pointer; }
.foot-ca:hover { color: var(--ink); }

/* live bits */
.up { animation: up 1.2s ease-out; }
@keyframes up { 0% { background: var(--hi-soft); } 100% { background: transparent; } }
.fresh-in { animation: fin .5s ease-out; }
@keyframes fin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 15px; border-radius: 8px; font-size: 13.5px; z-index: 100; animation: fin .2s ease-out; }

/* ---------- small screens ---------- */
@media (max-width: 1240px) {
  .shift { grid-template-columns: 180px minmax(0, 1fr); }
  .shift-r { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .shift-r > div { flex: 1; }
  .cgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  #top { position: sticky; top: 0; width: auto; bottom: auto; height: auto; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(246, 246, 243, .96); backdrop-filter: blur(8px); }
  main.wrap, #foot { margin-left: 0; }
  .wrap { padding: 0 16px; }
  .side { display: none; position: fixed; inset: 56px 0 0 0; background: var(--side); z-index: 40; }
  .side.open { display: flex; }
  .side .brand { display: none; }
  .mbar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px 0 16px; }
  .mbar .clockmini { margin-left: auto; font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: 7px; background: var(--ink); color: #fff; }
  .mbar .clockmini b { color: var(--hi); font-weight: 500; }
  .cols, .two { grid-template-columns: 1fr; gap: 28px; }
  .shift { grid-template-columns: 1fr; }
  .shift-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .shift-r { flex-wrap: wrap; }
  .shift-r > div { min-width: 0; flex: 1 1 33%; padding: 14px; }
  .ph { padding: 22px 0 18px; }
  .doc { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .flow { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .tc-head { grid-template-columns: auto minmax(0, 1fr); }
  .score { grid-column: 1 / -1; text-align: left; }
  .pay { grid-template-columns: 1fr; }
  .crow { grid-template-columns: 1fr 1fr; }
  .foot-in { padding: 18px 16px 24px; }
}
@media (max-width: 640px) {
  .cgrid { grid-template-columns: 1fr; }
  .search { margin-left: 0; width: 100%; }
  .intro { grid-template-columns: auto minmax(0, 1fr); }
  .intro .btn { grid-column: 1 / -1; }
  .jobrow { grid-template-columns: 36px minmax(0, 1fr); }
  .jobrow .box { width: 36px; height: 36px; }
  .jobrow .pv { grid-column: 2; text-align: left; }
  .ev { grid-template-columns: 32px minmax(0, 1fr); }
  .ev .av { width: 32px; height: 32px; }
  .ev .when { grid-column: 2; text-align: left; }
  .lookup { flex-direction: column; }
  .task { grid-template-columns: 34px minmax(0, 1fr); }
  .task .pts { grid-column: 2; text-align: left; }
  .figs .fig { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- work cards: an X post vs a pump.fun callout ---------- */
.cards { display: flex; flex-direction: column; gap: 10px; }
.cards.wide { max-width: 720px; }
.pc { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px; display: grid; gap: 10px; }
.pc-x { border-left: 3px solid var(--ink); }
.pc-pump { border-left: 3px solid #4fbf7f; }
.pc-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pc-src { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: 6px; font: 600 12px/1 var(--sans); white-space: nowrap; }
.pc-src.x { background: var(--ink); color: #fff; }
.pc-src.x svg { width: 12px; height: 12px; }
.pc-src.pump { background: #effaf3; color: #155c33; box-shadow: inset 0 0 0 1px #cfeedd; }
.pc-src.pump img { width: 15px; height: 15px; }
.pc-tag { font: 400 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; }
.pc-when { margin-left: auto; font: 400 11.5px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.pc-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
a.pc-who:hover b { text-decoration: underline; }
.pc-nm { min-width: 0; }
.pc-nm b { font-weight: 600; font-size: 14.5px; }
.pc-nm span { display: block; font: 400 12px/1.35 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-nm .vf { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-left: 4px; }
.pc-txt { font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; color: var(--ink); }
.pc-media { display: grid; gap: 3px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--side); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-media.n1 img { max-height: 380px; }
.pc-media.n2, .pc-media.n3, .pc-media.n4 { grid-template-columns: 1fr 1fr; }
.pc-media.n2 img, .pc-media.n3 img, .pc-media.n4 img { height: 190px; }
.pc-media.n3 img:first-child { grid-row: span 2; height: 383px; }
.pc-stats { display: flex; gap: 22px; font: 400 13px/1 var(--mono); color: var(--muted); flex-wrap: wrap; }
.ps { display: inline-flex; align-items: center; gap: 6px; }
.ps svg { width: 16px; height: 16px; }
.pc-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pc-foot a { display: inline-flex; align-items: center; gap: 5px; }
.pc-foot a:hover { color: var(--ink); }
.pc.compact { padding: 12px 14px; gap: 8px; }
.pc.compact .pc-txt { font-size: 14px; max-height: 4.5em; overflow: hidden; }
.pc.compact .pc-media.n1 img { max-height: 170px; }
.pc.compact .pc-stats { gap: 16px; font-size: 12.5px; }
.pc-mini { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.pc-mini .ji { width: 28px; height: 28px; flex: none; }
.pc-mini .ji img { width: 18px; height: 18px; }
.pc-mini .ji.x svg { width: 13px; height: 13px; }
.pc-minit { font-size: 14px; color: var(--ink-2); min-width: 0; }

/* small source marks in headings */
.block-h h2 .ji { width: 22px; height: 22px; border-radius: 6px; }
.block-h h2 .ji img { width: 15px; height: 15px; }
.ji.x-sm { background: var(--ink); color: #fff; border-color: var(--ink); font: 600 11px/1 var(--sans); }
/* the log: timeline + right rail */
.logcols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.rail { position: sticky; top: 20px; }
.rail-row { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.rail-row:last-child { border-bottom: 0; }
.rail-row:hover { background: var(--hover); }
.rail-t { min-width: 0; }
.rail-t b { display: block; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-t span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-v { font: 500 13.5px/1.1 var(--mono); text-align: right; }
.rail-v small { display: block; font: 400 10.5px/1 var(--mono); color: var(--muted); margin-top: 3px; }
@media (max-width: 1240px) { .logcols { grid-template-columns: 1fr; } .rail { position: static; } }

/* the jobs in lists: the same tags as the live cards */
.jts { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.jt { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px 0 6px; border-radius: 6px; font: 600 11.5px/1 var(--sans); white-space: nowrap; color: var(--faint); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.jt img { width: 13px; height: 13px; filter: grayscale(1); opacity: .45; }
.jt svg { width: 10px; height: 10px; }
.jt.pump.on { background: #effaf3; color: #155c33; box-shadow: inset 0 0 0 1px #cfeedd; }
.jt.pump.on img { filter: none; opacity: 1; }
.jt.x.on { background: var(--ink); color: #fff; box-shadow: none; }
.jts.sim .jt.on { opacity: .8; }

/* profile: what is still not done */
.todos { display: grid; gap: 8px; }
.todo { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--hi); border-radius: 10px; background: #fff; }
.todo .ji.hold { font: 600 14px/1 var(--mono); }
.todo-t { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.todo-t b { color: var(--ink); }
.alldone { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--side); font-size: 14px; font-weight: 500; }
.alldone .sq { width: 10px; height: 10px; border-radius: 2px; background: var(--hi); }
@media (max-width: 640px) { .todo { grid-template-columns: 34px minmax(0, 1fr); } .todo .btn { grid-column: 2; justify-self: start; } }

.tabs .tabic { display: inline-flex; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; align-items: center; justify-content: center; }
.tabs .tabic img { width: 14px; height: 14px; }
.tabs .tabic.x { background: var(--ink); color: #fff; border-radius: 4px; }
.tabs .tabic.x svg { width: 9px; height: 9px; }

/* ---------- launchpad ---------- */
.snav.pad { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.snav.pad a:nth-child(2) svg { color: var(--ink); }
.home-coin { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--hi); border-radius: 12px; background: #fff; }
.home-coin:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
.home-coin .cc-img { width: 76px; height: 76px; }
.hc-figs { display: flex; gap: 28px; margin-top: 10px; flex-wrap: wrap; }
.hc-figs span { display: block; font: 400 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.hc-figs b { display: block; margin-top: 6px; font: 500 17px/1 var(--mono); }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.cc { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .12s, box-shadow .12s; }
a.cc:hover { border-color: var(--line-2); box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
.cc-img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--side); }
.cc-b { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cc-t { display: flex; align-items: center; gap: 7px; min-width: 0; flex-wrap: wrap; }
.cc-t b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.cc-t > span:not(.pill) { font: 400 12.5px/1 var(--mono); color: var(--muted); }
.cc-mc { font: 400 12.5px/1.2 var(--mono); color: var(--muted); }
.cc-mc b { color: var(--ink); font-weight: 500; }
.chg { margin-left: 4px; font: 500 12px/1 var(--mono); }
.chg.up { color: #15803d; } .chg.dn { color: #b3261e; }
.cc-d { font-size: 13px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-s { margin-top: auto; display: flex; gap: 12px; font: 400 11.5px/1 var(--mono); color: var(--muted); flex-wrap: wrap; }
.cc-s .dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; vertical-align: 1px; box-shadow: none; }
.ph > .btn { align-self: center; }

.launch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.lform { max-width: 640px; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; }
.tick { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; overflow: hidden; }
.tick:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--hi-soft); }
.tick span { padding: 0 0 0 12px; font: 500 14px/1 var(--mono); color: var(--muted); }
.tick .suf { padding: 0 12px; }
.tick .input { border: 0; box-shadow: none !important; }
.drop { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 150px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--side) center / cover no-repeat; cursor: pointer; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.drop b { color: var(--ink); }
.drop.over { border-color: var(--ink); }
.drop.has { min-height: 220px; align-items: flex-end; }
.drop.has #drop-t { background: rgba(255, 255, 255, .92); padding: 6px 10px; border-radius: 7px; }
.socials summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
.socials summary::-webkit-details-marker { display: none; }
.socials summary::before { content: '+ '; font-family: var(--mono); color: var(--muted); }
.socials[open] summary::before { content: '− '; }
.lside { position: sticky; top: 20px; }
.lside > .label { display: block; margin-bottom: 8px; }
.cc.prev { pointer-events: none; }
.lsplit { display: grid; gap: 8px; margin-top: 12px; }
.lsplit div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 13.5px; color: var(--ink-2); }
.lsplit b { font: 500 16px/1 var(--mono); color: var(--ink); }
.ljobs { display: grid; gap: 9px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.ljobs div { display: flex; align-items: center; gap: 10px; }
.ljobs .ji { width: 26px; height: 26px; flex: none; border-radius: 7px; }
.ljobs .ji img { width: 16px; height: 16px; }
.ljobs .ji.x { font: 600 11px/1 var(--sans); }
#pay { max-width: 820px; }
#pay h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.paydone { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.paydone h2 { margin: 8px 0 6px; }
.paydone .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 1100px) { .launch { grid-template-columns: 1fr; } .lside { position: static; } }
@media (max-width: 640px) { .lrow { grid-template-columns: 1fr; } .home-coin { grid-template-columns: 56px minmax(0, 1fr); } .home-coin .cc-img { width: 56px; height: 56px; } .home-coin > .btn { display: none; } }

.field label.drop { font: 400 13.5px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0; }
.field label.drop b { font-weight: 600; }

.ltabs { margin: 0 0 18px; }
.ltabs a { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.ltabs a:hover { color: var(--ink); }
.ltabs a.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .05); }

.cc-w { display: flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--muted); }
.cc-w b { color: var(--ink); font-weight: 500; }
.faces { display: inline-flex; }
.faces img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -7px; background: var(--side); }
.faces img:first-child { margin-left: 0; }

/* profile: the streak, the breakdowns, the posts of the day */
.streak { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px 28px; align-items: center; margin-top: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.streak .label { display: block; margin-bottom: 6px; }
.streak b { font: 500 17px/1 var(--mono); }
.streak .steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.streak .steps span { font: 400 11.5px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--side); color: var(--faint); border: 1px solid var(--line); }
.streak .steps span.on { background: var(--hi); color: var(--ink); border-color: var(--hi); }
.streak .s { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.breakdown { margin-top: 6px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.postlist { margin-top: 10px; display: grid; gap: 4px; }
.postlist a { display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; border-radius: 7px; background: var(--side); font-size: 13px; }
.postlist a:hover { background: var(--hover); }
.postlist span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.postlist b { font: 500 12px/1.4 var(--mono); white-space: nowrap; }
.mult { font: 500 11px/1 var(--mono); padding: 3px 5px; border-radius: 4px; background: var(--hi); color: var(--ink); margin-left: 4px; }
@media (max-width: 760px) { .streak { grid-template-columns: 1fr 1fr; } .streak .steps { grid-column: 1 / -1; justify-content: flex-start; } }

/* which coin a callout or post is about */
.pc-coin { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px 0 4px; border-radius: 6px; font: 600 12px/1 var(--sans); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); white-space: nowrap; }
.pc-coin img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.pc-coin:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.coinfilter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.coinfilter button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border-radius: 7px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font: 600 12.5px/1 var(--sans); }
.coinfilter button:first-child { padding-left: 10px; }
.coinfilter button img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.coinfilter button span { font: 400 11.5px/1 var(--mono); color: var(--faint); }
.coinfilter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.coinfilter button.on span { color: rgba(255, 255, 255, .6); }

/* inside a coin launched on Work: the way back, and where you are */
.backhome { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.backhome svg { width: 14px; height: 14px; transform: rotate(180deg); }
.backhome:hover { box-shadow: 0 0 0 1px var(--ink-2); }
.coinbox.other { box-shadow: inset 3px 0 0 var(--hi); }
.onwork { font: 500 11px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.crumb { display: flex; align-items: center; gap: 8px; padding: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb b { color: var(--ink); font-weight: 600; }
.crumb span { color: var(--faint); }
.crumb .crumb-home { margin-left: auto; font-weight: 600; color: var(--ink); }
.crumb + .ph, .crumb + .today-h { padding-top: 14px; }

/* the sidebar: Work on top, the coin you are on below its heading */
.sgroup { display: flex; align-items: center; justify-content: space-between; padding: 12px 9px 0; border-top: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sgroup a { text-transform: none; letter-spacing: 0; font: 600 12.5px/1 var(--sans); color: var(--ink-2); }
.sgroup a:hover { color: var(--ink); text-decoration: underline; }
.coinbox a.c1:hover b { text-decoration: underline; }
.coinbox .c3 { display: flex; justify-content: space-between; align-items: center; font: 400 12px/1 var(--mono); color: var(--muted); }
.coinbox .c3 .ca { cursor: pointer; }
.coinbox .c3 .ca:hover { color: var(--ink); }
.coinbox .c3 a { display: inline-flex; align-items: center; gap: 4px; font: 600 12.5px/1 var(--sans); color: var(--ink); padding: 6px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.coinbox .c3 a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.coinbox .c3 svg { width: 11px; height: 11px; }

/* the one-wallet note */
.note { padding: 12px 14px; border: 1px solid #f2d65a; border-left: 4px solid var(--hi); border-radius: 8px; background: #fffbe6; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.note b { display: inline-block; margin-right: 6px; font: 600 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--hi); padding: 4px 6px; border-radius: 4px; vertical-align: 1px; }

/* the person page */
.detail { margin-top: 26px; }
.detail-h { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0 12px; border-top: 1px solid var(--line); }
.detail-h img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.detail-h h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.dscore { text-align: right; }
.dscore b { display: block; font: 500 24px/1 var(--mono); letter-spacing: -.03em; }
.dscore span { display: block; margin-top: 5px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.detail .jobs-card { margin-top: 12px; }
/* the leaderboard: the coins a person is on */
.cs { display: flex; align-items: center; gap: 10px; }
.coinstack { display: inline-flex; align-items: center; }
.coinstack a { display: inline-flex; margin-left: -6px; border-radius: 7px; box-shadow: 0 0 0 2px #fff; opacity: .45; }
.coinstack a:first-child { margin-left: 0; }
.coinstack a.on { opacity: 1; }
.coinstack img { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; }
.coinstack span { margin-left: 6px; font: 400 11.5px/1 var(--mono); color: var(--muted); }
.cs-t { font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }

/* ---------- launch: the wallet, the steps, the dev's window ---------- */
.wallet-slot { align-self: flex-end; }
.wpill { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 4px 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 13px; }
.wpill .wdot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }
.wpill button { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--side); color: var(--muted); font-size: 12.5px; cursor: pointer; }
.wpill button:hover { color: var(--ink); }
.lsteps { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 9px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.lsteps b { color: var(--ink); font-weight: 600; }
#done { max-width: 860px; margin-bottom: 26px; }
#done h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.done-h { margin-bottom: 14px; }
.done-h h2 { margin: 8px 0 6px; }
.done-h .muted b { color: var(--ink); font-weight: 600; }
#done .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.whelp .wopts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.whelp .wopts img, .dev-links img { width: 16px; height: 16px; border-radius: 4px; }
.mine { margin-top: 34px; }
.devs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; margin-top: 14px; }
.dev { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 18px; display: grid; gap: 14px; }
#done .dev { border-color: var(--ink-2); }
.dev-top { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.dev-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--side); }
.dev-id h2 { margin: 6px 0 2px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.dev-name { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-mc { text-align: right; }
.dev-mc b { display: block; margin-top: 6px; font: 500 18px/1 var(--mono); letter-spacing: -.02em; }
.dev-ca span { font-size: 12px; }
.dev-links { display: flex; gap: 8px; flex-wrap: wrap; }
.dev-bag { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px; border-radius: 9px; background: var(--side); }
.dev-hold b { display: block; margin-top: 7px; font: 500 16px/1.2 var(--mono); letter-spacing: -.02em; }
.dev-hold span[data-val] { display: block; margin-top: 3px; font: 400 12.5px/1.3 var(--mono); color: var(--muted); }
.dev-sell { display: flex; gap: 6px; }
.dev-sell .btn[disabled] { opacity: .45; cursor: not-allowed; }
.dev-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.dev .err:empty { display: none; }
.dev .err .ok { color: var(--ink); }
@media (max-width: 640px) { .dev-top { grid-template-columns: 52px minmax(0, 1fr); } .dev-img { width: 52px; height: 52px; } .dev-mc { grid-column: 1 / -1; text-align: left; } .dev-sell { width: 100%; } .dev-sell .btn { flex: 1; } }
