/* =====================================================================
   Circle Private Capital — Investor document centre (noindex)
   Self-contained token set for the logged-in area. Fonts: fonts.css
   ===================================================================== */
:root {
  --bg: #17171c;
  --panel: #111116;
  --panel2: #20292f;
  --gold: #997b3b;
  --gold-hi: #a88f58;
  --cream: #ffffff;
  --line-gold: rgba(153, 123, 59, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --mute1: rgba(255, 255, 255, 0.86);
  --mute2: rgba(255, 255, 255, 0.66);
  --mute3: rgba(255, 255, 255, 0.5);
  --mute4: rgba(255, 255, 255, 0.4);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Century Gothic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
::selection {
  background: rgba(153, 123, 59, 0.3);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

/* top bar */
.topbar {
  background: #111116;
  border-bottom: 1px solid rgba(153, 123, 59, 0.16);
}
.topbar .wrap {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo .ring {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.logo .name {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.28em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--cream);
}
.whoami {
  display: flex;
  align-items: center;
  gap: 18px;
}
.whoami .inv {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.06em;
  font-size: 12.5px;
  color: var(--mute2);
}
.whoami .inv b {
  color: var(--cream);
  font-weight: 500;
}
.logout {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.1em;
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--mute3);
  border: 1px solid rgba(153, 123, 59, 0.4);
  padding: 8px 14px;
  background: transparent;
  transition: 0.2s;
}
.logout:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* header */
.head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(153, 123, 59, 0.1);
}
.head .ring1 {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(153, 123, 59, 0.14);
  border-radius: 50%;
}
.head .ring2 {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(153, 123, 59, 0.09);
  border-radius: 50%;
}
.head .wrap {
  position: relative;
  padding: clamp(40px, 7vh, 72px) clamp(20px, 5vw, 72px) clamp(30px, 5vh, 44px);
}
.kicker {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.28em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
}
.head h1 {
  font-family: "Century Gothic", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.05;
  margin-top: 14px;
}
.head .sub {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 640px;
  margin-top: 18px;
}
.head .sub .tick {
  flex: 0 0 auto;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
}
.head .sub p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute2);
}
.updated {
  margin-top: 22px;
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mute4);
}

/* layout */
.grid {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 6vh, 56px) 0 clamp(56px, 9vh, 90px);
}
@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* sidebar */
.side .block + .block {
  margin-top: 34px;
}
.side .lbl {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mute3);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold);
}
.cats {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}
.cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  color: var(--mute2);
  transition: 0.18s;
}
.cat .ct {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.cat .cn {
  font-family: "Century Gothic", Arial, sans-serif;
  font-size: 12px;
  color: var(--mute4);
}
.cat:hover {
  color: var(--cream);
}
.cat.active .ct {
  color: var(--gold);
}
.cat.active .cn {
  color: var(--gold);
}
.side select {
  width: 100%;
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(153, 123, 59, 0.28);
  color: var(--cream);
  font-family: "Century Gothic", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 11px 12px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 17px,
    calc(100% - 11px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.side select:focus {
  outline: none;
  border-color: var(--gold);
}
.side select option {
  background: #111116;
  color: var(--cream);
}

/* main */
.search {
  position: relative;
  margin-bottom: 26px;
}
.search input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--cream);
  font-size: 16px;
  padding: 11px 30px 11px 0;
}
.search input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.search input:focus {
  outline: none;
  border-color: var(--gold);
}
.search svg {
  position: absolute;
  right: 2px;
  top: 11px;
  stroke: var(--mute3);
}

.group {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mute3);
  margin: 26px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold);
}
.group:first-child {
  margin-top: 0;
}

.doc {
  display: grid;
  grid-template-columns: 24px 1fr auto 40px;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: 0.18s;
}
.doc:hover {
  background: linear-gradient(90deg, rgba(153, 123, 59, 0.05), transparent 60%);
}
.doc .ficon {
  width: 24px;
  height: 28px;
  border: 1px solid rgba(153, 123, 59, 0.5);
  position: relative;
}
.doc .ficon:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-left: 1px solid rgba(153, 123, 59, 0.5);
  border-bottom: 1px solid rgba(153, 123, 59, 0.5);
  background: var(--bg);
}
.doc .ext {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Century Gothic", Arial, sans-serif;
  font-size: 6px;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.doc .meta .nm {
  font-size: 15px;
  line-height: 1.35;
  color: var(--mute1);
}
.doc .meta .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 7px;
}
.doc .meta .tag {
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--mute3);
}
.doc .meta .tag.veh {
  color: var(--gold);
}
.doc .size {
  font-family: "Century Gothic", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute4);
  white-space: nowrap;
  text-align: right;
}
.dl {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(153, 123, 59, 0.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s;
}
.dl svg {
  stroke: var(--mute2);
  transition: 0.18s;
}
.dl:hover {
  border-color: var(--gold);
  background: var(--gold);
}
.dl:hover svg {
  stroke: var(--bg);
}
.dl:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .doc {
    grid-template-columns: 24px 1fr 40px;
    gap: 14px;
  }
  .doc .size {
    grid-column: 2;
    text-align: left;
    margin-top: 4px;
  }
}

.empty {
  padding: 56px 0;
  text-align: center;
  color: var(--mute3);
}
.empty .jost {
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
}
.empty p {
  margin-top: 12px;
  font-size: 14px;
}

.footnote {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute4);
  max-width: 70ch;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #111116;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-family: "Century Gothic", Arial, sans-serif;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 14px 22px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 80;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* logo image (moved off inline style) */
.topbar .logo img {
  height: 24px;
  display: block;
}
