@font-face {
  font-family: Manrope;
  src: url("/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0d0b0d;
  --surface: #171316;
  --surface-high: #20191d;
  --line: #33282e;
  --text: #f4ede8;
  --muted: #b3a5ad;
  --gold: #d9bd83;
  --gold-light: #ead6af;
  --burgundy: #7e2c45;
  --burgundy-dark: #35131f;
  --purple: var(--gold);
  --green: #9fceba;
  --radius: 16px;
  --shadow: 0 12px 32px #00000012;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.55 Manrope,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
input,
select,
textarea {
  min-width: 0;
}
a {
  color: var(--gold);
}
img {
  max-width: 100%;
}
.ico {
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
p {
  margin: 5px 0;
  color: var(--muted);
}
h1,
h2,
h3 {
  color: var(--text);
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 750;
}
h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.45px;
  line-height: 1.45;
  margin: 0;
}
h3 {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
}
.caption {
  font-size: 13px;
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.shell {
  max-width: 1800px;
  margin: auto;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 22px;
  border-right: 1px solid var(--line);
  background: #100d10;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.brand-image {
  display: block;
  width: 194px;
  height: 102px;
  object-fit: contain;
}
.sidebar > .caption {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 10px 0 0;
  color: #a68c71;
}
.nav-heading {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #8d7e86;
  margin: 36px 17px 13px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.nav:hover {
  background: #ffffff05;
  color: var(--text);
}
.nav.active {
  background: linear-gradient(100deg, #60213766, #38182044);
  border-color: #8d3f503a;
  color: var(--gold-light);
}
.nav.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.sidebar footer {
  margin-top: auto;
  padding: 16px;
  background: #1d1519;
  border: 1px solid #49303b;
  border-radius: 12px;
}
.sidebar footer p {
  font-size: 12px;
  margin: 8px 0 13px;
}
.sidebar footer .link {
  font-size: 12px;
  padding: 0;
  min-height: 30px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1b279;
  flex-shrink: 0;
}
.dot.on {
  background: var(--green);
}
main {
  min-width: 0;
  padding: 25px 40px 40px;
  background: radial-gradient(ellipse at 90% 0, #6b203b0d, transparent 48%);
}
.topbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 21px;
  margin-bottom: 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #91828c;
}
.breadcrumb .ico {
  width: 15px;
  height: 15px;
}
.breadcrumb b {
  font-weight: 550;
  color: #c3b3bd;
}
.breadcrumb-divider {
  color: #604552;
}
.profile {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  text-align: right;
}
.profile-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile small {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--muted);
  display: block;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #35232b;
  border: 1px solid #624033;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 650;
  flex-shrink: 0;
}
.mobile-brand {
  display: none;
}
.page {
  animation: appear 0.25s ease both;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.heading > div {
  min-width: 0;
}
.heading p {
  font-size: 14px;
  max-width: 660px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  background: linear-gradient(105deg, #e0c68e, #c5a369);
  color: #241a0f;
  border: 1px solid #e6ce9b66;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 3px 10px #00000012;
  transition:
    filter 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 5px 17px #00000022;
}
.button:active {
  transform: translateY(0);
}
.button .ico {
  width: 18px;
  height: 18px;
}
.button.secondary {
  background: #241b20;
  border-color: #4a343e;
  color: #e4d6de;
  box-shadow: none;
}
.button.secondary:hover {
  background: #30212a;
  border-color: #815064;
}
.button.small {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 12px;
}
.link {
  background: none;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 0;
  text-align: left;
  line-height: 1.5;
  min-height: 36px;
}
.link:hover {
  color: var(--gold-light);
}
.danger {
  color: #ed9daf;
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border: 1px solid #75433766;
  background:
    radial-gradient(ellipse at 95% 30%, #8d34514a, transparent 55%),
    linear-gradient(115deg, #2b141d, #211219);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 24px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 #e6bf7610;
}
.hero h2 {
  font-size: 23px;
  letter-spacing: -0.65px;
  margin-bottom: 7px;
}
.hero p {
  font-size: 13px;
  max-width: 520px;
  line-height: 1.8;
}
.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  height: 112px;
  gap: 9px;
  transform: rotate(15deg);
  flex-shrink: 0;
}
.nail-swatch {
  width: 35px;
  height: 83px;
  border-radius: 24px 24px 12px 12px;
  background: linear-gradient(100deg, #6b1b35, #a6536a 40%, #652235 70%);
  border: 1px solid #cc8f9c30;
  box-shadow:
    8px 8px 18px #0004,
    inset 3px 0 5px #fff1;
}
.nail-swatch:nth-child(2) {
  height: 98px;
  background: linear-gradient(
    100deg,
    #74603d,
    #e2c791 40%,
    #af894e 65%,
    #d9bc82
  );
  border-color: #e1bf9166;
}
.nail-swatch:nth-child(3) {
  background: linear-gradient(100deg, #121010, #423034 40%, #191014);
  height: 76px;
  border-color: #6b4449;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}
.stat {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.stat:hover {
  border-color: #5b3b47;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  min-height: 20px;
}
.stat-head .ico {
  color: #c4a675;
  width: 18px;
  height: 18px;
}
.value {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 16px 0 7px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat small {
  font-size: 11px;
  color: #a5949f;
  line-height: 1.6;
  display: block;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
}
.panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head > div {
  min-width: 0;
}
.panel-head .badge {
  flex-shrink: 0;
}
.panel-head .link {
  font-size: 12px;
  white-space: nowrap;
}
.empty {
  padding: 46px 24px 48px;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.empty > .ico {
  width: 42px;
  height: 42px;
  color: var(--gold);
  padding: 9px;
  box-sizing: content-box;
  background: #4d263b3d;
  border: 1px solid #7e48533b;
  border-radius: 18px;
  margin-bottom: 19px;
  stroke-width: 1.3;
}
.empty h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.empty p {
  font-size: 13px;
  max-width: 370px;
  line-height: 1.8;
}
.empty br {
  display: none;
}
.empty .button {
  margin-top: 23px;
}
.empty .button .ico {
  padding: 0;
  box-sizing: border-box;
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  width: 18px;
  height: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  border-bottom: 1px solid #33282e99;
  min-width: 0;
}
.row:last-child {
  border-bottom: 0;
}
.grow {
  flex: 1;
  min-width: 0;
}
.row p {
  font-size: 12px;
  margin: 4px 0;
}
.time {
  color: var(--gold);
  font-size: 14px;
  font-weight: 650;
  min-width: 47px;
  font-variant-numeric: tabular-nums;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  max-width: 100%;
  background: #9fceba11;
  color: var(--green);
  border: 1px solid #9fceba13;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1px;
}
.badge.pending {
  color: #ddbd87;
  background: #ddbd8710;
  border-color: #ddbd8718;
}
.badge.muted {
  color: #b3a1ad;
  background: #ffffff05;
  border-color: #ffffff08;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.toolbar input {
  max-width: 360px;
}
.toolbar .spacer {
  flex: 1;
}
input,
textarea,
select {
  width: 100%;
  background: #110e11;
  border: 1px solid #49333f;
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  min-height: 46px;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
input::placeholder,
textarea::placeholder {
  color: #8b7c86;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #c6a76e;
  box-shadow: 0 0 0 3px #d9bd830a;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23c9ae7e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 39px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #decfd8;
  font-weight: 550;
}
label .caption {
  font-weight: 400;
  font-size: 11px;
  line-height: 1.7;
}
form {
  display: grid;
  gap: 19px;
}
textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.75;
}
input[type="checkbox"] {
  min-height: 0;
}
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  min-width: 0;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}
input::-webkit-calendar-picker-indicator {
  opacity: 0.7;
  cursor: pointer;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.client {
  padding: 23px;
}
.client > .avatar {
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
}
.client h2 {
  font-size: 17px;
}
.client p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.client footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 19px;
  flex-wrap: wrap;
}
.chat-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  min-height: 560px;
}
.chat-list {
  max-height: 680px;
  overflow: auto;
  border-right: 1px solid var(--line);
}
.conversation {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 18px;
  text-align: left;
  background: none;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.conversation:hover {
  background: #ffffff03;
}
.conversation.active {
  background: #722c4529;
}
.conversation > span:last-child {
  min-width: 0;
}
.conversation h3 {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conversation p {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.conversation .caption {
  font-size: 10px;
}
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.messages {
  flex: 1;
  min-height: 300px;
  max-height: 430px;
  padding: 24px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: radial-gradient(ellipse at bottom, #58273a18, transparent);
}
.bubble {
  padding: 12px 15px;
  border-radius: 12px 12px 12px 3px;
  background: #2a2027;
  max-width: 85%;
  align-self: flex-start;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.75;
}
.bubble.out {
  background: #4d2535;
  align-self: flex-end;
  border-radius: 12px 12px 3px 12px;
}
.bubble small {
  display: block;
  font-size: 10px;
  color: #bd9eaf;
  margin-top: 7px;
}
.composer {
  display: flex;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid var(--line);
}
.composer input {
  flex: 1;
  min-width: 0;
}
.settings {
  padding: 25px;
  max-width: 800px;
}
.settings hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.settings form > h2 {
  margin-bottom: 4px;
}
.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.toggle > span {
  min-width: 0;
}
.toggle .caption {
  font-size: 11px;
  line-height: 1.7;
  display: inline-block;
  margin-top: 4px;
}
.toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
  box-shadow: none;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service {
  padding: 25px;
}
.service .ico {
  color: var(--gold);
}
.service h2 {
  font-size: 18px;
}
.service p {
  font-size: 13px;
}
.service .price {
  font-size: 29px;
  color: var(--gold);
  margin-top: 20px;
}
.note {
  padding: 16px;
  background: #38232e44;
  border: 1px solid #75505e44;
  border-radius: 11px;
  font-size: 12px;
  color: #c9b9c3;
  line-height: 1.85;
}
.note b {
  color: #e2cfb0;
}
code {
  font-size: 12px;
  color: var(--gold-light);
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin: auto;
  padding: 28px;
  background: #1c151a;
  color: var(--text);
  border: 1px solid #72515d;
  border-radius: 18px;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #070407b8;
  backdrop-filter: blur(6px);
}
dialog[open] {
  animation: appear 0.2s ease;
}
dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}
dialog header h2 {
  font-size: 19px;
}
.close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #58404e;
  background: #2c2029;
  border-radius: 50%;
  font-size: 22px;
  color: #cfbbc7;
  line-height: 1;
}
.close:hover {
  background: #3b2834;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  max-width: min(450px, 90vw);
  padding: 13px 21px;
  border: 1px solid #80663f;
  border-radius: 11px;
  background: #e4d4b4;
  color: #2e2417;
  font-size: 13px;
  font-weight: 550;
  box-shadow: 0 10px 40px #0007;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.login {
  width: min(420px, calc(100% - 32px));
  margin: 10dvh auto;
  padding: 30px;
  background:
    radial-gradient(ellipse at top, #63283c33, transparent 70%), var(--surface);
}
.login .brand-image {
  width: 220px;
  height: 110px;
  margin-bottom: 28px;
}
.login h1 {
  font-size: 25px;
}
.login p {
  font-size: 13px;
}
.loading {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 14px;
}
.date-label {
  text-transform: capitalize;
}
.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.date-control {
  position: relative;
  min-width: 0;
}
.date-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #20171d;
  border: 1px solid #513543;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.date-button .ico {
  color: var(--gold);
  width: 18px;
  height: 18px;
}
.date-native {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.calendar-meta {
  text-align: right;
}
.calendar-meta p {
  font-size: 11px;
  margin: 0;
}
.calendar-meta h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 13px;
  background: #161115;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 24px;
}
.week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 76px;
  padding: 10px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: #ac98a5;
  transition: 0.18s;
}
.week-day:hover {
  background: #4c263c44;
}
.week-day span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
.week-day b {
  font-size: 21px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #d7c7d1;
}
.week-day.selected {
  background: linear-gradient(145deg, #66263e, #3c1b29);
  border-color: #aa62655c;
  color: var(--gold-light);
  box-shadow: inset 0 1px 0 #e5bc7d10;
}
.week-day.selected b {
  color: var(--gold-light);
}
.week-day.is-today:not(.selected) b {
  color: var(--gold);
}
.agenda-panel .empty {
  min-height: 300px;
}
.agenda-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  font-size: 11px;
  color: #a28c9b;
}
.agenda-footnote .ico {
  width: 14px;
  height: 14px;
}
.agenda-heading .heading {
  margin-bottom: 26px;
}
.agenda-count {
  font-size: 12px;
  color: var(--muted);
}
.agenda-count b {
  color: var(--gold-light);
  font-weight: 650;
}
.connection-pill {
  font-size: 10px;
  color: #bdaeb7;
  border: 1px solid #4b343e;
  padding: 5px 9px;
  border-radius: 6px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.topbar-status {
  display: flex;
  gap: 17px;
  align-items: center;
}
.shortcut-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}
.shortcut {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  min-height: 60px;
  padding: 13px 17px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #191217;
  color: #d0bcc9;
  transition: 0.18s;
}
.shortcut:hover {
  border-color: #754355;
  background: #251820;
}
.shortcut > .ico {
  color: var(--gold);
  width: 18px;
  height: 18px;
}
.shortcut span {
  font-size: 12px;
  font-weight: 600;
}
.shortcut small {
  display: block;
  font-size: 10px;
  color: #9e8997;
  font-weight: 450;
  margin-top: 2px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  main {
    padding: 28px 58px 45px;
  }
  .shell {
    grid-template-columns: 270px minmax(0, 1fr);
  }
}
@media (max-width: 1190px) {
  .shell {
    grid-template-columns: 216px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 14px 19px;
  }
  .brand-image {
    width: 175px;
    height: 93px;
  }
  main {
    padding: 24px 28px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .topbar-status > .connection-pill {
    display: none;
  }
  .chat-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .shortcut {
    padding: 12px;
  }
  .shortcut small {
    display: none;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    padding: 7px 10px calc(8px + env(safe-area-inset-bottom));
    background: #160f15f2;
    backdrop-filter: blur(22px);
    border-right: 0;
    border-top: 1px solid #60404d;
    z-index: 10;
    box-shadow: 0 -8px 30px #0003;
  }
  .sidebar > .brand,
  .sidebar > .caption,
  .nav-heading,
  .sidebar footer {
    display: none;
  }
  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3px;
    overflow: visible;
  }
  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 1px;
    min-width: 0;
    min-height: 54px;
    text-align: center;
    border-radius: 9px;
  }
  .nav span {
    font-size: 10px;
    letter-spacing: -0.2px;
    line-height: 1.4;
  }
  .nav .ico {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
  }
  .nav.active {
    background: #57223766;
    border-color: #93516b33;
  }
  .nav.active::before {
    top: -1px;
    left: calc(50% - 9px);
    right: auto;
    bottom: auto;
    width: 18px;
    height: 2px;
    background: var(--gold);
  }
  main {
    padding: 0 22px calc(104px + env(safe-area-inset-bottom));
    background: radial-gradient(
      ellipse at top right,
      #67233b13,
      transparent 45%
    );
  }
  .topbar {
    height: 93px;
    min-height: 93px;
    padding: 10px 0 13px;
    margin-bottom: 28px;
    gap: 10px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    justify-content: flex-start;
  }
  .mobile-brand .brand-image {
    width: 126px;
    height: 66px;
  }
  .profile > div:first-child {
    display: none;
  }
  .profile .avatar {
    width: 35px;
    height: 35px;
    font-size: 11px;
  }
  .topbar-status {
    gap: 0;
  }
  .heading {
    align-items: center;
    gap: 14px;
    margin-bottom: 23px;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -0.9px;
  }
  .heading p {
    font-size: 12px;
    line-height: 1.85;
    max-width: 360px;
  }
  .heading > .button {
    padding: 11px 14px;
    font-size: 12px;
    min-height: 44px;
    flex-shrink: 0;
  }
  .heading .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
    letter-spacing: 1.3px;
  }
  .heading > .button .ico {
    width: 17px;
    height: 17px;
  }
  .hero {
    padding: 23px 21px;
    margin-bottom: 19px;
    gap: 12px;
  }
  .hero h2 {
    font-size: 20px;
    line-height: 1.45;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-art {
    min-width: 86px;
    width: 86px;
    height: 90px;
    gap: 5px;
    margin-right: -5px;
  }
  .nail-swatch {
    width: 21px;
    height: 56px;
  }
  .nail-swatch:nth-child(2) {
    height: 69px;
  }
  .nail-swatch:nth-child(3) {
    height: 52px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    max-width: 200px;
  }
  .stats {
    gap: 11px;
    margin-bottom: 22px;
  }
  .stat {
    padding: 16px 15px;
    border-radius: 12px;
  }
  .stat-head {
    font-size: 11px;
    gap: 6px;
    align-items: flex-start;
    min-height: 34px;
    line-height: 1.6;
  }
  .stat-head .ico {
    width: 17px;
    height: 17px;
    margin-top: 1px;
  }
  .value {
    font-size: 29px;
    margin: 9px 0 6px;
    letter-spacing: -1px;
  }
  .stat small {
    font-size: 10px;
    line-height: 1.7;
  }
  .columns {
    gap: 18px;
  }
  .panel {
    border-radius: 14px;
  }
  .panel-head {
    min-height: 67px;
    padding: 17px 18px;
    gap: 10px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .panel-head .link {
    font-size: 11px;
  }
  .badge {
    font-size: 9px;
    padding: 4px 7px;
    border-radius: 5px;
  }
  .empty {
    padding: 35px 18px;
    min-height: 230px;
  }
  .empty > .ico {
    width: 34px;
    height: 34px;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 17px;
  }
  .empty h3 {
    font-size: 15px;
  }
  .empty p {
    font-size: 12px;
    max-width: 290px;
  }
  .empty .button {
    min-height: 44px;
    padding: 11px 17px;
    margin-top: 20px;
  }
  .row {
    padding: 17px 18px;
    gap: 10px;
    align-items: center;
  }
  .row h3 {
    font-size: 13px;
  }
  .row p {
    font-size: 11px;
  }
  .row > .avatar {
    width: 33px;
    height: 33px;
    font-size: 10px;
  }
  .row > .badge {
    max-width: 112px;
    white-space: normal;
    text-align: center;
  }
  .time {
    font-size: 12px;
    min-width: 43px;
  }
  .toolbar {
    gap: 12px;
    align-items: center;
  }
  .toolbar input {
    max-width: none;
  }
  .toolbar .spacer {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .client {
    padding: 22px;
  }
  .client h2 {
    font-size: 17px;
  }
  .client footer {
    gap: 16px;
  }
  .client .link {
    font-size: 12px;
  }
  .service-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .chat-layout {
    display: block;
    min-height: 0;
  }
  .chat-list {
    max-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .conversation {
    padding: 15px 18px;
  }
  .conversation p {
    max-width: 260px;
  }
  .chat .panel-head {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .chat .panel-head h3 {
    font-size: 14px;
  }
  .messages {
    min-height: 250px;
    max-height: 45dvh;
    padding: 17px;
  }
  .bubble {
    font-size: 13px;
    max-width: 88%;
  }
  .composer {
    padding: 12px;
    gap: 8px;
  }
  .composer input {
    font-size: 13px;
    padding: 11px 12px;
  }
  .composer .button {
    font-size: 12px;
    padding: 10px 13px;
  }
  .settings {
    padding: 21px;
  }
  .actions {
    gap: 8px;
  }
  .actions .button.small {
    font-size: 10px;
    min-height: 34px;
    padding: 7px 10px;
  }
  .actions .link {
    font-size: 11px;
  }
  .note {
    font-size: 12px;
    padding: 15px;
  }
  form {
    gap: 19px;
  }
  label {
    font-size: 13px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    padding: 12px;
    min-height: 47px;
  }
  textarea {
    font-size: 14px;
  }
  .toggle {
    font-size: 13px;
  }
  .toggle .caption {
    font-size: 11px;
    line-height: 1.8;
  }
  dialog {
    padding: 22px;
    width: calc(100% - 28px);
    max-height: calc(100dvh - 28px);
    border-radius: 16px;
  }
  dialog header {
    margin-bottom: 23px;
  }
  dialog header h2 {
    font-size: 18px;
  }
  .form-grid input {
    min-width: 0;
  }
  #toast {
    bottom: calc(96px + env(safe-area-inset-bottom));
    font-size: 12px;
    max-width: calc(100% - 40px);
    width: max-content;
    padding: 12px 18px;
  }
  .login {
    padding: 27px;
    margin: 8dvh auto;
  }
  .login .brand-image {
    margin-bottom: 24px;
  }
  .calendar-controls {
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .date-button {
    min-height: 46px;
    font-size: 12px;
    padding: 11px 13px;
    gap: 9px;
  }
  .date-button .ico {
    width: 17px;
    height: 17px;
  }
  .calendar-meta h3 {
    font-size: 12px;
  }
  .calendar-meta p {
    font-size: 10px;
  }
  .week-strip {
    gap: 4px;
    padding: 9px;
    margin-bottom: 20px;
    border-radius: 12px;
  }
  .week-day {
    min-height: 67px;
    gap: 4px;
    border-radius: 8px;
  }
  .week-day span {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .week-day b {
    font-size: 19px;
  }
  .agenda-panel .empty {
    min-height: 290px;
  }
  .agenda-footnote {
    font-size: 10px;
    line-height: 1.8;
    align-items: flex-start;
    margin-top: 13px;
  }
  .agenda-footnote .ico {
    margin-top: 2px;
    flex-shrink: 0;
  }
  .agenda-count {
    font-size: 10px;
  }
  .shortcut-row {
    gap: 8px;
    margin-bottom: 22px;
  }
  .shortcut {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 14px 12px;
    min-height: 83px;
    border-radius: 10px;
  }
  .shortcut span {
    font-size: 10px;
    line-height: 1.6;
  }
  .shortcut .ico {
    width: 18px;
    height: 18px;
  }
  .shortcut small {
    display: none;
  }
}
@media (max-width: 370px) {
  main {
    padding-left: 17px;
    padding-right: 17px;
  }
  .sidebar {
    padding-left: 5px;
    padding-right: 5px;
  }
  .nav span {
    font-size: 9px;
  }
  .heading > .button {
    padding: 10px;
    font-size: 11px;
  }
  .heading > .button .ico {
    width: 15px;
    height: 15px;
  }
  .hero-art {
    display: none;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat-head {
    font-size: 10px;
  }
  .value {
    font-size: 27px;
  }
  .calendar-meta h3 {
    font-size: 11px;
  }
  .calendar-meta p {
    font-size: 9px;
  }
  .week-strip {
    padding: 7px;
    gap: 3px;
  }
  .week-day {
    min-height: 63px;
  }
  .week-day b {
    font-size: 18px;
  }
  .date-button {
    font-size: 11px;
    gap: 7px;
    padding: 10px;
  }
  .shortcut span {
    font-size: 9px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Shared finish across studio screens. */
.toggle input {
  appearance: none;
  width: 38px;
  height: 22px;
  border: 1px solid #6b4658;
  border-radius: 20px;
  background: #35232e;
  position: relative;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
  padding: 0;
}
.toggle input::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #bda5b4;
  border-radius: 50%;
  transition:
    transform 0.2s,
    background 0.2s;
  box-shadow: 0 1px 3px #0004;
}
.toggle input:checked {
  background: #762a44;
  border-color: #aa685a;
}
.toggle input:checked::after {
  transform: translateX(16px);
  background: #e9cd96;
}
.toggle input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.panel-head .badge {
  white-space: nowrap;
}
.today-button {
  margin-left: auto;
}
.calendar-meta {
  margin-right: auto;
}
.price {
  font-variant-numeric: tabular-nums;
}
.promo-card > .badge {
  align-self: flex-start;
}
.stat .value {
  white-space: nowrap;
}
.campaign-card .eyebrow {
  line-height: 1.8;
}
.client-consents .badge {
  white-space: normal;
  text-align: left;
}
.qr-placeholder {
  border-color: #805344;
}
.simulation-messages .empty {
  min-height: 230px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.recipient-option input {
  accent-color: var(--gold);
}
@media (max-width: 760px) {
  .nav span {
    font-size: 11px;
  }
  .caption {
    font-size: 12px;
  }
  .heading p {
    font-size: 13px;
  }
  .hero p {
    font-size: 12px;
  }
  .note {
    font-size: 13px;
  }
  .empty p {
    font-size: 13px;
  }
  .empty h3 {
    font-size: 16px;
  }
  .row p {
    font-size: 12px;
  }
  .calendar-meta {
    margin: 0;
    text-align: right;
  }
  .today-button {
    display: none;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .opportunity h3 {
    font-size: 14px;
  }
  .opportunity p {
    font-size: 13px;
  }
  .opportunity .link {
    font-size: 12px;
  }
  .section-heading > div {
    min-width: 0;
  }
  .tabs {
    margin-bottom: 23px;
  }
  .settings {
    max-width: none;
  }
  .model-status .caption {
    font-size: 11px;
  }
  .campaign-footer .actions .link {
    font-size: 12px;
  }
  .settings .section-heading {
    margin-bottom: 26px;
  }
  .badge {
    white-space: normal;
    text-align: center;
  }
  .panel-head .badge {
    white-space: nowrap;
  }
}
@media (max-width: 370px) {
  .nav span {
    font-size: 10px;
  }
  .panel-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .calendar-meta h3 {
    font-size: 11px;
  }
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.calendar-meta h3 {
  text-transform: none;
}
.calendar-meta h3::first-letter {
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .heading {
    align-items: flex-start;
  }
  .heading > .button {
    margin-top: 3px;
  }
}
.planning-settings {
  max-width: 1040px;
}
.weekly-editor {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.weekday-row,
.exception-row {
  padding: 18px;
  border: 1px solid var(--border, #3c2b32);
  border-radius: 14px;
  min-width: 0;
}
.weekday-title {
  margin: 0 0 12px;
}
.period-list {
  display: grid;
  gap: 12px;
}
.period-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.period-row label {
  margin: 0;
  min-width: 0;
}
.period-row button {
  min-height: 44px;
}
.exception-row {
  margin: 12px 0;
}
.exception-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 12px;
  align-items: center;
}
.payment-qr {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 12px;
}
.pix-code {
  overflow-wrap: anywhere;
  font-size: 12px;
  min-height: 96px;
}
.booking-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid #78623e;
  background: #29221a;
  border-radius: 12px;
}
.setup-steps {
  padding-left: 22px;
  color: var(--muted, #b9aeb2);
  line-height: 1.7;
}
.setup-steps li {
  padding: 6px 0;
}
.setup-steps a {
  color: #dbbd80;
}
.planning-intro p {
  margin-top: 8px;
}
.week-count {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
@media (max-width: 600px) {
  .weekday-row,
  .exception-row {
    padding: 14px;
  }
  .period-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .period-row button {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .exception-header {
    grid-template-columns: minmax(0, 1fr);
  }
  .exception-header button {
    justify-self: start;
  }
}
.button.danger {
  background: #742d40;
  border: 1px solid #a65b6f;
  color: #fff4f5;
}
.button.danger:hover {
  background: #89384e;
}
.availability-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.availability-heading .badge {
  flex-shrink: 0;
}
.availability-heading h2 {
  margin: 8px 0 12px;
}
.availability-section {
  border-top: 1px solid var(--line, #3c2b32);
  padding: 22px 0;
}
.availability-section .section-heading {
  margin-bottom: 12px;
}
.weekly-editor {
  gap: 8px;
  margin: 16px 0 0;
}
details.weekday-row {
  padding: 0;
  overflow: hidden;
  background: #ffffff02;
}
.weekday-row > summary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  cursor: pointer;
  list-style: none;
}
.weekday-row > summary::-webkit-details-marker,
.settings-disclosure > summary::-webkit-details-marker {
  display: none;
}
.weekday-name {
  font-weight: 700;
}
[data-week-summary] {
  color: var(--muted, #b9aeb2);
  font-size: 13px;
}
.weekday-row[open] > summary {
  background: #d8b8760c;
  border-bottom: 1px solid var(--line, #3c2b32);
}
.weekday-row[open] .day-chevron {
  transform: rotate(180deg);
}
.weekday-content {
  padding: 18px;
}
.day-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 12px;
}
.settings-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
}
.settings-disclosure summary small {
  display: block;
  margin-top: 7px;
  color: var(--muted, #b9aeb2);
  font-size: 12px;
  font-weight: 400;
}
.disclosure-content {
  padding-top: 22px;
}
.availability-save {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #3c2b32);
}
.availability-save p {
  max-width: 600px;
  margin: 0;
}
.availability-save .button {
  flex-shrink: 0;
}
.copy-days {
  margin: 20px 0;
}
.booking-notice > div {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.booking-notice > div span {
  font-size: 13px;
  color: var(--muted, #b9aeb2);
}
.conversation-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.conversation-filters button {
  display: flex;
  gap: 9px;
  align-items: center;
}
.conversation-filters .selected {
  border-color: #b2925c;
  background: #d8b87619;
  color: #ead09a;
}
.conversation-filters button span {
  opacity: 0.7;
}
.conversation-menu {
  max-width: 300px;
}
.conversation-menu summary {
  cursor: pointer;
  list-style: none;
}
.conversation-menu-items {
  display: grid;
  gap: 14px;
  padding: 16px 0 4px;
}
.conversation-menu-items button {
  text-align: left;
  min-height: 32px;
}
summary:focus-visible {
  outline: 2px solid #d8b876;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .availability-heading {
    display: block;
  }
  .availability-heading > .badge {
    margin-top: 12px;
  }
  .weekday-row > summary {
    grid-template-columns: minmax(0, 1fr) auto 14px;
    gap: 8px 12px;
    padding: 15px 14px;
  }
  [data-week-summary] {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
  }
  [data-week-status] {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .day-chevron {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .weekday-content {
    padding: 14px;
  }
  .availability-save {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .conversation-menu {
    max-width: 100%;
  }
}
.conversation-tools {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.conversation-tools p {
  margin-bottom: 12px;
}
.offset-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--line, #3c2b32);
  border-radius: 12px;
  padding: 16px;
  margin: 22px 0;
}
.offset-picker legend {
  padding: 0 8px;
  color: var(--muted, #b9aeb2);
  font-size: 13px;
}
.offset-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
.offset-picker input {
  width: 18px;
  height: 18px;
  accent-color: #d6b878;
}
.creative-panel {
  border: 1px solid #6b5139;
  border-radius: 12px;
  margin: 20px 0;
  background: #d6b87807;
}
.creative-panel > summary {
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.creative-content {
  padding: 0 16px 18px;
}
.creative-content a {
  color: #d6b878;
}
.creative-content textarea[readonly] {
  font-size: 13px;
  line-height: 1.7;
}
