:root {
  --black: #151515;
  --ink: #222222;
  --muted: #787874;
  --yellow: #ffc511;
  --bg: #f6f5f2;
  --line: #e9e7e1;
  --green: #20826a;
  --red: #be171b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: var(--black);
  color: #fff;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font:
    800 29px Manrope,
    sans-serif;
  letter-spacing: 1px;
  padding: 0 10px;
}
.brand-icon {
  background: var(--yellow);
  color: var(--black);
  border-radius: 9px;
  width: 34px;
  text-align: center;
  font-size: 34px;
  line-height: 38px;
}
.brand-dot {
  font-size: 10px;
  align-self: flex-start;
  margin-top: 5px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  padding: 14px 10px;
  margin: 34px 0 30px;
}
.workspace > span {
  margin-left: auto;
}
.gym-icon {
  background: #ffffff10;
  border-radius: 7px;
  padding: 9px 13px;
  color: var(--yellow);
  font-weight: bold;
}
.workspace b {
  font-size: 12px;
}
small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #6c7c90;
  padding-left: 12px;
  margin-bottom: 14px;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  background: none;
  border: 0;
  color: #94a3b7;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border-radius: 7px;
  font-weight: 500;
}
nav button.active {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
}
nav button:hover:not(.active) {
  background: #ffffff09;
  color: white;
}
.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.nav-badge {
  margin-left: auto;
  font-size: 10px;
  background: #ffffff12;
  padding: 3px 6px;
  border-radius: 4px;
}
.side-bottom {
  margin-top: auto;
}
.demo-note {
  font-size: 10px;
  border-top: 1px solid #ffffff12;
  padding: 22px 10px;
}
.demo-note small {
  font-size: 9px;
  color: #708094;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  margin-right: 5px;
}
.profile {
  border: 0;
  border-top: 1px solid #ffffff12;
  color: white;
  display: flex;
  background: none;
  align-items: center;
  gap: 10px;
  padding: 18px 4px 0;
  width: 100%;
  text-align: left;
}
.profile b {
  font-size: 11px;
}
.profile small {
  font-size: 9px;
}
.profile > span:last-child {
  margin-left: auto;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff0b7;
  color: #755919;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar.small {
  width: 30px;
  height: 30px;
  background: #e3e8ef;
  color: #506074;
}
main {
  margin-left: 244px;
}
header {
  height: 78px;
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 12px;
  color: #8b95a2;
}
.breadcrumb span {
  padding: 0 14px;
  color: #bbc2ca;
}
.breadcrumb b {
  color: #49576a;
  font-weight: 500;
}
.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.demo-pill {
  font-size: 9px;
  letter-spacing: 1px;
  color: #756017;
  background: #fff7da;
  border: 1px solid #f1df9e;
  padding: 6px 8px;
  border-radius: 4px;
}
.today {
  font-size: 11px;
  color: #85909c;
}
#menu {
  display: none;
}
#content {
  max-width: 1600px;
  margin: auto;
  padding: 32px 38px 25px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #7c8a96;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 9px;
}
h1 {
  font:
    750 28px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
h2 {
  font:
    750 16px Manrope,
    sans-serif;
  letter-spacing: -0.3px;
  margin: 0;
}
h3 {
  font:
    700 14px Manrope,
    sans-serif;
  margin: 0 0 8px;
}
p {
  line-height: 1.65;
  margin: 6px 0;
  color: #7b8794;
}
.page-heading p {
  font-size: 12px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid #dfe5e9;
  background: white;
  padding: 10px 15px;
  border-radius: 7px;
  color: #465668;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.btn.primary {
  background: var(--black);
  color: white;
  border-color: var(--black);
}
.btn.brand-action {
  background: var(--yellow);
  color: var(--black);
  border: 0;
}
.btn:hover {
  filter: brightness(0.96);
}
.hero {
  background: var(--black);
  color: white;
  border-radius: 13px;
  padding: 25px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.hero::after {
  content: "";
  position: absolute;
  right: 110px;
  top: -90px;
  border: 1px solid #ffffff0a;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  pointer-events: none;
}
.hero .eyebrow {
  color: var(--yellow);
  font-size: 9px;
}
.hero h2 {
  font-size: 21px;
}
.hero p {
  font-size: 12px;
  color: #a3aebe;
}
.hero .btn {
  position: relative;
  z-index: 1;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 24px;
}
.metric,
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.metric {
  padding: 20px;
}
.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7c8795;
  font-size: 11px;
}
.metric-head .icon {
  color: #8897a2;
  background: #f6f8f9;
  box-sizing: content-box;
  padding: 7px;
  border-radius: 7px;
  width: 16px;
  height: 16px;
}
.metric strong {
  display: block;
  font:
    750 27px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 8px 0 9px;
}
.metric-bottom {
  font-size: 10px;
  color: #9aa3ad;
}
.up {
  color: #2e8a72;
  font-weight: 600;
  margin-right: 5px;
}
.warn {
  color: #c1843a;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.card {
  padding: 23px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}
.card-head p {
  font-size: 10px;
  margin: 5px 0 0;
}
.tag {
  font-size: 9px;
  border-radius: 4px;
  padding: 5px 7px;
  background: #f3f6f8;
  color: #7f8b98;
  white-space: nowrap;
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: #87919b;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 2px;
  margin-right: 6px;
}
.dot.dark {
  background: #252525;
}
.chart {
  width: 100%;
  height: 210px;
  display: block;
}
.chart text {
  font:
    10px "DM Sans",
    sans-serif;
  fill: #99a3ae;
}
.chart line {
  stroke: #edf0f3;
  stroke-dasharray: 3 4;
}
.chart-note {
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 12px;
  color: #94a0ac;
}
.ai-card {
  background: #fff9e8;
  border-color: #eedfa9;
  position: relative;
}
.ai-badge {
  background: #ffebaa;
  color: #705619;
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 7px;
}
.ai-orb {
  display: flex;
  width: 34px;
  height: 34px;
  background: white;
  border: 1px solid #ecddac;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: #806012;
  margin-bottom: 14px;
}
.ai-card h2 {
  font-size: 19px;
  line-height: 1.4;
}
.ai-card p {
  font-size: 11px;
  color: #80714d;
  margin: 12px 0;
}
.insight {
  border-top: 1px solid #e8dcae;
  margin-top: 17px;
  padding-top: 15px;
  font-size: 11px;
  line-height: 1.7;
  color: #7a6b43;
}
.insight b {
  color: #3c321d;
}
.text-button {
  border: 0;
  background: none;
  color: #806012;
  padding: 12px 0 0;
  font-weight: 700;
  font-size: 11px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #97a0aa;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
td {
  padding: 14px 8px;
  border-bottom: 1px solid #f0f3f5;
  color: #657283;
}
tr:last-child td {
  border: 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person b {
  font-size: 11px;
  color: #344659;
  font-weight: 600;
}
.person small {
  font-size: 9px;
}
.person .avatar {
  width: 30px;
  height: 30px;
  font-size: 9px;
  background: #ecedf6;
  color: #77748d;
}
.status {
  display: inline-block;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 9px;
  background: #edf6f1;
  color: #4c8d74;
}
.status.late {
  background: #fcf0ec;
  color: #c4775e;
}
.status.pending {
  background: #fcf6e9;
  color: #b79145;
}
.status.gray {
  background: #f0f2f5;
  color: #7f8b98;
}
.mini-btn {
  background: none;
  border: 1px solid #e7ebef;
  padding: 6px 9px;
  border-radius: 5px;
  color: #657484;
  font-size: 10px;
}
.row-end {
  display: flex;
  gap: 6px;
  align-items: center;
}
.card-foot {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  color: #a0a8b1;
  font-size: 10px;
}
.payment-layout {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(
    #253b4e 0 40%,
    #c9e88a 40% 70%,
    #95aaa2 70% 90%,
    #e8edf0 90%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.donut > div {
  background: white;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.donut b {
  font: 750 22px Manrope;
}
.donut small {
  font-size: 9px;
}
.pay-leg {
  flex: 1;
}
.pay-leg > div {
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
  font-size: 10px;
  color: #7c8994;
}
.pay-leg b {
  color: #34475b;
}
.activity {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.activity p {
  font-size: 10px;
  margin: 3px 0;
}
.activity .icon {
  color: #98782b;
}
.activity time {
  margin-left: auto;
  font-size: 9px;
  color: #a1abb5;
  white-space: nowrap;
}
footer {
  padding: 16px 38px 24px;
  color: #a0a9b3;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
input,
select {
  border: 1px solid #dfe5e9;
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: #58687a;
  font-size: 12px;
}
input[type="search"] {
  min-width: 240px;
}
.empty {
  padding: 40px;
  text-align: center;
  color: #8b98a3;
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #778492;
}
.field.wide {
  grid-column: 1/-1;
}
.helper {
  font-size: 11px;
  line-height: 1.7;
  color: #7f8e9b;
  background: #f5f7f9;
  border-radius: 7px;
  padding: 14px;
}
.scenario {
  font:
    750 34px Manrope,
    sans-serif;
  margin: 18px 0;
}
.slider {
  width: 100%;
  accent-color: #c29100;
  padding: 0;
  margin: 18px 0;
}
.scenario-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.source-list a {
  display: block;
  padding: 12px 0;
  color: #976715;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.source-list a small {
  line-height: 1.7;
}
dialog {
  border: 0;
  border-radius: 14px;
  width: 540px;
  max-width: calc(100vw - 30px);
  padding: 28px;
  box-shadow: 0 25px 90px #14233340;
  color: var(--ink);
}
dialog::backdrop {
  background: #101c2b70;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.close {
  border: 0;
  background: #f3f5f7;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: #8a949f;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.message-preview {
  background: #fff6d8;
  padding: 20px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  margin: 18px 0;
}
.message-preview a {
  display: block;
  color: #8b6612;
  margin-top: 10px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #172b3b;
  color: white;
  padding: 15px 24px;
  border-radius: 9px;
  font-size: 12px;
  z-index: 100;
  transition: 0.25s;
  max-width: 90vw;
  box-shadow: 0 8px 30px #0002;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  font-size: 12px;
}
.roadmap {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.roadmap p {
  font-size: 12px;
}
.number {
  font-size: 11px;
  color: #86a348;
  margin-right: 8px;
}
.notice {
  padding: 12px 16px;
  background: #fff8df;
  color: #7c681f;
  font-size: 11px;
  border: 1px solid #eee0b1;
  border-radius: 8px;
  margin-bottom: 22px;
  line-height: 1.7;
}
@media (min-width: 1500px) {
  #content {
    padding-top: 40px;
  }
  .chart {
    height: 240px;
  }
  .card {
    padding: 27px;
  }
}
@media (max-width: 1150px) {
  aside {
    width: 210px;
    padding: 28px 14px;
  }
  main {
    margin-left: 210px;
  }
  #content {
    padding: 26px 24px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .metric strong {
    font-size: 23px;
  }
  .grid-main {
    grid-template-columns: 1.4fr 1fr;
  }
  .payment-layout {
    gap: 12px;
  }
  .donut {
    width: 105px;
    height: 105px;
  }
  .donut > div {
    width: 78px;
    height: 78px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .card {
    padding: 19px;
  }
}
@media (max-width: 850px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-main,
  .two-cols {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 20px;
  }
  .hero h2 {
    font-size: 18px;
  }
  .today {
    display: none;
  }
}
@media (max-width: 620px) {
  aside {
    transform: translateX(-100%);
    transition: 0.2s;
    width: 235px;
  }
  body.menu-open aside {
    transform: translateX(0);
  }
  main {
    margin-left: 0;
  }
  header {
    padding: 0 18px;
    height: 65px;
    gap: 12px;
  }
  #menu {
    display: block;
    background: none;
    border: 0;
    color: #546578;
  }
  .breadcrumb {
    margin-right: auto;
    font-size: 10px;
  }
  .breadcrumb span {
    padding: 0 6px;
  }
  .header-right {
    gap: 10px;
  }
  .page-heading {
    display: block;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading .actions {
    margin-top: 17px;
  }
  #content {
    padding: 24px 16px;
  }
  .hero {
    padding: 22px;
    display: block;
  }
  .hero .btn {
    margin-top: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric strong {
    font-size: 24px;
  }
  .metric-bottom {
    font-size: 9px;
  }
  .metric-head {
    font-size: 10px;
  }
  .metric-head .icon {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
  footer {
    padding: 16px;
    display: block;
    line-height: 2;
  }
  footer span {
    display: block;
  }
  .demo-pill {
    font-size: 8px;
  }
  .card-head {
    align-items: flex-start;
  }
  .legend {
    gap: 8px;
    font-size: 9px;
  }
}
.grid-main > *,
.two-cols > *,
.metrics > *,
.form-grid > * {
  min-width: 0;
}
.card-head > div {
  min-width: 0;
}
@media (max-width: 620px) {
  .card-foot {
    gap: 14px;
  }
  .card-head h2 {
    font-size: 15px;
  }
  .payment-layout {
    gap: 18px;
  }
  .table-wrap {
    max-width: 100%;
  }
  .header-right {
    flex-shrink: 0;
  }
}

/* Jaleafit Workout — banner logo (black background), yellow / red / black identity. */
aside {
  background: #141414;
  border-right: 1px solid #282828;
  padding-top: 18px;
}
.brand {
  padding: 0;
  display: block;
  border-radius: 9px;
  background: #000;
  overflow: hidden;
  line-height: 0;
}
.logo-frame {
  display: block;
  width: 100%;
}
.logo-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.workspace {
  margin: 18px 0 23px;
  background: #202020;
  border-color: #333;
}
.workspace small {
  color: #a5a5a0;
}
.gym-icon {
  background: #ffc511;
  color: #161616;
  padding: 9px;
  font-size: 11px;
}
.nav-label {
  color: #83837d;
}
nav button {
  color: #aaa9a2;
}
nav button.active {
  box-shadow: inset 3px 0 0 #be171b;
}
nav button:hover:not(.active) {
  background: #272727;
}
.demo-note small {
  color: #8e8d86;
}
.profile small {
  color: #a09f98;
}
.demo-note {
  border-color: #343434;
}
.hero {
  background: #171717;
  border-top: 3px solid #ffc511;
  padding: 27px 29px;
  gap: 32px;
  min-height: 160px;
  border-radius: 10px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.hero h2 {
  font-size: 25px;
  line-height: 1.35;
  max-width: 570px;
}
.hero p {
  color: #adada8;
}
.hero::after {
  border: 0;
  border-radius: 0;
  width: 165px;
  height: 250px;
  background: #be171b;
  transform: skew(-22deg);
  right: -75px;
  top: -25px;
  opacity: 0.9;
}
.hero-action {
  z-index: 1;
  position: relative;
  flex-shrink: 0;
}
.hero-action > span {
  display: block;
  font-size: 8px;
  color: #bcb6a3;
  letter-spacing: 1.7px;
  margin-top: 13px;
  text-align: center;
}
.hero .btn {
  padding: 13px 20px;
}
.btn.primary {
  background: #be171b;
  border-color: #be171b;
}
.btn.primary:hover {
  background: #a41115;
}
.btn.brand-action {
  background: #ffc511;
  color: #161616;
}
.metric-head .icon {
  background: #faf5e6;
  color: #927224;
}
.metric strong {
  color: #1d1d1d;
}
.person .avatar {
  background: #f3efe4;
  color: #8a7447;
}
.avatar.small {
  background: #f0ede5;
  color: #635c4e;
}
.breadcrumb b,
.person b,
.pay-leg b {
  color: #35342f;
}
.eyebrow {
  color: #8c7853;
}
.status.late {
  background: #fceceb;
  color: #ae3235;
}
.status.pending {
  background: #fff5d7;
  color: #917019;
}
.ai-card {
  border-top: 3px solid #ffc511;
}
.ai-badge {
  font-weight: 700;
  letter-spacing: 0.3px;
}
.slider {
  accent-color: #be171b;
}
.number {
  color: #b12b2f;
}
#toast {
  background: #202020;
}
.brand-icon,
.brand-dot {
  display: none;
}
.dot.dark {
  background: #252525;
}
.message-preview {
  border-left: 3px solid #ffc511;
}
footer {
  color: #8c8981;
}
@media (max-width: 1150px) {
  .hero h2 {
    font-size: 22px;
  }
  .hero {
    gap: 18px;
    padding: 24px;
  }
  .hero-action .btn {
    padding: 12px 14px;
  }
}
@media (max-width: 850px) {
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-action > span {
    text-align: left;
  }
}
@media (max-width: 620px) {
  .brand {
    max-width: 203px;
  }
  .hero h2 {
    font-size: 23px;
  }
  .hero {
    padding: 23px;
    display: flex;
    gap: 8px;
  }
  .hero .btn {
    margin-top: 9px;
  }
  .hero::after {
    right: -110px;
  }
  .hero .eyebrow {
    font-size: 8px;
    line-height: 1.7;
    letter-spacing: 1.1px;
  }
  .hero-action > span {
    font-size: 7px;
  }
  .ai-badge {
    font-size: 8px;
  }
  .breadcrumb {
    font-size: 9px;
  }
  .breadcrumb span {
    padding: 0 4px;
  }
  .header-right {
    gap: 7px;
  }
  .demo-pill {
    letter-spacing: 0.3px;
  }
  header {
    padding: 0 12px;
    gap: 7px;
  }
  .today {
    display: none;
  }
}
aside {
  overflow-y: auto;
}
#toast {
  visibility: hidden;
}
#toast.show {
  visibility: visible;
}
/* Registration and reception access */
.enroll-steps {
  display: flex;
  gap: 26px;
  margin: -4px 0 24px;
  color: #7d786d;
  font-size: 11px;
}
.enroll-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.enroll-steps b {
  background: #fff0b9;
  border: 1px solid #ecd990;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #715618;
  font-size: 10px;
}
.enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.enrollment-layout > div {
  min-width: 0;
}
.enrollment-card {
  margin-bottom: 22px;
}
.fingerprint-card {
  border-top: 3px solid var(--yellow);
}
.reader-device {
  position: relative;
  padding: 12px 14px;
  background: #f6f4ef;
  border: 1px solid #e9e5db;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.reader-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b0aca2;
  display: inline-block;
  margin-right: 7px;
}
.reader-device small {
  font-weight: 400;
  margin-left: 14px;
}
.fingerprint-visual {
  width: 126px;
  height: 126px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #e7dbb5;
  border-radius: 25px;
  background: #fffbef;
  margin: 25px auto 22px;
  color: #b69234;
}
.fingerprint-visual .icon {
  width: 76px;
  height: 76px;
  stroke-width: 1;
}
.scan-line {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 2px;
  background: #be171b;
  opacity: 0.6;
}
.capture-progress {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 22px;
}
.capture-progress span {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #e2ded4;
  display: grid;
  place-items: center;
  color: #b2aa96;
}
.capture-progress .done {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #312706;
  font-weight: 700;
}
#capture-status {
  text-align: center;
}
#capture-status p {
  font-size: 11px;
  min-height: 36px;
}
.capture-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.save-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid #e7e1d4;
  border-radius: 10px;
  background: #fffdf6;
  margin-top: 0;
  gap: 20px;
}
.save-bar b {
  font:
    700 14px Manrope,
    sans-serif;
}
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.access-layout > * {
  min-width: 0;
}
.access-console {
  border-top: 3px solid var(--yellow);
}
.access-identity {
  background: #faf9f5;
  border: 1px solid #eae6dc;
  border-radius: 9px;
  padding: 18px;
  margin-top: 22px;
}
.access-identity .avatar {
  height: 42px;
  width: 42px;
  font-size: 13px;
}
.access-identity .person b {
  font-size: 15px;
}
.access-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
  font-size: 10px;
  color: #8a8477;
}
.access-details b {
  display: block;
  font-size: 12px;
  color: #474131;
  margin-top: 6px;
}
.access-identity .helper {
  padding: 10px;
  background: #f0ece2;
  font-size: 10px;
}
.movement-selector {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.movement-selector label {
  flex: 1;
  cursor: pointer;
}
.movement-selector input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.movement-selector span {
  display: block;
  border: 1px solid #e6e1d7;
  border-radius: 7px;
  text-align: center;
  padding: 13px;
  color: #928a77;
  font-weight: 600;
  font-size: 12px;
}
.movement-selector input:checked + span {
  background: #fff4cc;
  color: #664d11;
  border-color: #dab84f;
}
.movement-selector input:focus-visible + span {
  outline: 2px solid #be171b;
  outline-offset: 2px;
}
.access-submit {
  width: 100%;
  padding: 14px;
}
.access-empty {
  text-align: center;
  padding: 45px 15px;
}
.access-empty .icon {
  width: 45px;
  height: 45px;
  color: #ccb66f;
  margin-bottom: 20px;
}
.access-empty p {
  font-size: 12px;
}
.inside-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.inside-row > div:last-child {
  text-align: right;
}
.inside-row small {
  margin-bottom: 7px;
}
.access-result {
  padding: 14px 16px;
  border-radius: 7px;
  margin-top: 18px;
}
.access-result.ok {
  background: #edf6f0;
  color: #32795b;
}
.access-result.denied {
  background: #fceeed;
  color: #b03c36;
}
.access-result p {
  font-size: 11px;
  color: inherit;
  margin-bottom: 0;
}
.field[hidden] {
  display: none;
}
aside nav {
  gap: 3px;
}
aside nav button {
  padding-top: 11px;
  padding-bottom: 11px;
}
aside .workspace {
  margin-bottom: 18px;
}
select:disabled {
  background: #f5f3ee;
  color: #a39d8e;
}
@media (max-width: 1000px) {
  .enrollment-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }
  .enrollment-layout > div:last-child {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: start;
  }
}
@media (max-width: 620px) {
  .enroll-steps {
    gap: 12px;
    font-size: 9px;
    flex-wrap: wrap;
  }
  .enroll-steps b {
    height: 22px;
    width: 22px;
  }
  .enrollment-layout > div:last-child {
    display: block;
  }
  .save-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .save-bar .actions {
    width: 100%;
  }
  .save-bar .actions .btn {
    flex: 1;
  }
  .access-details {
    gap: 12px;
  }
  .inside-row {
    align-items: flex-start;
  }
  .inside-row .person b {
    font-size: 10px;
  }
}
input[type="checkbox"] {
  accent-color: #be171b;
}
.access-layout {
  align-items: start;
}

/* Compact operational layout: remove repeated labels and give data more room. */
aside {
  width: 236px;
  padding: 20px 16px 16px;
}
main {
  margin-left: 236px;
}
.brand {
  min-height: 0;
  margin-bottom: 26px;
  border-radius: 7px;
}
.nav-label {
  margin: 0 0 10px;
}
aside nav {
  gap: 4px;
}
aside nav button {
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 7px;
}
.demo-note {
  padding: 15px 4px;
  font-size: 11px;
}
header {
  height: 66px;
  padding: 0 30px;
}
.header-right {
  gap: 12px;
}
#content {
  padding: 28px 32px 22px;
}
.page-heading {
  margin-bottom: 20px;
}
.page-heading h1 {
  font-size: 25px;
  letter-spacing: -0.7px;
}
.page-heading p {
  margin-top: 3px;
  font-size: 13px;
}
.page-heading .actions .btn {
  padding: 9px 13px;
  font-size: 12px;
}
.page-heading .actions .btn:last-child {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.metrics {
  gap: 12px;
  margin: 0 0 18px;
}
.metric {
  padding: 16px 18px;
  border-radius: 9px;
}
.metric-head {
  font-size: 12px;
}
.metric strong {
  font-size: 24px;
  margin: 8px 0 5px;
}
.metric-bottom {
  font-size: 11px;
}
.card {
  padding: 20px;
  border-radius: 9px;
}
.card-head {
  margin-bottom: 16px;
}
.card-head p {
  font-size: 12px;
}
.grid-main {
  gap: 16px;
  margin-bottom: 16px;
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.8fr);
}
.dashboard-grid .chart {
  height: 205px;
}
.dashboard-grid .scenario-row {
  font-size: 12px;
  padding: 12px 0;
}
.dashboard-grid .scenario-row small {
  font-size: 11px;
}
.chart-note {
  font-size: 11px;
  padding-top: 12px;
}
.notice {
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 12px;
}
table {
  font-size: 12px;
}
th {
  font-size: 10px;
  padding: 11px 9px;
}
td {
  padding: 12px 9px;
}
.btn {
  font-size: 12px;
}
@media (max-width: 1150px) {
  aside {
    width: 210px;
  }
  main {
    margin-left: 210px;
  }
  #content {
    padding: 24px 22px;
  }
}
@media (max-width: 620px) {
  aside {
    width: 235px;
  }
  main {
    margin-left: 0;
  }
  header {
    padding: 0 16px;
  }
  #content {
    padding: 22px 16px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
[hidden] {
  display: none !important;
}
.signed-out main {
  margin-left: 0;
}
.auth-shell {
  max-width: 480px;
  margin: 64px auto;
  padding: 0 24px;
}
.auth-shell h1 {
  font-size: 34px;
  margin: 24px 0 15px;
  line-height: 1.25;
}
.auth-brand {
  letter-spacing: 2px;
  font-size: 14px;
}
.auth-brand b {
  color: #b08200;
}
.auth-shell .card {
  margin-top: 26px;
}
.auth-shell form,
.modal-form {
  display: grid;
  gap: 18px;
}
.auth-shell .btn {
  font-size: 13px;
  padding: 14px;
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
}
.field textarea {
  width: 100%;
  min-height: 90px;
}
.imported-dot {
  background: #e9dfc5;
}
.notice.error {
  border-color: #e8b1b1;
  background: #fff0ed;
  color: #9a2929;
}
.notice.success {
  border-color: #aed7c3;
  background: #edf9f1;
  color: #236b4e;
}
.toolbar-between {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.list-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.plan-card h3 {
  font-size: 17px;
}
.plan-price {
  font:
    750 27px Manrope,
    sans-serif;
  margin: 15px 0;
}
.plan-card .btn {
  margin-top: 15px;
}
.search-results {
  min-height: 100px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 12px;
  font-size: 12px;
  color: #8a8477;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.reader-disconnected {
  padding: 30px;
  text-align: center;
}
.reader-disconnected .icon {
  height: 65px;
  width: 65px;
  color: #c29b3a;
}
.auth-error,
#global-status {
  margin: 0 38px 20px;
  color: #ac272b;
  line-height: 1.7;
  font-size: 13px;
}
.auth-error:empty,
#global-status:empty {
  display: none;
}
.skeleton {
  padding: 80px 25px;
  text-align: center;
  color: #8a8477;
}
.member-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.member-summary > div {
  padding: 15px;
  background: #faf9f5;
  border-radius: 7px;
}
.member-summary b {
  display: block;
  margin-top: 8px;
}
.sensitive {
  overflow-wrap: anywhere;
}
.link-button {
  color: #8c6619;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 650;
  font-size: 12px;
}
.integration-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.integration-card .icon {
  width: 30px;
  height: 30px;
  color: #aa8529;
}
.integration-card p {
  font-size: 12px;
}
.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.toggle-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.check input {
  width: auto;
}
.auth-shell .field {
  margin-bottom: 4px;
}
.table-wrap .list-actions {
  flex-wrap: nowrap;
}
.subtle {
  font-size: 11px;
  color: #8a8477;
}
.kpi-note {
  margin: 16px 0;
  font-size: 11px;
}
.status-banner {
  margin: 0 0 22px;
}
.metric strong {
  overflow-wrap: anywhere;
  font-size: 25px;
}
.chart {
  height: 230px;
}
.legend {
  flex-wrap: wrap;
  margin-bottom: 12px;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #d2a923;
  outline-offset: 3px;
}
.error-panel {
  max-width: 700px;
  margin: 50px auto;
}
#modal-body .form-grid {
  margin-top: 18px;
}
.export-note {
  font-size: 11px;
}
.mfa-qr {
  width: 220px;
  display: block;
  margin: 20px auto;
}
.save-bar {
  position: static;
}
.header-right .mini-btn {
  white-space: nowrap;
}
.page-heading h1 {
  line-height: 1.3;
}
.inside-row {
  overflow-wrap: anywhere;
}
body {
  font-family: "DM Sans", system-ui, sans-serif;
}
input {
  font-size: 13px;
}
.table-wrap table {
  width: 100%;
}
@media (max-width: 1000px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .plan-grid,
  .integration-grid,
  .member-summary {
    grid-template-columns: 1fr;
  }
  .header-right .demo-pill {
    display: none;
  }
  .header-right {
    gap: 5px;
  }
  header .breadcrumb {
    font-size: 9px;
  }
  .auth-shell {
    margin: 35px auto;
  }
  #global-status {
    margin: 0 16px 20px;
  }
  .toolbar-between {
    align-items: flex-start;
    flex-direction: column;
  }
  .metric strong {
    font-size: 22px;
  }
}
.section-title {
  margin: 28px 0 16px;
}
.modal-form > .field,
.modal-form > .form-grid {
  margin-top: 5px;
}
.access-console .notice {
  margin-top: 18px;
}
.hero .btn {
  background: #ffc511;
  color: #151515;
  border-color: #ffc511;
}
.brand,
.workspace,
.nav-label,
.side-bottom,
aside nav {
  flex-shrink: 0;
}
.brand {
  min-height: 138px;
}
aside {
  gap: 0;
}
.side-bottom {
  padding-top: 18px;
}

.bar-track {
  display: block;
  width: 100%;
  min-width: 80px;
  height: 8px;
}
.bar-bg {
  fill: var(--line);
}
.bar-fg {
  fill: var(--yellow);
}

.qr-console {
  margin-bottom: 18px;
}
.qr-form {
  display: grid;
  grid-template-columns: minmax(0, 2fr) auto auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 760px) {
  .qr-form {
    grid-template-columns: 1fr;
  }
}
.qr-form input[name="code"] {
  font-family: ui-monospace, Menlo, monospace;
}
.credential-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.credential-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.credential-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 14px;
}
.credential-card small {
  display: block;
  color: var(--muted);
}
.qr-code {
  width: min(260px, 100%);
  height: auto;
}
.qr-bg {
  fill: #ffffff;
}
.qr-fg {
  fill: #000000;
}
.credential-code {
  font-size: 11px;
  word-break: break-all;
  user-select: all;
  color: var(--muted);
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.module-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.module-item small {
  color: var(--muted);
  min-height: 1em;
}
textarea {
  font: inherit;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.module-item .btn {
  justify-self: start;
}

.review-toolbar {
  align-items: center;
}
.review-count {
  color: var(--muted);
  margin-left: auto;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.photo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.member-photo {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--line);
}
.member-photo.placeholder,
.kiosk-photo.placeholder {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--muted);
}
.member-photo.placeholder {
  font-size: 28px;
}
.file-btn {
  cursor: pointer;
}
.camera {
  display: grid;
  gap: 12px;
}
.camera video {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--black);
}
/* Entry screen: full window, nothing from the staff console visible. */
body.kiosk-mode #sidebar,
body.kiosk-mode header {
  display: none !important;
}
body.kiosk-mode main,
body.kiosk-mode #content {
  margin: 0;
  padding: 0;
  max-width: none;
}
body.kiosk-mode {
  background: var(--black);
}
.kiosk {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--black);
  color: #ffffff;
  padding: 28px max(28px, env(safe-area-inset-right, 0px)) 20px max(28px, env(safe-area-inset-left, 0px));
}
.kiosk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.kiosk-logo {
  height: 96px;
  width: auto;
}
.kiosk-clock {
  font-size: 22px;
  color: #d6d6d0;
  text-align: right;
}
.kiosk-stage {
  display: grid;
  place-items: center;
  padding: 24px 0;
}
.kiosk-idle {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.kiosk-idle h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin: 0;
  color: #ffffff;
}
.kiosk-idle p {
  font-size: 24px;
  color: var(--yellow);
  margin: 0;
}
.kiosk-icon .icon {
  width: 96px;
  height: 96px;
  stroke: var(--yellow);
}
.kiosk-card {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: #1f1f1f;
  border-radius: 24px;
  padding: 36px;
  border-left: 16px solid var(--green);
}
.kiosk-card.warn {
  border-left-color: var(--yellow);
}
.kiosk-card.bad {
  border-left-color: var(--red);
}
.kiosk-card.exit {
  border-left-color: var(--red);
}
.kiosk-photo {
  width: clamp(180px, 22vw, 300px);
  height: clamp(180px, 22vw, 300px);
  border-radius: 20px;
  object-fit: cover;
  background: #2c2c2c;
}
.kiosk-photo.placeholder {
  font-size: clamp(64px, 8vw, 120px);
  color: var(--yellow);
}
.kiosk-info {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.kiosk-status {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  color: #7fd6a6;
}
.kiosk-card.warn .kiosk-status {
  color: var(--yellow);
}
.kiosk-card.bad .kiosk-status,
.kiosk-card.exit .kiosk-status {
  color: #ff7a7a;
}
.kiosk-info h1 {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.05;
  margin: 0;
  color: #ffffff;
  overflow-wrap: anywhere;
}
.kiosk-days {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700;
  color: var(--yellow);
}
.kiosk-plan {
  font-size: clamp(18px, 1.8vw, 24px);
  color: #c9c9c3;
}
.kiosk-input {
  position: absolute;
  left: -9999px;
}
.kiosk-staff {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0.35;
}
.kiosk-staff:hover,
.kiosk-staff:focus-within {
  opacity: 1;
}
@media (max-width: 760px) {
  .kiosk-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }
}

/* Fingerprint enrollment, inside the member modal */
.enroll-live {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 8px;
  text-align: center;
}
.enroll-live .kiosk-icon .icon {
  width: 56px;
  height: 56px;
  stroke: currentColor;
  animation: enroll-pulse 1.4s ease-in-out infinite;
}
.enroll-live p {
  margin: 0;
  font-size: 18px;
}
@keyframes enroll-pulse {
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .enroll-live .kiosk-icon .icon {
    animation: none;
  }
}
#agent-form {
  margin-top: 16px;
}

/* Entradas y salidas */
.movement-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.movement-list {
  display: grid;
}
.movement-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line, #e6e2d6);
}
.movement-row:last-child {
  border-bottom: 0;
}
.movement-row.rejected {
  opacity: 0.75;
}
.movement-time {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.movement-kind {
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e9f6ec;
  color: #1d6b34;
}
.movement-kind.exit {
  background: #fdeaea;
  color: #b42318;
}
@media (max-width: 640px) {
  .movement-row {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }
  .movement-row small {
    display: none;
  }
}
