:root {
  --canvas: #eef1ef;
  --white: #fff;
  --ink: #262e2c;
  --muted: #737a77;
  --line: #e5e8e6;
  --purple: #a6a1ff;
  --soft-purple: #eeecff;
  --pink: #fae5ee;
  --radius: 12px;
  --nav: 220px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8d83de;
  outline-offset: 3px;
}
svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  min-height: 37px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
button:hover {
  background: #f5f7f5;
}
.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.primary:hover {
  background: #414a46;
}
.danger {
  color: #b2464e;
}
.ghost {
  background: transparent;
  border-color: transparent;
}
.icon-btn {
  padding: 8px;
  min-width: 36px;
}
.small {
  font-size: 12px;
  min-height: 30px;
  padding: 5px 11px;
}
.link {
  border: 0;
  padding: 0;
  min-height: 28px;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 9px;
  background: #eef2ef;
  font-size: 11px;
  white-space: nowrap;
}
.badge.purple {
  background: var(--soft-purple);
  color: #5b53a4;
}
.badge.green {
  background: #eaf4e7;
  color: #45693c;
}
.badge.orange {
  background: #fff2d9;
  color: #8b6718;
}
.badge.red {
  background: #fce9ea;
  color: #a4484e;
}
.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 8px;
}
.sidebar {
  width: var(--nav);
  position: fixed;
  inset: 0 auto 0 0;
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
  background: var(--canvas);
}
.brand {
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 600;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand b {
  font-weight: 400;
  color: #818883;
}
.brand-mark {
  display: grid;
  grid-template-columns: 7px 7px;
  gap: 3px;
}
.brand-mark i {
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 1px;
}
.brand-mark i:last-child {
  opacity: 0.4;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #868d89;
  padding: 34px 14px 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  margin: 3px 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}
.nav-item:hover {
  background: #e6ebe7;
}
.nav-item.active {
  background: white;
}
.nav-item .chev {
  margin-left: auto;
  width: 12px;
  color: #89908c;
}
.nav-sub {
  border-left: 1px solid #d9dfda;
  margin: 3px 0 8px 21px;
  padding-left: 10px;
}
.nav-sub a {
  display: block;
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 5px;
  margin: 2px 0;
}
.nav-sub a.active {
  background: white;
  font-weight: 500;
}
.nav-bottom {
  margin-top: auto;
  padding-top: 34px;
}
.nav-bottom .nav-item {
  color: #656e68;
}
.workspace {
  margin-left: var(--nav);
  min-width: 0;
}
.topbar {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 0 24px;
  gap: 15px;
}
.business-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 22px;
  padding: 6px 12px 6px 6px;
  font-size: 12px;
  font-weight: 500;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: var(--pink);
  color: #704c5b;
  font-size: 12px;
  flex-shrink: 0;
  font-weight: 500;
}
.avatar.round {
  border-radius: 50%;
}
.avatar.mini {
  width: 26px;
  height: 26px;
  font-size: 10px;
  border-radius: 50%;
}
.avatar.large {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 21px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.local-indicator {
  color: #707a73;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.local-indicator:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #829889;
}
.surface {
  margin: 0 16px 16px 0;
  background: white;
  border-radius: 12px;
  min-height: calc(100vh - 85px);
  padding: 28px 30px;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 27px;
}
.pagehead h1 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 0;
}
.pagehead p {
  margin: 7px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.35px;
  margin: 0 0 16px;
}
h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
}
p {
  line-height: 1.6;
}
.greeting {
  margin: 8px 0 29px;
}
.greeting h1 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.greeting p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
  background: white;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.card-header h2 {
  margin: 0;
}
.welcome-panel {
  background: #f0f3f0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.welcome-panel > p {
  color: #657067;
  font-size: 12px;
  margin: 8px 0 20px;
}
.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.setup {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 8px;
  padding: 18px 14px;
  min-height: 110px;
}
.setup .setup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 45px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--soft-purple);
}
.setup:nth-child(2) .setup-icon {
  background: #fce8df;
}
.setup:nth-child(3) .setup-icon {
  background: #e5edf6;
}
.setup h3 {
  font-size: 12px;
  line-height: 1.5;
}
.setup p {
  font-size: 10px;
  margin: 3px 0 8px;
  color: var(--muted);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
}
.stat-value {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.3px;
  margin: 12px 0 4px;
}
.stat-foot {
  font-size: 11px;
  color: #767e77;
}
.list-row {
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row .grow {
  flex: 1;
  min-width: 0;
}
.list-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.time-tag {
  font-size: 12px;
  width: 47px;
  flex-shrink: 0;
}
.vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.color-block {
  background: var(--soft-purple);
  border-color: transparent;
}
.color-block p {
  font-size: 12px;
  color: #676078;
}
.section-space {
  margin-top: 26px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature-tile {
  border-radius: 8px;
  padding: 19px;
  background: #e6e5fc;
  min-height: 129px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-tile svg {
  margin-bottom: 15px;
}
.feature-tile p {
  font-size: 11px;
  color: #5c605b;
  margin: 0;
  line-height: 1.5;
}
.feature-tile h3 {
  font-size: 13px;
}
.feature-tile:nth-child(2) {
  background: #efdfd7;
}
.feature-tile:nth-child(3) {
  background: #dceadc;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.search {
  position: relative;
  display: block;
  width: 360px;
  max-width: 100%;
}
.search svg {
  position: absolute;
  top: 11px;
  left: 12px;
  width: 16px;
  color: #8b918c;
}
.search input {
  padding-left: 36px;
  height: 39px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 19px;
  font-size: 12px;
}
.field > span:first-child {
  font-weight: 500;
}
.field small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dce1dc;
  border-radius: 7px;
  background: white;
  min-width: 0;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #949b95;
}
textarea {
  resize: vertical;
  min-height: 105px;
  line-height: 1.6;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #7569d5;
  width: 16px;
  height: 16px;
  cursor: pointer;
  vertical-align: middle;
}
select {
  cursor: pointer;
}
.inline-select {
  width: auto;
  min-height: 37px;
  border-radius: 20px;
  padding: 8px 30px 8px 13px;
  font-size: 12px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  color: #767c77;
  font-weight: 500;
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
}
tbody tr:hover {
  background: #f7f9f7;
}
tr[data-client] {
  cursor: pointer;
}
.person {
  display: flex;
  align-items: center;
  gap: 13px;
}
.person strong {
  font-weight: 500;
}
.person small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.count {
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  padding: 2px 7px;
  margin-left: 7px;
  vertical-align: middle;
}
.empty {
  text-align: center;
  padding: 70px 25px;
  color: var(--muted);
}
.empty svg {
  width: 33px;
  height: 33px;
  margin-bottom: 17px;
}
.empty h3 {
  color: var(--ink);
  font-size: 16px;
}
.empty p {
  font-size: 12px;
  max-width: 320px;
  margin: 8px auto 18px;
}
.tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow: auto;
}
.tabs button {
  border: 0;
  border-radius: 0;
  padding: 14px 2px;
  background: none;
  color: var(--muted);
}
.tabs button.active {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-section {
  margin-top: 30px;
  padding-top: 20px;
}
.form-section h2 {
  margin-bottom: 8px;
}
.form-section > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.check-row,
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 12px;
}
.check-row label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toggle-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.toggle-row input {
  appearance: none;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #d8ddda;
  position: relative;
  transition: background 0.16s;
}
.toggle-row input:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  background: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
  transition: transform 0.16s;
}
.toggle-row input:checked {
  background: #786be4;
}
.toggle-row input:checked:before {
  transform: translateX(14px);
}
dialog {
  color: var(--ink);
  border: 0;
  background: white;
  padding: 0;
  box-shadow: 0 10px 70px #12221a20;
}
dialog::backdrop {
  background: #2031274d;
}
.sheet {
  inset: 12px 12px 12px auto;
  margin: 0;
  width: 480px;
  max-width: calc(100vw - 24px);
  height: calc(100dvh - 24px);
  max-height: none;
  border-radius: 12px;
}
.sheet[open] {
  display: flex;
  flex-direction: column;
}
.dialog-head {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 15px;
  flex-shrink: 0;
}
.dialog-head h2 {
  margin: 0;
  font-size: 18px;
}
.dialog-body {
  padding: 24px;
  overflow: auto;
  flex: 1;
}
.dialog-footer {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.dialog-footer .primary {
  min-width: 140px;
}
.modal {
  border-radius: 12px;
  width: 640px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
}
.modal.wide {
  width: 1100px;
}
.modal[open] {
  display: flex;
  flex-direction: column;
}
.notice {
  background: #f1f4f1;
  border-radius: 7px;
  padding: 12px 14px;
  color: #657068;
  font-size: 11px;
  line-height: 1.7;
  margin: 16px 0;
}
.error {
  color: #a33041;
  font-size: 12px;
  line-height: 1.5;
}
.chip {
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
  background: #f1f3f0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
}
.profile-summary h2 {
  font-size: 21px;
  margin: 0 0 6px;
}
.profile-summary p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.profile-tabs {
  gap: 10px;
  justify-content: space-between;
  margin-top: 24px;
}
.profile-tabs button {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  white-space: normal;
  text-align: center;
  min-width: 50px;
}
.profile-tabs svg {
  width: 20px;
}
.segmented {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}
.segmented button {
  flex: 1;
  background: none;
  border: 0;
  font-size: 12px;
}
.segmented button.active {
  background: #edf1ed;
}
.note {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  white-space: pre-wrap;
}
.note small {
  display: block;
  color: var(--muted);
  margin-top: 12px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 13px;
  min-height: 100px;
}
.service-swatch {
  height: 58px;
  width: 58px;
  flex-shrink: 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  overflow: hidden;
}
.service-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-swatch svg {
  width: 23px;
  height: 23px;
  opacity: 0.6;
}
.service-card .grow {
  flex: 1;
}
.service-card h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.service-card p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.color-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 8px;
}
.editor-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 690px);
  gap: 55px;
}
.editor-nav {
  position: sticky;
  top: 18px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.editor-nav a {
  font-size: 12px;
  padding: 12px;
  border-radius: 6px;
  color: var(--muted);
}
.editor-nav a:first-child {
  background: #e4e9e5;
  color: var(--ink);
}
.upload-box {
  border: 1px dashed #dbe1da;
  border-radius: 8px;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 22px;
  padding: 24px;
}
.upload-box img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 7px;
}
.upload-box input {
  max-width: 260px;
  font-size: 11px !important;
}
.form-anchor {
  scroll-margin-top: 25px;
}
.calendar-surface {
  padding: 19px 20px 0;
  overflow: hidden;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}
.calendar-toolbar h1 {
  font-size: 20px;
  margin: 0 8px 0 0;
  letter-spacing: -0.6px;
}
.calendar-scroll {
  overflow: auto;
  height: calc(100vh - 180px);
  min-height: 500px;
}
.calendar-head {
  display: grid;
  grid-template-columns: 58px repeat(7, minmax(110px, 1fr));
  position: sticky;
  top: 0;
  z-index: 5;
  background: white;
  min-width: 800px;
  border-bottom: 1px solid var(--line);
}
.day-label {
  text-align: center;
  padding: 10px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.day-label strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin: 8px auto 3px;
  width: 32px;
  height: 32px;
  line-height: 32px;
}
.day-label.today strong {
  border-radius: 50%;
  background: var(--ink);
  color: white;
}
.calendar-grid {
  display: grid;
  grid-template-columns: 58px repeat(7, minmax(110px, 1fr));
  min-width: 800px;
}
.time-column {
  position: relative;
  height: 792px;
}
.hour-label {
  height: 72px;
  padding-top: 0;
  text-align: right;
  padding-right: 12px;
  font-size: 10px;
  color: #727c74;
  transform: translateY(-6px);
}
.day-column {
  position: relative;
  height: 792px;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 35px,
    #f1f3f1 35px,
    #f1f3f1 36px,
    transparent 36px,
    transparent 71px,
    var(--line) 71px,
    var(--line) 72px
  );
}
.slot {
  position: absolute;
  height: 36px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  min-height: 0;
}
.slot:hover {
  background: #e7eee65c;
}
.event {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 4px;
  border: 0;
  border-left: 3px solid var(--event-ink, #aaa);
  padding: 8px 7px;
  font-size: 10px;
  display: block;
  text-align: left;
  overflow: hidden;
  min-height: 25px;
  background: var(--event-bg, #e8e5f6);
  z-index: 2;
  white-space: normal;
  line-height: 1.4;
}
.event:hover {
  filter: brightness(0.97);
  background: var(--event-bg);
}
.event strong {
  display: block;
  font-weight: 600;
  font-size: 11px;
  margin-top: 3px;
}
.event span {
  display: block;
  margin-top: 3px;
}
.event .buffer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    125deg,
    transparent 0,
    transparent 3px,
    #6c716f66 3px,
    #6c716f66 4px
  );
}
.event.block {
  background: repeating-linear-gradient(
    125deg,
    #f1f2f0 0,
    #f1f2f0 5px,
    #e7eae6 5px,
    #e7eae6 6px
  );
  border-color: #bac0b8;
  color: #6c776b;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.month-cell {
  min-height: 125px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.month-cell > button {
  padding: 3px 7px;
  min-height: 25px;
  border: 0;
}
.month-event {
  font-size: 10px;
  border-radius: 4px;
  padding: 5px 7px;
  margin-top: 4px;
  background: #edeaf9;
  cursor: pointer;
  display: block;
}
.marketing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 23px;
}
.marketing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px;
  text-align: left;
}
.marketing-card .tile-icon {
  padding: 10px;
  background: var(--soft-purple);
  color: #8272e5;
  border-radius: 5px;
}
.marketing-card small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
.steps {
  display: flex;
  gap: 4px;
  margin-bottom: 30px;
}
.steps span {
  flex: 1;
  padding: 12px 0;
  border-top: 2px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.steps span.active {
  border-color: var(--ink);
  color: var(--ink);
}
.campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
}
.email-preview {
  background: #ede9ec;
  border-radius: 9px;
  padding: 26px 18px;
  min-height: 400px;
}
.phone {
  background: white;
  border: 6px solid #272b29;
  border-radius: 32px;
  min-height: 380px;
  padding: 23px 15px;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.phone .email-from {
  font-size: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.phone h3 {
  margin-top: 22px;
  font-size: 13px;
}
.phone p {
  font-size: 11px;
  white-space: pre-wrap;
}
.phone img {
  width: 100%;
  border-radius: 4px;
  margin-top: 15px;
}
.analytics-hero .metric {
  font-family: Georgia, serif;
  font-size: 60px;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 17px 0 24px;
}
.revenue-bar {
  display: flex;
  height: 35px;
  border-radius: 5px;
  overflow: hidden;
  background: #f0eff6;
}
.revenue-bar i {
  background: #e3e1ff;
  min-width: 0;
}
.revenue-bar i:nth-child(2) {
  background: #c7c4fd;
}
.revenue-bar i:nth-child(3) {
  background: #a9a2fb;
}
.legend {
  display: flex;
  gap: 22px;
  font-size: 11px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5bffd;
  margin-right: 6px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 16px;
}
.metric-card .metric {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 23px 0 1px;
}
.metric-card small {
  font-size: 11px;
  color: var(--muted);
}
.metric-card h3 {
  font-size: 12px;
}
.metric-card.full {
  grid-column: 1/-1;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  margin: 22px 0;
}
.bar-row > span:first-child {
  width: 145px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.bar-track {
  flex: 1;
  height: 5px;
  background: #f3f2f8;
  border-radius: 5px;
}
.bar-track i {
  display: block;
  height: 100%;
  background: #ada6fe;
  border-radius: 5px;
}
.report-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
  text-align: left;
  white-space: normal;
  justify-content: flex-start;
}
.report-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
}
.schedule-row {
  display: grid;
  grid-template-columns: 95px 1fr 20px 1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 12px;
}
.schedule-row label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.schedule-row input[type="time"] {
  padding: 9px;
}
.choice-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
}
.choice:last-child {
  border: 0;
}
.choice small {
  margin-left: auto;
  color: var(--muted);
}
.choice:has(input:checked) {
  background: #f2f0fb;
}
.form-total {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  font-size: 13px;
}
.color-input {
  height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 5px;
}
.option-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px 35px;
  gap: 8px;
  margin-bottom: 10px;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.progress {
  height: 4px;
  border-radius: 3px;
  background: #d8ded7;
  width: 100px;
  overflow: hidden;
}
.progress i {
  display: block;
  width: 66%;
  height: 100%;
  background: #57655a;
}
.mobile-menu {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  border-radius: 9px;
  padding: 15px 24px;
  font-size: 12px;
  box-shadow: 0 5px 25px #0002;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.app-collapsed {
  --nav: 66px;
}
.app-collapsed .nav-item span,
.app-collapsed .nav-label,
.app-collapsed .nav-sub,
.app-collapsed .brand > span:last-child,
.app-collapsed .nav-item .chev {
  display: none;
}
.app-collapsed .brand {
  padding: 2px 11px;
}
.app-collapsed .sidebar {
  padding: 23px 8px;
}
.app-collapsed .nav-item {
  padding: 12px 15px;
}
.app-collapsed .nav-main {
  margin-top: 30px;
}
.app-collapsed .nav-bottom .tiny {
  display: none;
}
@media (min-width: 1600px) {
  .surface:not(.calendar-surface) {
    padding: 34px 40px;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .service-card {
    min-height: 110px;
  }
}
@media (max-width: 1150px) {
  :root {
    --nav: 190px;
  }
  .surface {
    padding: 24px 22px;
  }
  .home-layout {
    grid-template-columns: 1fr;
  }
  .home-layout > .vertical-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .calendar-toolbar {
    flex-wrap: wrap;
  }
  .calendar-scroll {
    height: calc(100vh - 230px);
  }
  .editor-layout {
    grid-template-columns: 140px 1fr;
    gap: 24px;
  }
}
@media (max-width: 800px) {
  :root {
    --nav: 66px;
  }
  .sidebar {
    padding: 20px 8px;
  }
  .nav-item span,
  .nav-label,
  .nav-sub,
  .brand > span:last-child,
  .nav-item .chev,
  .nav-bottom .tiny {
    display: none;
  }
  .nav-item {
    padding: 12px 15px;
  }
  .brand {
    padding: 0 12px;
  }
  .nav-main {
    margin-top: 25px;
  }
  .topbar {
    padding: 0 16px;
  }
  .surface {
    padding: 22px 18px;
    margin-right: 10px;
  }
  .top-actions {
    gap: 7px;
  }
  .local-indicator {
    font-size: 10px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-layout > aside {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .catalog-layout > aside .card {
    margin: 0;
  }
  .campaign-layout {
    grid-template-columns: 1fr;
  }
  .email-preview {
    min-height: 0;
  }
  .phone {
    max-width: 300px;
    margin: auto;
  }
  .marketing-cards {
    gap: 8px;
  }
  .marketing-card {
    padding: 12px;
    white-space: normal;
    font-size: 12px;
  }
  .marketing-card .tile-icon {
    display: none;
  }
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .setup {
    min-height: 75px;
  }
  .editor-layout {
    display: block;
  }
  .editor-nav {
    display: none;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .calendar-surface {
    padding: 15px 12px 0;
  }
  .pagehead {
    flex-wrap: wrap;
  }
  .pagehead h1 {
    font-size: 21px;
  }
}
@media (max-width: 520px) {
  :root {
    --nav: 0px;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 220px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 10px 0 80px #14271b33;
  }
  .sidebar.mobile-open .nav-item span,
  .sidebar.mobile-open .brand > span:last-child {
    display: inline;
  }
  .sidebar.mobile-open .nav-sub {
    display: block;
  }
  .surface {
    margin: 0 8px 8px;
    padding: 22px 16px;
  }
  .topbar {
    height: 65px;
    padding: 0 12px;
  }
  .local-indicator {
    display: none;
  }
  .business-switch {
    font-size: 11px;
  }
  .stats-row {
    gap: 7px;
  }
  .stats-row .card {
    padding: 13px 10px;
  }
  .stat-value {
    font-size: 22px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-tile {
    min-height: 90px;
  }
  .home-layout > .vertical-stack {
    display: flex;
  }
  .welcome-panel {
    padding: 17px;
  }
  .greeting h1 {
    font-size: 25px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .dialog-body {
    padding: 19px;
  }
  .dialog-head {
    padding: 19px;
  }
  .marketing-cards {
    grid-template-columns: 1fr;
  }
  .marketing-card .tile-icon {
    display: block;
  }
  .metrics-grid {
    gap: 10px;
  }
  .metric-card {
    padding: 15px;
  }
  .metric-card .metric {
    font-size: 27px;
  }
  .analytics-hero .metric {
    font-size: 46px;
  }
  .catalog-layout > aside {
    grid-template-columns: 1fr;
  }
  .calendar-toolbar .actions {
    gap: 5px;
  }
  .calendar-toolbar button {
    padding: 7px 10px;
  }
  .sheet {
    inset: 0;
    max-width: 100vw;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .option-row {
    grid-template-columns: 1fr 70px 60px 30px;
  }
  .bar-row > span:first-child {
    width: 95px;
  }
  .report-card {
    padding: 18px;
  }
  .profile-tabs {
    gap: 4px;
  }
  .schedule-row {
    grid-template-columns: 78px 1fr 10px 1fr;
  }
  .notice {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.crop-window {
  width: 280px;
  height: 280px;
  overflow: hidden;
  background: #eee;
  margin: 0 auto 25px;
  border-radius: 8px;
}
.crop-window img {
  max-width: none;
  display: block;
  transform-origin: top left;
}
.choice[hidden] {
  display: none;
}
.catalog-layout aside .card h3 {
  line-height: 1.5;
}

/* Frosted chrome, quiet content, one shared BetriebOS identity. */
:root {
  --canvas: #f1f1f3;
  --ink: #242629;
  --muted: #81838a;
  --line: #ededf0;
  --nav: 210px;
  --radius: 20px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 13px;
  color-scheme: light;
}
body {
  background:
    radial-gradient(ellipse at 70% 0, #e8e7ee, transparent 45%), #f0f0f2;
  padding: 12px;
  letter-spacing: -0.015em;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
button {
  transition:
    background 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
button:active {
  transform: scale(0.98);
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 600;
}
h2 {
  font-size: 15px;
  letter-spacing: -0.35px;
  font-weight: 600;
}
h3 {
  font-weight: 550;
}
.app-frame {
  display: flex;
  min-height: calc(100vh - 24px);
  border: 1px solid #ffffffd9;
  border-radius: 28px;
  overflow: clip;
  background: #fcfcfd;
  box-shadow: 0 20px 80px #24243608;
}
.sidebar {
  position: sticky;
  top: 12px;
  height: calc(100vh - 24px);
  flex: 0 0 var(--nav);
  width: var(--nav);
  padding: 27px 16px 15px;
  background: linear-gradient(135deg, #ffffffc9, #f4f4f6b8);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-right: 1px solid #eeeef1;
  display: flex;
  flex-direction: column;
  transition:
    width 0.25s,
    flex-basis 0.25s;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -1px;
  padding: 0 8px;
  white-space: nowrap;
}
.brand-word > span {
  font-weight: 700;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
  transform: none;
  flex: none;
  width: 21px;
  height: 21px;
}
.brand-mark i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #252528;
}
.brand-mark i:last-child {
  opacity: 0.4;
}
.sidebar-caption {
  font-size: 8px;
  letter-spacing: 1.25px;
  margin: 17px 8px 26px;
  color: #96969e;
}
.nav-main {
  gap: 5px;
  display: flex;
  flex-direction: column;
}
.nav-item {
  font-size: 12px;
  min-height: 42px;
  padding: 10px 12px;
  gap: 12px;
  border-radius: 12px;
  position: relative;
  white-space: nowrap;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item.active {
  background: #f2ece5;
  color: #332d27;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 4px #493b2804;
}
.nav-item:hover {
  background: #eeeef2;
}
.setup-nav {
  margin-bottom: 13px;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: #b8a58b;
  border-radius: 50%;
  margin-left: auto;
}
.nav-sub {
  margin: 0 0 5px 30px;
  border-left: 1px solid #e3e3e8;
  padding: 0 0 0 10px;
}
.nav-sub a {
  font-size: 11px;
  display: block;
  line-height: 1.35;
  padding: 8px 5px;
}
.nav-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.collapse-button {
  width: 100%;
  border: 0;
  justify-content: flex-start;
  background: none;
}
.sidebar-profile {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  padding: 20px 5px 0;
}
.sidebar-profile strong {
  font-size: 11px;
}
.sidebar-profile small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.workspace {
  margin-left: 0;
  min-width: 0;
  flex: 1;
  width: calc(100% - var(--nav));
}
.topbar {
  height: 67px;
  padding: 0 28px;
  position: relative;
  background: transparent;
  border: 0;
}
.top-crumb {
  font-size: 11px;
  color: #62626d;
}
.demo-badge {
  font-size: 9px;
  padding: 4px 7px;
  border: 1px solid #e8e8ec;
  background: transparent;
}
.surface {
  padding: 12px 28px 32px;
  min-height: calc(100vh - 105px);
}
.card {
  border: 1px solid #eeeef2;
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 3px 18px #22233b03;
}
.card-header {
  margin-bottom: 20px;
  align-items: center;
}
.card-header h2 {
  display: flex;
  gap: 10px;
  align-items: center;
}
.card-header h2 svg {
  width: 19px;
  height: 19px;
  color: #28272e;
}
.pagehead {
  margin: 9px 0 26px;
}
.pagehead p {
  font-size: 12px;
}
.pagehead h1 {
  font-weight: 600;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 550;
  color: #99939a;
}
.home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0 26px;
}
.home-heading h1 {
  font-size: 27px;
  margin: 8px 0;
}
.home-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.wave {
  color: #caa774;
  font-weight: 400;
  font-size: 24px;
  margin-left: 3px;
}
.setup-link {
  font-size: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8d7d6d;
}
.setup-link svg {
  width: 14px;
  height: 14px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.14fr) minmax(210px, 0.82fr) minmax(
      330px,
      1.4fr
    );
  gap: 17px;
}
.home-appointments {
  grid-column: 1;
}
.home-potential {
  grid-column: 2;
}
.business-photo {
  grid-column: 3;
  margin: 0;
  position: relative;
  min-height: 275px;
  border-radius: 20px;
  overflow: hidden;
}
.business-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.business-photo:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #111c);
}
.business-photo figcaption {
  position: absolute;
  bottom: 23px;
  left: 23px;
  right: 23px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
  z-index: 1;
  font-size: 17px;
  letter-spacing: -0.6px;
}
.business-photo small {
  display: block;
  font-size: 10px;
  color: #fff9;
  margin-top: 5px;
  letter-spacing: 0;
}
.photo-label {
  font-size: 8px;
  letter-spacing: 0;
  border: 1px solid #fff6;
  padding: 5px 8px;
  border-radius: 20px;
  background: #3333;
  backdrop-filter: blur(10px);
}
.home-tasks {
  grid-column: 1;
  min-height: 300px;
}
.home-assistant {
  grid-column: 2/4;
  min-height: 300px;
}
.home-planning {
  grid-column: 1/3;
}
.home-groups {
  grid-column: 3;
}
.home-appointment {
  display: flex;
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #f2f2f4;
  min-height: 63px;
  padding: 9px 0;
  gap: 12px;
  text-align: left;
  white-space: normal;
}
.home-appointment:hover {
  background: #fafafa;
}
.home-time {
  font-size: 11px;
  min-width: 35px;
}
.home-appointment strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
}
.home-appointment small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}
.home-appointment .badge {
  font-size: 8px;
  padding: 4px 7px;
}
.badge {
  border-radius: 7px;
  font-size: 10px;
  font-weight: 450;
  background: #f5f4f5;
}
.badge.green {
  background: #eef6e8;
  color: #678357;
}
.badge.orange {
  background: #fbf2e3;
  color: #997536;
}
.card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #a1856a;
  padding-top: 20px;
}
.card-link svg {
  width: 13px;
  height: 13px;
}
.inline-select {
  font-size: 10px;
  border: 1px solid #f1eff0;
  background: #faf8f6;
  border-radius: 8px;
  padding: 6px 9px;
  min-height: 28px;
}
.potential-row {
  display: flex;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 10px;
  padding: 8px 0;
  gap: 12px;
  white-space: normal;
  justify-content: flex-start;
  min-height: 64px;
}
.potential-row > svg {
  width: 12px;
  color: #b8b7bd;
  margin-left: auto;
}
.soft-icon {
  width: 40px;
  height: 43px;
  border-radius: 13px;
  background: #f8f6f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #65616b;
}
.potential-row strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
}
.potential-row small {
  font-size: 9px;
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f6f5;
  padding: 12px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}
.task-row strong {
  font-size: 10px;
  font-weight: 550;
  line-height: 1.4;
  display: block;
}
.task-row small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.task-row > span svg {
  width: 16px;
}
.task-row button {
  font-size: 9px;
  min-height: 26px;
  padding: 5px 10px;
}
.card-footnote {
  font-size: 9px;
  color: #aaa3a1;
  display: block;
  margin-top: 18px;
}
.card-footnote svg {
  width: 12px;
  height: 12px;
  margin-right: 5px;
}
.assistant-state {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 5px;
  align-items: center;
}
.assistant-state i,
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #91b68b;
  display: inline-block;
}
.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 235px;
}
.chat-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  flex: 1;
  padding: 0 5px 15px;
}
.chat-bubble {
  font-size: 11px;
  line-height: 1.7;
  padding: 13px 17px;
  max-width: 75%;
  border-radius: 16px;
  background: #f7f5f3;
  align-self: flex-start;
  white-space: normal;
}
.chat-bubble.user {
  background: #eeedfd;
  align-self: flex-end;
}
.chat-suggestions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 3px 0 12px;
}
.suggestion {
  font-size: 9px;
  color: #78747c;
  min-height: 27px;
  padding: 5px 10px;
  border-color: #eeeaf0;
}
.assistant-form {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid #eeeef1;
  border-radius: 30px;
  box-shadow: 0 2px 10px #22222203;
}
.assistant-form input {
  border: 0;
  outline: none;
  background: none;
  flex: 1;
  min-width: 0;
  font-size: 10px;
  padding: 7px 10px;
}
.send-button {
  border: 0;
  background: #343337;
  color: #fff;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 7px;
}
.send-button svg {
  width: 14px;
}
.chat-caption {
  font-size: 8px;
  color: #aaa7ae;
  margin-top: 7px;
  text-align: center;
}
.planning-scroll {
  overflow-x: auto;
}
.planning-table {
  min-width: 565px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}
.planning-table th,
.planning-table td {
  border: 0;
  padding: 3px;
  font-size: 9px;
  text-align: center;
}
.planning-table th:first-child {
  color: transparent;
  text-align: left;
}
.planning-table th small {
  display: block;
  font-size: 8px;
  color: #9b9aa1;
  margin-top: 5px;
  font-weight: 400;
}
.planning-table .person {
  text-align: left;
  gap: 7px;
}
.planning-table .person strong {
  font-size: 10px;
}
.planning-table .person small {
  font-size: 8px;
  display: block;
  white-space: nowrap;
  color: #98969d;
  margin-top: 3px;
}
.shift-cell {
  width: 100%;
  border: 0;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 400;
  padding: 12px 4px;
  min-height: 38px;
  background: #f5f5f5;
}
.shift-0 {
  background: #eff7e9;
  color: #688256;
}
.shift-1 {
  background: #eef3fb;
  color: #567598;
}
.shift-2 {
  background: #fbf2e3;
  color: #ac864b;
}
.shift-off {
  color: #aaa;
}
.group-row {
  display: flex;
  width: 100%;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #f4f3f5;
  text-align: left;
  white-space: normal;
}
.group-row strong {
  display: block;
  font-size: 10px;
}
.group-row small {
  display: block;
  color: #97939a;
  font-size: 9px;
  margin-top: 6px;
  line-height: 1.5;
}
.group-row > svg {
  width: 12px;
  color: #b3adb5;
}
.group-row .soft-icon {
  width: 34px;
  height: 36px;
}
.group-row .badge {
  font-size: 9px;
  min-width: 24px;
  text-align: center;
}
.calm-empty {
  padding: 25px 0;
  color: #a19ba3;
  font-size: 12px;
  line-height: 1.9;
}
.ai-button {
  background: linear-gradient(130deg, #fff, #f0ecf8);
  border: 1px solid #e4dfee;
  color: #61586c;
  font-size: 11px;
}
.ai-button svg {
  width: 15px;
}
.nav-collapsed {
  --nav: 76px;
}
.nav-collapsed .sidebar {
  padding-inline: 13px;
}
.nav-collapsed .brand {
  padding: 0 13px;
}
.nav-collapsed .brand-word,
.nav-collapsed .sidebar-caption,
.nav-collapsed .nav-item span,
.nav-collapsed .nav-dot,
.nav-collapsed .nav-sub,
.nav-collapsed .sidebar-profile div {
  display: none;
}
.nav-collapsed .nav-main {
  margin-top: 35px;
}
.nav-collapsed .nav-item {
  justify-content: center;
  padding-inline: 8px;
}
.nav-collapsed .sidebar-profile {
  justify-content: center;
}
.nav-collapsed .brand {
  font-size: 0;
}
.capacity-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
  padding: 6px 0 22px;
  flex-wrap: wrap;
}
.capacity-legend i {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 1px solid #00000008;
}
.capacity-0 {
  background: #fcfcfc;
}
.capacity-1 {
  background: #eaf2fd;
}
.capacity-2 {
  background: #fff1df;
}
.capacity-3 {
  background: #eef5ea;
}
.slot.capacity-1:hover {
  background: #d5e6fc;
}
.slot.capacity-2:hover {
  background: #ffe4bd;
}
.slot.capacity-3:hover {
  background: #ddebd5;
}
.grouped-event {
  background: #f3efff;
  border: 1px solid #dad1ef;
  border-left: 3px solid #9a89be;
  z-index: 3;
}
.event {
  box-shadow: 0 2px 4px #00000006;
}
.setup-hero,
.competition-hero {
  padding: 34px;
  border-radius: 23px;
  background: linear-gradient(115deg, #f2ede6, #f0edf6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.setup-hero h2,
.competition-hero h2 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 13px 0;
}
.setup-hero p,
.competition-hero p {
  color: #8c8590;
  font-size: 12px;
}
.setup-progress {
  min-width: 180px;
}
.setup-progress strong {
  font-size: 50px;
  font-weight: 450;
}
.setup-progress strong span {
  font-size: 22px;
  color: #99909f;
}
.setup-progress small {
  display: block;
  color: #99909f;
  margin: 8px 0 15px;
}
.setup-progress progress {
  width: 100%;
  height: 5px;
  accent-color: #b0a7be;
}
.onboarding-list {
  display: grid;
  gap: 10px;
}
.onboarding-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.onboarding-row p {
  font-size: 11px;
  margin: 6px 0 0;
  color: var(--muted);
}
.step-number {
  font-size: 15px;
  color: #b8b2bb;
}
.step-number.done {
  color: #72975e;
}
.onboarding-row .soft-icon {
  width: 40px;
  height: 44px;
}
.commission-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #f2eef8;
  border-radius: 16px;
}
.commission-banner strong {
  font-size: 50px;
  letter-spacing: -2px;
}
.import-source {
  padding: 15px;
  border-radius: 10px;
  background: #f7f6f8;
  font-size: 12px;
  margin: 20px 0;
}
.import-table,
.plan-review {
  max-height: 430px;
  overflow: auto;
}
.camera-preview {
  max-height: 300px;
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.credential-display {
  padding: 25px;
  background: #f6f3f8;
  border-radius: 14px;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.credential-display small {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.credential-display strong {
  font-size: 28px;
  letter-spacing: 1px;
  font-weight: 500;
}
.operational-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.operational-stats strong {
  display: block;
}
.operational-stats small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.bar-chart {
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 20px;
}
.bar-chart > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  font-size: 10px;
  color: var(--muted);
}
.bar-chart i {
  width: 100%;
  max-width: 44px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#c9bfdb, #efecf6);
  max-height: 175px;
  min-height: 5px;
}
.competitor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.competitor-monogram {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f2ece6;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 23px;
  margin: 0 0 25px;
}
.competitor-card h2 {
  font-size: 23px;
  margin: 15px 0;
}
.competitor-card p {
  font-size: 12px;
  color: var(--muted);
}
.rating {
  font-size: 13px;
  color: #a18453;
  padding: 15px 0;
}
.rating span {
  color: var(--muted);
  font-size: 9px;
  display: block;
  margin-top: 8px;
}
.radius-control {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}
.radius-control strong {
  font-size: 30px;
}
.radius-control input {
  accent-color: #95899f;
}
.radius-control small {
  font-size: 10px;
  color: var(--muted);
}
.analysis-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.analysis-section p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.analysis-section.highlighted {
  background: #f4f0f7;
  border-radius: 13px;
  padding: 20px;
  margin: 20px 0;
}
.website-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 20px;
}
.website-address {
  font-size: 22px;
  margin: 25px 0 15px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.website-status > span {
  font-size: 10px;
  color: var(--muted);
  margin-right: 5px;
}
.website-status p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.website-chat .chat-panel {
  min-height: 570px;
}
.website-chat .chat-history {
  max-height: 470px;
}
.marketing-intro {
  margin: 25px 0 18px;
}
.marketing-intro h2 {
  font-size: 23px;
  margin: 10px 0;
}
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.seasonal-card {
  border-radius: 19px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
}
.seasonal-card.rose {
  background: #f9ecee;
}
.seasonal-card.peach {
  background: #f9eee2;
}
.seasonal-card.sage {
  background: #edf2e9;
}
.seasonal-card.lavender {
  background: #efedf6;
}
.template-symbol {
  display: block;
  margin-bottom: 22px;
}
.template-symbol svg {
  width: 24px;
  height: 24px;
}
.seasonal-card h3 {
  font-size: 19px;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 12px 0 5px;
  max-width: 180px;
}
.seasonal-card p {
  font-size: 10px;
  color: #938b96;
  line-height: 1.6;
  flex: 1;
}
.seasonal-card button {
  background: #ffffffb3;
  border-color: #fff;
  min-height: 30px;
  font-size: 10px;
  margin-top: 15px;
}
.channel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 28px;
  flex-wrap: wrap;
}
.channel-bar > span {
  font-size: 11px;
  margin-right: auto;
  color: var(--muted);
}
.template-body {
  white-space: pre-line;
  font-size: 12px;
  line-height: 1.9;
  padding: 20px;
  background: #f8f6f3;
  border-radius: 15px;
}
.mail-window {
  border: 1px solid #dcdce3;
  border-radius: 12px;
  background: #f4f4f6;
  box-shadow: 0 15px 35px #27263715;
  max-width: 600px;
  min-width: 300px;
  overflow: hidden;
  position: relative;
  margin: 10px auto 30px;
}
.mail-chrome {
  padding: 14px;
  background: linear-gradient(#f2f2f5, #e7e7ec);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #83818b;
}
.window-dots {
  color: #bab7c4;
  font-size: 11px;
  letter-spacing: 3px;
}
.mail-chrome svg {
  width: 15px;
}
.mail-meta {
  padding: 18px 20px;
  background: #fff;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  font-size: 9px;
  border-bottom: 1px solid #eee;
}
.mail-meta small {
  font-size: 7px;
  color: #aaa4b0;
  letter-spacing: 0.7px;
}
.mail-meta span {
  overflow-wrap: anywhere;
}
.mail-paper {
  margin: 20px;
  background: #f8f4ef;
  padding: 30px;
}
.mail-brand {
  font-family: Georgia, serif;
  letter-spacing: -0.5px;
  font-size: 23px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9d1c9;
  margin-bottom: 30px;
}
.mail-paper h2 {
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 400;
  margin: 15px 0 22px;
}
.mail-paper p {
  font-size: 11px;
  line-height: 1.85;
  white-space: pre-line;
}
.mail-paper small {
  font-size: 8px;
  line-height: 1.8;
  color: #9b8f86;
}
.mail-paper hr {
  border: 0;
  border-top: 1px solid #dfd7d0;
  margin: 35px 0 20px;
}
.mail-cta {
  display: inline-block;
  background: #2d2a28;
  color: #fff;
  font-size: 9px;
  padding: 13px 20px;
  margin-top: 22px;
  border-radius: 3px;
}
.mail-paper.minimal {
  background: #fff;
}
.mail-paper.minimal .mail-brand,
.mail-paper.minimal h2 {
  font-family: Inter, sans-serif;
}
.mail-paper.personal {
  background: #fff8ef;
}
.mail-paper.personal h2 {
  font-size: 22px;
  font-style: italic;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 20px;
  font-size: 10px;
  font-weight: 600;
}
.message-contact {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  font-size: 11px;
}
.message-bubble {
  background: #e9eef7;
  font-size: 12px;
  white-space: pre-line;
  line-height: 1.7;
  padding: 17px;
  margin-top: 30px;
  border-radius: 17px;
}
.whatsapp-preview {
  background: #f0ede7;
}
.whatsapp-preview .message-bubble {
  background: #dff3d4;
}
.message-time {
  font-size: 8px;
  color: #a09b9d;
  display: block;
  text-align: right;
  margin-top: 10px;
}
.campaign-layout {
  grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr);
  gap: 25px;
}
.modal.wide {
  width: min(1120px, 95vw);
  max-width: 1120px;
}
.email-preview {
  min-width: 0;
}
.mail-paper img {
  max-width: 100%;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.business-public {
  max-width: 1500px;
  margin: auto;
}
.business-site {
  background: #f8f5ef;
  color: #302c28;
  min-height: 100vh;
  border-radius: 20px;
  overflow: hidden;
}
.business-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 6vw;
  border-bottom: 1px solid #ded7ce;
}
.business-name {
  font-family: Georgia, serif;
  font-size: 26px;
  letter-spacing: -0.8px;
}
.business-header nav {
  display: flex;
  gap: 30px;
  font-size: 11px;
}
.business-header svg {
  width: 12px;
}
.business-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 6vw;
  padding: 75px 6vw 90px;
}
.business-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(45px, 5.2vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -3px;
  margin: 25px 0;
}
.business-hero p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 330px;
  color: #938878;
  margin-bottom: 30px;
}
.business-hero small {
  display: block;
  font-size: 9px;
  color: #a69a89;
  margin-top: 17px;
}
.business-hero figure {
  position: relative;
  margin: 0;
  height: 440px;
}
.business-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 140px 140px 12px 12px;
}
.business-hero figcaption {
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: #fff;
  font-size: 9px;
  background: #2224;
  padding: 5px 10px;
  border-radius: 20px;
}
.business-offers,
.business-team {
  padding: 65px 6vw;
  border-top: 1px solid #ded7ce;
}
.business-offers > h2,
.business-team > h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 20px 0 45px;
}
.offer-kind {
  font-size: 12px;
  margin: 35px 0 18px;
  letter-spacing: 0.5px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  padding: 28px;
  background: #ffffff8a;
  border: 1px solid #ebe5dc;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.offer-card h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.offer-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #958c81;
  flex: 1;
}
.offer-card small {
  font-size: 9px;
  color: #9c948b;
  line-height: 1.8;
}
.offer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 23px;
  font-size: 12px;
}
.offer-bottom small {
  display: block;
  margin-top: 4px;
}
.offer-bottom button {
  font-size: 10px;
}
.business-footer {
  padding: 30px 6vw;
  background: #302c28;
  color: #eee5db;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.theme-minimal {
  background: #fff;
  color: #242529;
}
.theme-minimal .business-hero img {
  border-radius: 12px;
}
.theme-minimal .business-hero h1,
.theme-minimal .business-offers > h2,
.theme-minimal .business-team > h2,
.theme-minimal .business-name {
  font-family: Inter, sans-serif;
  letter-spacing: -2px;
}
.theme-editorial {
  background: #f1f0ed;
}
.theme-editorial .business-hero {
  grid-template-columns: 1.1fr 0.9fr;
}
.theme-editorial .business-hero img {
  border-radius: 0;
}
.theme-editorial .business-hero h1 {
  font-style: italic;
}
.checkout-summary {
  background: #f5f3f7;
  padding: 22px;
  border-radius: 14px;
  margin: 24px 0;
}
.checkout-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 15px;
  padding-bottom: 15px;
}
.checkout-summary small {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.staff-login {
  max-width: 420px;
  margin: 9vh auto;
  display: grid;
  gap: 30px;
}
.staff-login .card {
  padding: 35px;
}
.staff-login h1 {
  margin-top: 28px;
}
.staff-login p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.staff-login > a:last-child {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.staff-portal {
  max-width: 1000px;
  margin: 5vh auto;
  display: grid;
  gap: 20px;
}
.staff-portal > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head,
.dialog-footer {
  background: #fafafbc9;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
dialog {
  border: 1px solid #fff;
  border-radius: 22px;
  box-shadow: 0 25px 100px #24233325;
}
dialog::backdrop {
  background: #3f3e4c24;
  backdrop-filter: blur(4px);
}
.sheet {
  border-radius: 24px 0 0 24px;
}
.notice {
  border-radius: 12px;
  background: #f6f4f8;
  border: 1px solid #ebe8ef;
  color: #81758d;
  font-size: 11px;
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid #e6e2e7;
  border-radius: 25px;
  font-size: 11px;
  line-height: 1.4;
  min-height: 38px;
}
.button.primary {
  background: #2c2b2e;
  color: #fff;
  border-color: #2c2b2e;
}
.toolbar input[type="date"] {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
}
.toolbar label {
  font-size: 11px;
  color: var(--muted);
}
.list-row .grow small,
.choice > span small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.section-space {
  margin-top: 25px;
}
.local-indicator {
  font-size: 10px;
}
.avatar.mini {
  width: 27px;
  height: 27px;
  font-size: 9px;
}
.avatar.round {
  width: 34px;
  height: 34px;
  font-size: 11px;
}
.calendar-surface {
  padding-top: 20px;
}
@media (min-width: 1700px) {
  .surface {
    padding: 20px 45px 40px;
  }
  .overview-grid {
    gap: 22px;
  }
  .card {
    padding: 26px;
  }
  .business-photo {
    min-height: 310px;
  }
  .home-appointment {
    min-height: 73px;
  }
  .home-appointment strong,
  .task-row strong,
  .group-row strong {
    font-size: 12px;
  }
  .home-appointment small,
  .task-row small,
  .group-row small {
    font-size: 10px;
  }
  .potential-row {
    min-height: 75px;
  }
  .home-tasks,
  .home-assistant {
    min-height: 335px;
  }
  .chat-panel {
    min-height: 260px;
  }
}
@media (max-width: 1250px) {
  :root {
    --nav: 185px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .surface {
    padding-inline: 20px;
  }
  .overview-grid {
    grid-template-columns: minmax(240px, 1.2fr) minmax(190px, 0.85fr) minmax(
        240px,
        1fr
      );
    gap: 12px;
  }
  .card {
    padding: 17px;
  }
  .home-appointment {
    gap: 8px;
  }
  .home-appointment .badge {
    font-size: 7px;
  }
  .home-heading h1 {
    font-size: 24px;
  }
  .business-photo figcaption {
    left: 16px;
    right: 16px;
    bottom: 19px;
    font-size: 14px;
  }
  .business-photo small {
    font-size: 9px;
  }
  .photo-label {
    font-size: 7px;
  }
  .task-row {
    gap: 7px;
    padding: 12px 8px;
  }
  .task-row > span {
    display: none;
  }
  .home-groups .soft-icon {
    display: none;
  }
  .seasonal-card {
    padding: 17px;
  }
  .seasonal-card h3 {
    font-size: 17px;
  }
  .nav-item {
    font-size: 11px;
  }
  .setup-link {
    font-size: 9px;
  }
  .planning-table {
    min-width: 540px;
  }
}
@media (max-width: 1050px) {
  :root {
    --nav: 76px;
  }
  .sidebar {
    padding-inline: 13px;
  }
  .sidebar .brand-word,
  .sidebar-caption,
  .sidebar .nav-item span,
  .nav-dot,
  .sidebar-profile div {
    display: none;
  }
  .sidebar .brand {
    padding: 0 13px;
  }
  .nav-main {
    margin-top: 35px;
  }
  .sidebar .nav-item {
    justify-content: center;
  }
  .nav-sub {
    display: none;
  }
  .sidebar-profile {
    justify-content: center;
  }
  .overview-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .home-appointments {
    grid-column: 1;
  }
  .home-potential {
    grid-column: 2;
  }
  .business-photo {
    grid-column: 1/3;
    height: 250px;
    min-height: 250px;
  }
  .business-photo img {
    object-position: center 60%;
  }
  .home-tasks {
    grid-column: 1;
  }
  .home-assistant {
    grid-column: 2;
  }
  .home-planning {
    grid-column: 1/3;
  }
  .home-groups {
    grid-column: 1/3;
  }
  .home-groups .soft-icon {
    display: inline-flex;
  }
  .chat-bubble {
    max-width: 100%;
  }
  .setup-link {
    display: none;
  }
  .seasonal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .operational-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .competitor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .website-layout {
    grid-template-columns: 1fr;
  }
  .website-chat .chat-panel {
    min-height: 340px;
  }
  .business-hero {
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 55px;
  }
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .business-hero figure {
    height: 370px;
  }
  .campaign-layout {
    grid-template-columns: 1fr;
  }
  .email-preview {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
}
@media (max-width: 700px) {
  body {
    padding: 0;
    background: #fafafb;
  }
  .app-frame {
    border: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  .sidebar {
    position: fixed;
    left: -230px;
    top: 0;
    height: 100vh;
    width: 210px;
    z-index: 80;
    background: #fbfbfded;
    transition: left 0.2s;
    display: flex;
  }
  .sidebar.open {
    left: 0;
  }
  .sidebar .brand-word,
  .sidebar .nav-item span,
  .sidebar-caption,
  .sidebar-profile div {
    display: block;
  }
  .sidebar .brand {
    padding: 0 8px;
  }
  .sidebar .nav-item {
    justify-content: flex-start;
  }
  .sidebar .nav-sub {
    display: block;
  }
  .sidebar-profile {
    justify-content: flex-start;
  }
  .nav-main {
    margin-top: 0;
  }
  .workspace {
    width: 100%;
  }
  .topbar {
    padding: 0 19px;
    height: 59px;
  }
  .surface {
    padding: 10px 16px 28px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .local-indicator {
    display: none;
  }
  .home-heading {
    margin: 10px 2px 24px;
  }
  .home-heading h1 {
    font-size: 25px;
  }
  .home-heading .eyebrow {
    font-size: 8px;
  }
  .home-heading p {
    font-size: 10px;
  }
  .overview-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .business-photo {
    height: 230px;
    flex: none;
    order: 2;
  }
  .home-appointments {
    order: 0;
  }
  .home-potential {
    order: 1;
  }
  .home-tasks {
    order: 3;
    min-height: auto;
  }
  .home-assistant {
    order: 4;
  }
  .home-planning {
    order: 5;
  }
  .home-groups {
    order: 6;
  }
  .card {
    padding: 21px;
    border-radius: 18px;
  }
  .home-appointment {
    min-height: 70px;
  }
  .home-appointment strong {
    font-size: 12px;
  }
  .home-appointment small {
    font-size: 10px;
  }
  .home-appointment .badge {
    font-size: 9px;
  }
  .home-potential .potential-row {
    min-height: 60px;
  }
  .home-potential .card-header {
    margin-bottom: 10px;
  }
  .task-row > span {
    display: block;
  }
  .task-row strong {
    font-size: 11px;
  }
  .task-row small {
    font-size: 10px;
  }
  .home-tasks .task-row {
    padding: 14px 12px;
  }
  .chat-panel {
    min-height: 300px;
  }
  .chat-history {
    max-height: 350px;
  }
  .chat-bubble {
    font-size: 12px;
  }
  .home-planning .planning-table {
    min-width: 600px;
  }
  .pagehead {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .pagehead .actions {
    flex-wrap: wrap;
  }
  .pagehead h1 {
    font-size: 25px;
  }
  .pagehead p {
    line-height: 1.7;
  }
  .setup-hero,
  .competition-hero {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .setup-hero h2,
  .competition-hero h2 {
    font-size: 25px;
  }
  .setup-progress {
    width: 100%;
  }
  .setup-progress strong {
    font-size: 35px;
  }
  .onboarding-row {
    padding: 17px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .onboarding-row .soft-icon {
    display: none;
  }
  .onboarding-row .grow {
    flex-basis: 65%;
  }
  .onboarding-row button {
    margin-left: 31px;
  }
  .onboarding-row > .badge {
    display: none;
  }
  .onboarding-row h2 {
    font-size: 14px;
  }
  .operational-stats {
    gap: 12px;
  }
  .operational-stats .card {
    padding: 17px;
  }
  .operational-stats .stat-value {
    font-size: 27px;
  }
  .operational-stats .stat-label {
    font-size: 10px;
  }
  .operational-stats small {
    font-size: 9px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .competitor-grid {
    grid-template-columns: 1fr;
  }
  .seasonal-card {
    min-height: 250px;
    padding: 18px;
  }
  .seasonal-card h3 {
    font-size: 19px;
  }
  .seasonal-card .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .seasonal-card p {
    font-size: 10px;
  }
  .channel-bar {
    gap: 7px;
  }
  .channel-bar button {
    padding: 8px 14px;
    font-size: 11px;
  }
  .campaign-layout {
    display: flex;
    flex-direction: column;
  }
  .mail-window {
    min-width: 0;
    margin: 0;
  }
  .mail-meta {
    padding: 15px;
    grid-template-columns: 40px 1fr;
  }
  .mail-paper {
    margin: 12px;
    padding: 22px;
  }
  .mail-paper h2 {
    font-size: 23px;
  }
  .mail-meta span {
    font-size: 8px;
  }
  .mail-meta strong {
    font-size: 9px;
  }
  .modal.wide {
    width: calc(100vw - 16px);
    max-height: 95vh;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .business-header {
    padding: 25px 22px;
    align-items: flex-start;
  }
  .business-name {
    font-size: 22px;
  }
  .business-header nav {
    gap: 13px;
    font-size: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 140px;
  }
  .business-hero,
  .theme-editorial .business-hero {
    grid-template-columns: 1fr;
    padding: 45px 24px;
  }
  .business-hero h1 {
    font-size: 55px;
    max-width: 350px;
  }
  .business-hero figure {
    height: 300px;
  }
  .business-hero img {
    border-radius: 110px 110px 8px 8px;
  }
  .business-offers,
  .business-team {
    padding: 40px 24px;
  }
  .business-offers > h2,
  .business-team > h2 {
    font-size: 33px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .business-footer {
    gap: 20px;
    flex-direction: column;
    padding: 30px 24px;
  }
  .business-site {
    border-radius: 0;
  }
  .staff-login {
    margin: 40px 20px;
  }
  .staff-portal {
    margin: 25px 16px;
  }
  .staff-portal .list-row {
    flex-wrap: wrap;
  }
  .calendar-toolbar .actions {
    flex-wrap: wrap;
  }
  .calendar-toolbar h1 {
    font-size: 25px;
  }
  .capacity-legend {
    font-size: 9px;
  }
  .nav-collapsed .sidebar .nav-item span {
    display: block;
  }
  .nav-collapsed .brand-word {
    display: block;
  }
  .nav-collapsed .nav-main {
    margin-top: 0;
  }
  .nav-collapsed .sidebar-profile div {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  button:active {
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .sidebar,
  .dialog-head,
  .dialog-footer {
    background: #fafafb;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  dialog::backdrop {
    backdrop-filter: none;
    background: #3338;
  }
}

.grow {
  flex: 1;
  min-width: 0;
}
.home-appointment,
.group-row {
  justify-content: flex-start;
}
.surface {
  margin: 0;
}
.sidebar {
  inset: auto;
  top: 12px;
}
.brand-word {
  font-size: 22px;
}
.home-time {
  flex-shrink: 0;
}
.home-potential .potential-row {
  justify-content: flex-start;
}
.sidebar-caption {
  white-space: nowrap;
  font-size: 7px;
}
.brand {
  font-size: 21px;
}
.brand-word {
  font-size: 21px;
}
.marketing-cards {
  display: none;
}
@media (max-width: 700px) {
  .sidebar {
    top: 0;
    bottom: 0;
    left: -230px;
    transform: none;
  }
  .sidebar.mobile-open {
    left: 0;
    transform: none;
    box-shadow: 20px 0 70px #17131c22;
  }
  .surface {
    margin: 0;
  }
  .nav-collapsed .brand-word {
    font-size: 21px;
  }
}

.brand-mark {
  width: 25px;
  height: 27px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  transform: skewY(-13deg);
}
.brand-mark i {
  width: auto;
  height: auto;
  border-radius: 1px;
}
.brand-word > span {
  font-weight: 400;
  color: #929198;
}
.laptop-base {
  height: 12px;
  width: calc(100% + 10px);
  margin: -29px -5px 18px;
  background: linear-gradient(#d3d3dc, #e9e9ef 45%, #b4b4bf);
  border-radius: 2px 2px 45% 45%;
  box-shadow: 0 7px 15px #26263313;
  position: relative;
}
.laptop-base:before {
  content: "";
  position: absolute;
  top: 0;
  left: 40%;
  width: 20%;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: #aaaab8;
}

.mobile-nav-scrim {
  display: none;
}
@media (max-width: 700px) {
  .sidebar.mobile-open + .mobile-nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #26232b18;
    z-index: 79;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
}
/* Supplied BetriebOS symbol: original pixels, used consistently on every surface. */
.logo-symbol {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
  flex: none;
  background: #fff;
  border-radius: 50%;
  transform: none;
}
.brand {
  gap: 9px;
}
.sidebar .brand {
  padding-inline: 3px;
}
.sidebar .brand-word {
  font-size: 20px;
}
.nav-collapsed .brand {
  padding: 0;
  justify-content: center;
}
.nav-collapsed .logo-symbol {
  width: 35px;
  height: 35px;
}
.staff-login > .brand {
  font-size: 23px;
}
.proposal-grid-wrap {
  overflow: auto;
  border: 1px solid #e9e7ed;
  border-radius: 16px;
}
.proposal-grid {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.proposal-grid thead th {
  background: #faf9fb;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 8px;
  text-align: center;
  border-bottom: 1px solid #ebe9ef;
}
.proposal-grid thead th:first-child {
  width: 140px;
  text-align: left;
  padding-left: 17px;
}
.proposal-grid thead th:last-child {
  width: 94px;
}
.proposal-grid th small,
.proposal-grid td small {
  display: block;
  color: #8b8492;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
}
.proposal-grid tbody th {
  font-size: 14px;
  font-weight: 500;
  padding: 19px 13px;
  border-bottom: 1px solid #f0edf3;
  text-align: left;
}
.proposal-grid td {
  padding: 12px 5px;
  text-align: center;
  border-bottom: 1px solid #f0edf3;
}
.proposal-grid .closed-day {
  background: #f6f5f7;
}
.proposal-grid .person {
  gap: 8px;
}
.proposal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  width: 100%;
  min-height: 70px;
  font-size: 14px;
  font-weight: 500;
  background: #f0f4f8;
  color: #405971;
  gap: 4px;
  padding: 10px 3px;
}
.proposal-cell span {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.proposal-cell.off {
  background: #f4f3f5;
  color: #9b949f;
  font-size: 12px;
  font-weight: 400;
}
.proposal-cell.changed {
  border-color: #b3a0d0;
  background: #f1ecf9;
  color: #6a518a;
  box-shadow: 0 0 0 1px #b3a0d01a;
}
.proposal-cell.needs-review {
  border-color: #c69b76;
  background: #fff6ec;
  color: #916134;
}
.proposal-cell.past {
  background: #faf9fb;
  color: #aba5af;
  font-size: 12px;
  font-weight: 400;
}
.proposal-cell:hover {
  filter: brightness(0.98);
}
.proposal-total {
  font-size: 14px;
  font-weight: 550;
  color: #514959;
}
.plan-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 3px 0 24px;
}
.plan-review-head h2 {
  font-size: 25px;
  font-weight: 550;
  margin: 10px 0;
  letter-spacing: -0.7px;
}
.plan-review-head p {
  font-size: 14px;
  color: #8b8492;
  margin: 0;
  line-height: 1.7;
}
.plan-review-head .segmented {
  margin: 0;
  flex: none;
}
.plan-review-head .segmented button {
  font-size: 12px;
}
.proposal-key {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 12px;
  color: #807886;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.proposal-key span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.proposal-key span:last-child {
  margin-left: auto;
}
.proposal-key i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.key-work {
  background: #dce5ef;
}
.key-change {
  background: #d6c6eb;
}
.key-off {
  background: #e9e7ec;
}
.proposal-alert {
  padding: 18px 22px;
  border: 1px solid #eeddc7;
  background: #fffaf4;
  border-radius: 14px;
  margin-top: 20px;
}
.proposal-alert h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
.proposal-alert p {
  font-size: 13px;
  line-height: 1.65;
  color: #99764b;
  margin: 8px 0;
}
.plan-ok {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  color: #66865f;
  padding: 16px 0 8px;
}
.plan-ok svg {
  width: 17px;
}
.proposal-footer-note {
  font-size: 12px;
  line-height: 1.7;
  color: #97909e;
  margin-top: 16px;
}
.proposal-mobile {
  display: none;
}
.plan-modal .dialog-body {
  padding: 28px;
}
.plan-modal .dialog-footer {
  padding: 20px 28px;
}
.plan-modal button {
  min-height: 38px;
}
.plan-modal .dialog-footer button {
  font-size: 14px;
  padding: 11px 22px;
}
.plan-modal .dialog-head h2 {
  font-size: 18px;
}
.studio-tabs {
  display: flex;
  max-width: 430px;
  margin: 0 0 28px;
}
.studio-tabs button {
  font-size: 14px;
  min-height: 42px;
  flex: 1;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: 32px;
  align-items: start;
}
.studio-editor {
  padding: 28px;
}
.studio-editor h2 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.studio-editor p {
  font-size: 13px;
  line-height: 1.8;
  color: #8d8593;
}
.studio-editor .field > span {
  font-size: 13px;
}
.studio-editor input,
.studio-editor textarea,
.studio-editor select {
  font-size: 14px;
  line-height: 1.6;
}
.studio-editor textarea {
  min-height: 130px;
}
.studio-editor button {
  font-size: 13px;
  min-height: 40px;
}
.channel-picker {
  display: flex;
  gap: 8px;
  margin: 23px 0;
}
.channel-picker button {
  background: #f7f6f8;
  border: 1px solid #ede9f0;
  flex: 1;
}
.channel-picker button.selected {
  background: #2c2a30;
  color: #fff;
  border-color: #2c2a30;
}
.studio-divider {
  border-top: 1px solid #efedf2;
  margin: 26px 0;
}
.studio-result {
  min-width: 0;
}
.studio-result .mail-window {
  margin-top: 0;
}
.studio-preview-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8c8494;
  margin: 0 4px 15px;
}
.studio-connection {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 23px;
  border: 1px solid #e9e4ef;
  border-radius: 16px;
  margin-top: 27px;
  background: #f6f3fa;
  color: #8b7e98;
  font-size: 13px;
  line-height: 1.75;
}
.studio-connection > span {
  flex: 1;
}
.studio-connection strong {
  color: #71637d;
  font-weight: 550;
}
.studio-connection > svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.studio-image-preview {
  padding: 24px;
}
.studio-image-preview > img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin: 23px 0 15px;
}
.image-format-landscape {
  aspect-ratio: 16/9;
}
.image-format-square {
  aspect-ratio: 1;
}
.image-format-portrait {
  aspect-ratio: 3/4;
}
.image-pending {
  border: 1px dashed #ded8e6;
  border-radius: 16px;
  min-height: 420px;
  background: linear-gradient(145deg, #f6f3f8, #faf9fb);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 24px 0 18px;
  padding: 30px;
}
.image-pending > svg {
  width: 35px;
  height: 35px;
  color: #b5a8c3;
  margin-bottom: 20px;
}
.image-pending h3 {
  font-size: 20px;
  max-width: 240px;
  line-height: 1.4;
  font-weight: 500;
  color: #7d708a;
}
.image-pending p {
  font-size: 14px;
  max-width: 270px;
  line-height: 1.8;
  color: #a499af;
}
.studio-library {
  margin-top: 36px;
}
.studio-library h2 {
  font-size: 18px;
}
.studio-drafts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.studio-drafts > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  white-space: normal;
  min-height: 145px;
  padding: 23px;
  gap: 13px;
}
.studio-drafts strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.studio-drafts small {
  font-size: 12px;
  color: #968b9e;
}
.studio-drafts img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}
.connection-empty {
  padding: 16px 10px;
  max-width: 500px;
}
.connection-empty > svg {
  width: 35px;
  height: 35px;
  color: #a899ba;
  margin-bottom: 20px;
}
.connection-empty h2 {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.connection-empty p {
  font-size: 14px;
  line-height: 1.8;
  color: #8c8196;
}
.connection-empty p.tiny {
  font-size: 12px;
}
@media (max-width: 900px) {
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .studio-result {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }
  .studio-drafts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .proposal-grid-wrap {
    display: none;
  }
  .proposal-mobile {
    display: grid;
    gap: 15px;
  }
  .proposal-mobile details {
    border: 1px solid #eae6ef;
    border-radius: 13px;
    padding: 16px;
  }
  .proposal-mobile summary {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
  }
  .proposal-mobile summary span {
    font-size: 13px;
    color: #988ba3;
  }
  .proposal-mobile details > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #f0edf3;
    padding: 10px 0;
    font-size: 13px;
  }
  .proposal-mobile details > div:first-of-type {
    margin-top: 15px;
  }
  .proposal-mobile button {
    min-width: 100px;
    white-space: nowrap;
  }
  .plan-review-head {
    display: block;
  }
  .plan-review-head .segmented {
    margin: 17px 0 0;
    max-width: 230px;
  }
  .plan-review-head h2 {
    font-size: 21px;
  }
  .plan-modal .dialog-body {
    padding: 20px;
  }
  .proposal-key {
    gap: 12px;
    font-size: 11px;
  }
  .proposal-key span:last-child {
    display: none;
  }
  .proposal-alert {
    padding: 16px;
  }
  .proposal-alert p {
    font-size: 12px;
  }
  .studio-editor {
    padding: 22px;
  }
  .studio-layout {
    gap: 22px;
  }
  .studio-connection {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .studio-connection > span {
    min-width: 210px;
  }
  .studio-connection > button {
    margin-left: 35px;
  }
  .studio-drafts {
    grid-template-columns: 1fr;
  }
  .image-pending {
    min-height: 280px;
  }
  .sidebar .brand-word {
    font-size: 20px;
  }
  .nav-collapsed .brand {
    justify-content: flex-start;
  }
  .studio-tabs button {
    font-size: 13px;
  }
  .home-groups .card-header h2 {
    font-size: 13px;
  }
}

.message-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
/* Image-led mail and explainable recommendations: Refero Aevi + existing shell. */
.mail-paper.mail-designed {
  padding: 0 !important;
  background: #fff;
  color: #231f20;
  overflow: hidden;
}
.mail-designed .mail-hero {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: #d5e0ea;
}
.mail-designed .mail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0;
  display: block;
}
.mail-hero > span {
  position: absolute;
  bottom: 18px;
  left: 24px;
  color: white;
  background: #231f20cc;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.mail-designed .mail-content {
  padding: 32px;
}
.mail-designed .mail-brand {
  font-size: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d5e0ea;
  padding-bottom: 20px;
}
.mail-designed h2 {
  font:
    400 32px/1.14 Georgia,
    serif !important;
  letter-spacing: -0.6px;
  margin: 14px 0 26px;
}
.mail-designed p {
  font-size: 15px;
  line-height: 1.8;
}
.mail-designed .mail-cta {
  background: #a3bfdb;
  color: #231f20;
  border-radius: 999px;
  padding: 16px 26px;
  font-size: 14px;
  margin: 24px 0;
}
.mail-designed .eyebrow {
  color: #54646e;
}
.recipient-reason {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 190px;
  text-align: right;
  font-size: 12px;
}
.recipient-reason strong {
  color: #516449;
  font-size: 12px;
}
.recipient-reason small {
  margin: 0 !important;
  color: #626670;
}
.recipient-reason > span {
  color: #544887;
}
[data-recipient-row] {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
[data-recipient-row] > span:not(.recipient-reason):not(.avatar) {
  flex: 1;
  min-width: 120px;
  overflow-wrap: anywhere;
}
#campaign-form .search {
  display: flex;
  align-items: center;
  gap: 10px;
}
#campaign-form .search input {
  padding-left: 0;
}
.discount-review {
  padding: 20px;
  background: #f6f5f9;
  border-radius: 16px;
  margin-top: 20px;
}
.discount-review label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-size: 14px;
}
.discount-review input {
  width: 75px;
  margin-left: auto;
}
.preview-person {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 20px;
}
.preview-person select {
  max-width: 220px;
}
.move-review {
  padding: 24px;
  border: 1px solid #d8dfd5;
  background: #f5f8f4;
  border-radius: 16px;
  margin: 20px 0;
}
.move-review > div {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid #dde4da;
  padding: 14px 0;
  font-size: 14px;
}
.move-review small {
  color: #71766f;
}
.move-review .check-row {
  margin-top: 20px;
}
.parallel-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 20px;
  font-size: 13px;
  color: #73757d;
}
.remove-person {
  font-size: 11px;
  padding: 4px 0;
  color: #8d5b47;
  background: none;
  border: 0;
  text-align: left;
  min-height: 26px;
}
@media (max-width: 680px) {
  .recipient-reason {
    max-width: none;
    text-align: left;
    margin-left: 44px;
    flex-basis: 100%;
  }
  .mail-designed .mail-content {
    padding: 22px;
  }
  .mail-designed h2 {
    font-size: 26px !important;
  }
  .move-review {
    padding: 16px;
  }
  .plan-modal .dialog-footer {
    flex-wrap: wrap;
  }
  .plan-modal .dialog-footer button {
    font-size: 12px;
    padding: 10px 12px;
  }
}
#campaign-form .search input {
  padding-left: 36px !important;
}
.mail-designed.minimal .mail-content {
  background: #fff;
}
.mail-designed.minimal h2 {
  font-family: Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 600 !important;
}
.mail-designed.personal .mail-content {
  background: #f2f1ef;
}
.mail-designed.personal .mail-cta {
  background: transparent;
  border: 1px solid #49369e;
  color: #49369e;
  border-radius: 3px;
}

/* Clear, compact automation controls. */
.auto-banner{margin-bottom:24px;background:linear-gradient(110deg,#f3f0fc,#f4f8f5);border:1px solid #e4dff1}.auto-banner h2{font-size:26px;margin:14px 0}.auto-banner p{max-width:760px;line-height:1.6}.booking-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:24px}.booking-month small{text-align:center;padding:10px}.booking-month button{min-width:0;padding:12px 4px}.slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.slot-grid button{white-space:normal}
.request-card{padding:24px 0;border-top:1px solid var(--line)}.request-card blockquote{margin:18px 0;background:#f6f4fa;border-radius:16px;padding:20px;line-height:1.7}.shift-cell small{display:block;font-size:10px;margin-top:4px;opacity:.8}
.booking-day-sheet{width:min(940px,96vw)!important;max-width:96vw!important}.booking-key{display:flex;gap:20px;margin:18px 0;font-size:12px;color:#699677}.booking-key span+span{color:#8c80a6}.booking-timeline{display:flex;overflow:auto;min-height:300px;border:1px solid var(--line);border-radius:18px}.booking-axis{width:48px;flex-shrink:0;background:#fff}.booking-axis span{position:absolute;left:6px;font-size:11px;color:var(--muted);transform:translateY(-50%)}.booking-lane{flex:1;min-width:140px;border-left:1px solid var(--line)}.booking-lane-head{height:46px;padding:14px;text-align:center;font-weight:600;background:#faf9fc;position:sticky;top:0;z-index:3}.booking-lane-day{position:relative;background:repeating-linear-gradient(to bottom,#f5f5f7 0,#f5f5f7 65px,#e7e5ea 65px,#e7e5ea 66px)}.booking-free{position:absolute;left:4px;right:4px;width:calc(100% - 8px);border:0;border-radius:0;padding:0;background:#e5f1e5;min-height:0}.booking-free:focus-visible{outline:2px solid #7862c6;z-index:4}.booking-busy{position:absolute;left:5px;right:5px;background:#e4dcf0;border-radius:7px;padding:6px 8px;overflow:hidden;font-size:11px;pointer-events:none}.booking-busy strong,.booking-busy span,.booking-busy small{display:block}.booking-busy span{margin-top:3px;font-weight:600}.booking-busy small{opacity:.7;margin-top:3px}.week-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px}.week-switch strong{font-size:13px;text-align:center}@media(hover:hover) and (pointer:fine){.booking-free:hover{background:#cce4cc;z-index:2;box-shadow:inset 0 0 0 1px #8bb98b}}@media(max-width:600px){.week-switch button{font-size:11px;padding:10px}.booking-busy{padding:4px;font-size:10px}.booking-lane{min-width:125px}}
.impact-summary{border-top:1px solid var(--line);padding-top:20px;margin-top:14px}.impact-summary>span{font-size:12px;color:var(--muted)}.impact-summary>strong{display:block;font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:8px;color:#577a60}.impact-summary p{margin:5px 0 12px}.impact-summary small{font-size:11px;color:var(--muted);line-height:1.5}.impact-hint{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#657969;background:#f3f7f2;border-radius:13px;padding:14px 18px;margin:16px 0;line-height:1.6}.impact-hint svg{width:18px;flex-shrink:0}.impact-hint small{display:block;font-size:10px;color:var(--muted)}.impact-hint .link,.impact-summary .link{padding:0;font-size:inherit;min-height:0}.impact-complete{display:flex!important;gap:14px;align-items:flex-start;max-width:min(540px,calc(100vw - 32px))!important;text-align:left!important}.impact-complete p{margin:6px 0;font-size:14px}.impact-complete small{display:block;font-size:11px;line-height:1.5;opacity:.8}.impact-check{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#dcefdc;color:#355e3e;transform:scale(.95);opacity:0;transition:transform 240ms cubic-bezier(.23,1,.32,1),opacity 240ms cubic-bezier(.23,1,.32,1)}.show .impact-check{transform:scale(1);opacity:1}@starting-style{.show .impact-check{transform:scale(.95);opacity:0}}@media(prefers-reduced-motion:reduce){.impact-check{transform:none!important;transition:opacity 150ms ease!important}}
.booking-free-band{position:absolute;left:4px;right:4px;width:calc(100% - 8px);min-height:0;background:#e5f1e5;border:0;border-radius:7px;color:#6e9575;display:flex;align-items:flex-start;padding:7px;font-size:10px}.booking-free{background:transparent;z-index:1}.booking-busy{z-index:2}.booking-free-band span{pointer-events:none}
/* Small effects, focused workspaces, and a complete alternate appearance. */
.impact-tag{display:inline-flex;align-items:center;max-width:100%;padding:3px 7px;border:0;border-radius:6px;background:#edf4ef;color:#50745d;font-size:10px;font-weight:500;line-height:1.5;white-space:normal;vertical-align:middle;margin:4px 6px 4px 0}
.home-tasks .impact-tag{margin-left:auto;max-width:130px}.impact-hint{font-size:11px;padding:8px 0;background:transparent;border:0}.home-top{align-items:stretch}.home-workspace{width:min(1180px,96vw);max-width:96vw;height:90dvh;max-height:94dvh;padding:0;border:1px solid var(--line);border-radius:24px;background:var(--white);color:var(--ink)}.home-workspace>.dialog-head{position:sticky;top:0;z-index:3;background:var(--white)}.home-workspace>.surface{padding:24px;overflow:visible;min-height:0}.event[draggable=true]{cursor:grab}.event.dragging{opacity:.4}.drop-time{position:absolute;left:0;right:0;z-index:10;border-top:2px solid #7664d9;background:#f0edff;color:#493690;font-size:12px;pointer-events:none;padding:3px}.impact-complete small{display:none}
@media(max-width:650px){.home-workspace{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.home-workspace>.surface{padding:16px}.top-actions .local-indicator{display:none}.home-tasks .impact-tag{max-width:100px}}
.calendar-drag-tools,.home-shortcuts{display:flex;align-items:center;gap:12px;margin:12px 0;flex-wrap:wrap}.calendar-drag-tools small{color:var(--muted)}
.home-tasks .task-row .impact-tag{font-size:10px;padding:3px 7px;min-height:0;flex-shrink:0}
.home-tasks .task-row .grow{min-width:0}
.home-tasks .task-row .grow .impact-tag{margin:6px 0 0;max-width:100%;font-size:10px}
.home-tasks .task-row>[data-v=task]{flex-shrink:0}

/* Der Nutzen sitzt am konkreten Arbeitsschritt, die Erklärung bleibt aufklappbar. */
.home-tasks .potenzial-erklaerung{margin:10px 0 0}
.home-tasks .potenzial-pille{font-size:11px}
.home-potential .potential-row{align-items:flex-start}
.home-potential .potential-row>span:nth-child(2){min-width:0;flex:1}
.home-potential .potential-row .potenzial-pille{margin-top:10px;font-size:11px;padding:4px;border-radius:999px}
.home-potential .potential-row .potenzial-pille mark{padding:4px 10px}
.pagehead+.potenzial-erklaerung{margin:0 0 24px}
.potenzial-erklaerung>p{color:var(--ink)}
.potenzial-pille{white-space:normal}

.zahlen-home{display:grid;gap:12px;margin-top:20px}
.zahlen-home>.zahlen-chip{width:100%;border-radius:14px;padding:14px 12px}
.zahlen-karten-hinweis{font-size:11px!important;color:var(--muted);line-height:1.5;margin:0}
.home-tasks .task-row{align-items:start}
.home-tasks .task-row .grow{min-width:0}
.home-tasks .task-row .zahlen-chip{margin-top:10px;padding:7px 10px;gap:8px;border-radius:14px}
.home-tasks .task-row .zahlen-chip strong{font-size:20px}
.home-tasks .task-row .zahlen-chip span{font-size:11px}
.home-tasks .task-row .zahlen-chip small{font-size:9px}
.home-tasks .task-row>button{align-self:center}
.pagehead+.zahlen-chip,.calendar-header+.zahlen-chip{margin-bottom:20px}
.impact-complete .impact-check{width:46px;height:46px;font-size:24px}
.impact-complete small{display:block;font-size:11px}
@media(max-width:600px){.home-tasks .task-row .zahlen-chip{width:100%}}
#toast[data-bewegung="false"] .impact-check{transition:none;transform:none;opacity:1}
.home-potential .zahlen-home{display:flex;flex-direction:column;gap:19px}
.home-potential .zahlen-home>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.home-potential .zahlen-home a{font-size:13px;color:var(--text);text-decoration:none}
.home-potential .zahlen-home a:hover{text-decoration:underline}
#main .zahlen-chip{display:inline-flex;width:fit-content;min-height:28px;padding:6px 9px;border-radius:999px;gap:5px}
#main .zahlen-chip strong{font-size:12px;line-height:1.25}
#main .zahlen-chip>span{font-size:11px;line-height:1.25}
.home-tasks .task-row .zahlen-chip{margin-top:7px}
.home-tasks .task-row .grow{min-width:0}
.next-action{background:none;border:0;padding:0;text-align:left;color:var(--text);font:inherit;font-size:13px;cursor:pointer;white-space:normal}
.next-action:hover{text-decoration:underline}
.zahlen-home>div>small{font-size:11px;line-height:1.45}
.home-assistant .chat-panel{height:auto;min-height:0;gap:20px}
.home-assistant .chat-history{min-height:0;max-height:320px;flex:0 1 auto;overflow:auto}
.home-assistant .chat-history:has(>[hidden]:only-child){display:none}
.assistant-briefing h3{font-size:24px;letter-spacing:-.035em;margin:12px 0}
.assistant-briefing>p{font-size:14px;line-height:1.7;max-width:65ch;color:var(--muted)}
.assistant-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}
.assistant-action-grid button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;background:#f8f7f5;border:1px solid var(--border);border-radius:16px;padding:18px;gap:8px;color:var(--text);cursor:pointer}
.assistant-action-grid button:hover{background:#f0f4ef;border-color:#a9c7af}
.briefing-number{font-size:11px;color:var(--muted)}
.assistant-action-grid strong{font-size:14px;line-height:1.4}
.assistant-action-grid small{font-size:12px;line-height:1.5;color:var(--muted)}
.briefing-link{font-size:11px;margin-top:auto;padding-top:12px;color:#2b654b}
.assistant-summary{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding-top:16px;border-top:1px solid var(--border)}
.impact-overview{margin-bottom:20px;background:#eff5ef;border-color:#d3e3d6}
.impact-overview h2{font-size:32px;margin:10px 0}
.impact-overview p{max-width:65ch;line-height:1.6}
.operational-stats .stat-value{color:#29624b}
@media(max-width:650px){.assistant-action-grid{grid-template-columns:1fr}.assistant-summary{flex-wrap:wrap}.assistant-briefing h3{font-size:22px}}

/* Der Assistent bleibt ein Gespräch; Aufgaben stehen in eigenen Karten. */
.home-assistant { align-self: start; }
.home-assistant .chat-panel { display: flex; flex-direction: column; min-height: 410px; }
.home-assistant .chat-history { flex: 1; min-height: 260px; max-height: 460px; overflow-y: auto; }
.erfolgs-pille { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #dceee2; color: #286546; }
.aufgaben-potenzial { font-size: 12px; padding: 6px 11px; }
.home-potential .zahlen-chip { flex-wrap: wrap; max-width: 100%; }
.home-potential .zahlen-chip span { min-width: 0; overflow-wrap: anywhere; }
.home-tasks .zahlen-chip { flex-wrap: wrap; max-width: 100%; }
.home-tasks .zahlen-chip span { min-width: 0; overflow-wrap: anywhere; }
