* {
  box-sizing: border-box;
}
:root {
  --ink: #30282b;
  --muted: #716a68;
  --wine: #653548;
  --gold: #d9bd8d;
  --line: #dfd9d4;
  --paper: #f6f4f0;
  --card: #fffdf9;
  --side: #251d22;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ac8050;
  outline-offset: 3px;
}
button {
  color: inherit;
}
a {
  color: var(--wine);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(37px, 3.5vw, 60px);
  letter-spacing: -0.055em;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 21px;
}
small,
.sub {
  color: var(--muted);
  font-size: 12px;
}
.ico {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
}
.skip {
  position: fixed;
  left: -1000px;
}
.skip:focus {
  left: 0;
  background: white;
  z-index: 20;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 218px;
  background: var(--side);
  color: #d8cdd0;
  display: flex;
  flex-direction: column;
  padding: 30px 16px 16px;
  z-index: 5;
}
.brand {
  font: 30px Georgia;
  letter-spacing: 0.14em;
  color: #f7ecd9;
  line-height: 1.2;
  padding: 0 10px;
}
.brand small {
  display: block;
  text-transform: uppercase;
  font:
    8px -apple-system,
    sans-serif;
  letter-spacing: 0.36em;
  color: #c9b8a3;
  margin: 7px 0 0;
}
.navgroups {
  overflow: auto;
  flex: 1;
  margin-top: 28px;
}
.cap {
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 700;
  text-transform: uppercase;
}
.navgroups .cap {
  color: #b3a5a9;
  margin: 20px 12px 9px;
}
.nav {
  border: 0;
  color: #d5cbd0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 10px 13px;
  font-size: 12px;
  border-radius: 5px;
  margin: 2px 0;
}
.nav:hover {
  background: #342a30;
}
.nav.on {
  background: #513441;
  color: #f7e6dd;
}
.nav.on .ico {
  color: var(--gold);
}
.userbar {
  border-top: 1px solid #493b42;
  padding: 17px 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  border-radius: 100%;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #65394a;
  background: #eadbdc;
  font: 16px Georgia;
  flex: none;
}
.userbar small {
  color: #c4b4b9;
}
.userbar strong {
  font-size: 13px;
}
.userbar button {
  margin-left: auto;
  background: none;
  border: 0;
  color: #dbd0d4;
}
.mainwrap {
  margin-left: 218px;
}
.topbar {
  height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(20px, 3vw, 60px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.spacer {
  flex: 1;
}
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 9px;
  font:
    600 10px -apple-system,
    sans-serif;
  white-space: nowrap;
}
.live {
  background: #eaf0e9;
  color: #47674f;
  border-color: #ceddcc;
}
.dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: currentColor;
}
.quiet {
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.mobile {
  display: none;
}
main {
  max-width: 1580px;
  margin: auto;
  padding: 28px clamp(20px, 3vw, 60px) 55px;
}
.welcome,
.head,
.row,
.between,
.herofoot {
  display: flex;
  align-items: center;
  gap: 10px;
}
.between,
.head,
.welcome {
  justify-content: space-between;
}
.welcome {
  margin: 0 0 22px;
}
.welcome p {
  color: var(--muted);
  margin-top: 7px;
  font-size: 13px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #846b5c;
  margin-bottom: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 37px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}
.btn:hover,
.link:hover {
  filter: brightness(0.94);
}
.btn.primary {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}
.btn.gold {
  background: #e5cfaa;
  color: #38282c;
  border-color: #e5cfaa;
}
.btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 9px;
  background: radial-gradient(
    ellipse at 77% 75%,
    #724354 0%,
    #52313f 34%,
    #39232e 78%
  );
  color: #fffbf4;
  padding: clamp(22px, 2.55vw, 40px);
  min-height: 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(
    ellipse at 97% 140%,
    transparent 0 33px,
    #d3b58422 34px,
    transparent 35px 61px
  );
  mask-image: linear-gradient(90deg, transparent 20%, black 90%);
}
.hero .eyebrow {
  color: #dfc49c;
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero h2 {
  font-size: clamp(36px, 3.15vw, 52px);
  margin: 2px 0 8px;
}
.hero p {
  font-size: 13px;
  color: #eddae0;
}
.hero .btn {
  margin-top: 21px;
}
.bellart {
  position: absolute;
  right: 5%;
  bottom: 0;
  top: 4%;
  width: 36%;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}
.bellart img {
  width: min(95%, 300px);
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px #170c184d);
  transform-origin: 50% 82%;
  transition: transform 0.2s;
}
.bellart:hover img {
  transform: translateY(-2px);
}
.ringing img {
  animation: ring 0.6s ease-in-out;
}
@keyframes ring {
  20%,
  60% {
    transform: rotate(-3deg);
  }
  40%,
  80% {
    transform: rotate(2deg);
  }
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 17px 0;
}
.metric,
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.metric {
  padding: 17px;
}
.metric .label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #665d60;
  font-size: 12px;
}
.metric .ico {
  color: #795165;
  width: 15px;
}
.metric strong {
  display: block;
  font: clamp(24px, 2.35vw, 37px) Georgia;
  letter-spacing: -0.05em;
  margin: 12px 0 6px;
}
.metric small {
  font-size: 11px;
}
.panels {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(245px, 1fr);
  gap: 17px;
  margin-bottom: 17px;
}
.panel {
  padding: 22px;
  min-width: 0;
}
.panel .head {
  margin-bottom: 18px;
}
.range {
  font-size: 10px;
  color: #675f60;
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 4px;
}
.chart {
  width: 100%;
  height: 157px;
  display: block;
}
.legend {
  display: flex;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.legend span:before {
  display: inline-block;
  content: "";
  width: 13px;
  border-top: 2px solid #754459;
  vertical-align: middle;
  margin-right: 5px;
}
.legend span + span:before {
  border-top: 2px dashed #b29468;
}
.goalvalue {
  font: 42px Georgia;
  letter-spacing: -0.05em;
  margin: 23px 0 7px;
}
.progress {
  height: 7px;
  background: #e9e2dc;
  border-radius: 9px;
  overflow: hidden;
  margin: 16px 0 10px;
}
.progress b {
  display: block;
  background: var(--wine);
  height: 100%;
  border-radius: 9px;
}
.link {
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--wine);
  font-size: 12px;
  font-weight: 650;
}
.record {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid #eae5e0;
  padding: 13px 0;
}
.record:first-of-type {
  border-top: 0;
}
.record small,
.stack small {
  display: block;
  margin-top: 4px;
}
.record strong {
  font-size: 13px;
  font-weight: 600;
}
.record .amount {
  margin-left: auto;
}
.chipicon {
  background: #f0e6e7;
  color: var(--wine);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.panel + .panel.block,
.block + .block {
  margin-top: 15px;
}
.tablewrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
td,
th {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.pending {
  color: #79591c;
  background: #faf0dc;
}
.verified {
  color: #41634f;
  background: #e9f0e9;
}
.rejected {
  color: #83404a;
  background: #f5e5e5;
}
.tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tools select,
.tools input {
  max-width: 200px;
}
.active {
  color: var(--wine);
  background: #f1e5e7;
}
.empty {
  padding: 18px 0;
  color: var(--muted);
  line-height: 1.6;
}
.paper {
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.paper,
.stack {
  margin: 10px 0;
}
.forms {
  display: grid;
  gap: 13px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
input:not([type="checkbox"]),
textarea,
select {
  background: #fffdf9;
  border: 1px solid #cfc5bf;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  min-width: 0;
  color: var(--ink);
}
textarea {
  min-height: 68px;
  resize: vertical;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check input {
  accent-color: var(--wine);
}
dialog {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: min(450px, 94vw);
  padding: 24px;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #1a1018a8;
}
dialog .head {
  margin-bottom: 20px;
}
.error {
  color: #9b343e;
  font-size: 13px;
}
.login {
  max-width: 430px;
  margin: 10vh auto;
}
.login .brand {
  color: var(--wine);
  padding: 0;
  margin-bottom: 30px;
}
.login h2 {
  margin: 10px 0 22px;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--side);
  color: white;
  padding: 12px 16px;
  border-radius: 7px;
  z-index: 9;
  max-width: 90vw;
}
.badge {
  font-variant-numeric: tabular-nums;
}
.menuveil {
  display: none;
}
.info {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.goalfoot {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 12px;
}
.tag {
  font-weight: 500;
}
.panel .eyebrow {
  margin-bottom: 5px;
}
@media (min-width: 1550px) {
  .sidebar {
    width: 245px;
  }
  .mainwrap {
    margin-left: 245px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 180px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .mainwrap {
    margin-left: 180px;
  }
  .panel {
    padding: 17px;
  }
  .metrics {
    gap: 9px;
  }
  .metric {
    padding: 13px;
  }
  .brand {
    font-size: 25px;
  }
  .panels {
    grid-template-columns: minmax(0, 1.4fr) minmax(215px, 1fr);
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-102%);
    width: 230px;
  }
  .menuopen .sidebar {
    transform: none;
  }
  .menuopen .menuveil {
    display: block;
    background: #1d101987;
    position: fixed;
    inset: 0;
    z-index: 4;
    border: 0;
  }
  .mobile {
    display: inline-flex;
  }
  .mainwrap {
    margin: 0;
  }
  .topbar {
    height: 50px;
  }
  .hero {
    min-height: 205px;
  }
  .metric strong {
    font-size: 28px;
  }
}
@media (max-width: 580px) {
  main {
    padding: 22px 14px 45px;
  }
  .topbar {
    padding: 0 12px;
    gap: 7px;
  }
  .welcome {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
  }
  .welcome h1 {
    font-size: 37px;
  }
  .welcome p {
    font-size: 12px;
  }
  .hero {
    min-height: 210px;
    padding: 20px;
  }
  .hero h2 {
    font-size: 35px;
  }
  .hero p {
    max-width: 55%;
    font-size: 12px;
    line-height: 1.5;
  }
  .bellart {
    width: 44%;
    right: 0;
    top: 14%;
  }
  .hero .btn {
    margin-top: 15px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .panels {
    grid-template-columns: 1fr;
  }
  .panel .head h2 {
    font-size: 24px;
  }
  .titlebtn .btn {
    font-size: 11px;
    min-height: 34px;
  }
  .hidephone {
    display: none;
  }
  .metric .label {
    font-size: 11px;
  }
  .sidebar {
    padding-top: 24px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .tools select {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.goalfoot .btn {
  min-height: 26px;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px 5px;
  color: var(--wine);
  font-size: 11px;
}


@font-face {
  font-family: "Avelune Bodoni Moda";
  src: url("/bodoni-moda-logo.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.brand {
  font-family: "Avelune Bodoni Moda", Didot, serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .32em;
  color: #ede6da;
}
.hero-brand {
  display: grid;
  justify-items: start;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1;
  letter-spacing: .1em;
}
.brand-moon { justify-self: center; }
