/* Shared visual system for CRM and the original bar workflows. */
:root {
  --page:#f3f5f8;
  --frame:#f3f5f8;
  --card:#fff;
  --soft:#f6f7fa;
  --ink:#202632;
  --ink-2:#485264;
  --muted:#87909e;
  --line:#e9edf2;
  --line-strong:#d7dde6;
  --coral:#e9704e;
  --coral-ink:#cb5939;
  --coral-soft:#fff0e9;
  --coral-glow:rgba(233,112,78,.12);
  --r-xl:15px;
  --r-lg:13px;
  --r-md:10px;
  --r-sm:7px;
  --shadow:0 2px 5px rgba(24,35,54,.025);
  --text:"Segoe UI Variable","Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif;
  --display:var(--text);
  --sidebar:#191f2b;
  --sidebar-text:#a9b1c0
}
body {
  background:var(--page);
  font-size:14px;
  line-height:1.5
}
h1 {
  font-size:27px;
  letter-spacing:-.65px;
  font-weight:650
}
h2 {
  font-size:16px;
  font-weight:650
}
h3 {
  font-size:14px
}
button,.btn {
  font-family:var(--text);
  border-radius:8px;
  font-weight:600
}
input,textarea,select {
  font-family:var(--text);
  border-radius:8px;
  min-height:40px
}
input:focus,textarea:focus,select:focus {
  outline:2px solid var(--coral-glow);
  border-color:var(--coral)
}
button:focus-visible,a:focus-visible {
  outline:3px solid #8baaf0;
  outline-offset:3px
}
button:disabled {
  cursor:not-allowed
}
svg {
  flex-shrink:0;
  vertical-align:middle
}
.platform-shell.shell {
  max-width:none;
  margin:0;
  border-radius:0;
  min-height:100vh;
  padding:0;
  background:var(--page);
  box-shadow:none;
  display:flex
}
.workspace-stage {
  flex:1;
  min-width:0;
  margin-left:224px
}
.platform-sidebar {
  width:224px;
  position:fixed;
  inset:0 auto 0 0;
  background:var(--sidebar);
  z-index:30;
  color:var(--sidebar-text);
  display:flex;
  flex-direction:column
}
.platform-brand {
  display:flex;
  align-items:center;
  gap:11px;
  padding:25px 23px 23px;
  color:#fff;
  text-decoration:none!important
}
.platform-brand>span:last-child {
  display:flex;
  flex-direction:column;
  gap:2px
}
.platform-brand b {
  font-size:16px;
  letter-spacing:1.7px;
  font-weight:750
}
.platform-brand small {
  font-size:10.5px;
  color:#858e9f;
  letter-spacing:.35px
}
.platform-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  border-radius:12px;
  width:41px;
  height:41px;
  background:#e9704e;
  color:white;
  font-size:16px;
  font-weight:800;
  letter-spacing:-1px
}
.platform-mark>span {
  position:absolute;
  right:-3px;
  bottom:-2px;
  border:3px solid var(--sidebar);
  width:12px;
  height:12px;
  background:#ffd4bb;
  border-radius:50%
}
.platform-nav {
  overflow-y:auto;
  flex:1;
  padding:0 12px 18px;
  scrollbar-width:thin;
  scrollbar-color:#414957 transparent
}
.nav-group-label {
  padding:19px 15px 7px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:1.6px;
  color:#647084;
  font-weight:700
}
.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--sidebar-text);
  padding:10px 14px;
  margin:3px 0;
  border-radius:8px;
  text-decoration:none!important;
  position:relative;
  font-size:12.5px;
  font-weight:500;
  line-height:1.4;
  min-height:40px
}
.nav-item svg {
  opacity:.85;
  width:18px;
  height:18px
}
.nav-item:hover {
  color:#fff;
  background:#252d3d
}
.nav-item.is-active {
  color:#fff;
  background:#303647
}
.nav-item.is-active:before {
  content:"";
  width:3px;
  position:absolute;
  inset:11px auto 11px 0;
  border-radius:3px;
  background:var(--coral)
}
.nav-item.is-active svg {
  color:#f49372;
  opacity:1
}
.nav-count {
  margin-left:auto;
  border-radius:5px;
  background:#ef7552;
  color:#fff;
  padding:1px 5px;
  font-size:10px
}
.sidebar-foot {
  border-top:1px solid #2b3240;
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:18px 23px;
  font-size:11px;
  line-height:1.6;
  flex-shrink:0
}
.sidebar-foot small {
  font-size:9px;
  color:#68758a
}
.server-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#4eb38b;
  border-radius:50%;
  flex-shrink:0;
  margin-top:6px
}
.dot-muted {
  background:#a8b0bd
}
.workspace-header {
  height:76px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  padding:0 28px;
  gap:20px;
  position:sticky;
  top:0;
  z-index:20
}
.workspace-location {
  font-size:11px;
  color:var(--muted);
  white-space:nowrap
}
.workspace-location span {
  padding:0 9px;
  color:#c0c6d1
}
.workspace-location b {
  font-weight:500;
  color:#657080
}
.global-search {
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid var(--line);
  background:#f8f9fb;
  max-width:320px;
  flex:1;
  min-width:160px;
  border-radius:8px;
  padding:0 11px;
  margin-left:auto;
  color:#929aa8
}
.global-search input {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  min-width:0;
  width:100%;
  font-size:11px;
  padding:9px 0;
  min-height:36px
}
.global-search kbd {
  font-size:11px;
  border:1px solid #e1e5ed;
  border-radius:3px;
  background:white;
  color:#a1a8b5;
  line-height:16px;
  padding:0 4px
}
.header-right {
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto
}
.club-label {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#596475;
  max-width:195px
}
.club-label>span:last-child {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.club-label .server-dot {
  margin:0
}
.workspace-user {
  display:flex;
  align-items:center;
  gap:9px;
  padding-left:17px;
  border-left:1px solid var(--line)
}
.workspace-user>span:last-child {
  display:flex;
  flex-direction:column;
  line-height:1.5;
  max-width:150px
}
.workspace-user b {
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.workspace-user small {
  font-size:10px;
  color:#9199a5
}
.user-avatar {
  width:33px;
  height:33px;
  background:#eff2f8;
  color:#74859c;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:600
}
.header-logout {
  color:#99a2af!important;
  display:grid;
  place-items:center;
  width:29px;
  height:32px
}
.header-logout:hover {
  color:var(--coral)!important
}
.menu-toggle {
  display:none
}
.workspace-stage main.page {
  padding:25px 28px 40px
}
.demo-banner {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #eadfcf;
  background:#fffaf2;
  color:#8f7958;
  padding:8px 12px;
  border-radius:6px;
  font-size:10px;
  margin-bottom:24px
}
.demo-banner>span:first-child {
  background:#c3a46f;
  width:5px;
  height:5px;
  border-radius:50%
}
.demo-divider {
  opacity:.4
}
.workspace-page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 24px
}
.workspace-page-heading h1 {
  margin:3px 0 6px
}
.eyebrow {
  font-size:10px;
  color:#949eac;
  letter-spacing:1.2px;
  text-transform:uppercase;
  font-weight:600
}
.page-description {
  font-size:12px;
  color:#87909e;
  margin:0
}
.period-switch {
  display:flex;
  padding:4px;
  gap:2px;
  border:1px solid #e3e7ee;
  border-radius:8px;
  background:#fff
}
.period-switch a {
  padding:6px 13px;
  border-radius:5px;
  color:#7b8493;
  font-size:10px;
  white-space:nowrap;
  text-decoration:none
}
.period-switch a:hover {
  background:var(--soft)
}
.period-switch a.selected {
  background:#293142;
  color:#fff
}
.card {
  border:1px solid var(--line);
  padding:21px;
  margin-bottom:18px
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  min-width:0;
  overflow:hidden;
  margin-bottom:0
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:21px 22px 16px
}
.panel-heading h2 {
  margin:0;
  font-size:14px
}
.panel-heading p {
  font-size:10px;
  color:#939baa;
  margin:4px 0 0
}
.text-link {
  font-size:10px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#8690a0;
  white-space:nowrap
}
.text-link:hover {
  color:var(--coral)
}
.state-badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:5px;
  padding:4px 7px;
  font-size:9px;
  font-weight:500;
  white-space:nowrap
}
.state-badge.positive {
  background:#eaf7f0;
  color:#4b9678
}
.state-badge.neutral {
  background:#f0f2f6;
  color:#9099a7
}
.dashboard-kpis {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px
}
.metric-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px;
  min-height:145px;
  display:flex;
  flex-direction:column;
  gap:13px;
  box-shadow:var(--shadow)
}
.metric-label {
  display:flex;
  align-items:center;
  gap:8px;
  color:#929aa8;
  font-size:11px
}
.metric-label svg {
  width:16px;
  height:16px;
  color:#929fb3
}
.metric-value {
  font-size:30px;
  font-weight:650;
  letter-spacing:-1.2px;
  line-height:1.1;
  font-variant-numeric:tabular-nums
}
.metric-foot {
  margin-top:auto;
  color:#a0a8b4;
  font-size:9px;
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap
}
.metric-foot b {
  font-weight:500;
  color:#757f90
}
.metric-foot a {
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-left:auto;
  color:#e07858
}
.metric-main {
  background:#252d3b;
  border-color:#252d3b;
  color:#fff;
  position:relative;
  overflow:hidden
}
.metric-main .metric-label,.metric-main .metric-foot {
  color:#a4adbc
}
.metric-main .metric-label svg {
  color:#f59473
}
.metric-main:after {
  content:"";
  position:absolute;
  width:95px;
  height:95px;
  border:20px solid rgba(255,255,255,.025);
  border-radius:50%;
  right:-35px;
  top:45px;
  pointer-events:none
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);
  gap:20px
}
.chart-legend {
  padding:0 23px;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  color:#9aa3b1
}
.legend-dot {
  width:6px;
  height:6px;
  background:var(--coral);
  border-radius:50%
}
.chart-summary {
  font-size:18px;
  color:#394254;
  font-weight:600;
  margin-left:auto
}
.revenue-chart {
  height:180px;
  margin:20px 24px 28px;
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:space-around;
  padding:0 10px;
  border-bottom:1px solid #e9edf3
}
.chart-guides {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  pointer-events:none
}
.chart-guides span {
  border-top:1px dashed #edf0f5
}
.chart-column {
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width:10%;
  position:relative
}
.chart-bar {
  background:linear-gradient(180deg,#f3a084,#e97855);
  border-radius:5px 5px 0 0;
  width:70%;
  min-height:3px;
  position:relative
}
.chart-bar span {
  display:none;
  position:absolute;
  bottom:calc(100% + 6px);
  left:50%;
  transform:translateX(-50%);
  padding:5px 8px;
  background:#283345;
  color:white;
  border-radius:5px;
  font-size:10px;
  white-space:nowrap
}
.chart-bar:hover span {
  display:block
}
.chart-column small {
  position:absolute;
  top:calc(100% + 10px);
  font-size:9px;
  color:#9da6b5
}
.chart-zero {
  height:3px!important;
  background:#e7c6b7
}
.chart-empty-caption {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#a5adba;
  font-size:11px;
  pointer-events:none
}
.payment-split {
  display:flex;
  gap:20px;
  border-top:1px solid var(--line);
  padding:15px 22px;
  margin-top:38px;
  font-size:9px;
  color:#9ba4b2
}
.payment-split>span {
  display:flex;
  align-items:center;
  gap:5px;
  flex:1
}
.payment-split b {
  margin-left:auto;
  color:#566275;
  font-weight:550
}
.payment-dot {
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:50%
}
.cash-dot {
  background:#e78e6c
}
.card-dot {
  background:#7293d7
}
.deposit-dot {
  background:#83b6a4
}
.quick-action {
  display:flex;
  align-items:center;
  gap:11px;
  padding:14px 18px;
  margin:0 16px 9px;
  border:1px solid #edf0f4;
  border-radius:8px;
  color:var(--ink);
  text-decoration:none!important
}
.quick-action:hover {
  border-color:#eac9ba;
  background:#fffaf7
}
.quick-icon {
  display:grid;
  place-items:center;
  background:#f4f6fa;
  border-radius:9px;
  width:36px;
  height:36px;
  color:#8996ab
}
.quick-action>span:nth-child(2) {
  display:flex;
  flex-direction:column;
  gap:2px;
  flex:1
}
.quick-action b {
  font-size:11px;
  font-weight:600
}
.quick-action small {
  font-size:9px;
  color:#a0a8b4
}
.quick-action>svg {
  color:#b3bcc9
}
.quick-primary {
  background:#fff9f4;
  border-color:#f7e9df
}
.quick-primary .quick-icon {
  background:#ffede1;
  color:#de8d69
}
.day-panel {
  padding-bottom:8px
}
.table-wrap {
  overflow-x:auto
}
.workspace-table {
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  line-height:1.45
}
.workspace-table th {
  background:#fafbfc;
  border-top:1px solid #f0f2f6;
  border-bottom:1px solid var(--line);
  font-size:9px;
  color:#919ba9;
  font-weight:500;
  padding:12px 20px;
  white-space:nowrap
}
.workspace-table td {
  padding:13px 20px;
  border-bottom:1px solid #f0f2f6;
  color:#778396;
  background:transparent!important;
  white-space:nowrap
}
.workspace-table tr:last-child td {
  border-bottom:0
}
.workspace-table tr:hover td {
  background:#fafbfd!important
}
.person-cell {
  display:flex;
  align-items:center;
  gap:10px
}
.person-avatar {
  width:32px;
  height:32px;
  border-radius:50%;
  background:#eef1f7;
  color:#8493aa;
  display:grid;
  place-items:center;
  font-size:12px;
  flex-shrink:0
}
.person-cell>span:last-child {
  display:flex;
  flex-direction:column;
  gap:2px
}
.person-cell b {
  font-weight:550;
  font-size:11px;
  color:#4e5a6e
}
.person-cell small {
  font-size:9px;
  color:#a8b0be
}
.source-tag {
  font-size:9px;
  color:#8f9bad;
  padding:4px 7px;
  border-radius:4px;
  background:#f1f4f8
}
.row-link {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  font-size:9px;
  color:#8f9bad
}
.workspace-table .table-empty {
  padding:35px 20px;
  text-align:center;
  font-size:11px;
  white-space:normal;
  color:#a0a9b6
}
.dialogue-preview {
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 22px;
  color:var(--ink);
  text-decoration:none!important;
  border-bottom:1px solid #f2f4f7
}
.dialogue-preview:hover {
  background:#fafbfd
}
.dialogue-preview>span:nth-child(2) {
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px
}
.dialogue-preview b {
  font-size:11px;
  font-weight:550
}
.dialogue-preview small {
  font-size:9px;
  color:#9da6b4
}
.dialogue-preview>svg {
  color:#bcc4d0
}
.connection-note {
  font-size:9px;
  color:#9ba5b3;
  padding:17px 22px;
  display:flex;
  align-items:center;
  gap:7px
}
.connection-note .server-dot {
  margin:0
}
.integration-item {
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 21px
}
.integration-symbol {
  font-size:15px;
  color:#d18a57;
  font-weight:700;
  background:#fff4df;
  border:1px solid #f4e6c9;
  width:35px;
  height:35px;
  display:inline-grid;
  place-items:center;
  border-radius:9px;
  flex-shrink:0
}
.mobile-symbol {
  background:#eef3ff;
  color:#7d95c3;
  border-color:#e5ecf9;
  font-size:12px
}
.server-symbol {
  background:#fff0e9;
  color:#db8b68;
  border-color:#f6e2d8;
  font-size:12px
}
.integration-item>span:nth-child(2) {
  display:flex;
  flex-direction:column;
  gap:3px;
  flex:1
}
.integration-item b {
  font-size:11px;
  font-weight:550
}
.integration-item small {
  font-size:9px;
  color:#a1aab8
}
.integration-footnote {
  padding:11px 21px 18px;
  color:#a6aebb;
  font-size:9px;
  border-top:1px solid #f0f2f6;
  margin:8px 0 0
}
.panel-empty {
  display:flex;
  min-height:130px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:#bac3d0;
  font-size:11px
}
.integration-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:22px
}
.connection-card {
  padding:24px
}
.connection-card h2 {
  margin:17px 0 10px;
  font-size:17px
}
.connection-card>p {
  font-size:12px;
  color:#929baa;
  line-height:1.75
}
.connection-detail {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:10px;
  padding:12px 0;
  border-top:1px solid var(--line);
  color:#929baa
}
.connection-detail b {
  font-weight:500;
  text-align:right;
  color:#6b7689
}
.connection-card .connection-caption {
  font-size:10px;
  color:#a3acba;
  margin-bottom:0
}
/* Keep all original form IDs, handlers, money rules and role checks. */
main.page>h1 {
  margin:0 0 18px
}
.kpis .kpi {
  border:1px solid var(--line);
  box-shadow:none
}
.kpi.hero {
  background:#293142
}
.kpi.hero:after {
  opacity:.3
}
.kpi .v {
  font-size:26px
}
.row.card {
  background:#fff;
  padding:18px;
  gap:12px;
  align-items:flex-end
}
table {
  font-size:12px
}
th {
  font-size:10px;
  color:#8994a4;
  background:#f7f9fb
}
td,th {
  padding:11px 13px
}
.flash {
  font-size:12px;
  padding:11px 15px 11px 38px
}
.pos {
  padding:22px 25px!important
}
.pos-grid {
  grid-template-columns:minmax(0,1fr) 320px;
  gap:20px
}
.pos-left,.pos-right {
  min-width:0
}
.pos-bar {
  border:1px solid var(--line);
  border-radius:11px;
  padding:14px;
  background:#fff;
  font-size:11px;
  gap:8px
}
.pos-bar input {
  min-width:160px;
  flex:1
}
.pos-bar .small {
  font-size:10px
}
.tiles {
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:12px
}
.tile {
  border-radius:12px;
  border:1px solid var(--line);
  box-shadow:none;
  min-height:130px
}
.pos-right {
  border-radius:12px;
  background:white;
  border:1px solid var(--line);
  padding:18px
}
.focus-card {
  background:#f8f9fb;
  border-radius:9px;
  min-height:80px;
  padding:14px
}
.total {
  font-size:32px
}
.pay button {
  font-size:10px;
  letter-spacing:.2px;
  padding:13px 8px
}
.cats {
  gap:7px;
  margin:17px 0
}
.cats button {
  font-size:11px;
  padding:7px 13px
}
.card.scroll h2 {
  font-size:15px
}
.grid2 {
  grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
  gap:18px
}
dialog {
  border:1px solid var(--line);
  border-radius:15px
}
dialog::backdrop {
  background:rgba(23,31,46,.45)
}
.register-panel {
  padding-bottom:6px
}
.register-toolbar {
  display:flex;
  gap:12px;
  align-items:center;
  padding:17px 21px;
  border-bottom:1px solid var(--line)
}
.register-toolbar form {
  display:flex;
  gap:10px;
  align-items:center;
  flex:1
}
.register-toolbar label {
  flex:1;
  margin:0
}
.register-toolbar input {
  width:100%;
  font-size:12px;
  max-width:450px
}
.register-toolbar button {
  font-size:11px;
  padding:10px 18px;
  min-height:40px
}
.register-caption {
  font-size:10px;
  color:#9ca6b4
}
.register-status {
  font-size:11px;
  color:#9b7880;
  min-height:8px;
  margin:6px 0
}
.client-drawer {
  position:fixed;
  inset:76px 0 0 auto;
  width:440px;
  max-width:94vw;
  z-index:24;
  background:#fff;
  border-left:1px solid var(--line);
  box-shadow:-15px 0 40px rgba(34,43,63,.08);
  padding:26px;
  overflow-y:auto
}
.client-drawer:not(.is-open) {
  display:none
}
.drawer-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:24px
}
.drawer-heading h2 {
  font-size:21px;
  margin:0
}
.drawer-close {
  width:30px;
  height:30px;
  padding:0;
  display:grid;
  place-items:center;
  background:#f4f6f9;
  color:#929eaf;
  border:0;
  border-radius:7px
}
.client-drawer h3 {
  font-size:12px;
  margin:25px 0 12px
}
.client-drawer p {
  font-size:12px;
  color:#8792a3
}
.client-drawer article {
  background:#f7f9fb;
  border:1px solid #eef1f6;
  border-radius:9px;
  padding:13px;
  margin-bottom:10px
}
.client-drawer article strong {
  font-size:12px;
  font-weight:600
}
.client-drawer article p {
  font-size:11px;
  margin:6px 0
}
.client-drawer textarea {
  font-size:12px;
  padding:11px;
  min-height:95px
}
.client-drawer label {
  font-size:10px;
  color:#909cad
}
.client-drawer button[type=submit] {
  font-size:11px;
  margin-top:10px
}
.crm-open-conversation {
  font-size:11px;
  display:inline-flex;
  margin-top:10px;
  gap:7px
}
.register-row {
  cursor:pointer
}
.register-row button {
  border:0;
  background:transparent;
  color:var(--coral);
  font-size:10px;
  padding:5px
}
.sync-log {
  margin-top:22px
}
.sync-log .panel-heading {
  padding-bottom:12px
}
.sync-log #crm-runs {
  font-size:11px;
  padding:0 21px;
  color:#969fb0
}
.sync-log .small {
  font-size:10px
}
.messaging-layout {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  height:calc(100vh - 248px);
  min-height:430px;
  overflow:hidden
}
.inbox-pane {
  border-right:1px solid var(--line);
  overflow-y:auto;
  padding:0
}
.inbox-heading {
  padding:20px 19px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between
}
.inbox-heading h2 {
  font-size:13px;
  margin:0
}
.inbox-heading span {
  font-size:9px;
  color:#a8b1bf
}
.conversation-row {
  border:0!important;
  border-bottom:1px solid #edf0f5!important;
  border-radius:0!important;
  width:100%;
  padding:19px!important;
  font-size:12px;
  font-weight:500!important;
  background:#fff!important;
  color:#6b788d!important;
  box-shadow:none!important
}
.conversation-row:hover,.conversation-row.is-selected {
  background:#f6f8fc!important;
  color:#28374d!important
}
.conversation-panel {
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fafbfc
}
.conversation-heading {
  padding:20px 24px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.conversation-heading h2 {
  font-size:14px;
  margin:0
}
.conversation-heading small {
  font-size:10px;
  color:#a0aaba
}
.conversation-heading button {
  font-size:10px
}
.conversation-history {
  flex:1;
  overflow-y:auto;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:15px;
  min-height:160px
}
.conversation-history article {
  padding:13px 16px;
  max-width:80%;
  border-radius:12px 12px 12px 3px;
  background:#fff;
  border:1px solid #ebeff4;
  margin:0;
  align-self:flex-start;
  min-width:150px
}
.conversation-history article.message-outgoing {
  background:#fff0e8;
  border-color:#f3ddd0;
  align-self:flex-end;
  border-radius:12px 12px 3px 12px
}
.conversation-history strong {
  font-size:9px;
  font-weight:500;
  color:#a1acbb
}
.conversation-history p {
  font-size:12px;
  margin:7px 0 0;
  color:#58667a;
  line-height:1.7;
  overflow-wrap:anywhere
}
.conversation-compose {
  background:#fff;
  padding:15px 22px;
  border-top:1px solid var(--line)
}
.conversation-compose label {
  font-size:10px;
  color:#8c98aa
}
.conversation-compose textarea {
  font-size:12px;
  padding:10px;
  resize:vertical;
  max-height:160px;
  min-height:65px
}
.compose-actions {
  display:flex;
  align-items:center;
  gap:15px;
  justify-content:space-between;
  margin-top:10px
}
.compose-actions small {
  font-size:9px;
  color:#a5aebc
}
.compose-actions button {
  font-size:11px;
  padding:9px 18px
}
.conversation-placeholder {
  height:100%;
  display:grid;
  place-content:center;
  text-align:center;
  gap:8px;
  color:#a7b1c0;
  font-size:12px
}
.conversation-placeholder svg {
  margin:auto
}
.message-status {
  font-size:10px;
  color:#a08e7e;
  padding:5px 0;
  min-height:7px
}
.more-button {
  margin:15px 19px;
  font-size:10px
}
.auth-page .platform-shell {
  display:block
}
.auth-page .workspace-stage {
  margin:0
}
.platform-login {
  padding:0!important;
  display:grid;
  grid-template-columns:46% 54%;
  min-height:100vh
}
.login-story {
  background:#222a38;
  color:white;
  padding:0 55px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden
}
.login-brand {
  padding:38px 0
}
.login-story-copy {
  margin:auto 0;
  position:relative;
  z-index:1
}
.login-overline {
  font-size:11px;
  color:#e8aa8e;
  letter-spacing:1.3px;
  text-transform:uppercase
}
.login-story h1 {
  font-size:53px;
  font-weight:600;
  letter-spacing:-2px;
  line-height:1.13;
  margin:22px 0
}
.login-story-copy>p {
  font-size:14px;
  line-height:1.85;
  color:#a3adbd;
  margin:0 0 34px
}
.login-feature {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:11px;
  color:#c3cad7;
  margin:18px 0
}
.login-feature svg {
  color:#d49b7c
}
.login-story:after {
  content:"";
  position:absolute;
  width:440px;
  height:440px;
  right:-290px;
  bottom:-200px;
  border:62px solid #e9977110;
  border-radius:50%
}
.login-story-footer {
  font-size:10px;
  color:#78869b;
  display:flex;
  gap:15px;
  justify-content:space-between;
  padding:35px 0
}
.login-story-footer span {
  font-size:9px;
  color:#5d6b80
}
.login-form-panel {
  background:#fafbfc;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:40px
}
.login-form-inner {
  width:100%;
  max-width:350px
}
.login-welcome {
  font-size:11px;
  color:#a3abba
}
.login-form-inner h2 {
  font-size:24px;
  letter-spacing:-.7px;
  margin:11px 0
}
.login-form-inner .page-description {
  font-size:11px;
  line-height:1.8;
  margin:0 0 32px
}
.login-form-inner label {
  font-size:11px;
  color:#6f7b8f;
  margin-bottom:17px;
  font-weight:500
}
.login-form-inner input {
  margin-top:7px;
  width:100%;
  background:#fff;
  padding:12px 14px;
  font-size:12px;
  min-height:46px
}
.login-submit {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin-top:25px;
  padding:13px 17px;
  font-size:12px;
  min-height:46px
}
.login-help {
  font-size:10px;
  line-height:1.85;
  color:#a0aaba;
  margin-top:23px
}
.login-security {
  position:absolute;
  bottom:35px;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:9px;
  color:#a8b1be
}
.login-security .server-dot {
  margin:0
}
@media(min-width:1600px) {
  .workspace-stage main.page {
    padding:32px 38px 45px
  }
  .dashboard-kpis {
    gap:20px
  }
  .metric-card {
    padding:23px;
    min-height:155px
  }
  .metric-value {
    font-size:35px
  }
  .dashboard-grid {
    gap:24px;
    grid-template-columns:minmax(0,1.8fr) minmax(340px,1fr)
  }
  .revenue-chart {
    height:220px
  }
  .workspace-header {
    padding:0 38px
  }
}
@media(max-width:1250px) {
  .workspace-location {
    display:none
  }
  .workspace-header {
    gap:14px
  }
  .global-search {
    margin-left:0;
    max-width:310px
  }
  .club-label {
    max-width:135px
  }
  .dashboard-kpis {
    gap:12px
  }
  .metric-card {
    padding:16px
  }
  .metric-value {
    font-size:25px
  }
  .metric-label {
    font-size:10px
  }
  .metric-foot {
    font-size:8px
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);
    gap:16px
  }
  .panel-heading {
    padding:18px
  }
  .workspace-table td,.workspace-table th {
    padding:12px 14px
  }
  .metric-foot a {
    margin-left:0
  }
  .pos-grid {
    grid-template-columns:minmax(0,1fr) 285px;
    gap:14px
  }
  .pos-right {
    padding:14px
  }
  .integration-cards {
    gap:12px
  }
  .connection-card {
    padding:18px
  }
  .login-story {
    padding:0 40px
  }
  .login-story h1 {
    font-size:46px
  }
  .messaging-layout {
    grid-template-columns:245px minmax(0,1fr)
  }
}
@media(max-width:1050px) {
  .platform-sidebar {
    width:196px
  }
  .workspace-stage {
    margin-left:196px
  }
  .platform-brand {
    padding-left:18px;
    gap:9px
  }
  .platform-brand b {
    font-size:14px
  }
  .platform-brand small {
    font-size:9px
  }
  .platform-nav {
    padding-left:9px;
    padding-right:9px
  }
  .nav-item {
    font-size:11px;
    padding-left:13px
  }
  .sidebar-foot {
    padding-left:18px;
    font-size:10px
  }
  .sidebar-foot small {
    font-size:8px
  }
  .workspace-stage main.page {
    padding:23px 22px
  }
  .workspace-header {
    padding:0 22px
  }
  .club-label {
    display:none
  }
  .dashboard-grid {
    grid-template-columns:1fr 1fr
  }
  .sales-panel,.client-panel,.recent-panel {
    grid-column:1/-1
  }
  .day-panel {
    grid-column:1
  }
  .conversations-panel {
    grid-column:2;
    grid-row:2
  }
  .dashboard-kpis {
    grid-template-columns:repeat(2,1fr)
  }
  .metric-card {
    min-height:130px
  }
  .metric-value {
    font-size:30px
  }
  .metric-foot {
    font-size:10px
  }
  .integration-cards {
    grid-template-columns:1fr
  }
  .messaging-layout {
    grid-template-columns:220px minmax(0,1fr)
  }
  .client-drawer {
    width:410px
  }
}
@media(max-width:760px) {
  .workspace-stage {
    margin-left:0
  }
  .platform-sidebar {
    transform:translateX(-100%);
    width:224px;
    transition:transform .2s
  }
  .sidebar-open .platform-sidebar {
    transform:translateX(0);
    box-shadow:15px 0 40px #17203355
  }
  .menu-toggle {
    display:grid;
    place-items:center;
    background:transparent;
    color:#8491a5;
    border:0;
    padding:5px
  }
  .workspace-header {
    height:65px;
    padding:0 15px;
    gap:10px
  }
  .global-search {
    min-width:90px
  }
  .global-search input {
    font-size:10px
  }
  .global-search kbd,.workspace-user>span:last-child,.header-logout {
    display:none
  }
  .header-right {
    gap:10px
  }
  .workspace-user {
    padding-left:0;
    border:0
  }
  .workspace-stage main.page {
    padding:20px 15px
  }
  .workspace-page-heading {
    align-items:flex-start;
    gap:12px
  }
  .workspace-page-heading h1 {
    font-size:23px
  }
  .page-description {
    font-size:10px
  }
  .period-switch a {
    padding:5px 8px;
    font-size:9px
  }
  .dashboard-grid {
    display:flex;
    flex-direction:column
  }
  .dashboard-kpis {
    gap:10px
  }
  .metric-card {
    padding:15px;
    min-height:125px
  }
  .metric-label {
    font-size:9px;
    gap:6px
  }
  .metric-value {
    font-size:26px
  }
  .metric-foot {
    font-size:8px
  }
  .demo-banner {
    font-size:9px;
    align-items:flex-start
  }
  .demo-divider {
    display:none
  }
  .metric-foot a {
    display:none
  }
  .platform-login {
    grid-template-columns:1fr
  }
  .login-story {
    min-height:260px;
    padding:0 28px
  }
  .login-brand {
    padding:25px 0
  }
  .login-story-copy {
    margin:10px 0 30px
  }
  .login-story h1 {
    font-size:35px;
    margin:12px 0
  }
  .login-overline {
    font-size:9px
  }
  .login-story-copy>p,.login-feature,.login-story-footer {
    display:none
  }
  .login-form-panel {
    padding:35px 25px 80px;
    min-height:530px
  }
  .login-security {
    bottom:22px;
    font-size:8px
  }
  .login-form-inner h2 {
    font-size:22px
  }
  .pos-grid {
    grid-template-columns:1fr
  }
  .pos-right {
    position:static
  }
  .grid2 {
    grid-template-columns:1fr
  }
  .register-toolbar {
    align-items:stretch;
    padding:14px;
    flex-direction:column
  }
  .register-caption {
    font-size:9px
  }
  .client-drawer {
    top:65px;
    padding:20px
  }
  .messaging-layout {
    grid-template-columns:160px minmax(0,1fr);
    min-height:520px
  }
  .inbox-heading {
    padding:15px
  }
  .inbox-heading span {
    display:none
  }
  .conversation-row {
    padding:15px 12px!important;
    font-size:10px
  }
  .conversation-heading {
    padding:15px
  }
  .conversation-heading h2 {
    font-size:12px
  }
  .conversation-heading small {
    display:none
  }
  .conversation-history {
    padding:15px
  }
  .conversation-history article {
    max-width:95%
  }
  .conversation-compose {
    padding:12px
  }
  .compose-actions small {
    display:none
  }
  .payment-split {
    gap:10px;
    font-size:8px;
    padding:12px 15px
  }
  .table-wrap {
    max-width:100%
  }
}
@media print {
  .platform-sidebar,.workspace-header,.demo-banner,.sidebar-foot {
    display:none!important
  }
  .workspace-stage {
    margin:0!important
  }
  .platform-shell {
    display:block!important;
    background:white!important
  }
  .workspace-stage main.page {
    padding:0!important
  }
  .dashboard-grid {
    display:block
  }
  .panel {
    break-inside:avoid;
    margin-bottom:15px
  }
  .client-drawer {
    position:static;
    display:block!important;
    width:100%;
    box-shadow:none
  }
  .platform-login {
    min-height:0
  }
  .metric-main {
    color:#202632!important;
    background:white!important
  }
  .metric-main .metric-label,.metric-main .metric-foot {
    color:#87909e!important
  }
}
/* Readable type at reception-desk viewing distance. */
.nav-item {
  font-size:13px
}
.nav-group-label {
  font-size:10px
}
.sidebar-foot {
  font-size:11px
}
.workspace-location,.global-search input,.club-label,.workspace-user b {
  font-size:12px
}
.workspace-user small {
  font-size:11px
}
.page-description {
  font-size:13px;
  color:#758196
}
.metric-label {
  font-size:12px;
  color:#6c788b
}
.metric-foot {
  font-size:11px;
  color:#758196
}
.metric-foot b {
  color:#647187
}
.panel-heading h2 {
  font-size:15px
}
.panel-heading p {
  font-size:12px;
  color:#778398
}
.text-link,.row-link {
  font-size:11px;
  color:#60728d
}
.state-badge {
  font-size:11px
}
.state-badge.neutral {
  color:#768297
}
.quick-action b {
  font-size:13px
}
.quick-action small {
  font-size:11px;
  color:#8190a3
}
.workspace-table {
  font-size:13px
}
.workspace-table th {
  font-size:11px;
  color:#77869b
}
.workspace-table td {
  color:#68788e
}
.person-cell b {
  font-size:13px
}
.person-cell small {
  font-size:10px
}
.source-tag {
  font-size:11px;
  color:#788aa1
}
.dialogue-preview b {
  font-size:13px
}
.dialogue-preview small {
  font-size:11px
}
.connection-note,.integration-footnote {
  font-size:11px;
  color:#8190a3
}
.integration-item b {
  font-size:13px
}
.integration-item small {
  font-size:11px
}
.payment-split {
  font-size:11px;
  color:#8190a3
}
.payment-split b {
  color:#607087
}
.chart-legend {
  font-size:12px
}
.chart-column small,.chart-empty-caption {
  font-size:11px;
  color:#929eaf
}
.register-caption {
  font-size:11px
}
.conversation-history p {
  font-size:14px
}
.conversation-history strong {
  font-size:11px
}
.conversation-heading h2 {
  font-size:15px
}
.conversation-row {
  font-size:13px
}
.compose-actions small {
  font-size:11px
}
.conversation-compose label {
  font-size:12px
}
.client-drawer p {
  font-size:13px
}
.client-drawer article p {
  font-size:12px
}
.client-drawer article strong {
  font-size:13px
}
input[type=checkbox],input[type=radio] {
  min-height:0
}
.pos-shift-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:15px 18px;
  background:#fff7eb;
  border:1px solid #f0e1c8;
  border-radius:10px;
  margin-bottom:18px;
  color:#a17b41
}
.pos-shift-banner>div {
  display:flex;
  flex-direction:column;
  gap:3px
}
.pos-shift-banner b {
  font-size:13px
}
.pos-shift-banner span {
  font-size:11px;
  color:#a28f71
}
.pos-shift-banner button {
  font-size:12px;
  white-space:nowrap
}
.pos-grid {
  height:calc(100vh - 230px);
  min-height:520px
}
.pos-prompts {
  gap:8px
}
.pos-prompts button {
  min-height:64px;
  border-radius:9px
}
.pos-bar #scan {
  border-radius:8px
}
.pos-bar .pos-prompts {
  display:flex;
  flex-wrap:wrap;
  width:100%
}
.pos-bar .pos-prompts>button {
  flex:1
}
.pos-right .cart {
  padding:10px 0;
  box-shadow:none
}
.cart-row {
  grid-template-columns:minmax(0,1fr) 24px 22px 24px 67px;
  column-gap:4px;
  font-size:11px
}
.cart-row button {
  padding:4px;
  width:24px;
  height:28px
}
.tile .p {
  font-size:18px
}
.tile .name {
  font-size:13px
}
.tile .can {
  font-size:11px
}
.pos-grid {
  height:calc(100vh - 280px);
  min-height:480px
}
.pos-shift-banner:not([hidden]) ~ .pos-grid {
  height:calc(100vh - 350px)
}
.cart-row {
  grid-template-columns:minmax(0,1fr) 24px 22px 24px 92px
}

main.pos .pos-bar .pos-prompts {position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex-direction:row;width:100%;max-width:none;gap:9px}
main.pos .pos-bar .pos-prompts>button {position:static;width:100%;min-width:0;min-height:91px;padding:12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border:1px solid #e5eaf1;background:#fafbfd;border-radius:9px;gap:4px;box-shadow:none}
main.pos .pos-bar .pos-prompts .t {font-size:10px;font-weight:600;letter-spacing:.2px}
main.pos .pos-bar .pos-prompts .n {font-size:18px;font-weight:600;line-height:1.2}
main.pos .pos-bar .pos-prompts .s {font-size:10px;font-weight:400;color:#8290a4}
main.pos .pos-bar .pos-prompts .has {border-color:#df9d94;background:#fff5f3}
main.pos .pos-bar .pos-prompts .review-coffee-tile:disabled {background:#f5f7fa;color:#97a1af}
@media(max-width:760px){main.pos .pos-bar .pos-prompts{grid-template-columns:1fr}.pos-grid{height:auto}.pos-right{min-height:520px}}

.revenue-chart.has-negative .chart-bar{position:absolute;bottom:50%}.revenue-chart.has-negative .chart-negative{top:50%;bottom:auto;background:linear-gradient(#d88983,#d46764);border-radius:0 0 5px 5px}.revenue-chart.has-negative .chart-guides:after{content:"";position:absolute;left:0;right:0;bottom:50%;border-top:1px solid #cad2dd}
/* Staff workstations and consent-based support. */
.pc-enroll-form { display:flex; align-items:end; gap:16px; padding:0 22px 22px; flex-wrap:wrap; }
.pc-enroll-form label { min-width:250px; flex:1; }
.pc-enroll-form input { display:block; width:100%; margin-top:8px; }
.pc-code-block { padding:0 22px 22px; }
.pc-code-block input { display:block; width:100%; font-family:monospace; letter-spacing:2px; margin-top:8px; }
.pc-help-note { padding:24px; color:#687485; line-height:1.6; }
.support-panel { padding:12px; background:#1d2430; }
#support-screen { display:block; width:100%; height:auto; background:#151b24; outline:none; touch-action:none; }
#support-screen:focus { box-shadow:0 0 0 2px #d98162; }
#pc-list button { margin:3px; }
#pc-enroll { margin-bottom:20px; }
.club-brand-mark { display:block; width:52px; height:46px; object-fit:contain; flex:none; }
.platform-brand .club-brand-mark + span b { font-size:16px; letter-spacing:1.5px; }
.club-wordmark { display:block; width:230px; height:70px; object-fit:contain; object-position:left center; margin-bottom:16px; }
.login-story-footer { justify-content:flex-start; gap:18px; align-items:center; }
.login-story-footer .club-wordmark { width:86px; height:64px; margin:0; }
.login-story-footer .club-signature-text { color:#dce0e6; font-size:13px; }
.club-signature-text small { display:block; color:#929ba9; font-size:10px; margin-top:7px; }
