:root {
  --ink:#243b33;
  --muted:#7b867e;
  --green:#285c48;
  --light:#edf2ea;
  --paper:#fafaf6;
  --white:#fff;
  --line:#e6e9e1;
  --gold:#ba8744;
  --red:#aa5045;
  --radius:18px;
  font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang TC",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input,select,textarea {
  font:inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:not-allowed;
  opacity:.45;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  border:0;
}

button:focus-visible,a:focus-visible {
  outline:3px solid #90bba4;
  outline-offset:4px;
}

input:focus,select:focus,textarea:focus {
  outline:2px solid #86af96;
  outline-offset:2px;
}

.skip {
  position:fixed;
  left:12px;
  top:-60px;
  z-index:100;
  padding:12px;
  background:white;
}

.skip:focus {
  top:12px;
}

.loading {
  padding:20vh 20px;
  text-align:center;
  color:var(--muted);
}

.auth-card {
  max-width:460px;
  margin:35px auto 80px;
}

.auth-card h2 {
  font-size:23px;
}

.auth-card .button.wide {
  margin-top:20px;
}

.auth-mark {
  display:inline-grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:18px;
  background:var(--light);
  color:var(--green);
}

.auth-mark .icon {
  width:30px;
  height:30px;
}

.line-login {
  background:#07883f;
}

.notification-record {
  display:grid;
  gap:9px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
  overflow-wrap:anywhere;
}

.notification-record small {
  color:var(--muted);
}

.icon {
  width:20px;
  height:20px;
  vertical-align:middle;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.app-layout {
  display:grid;
  grid-template-columns:236px 1fr;
  min-height:100vh;
}

.sidebar {
  background:#f1f3ed;
  border-right:1px solid var(--line);
  padding:32px 22px;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh;
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:22px;
  font-weight:750;
  letter-spacing:.08em;
}

.brand-mark {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  background:var(--green);
  color:white;
  border-radius:12px;
}

.brand-mark .icon {
  width:23px;
  height:23px;
}

.brand-sub {
  font-size:8px;
  letter-spacing:1px;
  color:var(--muted);
  padding:8px 0 35px 49px;
}

.nav-label {
  font-size:10px;
  color:#99a094;
  letter-spacing:2px;
  margin:7px 12px 13px;
}

.nav {
  display:grid;
  gap:8px;
}

.nav button {
  display:flex;
  gap:13px;
  align-items:center;
  text-align:left;
  color:#7d897e;
  background:none;
  padding:13px 15px;
  border-radius:10px;
  font-size:13px;
  letter-spacing:.03em;
}

.nav button:hover {
  background:#e7ede4;
}

.nav button.active {
  background:#dfe9dc;
  color:var(--green);
  font-weight:650;
}

.sidebar-note {
  margin-top:auto;
  padding:20px 14px;
  border-top:1px solid #dce2d7;
  font-size:11px;
  line-height:1.9;
  color:var(--muted);
}

.tiny-label {
  font-size:10px;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.sidebar-note strong {
  display:block;
  color:var(--green);
  font-weight:600;
}

.shop-chip {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:20px;
  font-size:12px;
}

.shop-chip small {
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:10px;
}

.avatar {
  height:34px;
  width:34px;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  background:#e7dfd0;
  color:#86775c;
  font-size:12px;
  flex-shrink:0;
}

.avatar.green {
  background:#e1eadb;
  color:#597450;
}

.workspace {
  min-width:0;
}

.topbar {
  height:83px;
  border-bottom:1px solid var(--line);
  padding:0 42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:#fff9;
}

.breadcrumbs {
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:13px;
  align-items:center;
}

.breadcrumbs strong {
  font-weight:500;
  color:var(--ink);
}

.top-actions {
  display:flex;
  gap:15px;
  align-items:center;
}

.demo-badge {
  font-size:10px;
  color:#8d7449;
  background:#f4eedf;
  padding:7px 10px;
  border-radius:6px;
  white-space:nowrap;
}

.button {
  background:var(--green);
  color:#fff;
  border-radius:9px;
  padding:12px 19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  font-weight:550;
  line-height:1.4;
  min-height:42px;
}

.button:hover {
  background:#1e4b39;
}

.button.secondary {
  background:#fff;
  color:var(--green);
  border:1px solid #dce3d7;
}

.button.secondary:hover {
  background:var(--light);
}

.button.ghost {
  background:transparent;
  color:var(--muted);
  padding:9px 11px;
}

.button.ghost:hover {
  color:var(--green);
  background:var(--light);
}

.button.danger {
  background:#fcf0eb;
  color:var(--red);
  border:1px solid #edcdc5;
}

.button.small {
  min-height:34px;
  padding:7px 11px;
  font-size:11px;
}

.button.wide {
  width:100%;
}

.main {
  padding:38px 42px 24px;
  max-width:1510px;
  margin:auto;
}

.eyebrow {
  font-size:10px;
  letter-spacing:2.5px;
  color:var(--gold);
  margin-bottom:11px;
  font-weight:600;
}

.page-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-end;
  margin-bottom:27px;
}

.page-heading h1 {
  font-size:28px;
  letter-spacing:.025em;
  font-weight:620;
  margin:0 0 11px;
  line-height:1.4;
}

.page-heading p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.9;
}

.date-label {
  color:var(--muted);
  font-size:11px;
  padding-bottom:6px;
  white-space:nowrap;
}

.hero {
  border:1px solid #e0e6d8;
  border-radius:var(--radius);
  background:#eaf0e2;
  display:flex;
  justify-content:space-between;
  padding:27px 30px;
  margin-bottom:27px;
  overflow:hidden;
  position:relative;
}

.hero h2 {
  font-size:22px;
  font-weight:550;
  line-height:1.5;
  margin:8px 0 10px;
}

.hero p {
  font-size:11px;
  color:#7b8874;
  line-height:1.9;
  max-width:380px;
  margin:0;
}

.hero-art {
  width:165px;
  min-height:120px;
  position:relative;
  align-self:center;
  flex-shrink:0;
  margin:0 20px;
}

.art-orbit {
  position:absolute;
  border:1px solid #c9d6bd;
  width:150px;
  height:150px;
  border-radius:50%;
  top:-14px;
  left:8px;
}

.art-orbit:after {
  content:'';
  position:absolute;
  inset:16px;
  border:1px solid #d4decb;
  border-radius:50%;
}

.art-calendar {
  position:absolute;
  left:30px;
  top:9px;
  transform:rotate(-9deg);
  width:109px;
  height:101px;
  border:1px solid #aabc9a;
  background:#f8faf2;
  border-radius:12px;
  padding:10px;
  box-shadow:6px 8px 0 #d5dfc9;
}

.art-calendar:before {
  content:'';
  display:block;
  height:19px;
  border-bottom:1px solid #c6d3b9;
  margin-bottom:10px;
}

.calendar-dots {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
}

.calendar-dots span {
  height:9px;
  width:9px;
  border-radius:3px;
  background:#d3dfc7;
}

.calendar-dots span:nth-child(6) {
  background:var(--green);
}

.art-check {
  position:absolute;
  right:7px;
  bottom:0;
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  background:var(--green);
  color:white;
  border:5px solid #eaf0e2;
  border-radius:50%;
}

.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:27px;
}

.stat {
  background:white;
  border:1px solid var(--line);
  border-radius:13px;
  padding:19px 20px;
}

.stat-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted);
  margin-bottom:12px;
}

.stat-head .icon {
  width:17px;
  height:17px;
  color:#92a18c;
}

.stat-value {
  font-size:30px;
  font-weight:500;
  letter-spacing:-1px;
}

.stat-value small {
  font-size:11px;
  color:var(--muted);
  font-weight:400;
  letter-spacing:0;
  margin-left:7px;
}

.stat-foot {
  font-size:10px;
  color:#91a18a;
  margin-top:10px;
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.panel-head {
  padding:21px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  border-bottom:1px solid var(--line);
}

.panel-title {
  font-size:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:9px;
}

.panel-title small {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
}

.panel-body {
  padding:24px;
}

.admin-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:22px;
  align-items:start;
}

.day-toolbar {
  display:flex;
  align-items:center;
  gap:7px;
}

.day-toolbar input {
  border:1px solid var(--line);
  border-radius:7px;
  padding:7px 8px;
  color:var(--ink);
  font-size:11px;
  background:white;
}

.icon-button {
  padding:8px;
  display:inline-grid;
  place-items:center;
  background:transparent;
  border-radius:6px;
  color:var(--muted);
}

.icon-button .icon {
  width:16px;
  height:16px;
}

.icon-button:hover {
  background:var(--light);
  color:var(--green);
}

.tabs {
  display:flex;
  gap:18px;
  padding:0 24px;
  border-bottom:1px solid var(--line);
}

.tab {
  padding:15px 1px;
  font-size:11px;
  color:var(--muted);
  background:none;
  border-bottom:2px solid transparent;
}

.tab.active {
  border-color:var(--green);
  color:var(--green);
  font-weight:600;
}

.tab-count {
  font-size:9px;
  background:#f0f3ec;
  border-radius:4px;
  padding:2px 5px;
  margin-left:6px;
}

.booking-row {
  padding:20px 24px;
  display:grid;
  grid-template-columns:68px 1fr auto;
  gap:13px;
  align-items:start;
  border-bottom:1px solid var(--line);
}

.booking-row:last-child {
  border-bottom:0;
}

.booking-time {
  font-size:17px;
  letter-spacing:-.4px;
  font-weight:600;
  line-height:1.5;
}

.booking-time small {
  display:block;
  color:var(--muted);
  font-size:10px;
  letter-spacing:0;
  font-weight:400;
}

.booking-title {
  font-size:13px;
  font-weight:600;
  margin-bottom:7px;
  line-height:1.5;
}

.booking-meta {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
}

.booking-note {
  font-size:11px;
  color:#9b8a6b;
  margin-top:7px;
  overflow-wrap:anywhere;
  max-width:430px;
}

.booking-actions {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:13px;
}

.status {
  display:inline-block;
  font-size:10px;
  padding:5px 8px;
  border-radius:5px;
  color:#628064;
  background:#edf4e8;
  white-space:nowrap;
}

.status.cancelled {
  background:#f5efeb;
  color:#9c887a;
}

.status.no_show {
  background:#faeeea;
  color:#aa695d;
}

.status.completed {
  background:#ecf1f5;
  color:#728596;
}

.staff-row {
  display:flex;
  gap:10px;
  align-items:center;
  margin:0 0 19px;
  font-size:12px;
}

.staff-row:last-child {
  margin:0;
}

.staff-row small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:5px;
}

.staff-row .hours {
  margin-left:auto;
  font-size:9px;
  color:var(--muted);
}

.side-stack {
  display:grid;
  gap:18px;
}

.tip-card {
  padding:22px;
  background:#f4f1e8;
  border:1px solid #ece7d9;
  border-radius:14px;
}

.tip-card .icon {
  color:#a8925b;
}

.tip-card h3 {
  font-size:12px;
  font-weight:550;
  margin:13px 0 9px;
}

.tip-card p {
  font-size:11px;
  color:#978c74;
  line-height:1.9;
  margin:0;
}

.empty {
  display:grid;
  justify-items:center;
  text-align:center;
  padding:49px 24px 53px;
  color:var(--muted);
}

.empty-icon {
  height:52px;
  width:52px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#f1f4ec;
  color:#92a786;
  margin-bottom:17px;
}

.empty h3 {
  font-size:14px;
  color:#56684e;
  font-weight:500;
  margin:0 0 9px;
}

.empty p {
  font-size:11px;
  line-height:1.9;
  margin:0 0 18px;
  max-width:300px;
}

.footer {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:#a1aa9b;
  letter-spacing:.5px;
  padding:28px 0 6px;
  gap:15px;
}

.booking-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:25px;
  align-items:start;
}

.steps {
  display:flex;
  gap:5px;
  margin-bottom:25px;
}

.step {
  display:flex;
  align-items:center;
  font-size:11px;
  color:#a2ab9b;
  gap:7px;
  flex:1;
}

.step:after {
  content:'';
  height:1px;
  flex:1;
  background:#e0e6da;
  margin:0 10px;
}

.step:last-child:after {
  display:none;
}

.step span {
  height:24px;
  width:24px;
  display:inline-grid;
  place-items:center;
  border:1px solid #dce3d5;
  border-radius:50%;
  font-size:10px;
}

.step.active {
  color:var(--green);
}

.step.active span {
  color:white;
  background:var(--green);
  border-color:var(--green);
}

.section-title {
  font-size:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 17px;
}

.section-number {
  font-size:10px;
  color:#9cab91;
  font-weight:400;
}

.service-grid {
  display:grid;
  gap:12px;
}

.service-option {
  width:100%;
  text-align:left;
  display:flex;
  justify-content:space-between;
  gap:18px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px 19px;
  background:white;
  color:var(--ink);
}

.service-option:hover,.service-option.selected {
  border-color:#779775;
  background:#f3f7ed;
}

.service-option.selected .radio {
  border:5px solid var(--green);
  background:white;
}

.service-main {
  display:flex;
  gap:12px;
}

.radio {
  width:17px;
  height:17px;
  border:1px solid #d1daca;
  border-radius:50%;
  margin-top:3px;
  flex-shrink:0;
}

.service-name {
  font-size:13px;
  font-weight:550;
  line-height:1.5;
}

.service-description {
  font-size:10px;
  color:var(--muted);
  margin-top:7px;
  line-height:1.7;
}

.service-price {
  white-space:nowrap;
  font-size:13px;
  font-weight:600;
  padding-top:1px;
}

.service-price small {
  display:block;
  font-size:10px;
  color:var(--muted);
  font-weight:400;
  margin-top:7px;
  text-align:right;
}

.section-divider {
  height:1px;
  background:var(--line);
  margin:25px 0;
}

.staff-options {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.staff-option {
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:9px;
  border:1px solid var(--line);
  background:white;
  color:var(--muted);
  font-size:12px;
}

.staff-option.selected {
  border-color:#819d78;
  color:var(--green);
  background:#f3f7ed;
}

.staff-option .avatar {
  width:27px;
  height:27px;
  font-size:10px;
}

.field {
  display:grid;
  gap:9px;
  font-size:11px;
  color:#61705b;
  margin:0;
}

.field input,.field select,.field textarea {
  border:1px solid #dfe5d9;
  padding:12px;
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  width:100%;
  min-height:43px;
  font-size:12px;
}

.field textarea {
  resize:vertical;
  min-height:76px;
}

.field input::placeholder,.field textarea::placeholder {
  color:#b0b6a9;
}

.field label {
  line-height:1.5;
}

.fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.date-row {
  display:flex;
  gap:14px;
  align-items:end;
  margin-top:20px;
}

.date-row .field {
  max-width:210px;
}

.hint {
  font-size:10px;
  line-height:1.8;
  color:var(--muted);
  margin:8px 0;
}

.slot-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-top:15px;
}

.slot {
  border:1px solid #dfe5d9;
  border-radius:7px;
  padding:12px 8px;
  color:#6a7d60;
  background:white;
  font-size:12px;
}

.slot:hover,.slot.selected {
  border-color:var(--green);
  background:var(--green);
  color:white;
}

.slot-empty {
  padding:22px 17px;
  background:#f6f7f2;
  border-radius:9px;
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
  margin-top:14px;
}

.summary-card {
  position:sticky;
  top:24px;
}

.summary-brand {
  padding:24px;
  border-bottom:1px solid var(--line);
  background:#f2f5ec;
}

.summary-brand .tiny-label {
  color:#9baf91;
}

.summary-brand h2 {
  font-weight:500;
  font-size:18px;
  margin:12px 0 6px;
}

.summary-brand p {
  font-size:10px;
  color:var(--muted);
  margin:0;
  line-height:1.8;
}

.summary-content {
  padding:23px;
}

.summary-line {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:20px;
  margin-bottom:18px;
  font-size:11px;
  line-height:1.6;
}

.summary-line>span:first-child {
  color:var(--muted);
  flex-shrink:0;
}

.summary-line strong {
  font-weight:500;
  text-align:right;
}

.summary-total {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:19px 0;
  border-top:1px dashed #dce3d6;
  margin-top:23px;
  font-size:11px;
}

.summary-total strong {
  font-size:23px;
  font-weight:500;
  letter-spacing:-.6px;
}

.summary-notice {
  font-size:10px;
  line-height:1.9;
  color:#8f9c85;
  display:flex;
  gap:7px;
  margin-top:18px;
}

.summary-notice .icon {
  width:15px;
  height:15px;
  margin-top:2px;
}

.form-error {
  color:var(--red);
  background:#fcf2ee;
  border:1px solid #f1dcd4;
  border-radius:8px;
  font-size:12px;
  line-height:1.8;
  padding:12px 15px;
  margin:15px 0;
  overflow-wrap:anywhere;
}

.form-error[hidden] {
  display:none;
}

.success-icon {
  width:55px;
  height:55px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--green);
  background:#e9f2e1;
  margin:0 auto 18px;
}

.confirmation {
  text-align:center;
  padding:12px 8px;
}

.confirmation h3 {
  font-weight:500;
  font-size:22px;
  margin:0 0 10px;
}

.confirmation p {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
}

.confirmation-details {
  text-align:left;
  background:#f5f7f1;
  padding:19px;
  border-radius:11px;
  margin:22px 0;
}

.confirmation-details .summary-line:last-child {
  margin-bottom:0;
}

.reference {
  font-size:11px;
  letter-spacing:1px;
  color:#8ca080;
}

.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  padding:13px 20px;
  background:#263f32;
  color:white;
  box-shadow:0 7px 25px #19381b22;
  font-size:12px;
  line-height:1.7;
  border-radius:9px;
  z-index:30;
  max-width:90vw;
}

.toast[hidden] {
  display:none;
}

dialog {
  border:1px solid var(--line);
  border-radius:20px;
  padding:0;
  max-width:540px;
  width:calc(100% - 34px);
  max-height:90vh;
  box-shadow:0 20px 100px #21321830;
  color:var(--ink);
}

dialog.wide-dialog {
  max-width:1020px;
}

dialog::backdrop {
  background:#20322166;
  backdrop-filter:blur(4px);
}

.modal-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 25px;
  border-bottom:1px solid var(--line);
}

.modal-head h2 {
  font-size:16px;
  font-weight:550;
  margin:0;
}

.modal-body {
  padding:25px;
}

.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:23px;
}

.modal-body .booking-layout {
  grid-template-columns:minmax(0,1fr) 260px;
}

.modal-body .summary-card {
  position:static;
}

.inline-info {
  background:#f2f5ec;
  font-size:11px;
  line-height:1.9;
  padding:14px 17px;
  border-radius:9px;
  color:#819176;
  margin:0 0 20px;
}

.details-phone {
  color:#53664a;
}

.connection-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#b69761;
  display:inline-block;
  margin-right:6px;
}

.mobile-brand {
  display:none;
}

.error-page {
  margin:40px;
  padding:30px;
  border:1px solid #edd4ca;
  border-radius:15px;
  background:#fff7f2;
}

.error-page h1 {
  font-size:20px;
}

.error-page p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
}

.no-margin {
  margin:0;
}

.meta-divider {
  margin:0 7px;
  color:#c5cdbf;
}

@media(min-width:1500px) {
  .main {
    padding-top:45px;
  }
  .hero {
    padding:32px 35px;
  }
  .admin-grid {
    grid-template-columns:minmax(0,1fr) 310px;
  }
}

@media(max-width:1180px) {
  .app-layout {
    grid-template-columns:200px 1fr;
  }
  .sidebar {
    padding:28px 15px;
  }
  .main {
    padding:30px 27px 20px;
  }
  .topbar {
    padding:0 27px;
  }
  .admin-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .side-stack {
    grid-template-columns:1fr 1fr;
  }
  .booking-layout {
    grid-template-columns:minmax(0,1fr) 245px;
    gap:18px;
  }
  .summary-content {
    padding:18px;
  }
  .summary-brand {
    padding:20px;
  }
  .stats {
    gap:12px;
  }
  .stat {
    padding:17px;
  }
  .brand {
    font-size:19px;
  }
  .brand-sub {
    padding-left:49px;
    font-size:8px;
  }
  .page-heading h1 {
    font-size:26px;
  }
  .booking-row {
    padding:18px;
  }
  .panel-head {
    padding:18px;
  }
  .top-actions .button {
    font-size:11px;
  }
}

@media(max-width:900px) {
  .app-layout {
    grid-template-columns:1fr;
  }
  .sidebar {
    position:static;
    height:auto;
    padding:18px 24px;
    display:block;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .brand {
    font-size:20px;
  }
  .brand-mark {
    width:32px;
    height:32px;
    border-radius:9px;
  }
  .brand-sub,.nav-label,.sidebar-note,.shop-chip {
    display:none;
  }
  .nav {
    display:flex;
    gap:8px;
    margin-top:18px;
  }
  .nav button {
    padding:10px 13px;
    font-size:12px;
    flex:1;
    justify-content:center;
  }
  .nav button .icon {
    width:17px;
    height:17px;
  }
  .topbar {
    height:64px;
  }
  .breadcrumbs {
    font-size:10px;
  }
  .demo-badge {
    font-size:9px;
  }
  .top-actions {
    gap:10px;
  }
  .main {
    padding:27px 25px 18px;
  }
  .booking-layout {
    grid-template-columns:minmax(0,1fr) 270px;
  }
  .summary-card {
    top:15px;
  }
  .page-heading h1 {
    font-size:25px;
  }
  .date-label {
    display:none;
  }
  .hero-art {
    margin-right:0;
  }
  .footer {
    font-size:8px;
  }
}

@media(max-width:650px) {
  .sidebar {
    padding:17px 18px 12px;
  }
  .nav {
    gap:3px;
    margin-top:14px;
  }
  .nav button {
    font-size:11px;
    padding:10px 8px;
    gap:6px;
  }
  .topbar {
    padding:0 19px;
    height:59px;
  }
  .breadcrumbs {
    display:none;
  }
  .top-actions {
    width:100%;
    justify-content:space-between;
  }
  .main {
    padding:26px 18px 16px;
  }
  .page-heading {
    margin-bottom:22px;
    align-items:start;
  }
  .page-heading h1 {
    font-size:24px;
    letter-spacing:0;
  }
  .page-heading p {
    font-size:11px;
    max-width:280px;
  }
  .page-heading>.button {
    padding:10px 12px;
    font-size:10px;
    flex-shrink:0;
  }
  .hero {
    padding:22px;
    margin-bottom:20px;
  }
  .hero h2 {
    font-size:19px;
    max-width:200px;
  }
  .hero p {
    max-width:205px;
    font-size:10px;
  }
  .hero-art {
    width:88px;
    transform:scale(.65);
    transform-origin:right center;
    margin-left:-20px;
    margin-right:18px;
  }
  .stats {
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-bottom:20px;
  }
  .stat {
    padding:16px;
  }
  .stat-value {
    font-size:26px;
  }
  .stat-foot {
    font-size:9px;
  }
  .panel-head {
    padding:18px 16px;
    flex-wrap:wrap;
  }
  .panel-title {
    font-size:13px;
  }
  .panel-body {
    padding:20px 16px;
  }
  .admin-grid {
    gap:20px;
  }
  .side-stack {
    grid-template-columns:1fr;
  }
  .side-stack .tip-card {
    display:none;
  }
  .booking-row {
    grid-template-columns:56px 1fr auto;
    gap:10px;
    padding:18px 15px;
  }
  .booking-time {
    font-size:15px;
  }
  .booking-title {
    font-size:12px;
  }
  .booking-meta {
    font-size:10px;
  }
  .status {
    font-size:9px;
    padding:4px 6px;
  }
  .booking-actions {
    gap:5px;
  }
  .booking-actions .button {
    font-size:10px;
    padding:6px 9px;
  }
  .tabs {
    padding:0 16px;
    gap:17px;
  }
  .tab {
    font-size:10px;
  }
  .booking-layout,.modal-body .booking-layout {
    grid-template-columns:1fr;
  }
  .summary-card {
    position:static;
  }
  .summary-brand {
    display:none;
  }
  .summary-content {
    padding:22px;
  }
  .summary-line {
    margin-bottom:13px;
  }
  .service-option {
    padding:16px 13px;
    gap:10px;
  }
  .service-name {
    font-size:12px;
  }
  .service-price {
    font-size:12px;
  }
  .service-description {
    font-size:10px;
  }
  .slot-grid {
    grid-template-columns:repeat(4,1fr);
    gap:7px;
  }
  .slot {
    padding:12px 6px;
    font-size:11px;
  }
  .fields {
    gap:11px;
  }
  .footer {
    align-items:start;
    line-height:1.8;
    gap:25px;
  }
  .steps {
    margin-bottom:20px;
  }
  .step {
    font-size:10px;
  }
  .step:after {
    margin:0 4px;
  }
  .modal-head {
    padding:19px;
  }
  .modal-body {
    padding:20px 17px;
  }
  .modal-actions .button {
    flex:1;
  }
  .eyebrow {
    font-size:9px;
  }
  .day-toolbar {
    width:100%;
    justify-content:space-between;
  }
  .day-toolbar input {
    flex:1;
    text-align:center;
  }
  .empty {
    padding:38px 20px;
  }
  .staff-row .hours {
    font-size:10px;
  }
}

@media(prefers-reduced-motion:no-preference) {
  .panel,.hero,.stat {
    animation:enter .35s ease both;
  }
  .service-option,.slot,.button,.nav button {
    transition:background .15s,border-color .15s;
  }
  dialog[open] {
    animation:enter .18s ease;
  }
  @keyframes enter {
    from {
      opacity:.5;
      transform:translateY(5px);
    }
    to {
      opacity:1;
      transform:translateY(0);
    }
  }
}

@media(max-width:650px) {
  .field input,.field select,.field textarea {
    font-size:16px;
  }
  .field label {
    font-size:12px;
  }
  .service-description,.hint {
    font-size:11px;
  }
}
