:root {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #251e29;
  background: #f8f7f9;
  font-synthesis: none;
  --ink: #251e29;
  --muted: #6c6572;
  --soft: #f6f3f7;
  --border: #ebe7ee;
  --accent: #b74732;
  --coral: #dd795e;
  --dark: #241e29;
  --green: #236849;
  --shadow: 0 2px 4px #261e2b05;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid #b74732;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -50px;
  left: 14px;
  z-index: 20;
  background: white;
  padding: 8px;
}
.skip:focus {
  top: 10px;
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  background: var(--dark);
  color: #fff;
  padding: 27px 17px 16px;
  display: flex;
  flex-direction: column;
  z-index: 5;
  overflow: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 730;
  line-height: 1.2;
  letter-spacing: -0.9px;
}
.logo b {
  color: #f3a086;
  font-weight: 730;
}
.logo-mark {
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #df7c64;
  color: #281b26;
  width: 38px;
  height: 38px;
  box-shadow: inset 0 0 0 1px #ffffff25;
}
.sidebar .logo {
  margin: 0 7px 29px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #473b4a;
  background: #302736;
  border-radius: 10px;
  text-align: left;
  padding: 10px 9px;
  width: 100%;
  color: white;
}
.workspace .avatar {
  background: #563b48;
  color: #f6b49e;
}
.workspace strong,
.account strong {
  display: block;
  font-size: 0.83rem;
}
.workspace small,
.account small {
  display: block;
  margin-top: 3px;
  color: #cdc2d1;
  font-size: 0.72rem;
}
.workspace > .sym:last-child {
  margin-left: auto;
  color: #c7b9cb;
}
.nav-group {
  margin-top: 27px;
}
.nav-label {
  margin: 0 11px 9px;
  color: #bfafc4;
  text-transform: uppercase;
  letter-spacing: 1.35px;
  font-size: 0.67rem;
  font-weight: 700;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  border-radius: 8px;
  font-weight: 560;
  font-size: 0.88rem;
  color: #e0d6e4;
  margin-bottom: 3px;
  position: relative;
}
.side-link .sym {
  color: #c3b2c8;
}
.side-link:hover {
  background: #342b3b;
  color: white;
}
.side-link.active {
  background: #48303d;
  color: #ffe0d6;
}
.side-link.active .sym {
  color: #f39e84;
}
.side-link.active:before {
  position: absolute;
  content: "";
  width: 3px;
  height: 20px;
  border-radius: 3px;
  background: #eb8e75;
  left: 0;
}
.side-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #47394a;
  padding: 13px 3px 0;
}
.account button {
  margin-left: auto;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f1e7f6;
  color: #644580;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 750;
  flex: none;
}
.account .avatar {
  border-radius: 50%;
  background: #65475c;
  color: #f9d7ca;
}
.tiny {
  font-size: 0.76rem;
}
.topbar {
  height: 67px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}
.crumb b {
  color: var(--ink);
  font-weight: 650;
}
.top-actions,
.row-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-actions {
  flex-wrap: nowrap;
}
.mobile-toggle {
  display: none !important;
}
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  padding: 0;
}
.icon-btn:hover {
  background: #91789a16;
}
.topbar .icon-btn {
  border-color: var(--border);
}
.topbar .sep {
  height: 24px;
  width: 1px;
  background: var(--border);
  margin: 0 3px;
}
.content {
  max-width: 1530px;
  margin: auto;
  padding: 25px 28px 36px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}
.page-heading h1 {
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  letter-spacing: -1.25px;
  line-height: 1.14;
  font-weight: 740;
}
.page-heading p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.91rem;
}
.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 670;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(0.96);
}
.btn.primary {
  background: var(--accent);
  color: #fff;
}
.btn.outline {
  background: white;
  color: #37303d;
  border-color: #e7e1e9;
}
.btn.soft {
  background: #f9ede9;
  color: #913b2b;
  border-color: #f6e3dd;
}
.btn.ghost {
  color: var(--accent);
  background: transparent;
}
.btn.white {
  background: #fff;
  color: #342639;
}
.btn.whatsapp {
  background: #1d6849;
  color: #fff;
}
.btn.danger {
  background: #a92d3a;
  color: #fff;
}
.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.demo-tag {
  font-size: 0.73rem;
  font-weight: 650;
  padding: 5px 8px;
  border-radius: 5px;
  background: #f6eef8;
  color: #63436e;
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.hero {
  min-height: 204px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 13px;
  color: white;
  background: #29222f url("/hero.webp") right 53% / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 23px 28px;
  margin-bottom: 21px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #28202fee 0%,
    #28202fd9 24%,
    #28202f76 54%,
    #24162212 100%
  );
  z-index: -1;
}
.hero-copy {
  max-width: 540px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f6b09a;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  margin-bottom: 9px;
}
.hero h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 730;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.hero p {
  color: #eee4ef;
  font-size: 0.88rem;
  margin: 9px 0 15px;
}
.hero .btn {
  min-height: 34px;
  font-size: 0.8rem;
}
.hero .btn:hover {
  background: #f6e8e2;
}
.hero-date {
  position: absolute;
  bottom: 17px;
  right: 17px;
  color: #fff;
  background: #261d28ac;
  border: 1px solid #ffffff31;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 0.75rem;
  backdrop-filter: blur(6px);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metric,
.card {
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 11px;
}
.metric {
  padding: 13px 15px;
  min-height: 111px;
}
.metric-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.81rem;
  font-weight: 620;
  color: #625969;
}
.chip-icon {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.lavender {
  background: #f1eafb;
  color: #7149a4;
}
.peach {
  background: #fbece6;
  color: #ad4f39;
}
.mint {
  background: #e8f5ed;
  color: #307b55;
}
.blue {
  background: #eaf0fd;
  color: #4c67a5;
}
.pink {
  background: #f8e9f0;
  color: #985276;
}
.yellow {
  background: #fbf1dd;
  color: #875d1e;
}
.metric strong {
  display: block;
  margin: 7px 0 2px;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.metric small {
  font-size: 0.72rem;
  color: var(--muted);
}
.metric .positive {
  color: #27734f;
  font-weight: 690;
  margin-right: 4px;
}
.metric .negative {
  color: #a92d3a;
  font-weight: 690;
  margin-right: 4px;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 19px;
}
.card {
  min-width: 0;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 15px 16px 10px;
}
.card-head h2,
.section-head h2 {
  font-size: 1.04rem;
  letter-spacing: -0.23px;
  line-height: 1.2;
}
.card-head p,
.section-head p {
  color: var(--muted);
  font-size: 0.77rem;
  margin-top: 4px;
}
.card-body {
  padding: 0 16px 16px;
}
.chart-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 2px 0 2px;
  font-size: 0.74rem;
  color: var(--muted);
}
.chart-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.chart-legend .income {
  background: #b74732;
}
.chart-legend .expense {
  background: #9b76bc;
}
.chart {
  width: 100%;
  height: auto;
  min-height: 135px;
  max-height: 176px;
  overflow: visible;
}
.chart text {
  font-family: inherit;
  fill: #716878;
  font-size: 12px;
}
.chart circle {
  cursor: help;
}
.filter,
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c6572' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 27px !important;
}
.filter {
  font-size: 0.76rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background-color: #fff;
  color: #514757;
  padding: 6px 8px;
  max-width: 150px;
}
.text-btn {
  font-size: 0.77rem;
  color: #93412f;
  background: none;
  border: 0;
  padding: 3px 0;
  font-weight: 690;
  white-space: nowrap;
}
.agenda {
  margin: 0 16px;
  padding: 0;
}
.agenda-item {
  padding: 9px 0;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 7px;
  align-items: center;
  border-top: 1px solid #f0edf1;
  min-height: 49px;
}
.agenda-item time {
  font-size: 0.77rem;
  font-weight: 700;
}
.agenda-title {
  font-size: 0.82rem;
  font-weight: 690;
  line-height: 1.25;
}
.agenda-title small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 3px;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 0.67rem;
  font-weight: 680;
  white-space: nowrap;
  background: #f0eaf4;
  color: #634678;
}
.pill.confirmed,
.pill.live,
.pill.activated,
.pill.in {
  color: #25644a;
  background: #e9f5ee;
}
.pill.pending,
.pill.waiting,
.pill.invited {
  color: #86561c;
  background: #faf0dd;
}
.pill.cancelled,
.pill.out {
  color: #9a3346;
  background: #faebee;
}
.pill.done,
.pill.code_ready {
  color: #604189;
  background: #f1e9f8;
}
.pill.draft {
  color: #595267;
  background: #efedf1;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 11px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.service-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 13px;
  min-width: 0;
  box-shadow: var(--shadow);
}
.service-card:hover {
  border-color: #ddc9e1;
}
.service-card .fav {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #a55a36;
}
.service-card h3 {
  font-size: 0.91rem;
  margin: 8px 0 4px;
  overflow-wrap: anywhere;
}
.service-card p {
  color: var(--muted);
  font-size: 0.8rem;
}
.service-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 8px;
}
.service-card footer strong {
  font-size: 0.9rem;
}
.service-card .icon-btn {
  width: 28px;
  height: 28px;
}
.section-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tab {
  border: 1px solid transparent;
  background: #f0edf2;
  border-radius: 7px;
  padding: 7px 11px;
  font-weight: 640;
  font-size: 0.83rem;
  color: #62566c;
}
.tab.active {
  background: #f9eae5;
  color: #893d2e;
  border-color: #eed6ce;
}
.empty {
  color: var(--muted);
  padding: 23px 16px;
  text-align: center;
  font-size: 0.9rem;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid #efdfc5;
  background: #fff5e6;
  border-radius: 8px;
  color: #734911;
  font-size: 0.86rem;
  margin-bottom: 13px;
}
.notice.neutral {
  background: #f4edf8;
  border-color: #e7d8ee;
  color: #5f4170;
}
.notice.good {
  background: #edf6f1;
  border-color: #cfeadd;
  color: #24634a;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th,
td {
  padding: 11px 13px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}
th {
  color: #5d5463;
  font-size: 0.75rem;
  background: #faf9fb;
  font-weight: 700;
}
td strong {
  font-weight: 665;
}
.row-actions {
  flex-wrap: nowrap;
}
.row-actions .icon-btn {
  width: 30px;
  height: 30px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.toolbar input {
  max-width: 20rem;
}
.form {
  display: grid;
  gap: 12px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: grid;
  gap: 5px;
  color: #46394d;
  font-size: 0.84rem;
  font-weight: 650;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea,
.toolbar input {
  width: 100%;
  border: 1px solid #e3dbe6;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background-color: #fff;
  min-height: 39px;
  font-weight: 450;
}
.field textarea {
  resize: vertical;
  min-height: 82px;
}
.field input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}
.field.check {
  display: flex;
  align-items: center;
  gap: 6px;
}
.form .actions {
  margin-top: 4px;
}
.form-error {
  color: #9a283b;
  font-size: 0.84rem;
}
.settings {
  max-width: 760px;
  padding: 18px;
}
.danger-zone {
  margin-top: 16px;
  padding: 16px;
  border-color: #efd7da;
}
.danger-zone p {
  margin: 5px 0 12px;
  font-size: 0.84rem;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--border);
  border-radius: 14px;
  width: min(94vw, 530px);
  padding: 0;
  color: var(--ink);
  box-shadow: 0 20px 80px #281d3052;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #20182792;
  backdrop-filter: blur(2px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 14px 17px;
}
.dialog-head h2 {
  font-size: 1.17rem;
  letter-spacing: -0.28px;
}
.dialog-body {
  padding: 16px 17px 18px;
}
.dialog-body > p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.9rem;
}
.record-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.record-options button {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 8px;
  background: white;
  font-size: 0.86rem;
  font-weight: 650;
}
.record-options button:hover {
  background: var(--soft);
}
#notices {
  position: fixed;
  bottom: 18px;
  right: 20px;
  z-index: 30;
  display: grid;
  gap: 8px;
  max-width: min(90vw, 390px);
}
.toast {
  padding: 11px 14px;
  background: #2d2434;
  color: white;
  border-radius: 9px;
  box-shadow: 0 8px 25px #281d3040;
  font-size: 0.85rem;
}
.toast.error {
  background: #8f3040;
}
.public-shell {
  min-height: 100vh;
  background: #f8f7f9;
}
.public-bar {
  background: var(--dark);
  color: white;
  padding: 13px max(16px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.public-bar .logo {
  flex: none;
}
.public-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.public-nav > a:not(.btn) {
  padding: 6px;
  color: #ede3ef;
  font-size: 0.85rem;
}
.public-main {
  max-width: 1120px;
  margin: auto;
  padding: 24px 16px 45px;
}
.public-main .hero {
  min-height: 275px;
}
.public-main .hero p {
  font-size: 0.96rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.shop {
  padding: 16px;
}
.shop h2 {
  font-size: 1.04rem;
  margin: 9px 0;
}
.shop p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 6px 0 13px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 880px;
  margin: 25px auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow);
}
.auth-art {
  background:
    linear-gradient(0deg, #231b2bf2, #231b2b18),
    url("/hero.webp") 72% center/cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: 22px;
}
.auth-art h2 {
  font-size: 2.05rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 6px 0;
}
.auth-art p {
  color: #eadde8;
  font-size: 0.87rem;
}
.auth-card {
  padding: 22px;
}
.auth-card h1 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.auth-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 8px;
}
.auth-title .auth-mark {
  flex: none;
  margin: 0;
  width: 45px;
  height: 45px;
}
.admin-auth {
  max-width: 885px;
}
.admin-auth .auth-art {
  min-height: 465px;
  background:
    linear-gradient(0deg, #211729eb, #25192c61),
    url("/hero.webp") 76% center / cover;
}
.admin-auth .auth-card {
  align-self: center;
}
.auth-support {
  display: flex;
  align-items: center;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 650;
}
.auth-support a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.password-control {
  position: relative;
}
.password-control input {
  padding-right: 47px;
}
.password-control .icon-btn {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  color: var(--muted);
  width: 37px;
  height: 34px;
}
.admin-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-workspace {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 13px;
  background: var(--surface-2);
  border-radius: 14px 14px 0 0;
  border-bottom: 1px solid var(--border);
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  min-height: 39px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 690;
  font-size: 0.89rem;
}
.admin-tab:hover,
.admin-tab.active {
  border-color: var(--border);
  background: var(--surface);
  color: var(--accent);
}
.admin-tab span {
  background: var(--active);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 0.74rem;
}
.admin-workspace-body {
  padding: 15px 13px;
}
.auth-card > p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 7px 0 14px;
}
.auth-card .section-tabs {
  margin-top: 12px;
}
.auth-card .foot-text {
  margin-top: 14px;
}
.verify-code {
  font-family: monospace;
  background: #f4edf8;
  border-radius: 8px;
  display: block;
  padding: 11px;
  margin-bottom: 11px;
  font-size: 1.27rem;
  letter-spacing: 0.11em;
}
.public-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 17px;
}
.public-details .card {
  padding: 14px;
}
.public-details h2 {
  font-size: 1.03rem;
  margin-bottom: 5px;
}
.public-details p {
  white-space: pre-line;
  color: var(--muted);
  font-size: 0.88rem;
}
.public-footer {
  max-width: 1120px;
  margin: auto;
  border-top: 1px solid var(--border);
  padding: 13px 16px;
  color: var(--muted);
  font-size: 0.79rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.public-footer a {
  color: #843e31;
}
.mobile-nav {
  display: none;
}
@media (max-width: 1110px) {
  .shell {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .topbar {
    padding-inline: 18px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .stats {
    gap: 9px;
  }
  .metric {
    padding: 11px;
  }
  .overview {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .hero {
    min-height: 191px;
  }
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 176px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 9px;
  }
  .sidebar .logo {
    font-size: 21px;
  }
  .side-link {
    font-size: 0.82rem;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .actions {
    justify-content: flex-end;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    width: 235px;
    box-shadow:
      0 0 0 100vmax #221b2b69,
      10px 0 45px #211b2b50;
  }
  .sidebar.open {
    display: flex;
  }
  .topbar {
    height: 55px;
    padding-inline: 12px;
  }
  .mobile-toggle {
    display: inline-grid !important;
  }
  .crumb {
    font-size: 0.8rem;
    min-width: 0;
  }
  .crumb > span {
    display: none;
  }
  .top-actions .sep,
  .top-actions .desktop-only {
    display: none;
  }
  .content {
    padding: 16px 12px 80px;
  }
  .page-heading {
    margin-bottom: 13px;
  }
  .page-heading h1 {
    font-size: 1.45rem;
  }
  .page-heading p {
    font-size: 0.79rem;
  }
  .page-heading .actions .btn.outline {
    display: none;
  }
  .page-heading .btn {
    font-size: 0.75rem;
    padding: 7px 8px;
    min-height: 34px;
  }
  .hero {
    padding: 17px 14px;
    min-height: 184px;
    background-position: 60% 48%;
    margin-bottom: 13px;
  }
  .hero h2 {
    font-size: 1.72rem;
  }
  .hero p {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }
  .hero-date {
    display: none;
  }
  .stats {
    margin-bottom: 12px;
  }
  .metric {
    min-height: 92px;
  }
  .metric strong {
    font-size: 1.27rem;
  }
  .metric-head {
    font-size: 0.77rem;
  }
  .overview {
    gap: 10px;
    margin-bottom: 13px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    padding: 4px 4px max(5px, env(safe-area-inset-bottom));
    box-shadow: 0 -3px 15px #261b2b0b;
  }
  .mobile-nav > * {
    display: grid;
    place-items: center;
    gap: 3px;
    color: #62566a;
    background: none;
    border: 0;
    padding: 4px 0;
    font-size: 0.62rem;
    font-weight: 640;
    white-space: nowrap;
  }
  .mobile-nav .active,
  .mobile-nav button {
    color: var(--accent);
  }
  .mobile-nav button .sym {
    background: #f7e9e4;
    border-radius: 100%;
    padding: 4px;
    width: 26px;
    height: 26px;
  }
  .public-bar {
    padding: 9px 10px;
  }
  .public-bar .logo {
    font-size: 18px;
    gap: 5px;
  }
  .public-bar .logo-mark {
    width: 29px;
    height: 29px;
  }
  .public-nav {
    gap: 5px;
  }
  .public-nav > a:not(.btn) {
    font-size: 0.76rem;
    padding: 3px;
  }
  .public-nav .btn {
    font-size: 0.73rem;
    padding: 5px 6px;
    min-height: 32px;
  }
  .public-main {
    padding: 13px 11px 29px;
  }
  .public-main .hero {
    min-height: 210px;
  }
  .public-main .hero p {
    font-size: 0.82rem;
  }
  .auth-grid {
    grid-template-columns: 1fr;
    margin: 5px 0;
  }
  .auth-art {
    display: none;
  }
  .auth-card {
    padding: 15px;
  }
  .public-details {
    grid-template-columns: 1fr;
  }
  .shop-grid {
    gap: 8px;
  }
  .shop {
    padding: 11px;
  }
  .fields {
    gap: 8px;
  }
  #notices {
    bottom: 65px;
    right: 10px;
  }
}
@media (max-width: 380px) {
  .crumb {
    gap: 4px;
  }
  .topbar .demo-tag {
    display: none;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .page-heading .btn .sym {
    display: none;
  }
  .public-nav > a:not(.btn) {
    display: none;
  }
  .shop-grid {
    grid-template-columns: 1fr;
  }
}
.service-card .fav.starred .sym {
  fill: #f5d4a6;
}
.foot-text {
  margin-top: 12px;
}
.toolbar > .field {
  min-width: 132px;
}
.toolbar .filter {
  min-height: 32px;
}
.overview .card {
  min-height: 218px;
}
@media (max-width: 700px) {
  .public-main .service-card footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .public-main .service-card footer .btn {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 0.75rem;
  }
}

/* BerberPro themes */
:root {
  color-scheme: light;
  --paper: #f7f5f8;
  --surface: #ffffff;
  --surface-2: #f1edf4;
  --soft: #f7f1f5;
  --ink: #281d2d;
  --muted: #64586a;
  --border: #e8e0ec;
  --accent: #a13d2b;
  --accent-line: #cc725f;
  --button-bg: #ac4432;
  --button-hover: #963725;
  --button-text: #ffffff;
  --active: #faeae5;
  --danger-text: #a23440;
  --shadow: 0 3px 10px #3a254108;
  --chart-grid: #e9e0ef;
  --chart-ink: #a94332;
  --chart-alt: #77549a;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #18141c;
  --surface: #241d29;
  --surface-2: #2e2535;
  --soft: #2c2331;
  --ink: #faf2fa;
  --muted: #cbbdd0;
  --border: #413547;
  --accent: #f6a992;
  --accent-line: #e88973;
  --button-bg: #f19982;
  --button-hover: #ffac96;
  --button-text: #281a28;
  --active: #422b36;
  --danger-text: #ffb2bc;
  --shadow: 0 3px 9px #0003;
  --chart-grid: #47374e;
  --chart-ink: #f4a28b;
  --chart-alt: #c5a7e7;
}
::selection {
  color: var(--ink);
  background: var(--active);
}
:focus-visible {
  outline-color: var(--accent);
}
.brand-image {
  flex: none;
  display: block;
  border-radius: 11px;
}
.logo {
  gap: 10px;
  font-size: 1.45rem;
}
.logo b {
  color: var(--accent);
}
.sidebar .logo b {
  color: #f4a991;
}
.skip {
  background: var(--surface);
  color: var(--ink);
}
.public-shell {
  background: var(--paper);
}
.public-bar {
  padding: 0 24px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.public-bar-inner {
  height: 77px;
  max-width: 1220px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.public-nav {
  gap: 11px;
}
.public-nav > .public-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.89rem !important;
  padding: 8px 10px !important;
}
.public-link:hover,
.public-footer a:hover {
  color: var(--accent) !important;
}
.public-main {
  max-width: 1268px;
  padding: 22px 24px 72px;
}
.public-footer {
  max-width: 1220px;
  border-color: var(--border);
  padding: 20px 0 26px;
  color: var(--muted);
  align-items: center;
}
.public-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.public-footer a {
  color: var(--ink);
  font-size: 0.85rem;
}
.public-footer .logo {
  font-size: 1.06rem;
}
.public-footer .brand-image {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.admin-logo,
.public-nav > .icon-btn {
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex: none;
}
.admin-logo:hover,
.public-nav > .icon-btn:hover {
  background: var(--active);
  border-color: var(--accent-line);
}
.btn {
  min-height: 42px;
  font-size: 0.9rem;
  border-radius: 9px;
  font-weight: 690;
  padding: 9px 14px;
}
.btn.primary {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--button-bg);
}
.btn.primary:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  color: var(--button-text);
  filter: none;
}
.btn.outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn.outline:hover {
  border-color: var(--accent-line);
}
.btn.soft {
  background: var(--active);
  color: var(--accent);
  border-color: var(--border);
}
.btn.white {
  color: #35263a;
  background: #fff8fc;
}
.btn.ghost,
.text-btn {
  color: var(--accent);
}
.landing-hero {
  min-height: 462px;
  display: grid;
  align-items: center;
  padding: 46px clamp(26px, 5.3vw, 77px);
  margin: 6px 0 27px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  background: #251f2c;
  color: #fff7fc;
}
.landing-message {
  position: relative;
  z-index: 1;
  animation: arrive 0.65s cubic-bezier(0.21, 0.69, 0.3, 1) both;
}
.landing-kicker,
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 0.81rem;
  font-weight: 740;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.landing-kicker {
  color: #ffb6a1;
}
.landing-message h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.3rem);
  line-height: 1.04;
  letter-spacing: -0.067em;
  font-weight: 770;
}
.landing-message h1 em {
  font-style: normal;
  color: #f5a38b;
}
.landing-message > p {
  margin: 17px 0 24px;
  max-width: 48ch;
  color: #f0e2ed;
  font-size: clamp(1rem, 1.65vw, 1.12rem);
  line-height: 1.62;
}
.landing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.landing-actions .btn {
  min-height: 50px;
  padding: 12px 18px;
}
.landing-actions .primary {
  background: #f19a82;
  border-color: #f19a82;
  color: #291b28;
}
.landing-actions .primary:hover {
  background: #ffaf9a;
  border-color: #ffaf9a;
  color: #291b28;
}
.landing-actions .outline {
  background: #291f30bb;
  color: #fff6fa;
  border-color: #fbddf36b;
}
.landing-actions .btn svg {
  width: 17px;
  height: 17px;
}
.landing-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.landing-photo {
  background: #2b2130;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.landing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 55%;
  display: block;
  animation: photo-in 3.6s cubic-bezier(0.13, 0.7, 0.3, 1) both;
}
.landing-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #251d2ded 4%,
    #2b2130de 32%,
    #2c23318e 55%,
    #2119231a 100%
  );
  pointer-events: none;
}
.photo-label {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 34px);
  background: #2e2334f2;
  color: #fff5fb;
  border: 1px solid #e5b9db54;
  border-radius: 13px;
  padding: 12px 14px;
  animation: arrive 0.64s 0.24s cubic-bezier(0.21, 0.69, 0.3, 1) both;
}
.photo-label > span {
  display: grid;
  place-items: center;
  color: #ffc0aa;
  background: #6f4152ad;
  border-radius: 8px;
  width: 37px;
  height: 37px;
}
.photo-label strong,
.photo-label small {
  display: block;
}
.photo-label strong {
  font-size: 0.9rem;
}
.photo-label small {
  margin-top: 2px;
  color: #e1cfe0;
  font-size: 0.79rem;
}
.landing-features {
  padding-top: 8px;
}
.feature-heading h2,
.landing-callout h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.054em;
}
.feature-heading p,
.landing-callout p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 18px;
}
.feature-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
  min-width: 0;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
}
.feature-card {
  animation: arrive 0.52s ease backwards;
  box-shadow: var(--shadow);
}
.feature-card:nth-child(2) {
  animation-delay: 0.08s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.16s;
}
.feature-card > span,
.auth-mark {
  color: var(--accent);
  background: var(--active);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  border-radius: 10px;
  width: 43px;
  height: 43px;
}
.feature-card h3 {
  font-size: 1.08rem;
  margin: 11px 0 5px;
}
.feature-card p {
  color: var(--muted);
  line-height: 1.53;
  font-size: 0.93rem;
}
.landing-callout {
  margin-top: 26px;
  padding: 22px 25px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: linear-gradient(125deg, var(--surface-2), var(--surface));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.landing-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.landing-steps li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.91rem;
}
.landing-steps svg {
  color: var(--accent);
  width: 17px;
  height: 17px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes photo-in {
  from {
    transform: scale(1.055);
  }
  to {
    transform: scale(1);
  }
}
.shell {
  background: var(--paper);
  grid-template-columns: 248px minmax(0, 1fr);
}
.sidebar {
  background: #251e2b;
  padding: 25px 15px 16px;
  color: #fbf2fa;
}
.side-link {
  color: #eadfec;
  font-size: 0.9rem;
}
.side-link .sym,
.nav-label,
.account small,
.workspace small {
  color: #cdbed1;
}
.side-link.active {
  background: #493141;
  color: #ffe0d8;
}
.side-link.active .sym {
  color: #ffa992;
}
.side-link.active:before {
  background: #eb8e75;
}
.side-link:hover {
  background: #372b3e;
}
.workspace {
  background: #302636;
  border-color: #514157;
}
.workspace .avatar,
.account .avatar {
  color: #ffd6c9;
  background: #594052;
}
.account {
  border-color: #4e3c51;
}
.topbar {
  background: var(--surface);
  border-color: var(--border);
  height: 69px;
}
.topbar .icon-btn:hover {
  background: var(--active);
}
.content {
  max-width: 1470px;
  padding: 24px 30px 38px;
}
.page-heading h1 {
  letter-spacing: -0.055em;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.page-heading p {
  font-size: 0.92rem;
}
.hero {
  background-color: #292032;
  border-radius: 15px;
}
.hero:before {
  background: linear-gradient(
    90deg,
    #241c2cf2 4%,
    #2b2133d5 35%,
    #3624385e 70%,
    #251d2b21
  );
}
.hero .hero-kicker {
  color: #ffbba7;
  margin-bottom: 9px;
}
.hero h1,
.hero h2 {
  color: #fff4fa;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}
.hero p {
  font-size: 0.98rem;
  color: #eee1f0;
  max-width: 55ch;
}
.dashboard-hero {
  min-height: 172px;
}
.dashboard-hero h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}
.setup-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 15px;
}
.setup-strip p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 3px;
}
.metric,
.card,
.service-card,
.record-options button,
dialog {
  background: var(--surface);
  border-color: var(--border);
  border-radius: 12px;
}
.metric-head,
.chart text,
.chart-legend {
  color: var(--muted);
  fill: var(--muted);
}
.metric-head {
  font-size: 0.86rem;
}
.metric strong {
  font-size: 1.6rem;
}
.metric small,
.agenda-title small {
  font-size: 0.79rem;
}
.card-head h2,
.section-head h2 {
  font-size: 1.09rem;
}
.card-head p,
.section-head p {
  font-size: 0.86rem;
}
.agenda-item {
  border-color: var(--border);
}
.agenda-title,
.agenda-item time {
  font-size: 0.86rem;
}
.text-btn {
  font-size: 0.83rem;
}
.chart-legend .income {
  background: var(--chart-ink);
}
.chart-legend .expense {
  background: var(--chart-alt);
}
.chart-grid {
  stroke: var(--chart-grid);
}
.chart-income {
  stroke: var(--chart-ink);
}
.chart-expense {
  stroke: var(--chart-alt);
}
.chart-fill {
  stop-color: var(--chart-ink);
}
.filter,
.field input,
.field select,
.field textarea,
.toolbar input {
  background-color: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.field {
  color: var(--ink);
  font-size: 0.91rem;
}
.field input,
.field select,
.field textarea,
.toolbar input {
  font-size: 1rem;
  min-height: 43px;
}
.field input::placeholder,
.toolbar input::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
.field input:hover,
.field select:hover,
.field textarea:hover,
.toolbar input:hover {
  border-color: var(--accent-line);
}
.filter {
  font-size: 0.82rem;
}
.tab {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.86rem;
}
.tab.active {
  background: var(--active);
  color: var(--accent);
  border-color: var(--border);
}
.field input[type="checkbox"] {
  min-height: 16px;
}
th,
td {
  font-size: 0.88rem;
  border-color: var(--border);
  padding: 12px 14px;
}
th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.79rem;
}
.pill {
  font-size: 0.73rem;
}
.notice {
  line-height: 1.45;
}
.notice.neutral {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}
.form-error {
  color: var(--danger-text);
}
.verify-code {
  background: var(--surface-2);
}
.mobile-nav {
  background: var(--surface);
  border-color: var(--border);
}
.mobile-nav > * {
  color: var(--muted);
}
.mobile-nav button .sym {
  background: var(--active);
}
[data-theme="dark"] :is(.chip-icon, .pill) {
  background: var(--surface-2);
  color: #f3c5d9;
}
[data-theme="dark"]
  :is(.pill.confirmed, .pill.live, .pill.activated, .pill.in, .positive) {
  background: #293a28;
  color: #c6e3a9;
}
[data-theme="dark"] :is(.pill.cancelled, .pill.out, .negative) {
  background: #442a26;
  color: #ffc0b8;
}
[data-theme="dark"] .filter,
[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f0e1ce' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.auth-grid {
  max-width: 1010px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  margin: 23px auto 20px;
  border-color: var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 38px #35203c12;
  animation: arrive 0.42s ease both;
}
.auth-art {
  min-height: 525px;
  justify-content: flex-end;
  padding: 30px;
  background:
    linear-gradient(0deg, #251b2ced 6%, #2c2034a2 48%, #20152626),
    url("/barber.webp") 50% 42% / cover;
  color: #fff4fa;
}
.auth-art .hero-kicker {
  color: #ffb5a0;
  margin: 0 0 7px;
}
.auth-art h2 {
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
}
.auth-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.auth-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5e6f3;
  font-size: 0.9rem;
}
.auth-steps svg {
  color: #ffb19c;
}
.auth-card {
  padding: 28px clamp(23px, 4.3vw, 46px) 32px;
}
.auth-card h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.21rem);
  line-height: 1.12;
}
.auth-card > p {
  font-size: 0.98rem;
  margin-bottom: 18px;
  line-height: 1.52;
}
.auth-mark {
  margin-bottom: 13px;
}
.auth-tabs {
  padding: 4px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 10px;
  gap: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.auth-tabs .tab {
  text-align: center;
  display: block;
  padding: 8px 5px;
}
.auth-card .form {
  gap: 14px;
}
.auth-card .fields {
  gap: 13px;
}
.auth-card .form > .actions .btn {
  width: 100%;
  min-height: 45px;
}
.auth-card .foot-text {
  justify-content: space-between;
  gap: 4px;
}
.auth-card .foot-text .btn {
  white-space: normal;
  text-align: right;
  padding-right: 0;
}
.shop h2,
.service-card h3 {
  font-size: 1.01rem;
}
.shop p,
.service-card p {
  font-size: 0.87rem;
}
.service-card {
  padding: 15px;
}
@media (max-width: 1060px) {
  .shell {
    grid-template-columns: 204px minmax(0, 1fr);
  }
  .content {
    padding-inline: 19px;
  }
  .public-footer {
    margin-inline: 24px;
  }
  .landing-message h1 {
    font-size: clamp(2.8rem, 6.3vw, 4.45rem);
  }
}
@media (max-width: 850px) {
  .landing-hero {
    min-height: 422px;
  }
  .auth-grid {
    margin-top: 20px;
  }
  .auth-art {
    min-height: 520px;
  }
  .landing-message > p {
    margin: 15px 0 19px;
  }
  .feature-card {
    padding: 16px;
  }
  .public-nav > .public-link {
    padding-inline: 6px !important;
  }
}
@media (max-width: 700px) {
  .public-bar {
    padding: 0 13px;
  }
  .public-bar-inner {
    height: 62px;
    gap: 8px;
  }
  .public-bar .logo {
    font-size: 1.12rem;
    gap: 6px;
  }
  .public-bar .brand-image {
    width: 33px;
    height: 33px;
    border-radius: 8px;
  }
  .public-nav {
    gap: 5px;
  }
  .public-nav > .discover-link {
    display: none !important;
  }
  .public-nav > .public-link {
    font-size: 0.76rem !important;
    padding-inline: 4px !important;
  }
  .public-nav .btn {
    min-height: 35px;
    font-size: 0.78rem;
    padding: 5px 7px;
  }
  .admin-logo,
  .public-nav > .icon-btn {
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }
  .public-main {
    padding: 13px 14px 34px;
  }
  .public-footer {
    margin-inline: 14px;
    padding-block: 13px 22px;
  }
  .landing-hero {
    align-items: start;
    min-height: 500px;
    padding: 25px 17px 147px;
    border-radius: 16px;
    margin: 0 0 17px;
  }
  .landing-message {
    min-width: 0;
  }
  .landing-message h1 {
    font-size: clamp(2.18rem, 8.4vw, 3.6rem);
    line-height: 1.05;
  }
  .landing-kicker {
    margin-bottom: 11px;
    font-size: 0.75rem;
  }
  .landing-message > p {
    font-size: 1rem;
    margin: 12px 0 15px;
  }
  .landing-actions .btn {
    min-height: 44px;
    padding: 8px 12px;
  }
  .landing-photo img {
    object-position: 74% center;
  }
  .landing-photo:after {
    background: linear-gradient(
      180deg,
      #271e2ded 10%,
      #2b2130eb 35%,
      #2b21309c 57%,
      #261e2b2d 77%,
      #23192594 100%
    );
  }
  .photo-label {
    left: 10px;
    right: auto;
    bottom: 13px;
    padding: 7px 9px;
  }
  .photo-label > span {
    width: 32px;
    height: 32px;
  }
  .landing-features {
    padding-top: 4px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .feature-card {
    padding: 13px;
  }
  .feature-card > span {
    float: left;
    margin-right: 10px;
    width: 36px;
    height: 36px;
  }
  .feature-card h3 {
    margin: 3px 0 4px;
  }
  .feature-card p {
    padding-left: 46px;
  }
  .landing-callout {
    display: block;
    padding: 15px;
    margin-top: 15px;
  }
  .landing-callout .btn {
    margin-top: 11px;
  }
  .landing-steps {
    gap: 8px 15px;
  }
  .auth-grid {
    grid-template-columns: 1fr;
    margin: 5px auto 0;
    max-width: 465px;
    border-radius: 14px;
  }
  .auth-card {
    padding: 17px 16px 20px;
  }
  .auth-card .field input {
    font-size: 1rem;
  }
  .auth-card .form {
    gap: 10px;
  }
  .admin-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .admin-metrics .metric {
    padding: 8px;
  }
  .admin-metrics .metric-head {
    display: grid;
    gap: 4px;
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .admin-metrics .metric small {
    display: none;
  }
  .topbar {
    height: 59px;
  }
  .content {
    padding: 15px 13px 82px;
  }
  .page-heading h1 {
    font-size: 1.55rem;
  }
  .setup-strip {
    display: block;
  }
  .setup-strip .actions {
    margin-top: 7px;
  }
  .dashboard-hero {
    min-height: 152px;
  }
  .hero p {
    font-size: 0.88rem;
  }
  .hero .btn {
    font-size: 0.82rem;
  }
  .mobile-nav > * {
    font-size: 0.67rem;
  }
  .table-wrap table,
  .table-wrap tbody {
    display: block;
    white-space: normal;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .table-wrap tr {
    display: grid;
    border-bottom: 1px solid var(--border);
    padding: 4px 10px;
  }
  .table-wrap tr:last-child {
    border-bottom: 0;
  }
  .table-wrap td {
    border: none;
    padding: 5px 0;
    display: grid;
    grid-template-columns: minmax(4.6rem, 0.7fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 6px;
    overflow-wrap: anywhere;
  }
  .table-wrap td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
  }
  .table-wrap td > * {
    justify-self: start;
  }
  .table-wrap td > br {
    display: none;
  }
  .table-wrap td .row-actions {
    flex-wrap: wrap;
  }
  .table-wrap td .btn {
    white-space: normal;
  }
}
@media (max-width: 357px) {
  .public-nav > .login-link {
    display: none !important;
  }
  .public-nav .btn {
    min-height: 34px;
  }
  .public-bar .logo {
    font-size: 1.04rem;
  }
  .landing-message h1 {
    font-size: 2.12rem;
  }
  .landing-actions .btn {
    font-size: 0.84rem;
  }
  .feature-card p {
    font-size: 0.88rem;
  }
  .service-card {
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .feature-card:hover {
    transform: none;
  }
}
body {
  min-width: 0;
}
.public-bar-inner {
  width: 100%;
}
.public-nav > a.admin-logo:not(.btn) {
  display: grid;
  color: var(--accent);
  padding: 0;
}
.public-nav > a.admin-logo:not(.btn):hover {
  color: var(--ink);
}
.drawer-overlay {
  display: none;
}
@media (max-width: 700px) {
  .sidebar.open {
    box-shadow: 10px 0 45px #211b2b50;
  }
  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    z-index: 5;
    background: #211728b5;
  }
}
@media (max-width: 357px) {
  .public-footer > div {
    gap: 8px;
  }
  .public-footer a {
    font-size: 0.77rem;
  }
  .public-footer {
    align-items: flex-start;
  }
  .public-nav .admin-logo,
  .public-nav > .icon-btn {
    width: 34px;
    height: 34px;
  }
}
.public-service-grid .service-card.is-selected {
  border-color: var(--accent-line);
}
.public-service-grid .service-card {
  min-height: 144px;
}
.cart-dock {
  position: fixed;
  right: max(18px, calc((100vw - 1210px) / 2));
  bottom: max(17px, env(safe-area-inset-bottom));
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(400px, calc(100vw - 36px));
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 35px #21172720;
}
.public-shell:has(.cart-dock) {
  padding-bottom: 92px;
}
.cart-dock-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-dock-main strong,
.cart-dock-main small {
  display: block;
}
.cart-dock-main small {
  color: var(--muted);
  margin-top: 2px;
}
.cart-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line strong {
  overflow-wrap: anywhere;
}
.cart-line small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.cart-quantity {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-quantity button {
  border-color: var(--border);
  width: 28px;
  height: 28px;
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 9px 0;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--surface-2);
  font-weight: 650;
}
.cart-total span {
  color: var(--muted);
  font-size: 0.9rem;
}
.reservation-help {
  color: var(--muted);
  margin: 8px 0 12px;
}
.booking-queue {
  margin-bottom: 16px;
}
.queue-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin: 0 15px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.queue-row small,
.admin-agenda small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.request-snapshot {
  padding: 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  margin-bottom: 13px;
}
.request-snapshot ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.request-snapshot li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.request-snapshot h3 {
  font-size: 1rem;
}
.report-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 16px;
  padding: 13px;
}
.report-filters strong {
  display: block;
  margin-bottom: 5px;
}
.report-filters .section-tabs {
  margin: 0;
}
.report-chart {
  margin-bottom: 17px;
}
.report-more {
  display: flex;
  justify-content: center;
  margin-top: 13px;
}
.performance-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
}
.performance-bar {
  display: grid;
  grid-template-rows: 22px 105px 20px;
  justify-items: center;
  gap: 4px;
}
.performance-bar small {
  color: var(--muted);
}
.performance-track {
  align-self: stretch;
  width: min(30px, 75%);
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  align-items: end;
  overflow: hidden;
}
.performance-track span {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--accent-line);
}
.admin-agenda {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.pill.suspended {
  background: #fde5e5;
  color: #8d2736;
}
[data-theme="dark"] .pill.suspended {
  background: #482735;
  color: #ffc1cc;
}
.inbox-toggle {
  position: relative;
}
.inbox-toggle span {
  position: absolute;
  right: -6px;
  top: -6px;
  padding: 0 4px;
  min-width: 17px;
  min-height: 17px;
  color: var(--button-text);
  background: var(--button-bg);
  border-radius: 20px;
  font-size: 0.68rem;
  display: grid;
  place-items: center;
}
.inbox-toggle span[hidden] {
  display: none;
}
.inbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.inbox-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.inbox-row:last-child {
  border-bottom: 0;
}
.inbox-row.unread {
  background: var(--surface-2);
}
.inbox-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .page-heading.mobile-actions {
    flex-wrap: wrap;
    gap: 9px;
  }
  .page-heading.mobile-actions .actions {
    justify-content: flex-start;
  }
  .page-heading.mobile-actions .actions .btn.outline {
    display: inline-flex;
  }
  .cart-dock {
    right: 9px;
    width: calc(100vw - 18px);
    gap: 8px;
  }
  .cart-dock .btn {
    padding-inline: 9px;
  }
  .cart-line {
    gap: 6px;
    font-size: 0.86rem;
  }
  .queue-row {
    margin-inline: 9px;
  }
  .queue-row .btn,
  .inbox-row .btn {
    white-space: normal;
    font-size: 0.8rem;
  }
  .performance-track {
    width: min(22px, 78%);
  }
  .report-filters {
    gap: 8px;
  }
}
