:root {
  --blush: #f8d7e4;
  --rose: #d9789a;
  --rose-deep: #c45d82;
  --lilac: #e4d4f5;
  --lavender: #c9b4e8;
  --peach: #f8dcc8;
  --cream: #fff4e8;
  --ink: #4a3642;
  --muted: #8a6f7c;
  --paper: #fff8fb;
  --card: #ffffff;
  --line: #f0dce5;
  --sidebar: #fff0f5;
  --shadow: 0 18px 40px rgba(196, 93, 130, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, #ffe8f1 0, transparent 28%),
    radial-gradient(circle at 90% 0%, #efe4ff 0, transparent 26%),
    var(--paper);
}

h1, h2, h3, h4, .brand-name {
  font-family: "Cormorant Garamond", serif;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  background: linear-gradient(180deg, #fff7fb, #f7e8f2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 20;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), #e8b4d4);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 600;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background: #fff;
  color: var(--rose-deep);
  box-shadow: var(--shadow);
}

.sidebar-card {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ec8a3;
  margin-right: 6px;
}

.main-wrap {
  flex: 1;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(255, 248, 251, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.sidebar-toggle {
  display: none;
  border: 0;
  background: #fff;
  color: var(--rose-deep);
}

.search-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.search-pill input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--ink);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-chip,
.icon-btn,
.profile-chip {
  background: #fff;
  border: 1px solid var(--line);
}

.date-chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  color: var(--rose-deep);
}

.icon-btn .dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
}

.profile-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-chip strong,
.profile-chip small {
  display: block;
  line-height: 1.15;
}

.profile-chip small {
  color: var(--muted);
}

main {
  padding: 28px;
}

.panel {
  scroll-margin-top: 96px;
  margin-bottom: 36px;
}

.welcome-card,
.soft-card,
.stat-card,
.service-card,
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.welcome-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 236, 244, 0.92)),
    #fff;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--rose-deep);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

h1 em {
  font-style: italic;
  color: var(--rose-deep);
}

.lede {
  color: var(--muted);
  max-width: 560px;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-rose {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

.btn-rose:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 20px;
  font-weight: 700;
}

.portrait-wrap {
  position: relative;
}

.portrait-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
}

.floating-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-deep);
}

.stat-row {
  margin-top: 18px;
}

.stat-card {
  padding: 18px;
  min-height: 150px;
}

.stat-card.blush { background: linear-gradient(180deg, #fff, #ffe8f1); }
.stat-card.lilac { background: linear-gradient(180deg, #fff, #f3e9ff); }
.stat-card.peach { background: linear-gradient(180deg, #fff, #fff0e4); }
.stat-card.cream { background: linear-gradient(180deg, #fff, #fff7ea); }

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--rose-deep);
  margin-bottom: 10px;
}

.stat-card p,
.stat-card small {
  margin: 0;
  color: var(--muted);
}

.stat-card h3 {
  margin: 4px 0;
  font-size: 2rem;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.soft-card,
.service-card,
.quote-card {
  padding: 22px;
  height: 100%;
}

.petal-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.petal-list li + li {
  margin-top: 6px;
}

.profile-mini dl {
  margin: 0;
}

.profile-mini dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.profile-mini dt {
  color: var(--muted);
  font-weight: 600;
}

.profile-mini dd {
  margin: 0;
  text-align: right;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pill.live { background: #e4f6ec; color: #2f7a55; }
.pill.warm { background: #fff1d8; color: #9a6a18; }
.pill.soft { background: #f6e4ef; color: var(--rose-deep); }

.service-card i {
  font-size: 1.4rem;
  color: var(--rose-deep);
}

.service-card h3 {
  margin: 12px 0 8px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.skill + .skill {
  margin-top: 18px;
}

.skill-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #f6e6ee;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #f3b4c9, var(--rose-deep));
}

.bar.lilac span { background: linear-gradient(90deg, #d8c4f4, #9b7ad0); }
.bar.peach span { background: linear-gradient(90deg, #f5c9a8, #d98b5f); }
.bar.cream span { background: linear-gradient(90deg, #f4ddb0, #d4a24c); }

.process-card ol {
  margin: 0;
  padding-left: 18px;
}

.process-card li + li {
  margin-top: 12px;
}

.table-card {
  padding: 8px 12px 4px;
}

.table {
  margin: 0;
}

.table thead th {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom-color: var(--line);
}

.table td,
.table th {
  border-color: var(--line);
}

.table small {
  display: block;
  color: var(--muted);
}

.quote-card p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}

.quote-card .stars {
  color: #e0a35a;
  margin-bottom: 8px;
}

.quote-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-meta ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.contact-meta li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-meta i {
  color: var(--rose-deep);
}

.form-control,
.form-select {
  border-radius: 14px;
  border-color: var(--line);
  padding: 10px 14px;
  background: #fffafc;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 0.2rem rgba(217, 120, 154, 0.15);
}

.form-success {
  margin: 12px 0 0;
  color: #2f7a55;
  font-weight: 700;
}

.site-foot {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 8px 4px 24px;
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }

  .sidebar.open {
    transform: none;
  }

  .sidebar-toggle {
    display: inline-flex;
  }

  .welcome-card {
    grid-template-columns: 1fr;
  }

  .profile-chip span,
  .profile-chip small,
  .profile-chip strong,
  .date-chip {
    display: none;
  }

  .sidebar-backdrop.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(74, 54, 66, 0.28);
    z-index: 15;
  }
}

@media (max-width: 575px) {
  main {
    padding: 18px;
  }

  .search-pill {
    display: none;
  }
}
