.workspace-page { min-height: 100vh; background: #f4eee5; }
.workspace-header { position: sticky; top: 10px; z-index: 20; width: min(1380px, calc(100% - 28px)); min-height: 70px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; margin: 10px auto 0; padding: 10px 14px 10px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,249,240,.94); backdrop-filter: blur(16px); }
.workspace-header nav { justify-self: center; display: flex; gap: 5px; padding: 4px; border-radius: 11px; background: #ece5dc; }
.nav-tab { min-height: 36px; padding: 0 17px; border: 0; border-radius: 8px; color: #766f78; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.nav-tab.active { color: white; background: var(--violet); }
.workspace-state { display: flex; align-items: center; gap: 8px; }
.workspace-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(246,200,84,.2); }
.workspace-state strong, .workspace-state small { display: block; }
.workspace-state strong { font-size: 10px; }
.workspace-state small { margin-top: 2px; color: #847d86; font-size: 8px; }
.customer-link { min-height: 42px; display: grid; place-items: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; font-weight: 800; }
.workspace-presenter { position: sticky; top: 90px; z-index: 19; width: min(1320px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 12px auto 0; padding: 12px 14px; border: 1px solid #d1bd79; border-radius: 14px; color: #2c2833; background: #fff3bf; box-shadow: 0 12px 35px rgba(44,40,51,.12); }
.workspace-presenter[hidden] { display: none; }
.workspace-presenter small, .workspace-presenter strong, .workspace-presenter span { display: block; }
.workspace-presenter small { color: #8a6017; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.workspace-presenter strong { margin: 2px 0; font-size: 12px; }
.workspace-presenter span { color: #706348; font-size: 9px; }
.workspace-presenter > div:last-child { display: flex; gap: 7px; }
.workspace-presenter button, .workspace-presenter a { min-height: 34px; display: grid; place-items: center; padding: 0 11px; border: 1px solid rgba(44,40,51,.2); border-radius: 9px; color: var(--ink); background: rgba(255,255,255,.72); cursor: pointer; font-size: 9px; font-weight: 850; }
.workspace-presenter button { color: white; border-color: var(--violet); background: var(--violet); }
.workspace-shell { width: min(1320px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 80px; }
.workspace-notice { position: sticky; top: 92px; z-index: 18; width: fit-content; max-width: calc(100% - 20px); display: flex; align-items: center; gap: 18px; margin: 12px 0 -54px auto; padding: 12px 14px; border: 1px solid #a8cfbf; border-radius: 11px; color: #245645; background: #edf8f3; box-shadow: 0 10px 30px rgba(38,83,67,.13); font-size: 11px; font-weight: 780; }
.workspace-notice[hidden] { display: none; }
.workspace-notice button { border: 0; padding: 0; color: var(--green); background: transparent; cursor: pointer; font-weight: 900; text-decoration: underline; }
.workspace-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; padding: 64px 24px 38px; }
.workspace-intro h1 { max-width: 850px; margin: 18px 0 0; font-size: clamp(48px, 5.8vw, 78px); }
.workspace-truth { max-width: 510px; padding: 19px 20px; border-left: 4px solid var(--yellow); border-radius: 6px 13px 13px 6px; background: white; }
.workspace-truth strong { font-size: 13px; }
.workspace-truth p { margin: 6px 0 0; color: #69636d; font-size: 12px; line-height: 1.55; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.metrics article { min-height: 118px; padding: 23px; }
.metrics article + article { border-left: 1px solid var(--line); }
.metrics small, .metrics strong, .metrics span { display: block; }
.metrics small { color: var(--coral); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.metrics strong { margin: 9px 0 2px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.metrics span { color: #817a83; font-size: 10px; }
.view-panel.active { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
.calendar-card, .team-card, .revenue-card { border: 1px solid var(--line); border-radius: 22px; background: white; }
.calendar-card, .team-card { overflow: hidden; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 28px 30px; border-bottom: 1px solid var(--line); }
.section-head small, .dialog-head small { color: var(--coral); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.section-head h2, .dialog-head h2 { margin: 5px 0; font-size: 28px; }
.section-head p { margin: 0; color: #746e77; font-size: 11px; }
.section-head .button, .section-head .secondary-button { flex: 0 0 auto; }
.secondary-button { min-height: 44px; border: 1px solid var(--line); border-radius: 11px; padding: 0 16px; color: var(--ink); background: white; cursor: pointer; font-weight: 800; }
.calendar-toolbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 30px; background: #fbf7f1; border-bottom: 1px solid var(--line); }
.calendar-toolbar label { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 850; }
.calendar-toolbar input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 11px; }
.legend { display: flex; gap: 16px; color: #77717a; font-size: 9px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend i.ai { background: var(--violet); }
.legend i.staff { background: var(--coral); }
.booking-table, .team-table { width: 100%; border-collapse: collapse; }
.booking-table th, .team-table th { padding: 13px 14px; color: #88818a; background: #f7f2eb; text-align: left; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.booking-table th:first-child, .booking-table td:first-child, .team-table th:first-child, .team-table td:first-child { padding-left: 30px; }
.booking-table td, .team-table td { padding: 15px 14px; border-top: 1px solid var(--line); font-size: 11px; vertical-align: middle; }
.booking-table tbody tr:first-child td, .team-table tbody tr:first-child td { border-top: 0; }
.booking-table td strong, .booking-table td small, .team-table td strong, .team-table td small { display: block; }
.booking-table td small, .team-table td small { margin-top: 3px; color: #817a83; font-size: 8px; }
.source-badge, .status-badge, .staff-status { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border-radius: 7px; font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.source-badge.ai { color: var(--violet); background: #eee9fa; }
.source-badge.staff { color: #a84d3d; background: #ffe9e4; }
.status-badge.confirmed, .staff-status.in { color: var(--green); background: #e3f1eb; }
.status-badge.cancelled, .staff-status.off { color: #77717a; background: #eeeae5; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.row-action { min-height: 32px; border: 0; padding: 0 4px; color: var(--violet); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; text-decoration: underline; }
.row-action.danger { color: #9d4b3e; }
.empty-state { padding: 74px 28px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state strong { font-size: 18px; }
.empty-state p { max-width: 420px; margin: 8px auto 17px; color: #77717a; font-size: 11px; line-height: 1.5; }
.empty-state a { color: var(--coral); font-size: 11px; font-weight: 850; }
.revenue-card { padding: 28px 24px; color: white; background: var(--violet); }
.revenue-card > small { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.revenue-card h2 { margin: 10px 0 25px; font-size: 32px; }
.revenue-card ol { list-style: none; margin: 0; padding: 0; }
.revenue-card li { display: grid; grid-template-columns: 42px 1fr; gap: 11px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.revenue-card li > span { color: #a9a0c2; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.revenue-card li.live > span { color: var(--yellow); }
.revenue-card li strong, .revenue-card li small { display: block; }
.revenue-card li strong { font-size: 12px; }
.revenue-card li small { margin-top: 5px; color: #c9c2dc; font-size: 9px; line-height: 1.45; }
.team-card { grid-column: 1 / -1; }
.channels-panel.active { grid-template-columns: minmax(0, 1fr) 360px; }
.channels-card, .browserclaw-card { border: 1px solid var(--line); border-radius: 22px; background: white; }
.channels-card { overflow: hidden; }
.channel-summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 30px; border-bottom: 1px solid var(--line); color: var(--green); background: #f0f7f3; font-size: 11px; font-weight: 850; }
.channel-summary small { color: #69736f; font-size: 9px; font-weight: 600; }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; }
.channel-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; min-height: 98px; margin: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbf8f3; }
.channel-item.connected { border-color: #a8cfbf; background: #f4faf7; }
.channel-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.channel-icon.whatsapp { background: #258b66; }
.channel-icon.instagram { background: #b14b7b; }
.channel-icon.messenger { background: #4278c7; }
.channel-icon.telegram { background: #3689b5; }
.channel-icon.tiktok { background: #27232e; }
.channel-item h3 { margin: 0; font-size: 13px; }
.channel-item p { margin: 4px 0 0; color: #79727b; font-size: 9px; line-height: 1.45; }
.channel-status { padding: 6px 8px; border-radius: 7px; color: #8b5a32; background: #f7ead8; font-size: 7px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.channel-item.connected .channel-status { color: var(--green); background: #dfeee7; }
.browserclaw-card { padding: 28px 24px; color: white; background: #25202f; }
.browserclaw-card > small { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.browserclaw-card > h2 { margin: 10px 0 12px; font-size: 31px; line-height: 1.05; }
.browserclaw-card > p { margin: 0 0 22px; color: #cbc4d5; font-size: 10px; line-height: 1.6; }
.browserclaw-card ol { list-style: none; margin: 0; padding: 0; }
.browserclaw-card li { display: grid; grid-template-columns: 26px 1fr; gap: 11px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); }
.browserclaw-card li > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #25202f; background: var(--yellow); font-size: 9px; font-weight: 900; }
.browserclaw-card li strong, .browserclaw-card li small { display: block; }
.browserclaw-card li strong { font-size: 11px; }
.browserclaw-card li small { margin-top: 4px; color: #bcb4c8; font-size: 9px; line-height: 1.4; }
.browserclaw-note { margin-top: 18px; padding: 14px; border-radius: 11px; color: #2c2833; background: #f6ecdc; }
.browserclaw-note strong { font-size: 10px; }
.browserclaw-note p { margin: 5px 0 0; color: #68616c; font-size: 9px; line-height: 1.5; }
.team-action { min-width: 84px; min-height: 34px; border: 1px solid var(--line); border-radius: 9px; color: white; background: var(--green); cursor: pointer; font-size: 9px; font-weight: 850; }
.team-action.checkout { color: var(--ink); background: white; }
.attendance-log { padding: 26px 30px 32px; border-top: 1px solid var(--line); background: #fbf7f1; }
.attendance-log h3 { margin: 0 0 14px; font-size: 16px; }
.attendance-log [data-attendance-log] { display: flex; flex-wrap: wrap; gap: 8px; }
.attendance-event { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 9px; }
.attendance-event strong { margin-right: 5px; }
.workspace-dialog { width: min(680px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(23,19,35,.3); }
.workspace-dialog.compact { width: min(460px, calc(100% - 28px)); }
.workspace-dialog::backdrop { background: rgba(23,19,35,.5); backdrop-filter: blur(4px); }
.workspace-dialog form { padding: 27px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 20px; }
.dialog-head button { border: 0; color: #77717a; background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.workspace-dialog label { display: block; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.workspace-dialog label span { display: block; margin-bottom: 5px; color: #837c85; font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.workspace-dialog input, .workspace-dialog select { width: 100%; min-height: 28px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; margin-top: 12px; }
.dialog-status { margin: 10px 0 0; color: var(--coral); font-size: 10px; font-weight: 750; }
@media (max-width: 980px) {
  .workspace-header { grid-template-columns: auto 1fr auto; }
  .workspace-state { display: none; }
  .workspace-header nav { justify-self: end; }
  .workspace-intro { grid-template-columns: 1fr; gap: 22px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics article:nth-child(3) { border-left: 0; }
  .metrics article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .view-panel.active { grid-template-columns: 1fr; }
  .channels-panel.active { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .workspace-page { overflow-x: hidden; }
  .workspace-header { width: calc(100% - 20px); grid-template-columns: auto 1fr; gap: 10px; }
  .workspace-header nav { grid-row: 2; grid-column: 1 / -1; width: 100%; }
  .workspace-header nav button { flex: 1; }
  .customer-link { justify-self: end; }
  .workspace-presenter { position: static; width: calc(100% - 20px); align-items: stretch; flex-direction: column; gap: 9px; }
  .workspace-presenter > div:last-child > * { flex: 1; }
  .workspace-shell { width: calc(100% - 20px); }
  .workspace-intro { padding: 42px 5px 28px; }
  .workspace-intro h1 { font-size: 45px; }
  .metrics article { min-height: 102px; padding: 18px; }
  .metrics strong { font-size: 23px; }
  .section-head { align-items: stretch; flex-direction: column; padding: 23px 20px; }
  .section-head .button, .section-head .secondary-button { width: 100%; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; padding: 13px 20px; }
  .legend { flex-wrap: wrap; }
  .booking-table thead, .team-table thead { display: none; }
  .booking-table, .booking-table tbody, .team-table, .team-table tbody { display: block; }
  .booking-table tr, .team-table tr { display: block; margin: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; }
  .booking-table td, .team-table td, .booking-table td:first-child, .team-table td:first-child { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 10px 13px; border-top: 1px solid var(--line); text-align: right; }
  .booking-table td:first-child, .team-table td:first-child { border-top: 0; }
  .booking-table td::before, .team-table td::before { content: attr(data-label); color: #89818a; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; text-align: left; }
  .booking-table td::before, .team-table td::before { font-size: 10px; }
  .booking-table td small, .team-table td small { font-size: 10px; }
  .booking-table td > *, .team-table td > * { margin-left: auto; }
  .row-actions { justify-content: flex-end; gap: 4px; }
  .row-action { min-width: 44px; min-height: 44px; padding: 0 7px; font-size: 12px; }
  .team-action { min-height: 38px; }
  .attendance-log { padding: 22px 20px; }
  .revenue-card h2 { font-size: 30px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .channel-summary { align-items: flex-start; flex-direction: column; padding: 14px 20px; }
  .channel-grid { grid-template-columns: 1fr; padding: 6px; }
  .channel-item { grid-template-columns: 42px 1fr; }
  .channel-status { grid-column: 2; width: fit-content; }
  .workspace-dialog form { padding: 22px 18px; }
}
@media (max-width: 460px) {
  .workspace-intro { gap: 15px; padding-top: 30px; }
  .workspace-intro h1 { font-size: 41px; }
  .workspace-truth { padding: 14px 15px; }
  .workspace-notice { top: 132px; margin-bottom: -45px; }
}

.day-picker { display: flex; align-items: center; gap: 6px; }
.day-picker > button { min-width: 36px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; cursor: pointer; font-size: 15px; font-weight: 800; }
.day-picker .today-button { font-size: 11px; }
.day-picker .today-button[disabled] { opacity: .45; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Local operator training, customer history and consent-aware email drafts. */
.growth-card { grid-column: 1 / -1; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; }
.growth-card > .section-head > strong { color: var(--green); white-space: nowrap; font-size: 12px; }
.growth-form { padding: 28px 30px; }
.growth-form h3 { margin: 28px 0 5px; font-size: 18px; }
.growth-form h3:first-child { margin-top: 0; }
.growth-form p { margin: 0 0 13px; color: #746e77; font-size: 11px; line-height: 1.5; }
.growth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.growth-grid label { display: block; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbf8f3; }
.growth-grid label span { display: block; margin-bottom: 5px; color: #837c85; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.growth-grid input, .growth-grid select, .growth-grid textarea, .faq-row input, .growth-row input { width: 100%; min-width: 0; border: 1px solid #d8d2cb; border-radius: 8px; padding: 10px; color: var(--ink); background: white; font: inherit; font-size: 12px; }
.growth-grid label > input, .growth-grid label > select, .growth-grid label > textarea { border: 0; padding: 2px 0; background: transparent; }
.weekly-hours { display: grid; gap: 7px; max-width: 620px; }
.weekly-day { display: grid; grid-template-columns: minmax(125px, 1fr) 125px auto 125px; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbf8f3; font-size: 11px; }
.weekly-day input[type="time"], .growth-closures textarea { min-width: 0; width: 100%; padding: 8px; border: 1px solid #d8d2cb; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.weekly-day input:disabled { opacity: .45; }
.weekly-toggle { display: flex; align-items: center; gap: 9px; font-weight: 750; }
.growth-closures { display: block; max-width: 620px; margin-top: 17px; font-size: 11px; font-weight: 750; }
.growth-closures span { display: block; margin-bottom: 7px; }
.growth-wide { grid-column: 1 / -1; }
.growth-row { display: grid; grid-template-columns: 1.2fr 1fr 90px auto; align-items: center; gap: 8px; margin: 8px 0; }
.growth-row.faq-row { grid-template-columns: 1fr 1.4fr 1.4fr auto; }
.row-remove { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: #9d4b3e; background: white; cursor: pointer; font-size: 10px; font-weight: 800; }
.offer-row { margin: 10px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf3; }
.offer-row > .row-remove { margin-top: 9px; }
.growth-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 25px; }
.growth-actions span { color: var(--green); font-size: 11px; }
.growth-list { padding: 15px 30px; }
.customer-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.customer-search { display: grid; gap: 6px; padding: 15px 30px 0; font-size: 12px; }
.customer-search input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.growth-duplicates { margin: 15px 30px 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbf8f1; }
.growth-duplicates h3 { margin: 0 0 4px; }
.growth-duplicates .growth-list { padding: 8px 0 0; }
.duplicate-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.duplicate-row:last-child { border-bottom: 0; }
.duplicate-row p { margin: 0; font-size: 12px; }
.customer-card:last-child { border-bottom: 0; }
.customer-card strong { font-size: 14px; }
.customer-card p { margin: 5px 0; font-size: 11px; }
.customer-card small { color: #746e77; font-size: 10px; }
.interaction-item { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.workspace-dialog textarea { width: 100%; min-height: 80px; border: 0; resize: vertical; color: var(--ink); background: transparent; font: inherit; font-size: 12px; }
.workspace-dialog .consent-label { display: flex; align-items: center; gap: 10px; }
.workspace-dialog .consent-label input { width: 18px; height: 18px; min-height: 18px; flex: 0 0 auto; }
.workspace-dialog .consent-label span { margin: 0; line-height: 1.4; }
@media (max-width: 680px) {
  .workspace-header nav { flex-wrap: wrap; }
  .workspace-header nav button { flex: 1 1 28%; }
  .growth-form { padding: 22px 18px; }
  .growth-list { padding: 12px 18px; }
  .growth-grid { grid-template-columns: 1fr; }
  .weekly-day { grid-template-columns: minmax(105px, 1fr) minmax(78px, 1fr) auto minmax(78px, 1fr); gap: 5px; padding: 8px; }
  .growth-wide { grid-column: 1; }
  .growth-row, .growth-row.faq-row { grid-template-columns: 1fr 1fr; }
  .growth-row input:first-child { grid-column: 1 / -1; }
  .growth-row.faq-row input { grid-column: 1 / -1; }
  .customer-card, .duplicate-row { align-items: flex-start; flex-direction: column; }
  .customer-search { padding: 12px 18px 0; }
  .growth-duplicates { margin: 12px 18px 0; }
}

.workspace-backup { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem; margin-bottom: 1.5rem; border: 1px solid #deded5; border-radius: 12px; }
.workspace-backup p { max-width: 650px; margin: .4rem 0 0; font-size: .85rem; }
[data-restore-dialog] { max-width: min(520px, calc(100vw - 32px)); padding: 24px; border: 1px solid #deded5; border-radius: 16px; }
@media (max-width: 700px) { .workspace-backup { flex-direction: column; align-items: stretch; } }

.status-badge.completed { color: var(--green); background: #e3f1eb; }
.status-badge.no_show { color: #8a4d16; background: #fff0db; }

.booking-review { margin: 0 0 24px; padding: 24px; border: 1px solid #e5c993; border-radius: 18px; background: #fffaf0; }
.booking-review[hidden] { display: none; }
.booking-review h2 { margin: 6px 0; font-size: 22px; }
.booking-review p { margin: 6px 0 0; color: #6c6251; line-height: 1.5; }
.booking-review small { font-weight: 700; letter-spacing: .1em; color: #806128; }
.booking-review ul { list-style: none; padding: 0; margin: 16px 0 0; max-height: 340px; overflow-y: auto; }
.booking-review li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #eadbc0; }
.booking-review li div { min-width: 0; overflow-wrap: anywhere; }
.booking-review li button { flex-shrink: 0; }
.guest-notices { border-color: #b9d4c4; background: #f4faf6; }
.guest-notices small { color: #2f6b4a; }
.guest-notices li { border-top-color: #cfe3d6; align-items: flex-start; }
.notice-draft { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #cfe3d6; color: #26382e; }
.notice-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
@media (max-width: 600px) { .notice-actions { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 600px) { .booking-review { padding: 18px; } .booking-review li { align-items: flex-start; flex-direction: column; gap: 10px; } }

.booking-history { border-top: 1px solid var(--line, #ddd); margin-top: 20px; padding-top: 16px; }
.booking-history p, .booking-history small { color: var(--muted, #666); font-size: 12px; }
.booking-history ol { padding-left: 20px; max-height: 260px; overflow-y: auto; }
.booking-history li { overflow-wrap: anywhere; margin-bottom: 8px; font-size: 13px; }
.booking-history small { display: block; margin: 4px 0; }
.booking-history ul { padding-left: 16px; }

.shift-card { margin-bottom: 24px; }
.shift-date { display: grid; gap: 6px; font-size: 12px; }
.shift-date input { max-width: 100%; min-height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.shift-note { padding: 0 30px 20px; color: #817a83; font-size: 12px; }
@media (max-width: 600px) { .shift-card .section-head { flex-wrap: wrap; } .shift-date { width: 100%; } }

.shift-tools { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 30px 24px; }
