:root{
  --bg:#f4f0e8;
  --paper:#fbf8f2;
  --stone:#e8e0d5;
  --stone-2:#eee7dd;
  --text:#3c3833;
  --muted:#7c746a;
  --line:#d7cec1;
  --accent:#b59d7c;
  --accent-dark:#8f7658;
  --accent-soft:#dfd0bc;
  --success:#5d795f;
  --danger:#a45d57;
  --warning:#9a7b42;
  --info:#657589;
  --shadow:0 20px 55px rgba(79,65,49,.10);
  --shadow-small:0 12px 28px rgba(79,65,49,.08);
  --radius:28px;
  --radius-small:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#f9f6f0,#f1ece4);
  min-height:100vh;
}
body.dialog-open{overflow:hidden}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.hidden{display:none!important}
.route{display:none}
.route.active{display:block}
.muted-text{color:var(--muted);line-height:1.65}

.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(249,246,240,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(60,56,51,.08);
}
.topbar-inner{
  max-width:1240px;margin:auto;min-height:76px;padding:12px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.brand{border:0;background:transparent;text-align:left;padding:0;color:var(--text)}
.brand-title{display:block;font-family:Georgia,serif;font-size:21px;font-weight:500;letter-spacing:.18em}
.brand-subtitle{display:block;margin-top:5px;color:var(--muted);font-size:9px;letter-spacing:.28em;text-transform:uppercase}
.desktop-nav{display:flex;align-items:center;gap:5px}
.desktop-nav button{
  border:0;background:transparent;padding:10px 13px;color:var(--muted);
  font-size:13px;font-weight:700;border-bottom:1px solid transparent;
}
.desktop-nav button:hover,.desktop-nav button.active{color:var(--text);border-bottom-color:var(--accent-dark)}
.top-book-btn{
  border:1px solid var(--accent);background:transparent;color:var(--text);
  padding:11px 16px;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800;
}
.top-book-btn:hover{background:var(--accent-soft)}

.home-shell{max-width:1240px;margin:auto;padding:0 22px}
.hero-card{
  min-height:680px;display:grid;grid-template-columns:.92fr 1.08fr;
  background:var(--paper);border:1px solid var(--line);border-radius:0 0 32px 32px;
  overflow:hidden;box-shadow:var(--shadow);
}
.hero-copy{
  padding:76px 54px;display:flex;flex-direction:column;justify-content:center;
  background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.96),transparent 36%),linear-gradient(180deg,#faf7f1,#f0e8dc);
}
.eyebrow{margin:0;color:var(--accent-dark);font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:800}
.hero-copy h1,.page-heading h1,.legal-page h1,.admin-header h1,.login-card h1{
  margin:18px 0 0;font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;line-height:.95;
}
.hero-copy h1{font-size:clamp(54px,6.8vw,90px)}
.hero-lead{margin:26px 0 0;max-width:520px;color:#746c62;font-size:17px;line-height:1.75}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.primary-btn,.secondary-btn,.text-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:13px 20px;font-weight:800;border-radius:0;
}
.primary-btn{border:1px solid #c5ad8c;background:var(--accent-soft);color:#51463b}
.primary-btn:hover{background:#d4bea0}
.secondary-btn{border:1px solid var(--line);background:rgba(255,255,255,.44);color:#625b52}
.secondary-btn:hover{background:#f7f1e7}
.text-btn{border:0;border-bottom:1px solid var(--accent);background:transparent;color:#6c6258;padding-left:0;padding-right:0}
.wide-btn{width:100%}
.hero-image{
  min-height:680px;background:url("assets/spa-interior.jpg") center/cover no-repeat;position:relative;
}
.hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,240,232,.14),transparent 32%)}
.hero-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:44px;border-top:1px solid var(--line);padding-top:18px}
.hero-facts div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}
.hero-facts .line-icon{grid-row:1/3;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--accent-dark)}
.hero-facts strong{font-size:12px}
.hero-facts small{color:var(--muted);font-size:10px}

.content-section{padding:92px 0;border-bottom:1px solid rgba(60,56,51,.09)}
.soft-section{background:rgba(251,248,242,.42);margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}
.section-heading{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:end;margin-bottom:36px}
.section-heading h2,.contact-panel h2{
  margin:12px 0 0;font-family:Georgia,serif;font-size:clamp(40px,5vw,64px);line-height:1.03;font-weight:400;letter-spacing:-.035em;
}
.section-heading>p{color:var(--muted);line-height:1.75;margin:0;max-width:560px}
.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.service-card{
  background:rgba(251,248,242,.92);border:1px solid var(--line);padding:25px;min-height:218px;
  display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 0 0 rgba(0,0,0,0);transition:.2s ease;
}
.service-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-small)}
.service-card-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.service-card h3{margin:0;font-family:Georgia,serif;font-size:28px;font-weight:400;line-height:1.1}
.service-card p{color:var(--muted);line-height:1.6;margin:12px 0 0}
.service-number{font-family:Georgia,serif;color:var(--accent-dark);font-size:18px}
.service-card-bottom{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-top:24px}
.service-card-meta{color:var(--muted);font-size:13px}
.service-price{font-weight:900;font-size:20px}
.service-card .text-btn{min-height:auto;font-size:13px}

.therapist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.therapist-card{background:var(--paper);border:1px solid var(--line);padding:24px;min-height:300px;display:flex;flex-direction:column}
.therapist-avatar{
  width:78px;height:78px;border-radius:50%;background:linear-gradient(145deg,#ede4d8,#d4c3ad);
  display:grid;place-items:center;font-family:Georgia,serif;font-size:27px;color:#625749;border:1px solid #cbb99e;
}
.therapist-card h3{margin:20px 0 0;font-family:Georgia,serif;font-size:27px;font-weight:400}
.therapist-role{color:var(--accent-dark);font-size:11px;text-transform:uppercase;letter-spacing:.13em;margin-top:6px}
.therapist-card p{color:var(--muted);line-height:1.65}
.specialty-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.specialty-list span{border:1px solid var(--line);padding:6px 8px;font-size:10px;color:#6a6359;background:#f8f3eb}

.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.review-card{border:1px solid var(--line);background:rgba(255,255,255,.35);padding:26px;min-height:230px;display:flex;flex-direction:column}
.review-stars{color:var(--accent-dark);letter-spacing:.18em}
.review-card blockquote{margin:22px 0;font-family:Georgia,serif;font-size:22px;line-height:1.35;font-weight:400}
.review-card footer{margin-top:auto;color:var(--muted);font-size:13px}

.contact-section{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}
.contact-image{min-height:440px;background:url("assets/spa-interior-mobile.jpg") center/cover no-repeat;border:1px solid var(--line)}
.contact-panel{background:#eee5d9;padding:36px;display:flex;flex-direction:column;justify-content:space-between}
.contact-panel h2{font-size:44px}
.contact-list{margin-top:28px}
.contact-list>div{padding:18px 0;border-bottom:1px solid rgba(60,56,51,.12)}
.contact-list span{display:block;color:var(--accent-dark);font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;margin-bottom:7px}
.contact-list strong,.contact-list a{font-weight:650;line-height:1.5}
.social-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.social-links-contact{margin-top:22px;padding-top:20px;border-top:1px solid rgba(60,56,51,.12)}
.social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid rgba(82,91,68,.22);border-radius:999px;background:rgba(255,255,255,.48);color:var(--accent-dark);font-size:12px;font-weight:750;letter-spacing:.02em;text-decoration:none;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.social-link:hover,.social-link:focus-visible{transform:translateY(-2px);background:#fff;border-color:var(--accent);outline:none}
.social-link svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.social-facebook svg,.social-youtube svg{fill:currentColor;stroke:none}
.social-settings{margin:3px 0;padding:18px;border:1px solid var(--line);border-radius:18px}
.social-settings legend{padding:0 8px;font-weight:750;color:var(--accent-dark)}
.social-settings>p{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.55}
.social-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.map-wrap{grid-column:1/-1;height:310px;border:1px solid var(--line);overflow:hidden}
.map-wrap iframe{width:100%;height:100%;border:0;filter:saturate(.35) sepia(.08)}

.page-shell{max-width:1240px;margin:auto;padding:52px 22px 110px}
.narrow-page{max-width:860px}
.page-heading{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:end;padding-bottom:38px;border-bottom:1px solid var(--line)}
.page-heading h1,.admin-header h1{font-size:clamp(54px,7vw,94px)}
.page-heading>p{color:var(--muted);line-height:1.75;margin:0;max-width:520px}

.booking-progress{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:34px}
.booking-progress button{border:0;background:var(--paper);padding:13px 7px;color:var(--muted);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px}
.booking-progress button span{width:21px;height:21px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:10px}
.booking-progress button.active{background:#e9dece;color:var(--text)}
.booking-progress button.complete{background:#f4ecdf;color:var(--accent-dark)}

.booking-layout{display:grid;grid-template-columns:1fr 350px;gap:24px;margin-top:34px;align-items:start}
.booking-main,.booking-summary,.panel-card,.legal-page,.login-card,.calendar-card,.admin-tab,.management-card,.client-card{
  background:rgba(251,248,242,.94);border:1px solid var(--line);box-shadow:var(--shadow-small);
}
.booking-main{padding:30px}
.booking-step{display:none}
.booking-step.active{display:block}
.step-heading{display:flex;gap:18px;align-items:flex-start;margin-bottom:24px}
.step-heading>span{font-family:Georgia,serif;color:var(--accent-dark);font-size:20px;padding-top:4px}
.step-heading h2{margin:0;font-family:Georgia,serif;font-size:34px;font-weight:400}
.step-heading p{margin:7px 0 0;color:var(--muted);line-height:1.55}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.choice-card{border:1px solid var(--line);background:#fffdf9;padding:18px;text-align:left;color:var(--text);min-height:116px;position:relative}
.choice-card:hover{border-color:var(--accent)}
.choice-card.selected{background:#e5d7c4;border-color:#bfa47e;box-shadow:inset 0 0 0 1px #bfa47e}
.choice-card h3{margin:0;font-family:Georgia,serif;font-size:21px;font-weight:400}
.choice-card p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.choice-card strong{position:absolute;right:16px;bottom:15px;font-size:14px}
.choice-card .choice-check{position:absolute;right:14px;top:14px;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:11px;color:transparent}
.choice-card.selected .choice-check{background:var(--accent-dark);color:white;border-color:var(--accent-dark)}
.date-picker-wrap{max-width:360px}
label{display:block;margin-bottom:8px;color:#665f56;font-size:11px;font-weight:800;letter-spacing:.05em}
input,select,textarea{
  width:100%;padding:13px 14px;border:1px solid var(--line);background:#fffdf9;color:var(--text);outline:none;border-radius:0;
}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(181,157,124,.12)}
input:disabled,select:disabled,textarea:disabled{background:#eee9e1;color:#999}
.slot-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.slot-btn{border:1px solid var(--line);background:#fffdf9;padding:12px 5px;color:var(--text);position:relative}
.slot-btn small{display:block;margin-top:4px;color:var(--muted);font-size:9px}
.slot-btn.selected{background:#d9c3a5;border-color:#ae8d62}
.empty-state{padding:28px;border:1px dashed var(--line);color:var(--muted);text-align:center;background:rgba(255,255,255,.28)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}
.form-grid .full{grid-column:1/-1}
.privacy-check{display:flex;gap:10px;align-items:flex-start;color:var(--muted);line-height:1.5;font-size:13px;font-weight:500;letter-spacing:0}
.privacy-check input{width:auto;margin-top:3px}
.inline-link{border:0;background:transparent;color:var(--accent-dark);padding:0;text-decoration:underline}
.final-review{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:20px}
.final-review div{display:flex;justify-content:space-between;gap:18px;background:#fffdf9;padding:14px}
.final-review span{color:var(--muted)}
.booking-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.form-error{padding:14px 16px;margin-top:18px;background:#f5e3e0;color:var(--danger);border-left:3px solid var(--danger);line-height:1.5}
.booking-summary{padding:26px;position:sticky;top:96px}
.booking-summary h3{margin:13px 0 22px;font-family:Georgia,serif;font-size:28px;font-weight:400}
.booking-summary dl{margin:0}
.booking-summary dl div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}
.booking-summary dt{color:var(--muted)}
.booking-summary dd{margin:0;text-align:right;font-weight:750}
.summary-note{margin:18px 0 0;padding:14px;background:#eee4d6;color:#655d53;font-size:13px;line-height:1.5}
.booking-success{text-align:center;padding:34px 10px}
.success-mark{width:66px;height:66px;margin:0 auto 20px;border-radius:50%;background:#e4eee4;color:var(--success);display:grid;place-items:center;font-size:34px}
.booking-success h2{font-family:Georgia,serif;font-size:42px;font-weight:400;margin:14px 0}
.booking-success>p:not(.eyebrow){color:var(--muted);line-height:1.65}
.success-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}

.panel-card{padding:30px;margin-top:30px}
.manage-details{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.manage-details div{display:flex;justify-content:space-between;gap:20px;padding:14px;background:#fffdf9}
.manage-details span{color:var(--muted)}
.manage-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

.legal-page{padding:44px;margin-top:20px}
.legal-page h1{font-size:clamp(48px,6vw,78px)}
.legal-page h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin-top:34px}
.legal-page p{color:var(--muted);line-height:1.8;max-width:850px}

.login-card{max-width:500px;margin:32px auto;padding:34px}
.login-card h1{font-size:52px}
.form-stack{display:grid;gap:16px;margin-top:24px}
.admin-header{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}
.admin-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mode-badge{padding:8px 10px;border:1px solid var(--line);background:#f0e7da;color:var(--accent-dark);font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800}
.admin-tabs{display:flex;gap:1px;overflow-x:auto;background:var(--line);border:1px solid var(--line);margin-bottom:20px;scrollbar-width:none}
.admin-tabs::-webkit-scrollbar{display:none}
.admin-tabs button{border:0;background:var(--paper);padding:13px 15px;white-space:nowrap;color:var(--muted);font-weight:700;font-size:12px}
.admin-tabs button.active{background:#e5d8c6;color:var(--text)}
.admin-tab{display:none;padding:26px}
.admin-tab.active{display:block}
.admin-section-header{display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.admin-section-header h2{margin:0;font-family:Georgia,serif;font-size:36px;font-weight:400}
.admin-section-header p{margin:7px 0 0;color:var(--muted)}
.admin-section-header>div:last-child{display:flex;gap:9px;flex-wrap:wrap}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.stat-card{border:1px solid var(--line);background:#fffdf9;padding:18px}
.stat-card span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.stat-card strong{display:block;margin-top:8px;font-family:Georgia,serif;font-size:34px;font-weight:400}
.calendar-card{padding:0;overflow:hidden}
.calendar-toolbar{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:18px;border-bottom:1px solid var(--line)}
.calendar-toolbar h2{margin:0;text-align:center;font-family:Georgia,serif;font-weight:400;font-size:26px}
.calendar-nav,.calendar-views{display:flex;gap:4px}
.calendar-nav button,.calendar-views button{border:1px solid var(--line);background:#fffdf9;padding:8px 10px;color:var(--muted)}
.calendar-views button.active{background:#e5d8c6;color:var(--text)}
.month-calendar{display:grid;grid-template-columns:repeat(7,1fr)}
.calendar-weekday{padding:11px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em;text-align:center;background:#f4eee5}
.month-day{min-height:124px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fffdf9;overflow:hidden}
.month-day.outside{background:#f1ece4;color:#aaa}
.month-day.today{box-shadow:inset 0 0 0 2px var(--accent)}
.day-number{font-size:12px;font-weight:800;margin-bottom:7px}
.calendar-event{display:block;width:100%;border:0;text-align:left;padding:6px 7px;margin:4px 0;background:#e7d9c7;color:#51483d;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calendar-event.status-cancelled{background:#f2dfdc;color:var(--danger);text-decoration:line-through}
.calendar-event.status-completed{background:#e3ece3;color:var(--success)}
.week-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:16px}
.week-column{border:1px solid var(--line);background:#fffdf9;min-height:420px;padding:10px}
.week-column h3{margin:0 0 10px;font-size:12px;text-align:center;border-bottom:1px solid var(--line);padding-bottom:9px}
.day-calendar{padding:18px}
.day-timeline{display:grid;grid-template-columns:80px 1fr;border-top:1px solid var(--line)}
.day-hour{padding:15px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}
.day-events{padding:8px;border-bottom:1px solid var(--line);min-height:54px}
.filter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.responsive-table{overflow-x:auto}
.data-table{width:100%;border-collapse:collapse;min-width:860px}
.data-table th,.data-table td{padding:13px 11px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:13px}
.data-table th{color:var(--accent-dark);font-size:10px;text-transform:uppercase;letter-spacing:.12em;background:#f2ebe1}
.table-actions{display:flex;gap:6px;flex-wrap:wrap}
.small-btn{border:1px solid var(--line);background:#fffdf9;padding:7px 9px;font-size:11px;color:#655d53}
.small-btn.danger{color:var(--danger);border-color:#e1c2be}
.status-badge{display:inline-block;padding:6px 8px;font-size:9px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;border:1px solid var(--line);background:#f5efe6}
.status-new{color:var(--info);background:#e9edf2}.status-confirmed{color:var(--accent-dark);background:#eadfce}.status-completed{color:var(--success);background:#e6eee6}.status-cancelled{color:var(--danger);background:#f4e2df}.status-no_show{color:var(--warning);background:#f0e7d2}
.management-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.management-card{padding:22px}
.management-card h3{margin:0;font-family:Georgia,serif;font-size:25px;font-weight:400}
.management-card p{color:var(--muted);line-height:1.55}
.management-meta{display:flex;justify-content:space-between;gap:12px;margin:18px 0;color:#665f56}
.management-actions{display:flex;gap:8px;flex-wrap:wrap}
.toolbar-row{display:flex;align-items:end;gap:12px;max-width:440px;margin-bottom:18px}
.toolbar-row label{min-width:85px}
.hours-grid{display:grid;gap:8px;margin-bottom:18px}
.hours-row{display:grid;grid-template-columns:120px 80px repeat(4,1fr);gap:9px;align-items:center;border:1px solid var(--line);background:#fffdf9;padding:10px}
.hours-row .day-name{font-weight:800}
.hours-row label{margin:0;display:flex;align-items:center;gap:6px;font-size:11px}
.hours-row label input{width:auto}
.client-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.client-card{padding:20px}
.client-card h3{margin:0;font-family:Georgia,serif;font-weight:400;font-size:24px}
.client-contact{color:var(--muted);line-height:1.6;margin-top:8px}
.client-history{margin-top:16px;border-top:1px solid var(--line)}
.client-history div{padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}
.settings-form{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;max-width:850px}
.settings-form .full{grid-column:1/-1}
.toggle-row{display:flex;align-items:center;gap:9px;font-size:13px;letter-spacing:0;font-weight:600}
.toggle-row input{width:auto}

.app-dialog{border:0;padding:0;background:transparent;max-width:min(720px,calc(100vw - 24px));width:100%}
.app-dialog::backdrop{background:rgba(32,29,25,.45);backdrop-filter:blur(4px)}
.dialog-frame{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);padding:0;margin:0;max-height:90vh;overflow:auto}
.dialog-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:24px;border-bottom:1px solid var(--line)}
.dialog-header h2{margin:8px 0 0;font-family:Georgia,serif;font-size:32px;font-weight:400}
.dialog-close{border:0;background:transparent;font-size:30px;line-height:1;color:var(--muted)}
#dialog-body{padding:24px}
.dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:18px 24px;border-top:1px solid var(--line)}
.dialog-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.dialog-form .full{grid-column:1/-1}

.toast{
  position:fixed;right:18px;top:90px;z-index:100;max-width:390px;padding:14px 16px;
  background:#3f3a34;color:#fff;box-shadow:var(--shadow);transform:translateX(calc(100% + 40px));opacity:0;transition:.25s ease;
}
.toast.show{transform:none;opacity:1}
.toast.success{background:var(--success)}.toast.error{background:var(--danger)}

.mobile-nav{display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:60;background:rgba(250,247,241,.96);border:1px solid var(--line);box-shadow:var(--shadow);padding:8px}
.mobile-nav button{flex:1;border:0;background:transparent;padding:10px 6px;color:var(--muted);font-size:11px;font-weight:700}
.mobile-nav button span{display:block;font-size:17px;margin-bottom:3px}
.mobile-nav button.active{background:#e4d6c4;color:var(--text)}
.footer{max-width:1240px;margin:auto;padding:24px 22px 42px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:12px}
.footer-copy{display:flex;flex-direction:column;gap:5px}
.social-links-footer{justify-content:flex-end}
.social-links-footer .social-link{width:42px;height:42px;min-height:42px;padding:0}
.social-links-footer .social-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media(max-width:1050px){
  .desktop-nav{gap:1px}.desktop-nav button{padding-left:8px;padding-right:8px}
  .booking-layout{grid-template-columns:1fr 310px}
  .dashboard-stats{grid-template-columns:repeat(2,1fr)}
  .hours-row{grid-template-columns:100px 70px repeat(2,1fr)}
  .hours-row input[type="time"]:nth-of-type(n+3){grid-column:auto}
}
@media(max-width:900px){
  .desktop-nav,.top-book-btn{display:none}.mobile-nav{display:flex}
  .home-shell{padding:0 14px}.hero-card{grid-template-columns:1fr;border-radius:0}.hero-copy{padding:56px 28px}.hero-image{min-height:570px;background-image:url("assets/spa-interior-mobile.jpg")}
  .section-heading,.page-heading{grid-template-columns:1fr;gap:18px}.service-grid{grid-template-columns:1fr}.therapist-grid,.review-grid{grid-template-columns:repeat(2,1fr)}
  .contact-section{grid-template-columns:1fr}.contact-image{min-height:430px}.map-wrap{grid-column:auto}
  .page-shell{padding-left:14px;padding-right:14px;padding-bottom:115px}.booking-progress{grid-template-columns:repeat(3,1fr)}.booking-layout{grid-template-columns:1fr}.booking-summary{position:static;order:-1}
  .calendar-toolbar{grid-template-columns:1fr}.calendar-toolbar h2{order:-1}.calendar-nav,.calendar-views{justify-content:center}
  .filter-grid{grid-template-columns:repeat(2,1fr)}.management-grid,.client-grid{grid-template-columns:1fr}.settings-form{grid-template-columns:1fr}.settings-form .full{grid-column:auto}
  .footer{padding-bottom:105px}
}
@media(max-width:650px){
  .topbar-inner{min-height:66px;padding:10px 16px}.brand-title{font-size:18px}.brand-subtitle{display:none}
  .hero-copy h1{font-size:55px}.hero-lead{font-size:16px}.hero-facts{grid-template-columns:1fr}.hero-image{min-height:510px}
  .content-section{padding:72px 0}.soft-section{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .section-heading h2{font-size:42px}.therapist-grid,.review-grid{grid-template-columns:1fr}
  .booking-progress button{font-size:9px;padding:10px 4px}.booking-main{padding:20px}.step-heading h2{font-size:29px}.choice-grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.slot-grid{grid-template-columns:repeat(3,1fr)}
  .page-heading h1,.admin-header h1{font-size:54px}.page-heading{padding-bottom:26px}.admin-header{align-items:flex-start;flex-direction:column}
  .dashboard-stats{grid-template-columns:1fr 1fr}.month-day{min-height:92px;padding:5px}.calendar-event{font-size:8px;padding:4px}.week-calendar{grid-template-columns:1fr}.filter-grid{grid-template-columns:1fr}
  .hours-row{grid-template-columns:1fr 1fr}.hours-row .day-name{grid-column:1/-1}.toolbar-row{align-items:stretch;flex-direction:column}
  .dialog-form{grid-template-columns:1fr}.dialog-form .full{grid-column:auto}.dialog-actions{flex-wrap:wrap}.dialog-actions>*{flex:1}
  .legal-page{padding:26px}.footer{flex-direction:column;align-items:flex-start}
  .social-links-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:9px}
  .social-links-contact .social-link{min-width:0;padding:9px 7px;font-size:11px}
  .social-links-footer{display:grid;grid-template-columns:repeat(3,42px);justify-content:start;width:100%}
  .social-settings-grid{grid-template-columns:1fr}
}
@media(max-width:380px){
  .social-links-contact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-link{min-height:46px}
}


/* Users & roles module */
.role-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 18px}
.role-guide>div{border:1px solid var(--line);background:#fbf7f1;padding:15px;display:grid;gap:6px}
.role-guide strong{font-family:var(--serif);font-size:18px;font-weight:500}
.role-guide span{font-size:12px;line-height:1.5;color:var(--muted)}
.user-identity{display:grid;gap:3px}.user-identity strong{font-size:14px}.user-identity small{color:var(--muted)}
.user-access{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.access-active,.access-disabled{display:inline-flex;padding:5px 8px;border:1px solid var(--line);font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.access-active{background:#e6eee5;color:#496349}.access-disabled{background:#f3e3e0;color:#985d55}
.role-owner{background:#e8dcc8}.role-admin{background:#eee6dc}.role-therapist{background:#e5ece8}
.invite-note{padding:12px;border-left:3px solid var(--accent);background:#f6efe5;color:var(--muted);font-size:12px;line-height:1.5}
[hidden]{display:none!important}
@media(max-width:760px){.role-guide{grid-template-columns:1fr}.admin-header-actions{flex-wrap:wrap;justify-content:flex-end}}


/* Final mobile admin login fix */
.admin-title-mobile{display:none}
.login-card h1{
  max-width:100%;
  overflow-wrap:break-word;
}
@media(max-width:650px){
  .login-card{
    width:100%;
    max-width:100%;
    margin:20px auto;
    padding:26px 20px;
    overflow:hidden;
  }
  .login-card h1{
    font-size:clamp(31px,9.2vw,40px);
    line-height:1.02;
    letter-spacing:-.025em;
  }
  .admin-title-desktop{display:none}
  .admin-title-mobile{display:inline}
  #admin-login-form .primary-btn,
  #admin-login-form .secondary-btn{
    width:100%;
    min-height:54px;
    font-size:16px;
  }
}


.build-version{
  position:fixed;
  right:8px;
  bottom:8px;
  z-index:9999;
  padding:4px 7px;
  border:1px solid rgba(80,70,60,.25);
  background:rgba(255,250,244,.92);
  color:#74695e;
  font:600 10px/1 system-ui,sans-serif;
  border-radius:5px;
}


/* Complete Excel and PDF export */
.export-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:20px;
}
.export-card{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:285px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
}
.export-card h3{margin:0 0 6px;font-size:22px}
.export-card p{margin:0;color:var(--muted);line-height:1.6}
.export-card .wide-btn{margin-top:auto}
.export-file-icon{
  display:grid;
  place-items:center;
  width:66px;
  height:66px;
  border-radius:18px;
  background:var(--accent-soft);
  border:1px solid var(--line);
  color:var(--accent-dark);
  font-weight:900;
  letter-spacing:.04em;
}
.export-includes{
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.55);
}
.export-includes>strong{display:block;margin-bottom:12px}
.export-includes-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 18px;
  color:var(--muted);
}
.export-includes-grid span::before{
  content:"✓";
  margin-right:8px;
  color:var(--accent-dark);
  font-weight:900;
}
.export-status{
  min-height:24px;
  margin-top:14px;
  color:var(--muted);
  font-weight:650;
}
.export-status.error{color:var(--danger)}
@media(max-width:760px){
  .export-grid{grid-template-columns:1fr}
  .export-includes-grid{grid-template-columns:1fr}
  .export-card{min-height:0}
}


/* Daily and monthly revenue reports */
.revenue-report-filters{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}
.revenue-report-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:12px;
}
.revenue-report-card{
  display:flex;
  flex-direction:column;
  gap:15px;
  min-height:325px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
}
.revenue-report-card h3{
  margin:0 0 6px;
  font-size:22px;
}
.revenue-report-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.report-action-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:auto;
}
.report-action-row button{
  width:100%;
}
.section-separator{
  height:1px;
  margin:26px 0;
  background:var(--line);
}
@media(max-width:760px){
  .revenue-report-filters,
  .revenue-report-grid{
    grid-template-columns:1fr;
  }
  .revenue-report-card{
    min-height:0;
  }
}
@media(max-width:430px){
  .report-action-row{
    grid-template-columns:1fr;
  }
}


/* Service duration and therapist break */
.management-meta{
  flex-wrap:wrap;
}


/* User + therapist creation fixes */
.field-help{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.4;
}
#dlg-user-error{
  margin-top:2px;
  padding:11px 13px;
  border-radius:12px;
  border:1px solid rgba(170,70,70,.28);
  background:rgba(170,70,70,.08);
}
#dlg-user-error[hidden]{
  display:none;
}


/* Owner may also work as a therapist */
#dlg-user-therapist-wrap[hidden],
#dlg-user-new-therapist-wrap[hidden]{
  display:none;
}


/* Therapist profile photos */
.therapist-card{
  padding:0;
  overflow:hidden;
}
.therapist-card-content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:22px 24px 24px;
}
.therapist-card h3{
  margin:0;
}
.therapist-photo{
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#eee5da,#d5c3ab);
  border:1px solid #cfbea7;
  color:#625749;
}
.therapist-photo-fallback{
  position:relative;
  z-index:0;
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  font-family:Georgia,serif;
  letter-spacing:.04em;
}
.therapist-photo img{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 25%;
}
.therapist-photo-public{
  width:100%;
  aspect-ratio:4/3;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
}
.therapist-photo-public .therapist-photo-fallback{
  font-size:54px;
}
.therapist-photo-choice{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:50%;
}
.therapist-photo-choice .therapist-photo-fallback{
  font-size:18px;
}
.therapist-choice-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding-right:46px;
}
.therapist-choice-card h3{
  margin:0;
}
.therapist-photo-admin{
  width:76px;
  height:76px;
  flex:0 0 76px;
  border-radius:18px;
}
.therapist-photo-admin .therapist-photo-fallback{
  font-size:24px;
}
.therapist-management-head{
  display:flex;
  align-items:center;
  gap:16px;
}
.therapist-management-head .management-meta{
  justify-content:flex-start;
  margin:10px 0 0;
}
.therapist-photo-editor{
  display:grid;
  grid-template-columns:148px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.42);
}
.therapist-photo-editor .therapist-photo-editor{
  padding:0;
}
.therapist-photo-editor .therapist-photo{
  width:148px;
  aspect-ratio:4/5;
  border-radius:18px;
}
.therapist-photo-editor .therapist-photo-fallback{
  font-size:36px;
}
.therapist-photo-controls{
  min-width:0;
}
.therapist-photo-controls input[type="file"]{
  width:100%;
  padding:10px;
  border:1px dashed var(--line);
  background:#fffdf9;
}
.therapist-photo-controls .small-btn{
  margin-top:12px;
}
@media(max-width:760px){
  .therapist-photo-public{
    aspect-ratio:16/11;
  }
}
@media(max-width:520px){
  .therapist-photo-editor{
    grid-template-columns:1fr;
  }
  .therapist-photo-editor .therapist-photo{
    width:min(100%,220px);
    justify-self:center;
  }
}


/* Discounts, vouchers, gift vouchers and promotions */
.promotion-public-section{background:linear-gradient(135deg,rgba(239,228,213,.78),rgba(255,255,255,.72))}
.promotion-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.promotion-public-card{position:relative;display:flex;flex-direction:column;min-height:260px;padding:24px;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft)}
.promotion-public-card h3{margin:42px 0 8px;font-size:23px}
.promotion-public-card p{color:var(--muted);line-height:1.6}
.promotion-public-value{position:absolute;top:18px;right:18px;padding:8px 12px;border-radius:999px;background:var(--accent-dark);color:#fff;font-weight:900}
.promotion-public-meta{display:flex;flex-direction:column;gap:5px;margin:auto 0 14px;color:var(--muted);font-size:13px}
.booking-benefit-box{padding:16px;border:1px solid var(--line);border-radius:16px;background:rgba(244,238,230,.58)}
.booking-benefit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.benefit-code-status{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.45}
.benefit-code-status.success{color:#356348;font-weight:700}
.benefit-code-status.error{color:var(--danger);font-weight:700}
.benefit-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.benefit-summary-grid article{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.benefit-summary-grid span{display:block;color:var(--muted);font-size:13px}
.benefit-summary-grid strong{display:block;margin-top:7px;font-size:24px}
.benefit-admin-section{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.admin-section-header.compact{margin-bottom:14px}
.admin-section-header.compact h3{margin:0;font-size:21px}
.benefit-management-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.benefit-card{display:flex;flex-direction:column;min-height:250px;padding:20px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:var(--shadow-soft)}
.benefit-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.benefit-card code{padding:6px 9px;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark);font-weight:900;letter-spacing:.04em}
.benefit-type-icon{display:grid;place-items:center;min-width:42px;height:36px;padding:0 9px;border-radius:10px;background:var(--accent-soft);color:var(--accent-dark);font-size:12px;font-weight:900}
.benefit-card h4{margin:18px 0 5px;font-size:19px}
.benefit-card p{color:var(--muted);line-height:1.5}
.benefit-card small{display:block;margin:auto 0 14px;color:var(--muted)}
.benefit-card .small-btn{align-self:flex-start}
.benefit-main-value{font-size:26px;color:var(--accent-dark)}
@media(max-width:960px){.promotion-public-grid,.benefit-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.promotion-public-grid,.benefit-management-grid,.benefit-summary-grid{grid-template-columns:1fr}.booking-benefit-row{grid-template-columns:1fr}}


/* Client profiles, assigned discounts and discount history */
.client-toolbar{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(220px,1fr);
  gap:14px;
  margin-bottom:18px;
}
.client-profile-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.client-profile-card{
  display:flex;
  flex-direction:column;
  min-height:310px;
}
.client-profile-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.client-profile-head h3{
  margin:0 0 5px;
}
.client-profile-contact{
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.client-profile-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:16px 0;
}
.client-profile-badge{
  padding:6px 9px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent-dark);
  font-size:12px;
  font-weight:800;
}
.client-profile-badge.neutral{
  background:rgba(100,100,100,.09);
  color:var(--muted);
}
.client-profile-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:4px 0 16px;
}
.client-profile-stats div{
  padding:10px 8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.48);
  text-align:center;
}
.client-profile-stats strong{
  display:block;
  font-size:17px;
}
.client-profile-stats span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}
.client-profile-notes{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.5;
}
.client-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.client-discount-panel{
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(244,238,230,.55);
}
.client-discount-panel h4{
  margin:0 0 12px;
}
.client-history-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:18px;
}
.client-history-summary div{
  padding:12px;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.5);
}
.client-history-summary strong{
  display:block;
  font-size:18px;
}
.client-history-summary span{
  color:var(--muted);
  font-size:12px;
}
.client-history-section{
  margin-top:22px;
}
.client-history-section h4{
  margin:0 0 10px;
}
.client-history-table{
  max-height:340px;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:14px;
}
.client-history-table table{
  margin:0;
}
.discount-history-reversed{
  opacity:.62;
}
.discount-history-label{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}
@media(max-width:1050px){
  .client-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .client-toolbar,
  .client-profile-grid{grid-template-columns:1fr}
  .client-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
  .client-profile-stats{grid-template-columns:1fr}
  .client-history-summary{grid-template-columns:1fr}
}


/* Booking email notification status */
.therapist-admin-email{
  margin:10px 0 4px;
  color:var(--accent-dark);
  font-size:13px;
  font-weight:700;
}
.email-delivery-status{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:7px;
}
.email-delivery-status span{
  padding:3px 6px;
  border-radius:7px;
  font-size:10px;
  font-weight:800;
}
.email-delivery-status .sent{
  background:rgba(54,118,76,.12);
  color:#356348;
}
.email-delivery-status .pending{
  background:rgba(110,100,90,.10);
  color:var(--muted);
}
.email-delivery-status .error{
  background:rgba(167,62,62,.11);
  color:var(--danger);
}


/* QR code for the booking application */
.public-booking-qr{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:22px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.64);
}
.public-booking-qr img{
  width:92px;
  height:92px;
  flex:0 0 92px;
  padding:5px;
  border-radius:12px;
  background:#fff;
}
.public-booking-qr strong,
.public-booking-qr span{
  display:block;
}
.public-booking-qr strong{
  margin-bottom:5px;
  color:var(--accent-dark);
  font-size:16px;
}
.public-booking-qr span{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.booking-qr-admin-card{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:28px;
  align-items:center;
  margin-top:28px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(244,238,230,.85),rgba(255,255,255,.76));
  box-shadow:var(--shadow-soft);
}
.booking-qr-preview{
  display:grid;
  place-items:center;
  padding:16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
}
.booking-qr-preview img{
  width:100%;
  height:auto;
  image-rendering:pixelated;
}
.booking-qr-admin-content h3{
  margin:4px 0 10px;
  font-size:27px;
}
.booking-qr-admin-content p:not(.eyebrow){
  max-width:720px;
  color:var(--muted);
  line-height:1.65;
}
.booking-qr-admin-content code{
  display:block;
  max-width:100%;
  margin:14px 0 18px;
  padding:11px 13px;
  overflow-wrap:anywhere;
  border:1px solid var(--line);
  border-radius:11px;
  background:rgba(255,255,255,.72);
  color:var(--accent-dark);
}
.booking-qr-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.booking-qr-actions a,
.booking-qr-actions button{
  text-decoration:none;
}
@media(max-width:760px){
  .booking-qr-admin-card{
    grid-template-columns:1fr;
  }
  .booking-qr-preview{
    width:min(100%,300px);
    justify-self:center;
  }
}
@media(max-width:480px){
  .public-booking-qr{
    align-items:flex-start;
  }
  .public-booking-qr img{
    width:78px;
    height:78px;
    flex-basis:78px;
  }
  .booking-qr-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .booking-qr-actions a,
  .booking-qr-actions button{
    width:100%;
    text-align:center;
  }
}
