/* ============================================================
   MARM TRADING — Journal (Архив) · APPLICATION states
   The visual language lives in concept/concept.css. This file
   adds only the live-app pieces: view transitions, account
   chrome, the rite of record (composer), ceremonial
   confirmation, the empty vault. No SaaS, no spinner, no toast.
   ============================================================ */

/* the view container — spatial reveal in, never a spinner */
#view > .vw { animation: vrise .75s var(--ease); }
@keyframes vrise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.is-busy { cursor: progress; }

/* ---- account chrome on the shared top rule ---- */
/* unified brand mark — seal + "MARM", matching Academy & Calculator.
   It is a doorway home: clicking it leaves the Archive for the ecosystem. */
.arch__rule .arch__home { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: opacity .35s; }
.arch__rule .arch__home:hover { opacity: .66; }
.arch__rule svg { width: 28px; height: 28px; }
.arch__rule .arch__brand {
  font-family: var(--font-d); font-size: 18px; letter-spacing: .3em;
  text-transform: none; color: var(--ivory);
}
.arch__rule .acct { color: var(--marble); }
.arch__rule .bal { background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-b); font-weight: 400; color: var(--ivory); font-size: 13px; letter-spacing: .03em; text-transform: none; font-variant-numeric: tabular-nums lining-nums; transition: color .35s; }
.arch__rule .bal:hover { color: var(--bronze-lit); }
.arch__rule .lk { background: none; border: none; cursor: pointer; font-family: var(--font-b); font-size: 11px; text-transform: uppercase; letter-spacing: .24em; color: var(--stone-mute); transition: color .35s; padding: 0; }
.arch__rule .lk:hover { color: var(--ivory); }
.arch__rule .lk.new { color: var(--bronze-lit); }
.arch__rule .lk.new:hover { color: var(--ivory); }
.arch__rule .lk.is-here { color: var(--ivory); }

/* mobile: the rail wraps instead of overflowing — brand on its own row,
   the rest centred beneath it (no horizontal scroll on phones) */
@media (max-width: 720px) {
  .arch__rule { flex-wrap: wrap; justify-content: center; gap: 11px 18px; padding: 16px clamp(16px, 5vw, 24px); }
  .arch__rule .sp { display: none; }
  .arch__rule .arch__home { flex-basis: 100%; justify-content: center; margin-bottom: 2px; }
}

/* the archive head carries the "inscribe" act */
.arch__head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ============================================================
   THE RITE OF RECORD — composer (never a form-dump)
   ============================================================ */
.rite { max-width: 860px; margin: 0 auto; padding: clamp(34px, 6vh, 80px) clamp(24px, 5vw, 56px) clamp(80px, 12vh, 150px); }
.rite__back { font-size: 11px; text-transform: uppercase; letter-spacing: .26em; color: var(--bronze-lit); text-decoration: none; }
.rite__head { margin: 30px 0 clamp(24px, 4vh, 48px); }
.rite__kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .3em; color: var(--bronze-lit); margin-bottom: 20px; }
.rite__title { font-family: var(--font-d); font-weight: 500; color: var(--ivory); font-size: clamp(40px, 6vw, 72px); line-height: 1; }

.rite__sec { padding: clamp(32px, 5vh, 52px) 0; border-top: 1px solid var(--line-soft); }
.rite__sec:first-of-type { border-top: none; padding-top: clamp(8px, 2vh, 18px); }
.rite__legend { font-family: var(--font-d); font-size: clamp(21px, 2.6vw, 28px); color: var(--ivory); margin-bottom: 26px; }
.rite__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); }
@media (max-width: 640px) { .rite__row { grid-template-columns: 1fr; gap: 26px; } }

.fld { display: flex; flex-direction: column; gap: 12px; position: relative; }
.fld > span { font-size: 10px; text-transform: uppercase; letter-spacing: .24em; color: var(--stone-mute); display: flex; justify-content: space-between; gap: 10px; }
.fld > span em { font-style: normal; color: var(--bronze-lit); }
.fld input, .fld textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--ivory);
  font-family: var(--font-b); font-weight: 300; font-size: 16px; padding: 9px 0; outline: none; border-radius: 0;
  transition: border-color .4s;
}
.fld input:focus, .fld textarea:focus { border-bottom-color: var(--bronze); }
.fld input.big { font-family: var(--font-d); font-weight: 500; font-size: clamp(28px, 4vw, 44px); color: var(--ivory); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--bronze-dim); }
textarea.thesis { min-height: 124px; resize: vertical; line-height: 1.7; font-size: 15px; }
.counter { color: var(--stone-mute); font-variant-numeric: tabular-nums; }

/* segmented control — Calculator language */
.seg { display: flex; border: 1px solid var(--line); }
.seg button { flex: 1; background: none; border: none; border-right: 1px solid var(--line-soft); padding: 14px 8px;
  font-family: var(--font-b); font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-mute);
  cursor: pointer; transition: background .35s, color .35s; }
.seg button:last-child { border-right: none; }
.seg button.on { background: rgba(140, 115, 81, .16); color: var(--ivory); }
.seg.dir button.on[data-v="long"] { color: var(--win); }
.seg.dir button.on[data-v="short"] { color: var(--loss); }

/* emotion marks — chosen deliberately */
.emos { display: flex; flex-wrap: wrap; gap: 12px; }
.emos button { background: none; border: 1px solid var(--line-soft); color: var(--stone-mute);
  padding: 10px 16px; font-family: var(--font-b); font-size: 10px; text-transform: uppercase; letter-spacing: .18em;
  cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.emos button:hover { border-color: var(--bronze-dim); color: var(--marble); }
.emos button.on { border-color: var(--bronze); color: var(--bronze-lit); background: rgba(140, 115, 81, .1); }

.outcome-only { transition: opacity .4s; }
.outcome-only.hidden { display: none; }

.rite__commit { margin-top: clamp(32px, 5vh, 54px); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rite__msg { color: var(--loss); font-size: 13px; min-height: 1em; }

/* ============================================================
   CEREMONIAL CONFIRMATION — the seal, not a toast
   ============================================================ */
.rite-done { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: radial-gradient(ellipse 46% 46% at 50% 48%, rgba(140, 115, 81, .14), var(--graphite) 72%);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.rite-done.on { opacity: 1; visibility: visible; }
.rite-done svg { width: 90px; color: var(--bronze); filter: drop-shadow(0 0 28px rgba(140, 115, 81, .25)); }
.rite-done .ring { transform-box: fill-box; transform-origin: center; animation: thr-spin 60s linear infinite; }
.rite-done p { font-family: var(--font-d); font-size: clamp(24px, 3vw, 34px); color: var(--ivory); letter-spacing: .04em; }

/* ============================================================
   THE EMPTY VAULT — the hall before its first inscription
   ============================================================ */
.vault { text-align: center; padding: clamp(90px, 18vh, 180px) 24px; }
.vault__seal { width: clamp(60px, 8vw, 84px); color: var(--bronze); opacity: .6; margin-bottom: 34px; }
.vault h2 { font-family: var(--font-d); font-weight: 500; color: var(--ivory); font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin-bottom: 18px; }
.vault p { font-size: 14.5px; color: var(--stone-mute); max-width: 42ch; margin: 0 auto 36px; line-height: 1.7; }

/* shared link-buttons / action rows */
.act-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(34px, 5vh, 56px); }
.linkbtn { background: none; border: none; color: var(--stone-mute); font-family: var(--font-b); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; cursor: pointer; transition: color .35s; }
.linkbtn:hover { color: var(--ivory); }
.linkbtn.danger:hover { color: var(--loss); }
.grow { flex: 1; }

/* trash inscriptions carry their own actions on the right */
.inscr--trash .inscr__out { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* loading is a held breath, not a spinner */
.held { min-height: 40vh; }

/* gentle inline gate-message reuse */
.jform__msg { font-size: 12.5px; color: var(--loss); margin: 4px 0 16px; min-height: 1em; }
.jform__msg.ok { color: var(--win); }

/* ---- screenshots: relic attach in the rite + image in the dossier ---- */
.shots { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.shot { width: 168px; height: 105px; border: 1px solid var(--line); position: relative; overflow: hidden; background: rgba(28, 31, 35, .5); padding: 0; margin: 0; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
.shot[data-zoom] { cursor: zoom-in; transition: border-color .3s; }
.shot[data-zoom]:hover { border-color: var(--bronze); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot__del { position: absolute; top: 7px; right: 7px; width: 24px; height: 24px; background: rgba(16, 17, 19, .72); border: 1px solid var(--line); color: var(--marble); cursor: pointer; line-height: 1; font-size: 14px; transition: border-color .3s, color .3s; }
.shot__del:hover { border-color: var(--loss); color: var(--loss); }
.shot--add { display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer;
  background: none; border-style: dashed; border-color: var(--bronze-dim); color: var(--bronze-lit);
  font-family: var(--font-b); font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; line-height: 1.5; transition: border-color .3s, color .3s; }
.shot--add:hover { border-color: var(--bronze); color: var(--ivory); }

.relic.has-img { background: none; }
.relic.has-img::before { display: none; }
.relic.has-img[data-zoom] { cursor: zoom-in; }
.relic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.relic__more { position: absolute; right: 12px; bottom: 12px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); background: rgba(16, 17, 19, .6); border: 1px solid var(--line); padding: 5px 9px; }
.relic__zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; color: var(--ivory); background: rgba(16, 17, 19, .55); border: 1px solid var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; }
.relic.has-img:hover .relic__zoom { opacity: 1; }

/* ---- ЛУПА (lightbox) ---- */
.lbox { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 9, 10, .92); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.lbox[hidden] { display: none; }
body.lbox-open { overflow: hidden; }
.lbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; border: 1px solid var(--line); background: var(--graphite);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lboxin .3s var(--ease); }
@keyframes lboxin { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.lbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line);
  color: var(--marble); font-size: 26px; line-height: 1; cursor: pointer; transition: border-color .3s, color .3s; }
.lbox__close:hover { border-color: var(--bronze); color: var(--ivory); }
.lbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 72px; background: rgba(16, 17, 19, .5);
  border: 1px solid var(--line); color: var(--marble); font-size: 32px; line-height: 1; cursor: pointer; display: none; transition: border-color .3s, color .3s; }
.lbox__nav:hover { border-color: var(--bronze); color: var(--ivory); }
.lbox__prev { left: 26px; } .lbox__next { right: 26px; }
.lbox--multi .lbox__nav { display: block; }
.lbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--font-b);
  font-size: 12px; letter-spacing: .16em; color: var(--stone-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lbox__nav { width: 44px; height: 60px; font-size: 26px; } .lbox__prev { left: 10px; } .lbox__next { right: 10px; } .lbox__close { top: 14px; right: 14px; } }

/* ---- flash (non-blocking notice) ---- */
.flash { position: fixed; top: 26px; left: 50%; transform: translate(-50%, -14px); z-index: 1300;
  max-width: min(92vw, 520px); padding: 13px 22px; background: var(--graphite); border: 1px solid var(--line);
  color: var(--ivory); font-family: var(--font-b); font-size: 13.5px; line-height: 1.5; letter-spacing: .01em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.flash.on { opacity: 1; transform: translate(-50%, 0); }
.flash.bad { border-color: color-mix(in srgb, var(--loss) 60%, var(--line)); }
.flash[hidden] { display: none; }

/* ---- Премиум-разбор (комната подписки) ---- */
.prem { max-width: 760px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px) clamp(80px, 12vh, 150px); }
.prem__lead { color: var(--marble); font-size: 15px; line-height: 1.8; max-width: 56ch; }
.prem__lead b { color: var(--ivory); font-weight: 500; }
.prem__hint, .prem__empty { color: var(--stone-mute); font-size: 13.5px; line-height: 1.7; margin-top: 22px; }
.prem__confirm { color: var(--ivory); font-size: 14.5px; margin: 0 16px 0 0; align-self: center; }
.prem__link { color: var(--bronze-lit); border-bottom: 1px solid var(--bronze-dim); transition: color .3s, border-color .3s; }
.prem__link:hover { color: var(--ivory); border-color: var(--bronze); }
.verdict--soft { opacity: .9; }

/* ---- вести (notifications) + admin desk ---- */
#notif-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); margin-left: 7px; vertical-align: middle; opacity: 0; transition: opacity .3s; }
#notif-dot.on { opacity: 1; }
.notifs { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.notif { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; text-align: left; width: 100%;
  background: none; border: none; border-bottom: 1px solid var(--line-soft); padding: 24px 4px; cursor: pointer; transition: background .4s; }
.notif:hover { background: rgba(232, 226, 214, .025); }
.notif__seal { width: 30px; color: var(--bronze); flex: none; }
.notif__seal svg { width: 30px; height: 30px; }
.notif__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.notif__body b { font-family: var(--font-d); font-weight: 500; font-size: 18px; color: var(--ivory); }
.notif__body span { font-size: 13px; color: var(--stone-mute); }
.notif__when { font-size: 11px; color: var(--stone-mute); white-space: nowrap; }

/* ============================================================
   CEREMONIAL PICKERS — date (calendar) & time (hours · minutes).
   The composer opens these instead of any native date/time widget.
   ============================================================ */
.picker {
  text-align: left; width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--line); color: var(--ivory);
  font-family: var(--font-b); font-weight: 300; font-size: 16px; padding: 9px 0;
  cursor: pointer; transition: border-color .4s; border-radius: 0;
  font-variant-numeric: tabular-nums lining-nums;
}
.picker:hover { border-bottom-color: var(--bronze); }
.pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; display: none;
  background: linear-gradient(180deg, rgba(28, 31, 35, .98), rgba(19, 21, 25, .98));
  border: 1px solid var(--line); box-shadow: 0 26px 64px rgba(0, 0, 0, .55); padding: 16px;
}
.pop.on { display: block; animation: popin .26s var(--ease); }
@keyframes popin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.cal { width: 262px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title { font-family: var(--font-d); font-weight: 500; font-size: 18px; color: var(--ivory); letter-spacing: .02em; }
.cal__nav { background: none; border: 1px solid var(--line); color: var(--bronze-lit); width: 30px; height: 30px; cursor: pointer; font-size: 16px; line-height: 1; transition: border-color .3s, color .3s; }
.cal__nav:hover { border-color: var(--bronze); color: var(--ivory); }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.cal__dow span { text-align: center; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--stone-mute); padding: 3px 0; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__day { background: none; border: 1px solid transparent; color: var(--marble); font-family: var(--font-b); font-size: 13px; padding: 7px 0; cursor: pointer; transition: background .25s, color .25s, border-color .25s; font-variant-numeric: tabular-nums lining-nums; }
.cal__day:hover { border-color: var(--bronze-dim); color: var(--ivory); }
.cal__day.on { background: rgba(140, 115, 81, .2); border-color: var(--bronze); color: var(--ivory); }

/* time picker — two slim scrollable columns (hours 00–23 · minutes 00–59) */
.tcols { display: flex; gap: 14px; }
.tcol { display: flex; flex-direction: column; }
.tcol__k { font-size: 9px; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-mute); margin-bottom: 8px; text-align: center; }
.tcol__scroll { width: 64px; height: 196px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; scrollbar-color: var(--bronze-dim) transparent; }
.tcol__scroll::-webkit-scrollbar { width: 5px; }
.tcol__scroll::-webkit-scrollbar-thumb { background: var(--bronze-dim); }
.tcol__cell { flex: none; background: none; border: 1px solid transparent; color: var(--marble); font-family: var(--font-b); font-size: 15px; padding: 7px 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; font-variant-numeric: tabular-nums lining-nums; }
.tcol__cell:hover { border-color: var(--bronze-dim); color: var(--ivory); }
.tcol__cell.on { background: rgba(140, 115, 81, .2); border-color: var(--bronze); color: var(--ivory); }

/* asset picker — big trigger + searchable categorised popover + manual entry */
.picker--asset { font-family: var(--font-d); font-weight: 500; font-size: clamp(26px, 4vw, 40px); color: var(--ivory); }
.pop--asset { width: min(340px, 78vw); max-height: 60vh; overflow: auto; }
.apick { display: flex; flex-direction: column; }
.apick__search { background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--ivory); font-family: var(--font-b); font-size: 14px; padding: 8px 0 10px; outline: none; margin-bottom: 8px; }
.apick__search:focus { border-bottom-color: var(--bronze); }
.apick__search::placeholder { color: var(--bronze-dim); }
.apick__cat { font-size: 9px; text-transform: uppercase; letter-spacing: .22em; color: var(--bronze-lit); margin: 12px 0 8px; }
.apick__row { display: flex; flex-wrap: wrap; gap: 6px; }
.apick__item { background: none; border: 1px solid var(--line); color: var(--marble); font-family: var(--font-b); font-size: 12px; letter-spacing: .04em; padding: 7px 11px; cursor: pointer; transition: border-color .25s, color .25s, background .25s; font-variant-numeric: tabular-nums lining-nums; }
.apick__item:hover { border-color: var(--bronze-dim); color: var(--ivory); }
.apick__item.on { background: rgba(140, 115, 81, .18); border-color: var(--bronze); color: var(--ivory); }
.apick__own { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; gap: 8px; align-items: center; }
.apick__ownbtn { background: none; border: none; color: var(--bronze-lit); font-family: var(--font-b); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; cursor: pointer; padding: 0; }
.apick__ownbtn:hover { color: var(--ivory); }
.apick__owninput { flex: 1; min-width: 0; background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--ivory); font-family: var(--font-b); font-size: 14px; padding: 6px 0; outline: none; text-transform: uppercase; }
.apick__owninput:focus { border-bottom-color: var(--bronze); }
.apick__ownok { flex: none; background: none; border: 1px solid var(--bronze); color: var(--ivory); font-family: var(--font-b); font-size: 11px; padding: 6px 14px; cursor: pointer; }

/* ============================================================
   PULSE — the chronicle's vital sign. A breathing orb whose
   colour reads the trader's edge: green (advantage) · bronze
   (balance) · clay (loss). Muted, never loud — three readings
   at a glance above the letopis.
   ============================================================ */
.pulse {
  --ps: var(--bronze-lit);
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 28px);
  max-width: 1180px; margin: 4px auto 38px;
  padding: 22px clamp(24px, 5vw, 56px) 26px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.pulse--good { --ps: var(--win); }
.pulse--mid  { --ps: var(--bronze-lit); }
.pulse--bad  { --ps: var(--loss); }

.pulse__orb { position: relative; width: 54px; height: 54px; flex: none; }
.pulse__core { position: absolute; inset: 39%; border-radius: 50%; background: var(--ps); box-shadow: 0 0 10px 1px var(--ps); animation: ps-core 3.6s ease-in-out infinite; }
.pulse__halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--ps) 0%, transparent 68%); opacity: .4; animation: ps-halo 3.6s ease-in-out infinite; }
@keyframes ps-core { 0%, 100% { transform: scale(.82); opacity: .8; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes ps-halo { 0%, 100% { transform: scale(.66); opacity: .22; } 50% { transform: scale(1.04); opacity: .5; } }
/* each state breathes with its own temper — calm green, even bronze, restless clay */
.pulse--good .pulse__core, .pulse--good .pulse__halo { animation-duration: 3.8s; }
.pulse--mid  .pulse__core, .pulse--mid  .pulse__halo { animation-duration: 4.6s; }
.pulse--bad  .pulse__core, .pulse--bad  .pulse__halo { animation-duration: 2.4s; }

.pulse__lead { display: flex; flex-direction: column; gap: 6px; }
.pulse__state { font-family: var(--font-d); font-weight: 500; font-size: clamp(23px, 3vw, 32px); color: var(--ps); line-height: 1; letter-spacing: .01em; }
.pulse__sub { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-mute); }

.pulse__metrics { display: flex; gap: clamp(18px, 3vw, 40px); margin-left: auto; }
.pulse__m { display: flex; flex-direction: column; gap: 8px; }
.pulse__mk { font-size: 9px; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-mute); }
.pulse__mv { font-family: var(--font-d); font-weight: 500; font-size: clamp(21px, 2.5vw, 29px); color: var(--ivory); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums lining-nums; }
.pulse__mv.win { color: var(--win); }
.pulse__mv.loss { color: var(--loss); }

@media (max-width: 620px) {
  .pulse__metrics { gap: 22px; width: 100%; margin-left: 0; }
  .pulse__lead { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse__core, .pulse__halo { animation: none; }
}

/* ============================================================
   SUBMISSIONS CENTRE (admin) — category cards + status pills +
   the academy application field grid. Reuses .dos / .verdict / .seg.
   ============================================================ */
.ctr { max-width: 1180px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px) clamp(80px, 14vh, 160px); }
.ctr-cats { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: clamp(18px, 3vh, 34px); }
.ctr-cat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; text-align: left;
  background: var(--graphite); border: none; padding: clamp(24px, 4vh, 38px) clamp(20px, 3vw, 36px); cursor: pointer; transition: background .4s; }
.ctr-cat:hover { background: rgba(232, 226, 214, .03); }
.ctr-cat__badge { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-b); font-size: 13px; color: var(--stone-mute); border: 1px solid var(--line); border-radius: 50%;
  font-variant-numeric: tabular-nums lining-nums; transition: background .3s, color .3s, border-color .3s; }
.ctr-cat__badge.on { color: var(--graphite); background: var(--bronze); border-color: var(--bronze); }
.ctr-cat__label { font-family: var(--font-d); font-weight: 500; font-size: clamp(24px, 3vw, 34px); color: var(--ivory); letter-spacing: .01em; }
.ctr-cat__total { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-mute); white-space: nowrap; }

.appstat { font-size: 9.5px; text-transform: uppercase; letter-spacing: .2em; padding: 5px 11px; border: 1px solid var(--line); color: var(--stone-mute); white-space: nowrap; }
.appstat--pending, .appstat--new { color: var(--bronze-lit); border-color: var(--bronze-dim); }
.appstat--accepted, .appstat--resolved { color: var(--win); border-color: rgba(143, 174, 138, .4); }
.appstat--rejected { color: var(--loss); border-color: rgba(201, 138, 114, .4); }
.appstat--seen { color: var(--marble); }

.appgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin: clamp(20px, 4vh, 40px) 0; }
.appf { background: var(--graphite); padding: 18px 22px; min-width: 0; }
.appf__k { font-size: 9px; text-transform: uppercase; letter-spacing: .22em; color: var(--stone-mute); margin-bottom: 8px; }
.appf__v { font-size: 14.5px; color: var(--marble); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 640px) { .appgrid { grid-template-columns: 1fr; } }
