:root {
  --ink: #211d1c;
  --ink-soft: #665e5a;
  --paper: #fbf8f5;
  --white: #ffffff;
  --blush: #efe1d8;
  --blush-deep: #d7b8a6;
  --rose: #a76065;
  --line: #e8ded8;
  --green: #4e7564;
  --amber: #a87927;
  --red: #9e4545;
  --shadow: 0 24px 70px rgba(50, 36, 31, 0.12);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.eyebrow { margin: 0 0 12px; color: var(--rose); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.button { border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 12px 28px rgba(33,29,28,.18); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.button-light { color: var(--ink); background: var(--white); }
.button-outline-light { color: var(--white); border: 1px solid rgba(255,255,255,.5); background: transparent; }
.button-ghost-light { width: 100%; color: var(--white); border: 1px solid rgba(255,255,255,.18); background: transparent; }
.button-danger { color: var(--red); border: 1px solid #ebc9c9; background: #fff2f2; }
.button-small { min-height: 38px; padding: 0 16px; background: var(--white); border: 1px solid var(--line); }
.full-width { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5vw, 80px); background: rgba(251,248,245,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(232,222,216,.75); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--ink); font-family: "Playfair Display", serif; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: "Playfair Display", serif; font-size: 1.08rem; }
.brand small { margin-top: 2px; color: var(--ink-soft); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; gap: 30px; font-weight: 600; font-size: .92rem; }
.main-nav a:hover { color: var(--rose); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; }

.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); align-items: center; gap: clamp(30px,6vw,100px); padding: clamp(60px,8vw,120px) clamp(20px,7vw,110px); overflow: hidden; }
.hero h1 { margin: 0; max-width: 760px; font: 600 clamp(3.4rem,7vw,7.2rem)/.92 "Playfair Display", serif; letter-spacing: -.05em; }
.hero h1 em { color: var(--rose); font-weight: 500; }
.hero-text { max-width: 610px; margin: 30px 0; color: var(--ink-soft); font-size: clamp(1rem,1.5vw,1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.booking-note { margin-top: 18px; color: var(--ink-soft); font-size: .83rem; }
.hero-visual { position: relative; min-height: 560px; }
.hero-visual::before { content: ""; position: absolute; inset: 2% -20% 8% 10%; border-radius: 50% 45% 42% 58%; background: linear-gradient(135deg,#e7cfc0,#c99599); transform: rotate(-8deg); }
.hero-card { position: absolute; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.hero-card-main { inset: 10% 2% 7% 12%; padding: 48px; border-radius: 180px 180px 28px 28px; color: var(--white); background: linear-gradient(160deg,rgba(40,31,29,.05),rgba(40,31,29,.7)), radial-gradient(circle at 40% 20%,#d8b09e,#6b4844); border: 10px solid rgba(255,255,255,.45); }
.hero-card-main span { font: 500 2rem "Playfair Display",serif; }
.hero-card-main strong { font: 600 4.4rem/.9 "Playfair Display",serif; }
.hero-card-main small { margin-top: 18px; letter-spacing: .17em; text-transform: uppercase; }
.hero-card-small { right: -7%; top: 7%; width: 150px; height: 150px; padding: 25px; border-radius: 50%; color: var(--ink); background: var(--white); justify-content: center; text-align: center; font: 600 1.15rem/1.45 "Playfair Display",serif; }
.trust-strip { display: flex; justify-content: center; align-items: center; gap: clamp(15px,3vw,50px); padding: 23px 20px; color: #f9efea; background: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--blush-deep); }
.section { padding: clamp(80px,10vw,150px) clamp(20px,7vw,110px); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .about-copy h2, .contact-card h2 { margin: 0 0 20px; font: 600 clamp(2.5rem,4vw,4.6rem)/1 "Playfair Display", serif; letter-spacing: -.04em; }
.section-heading p:last-child, .about-copy p, .contact-card > p { color: var(--ink-soft); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.service-card { min-height: 295px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.72); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { color: var(--blush-deep); font-family: "Playfair Display",serif; }
.service-card h3 { margin: 55px 0 12px; font: 600 1.65rem "Playfair Display",serif; }
.service-card p { min-height: 68px; color: var(--ink-soft); line-height: 1.55; }
.service-card strong { color: var(--rose); }
/* ===== ROZWIJANY CENNIK USŁUG ===== */

.service-price-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;

  padding: 0;
  margin: 0;

  width: fit-content;
  min-height: auto;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: #169b98;

  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;

  cursor: pointer;
}

.service-price-toggle:hover {
  color: #0d7778;
}

.service-arrow {
  display: inline;
  width: auto;
  height: auto;

  padding: 0;
  margin: 0;

  border: 0;
  background: transparent;

  color: inherit;
  font-size: inherit;
  font-weight: 700;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;

  transition:
    max-height .35s ease,
    opacity .25s ease,
    margin-top .35s ease;
}

.service-card.service-open .service-details {
  max-height: 3000px !important;
  opacity: 1 !important;
  margin-top: 18px !important;
}

.service-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
  padding: 9px 0;

  border-top: 1px solid rgba(22, 155, 152, .15);
}

.service-detail-row span {
  color: var(--ink-soft);
  font-size: .9rem;
}

.service-detail-row strong {
  color: #169b98;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.about-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(45px,8vw,120px); align-items: center; background: #f2ebe6; }
.image-placeholder { min-height: 570px; padding: 35px; border-radius: 180px 180px 28px 28px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: linear-gradient(150deg,rgba(44,34,31,.05),rgba(44,34,31,.7)), radial-gradient(circle at top,#e2bca8,#8a6661); box-shadow: var(--shadow); }
.image-placeholder span { font: 600 2rem "Playfair Display",serif; }
.image-placeholder small { margin-top: 8px; opacity: .8; }
.about-copy p { max-width: 650px; }
.text-link { display: inline-block; margin-top: 15px; color: var(--rose); font-weight: 700; }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.split-heading > p { max-width: 420px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 250px; gap: 18px; }
.gallery-placeholder { position: relative; display: flex; align-items: flex-end; padding: 25px; border-radius: var(--radius); color: white; overflow: hidden; background: radial-gradient(circle at 15% 20%,#d5aaa5,#654846); }
.gallery-placeholder:nth-child(2) { background: radial-gradient(circle at 70% 20%,#e3c6b2,#826151); }
.gallery-placeholder:nth-child(3) { background: radial-gradient(circle at 40% 10%,#d6c1b1,#735b52); }
.gallery-placeholder:nth-child(4) { background: radial-gradient(circle at 60% 20%,#d9b39f,#6e4b48); }
.gallery-placeholder::after { content: "Replace with real photo"; position: absolute; top: 20px; right: 20px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: .7rem; }
.gallery-placeholder span { font: 600 1.45rem "Playfair Display",serif; }
.gallery-placeholder.tall { grid-row: span 2; }
.gallery-placeholder.wide { grid-column: span 2; }
.contact-section { padding-top: 40px; }
.contact-card { padding: clamp(45px,7vw,90px); border-radius: 42px; color: var(--white); background: var(--ink); }
.contact-card .eyebrow { color: var(--blush-deep); }
.contact-card > p { color: rgba(255,255,255,.68); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 55px; }
.contact-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { margin-bottom: 7px; color: rgba(255,255,255,.55); }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 35px clamp(20px,7vw,110px); border-top: 1px solid var(--line); font-size: .82rem; }
.site-footer > div { display: flex; gap: 14px; }
.site-footer span { color: var(--ink-soft); }
.admin-entry { opacity: .35; }

.admin-page { background: #eee8e4; }
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 30% 10%,#745550,#231e1d 55%); }
.auth-screen > .brand { position: fixed; top: 28px; left: 32px; }
.brand-light { color: white; }
.brand-light .brand-mark { color: var(--ink); background: var(--blush); }
.brand-light small { color: rgba(255,255,255,.55); }
.auth-card { width: min(100%,440px); padding: 42px; border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.auth-card h1 { margin: 0; font: 600 3rem "Playfair Display",serif; }
.auth-card > p:not(.eyebrow) { color: var(--ink-soft); }
.auth-card label, .modal label { display: grid; gap: 7px; margin-top: 18px; color: var(--ink-soft); font-size: .83rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; color: var(--ink); background: var(--white); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(167,96,101,.12); }
.auth-card .button { margin-top: 25px; }
.form-message { min-height: 20px; color: var(--red) !important; font-size: .82rem; }
.back-link { display: block; margin-top: 10px; color: var(--ink-soft); text-align: center; font-size: .82rem; }
.dashboard { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0,1fr); }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 22px; display: flex; flex-direction: column; color: white; background: var(--ink); }
.dashboard-sidebar nav { display: grid; gap: 7px; margin-top: 55px; }
.side-nav { padding: 13px 15px; border: 0; border-radius: 12px; color: rgba(255,255,255,.68); background: transparent; text-align: left; font-weight: 700; }
.side-nav:hover, .side-nav.active { color: white; background: rgba(255,255,255,.1); }
.sidebar-bottom { margin-top: auto; display: grid; gap: 12px; }
.sidebar-bottom small { overflow-wrap: anywhere; color: rgba(255,255,255,.55); }
.dashboard-main { min-width: 0; padding: 36px clamp(20px,4vw,60px) 70px; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dashboard-header h1 { margin: 0; font: 600 clamp(2.3rem,4vw,4rem) "Playfair Display",serif; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 30px 0; }
.stats-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.stats-grid span, .stats-grid small { display: block; color: var(--ink-soft); font-size: .78rem; }
.stats-grid strong { display: block; margin: 7px 0 3px; font: 600 2rem "Playfair Display",serif; }
.dashboard-panel { padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: 0 12px 40px rgba(62,45,39,.06); }
.calendar-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.calendar-toolbar h2 { min-width: 210px; margin: 0 5px; font: 600 1.7rem "Playfair Display",serif; }
.icon-button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: white; font-size: 1.5rem; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.calendar-weekdays span { padding: 10px; color: var(--ink-soft); font-size: .7rem; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-day { min-width: 0; min-height: 145px; padding: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; overflow: hidden; color: var(--ink); background: rgba(255,255,255,.55); text-align: left; }
.calendar-day:hover { background: white; }
.calendar-day.outside { opacity: .38; }
.calendar-day.selected { box-shadow: inset 0 0 0 2px var(--rose); }
.calendar-date { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; }
.calendar-day.today .calendar-date { color: white; background: var(--ink); }
.calendar-count { color: var(--ink-soft); font-size: .67rem; }
.calendar-event { padding: 5px 6px; border-left: 3px solid var(--green); border-radius: 5px; overflow: hidden; background: #edf4f0; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event.status-completed { border-color: #85958d; background: #f0f2f1; }
.calendar-event.status-no-show { border-color: var(--amber); background: #fcf5e8; }
.calendar-more { color: var(--ink-soft); font-size: .65rem; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.list-toolbar h2 { margin: 0; font: 600 1.8rem "Playfair Display",serif; }
.list-toolbar p { margin: 5px 0 0; color: var(--ink-soft); }
.list-toolbar input { max-width: 340px; }
.appointments-list { display: grid; gap: 9px; }
.appointment-row { width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: 150px minmax(140px,1fr) minmax(160px,1fr) 110px 80px; align-items: center; gap: 15px; color: var(--ink); background: white; text-align: left; }
.appointment-row:hover { border-color: var(--blush-deep); box-shadow: 0 8px 25px rgba(60,43,38,.06); }
.appointment-row small, .appointment-row strong { display: block; }
.appointment-row small { margin-top: 4px; color: var(--ink-soft); font-size: .76rem; }
.status-pill { width: fit-content; padding: 7px 10px; border-radius: 999px; color: var(--green); background: #eaf3ee; font-size: .72rem; font-weight: 700; }
.status-pill.status-completed { color: #5f6c66; background: #ecefed; }
.status-pill.status-cancelled { color: var(--red); background: #f8eaea; }
.status-pill.status-no-show { color: var(--amber); background: #faf1df; }
.appointment-price { text-align: right; }
.empty-state { min-height: 220px; display: grid; place-content: center; gap: 8px; color: var(--ink-soft); text-align: center; }
.empty-state strong { color: var(--ink); }
.modal { width: min(94vw,760px); max-height: 90vh; padding: 0; border: 0; border-radius: 25px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(24,20,19,.65); backdrop-filter: blur(4px); }
.modal form { padding: 28px; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; }
.modal-header h2 { margin: 0; font: 600 2rem "Playfair Display",serif; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 16px; }
.form-grid .span-2 { grid-column: span 2; }
.modal-actions { margin-top: 18px; display: flex; justify-content: space-between; gap: 15px; }
.modal-actions-right { margin-left: auto; display: flex; gap: 10px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 400px; }
  .hero-visual { min-height: 470px; }
  .hero-card-main strong { font-size: 3.4rem; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .appointment-row { grid-template-columns: 130px 1fr 1fr 95px; }
  .appointment-price { display: none; }
}
@media (max-width: 800px) {
  .main-nav { position: absolute; top: 73px; left: 18px; right: 18px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 18px; flex-direction: column; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 520px; }
  .service-grid { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; }
  .image-placeholder { min-height: 470px; }
  .split-heading { align-items: start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-placeholder.wide { grid-column: span 1; }
  .contact-details { grid-template-columns: 1fr; }
  .site-footer, .site-footer > div { flex-direction: column; }
  .dashboard { display: block; }
  .dashboard-sidebar { position: static; width: 100%; height: auto; padding: 18px; flex-direction: row; align-items: center; gap: 20px; }
  .dashboard-sidebar nav { margin: 0; display: flex; }
  .sidebar-bottom { margin: 0 0 0 auto; display: flex; align-items: center; }
  .sidebar-bottom small { display: none; }
  .sidebar-bottom .button { min-height: 40px; }
  .calendar-day { min-height: 110px; }
  .calendar-event { display: none; }
  .appointment-row { grid-template-columns: 115px 1fr 95px; }
  .appointment-service { display: none; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 3.2rem; }
  .hero-visual { min-height: 420px; }
  .hero-card-main { padding: 30px; }
  .hero-card-main strong { font-size: 2.8rem; }
  .hero-card-small { width: 115px; height: 115px; right: -3%; font-size: .9rem; }
  .trust-strip { align-items: flex-start; flex-direction: column; }
  .trust-strip i { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .gallery-placeholder.tall { grid-row: span 1; }
  .contact-actions .button { width: 100%; }
  .auth-screen > .brand { position: static; margin-bottom: 25px; justify-self: start; }
  .auth-screen { display: block; padding: 22px; }
  .auth-card { padding: 28px 22px; }
  .dashboard-sidebar { align-items: flex-start; flex-wrap: wrap; }
  .dashboard-sidebar .brand { width: 100%; }
  .dashboard-sidebar nav { width: 100%; overflow-x: auto; }
  .sidebar-bottom { position: absolute; right: 18px; top: 24px; }
  .dashboard-main { padding: 24px 12px 55px; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .dashboard-header .button { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid article { padding: 16px; }
  .dashboard-panel { padding: 12px; border-radius: 18px; }
  .calendar-toolbar { flex-wrap: wrap; }
  .calendar-toolbar h2 { order: -1; width: 100%; }
  .calendar-weekdays span { padding: 8px 2px; font-size: .58rem; }
  .calendar-day { min-height: 72px; padding: 5px; }
  .calendar-count { font-size: .55rem; }
  .calendar-date { width: 24px; height: 24px; font-size: .75rem; }
  .list-toolbar { align-items: stretch; flex-direction: column; }
  .list-toolbar input { max-width: none; }
  .appointment-row { grid-template-columns: 90px 1fr; }
  .appointment-row .status-pill { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .modal form { padding: 22px 16px; }
  .modal-actions { align-items: stretch; flex-direction: column-reverse; }
  .modal-actions-right { margin-left: 0; }
  .modal-actions-right .button, .modal-actions > .button { flex: 1; }
}

/* ===== Mobile diary upgrade v2.0 ===== */
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.panel-heading h2 { margin: 0; font: 600 1.8rem "Playfair Display",serif; }
.panel-heading p { margin: 5px 0 0; color: var(--ink-soft); }

.agenda-list { display: grid; gap: 28px; }
.agenda-group { display: grid; gap: 10px; }
.agenda-date-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 0 4px; }
.agenda-date-heading strong, .agenda-date-heading small { display: block; }
.agenda-date-heading strong { font: 600 1.35rem "Playfair Display",serif; }
.agenda-date-heading small { margin-top: 3px; color: var(--ink-soft); }
.agenda-date-heading > span { color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.agenda-cards { display: grid; gap: 9px; }
.agenda-card { width: 100%; min-height: 82px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 16px; color: var(--ink); background: white; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s; }
.agenda-card:hover { border-color: var(--blush-deep); box-shadow: 0 8px 25px rgba(60,43,38,.06); transform: translateY(-1px); }
.agenda-time { align-self: stretch; padding-right: 14px; border-right: 1px solid var(--line); display: grid; align-content: center; }
.agenda-time strong, .agenda-time small, .agenda-client strong, .agenda-client small { display: block; }
.agenda-time strong { font-size: 1.08rem; }
.agenda-time small, .agenda-client small { margin-top: 4px; color: var(--ink-soft); font-size: .76rem; }
.agenda-client { min-width: 0; }
.agenda-client strong, .agenda-client small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-meta { display: grid; justify-items: end; gap: 7px; }
.agenda-meta > strong { font-size: .86rem; }
.agenda-empty .button { margin: 14px auto 0; }

.mobile-bottom-nav { display: none; }

.summary-modal { width: min(94vw,640px); }
.summary-modal-content { padding: 28px; }
.day-summary-list { display: grid; gap: 9px; margin-top: 22px; }
.day-summary-card { width: 100%; min-height: 76px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: 70px minmax(0,1fr) auto; align-items: center; gap: 14px; color: var(--ink); background: white; text-align: left; }
.day-summary-card:hover { border-color: var(--blush-deep); box-shadow: 0 8px 25px rgba(60,43,38,.06); }
.day-summary-time { padding-right: 12px; border-right: 1px solid var(--line); }
.day-summary-time strong, .day-summary-time small, .day-summary-client strong, .day-summary-client small { display: block; }
.day-summary-time small, .day-summary-client small { margin-top: 3px; color: var(--ink-soft); font-size: .75rem; }
.day-summary-client { min-width: 0; }
.day-summary-client strong, .day-summary-client small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-actions { margin-top: 18px; }

.modal[open] { overflow: hidden; }
.appointment-modal form { max-height: min(90vh,90dvh); overflow-y: auto; overscroll-behavior: contain; }
.modal-actions { position: sticky; bottom: -28px; z-index: 4; margin: 18px -28px -28px; padding: 15px 28px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.save-appointment-button:disabled { opacity: .65; cursor: wait; transform: none; }

@media (max-width: 800px) {
  .dashboard-sidebar nav { display: none; }
  .dashboard-sidebar { position: sticky; top: 0; z-index: 25; height: 72px; padding: 12px 18px; flex-wrap: nowrap; background: rgba(33,29,28,.97); backdrop-filter: blur(14px); }
  .dashboard-sidebar .brand-mark { width: 40px; height: 40px; }
  .dashboard-sidebar .brand strong { font-size: .98rem; }
  .dashboard-sidebar .brand small { font-size: .58rem; }
  .sidebar-bottom { margin-left: auto; }
  .dashboard-main { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); min-height: 68px; padding: 7px; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; background: rgba(255,255,255,.92); box-shadow: 0 14px 45px rgba(40,30,27,.2); backdrop-filter: blur(18px); }
  .mobile-nav-button { min-width: 0; min-height: 54px; padding: 5px 8px; border: 0; border-radius: 16px; display: grid; place-content: center; gap: 2px; color: var(--ink-soft); background: transparent; font-size: .68rem; font-weight: 700; text-align: center; }
  .mobile-nav-button.active { color: var(--ink); background: var(--blush); }
  .mobile-nav-icon { font-size: 1.25rem; line-height: 1; }
  .mobile-add-button { color: white; background: var(--ink); }
  .mobile-add-button.active { color: white; background: var(--ink); }
  .mobile-nav-plus { font-size: 1.65rem; line-height: .8; }
  .dashboard-header { align-items: center; flex-direction: row; }
  .dashboard-header > .button { display: none; }
  .dashboard-header h1 { font-size: clamp(2rem,7vw,3rem); }
  .stats-grid { margin: 22px 0; }
  .agenda-card { grid-template-columns: 68px minmax(0,1fr) auto; }
}

@media (max-width: 560px) {
  input, select, textarea { min-height: 48px; font-size: 16px; }
  textarea { min-height: 96px; }
  .dashboard-sidebar { align-items: center; flex-wrap: nowrap; }
  .dashboard-sidebar .brand { width: auto; }
  .sidebar-bottom { position: static; margin-left: auto; }
  .sidebar-bottom .button { width: auto; min-height: 40px; padding: 0 14px; }
  .dashboard-main { padding: 20px 12px calc(110px + env(safe-area-inset-bottom)); }
  .dashboard-header { margin: 2px 4px 0; }
  .dashboard-header .eyebrow { margin-bottom: 7px; }
  .stats-grid { gap: 9px; }
  .stats-grid article { min-height: 104px; padding: 14px; }
  .stats-grid strong { font-size: 1.65rem; }
  .dashboard-panel { padding: 14px 10px; }
  .panel-heading { padding: 2px 4px 0; }
  .panel-heading h2 { font-size: 1.55rem; }
  .panel-heading p { font-size: .84rem; }
  .agenda-list { gap: 24px; }
  .agenda-date-heading { align-items: center; }
  .agenda-date-heading strong { font-size: 1.18rem; }
  .agenda-date-heading small { font-size: .72rem; }
  .agenda-card { min-height: 82px; padding: 12px; grid-template-columns: 58px minmax(0,1fr); gap: 12px; }
  .agenda-time { padding-right: 10px; }
  .agenda-time strong { font-size: .98rem; }
  .agenda-client strong { font-size: .94rem; }
  .agenda-client small { white-space: normal; line-height: 1.35; }
  .agenda-meta { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; justify-items: initial; }
  .agenda-meta .status-pill { display: inline-flex; }
  .calendar-toolbar { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px auto; gap: 6px; }
  .calendar-toolbar h2 { order: initial; width: auto; min-width: 0; margin: 0; font-size: 1.25rem; text-align: center; }
  .calendar-toolbar .icon-button { width: 40px; height: 40px; }
  .calendar-toolbar .button-small { min-height: 40px; padding: 0 10px; }
  .calendar-day { min-height: 70px; }
  .calendar-count { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .appointment-row { min-height: 74px; padding: 12px; grid-template-columns: 82px minmax(0,1fr); gap: 10px; }
  .appointment-row .appointment-client strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .modal { width: 100vw; max-width: none; max-height: 100dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .appointment-modal form { max-height: 96dvh; padding: 22px 16px 0; }
  .modal-header { position: sticky; top: -22px; z-index: 4; margin: -22px -16px 8px; padding: 20px 16px 12px; border-bottom: 1px solid rgba(232,222,216,.75); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
  .modal-header h2 { font-size: 1.65rem; }
  .modal-header .eyebrow { margin-bottom: 6px; }
  .form-grid { gap: 0; }
  .modal label { margin-top: 14px; }
  .modal-actions { bottom: 0; margin: 16px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); flex-direction: column-reverse; }
  .modal-actions-right { width: 100%; display: grid; grid-template-columns: .75fr 1.25fr; }
  .modal-actions-right .button, .modal-actions > .button { width: 100%; min-height: 52px; }
  .summary-modal { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .summary-modal-content { max-height: 92dvh; padding: 20px 14px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; }
  .summary-modal .modal-header { top: -20px; margin: -20px -14px 8px; padding: 18px 14px 12px; }
  .day-summary-card { min-height: 78px; padding: 12px; grid-template-columns: 56px minmax(0,1fr); gap: 10px; }
  .day-summary-time { padding-right: 8px; }
  .day-summary-client small { white-space: normal; line-height: 1.3; }
  .day-summary-card .status-pill { grid-column: 2; width: fit-content; }
  .summary-actions { position: sticky; bottom: 0; margin: 16px -14px -16px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
}

/* ===== Client book upgrade v3.0 ===== */
.toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.toolbar-actions input { width: min(340px,42vw); }
.clients-list { display: grid; gap: 10px; }
.client-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 17px; display: flex; align-items: center; gap: 12px; background: white; transition: border-color .2s, box-shadow .2s, transform .2s; }
.client-card:hover { border-color: var(--blush-deep); box-shadow: 0 8px 25px rgba(60,43,38,.06); transform: translateY(-1px); }
.client-card-main { min-width: 0; flex: 1; padding: 4px; border: 0; display: flex; align-items: center; gap: 14px; color: var(--ink); background: transparent; text-align: left; }
.client-avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--blush); font-family: "Playfair Display",serif; font-weight: 700; letter-spacing: .02em; }
.client-avatar.small { width: 38px; height: 38px; flex-basis: 38px; font-size: .78rem; }
.client-card-copy { min-width: 0; display: block; }
.client-card-copy strong, .client-card-copy small, .client-visit-meta { display: block; }
.client-card-copy > strong { overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.client-card-copy small { margin-top: 4px; overflow: hidden; color: var(--ink-soft); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.client-visit-meta { margin-top: 7px; color: var(--rose); font-size: .71rem; font-weight: 700; }
.client-card-actions { flex: 0 0 auto; display: flex; gap: 8px; }
.clients-empty .button { margin: 14px auto 0; }

.client-picker { position: relative; z-index: 8; margin-top: 18px; }
.client-picker > label { margin-top: 0; }
.client-picker label small, .modal label > small { font-weight: 500; }
.client-picker-control { display: flex; align-items: center; gap: 8px; }
.client-picker-control input { min-width: 0; flex: 1; }
.client-picker-control .button { flex: 0 0 auto; }
.field-help { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .72rem; font-weight: 500; }
.client-picker-results { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: 290px; padding: 7px; border: 1px solid var(--line); border-radius: 16px; overflow-y: auto; background: rgba(255,255,255,.98); box-shadow: 0 18px 50px rgba(48,34,30,.18); backdrop-filter: blur(14px); }
.client-picker-option { width: 100%; min-height: 58px; padding: 8px 10px; border: 0; border-radius: 12px; display: flex; align-items: center; gap: 11px; color: var(--ink); background: transparent; text-align: left; }
.client-picker-option:hover, .client-picker-option:focus-visible { background: var(--blush); outline: none; }
.client-picker-option > span:last-child { min-width: 0; }
.client-picker-option strong, .client-picker-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-picker-option small { margin-top: 3px; color: var(--ink-soft); font-size: .74rem; }
.client-picker-empty { padding: 14px; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.modal label.checkbox-row { min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; display: flex; align-items: center; gap: 10px; color: var(--ink); background: #fffaf7; }
.checkbox-row input { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin: 0; accent-color: var(--ink); }
.checkbox-row span { line-height: 1.35; }

.client-modal { width: min(94vw,820px); }
.client-modal form { max-height: min(90vh,90dvh); overflow-y: auto; overscroll-behavior: contain; }
.client-history { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.client-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.client-history-heading h3 { margin: 0; font: 600 1.35rem "Playfair Display",serif; }
.client-history-heading p { margin: 5px 0 0; color: var(--ink-soft); font-size: .78rem; }
.client-history-list { display: grid; gap: 8px; margin-top: 15px; }
.client-history-row { width: 100%; min-height: 64px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: 12px; color: var(--ink); background: white; text-align: left; }
.client-history-row:hover { border-color: var(--blush-deep); }
.client-history-row strong, .client-history-row small { display: block; }
.client-history-row small { margin-top: 3px; color: var(--ink-soft); font-size: .72rem; }
.history-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 13px; color: var(--ink-soft); text-align: center; font-size: .82rem; }
.save-client-button:disabled { opacity: .65; cursor: wait; transform: none; }

@media (max-width: 800px) {
  .mobile-bottom-nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .toolbar-actions { width: 100%; }
  .toolbar-actions input { width: auto; min-width: 0; flex: 1; }
  .client-card-actions .button { min-height: 42px; padding: 0 15px; }
}

@media (max-width: 560px) {
  .mobile-bottom-nav { left: 7px; right: 7px; gap: 3px; padding: 6px; }
  .mobile-nav-button { padding-inline: 3px; font-size: .61rem; }
  .mobile-nav-icon { font-size: 1.15rem; }
  .clients-toolbar .toolbar-actions { display: grid; grid-template-columns: 1fr; }
  .clients-toolbar .button { width: 100%; }
  .client-card { padding: 11px; align-items: stretch; flex-direction: column; }
  .client-card-main { width: 100%; }
  .client-card-copy small { white-space: normal; line-height: 1.35; }
  .client-visit-meta { line-height: 1.4; }
  .client-card-actions { width: 100%; padding-left: 62px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-card-actions .button:only-child { grid-column: 1 / -1; }
  .client-picker { margin-top: 14px; }
  .client-picker-control { align-items: stretch; }
  .client-picker-control .button { min-height: 48px; padding: 0 14px; }
  .client-picker-results { max-height: 245px; }
  .client-modal { width: 100vw; max-width: none; max-height: 100dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .client-modal form { max-height: 96dvh; padding: 22px 16px 0; }
  .client-history-heading { align-items: stretch; flex-direction: column; }
  .client-history-heading .button { width: 100%; }
  .client-history-row { grid-template-columns: 105px minmax(0,1fr); gap: 9px; }
  .client-history-row .status-pill { grid-column: 2; }
}

/* ===== Team diary & split-service scheduling v4.1 ===== */
:root {
  --staff-angela: #e5bd28;
  --staff-angela-soft: #fff5bf;
  --staff-angela-ink: #6f5700;
  --staff-ania: #ec72aa;
  --staff-ania-soft: #fde5f0;
  --staff-ania-ink: #96335f;
  --staff-angelika: #5b98e8;
  --staff-angelika-soft: #e5f0ff;
  --staff-angelika-ink: #245f9e;
}

.dashboard-header-actions { display: flex; align-items: end; gap: 12px; }
.staff-filter-context { margin: 7px 0 0; color: var(--ink-soft); font-size: .82rem; }
.staff-filter-control { min-width: 190px; margin: 0; }
.staff-filter-control span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.staff-filter-control select { min-height: 46px; padding-block: 0; background-color: white; }

.staff-pill, .overlap-pill { width: fit-content; padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.staff-pill::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: currentColor; }
.staff-pill.staff-angela { color: var(--staff-angela-ink); background: var(--staff-angela-soft); }
.staff-pill.staff-ania { color: var(--staff-ania-ink); background: var(--staff-ania-soft); }
.staff-pill.staff-angelika { color: var(--staff-angelika-ink); background: var(--staff-angelika-soft); }
.staff-pill.staff-missing { color: var(--red); background: #fff2f2; }
.overlap-pill { color: #8b4c08; background: #fff0d8; }

.staff-card-angela { border-left: 5px solid var(--staff-angela) !important; }
.staff-card-ania { border-left: 5px solid var(--staff-ania) !important; }
.staff-card-angelika { border-left: 5px solid var(--staff-angelika) !important; }
.staff-card-missing { border-left: 5px solid var(--red) !important; }

.calendar-event.staff-angela { border-color: var(--staff-angela); background: var(--staff-angela-soft); color: var(--staff-angela-ink); }
.calendar-event.staff-ania { border-color: var(--staff-ania); background: var(--staff-ania-soft); color: var(--staff-ania-ink); }
.calendar-event.staff-angelika { border-color: var(--staff-angelika); background: var(--staff-angelika-soft); color: var(--staff-angelika-ink); }
.calendar-event.staff-missing { border-color: var(--red); background: #fff2f2; color: var(--red); }

.agenda-client em, .day-summary-client em { display: block; margin-top: 5px; overflow: hidden; color: var(--ink-soft); font-size: .68rem; font-style: normal; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.agenda-meta { min-width: 112px; }
.day-summary-badges, .appointment-badges { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px; }
.appointment-badges { flex-direction: column; }

.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.team-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 16px; background: white; }
.team-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.team-card-header h3 { margin: 9px 0 0; font: 600 1.35rem "Playfair Display",serif; }
.team-card-header > strong { font: 700 2.1rem "Playfair Display",serif; text-align: right; }
.team-card-header > strong small { display: block; margin-top: 2px; color: var(--ink-soft); font: 600 .68rem "DM Sans",sans-serif; }
.team-card-summary { padding: 12px; border-radius: 14px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 5px 10px; background: #faf7f5; font-size: .76rem; }
.team-card-summary span { color: var(--ink-soft); }
.team-card-summary strong { overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.team-today-list { min-height: 120px; display: grid; align-content: start; gap: 7px; }
.team-appointment { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 2px 9px; color: var(--ink); background: white; text-align: left; }
.team-appointment:hover { border-color: var(--blush-deep); }
.team-appointment > span { grid-row: span 2; align-self: center; font-weight: 800; }
.team-appointment strong, .team-appointment small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-appointment small { color: var(--ink-soft); font-size: .68rem; }
.team-empty { min-height: 110px; display: grid; place-items: center; color: var(--ink-soft); font-size: .78rem; text-align: center; }

.processing-fields { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fcfaf8; }
.processing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.processing-grid label { margin-top: 0; }
.processing-preview { margin-top: 12px; display: grid; gap: 7px; }
.processing-preview span { padding: 9px 11px; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; }
.processing-preview span strong { white-space: nowrap; }
.processing-preview .phase-work { color: #5d4033; background: #f6e9e3; }
.processing-preview .phase-wait { color: #29644a; background: #e8f5ed; }
.processing-preview > b { padding-top: 3px; color: var(--ink); font-size: .76rem; text-align: right; }
.overlap-option { align-items: flex-start !important; background: #fff8ee !important; }
.overlap-option span strong, .overlap-option span small { display: block; }
.overlap-option span small { margin-top: 3px; color: var(--ink-soft); font-weight: 500; }

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { display: grid; grid-template-columns: 1fr 1fr; }
  .team-card-header, .team-card-summary, .open-staff-diary { grid-column: span 1; }
  .team-today-list { grid-column: 2; grid-row: 1 / span 2; }
  .open-staff-diary { align-self: end; }
}

@media (max-width: 800px) {
  .dashboard-header-actions { min-width: min(46vw,230px); }
  .dashboard-header-actions > .button { display: none; }
  .staff-filter-control { width: 100%; min-width: 0; }
  .mobile-bottom-nav { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .appointment-row { grid-template-columns: 115px minmax(0,1fr) 130px; }
  .appointment-badges { align-items: flex-end; }
}

@media (max-width: 560px) {
  .dashboard-header { align-items: end; gap: 10px; }
  .dashboard-header > div:first-child { min-width: 0; }
  .dashboard-header h1 { font-size: 1.9rem; }
  .staff-filter-context { max-width: 46vw; overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
  .dashboard-header-actions { min-width: 44vw; }
  .staff-filter-control span { font-size: .58rem; }
  .staff-filter-control select { min-height: 44px; padding-inline: 10px 30px; font-size: 14px; }
  .mobile-nav-button { font-size: .56rem; }
  .mobile-nav-icon { font-size: 1.05rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 15px; display: flex; }
  .team-today-list { min-height: 0; }
  .panel-heading { align-items: stretch; flex-direction: column; }
  .panel-heading > .button { width: 100%; }
  .agenda-client em, .day-summary-client em { white-space: normal; }
  .agenda-meta { min-width: 0; flex-wrap: wrap; justify-content: flex-start; }
  .agenda-meta > strong { margin-left: auto; }
  .day-summary-badges { grid-column: 2; }
  .appointment-row { grid-template-columns: 82px minmax(0,1fr); }
  .appointment-row .appointment-badges { grid-column: 2; align-items: flex-start; flex-direction: row; }
  .appointment-row .status-pill { display: inline-flex; }
  .processing-grid { grid-template-columns: 1fr; gap: 0; }
  .processing-grid label + label { margin-top: 12px; }
  .processing-preview span { align-items: flex-start; flex-direction: column; gap: 2px; }
  .processing-preview > b { text-align: left; }
  .client-history-row .appointment-badges { grid-column: 2; flex-direction: row; }
}

/* ===== Harmony & Beauty — logo-inspired steel blue / turquoise palette ===== */
:root {
  --ink: #294854;
  --ink-soft: #607985;
  --paper: #f4f8f9;
  --white: #ffffff;
  --blush: #dce9ed;
  --blush-deep: #a9c5cf;
  --rose: #557f8f;
  --line: #d6e3e7;
  --green: #4e7564;
  --amber: #a87927;
  --red: #9e4545;
  --shadow: 0 24px 70px rgba(41, 72, 84, 0.14);
}

body { background: var(--paper); }
.button-primary {
  background: linear-gradient(135deg, #294854, #557f8f);
  box-shadow: 0 12px 28px rgba(41,72,84,.22);
}
.button-primary:hover { box-shadow: 0 15px 34px rgba(41,72,84,.28); }
.button-secondary { background: rgba(255,255,255,.82); }

.site-header {
  background: rgba(244,248,249,.92);
  border-bottom-color: rgba(214,227,231,.82);
}
.brand-mark { background: linear-gradient(145deg, #294854, #6e98a7); }
.main-nav a:hover, .text-link, .service-card strong, .hero h1 em { color: var(--rose); }

.hero-visual::before {
  background: linear-gradient(135deg, #dce9ed, #8eb0bc);
}
.hero-card-main {
  background:
    linear-gradient(160deg, rgba(29,59,70,.04), rgba(29,59,70,.72)),
    radial-gradient(circle at 40% 20%, #b7d1d9, #496d7a);
}
.hero-card-small { color: var(--ink); }
.trust-strip, .contact-card { background: linear-gradient(135deg, #294854, #3f6674); }
.trust-strip { color: #eef7f9; }
.trust-strip i, .contact-card .eyebrow { background: var(--blush-deep); color: var(--blush-deep); }

.about-section { background: #e9f1f4; }
.image-placeholder {
  background:
    linear-gradient(150deg, rgba(34,67,79,.04), rgba(34,67,79,.72)),
    radial-gradient(circle at top, #bfd6dd, #557985);
}
.gallery-placeholder {
  background: radial-gradient(circle at 15% 20%, #b7d3db, #476a77);
}
.gallery-placeholder:nth-child(2) { background: radial-gradient(circle at 70% 20%, #d0e2e7, #628692); }
.gallery-placeholder:nth-child(3) { background: radial-gradient(circle at 40% 10%, #adcbd4, #3f606c); }
.gallery-placeholder:nth-child(4) { background: radial-gradient(circle at 60% 20%, #c4dce2, #527985); }

.admin-page { background: #e9f0f2; }
.auth-screen {
  background: radial-gradient(circle at 30% 10%, #7399a6, #203b46 58%);
}
.brand-light .brand-mark { color: var(--ink); background: #dce9ed; }
input:focus, select:focus, textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(85,127,143,.15);
}
.dashboard-sidebar { background: linear-gradient(180deg, #294854, #203b46); }
.side-nav:hover, .side-nav.active { background: rgba(169,197,207,.18); }
.dashboard-panel, .stats-grid article { background: rgba(255,255,255,.84); }
.calendar-day { background: rgba(255,255,255,.68); }
.appointment-row:hover,
.agenda-card:hover,
.day-summary-card:hover,
.client-card:hover { box-shadow: 0 8px 25px rgba(41,72,84,.09); }
.modal::backdrop { background: rgba(25,48,57,.68); }
.modal label.checkbox-row { background: #f7fbfc; }
.team-card-summary { background: #f2f7f8; }
.processing-fields { background: #f7fafb; }
.processing-preview .phase-work { color: #365d6b; background: #e3eef1; }
.processing-preview .phase-wait { color: #29644a; background: #e8f5ed; }

@media (max-width: 800px) {
  .dashboard-sidebar {
    background: rgba(41,72,84,.97);
  }
  .mobile-bottom-nav {
    border-color: rgba(169,197,207,.65);
    box-shadow: 0 14px 45px rgba(41,72,84,.22);
  }
}

/* ===== Harmony & Beauty — richer elegant turquoise palette ===== */
:root {
  --ink: #164b50;
  --ink-soft: #55777a;
  --paper: #f1fbfa;
  --white: #ffffff;
  --blush: #d8f3f0;
  --blush-deep: #83cbc5;
  --rose: #169b98;
  --line: #cde9e6;
  --green: #397c61;
  --amber: #a87927;
  --red: #9e4545;
  --shadow: 0 24px 70px rgba(22, 75, 80, 0.15);
}

body { background: linear-gradient(180deg, #f6fdfc 0%, var(--paper) 100%); }

.button-primary {
  background: linear-gradient(135deg, #0f7777, #21aaa5);
  box-shadow: 0 12px 28px rgba(15,119,119,.24);
}
.button-primary:hover {
  background: linear-gradient(135deg, #0c6b6b, #199d99);
  box-shadow: 0 15px 34px rgba(15,119,119,.31);
}
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.88); }
.button-light { color: var(--ink); }
.button-small:hover { border-color: var(--blush-deep); }

.site-header {
  background: rgba(241,251,250,.93);
  border-bottom-color: rgba(131,203,197,.38);
}
.brand-mark { background: linear-gradient(145deg, #0d6669, #32b2ad); }
.main-nav a:hover,
.text-link,
.service-card strong,
.hero h1 em,
.eyebrow { color: var(--rose); }

.hero-visual::before {
  background: linear-gradient(135deg, #d8f3f0, #70c8c2);
}
.hero-card-main {
  background:
    linear-gradient(160deg, rgba(9,81,84,.03), rgba(8,69,72,.70)),
    radial-gradient(circle at 40% 20%, #9ce0db, #167b7d);
}
.hero-card-small { color: var(--ink); }
.trust-strip,
.contact-card {
  background: linear-gradient(135deg, #104e53, #087a7b 58%, #139895);
}
.trust-strip { color: #effffc; }
.trust-strip i { background: #82d6cf; }
.contact-card .eyebrow { color: #9ce0db; background: transparent; }

.about-section { background: #e4f6f4; }
.image-placeholder {
  background:
    linear-gradient(150deg, rgba(8,83,85,.03), rgba(8,75,77,.70)),
    radial-gradient(circle at top, #a9e4df, #1e8584);
}
.gallery-placeholder {
  background: radial-gradient(circle at 15% 20%, #a6e3de, #197b7d);
}
.gallery-placeholder:nth-child(2) { background: radial-gradient(circle at 70% 20%, #d3f1ee, #3ba39f); }
.gallery-placeholder:nth-child(3) { background: radial-gradient(circle at 40% 10%, #8bd6d0, #126a6d); }
.gallery-placeholder:nth-child(4) { background: radial-gradient(circle at 60% 20%, #b7e9e5, #238e8d); }

.service-card,
.dashboard-panel,
.stats-grid article,
.team-card,
.client-card,
.appointment-row,
.agenda-card,
.day-summary-card {
  border-color: var(--line);
}
.service-card:hover,
.appointment-row:hover,
.agenda-card:hover,
.day-summary-card:hover,
.client-card:hover {
  border-color: var(--blush-deep);
  box-shadow: 0 10px 30px rgba(22,75,80,.10);
}

.admin-page { background: linear-gradient(180deg, #e8f7f5, #f2fbfa); }
.auth-screen {
  background: radial-gradient(circle at 30% 10%, #4bb8b2, #0d5156 58%, #083e43 100%);
}
.brand-light .brand-mark { color: var(--ink); background: #d8f3f0; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(22,155,152,.16);
}
.dashboard-sidebar { background: linear-gradient(180deg, #15575b, #0d454a); }
.side-nav:hover,
.side-nav.active { background: rgba(103,211,203,.18); }
.dashboard-panel,
.stats-grid article { background: rgba(255,255,255,.86); }
.calendar-day { background: rgba(255,255,255,.72); }
.calendar-day.selected { box-shadow: inset 0 0 0 2px var(--rose); }
.calendar-day.today .calendar-date { background: linear-gradient(135deg, #0f7777, #21aaa5); }
.icon-button:hover { border-color: var(--blush-deep); background: #f0fbfa; }
.modal::backdrop { background: rgba(8,55,59,.70); }
.modal label.checkbox-row { background: #f3fcfb; }
.checkbox-row input { accent-color: #159a97; }
.team-card-summary { background: #eef9f8; }
.processing-fields { background: #f3fbfa; }
.processing-preview .phase-work { color: #155e61; background: #ddf2f0; }
.processing-preview .phase-wait { color: #276a55; background: #e6f5ed; }
.client-picker-option:hover,
.client-picker-option:focus-visible { background: var(--blush); }
.mobile-nav-button.active { color: #0f6264; background: var(--blush); }
.mobile-add-button,
.mobile-add-button.active { color: white; background: linear-gradient(135deg, #0f7777, #21aaa5); }

@media (max-width: 800px) {
  .dashboard-sidebar { background: rgba(17,82,86,.98); }
  .mobile-bottom-nav {
    border-color: rgba(87,190,183,.52);
    background: rgba(248,255,254,.94);
    box-shadow: 0 14px 45px rgba(10,83,85,.23);
  }
}

/* ===== Admin panel — complete turquoise theme v5.2 ===== */
.admin-page {
  color: #123f43;
  background:
    radial-gradient(circle at 12% 0%, rgba(101, 217, 207, .22), transparent 32rem),
    linear-gradient(180deg, #e7f8f6 0%, #f4fcfb 52%, #edf9f7 100%);
}

.auth-screen {
  background:
    radial-gradient(circle at 22% 8%, rgba(108, 222, 212, .68), transparent 27rem),
    radial-gradient(circle at 88% 92%, rgba(23, 154, 150, .32), transparent 25rem),
    linear-gradient(145deg, #0d676a 0%, #075257 52%, #073d43 100%);
}
.auth-card {
  border: 1px solid rgba(125, 211, 204, .44);
  background: rgba(249, 255, 254, .97);
  box-shadow: 0 28px 80px rgba(4, 62, 66, .30);
}
.auth-card h1 { color: #123f43; }
.auth-card .back-link:hover { color: #118f8c; }

.dashboard-sidebar {
  background:
    radial-gradient(circle at 25% 4%, rgba(82, 202, 194, .22), transparent 16rem),
    linear-gradient(180deg, #115f63 0%, #0a4d52 56%, #073e44 100%);
  box-shadow: 10px 0 34px rgba(8, 73, 77, .12);
}
.dashboard-sidebar .brand-mark {
  color: #0d5559;
  background: linear-gradient(145deg, #e5faf7, #94ddd7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
.side-nav { color: rgba(235, 255, 252, .72); }
.side-nav:hover,
.side-nav.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(78, 208, 199, .24), rgba(78, 208, 199, .10));
  box-shadow: inset 3px 0 0 #63d5cd;
}
.button-ghost-light:hover { background: rgba(102, 218, 209, .14); }

.dashboard-main {
  background:
    radial-gradient(circle at 100% 0%, rgba(107, 219, 210, .12), transparent 31rem),
    transparent;
}
.dashboard-header h1,
.panel-heading h2,
.list-toolbar h2,
.calendar-toolbar h2 { color: #123f43; }
.staff-filter-control select,
input,
select,
textarea {
  border-color: #c5e7e3;
  background: rgba(255, 255, 255, .94);
}
input:hover,
select:hover,
textarea:hover { border-color: #8bd3cc; }
input:focus,
select:focus,
textarea:focus {
  border-color: #19a29e;
  box-shadow: 0 0 0 4px rgba(25, 162, 158, .15);
}

.stats-grid article,
.dashboard-panel,
.team-card,
.client-card,
.appointment-row,
.agenda-card,
.day-summary-card,
.client-history-row {
  border-color: #cae9e6;
  background: rgba(255, 255, 255, .89);
  box-shadow: 0 12px 34px rgba(13, 91, 94, .055);
}
.stats-grid article strong { color: #0e7777; }
.dashboard-panel { box-shadow: 0 18px 54px rgba(13, 91, 94, .075); }

.calendar-grid {
  border-top-color: #c9e8e5;
  border-left-color: #c9e8e5;
}
.calendar-day {
  border-right-color: #c9e8e5;
  border-bottom-color: #c9e8e5;
  background: rgba(250, 255, 254, .79);
}
.calendar-day:hover { background: #fff; }
.calendar-day.today .calendar-date {
  background: linear-gradient(135deg, #0d7778, #25aaa5);
  box-shadow: 0 5px 14px rgba(15, 119, 119, .25);
}
.calendar-day.selected { box-shadow: inset 0 0 0 2px #18a39f; }
.icon-button {
  border-color: #c4e5e2;
  color: #126b6d;
  background: #f8fffe;
}
.icon-button:hover {
  border-color: #73c9c3;
  background: #e9f9f7;
}

.modal {
  border: 1px solid rgba(111, 202, 195, .38);
  background: #fbfffe;
  box-shadow: 0 28px 90px rgba(5, 61, 66, .30);
}
.modal::backdrop {
  background: rgba(4, 52, 57, .72);
  backdrop-filter: blur(6px);
}
.modal-header,
.modal-actions {
  border-color: #d1ece9;
  background: rgba(251, 255, 254, .97);
}
.modal label.checkbox-row,
.processing-fields,
.team-card-summary {
  border-color: #ceeae7;
  background: #f0fbf9;
}
.checkbox-row input { accent-color: #149894; }

.client-picker-results {
  border-color: #bfe2de;
  background: rgba(251, 255, 254, .99);
  box-shadow: 0 18px 50px rgba(5, 72, 76, .17);
}
.client-picker-option:hover,
.client-picker-option:focus-visible { background: #dff6f3; }

.mobile-bottom-nav {
  border-color: rgba(83, 192, 184, .50);
  background: rgba(248, 255, 254, .95);
  box-shadow: 0 16px 48px rgba(6, 87, 89, .24);
}
.mobile-nav-button.active {
  color: #0b6769;
  background: linear-gradient(180deg, #dcf6f3, #c8eeea);
}
.mobile-add-button,
.mobile-add-button.active {
  color: #fff;
  background: linear-gradient(135deg, #0d7778, #25aaa5);
  box-shadow: 0 8px 20px rgba(13, 119, 120, .25);
}

@media (max-width: 800px) {
  .dashboard-sidebar {
    background: linear-gradient(90deg, rgba(13, 91, 95, .99), rgba(7, 69, 74, .99));
  }
  .service-price-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;

  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
  width: max-content !important;

  display: inline-flex !important;
  align-items: center;
  gap: 5px;

  color: #169b98 !important;

  font: inherit;
  font-weight: 700;

  cursor: pointer;
}




}
