/* Axis Furniture design system, matched to axis.furniture (Shopify theme):
   Jost typeface, white ground, near-black ink, thin hairlines, squared corners,
   uppercase letter-spaced labels, solid black buttons. */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #121212;
  --muted: #6f6f6f;
  --line: #e8e8e8;
  --brand: #121212;
  --brand-2: #121212;
  --good: #1e7d4f;
  --warn: #b3541e;
  --radius: 3px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Jost", "Noto Sans Bengali", -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 20px; }

/* Header: white, hairline bottom border, logo like the shop */
header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
header.top .logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: 1.5px; font-size: 19px; color: var(--ink);
}
header.top .logo::before {
  content: ''; width: 16px; height: 16px; flex: 0 0 auto;
  background:
    linear-gradient(var(--ink),var(--ink)) 0 0/7px 7px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 9px 0/7px 7px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 0 9px/7px 7px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 9px 9px/7px 7px no-repeat;
}
header.top .logo span { color: var(--ink); font-weight: 300; letter-spacing: 4px; }
.top-actions { display: flex; gap: 10px; align-items: center; }

/* Buttons: solid black, squared, spaced uppercase like "Shop all" */
.btn {
  display: inline-block; border: 1px solid var(--ink); cursor: pointer; text-decoration: none;
  background: var(--ink); color: #fff; padding: 10px 22px;
  border-radius: var(--radius); font-size: 14.5px; font-weight: 500;
  font-family: inherit; letter-spacing: 1.2px; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.btn:hover { background: #333; border-color: #333; }
.btn.gold { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
header.top .btn.ghost { border-color: #bbb; }
.btn.small { padding: 7px 15px; font-size: 12.5px; }
.btn:disabled { opacity: .4; cursor: default; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin: 18px 0;
}
h1 { font-size: 32px; margin: 10px 0 4px; font-weight: 500; letter-spacing: .3px; }
h2 {
  font-size: 14px; margin: 0 0 16px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink);
}
.muted { color: var(--muted); font-size: 15.5px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat .num { font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: .5px; }

table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 13px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.tag {
  display: inline-block; padding: 3px 12px; border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.tag.paid { background: #e9f4ee; color: var(--good); }
.tag.pending { background: #faeee2; color: var(--warn); }
.tag.info { background: #efefef; color: var(--ink); }

input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfcfcf;
  border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 1.5px solid var(--ink); outline-offset: 0; }
label {
  display: block; font-size: 12.5px; color: var(--muted); margin: 12px 0 5px;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
}
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > div { flex: 1; min-width: 160px; }
.notice { background: #f7f7f7; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 15.5px; }
.center { text-align: center; }

/* Tabs: hairline rail, uppercase labels, black underline on the active one.
   Scrolls sideways on small phones instead of wrapping to two rows. */
.tabs {
  display: flex; gap: 30px; margin: 28px 0 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
  color: var(--muted); white-space: nowrap; padding: 13px 0 12px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.tabpanel[hidden] { display: none; }

/* ---------- Investor portal shell ----------
   A black rail fixed floor to ceiling, content on a light canvas beside it.
   Only the canvas scrolls, so the sections are always one click away. */
body.dash { background: #f4f4f2; }
.rail {
  position: fixed; top: 0; left: 0; bottom: 0; width: 252px; z-index: 20;
  display: flex; flex-direction: column; padding: 24px 16px 18px;
  background: var(--ink); color: #fff; overflow-y: auto;
}
.rail-logo {
  display: flex; align-items: center; gap: 10px; padding: 0 8px 20px;
  font-weight: 700; letter-spacing: 1.5px; font-size: 18px; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.rail-logo span { font-weight: 300; letter-spacing: 4px; }
.rail-logo::before {
  content: ''; width: 16px; height: 16px; flex: 0 0 auto;
  background:
    linear-gradient(#fff,#fff) 0 0/7px 7px no-repeat,
    linear-gradient(#fff,#fff) 9px 0/7px 7px no-repeat,
    linear-gradient(#fff,#fff) 0 9px/7px 7px no-repeat,
    linear-gradient(#fff,#fff) 9px 9px/7px 7px no-repeat;
}

/* The small square before each label echoes the four squares in the logo. */
.sidenav { display: flex; flex-direction: column; gap: 2px; padding-top: 18px; }
.navitem {
  appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
  display: flex; align-items: center; gap: 11px; text-align: left;
  padding: 13px 14px; border-radius: var(--radius); color: rgba(255, 255, 255, .64);
  font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.navitem::before {
  content: ''; width: 7px; height: 7px; flex: 0 0 auto;
  background: currentColor; opacity: .5;
}
.navitem:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.navitem[aria-selected="true"] { background: #fff; color: var(--ink); }
.navitem[aria-selected="true"]::before { opacity: 1; }
.navitem:focus-visible { outline: 1.5px solid #fff; outline-offset: 2px; }

.rail-foot {
  margin-top: auto; padding-top: 18px; display: flex; gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.rail-foot .btn { flex: 1; text-align: center; padding: 9px 10px; }
.rail .btn.ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .32); }
.rail .btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.rail .btn.gold { background: #fff; color: var(--ink); border-color: #fff; }
.rail .btn.gold:hover { background: rgba(255, 255, 255, .82); border-color: transparent; }

.canvas { margin-left: 252px; min-height: 100vh; display: flex; flex-direction: column; }
.canvas .wrap { width: 100%; max-width: 1080px; padding: 30px 32px 8px; }
.canvas footer { margin-top: auto; }
.portal-main > h1 { margin-top: 0; }

/* On phones the rail lies down above the content and the labels scroll sideways. */
@media (max-width: 900px) {
  .rail { position: static; width: auto; padding: 16px 14px; }
  .rail-logo { padding-bottom: 14px; }
  .sidenav {
    flex-direction: row; padding-top: 14px; gap: 4px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .sidenav::-webkit-scrollbar { display: none; }
  .navitem { white-space: nowrap; padding: 11px 14px; letter-spacing: 1.3px; }
  .navitem::before { display: none; }
  .rail-foot { padding-top: 14px; }
  .canvas { margin-left: 0; min-height: 0; }
  .canvas .wrap { padding: 20px; }
}

/* Investment batches: one card each, with a bar showing how far the term has run. */
.batches { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.batch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px 21px; }
.batch-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.batch-no {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
}
.batch-amt { font-size: 25px; font-weight: 600; letter-spacing: .4px; margin: 11px 0 15px; }
.batch-facts { display: flex; flex-wrap: wrap; gap: 15px 24px; }
.batch-facts div { display: flex; flex-direction: column; }
.batch-facts .k {
  font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted);
}
.batch-facts .v { font-size: 15.5px; }
.bar { height: 5px; background: #ececec; border-radius: 2px; margin: 17px 0 9px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); }
.batch-share { font-size: 13.5px; margin: 0; }

/* Request type chooser: tiles instead of a dropdown, so each option can say
   what it actually does. Selected tile fills solid black. */
.optcards {
  display: grid; gap: 10px; margin-top: 6px;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}
.optcard {
  appearance: none; cursor: pointer; font: inherit; text-align: left;
  display: flex; flex-direction: column; gap: 6px; padding: 15px 17px;
  background: #fff; color: var(--ink); border: 1px solid #d8d8d8;
  border-radius: var(--radius); transition: background .15s, color .15s, border-color .15s;
}
.optcard:hover { border-color: var(--ink); }
.optcard-t {
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.optcard-d { font-size: 14px; line-height: 1.45; color: var(--muted); }
.optcard[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.optcard[aria-checked="true"] .optcard-d { color: rgba(255, 255, 255, .74); }
.optcard:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

.hero { padding: 72px 20px 48px; text-align: center; background: #fff; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 40px; font-weight: 500; letter-spacing: .5px; }
.hero p { max-width: 640px; margin: 12px auto; color: var(--muted); font-size: 17.5px; }
.hidden { display: none !important; }
footer { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 13.5px; letter-spacing: 1px; border-top: 1px solid var(--line); margin-top: 40px; }
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; } th, td { font-size: 14.5px; } h1 { font-size: 26px; }
  .tabs { gap: 20px; } .tab { font-size: 12.5px; letter-spacing: 1.4px; }
}
