:root {
  --bg: #f3f6f4;
  --ink: #122b22;
  --green: #008b62;
}
.content {
  max-width: 1460px;
}
.sidebar {
  background: #081b15;
}
.role-switch {
  display: flex;
  gap: 4px;
  background: #eff4f0;
  border: 1px solid #dce6df;
  border-radius: 12px;
  padding: 4px;
}
.role-switch button {
  padding: 8px 12px;
  border-radius: 8px;
  background: none;
  color: #6a7a70;
  font-size: 13px;
  font-weight: 600;
}
.role-switch button.active {
  background: #0b2d21;
  color: #fff;
}
.topbar {
  gap: 15px;
}
.brand {
  letter-spacing: 1px;
}
.mobile-title {
  display: none;
}
.view-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7bddb3;
  display: block;
  margin-bottom: 12px;
}
.sidebar-foot .text-link {
  color: #a2e9c7;
}
.hero-explore {
  background: #0c2a20;
  color: #fff;
  border-radius: 22px;
  padding: 32px 34px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}
.hero-explore:after {
  content: "";
  width: 280px;
  height: 280px;
  border: 60px solid #ffffff06;
  border-radius: 50%;
  position: absolute;
  right: -80px;
  top: -95px;
  pointer-events: none;
}
.hero-explore .eyebrow {
  color: #72e6b1;
}
.hero-explore h1 {
  font-size: clamp(29px, 3.2vw, 43px);
  max-width: 600px;
  margin: 12px 0;
  letter-spacing: -1.4px;
  line-height: 1.18;
}
.hero-explore p {
  color: #a6c8b7;
  margin: 12px 0 23px;
  font-size: 15px;
}
.hero-explore .searchbar {
  max-width: 720px;
  position: relative;
  z-index: 1;
  color: var(--ink);
  box-shadow: none;
  border: 0;
}
.location-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.location-action .text-link {
  font-size: 13px;
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.filterbar .chip {
  padding: 9px 14px;
}
.filterbar .chip.active {
  background: #dcf6e9;
  color: #006b4c;
  border-color: #a5dfc5;
}
.filterbar input[type="checkbox"] {
  accent-color: var(--green);
}
.category-title {
  font-size: 14px;
  font-weight: 700;
}
.card {
  border-radius: 18px;
  box-shadow: 0 4px 15px #09281904;
}
.brand-panel {
  height: 185px;
}
.brand-logo-disc {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  background: #fff;
  border: 4px solid #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 2;
  box-shadow: 0 5px 15px #001b1520;
}
.brand-logo-disc img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.brand-logo-disc span {
  font:
    800 18px Manrope,
    system-ui;
  letter-spacing: -1px;
}
.banner-wrap {
  position: relative;
  margin-bottom: 18px;
}
.banner-wrap .brand-panel {
  overflow: hidden;
}
.banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-photo + span.monogram {
  display: none;
}
.card-body {
  text-align: center;
  padding-top: 19px;
}
.card-body .card-meta {
  justify-content: center;
}
.card-footer {
  text-align: left;
}
.card-kicker {
  font-size: 11px;
  letter-spacing: 1px;
  color: #6d8075;
  font-weight: 600;
}
.open-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 6px;
  color: #134b34;
  background: #effdf4;
  font-size: 11px;
  z-index: 1;
  font-weight: 700;
}
.closed-tag {
  background: #f1f1ee;
  color: #5f6f64;
}
.summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.metric-card {
  background: #fff;
  border: 1px solid #e0e8e2;
  padding: 22px;
  border-radius: 16px;
}
.metric-card .metric-icon {
  background: #e3f4ea;
  color: #007c56;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 16px;
}
.metric-card strong {
  font:
    800 30px Manrope,
    system-ui;
  display: block;
  letter-spacing: -1px;
  margin: 8px 0;
}
.metric-card p {
  font-size: 12px;
  color: #7a8a80;
  margin: 8px 0 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.dashboard-grid .box {
  margin-bottom: 0;
}
.analytics-bars {
  display: grid;
  gap: 15px;
}
.bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 30px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.bar-track {
  height: 8px;
  background: #eef3ef;
  border-radius: 8px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #14af79;
  border-radius: 8px;
  min-width: 3px;
}
.table-wrap {
  border-radius: 10px;
}
td .text-link {
  font-size: 13px;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.status.warning {
  color: #90621f;
  background: #fff2d8;
}
.status.pending {
  color: #5264a0;
  background: #edf0ff;
}
.status.blocked {
  color: #b34438;
  background: #ffe9e4;
}
.subnav {
  display: flex;
  gap: 8px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.subnav a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 17px;
  border-radius: 9px;
  font-size: 14px;
  color: #687d70;
}
.subnav a.active {
  background: #0d3023;
  border-color: #0d3023;
  color: #fff;
}
.dashboard-greeting h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 10px 0;
}
.dashboard-greeting .subtitle {
  margin-bottom: 12px;
}
.mini-note {
  font-size: 12px;
  color: #74887b;
  line-height: 1.5;
}
.prototype-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #e8f4ed;
  border: 1px solid #d1e5d9;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 12px;
  color: #446f58;
  margin-top: 17px;
}
.progress-line {
  height: 6px;
  background: #e9f0ec;
  border-radius: 8px;
  overflow: hidden;
  margin: 18px 0;
}
.progress-line span {
  display: block;
  height: 100%;
  background: #1bbb80;
}
.finance-hero {
  background: #0b2a1f;
  color: #fff;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}
.finance-hero h2 {
  font-size: 14px;
  color: #9fc4b0;
  font-weight: 500;
  margin: 0;
}
.finance-hero strong {
  font:
    800 36px Manrope,
    system-ui;
  display: block;
  margin: 10px 0;
  letter-spacing: -1px;
}
.finance-hero p {
  font-size: 13px;
  color: #a6c6b5;
  line-height: 1.6;
}
.finance-hero .status {
  color: #052d20;
  background: #8defbc;
}
.invoice-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.invoice-row.total {
  font-size: 20px;
  font-weight: 700;
  border: 0;
}
.timeline {
  display: grid;
  gap: 18px;
  padding: 5px 0;
}
.timeline-item {
  display: flex;
  gap: 13px;
}
.timeline-item .timeline-dot {
  margin-top: 4px;
  background: #d5eddf;
  border: 4px solid #edf7f1;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.timeline-item h4 {
  margin: 0;
  font-size: 14px;
}
.timeline-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
  line-height: 1.5;
}
.actions-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.actions-inline .secondary,
.actions-inline .primary {
  font-size: 13px;
  padding: 10px 13px;
}
.registration-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 15px;
}
.choice-button {
  background: #f3f8f5;
  border: 1px solid #dbe7df;
  border-radius: 13px;
  padding: 23px 12px;
  text-align: center;
  color: #113c28;
}
.choice-button strong {
  display: block;
  font-size: 16px;
  margin: 12px 0 6px;
}
.choice-button span {
  font-size: 12px;
  line-height: 1.5;
  color: #6a7e70;
}
.onboarding {
  width: min(560px, calc(100% - 28px));
}
.onboarding h2 {
  font-size: 31px;
  letter-spacing: -1px;
  margin-top: 20px;
}
.business-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.business-selector select {
  max-width: 380px;
  font-weight: 600;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 11px;
}
.map-action {
  display: block;
  background: #e6f3ec;
  border: 1px solid #cbe2d4;
  border-radius: 12px;
  padding: 19px;
  margin: 18px 0;
  color: #185738;
}
.map-action strong {
  display: block;
  margin-bottom: 6px;
}
.calendar-strip {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 18px 0;
  padding-bottom: 5px;
}
.day-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 68px;
  padding: 12px 6px;
  background: #fff;
  display: grid;
  gap: 7px;
  color: #6a7f70;
}
.day-button.active {
  background: #0a3424;
  color: #fff;
}
.day-button strong {
  font-size: 21px;
}
.day-button span {
  font-size: 11px;
}
.appointment-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  gap: 18px;
  padding: 19px;
  margin: 13px 0;
  background: #fff;
}
.appt-time {
  min-width: 62px;
  font: 800 21px Manrope;
  color: #007c54;
  padding-top: 2px;
}
.appt-details {
  flex: 1;
}
.appt-details h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.appt-details p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}
.pill-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.reminder-pill {
  font-size: 11px;
  padding: 7px 9px;
  border: 1px solid #dfe8e1;
  border-radius: 8px;
  background: #f5f8f5;
  color: #597062;
}
.print-invoice h1 {
  font-size: 25px;
}
.receipt-meta {
  font-size: 13px;
  color: #728077;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.plan-step {
  background: #f4f8f5;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.plan-step strong {
  font-size: 14px;
}
.plan-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.file-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.file-preview img {
  height: 70px;
  width: 110px;
  object-fit: cover;
  border-radius: 10px;
}
.empty small {
  display: block;
  margin-top: 10px;
}
.print-only {
  display: none;
}
.detail-banner {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.detail-banner .banner-photo {
  opacity: 0.3;
}
.detail-banner > div,
.detail-banner > .monogram,
.detail-banner > .business-logo {
  z-index: 1;
  position: relative;
}
.nearby-count {
  font-size: 12px;
  color: #a8d9c2;
}
.role-switch button {
  white-space: nowrap;
}
.chart-legend {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #648170;
  margin-top: 18px;
}
.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.entry-heading {
  font-size: 18px;
  margin: 0 0 18px;
}
.locked-panel {
  max-width: 650px;
  margin: 40px auto;
  text-align: center;
}
.locked-panel .stamp-icon {
  margin: 0 auto;
}
.locked-panel h1 {
  font-size: 30px;
}
.month-picker {
  width: auto !important;
  max-width: 180px;
}
.inline-fields {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.inline-fields > div {
  flex: 1;
  min-width: 120px;
}
.inline-fields label {
  margin-top: 0;
}
.admin-notice {
  border-left: 3px solid #00a36d;
  padding-left: 14px;
}
.safe-muted {
  color: #637d6c;
}
.billing-rule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 19px 0;
}
.billing-rule > div {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 11px;
  font-size: 12px;
  color: #6e8375;
}
.billing-rule strong {
  display: block;
  color: #173b27;
  font-size: 16px;
  margin-bottom: 7px;
}
input[type="file"] {
  max-width: 100%;
  font-size: 13px;
}
.profile-check {
  margin: 17px 0;
}
.queue-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.queue-row strong {
  font-size: 14px;
}
.queue-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0;
}
.account-menu {
  background: #eef6f0;
  padding: 12px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.5;
}
.availability-edit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.availability-edit label {
  font-size: 12px;
}
.print-invoice .brand {
  font-size: 22px;
}
@media (max-width: 1100px) {
  .summary-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar {
    padding: 0 24px;
  }
  .role-switch button {
    padding: 8px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 77px;
    padding: 13px 19px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .top-actions {
    gap: 7px;
  }
  .role-switch {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .role-switch button {
    flex: 1;
    font-size: 12px;
    padding: 8px;
  }
  .hero-explore {
    padding: 26px 22px;
    border-radius: 17px;
  }
  .hero-explore h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero-explore p {
    font-size: 14px;
  }
  .hero-explore .searchbar {
    padding: 7px 8px 7px 12px;
  }
  .hero-explore .searchbar input {
    font-size: 14px;
    padding: 10px 6px;
  }
  .categories {
    padding-top: 5px;
  }
  .summary-row {
    gap: 11px;
  }
  .metric-card {
    padding: 17px;
  }
  .metric-card strong {
    font-size: 26px;
  }
  .metric-card .metric-icon {
    margin-bottom: 12px;
    width: 30px;
    height: 30px;
  }
  .metric-card p {
    font-size: 11px;
  }
  .dashboard-greeting h1 {
    font-size: 29px;
  }
  .prototype-strip {
    align-items: start;
    font-size: 11px;
    line-height: 1.5;
  }
  .finance-hero {
    padding: 22px;
    flex-direction: column;
    align-items: start;
  }
  .finance-hero strong {
    font-size: 32px;
  }
  .appointment-card {
    gap: 12px;
    padding: 15px;
  }
  .appt-time {
    font-size: 18px;
    min-width: 50px;
  }
  .brand-panel {
    height: 160px;
  }
  .card-body {
    padding-top: 20px;
  }
  .billing-rule {
    gap: 7px;
  }
  .billing-rule > div {
    padding: 11px;
    font-size: 11px;
  }
  .billing-rule strong {
    font-size: 14px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .bar-item {
    grid-template-columns: 100px 1fr 25px;
  }
  .content {
    padding-top: 24px;
  }
  .gallery img {
    height: 115px;
  }
  .bottomnav a {
    font-size: 10px;
  }
  .detail-banner {
    min-height: 190px;
  }
  .heading {
    flex-wrap: wrap;
  }
  .heading .primary {
    font-size: 13px;
    padding: 11px 16px;
  }
  .subnav {
    gap: 7px;
  }
  .subnav a {
    padding: 9px 12px;
    font-size: 13px;
  }
  .availability-edit {
    grid-template-columns: 1fr 1fr;
  }
  .role-switch + div {
    display: none;
  }
  .icon-button {
    width: 36px;
    height: 36px;
  }
  .mobile-title {
    display: block;
    color: #5b7a68;
    font-size: 12px;
  }
  .row {
    gap: 12px;
  }
}
@media (max-width: 420px) {
  .hero-explore h1 {
    font-size: 29px;
  }
  .summary-row {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    display: block;
  }
  .card-kicker {
    font-size: 12px;
  }
  .brand-panel {
    height: 180px;
  }
  .registration-choice {
    gap: 9px;
  }
  .choice-button {
    padding: 19px 10px;
  }
  .metric-card {
    padding: 14px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img {
    height: 190px;
  }
  .billing-rule {
    grid-template-columns: 1fr;
  }
  .billing-rule > div {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .billing-rule strong {
    margin: 0;
  }
  .finance-hero {
    margin: 15px 0;
  }
}
@media print {
  body > *:not(#modal) {
    display: none !important;
  }
  #modal {
    display: block !important;
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 20px;
    box-shadow: none;
  }
  #modal::backdrop {
    background: white;
  }
  #modal .modal-head,
  #modal button,
  #modal .no-print {
    display: none !important;
  }
  .print-only {
    display: block;
  }
  .print-invoice {
    color: #000;
  }
  .invoice-row {
    break-inside: avoid;
  }
  .print-invoice .notice {
    background: white;
  }
  .print-invoice a {
    color: #000;
  }
}

.brand-logo {
  width: 132px;
  height: 57px;
  object-fit: contain;
  background: white;
  border-radius: 9px;
  padding: 7px;
}
.sidebar .brand {
  justify-content: center;
}
.mobile-brand .brand-logo {
  width: 104px;
  height: 45px;
}
.cloud-only-note {
  font-size: 13px;
  line-height: 1.6;
  color: #697b70;
}
