/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
 background:
  radial-gradient(circle at 50% 0%, rgba(20, 73, 150, 0.18), transparent 38%),

  linear-gradient(180deg, #071426 0%, #0a1930 45%, #07111f 100%);
min-height: 100vh;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header / hero section */
.hero {
 background:

  linear-gradient(rgba(2, 8, 23, 0.38), rgba(2, 8, 23, 0.62)),

  url("../images/demeos-marketing-background.png") center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
}
.demeos-brand {

  display: flex;

  justify-content: center;

  margin-bottom: 1rem;

}

.demeos-logo {

  display: block;

  width: 140px;

  max-width: 32vw;

  height: auto;

  border-radius: 18px;

}
.agent-label {

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: #f1d9b0;

  margin-bottom: 0.75rem;

}

.restaurant-name {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.cuisine-type {
  font-size: 1.25rem;
  font-style: normal;
  color: #f1d9b0;
  margin-bottom: 1.5rem;
}

.details p {
  margin: 0.25rem 0;
}

.details a {
  color: #f1d9b0;
}

.details a:hover {
  color: #fff;
}

/* Main content */
main {
  max-width: 820px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}
.business-profile-section {

  background: #ffffff;

  max-width: 820px;

  margin: 2rem auto;

  padding: 2rem;

  border-radius: 12px;

}

.business-profile-section h2 {

  color: #0b57e3;

  margin-bottom: 0.75rem;

}

.business-profile-intro {

  color: #555555;

  margin-bottom: 1.5rem;

  line-height: 1.6;

}

.business-profile-section label {

  display: block;

  margin-top: 1rem;

  margin-bottom: 0.4rem;

  font-weight: 600;

  color: #222222;

}

.business-profile-section input {

  width: 100%;

  box-sizing: border-box;

  padding: 0.85rem;

  border: 1px solid #cccccc;

  border-radius: 6px;

  font-size: 1rem;

}

.business-selector {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f7f9fc;
}

.business-selector-field {
  flex: 1;
}

.business-selector .business-selector-field label {
  margin-top: 0;
}

#business-selector {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #9db1cc;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font: inherit;
}

#add-business-btn {
  white-space: nowrap;
}
.demeos-primary-button {
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 6px;
  background-color: #064cff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.demeos-primary-button:hover {
  background-color: #0036c7;
}

.demeos-primary-button:active {
  transform: translateY(1px);
}

#save-business-profile-btn {
  margin-top: 1.5rem;
}

.assistant-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.assistant-section h2 {
  color: #064cff;
  margin-bottom: 0.75rem;
}

.assistant-intro {
  color: #555;
  margin-bottom: 1.25rem;
}

textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: #064cff;
  box-shadow: 0 0 0 3px rgba(6, 76, 255, 0.12);
}
#campaign-type {

  padding: 0.55rem 0.75rem;

  margin-top: 0.5rem;

  border: 1px solid #ccc;

  border-radius: 6px;

  background-color: #fff;

  color: #222;

  font-family: inherit;

  font-size: 0.95rem;

}
#generate-btn {
  display: block;
  margin-top: 1rem;
}

.recommendations-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d8e2f2;
}
.recommendations-section label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.recommendations-helper {
  margin-bottom: 0.75rem;
  color: #555;
}
.recommendations-section textarea {
  margin-bottom: 1rem;
}
.recommendations-status { color: #29466f; }
.recommendations-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.recommendation-card {
  padding: 1rem;
  border: 1px solid #d8e2f2;
  border-radius: 8px;
  background: #f7f9fc;
}
.recommendation-card h3, .recommendation-card p { margin-top: 0; }

.recommendation-card.is-rejected { opacity: 0.72; }

.recommendation-decision { font-weight: 700; }

.recommendation-detail { margin: 0 0 0.85rem; }
.recommendation-detail h4 {
  margin: 0 0 0.2rem;
  color: #493f38;
  font-size: 0.82rem;
}
.recommendation-detail p {
  margin-bottom: 0;
  white-space: pre-line;
}

/* Results area */
.results-area {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #d8e2f2;
  border-radius: 12px;
  background: #f7f9fc;
  box-shadow: 0 8px 24px rgba(7, 20, 38, 0.08);
}

.results-area h3 {
  color: #102a52;
  font-size: 1.5rem;
  line-height: 1.25;
}

.workspace-heading {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d8e2f2;
}

.workspace-eyebrow {
  margin-bottom: 0.2rem;
  color: #064cff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.campaign-result-panel h4 {
  margin-bottom: 0.55rem;
  color: #29466f;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

#results-content {
  max-height: 34rem;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #d8e2f2;
  border-radius: 8px;
  padding: 1.15rem;
  white-space: pre-wrap;
}

.campaign-versions {
  margin: 0 0 1rem;
}

.campaign-versions p {
  margin: 0 0 0.45rem;
  color: #5d5148;
  font-size: 0.8rem;
  font-weight: 700;
}

.campaign-versions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.campaign-version-button {
  padding: 0.4rem 0.7rem;
  border: 1px solid #cfc5bb;
  border-radius: 999px;
  background: #fff;
  color: #493f38;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
}

.campaign-version-button:hover,
.campaign-version-button.is-current {
  border-color: #744b2f;
  background: #744b2f;
  color: #fff;
}

.campaign-version-button.is-current {
  font-weight: 700;
}

.campaign-workspace-section + .campaign-workspace-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d8e2f2;
}

.campaign-workspace-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.campaign-workspace-section-header h5 {
  margin: 0 auto 0 0;
  color: #102a52;
  font-size: 1rem;
}

.campaign-section-copy,
.campaign-section-revise {
  padding: 0.3rem 0.65rem;
  border: 1px solid #9db1cc;
  border-radius: 5px;
  background: #fff;
  color: #17417d;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.campaign-section-copy:hover,
.campaign-section-revise:hover {
  border-color: #17417d;
  background: #edf3fb;
}

.campaign-workspace-section-content {
  white-space: pre-wrap;
}

.campaign-approval-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff1f1;
  color: #7a2e2e;
  font-size: 0.875rem;
  font-weight: 700;
}

.campaign-approval-status.is-approved,
.campaign-history-status.is-approved {
  color: #18713c;
}

.campaign-approval-status.is-approved {
  background: #eaf7ef;
}

.campaign-outcome {
  max-width: 36rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #d7e0ed;
  border-radius: 8px;
  background: #f8fafc;
}

.campaign-outcome h4,
.campaign-outcome p { margin-top: 0; }

.campaign-outcome label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-weight: 600;
  color: #102a52;
}

.campaign-outcome select,
.campaign-outcome textarea { width: 100%; }

.campaign-outcome button { margin-top: 0.75rem; }

#campaign-revision-controls {
  margin-top: 1.25rem;
}

#campaign-revision-controls label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 600;
  color: #102a52;
}

.revision-target-indicator {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.campaign-section-revise {
  margin-left: 0.35rem;
}

.campaign-revision-panel {
  padding: 1.1rem;
  border: 1px solid #d8e2f2;
  border-radius: 8px;
  background: #eef3fa;
}

#revision-instruction {
  min-height: 108px;
  background: #fff;
}

.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.campaign-actions button {
  min-height: 44px;
}

.campaign-revise-button {
  background-color: #17417d;
}

.campaign-revise-button:hover {
  background-color: #102f5d;
}

.demeos-secondary-button {
  padding: 0.75rem 1.15rem;
  border: 1px solid #9db1cc;
  border-radius: 6px;
  background: #fff;
  color: #17417d;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.demeos-secondary-button:hover {
  border-color: #17417d;
  background: #edf3fb;
}

/* Active marketing work and campaign history */
.active-marketing-work,
.customer-participation-results,
.campaign-history {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #eee;
}

.active-marketing-work h3,
.customer-participation-results h3,
.campaign-history h3 {
  color: #064cff;
  margin-bottom: 0.75rem;
}

#campaign-history-empty {
  color: #555;
}

.active-marketing-work-helper,
#customer-participation-results-empty,
.customer-participation-results-helper,
#active-marketing-work-empty {
  color: #555;
}

.active-marketing-work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid #cbd9ec;
  border-radius: 8px;
  background: #f8fbff;
}

.active-marketing-work-item h4,
.active-marketing-work-item p { grid-column: 1; }

.active-marketing-work-purpose { color: #394657; }

.active-marketing-work-status {
  color: #17417d;
  font-size: 0.9rem;
  font-weight: 700;
}

.active-marketing-work-item button {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid #17417d;
  border-radius: 6px;
  background: #17417d;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.active-marketing-work-item button:hover { background: #102f5c; }

#customer-participation-results-list { display: grid; gap: 0.75rem; }

.customer-participation-result {
  padding: 1rem;
  border: 1px solid #cbd9ec;
  border-radius: 8px;
  background: #f8fbff;
}

.customer-participation-result h4 { color: #102a52; }
.customer-participation-count { margin-top: 0.4rem; color: #17417d; font-weight: 700; }
.customer-participation-latest { margin-top: 0.25rem; color: #526274; font-size: 0.9rem; }

.campaign-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}

.campaign-history-item h4 {
  min-width: 0;
  color: #102a52;
  line-height: 1.35;
}

.campaign-history-item button {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  min-width: 76px;
  min-height: 44px;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid #9db1cc;
  border-radius: 6px;
  background: #fff;
  color: #17417d;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
}

.campaign-history-item button:hover {
  border-color: #17417d;
  background: #edf3fb;
}

.campaign-history-details {
  grid-column: 1;
  color: #555;
  font-size: 0.9rem;
}

.campaign-history-continuity {
  color: #29466f;
  font-size: 0.82rem;
  font-weight: 600;
}

.campaign-history-status {
  grid-column: 1;
  color: #7a2e2e;
  font-size: 0.9rem;
  font-weight: 700;
}

.campaign-history-preview {
  grid-column: 1;
  margin-top: 0.25rem;
  color: #394657;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  color: #777;
  font-size: 0.85rem;
}

footer a { color: #29466f; }

.customer-main { max-width: 920px; }
.customer-experience { background: #fff; border-radius: 18px; padding: 2rem; }
.customer-work-list { display: grid; gap: 1rem; margin-top: 1rem; }
.customer-work-card { border: 1px solid #d9e1eb; border-radius: 14px; padding: 1.25rem; }
.customer-work-location { color: #526274; font-weight: 600; margin-bottom: 0.75rem; }
.customer-work-content { margin-bottom: 1rem; white-space: pre-wrap; }
.customer-participation-result, .customer-result-signal { color: #17603a; font-weight: 600; margin-top: 0.5rem; }

/* Responsive tweaks */

/* Marketing Agent workspace */
body { background: #f3f5f8; color: #172337; }
.workspace-header {
  min-height: 92px; padding: 1rem 2rem; display: flex; align-items: center; gap: 1.25rem;
  background: #081f3d; border-bottom: 3px solid #c9a44c; color: #fff;
}
.workspace-header .demeos-brand { width: auto; margin: 0; padding-right: 1.25rem; border-right: 1px solid rgba(255,255,255,.18); }
.workspace-header .demeos-logo { width: 118px; height: auto; margin: 0; }
.workspace-identity p, .workspace-identity h1 { margin: 0; }
.workspace-header .agent-label { color: #d8bb70; font-size: .7rem; letter-spacing: .18em; }
.workspace-header .restaurant-name { color: #fff; font-size: 1.45rem; line-height: 1.2; }
.workspace-header .cuisine-type { color: #b8c5d6; font-size: .8rem; }
.workspace-shell { max-width: 1500px; min-height: calc(100vh - 160px); margin: 0 auto; display: grid; grid-template-columns: 245px minmax(0, 1fr); }
.workspace-sidebar { background: #0c2b52; padding: 2rem 1rem; }
.workspace-navigation { display: grid; gap: .35rem; position: sticky; top: 1rem; }
.workspace-nav-item { padding: .85rem 1rem; border: 0; border-left: 3px solid transparent; background: transparent; color: #d7e0ea; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.workspace-nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.workspace-nav-item.is-active { border-left-color: #d2ad58; background: rgba(255,255,255,.1); color: #fff; }
.workspace-nav-link { display: block; text-decoration: none; }
.workspace-menu-toggle { display: none; }
.workspace-main { min-width: 0; padding: 2.25rem clamp(1rem, 3vw, 3rem) 4rem; }
.workspace-shell .workspace-main { max-width: none; width: 100%; margin: 0; }
.workspace-view[hidden] { display: none; }
.view-heading { margin-bottom: 1.5rem; }
.view-heading h2 { margin: .15rem 0 .4rem; color: #102a52; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.view-heading > p:last-child { max-width: 680px; margin: 0; color: #5a6879; }
.workspace-eyebrow, .card-kicker { margin: 0; color: #87691e; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.dashboard-card, .content-card, .results-area { padding: 1.5rem; border: 1px solid #dce2ea; border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(13,37,68,.06); }
.dashboard-card-wide { grid-column: 1 / -1; }
.dashboard-card h3, .content-card h3 { margin: .3rem 0 .75rem; color: #102a52; }
.recommendation-summary { border-top: 4px solid #c9a44c; }
.quick-create-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.quick-create-actions button { min-height: 112px; padding: 1rem; border: 1px solid #cad4e0; border-radius: 9px; background: #f8fafc; color: #102a52; text-align: left; cursor: pointer; }
.quick-create-actions button:hover { border-color: #b28a31; background: #fffaf0; }
.quick-create-actions strong, .quick-create-actions span { display: block; }
.quick-create-actions span { margin-top: .4rem; color: #5a6879; font-size: .85rem; font-weight: 400; }
.compact-list { display: grid; gap: .55rem; margin: .8rem 0; }
.compact-list-item { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #e5e9ef; }
.compact-list-item span { color: #5a6879; font-size: .86rem; text-align: right; }
.text-button { padding: .35rem 0; border: 0; background: none; color: #174a87; font-weight: 700; cursor: pointer; }
.content-card { margin-bottom: 1.25rem; }
.assistant-section { max-width: none; }
.assistant-section label { display: block; margin-top: 1rem; color: #102a52; font-weight: 700; }
.business-profile-section { max-width: none; margin: 0; }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.profile-fields label { display: block; margin-bottom: .4rem; }
.profile-fields input { width: 100%; margin: 0; box-sizing: border-box; }
.campaign-workspace-overlay { margin-top: 1.5rem; }
.campaign-results #campaign-results-list { display: grid; gap: .75rem; }
.result-record { padding: 1rem; border: 1px solid #dce2ea; border-radius: 8px; }
.result-record h4, .result-record p { margin: 0 0 .35rem; }
footer { background: #081f3d; color: #c4cfdb; text-align: center; }

/* Owner-facing Business Results */
.business-results-body { background: #f3f5f8; }
.business-results-header { justify-content: space-between; }
.business-results-title { flex: 1; }
.back-to-agent { color: #f0d58e; font-weight: 700; text-decoration: none; white-space: nowrap; }
.back-to-agent:hover { color: #fff; }
.business-results-main { width: min(1120px, calc(100% - 2rem)); min-height: calc(100vh - 184px); margin: 0 auto; padding: 2.5rem 0 4rem; }
.business-results-intro { padding-bottom: 1.5rem; border-bottom: 1px solid #d6dde7; }
.business-results-intro h2 { margin: .2rem 0 .5rem; color: #102a52; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.business-results-intro p:last-child { max-width: 720px; color: #566579; }
.business-results-status { margin: 1.5rem 0; color: #566579; }
.business-results-evidence { margin-top: 1.75rem; }
.business-results-evidence > h3 { margin: 0 0 .4rem; color: #102a52; font-size: 1.35rem; }
.business-results-list { display: grid; gap: 1.25rem; }
.demeos-understanding { padding: 1.5rem; border: 1px solid #cad7e8; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(16, 42, 82, .06); }
.demeos-understanding .workspace-eyebrow { margin-bottom: .35rem; }
.demeos-understanding-intro { max-width: 780px; margin: 0; color: #45566d; line-height: 1.6; }
.demeos-understanding-caution { max-width: 780px; margin: .8rem 0 0; padding-left: .8rem; border-left: 3px solid #e0a229; color: #45566d; font-weight: 600; }
.demeos-understanding-state { display: inline-block; margin: 1.25rem 0; padding: .4rem .7rem; border-radius: 999px; background: #e9f2ff; color: #174a82; font-weight: 700; }
.demeos-understanding-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.demeos-understanding-summary > div { padding: 1rem; border-radius: 10px; background: #f3f6fa; }
.demeos-understanding-summary dt { margin-bottom: .65rem; color: #102a52; font-weight: 700; }
.demeos-understanding-summary dd { display: flex; align-items: baseline; gap: .4rem; margin: .4rem 0 0; color: #566579; }
.demeos-understanding-summary dd strong { color: #102a52; font-size: 1.35rem; }
.business-result-card { padding: 1.5rem; border: 1px solid #d8e0e9; border-top: 4px solid #c9a44c; border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(13,37,68,.06); }
.business-result-card h3 { margin: 0; color: #102a52; }
.business-result-meta { margin: .3rem 0 1.2rem; color: #647184; font-size: .9rem; font-weight: 600; }
.business-result-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.business-result-section { padding: 1rem; border-radius: 8px; background: #f5f7fa; }
.business-result-section h4 { margin: 0 0 .5rem; color: #29466f; }
.business-result-section p { margin: .25rem 0; color: #354356; }
.business-results-zero { margin-top: 1.5rem; padding: 2.5rem; border: 1px dashed #bdc9d8; border-radius: 12px; background: #fff; text-align: center; }
.business-results-zero h3 { color: #102a52; }
.business-results-zero p { margin-top: .5rem; color: #647184; }
.recommendation-decisions { padding-top: 1.75rem; border-top: 1px solid #d6dde7; }
.recommendation-decisions-helper { margin: 0 0 1rem; max-width: 720px; color: #566579; }
.recommendation-decisions-empty { padding: 1.25rem; border: 1px dashed #bdc9d8; border-radius: 12px; background: #fff; color: #647184; text-align: center; }
.recommendation-decisions-list { display: grid; gap: 1rem; }
.recommendation-decision-card { padding: 1.25rem; border: 1px solid #d8e0e9; border-left: 4px solid #29466f; border-radius: 10px; background: #fff; }
.recommendation-decision-card h4 { margin: 0 0 .65rem; color: #102a52; }
.recommendation-decision-card p { margin: .3rem 0; color: #354356; }

@media (max-width: 900px) {
  .workspace-shell { grid-template-columns: 1fr; }
  .workspace-sidebar { padding: .75rem 1rem; }
  .workspace-menu-toggle { display: block; width: 100%; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: transparent; color: #fff; text-align: left; font-weight: 700; }
  .workspace-navigation { display: none; position: static; margin-top: .5rem; }
  .workspace-navigation.is-open { display: grid; }
  .workspace-nav-item { border-left: 0; }
  .workspace-nav-item.is-active { border-left: 3px solid #d2ad58; }
}
@media (max-width: 650px) {
  .workspace-header { padding: .8rem 1rem; }
  .workspace-header .demeos-logo { width: 96px; }
  .workspace-main { padding: 1.4rem .9rem 3rem; }
  .overview-grid, .profile-fields, .quick-create-actions { grid-template-columns: 1fr; }
  .dashboard-card-wide { grid-column: auto; }
  .dashboard-card, .content-card, .results-area { padding: 1.1rem; }
  .business-selector { align-items: stretch; flex-direction: column; }
  #add-business-btn { width: 100%; }
  .business-results-header { align-items: flex-start; flex-wrap: wrap; }
  .business-results-header .workspace-identity { order: 2; flex-basis: 100%; }
  .business-result-details { grid-template-columns: 1fr; }
  .demeos-understanding-summary { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .business-selector {
    align-items: stretch;
    flex-direction: column;
  }
  .restaurant-name {
    font-size: 1.8rem;
  }

  .assistant-section {
    padding: 1.25rem;
  }

  main {
    margin: 1.25rem auto;
    padding: 0 0.75rem;
  }

  .business-profile-section {
    padding: 1.25rem;
  }

  .results-area {
    padding: 1rem;
  }

  .campaign-revision-panel {
    padding: 0.9rem;
  }

  .campaign-actions button {
    flex: 1 1 100%;
    width: 100%;
  }

  .campaign-history-item {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.85rem;
  }
}

@media (max-width: 480px) {
  .workspace-shell .workspace-main { margin: 0; padding: 1.4rem .9rem 3rem; }
}

/* DEMEOS Customer Interface */
.customer-body { min-height: 100vh; background: #f4f1e9; color: #11243f; }
.customer-header { position: relative; z-index: 2; border-bottom: 1px solid rgba(210,173,88,.45); background: #071b35; }
.customer-header-inner { width: min(1180px, calc(100% - 3rem)); min-height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.customer-brand { display: block; }
.customer-brand .demeos-logo { width: 116px; max-width: none; border-radius: 12px; }
.customer-work-link { padding: .55rem 0; border-bottom: 1px solid #d2ad58; color: #e9d18d; font-size: .82rem; font-weight: 700; text-decoration: none; }
.customer-work-link:hover, .customer-work-link:focus-visible { color: #fff; }
.customer-intention { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(5rem, 9vw, 8rem); background: radial-gradient(circle at 78% 20%, rgba(25,112,232,.24), transparent 34%), linear-gradient(145deg, #031124 0%, #08284e 54%, #06182e 100%); color: #f5f8fc; }
.customer-intention::after { position: absolute; z-index: -1; right: -8rem; bottom: -17rem; width: 38rem; height: 38rem; border: 1px solid rgba(91,157,255,.2); border-radius: 50%; box-shadow: inset 0 0 80px rgba(31,111,225,.12), 0 0 90px rgba(17,94,205,.1); content: ""; transform: perspective(600px) rotateX(68deg); }
.customer-intention-glow { position: absolute; z-index: -1; top: 22%; left: 6%; width: 1px; height: 55%; background: #82b7ff; box-shadow: 0 0 24px 4px rgba(56,135,255,.55); opacity: .7; }
.customer-intention-inner { width: min(980px, 100%); margin: auto; }
.customer-intention .customer-eyebrow { color: #e0c16f; }
.customer-stage-label { margin-top: .85rem; color: #8fb3dd; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.customer-greeting { margin-top: 1rem; color: #b8c9dc; font-size: clamp(1rem, 2vw, 1.2rem); }
.customer-intention h1 { max-width: 800px; margin: .25rem 0 .65rem; font-family: Georgia, serif; font-size: clamp(2.45rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.customer-trust-copy { color: #d7e2ed; font-size: clamp(1rem, 2vw, 1.2rem); }
.customer-intention-form { margin-top: 2.3rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(142,184,239,.28); border-top-color: #c6a452; background: rgba(4,19,38,.72); box-shadow: 0 24px 60px rgba(0,5,16,.32), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.customer-intention-form fieldset { border: 0; }
.customer-intention-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.customer-intention-option { min-height: 58px; padding: .85rem 1rem; border: 1px solid #53749c; border-radius: 3px; background: linear-gradient(145deg, rgba(22,57,94,.86), rgba(8,33,62,.9)); color: #edf4fb; font: inherit; font-weight: 650; text-align: left; cursor: pointer; box-shadow: 0 6px 14px rgba(0,7,20,.18); }
.customer-intention-option:hover { border-color: #81b3ef; background: #123f73; }
.customer-intention-option[aria-pressed="true"] { border-color: #e2c36e; background: linear-gradient(145deg, #174f8b, #0b315d); color: #fff; box-shadow: inset 4px 0 #d2ad58, 0 0 20px rgba(53,129,227,.2); }
.customer-intention-detail { margin-top: 1.35rem; }
.customer-intention-detail label { display: block; margin-bottom: .45rem; color: #eef4fa; font-weight: 700; }
.customer-intention-detail textarea { display: block; width: 100%; resize: vertical; padding: .9rem 1rem; border: 1px solid #6886a8; border-radius: 3px; background: rgba(244,248,252,.97); color: #10243e; font: inherit; line-height: 1.5; }
.customer-context-actions { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.customer-location-button, .customer-continue-button { min-height: 46px; padding: .7rem 1rem; border-radius: 3px; font: inherit; font-weight: 800; cursor: pointer; }
.customer-location-button { border: 1px solid #7794b4; background: transparent; color: #dce8f4; }
.customer-continue-button { min-width: 145px; border: 1px solid #ebcf7e; background: #d2ad58; color: #071b35; }
.customer-location-button:hover { background: rgba(116,164,221,.12); }
.customer-continue-button:hover { background: #e8c96e; }
.customer-context-status { min-height: 1.5em; margin-top: .4rem; color: #c8d6e5; font-size: .86rem; }
.customer-intention-status { color: #e4cb84; }
.customer-understanding { margin-top: 2.3rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(142,184,239,.35); border-top: 3px solid #d2ad58; background: linear-gradient(145deg, rgba(8,35,68,.97), rgba(4,20,40,.97)); box-shadow: 0 24px 60px rgba(0,5,16,.32); }
.customer-understanding[hidden], .customer-clarification[hidden], .customer-understanding-actions[hidden], .customer-intention-form[hidden] { display: none; }
.customer-understanding h2 { margin: .4rem 0 1rem; color: #fff; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; }
.customer-understanding-summary { max-width: 760px; padding: 1.2rem 1.35rem; border-left: 3px solid #6fa9ef; background: rgba(240,246,252,.08); color: #f4f7fb; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.customer-understanding-trust { margin-top: 1.25rem; color: #bdccdc; font-size: .92rem; line-height: 1.6; }
.customer-understanding-actions { display: flex; gap: .8rem; margin-top: 1.4rem; }
.customer-understanding-actions button, .customer-clarification button { min-height: 46px; padding: .7rem 1.1rem; border: 1px solid #e1c36f; border-radius: 3px; background: #d2ad58; color: #071b35; font: inherit; font-weight: 800; cursor: pointer; }
#customer-understanding-change { border-color: #829bb8; background: transparent; color: #eef5fc; }
.customer-clarification { margin-top: 1.25rem; }
.customer-clarification label { display: block; margin-bottom: .5rem; color: #fff; font-weight: 700; }
.customer-clarification input { width: min(620px, 100%); min-height: 46px; padding: .7rem .85rem; border: 1px solid #6886a8; background: #fff; color: #10243e; font: inherit; }
.customer-clarification button { margin: .7rem 0 0; display: block; }
.customer-understanding-status { min-height: 1.5em; margin-top: 1rem; color: #e4cb84; font-weight: 700; }
.customer-intention-option:focus-visible, .customer-location-button:focus-visible, .customer-continue-button:focus-visible, .customer-intention-detail textarea:focus-visible, .customer-work-link:focus-visible, .customer-participation-button:focus-visible, .customer-understanding button:focus-visible, .customer-understanding input:focus-visible, .customer-understanding h2:focus-visible, .customer-feedback :focus-visible { outline: 3px solid #8fc1ff; outline-offset: 3px; }
.customer-journey-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.customer-journey-nav a { color: #d7e0e9; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.customer-journey-nav a:hover, .customer-journey-nav a:focus { color: #e5c777; }
.customer-journey-nav a:focus-visible, .customer-brand:focus-visible { outline: 3px solid #8fc1ff; outline-offset: 4px; }
.customer-journey-nav a.is-current { padding-bottom: .3rem; border-bottom: 2px solid #d2ad58; color: #f2da99; }
.customer-main { max-width: none; margin: 0; padding: 0; }
.customer-introduction { min-height: 490px; padding: clamp(5rem, 10vw, 8rem) max(1.5rem, calc((100vw - 1180px) / 2)); color: #fff; background: linear-gradient(90deg, rgba(4,20,40,.98) 0%, rgba(6,28,55,.91) 48%, rgba(7,25,48,.54) 100%), url("../images/demeos-marketing-background.png") center/cover; }
.customer-eyebrow, .customer-step, .customer-message-label { color: #a77d27; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.customer-introduction .customer-eyebrow { color: #e0c16f; }
.customer-introduction h1 { max-width: 700px; margin: .7rem 0 1.2rem; font-family: Georgia, serif; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.03; }
.customer-introduction > p:not(.customer-eyebrow) { max-width: 650px; color: #cfdae6; font-size: clamp(1rem, 2vw, 1.2rem); }
.customer-intro-action { display: inline-block; margin-top: 2rem; padding-bottom: .3rem; border-bottom: 1px solid #d5b45e; color: #f2da99; font-weight: 700; text-decoration: none; }
.customer-path { position: relative; z-index: 1; display: grid; width: min(1180px, calc(100% - 3rem)); margin: -54px auto 1.5rem; grid-template-columns: repeat(4, 1fr); border-top: 4px solid #c8a24a; background: #fff; box-shadow: 0 20px 55px rgba(6,25,48,.13); }
.customer-path a { min-width: 0; padding: 1.35rem 1.4rem; border-right: 1px solid #e0e4e9; color: #102a52; text-decoration: none; }
.customer-path a:last-child { border-right: 0; }
.customer-path a:hover, .customer-path a:focus { background: #f8f5ed; }
.customer-path span { display: block; color: #a77d27; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.customer-path strong { display: block; margin: .25rem 0; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.customer-path small { display: block; color: #667284; font-size: .78rem; line-height: 1.45; }
.customer-experience { width: min(1180px, calc(100% - 3rem)); margin: 0 auto 5rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 3px; background: #fff; box-shadow: 0 20px 55px rgba(6,25,48,.1); }
.customer-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid #dde2e8; }
.customer-section-heading h2 { margin-top: .3rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 500; }
.customer-section-heading > p { max-width: 300px; color: #667284; text-align: right; }
.customer-work-status { color: #687689; }
.customer-work-list { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
.customer-work-card { overflow: hidden; border: 1px solid #d9dfe7; border-top: 4px solid #c8a24a; border-radius: 2px; background: #fff; box-shadow: 0 8px 25px rgba(16,42,82,.06); }
.customer-work-context { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 1.75rem; background: #f7f8fa; }
.customer-business-name { margin: .25rem 0 0; color: #102a52; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.customer-work-location { margin: .15rem 0 0; color: #637185; font-size: .9rem; }
.customer-approved-mark { align-self: center; padding: .35rem .65rem; border: 1px solid #d5bd7e; color: #73591c; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.customer-message { padding: clamp(1.5rem, 4vw, 2.25rem) 1.75rem; }
.customer-message-label { margin-bottom: .75rem; }
.customer-work-content { max-width: 790px; margin: 0; color: #28384d; font-size: 1.05rem; line-height: 1.8; white-space: pre-wrap; }
.customer-choice { padding: 1.5rem 1.75rem; border-top: 1px solid #e1e5ea; background: #f8f6f0; }
.customer-choice-title, .customer-participation-title { margin: .25rem 0 .65rem; color: #102a52; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.customer-package-region { padding: 1.1rem 1.25rem; border: 1px dashed #b9c3cf; background: #fff; }
.customer-package-empty { margin: 0; color: #667284; }
.customer-participation { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 1.75rem; background: #0b274b; }
.customer-participation .customer-step { color: #d6b761; }
.customer-participation-title { margin-bottom: .25rem; color: #fff; }
.customer-participation-copy { max-width: 650px; margin: 0; color: #cbd6e1; font-size: .88rem; line-height: 1.55; }
.customer-participation-button { min-width: 145px; padding: .85rem 1.25rem; border: 1px solid #e0c16c; border-radius: 2px; background: #d2ad58; color: #0a2343; font: inherit; font-weight: 800; cursor: pointer; }
.customer-participation-button:hover { background: #edcf7a; }
.customer-participation-button:disabled { cursor: default; opacity: .8; }
.customer-participation-confirmation { min-height: 0; margin: 0; padding: 0 1.75rem; color: #17603a; font-weight: 700; }
.customer-participation-confirmation:not(:empty) { padding-top: 1rem; padding-bottom: 1rem; background: #edf7f1; }
.customer-empty-state { display: flex; min-height: 210px; margin-top: 1.75rem; padding: 2rem; border: 1px dashed #b9c3cf; align-items: center; justify-content: center; flex-direction: column; background: #faf9f5; color: #667284; text-align: center; }
.customer-empty-state strong { color: #102a52; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.customer-empty-state span { margin-top: .35rem; }
.customer-load-error { color: #783636; }
.customer-footer { display: flex; align-items: center; justify-content: center; gap: 1rem; background: #071b35; color: #aebbc9; }
.customer-footer img { width: 66px; border-radius: 7px; }

/* My DEMEOS customer relationship foundation */
.my-demeos-main { max-width: 1040px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 1.5rem; }
.my-demeos-introduction { max-width: 800px; }
.my-demeos-introduction h1 { margin: .35rem 0 .25rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.my-demeos-lead { color: #526274; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.my-demeos-sign-in-status { margin-top: 2rem; padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid #cad5e1; border-top: 4px solid #c8a24a; background: #fff; box-shadow: 0 12px 35px rgba(6,25,48,.08); }
.my-demeos-sign-in-status h2, .my-demeos-section-heading h2, .my-demeos-evidence h2 { color: #102a52; font-family: Georgia, serif; font-weight: 500; }
.my-demeos-sign-in-status h2 { margin-bottom: .75rem; font-size: 1.45rem; }
.my-demeos-sign-in-status p + p { margin-top: .45rem; }
.my-demeos-sign-in-status p { color: #536275; }
.my-demeos-sign-in-status strong { color: #11243f; }
.my-demeos-future { margin-top: clamp(3rem, 7vw, 5rem); }
.my-demeos-section-heading { max-width: 720px; }
.my-demeos-section-heading h2 { margin: .25rem 0 .6rem; font-size: clamp(2rem, 4vw, 3rem); }
.my-demeos-section-heading > p:last-child { color: #5f6e80; }
.my-demeos-areas { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.my-demeos-areas::before { position: absolute; z-index: -1; inset: -1rem; border: 1px solid rgba(210,173,88,.2); background: linear-gradient(135deg, rgba(11,71,124,.05), transparent 45%, rgba(210,173,88,.08)); clip-path: polygon(0 0, 96% 0, 100% 18%, 100% 100%, 4% 100%, 0 82%); content: ""; }
.my-demeos-area { box-sizing: border-box; min-width: 0; min-height: 210px; padding: clamp(1.35rem, 3vw, 2rem); text-align: left; }
.my-demeos-area-active { position: relative; overflow: hidden; border: 1px solid #214b76; background: linear-gradient(145deg, #0c3158, #071b35); box-shadow: 0 16px 32px rgba(6,25,48,.16); color: #fff; font: inherit; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.my-demeos-area-active::after { position: absolute; right: -3.5rem; bottom: -5.5rem; width: 12rem; height: 12rem; border: 1px solid rgba(210,173,88,.25); transform: rotate(45deg); content: ""; }
.my-demeos-area-active:hover { border-color: #d2ad58; box-shadow: 0 20px 42px rgba(6,25,48,.25); transform: translateY(-3px); }
.my-demeos-area-active:active { transform: translateY(0); }
.my-demeos-area-active:focus-visible, .my-demeos-back:focus-visible, .relationship-sign-in:focus-visible { outline: 3px solid #8fc1ff; outline-offset: 4px; }
.my-demeos-area-title { display: block; margin: .65rem 0 .55rem; color: inherit; font-family: Georgia, serif; font-size: clamp(1.45rem, 2.5vw, 1.8rem); font-weight: 500; line-height: 1.2; }
.my-demeos-area-status { display: block; color: #e3c46d; font-size: .7rem; font-weight: 800; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.my-demeos-area-copy { display: block; max-width: 29rem; color: #cedae7; line-height: 1.55; }
.my-demeos-area-enter { display: flex; position: absolute; right: 1.5rem; bottom: 1.35rem; left: 1.5rem; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid rgba(210,173,88,.35); color: #f1d583; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.my-demeos-area-enter span { font-size: 1.3rem; }
.my-demeos-area-future { border: 1px solid #cdd6e0; background: linear-gradient(145deg, #f8fafc, #edf1f5); box-shadow: inset 4px 0 #aeb8c4; color: #536275; }
.my-demeos-area-future:last-child { grid-column: 1 / -1; min-height: 170px; }
.my-demeos-area-future .my-demeos-area-status { color: #6c7784; }
.my-demeos-area-future .my-demeos-area-title { color: #243c5b; }
.my-demeos-area-future .my-demeos-area-copy { color: #657486; }
.my-demeos-relationship-view { margin-top: 1.75rem; padding: clamp(1.4rem, 4vw, 2.75rem); border: 1px solid #b7c5d4; border-top: 4px solid #d2ad58; background: linear-gradient(145deg, #fff, #f3f7fb); box-shadow: 0 22px 52px rgba(6,25,48,.13); }
.my-demeos-relationship-view[hidden] { display: none; }
.my-demeos-relationship-view h2 { margin: .35rem 0 1.25rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 500; line-height: 1.12; }
.my-demeos-relationship-view h2:focus-visible { outline: 3px solid #8fc1ff; outline-offset: 5px; }
.my-demeos-relationship-view > div > p { color: #536275; }
.my-demeos-back { min-height: 44px; margin-bottom: 1.75rem; padding: .65rem .85rem; border: 1px solid #7891ad; background: #fff; color: #12375f; font: inherit; font-weight: 750; cursor: pointer; }
.my-demeos-back:hover { border-color: #b88c31; background: #f9f4e8; }
.my-demeos-meaning { max-width: 48rem; margin: -.5rem 0 1.5rem; padding: .8rem 1rem; border-left: 3px solid #d2ad58; background: #eaf0f6; color: #40556d; }
.relationship-sign-in { margin-top: 1rem; }
.customer-intention-save { margin-top: 1rem; padding: 1rem; border-left: 3px solid #d2ad58; background: #fff; }
.customer-intention-sign-in-note { color: #5d6b7c; font-size: .92rem; }
.my-intentions-list { display: grid; gap: .75rem; margin-top: .75rem; }
.my-intentions-list article { padding: 1rem; border-left: 3px solid #7567a8; background: #f7f8fb; }
.my-intentions-list article > * { margin: 0 0 .45rem; }
.my-intentions-list time { color: #625f72; font-size: .85rem; }
.my-possibilities-list { display: grid; gap: .75rem; margin-top: .75rem; }
.my-possibilities-list article { padding: 1rem; border-left: 3px solid #7567a8; background: #f7f8fb; }
.my-possibilities-list article > * { margin: 0 0 .45rem; }
.my-possibilities-list time { color: #625f72; font-size: .85rem; }
.my-demeos-evidence { margin-top: 2.5rem; padding: clamp(1.4rem, 4vw, 2rem); border-left: 4px solid #c8a24a; background: #0b274b; color: #d4dfeb; }
.my-demeos-evidence .customer-eyebrow { color: #d6b761; }
.my-demeos-evidence h2 { margin: .2rem 0 .5rem; color: #fff; font-size: 1.55rem; }

@media (max-width: 700px) {
  .customer-header-inner { width: calc(100% - 2rem); min-height: 72px; }
  .customer-brand .demeos-logo { width: 92px; }
  .customer-intention { padding: 3.5rem 1rem 4.5rem; }
  .customer-intention-options { grid-template-columns: repeat(2, 1fr); }
  .customer-context-actions { align-items: stretch; flex-direction: column; }
  .customer-continue-button { width: 100%; }
  .customer-understanding-actions { flex-direction: column; }
  .customer-journey-nav { gap: .8rem; }
  .customer-journey-nav a { font-size: .68rem; }
  .customer-introduction { min-height: 420px; padding: 4.5rem 1.25rem; }
  .customer-path { width: calc(100% - 1.5rem); margin-top: -35px; grid-template-columns: repeat(2, 1fr); }
  .customer-path a:nth-child(2) { border-right: 0; }
  .customer-path a:nth-child(-n+2) { border-bottom: 1px solid #e0e4e9; }
  .customer-experience { width: calc(100% - 1.5rem); padding: 1.25rem; }
  .customer-section-heading, .customer-work-context { align-items: flex-start; flex-direction: column; }
  .customer-section-heading > p { text-align: left; }
  .customer-approved-mark { align-self: flex-start; }
  .customer-message, .customer-work-context { padding: 1.25rem; }
  .customer-choice, .customer-participation { padding: 1.25rem; }
  .customer-participation { align-items: stretch; flex-direction: column; }
  .customer-participation-button { width: 100%; }
  .customer-footer { flex-direction: column; }
  .my-demeos-main { padding: 3rem 1rem; }
  .my-demeos-areas { grid-template-columns: 1fr; }
  .my-demeos-area { min-height: 190px; }
  .my-demeos-area-future:last-child { grid-column: auto; }
  .my-demeos-relationship-view { padding: 1.25rem; }
}

@media (max-width: 460px) {
  .customer-intention-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .customer-intention *, .customer-intention *::before, .customer-intention *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
  .my-demeos-area-active { transition: none; }
}

@media (max-width: 440px) {
  .customer-journey-nav a:nth-child(2), .customer-journey-nav a:nth-child(3) { display: none; }
}

/* DEMEOS Business Owner Workspace */
.owner-workspace-body { background: #f4f1e9; color: #11243f; }
.owner-workspace-header { min-height: 104px; }
.owner-account-control { margin-left: auto; display: flex; align-items: center; gap: .8rem; color: #dbe5ef; font-size: .82rem; font-weight: 700; }
.owner-account-control[hidden] { display: none; }
.owner-account-button { padding: .55rem .8rem; border: 1px solid #d2ad58; border-radius: 3px; background: transparent; color: #f3d98e; font: inherit; cursor: pointer; }
.owner-account-button:hover, .owner-account-button:focus { background: rgba(210,173,88,.12); color: #fff; }
.owner-auth-panel { width: min(680px, calc(100% - 2rem)); min-height: calc(100vh - 240px); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) 1rem; text-align: center; }
.owner-auth-panel[hidden] { display: none; }
.owner-auth-panel h2 { margin: .45rem 0 .7rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; }
.owner-auth-panel p:not(.workspace-eyebrow) { margin: 0 auto 1.6rem; color: #657286; }
.owner-auth-error h2 { color: #783636; }
.owner-workspace-shell { width: min(1440px, 100%); min-height: calc(100vh - 176px); margin: auto; display: grid; grid-template-columns: 270px minmax(0, 1fr); background: #fff; }
.owner-workspace-shell[hidden] { display: none; }
.owner-workspace-sidebar { padding: 2.25rem 1.25rem; background: #0c2b52; }
.owner-workspace-navigation { position: sticky; top: 1.5rem; display: grid; gap: .45rem; }
.owner-workspace-navigation a { padding: .9rem 1rem; border-left: 3px solid transparent; color: #cbd6e2; font-size: .92rem; font-weight: 700; text-decoration: none; }
.owner-workspace-navigation a:hover, .owner-workspace-navigation a:focus { color: #fff; background: rgba(255,255,255,.07); }
.owner-workspace-navigation a.is-active { border-left-color: #d2ad58; background: rgba(210,173,88,.12); color: #f3d98e; }
.owner-workspace-navigation .owner-public-destination { margin-top: .8rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.2); color: #f3d98e; }
.owner-workspace-navigation .owner-public-destination:hover, .owner-workspace-navigation .owner-public-destination:focus { background: rgba(210,173,88,.12); color: #fff; }
.owner-workspace-main { max-width: none; width: 100%; margin: 0; padding: clamp(2rem, 5vw, 4.5rem); background: #f7f8fa; }
.owner-overview-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.owner-overview-heading h2 { margin: .2rem 0 .45rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
.owner-overview-heading > div > p:last-child { max-width: 650px; color: #657286; }
.owner-private-mark { flex: none; padding: .45rem .7rem; border: 1px solid #d7c28b; color: #72591f; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.owner-identity-card, .owner-next-action, .owner-current-work { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid #dbe1e8; border-top: 4px solid #c8a24a; background: #fff; box-shadow: 0 10px 30px rgba(16,42,82,.07); }
.owner-customer-experience-card { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid #cad5e1; background: #eef3f8; }
.owner-customer-experience-card h3 { margin: .15rem 0 .55rem; color: #102a52; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.owner-customer-experience-card > p:not(.card-kicker) { max-width: 680px; margin: 0 0 1rem; color: #526274; }
.owner-identity-card, .owner-next-action { margin-bottom: 1.5rem; }
.owner-identity-card h3, .owner-next-action h3, .owner-current-work h3 { color: #102a52; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.owner-next-action-content { display: grid; justify-items: start; gap: .75rem; margin-top: 1.25rem; }
.owner-next-action-content strong { color: #11243f; font-size: 1.2rem; }
.owner-next-action-content p { margin: 0 0 .25rem; color: #657286; }
.owner-business-identity { display: grid; gap: .15rem; margin: 1.25rem 0; color: #657286; }
.owner-business-identity strong { color: #11243f; font-size: 1.2rem; }
.owner-work-list { display: grid; gap: .65rem; margin: 1.25rem 0; color: #657286; }
.owner-work-list article { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid #e0e5eb; background: #fafbfc; }
.owner-work-list article strong { color: #233a57; }
.owner-work-list article span { flex: none; color: #72591f; font-size: .85rem; font-weight: 700; }
.owner-card-action { display: inline-block; width: auto; text-decoration: none; }
@media (max-width: 760px) {
  .owner-workspace-shell { grid-template-columns: 1fr; }
  .owner-workspace-sidebar { padding: .75rem; overflow-x: auto; }
  .owner-workspace-navigation { position: static; display: flex; min-width: max-content; }
  .owner-workspace-navigation a { border-bottom: 3px solid transparent; border-left: 0; }
  .owner-workspace-navigation a.is-active { border-bottom-color: #d2ad58; }
  .owner-workspace-navigation .owner-public-destination { margin-top: 0; margin-left: .45rem; padding-top: .9rem; border-top: 0; border-left: 1px solid rgba(255,255,255,.2); }
  .owner-overview-heading { align-items: flex-start; flex-direction: column; }
  .owner-work-list article { align-items: flex-start; flex-direction: column; }
}

/* Marketing capability within the Business Owner Workspace shell */
.marketing-capability-main { padding: clamp(1.5rem, 3vw, 2.75rem); }
.marketing-capability-heading { margin-bottom: 1.5rem; }
.marketing-capability-heading h2 { margin: .2rem 0 .4rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.marketing-capability-heading > p:last-child { margin: 0; color: #657286; }
.marketing-secondary-sidebar { padding: .65rem; border-radius: 8px 8px 0 0; background: #e9edf2; }
.marketing-secondary-sidebar .workspace-navigation { position: static; display: flex; flex-wrap: wrap; gap: .25rem; }
.marketing-secondary-sidebar .workspace-nav-item { padding: .7rem .8rem; border: 0; border-bottom: 3px solid transparent; color: #40516a; font-size: .86rem; }
.marketing-secondary-sidebar .workspace-nav-item:hover { background: #fff; color: #102a52; }
.marketing-secondary-sidebar .workspace-nav-item.is-active { border-bottom-color: #b18a32; background: #fff; color: #102a52; }
.marketing-workspace-main { padding: 1.75rem 0 2rem; }

@media (max-width: 900px) {
  .marketing-secondary-sidebar .workspace-menu-toggle { border-color: #aab5c2; color: #102a52; }
  .marketing-secondary-sidebar .workspace-navigation { display: none; }
  .marketing-secondary-sidebar .workspace-navigation.is-open { display: grid; }
}

@media (max-width: 650px) {
  .marketing-capability-main { padding: 1.25rem .9rem 2.5rem; }
  .marketing-workspace-main { padding-top: 1.25rem; }
}
.customer-possibilities[hidden], .customer-focused-possibility[hidden], .customer-approved-work-fallback[hidden], .customer-possibilities-header[hidden], .customer-possibility-space[hidden], .customer-change-intention[hidden], .customer-no-possibilities[hidden], .customer-add-detail-form[hidden], .customer-no-possibilities-actions[hidden] { display: none; }
.customer-possibilities { margin-top: 2.3rem; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid rgba(143,193,255,.3); border-top: 3px solid #d2ad58; background: radial-gradient(circle at 50% 42%, rgba(30,112,220,.2), transparent 35%), linear-gradient(145deg, rgba(5,27,54,.98), rgba(2,14,30,.99)); box-shadow: 0 30px 70px rgba(0,5,16,.42); }
.customer-possibilities-header { position: relative; z-index: 5; text-align: center; }
.customer-possibilities-header h2 { margin: .35rem 0 .5rem; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 500; }
.customer-possibilities-header > p:last-child { max-width: 42rem; margin: auto; color: #c6d4e3; }
.customer-possibility-space { position: relative; min-height: 660px; margin-top: 1.5rem; perspective: 1100px; transform-style: preserve-3d; }
.customer-space-rings { position: absolute; inset: 11% 8% 8%; border: 1px solid rgba(121,177,244,.22); border-radius: 50%; box-shadow: inset 0 0 70px rgba(35,116,220,.12), 0 0 35px rgba(35,116,220,.08); transform: rotateX(63deg) translateZ(-50px); }
.customer-space-rings::before, .customer-space-rings::after { position: absolute; border: 1px solid rgba(210,173,88,.18); border-radius: 50%; content: ""; }
.customer-space-rings::before { inset: 12%; }.customer-space-rings::after { inset: 27%; }
.customer-possibility-intention { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(310px, 42%); padding: 1.35rem; border: 1px solid rgba(224,193,108,.6); background: rgba(5,27,53,.96); box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 35px rgba(39,123,232,.2); text-align: center; transform: translate(-50%,-50%) translateZ(60px); }
.customer-intention-anchor-label, .customer-possibility-label, .customer-provider-label { color: #d8ba67; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.customer-intention-anchor-title { margin: .35rem 0; color: #fff; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.customer-intention-anchor-summary { color: #d6e1ec; font-size: .92rem; line-height: 1.55; }
.customer-space-logo { width: 58px; margin-top: .85rem; border-radius: 8px; opacity: .85; box-shadow: 0 0 18px rgba(98,159,238,.25); }
.customer-possibilities-list { position: absolute; inset: 0; transform-style: preserve-3d; transition: opacity .25s ease, filter .25s ease; }
.customer-possibilities-list.is-deemphasized { opacity: .16; filter: blur(2px); pointer-events: none; }
.customer-possibility-surface { position: absolute; z-index: 2; display: flex; width: min(255px, 29%); min-height: 138px; padding: 1rem; border: 1px solid rgba(145,188,238,.38); border-top-color: #d2ad58; border-radius: 2px; flex-direction: column; align-items: flex-start; justify-content: space-between; background: linear-gradient(145deg, rgba(18,57,96,.96), rgba(7,30,58,.98)); box-shadow: 0 18px 35px rgba(0,6,18,.32); color: #f4f7fb; font: inherit; text-align: left; cursor: pointer; animation: customer-possibility-emerge .55s both; transition: border-color .2s ease, box-shadow .2s ease, transform .25s ease; }
.customer-possibility-surface:hover, .customer-possibility-surface:focus-visible { border-color: #e2c36e; box-shadow: 0 24px 48px rgba(0,6,18,.5), 0 0 0 3px rgba(143,193,255,.32); outline: none; }
.customer-possibility-preview { display: -webkit-box; overflow: hidden; margin: .55rem 0; font-family: Georgia, serif; font-size: 1rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.customer-possibility-provider { color: #aebed0; font-size: .74rem; }
.customer-possibility-position-1 { top: 2%; left: 50%; transform: translateX(-50%) translateZ(15px); }
.customer-possibility-position-2 { top: 24%; left: 1%; transform: rotateY(7deg); animation-delay: .08s; }
.customer-possibility-position-3 { top: 24%; right: 1%; transform: rotateY(-7deg); animation-delay: .16s; }
.customer-possibility-position-4 { bottom: 3%; left: 9%; transform: rotateY(5deg); animation-delay: .24s; }
.customer-possibility-position-5 { right: 9%; bottom: 3%; transform: rotateY(-5deg); animation-delay: .32s; }
.customer-focused-possibility { position: absolute; z-index: 8; top: 2%; right: 8%; bottom: 2%; left: 8%; overflow: auto; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #d2ad58; background: #f8fafc; box-shadow: 0 35px 75px rgba(0,5,16,.65); color: #11243f; transform: translateZ(130px); }
.customer-possibility-back, .customer-change-intention { padding: .65rem .85rem; border: 1px solid #8aa4c2; background: transparent; color: inherit; font: inherit; font-weight: 750; cursor: pointer; }
.customer-focused-possibility .customer-possibility-label { margin-top: 2rem; color: #8b671a; }
.customer-focused-content { max-width: 48rem; margin: .5rem 0 1.5rem; color: #102a52; font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.45; white-space: pre-wrap; }
.customer-evidence-heading { margin-bottom: .4rem; color: #102a52; }.customer-possibility-evidence { color: #3f5e7d; }
.customer-provider-label { margin: 1.5rem 0 .25rem; color: #73591c; }.customer-focused-possibility .customer-possibility-provider { color: #40536a; font-size: .95rem; font-weight: 700; }.customer-possibility-location { color: #66788b; font-size: .86rem; }
.customer-focused-participation { margin-top: 1.5rem; padding: 1.25rem; background: #0b274b; color: #fff; }.customer-focused-participation .customer-participation-copy { margin-bottom: 1rem; }.customer-focused-participation .customer-participation-confirmation:not(:empty) { margin-top: 1rem; padding: .8rem; color: #124f31; }
.customer-possibility-save { margin-top: 1.25rem; padding: 1rem; border: 1px solid rgba(117, 103, 168, .35); border-radius: .75rem; }
.customer-possibility-save-copy, .customer-possibility-save-note { margin: 0 0 .75rem; color: #514d61; }
.customer-possibility-save-button { min-height: 44px; padding: .7rem 1rem; border: 1px solid #7567a8; border-radius: .5rem; background: #fff; color: #302852; font: inherit; font-weight: 700; cursor: pointer; }
.customer-possibility-save-button:focus-visible { outline: 3px solid #f4b942; outline-offset: 3px; }
.customer-possibility-save-status:not(:empty) { margin: .75rem 0 0; color: #124f31; font-weight: 700; }
.customer-feedback { margin-top: 1.25rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(210,173,88,.55); background: linear-gradient(145deg, #fff, #edf3fa); color: #0a2343; }
.customer-feedback-heading { margin: .25rem 0 1rem; font-family: Georgia, serif; font-size: 1.35rem; }
.customer-feedback-form fieldset { display: grid; gap: .65rem; margin: 0; padding: 0; border: 0; }
.customer-feedback-question { margin-bottom: .6rem; font-weight: 700; }
.customer-feedback-choice { display: flex; gap: .7rem; align-items: center; padding: .8rem; border: 1px solid #aebdce; background: #fff; cursor: pointer; }
.customer-feedback-choice:has(input:checked) { border-color: #bd9238; box-shadow: inset 4px 0 #d2ad58; }
.customer-feedback-comment-label { display: block; margin-top: 1.1rem; font-weight: 700; }
.customer-feedback textarea { box-sizing: border-box; width: 100%; margin: .45rem 0 1rem; padding: .75rem; border: 1px solid #8da2ba; color: #0a2343; font: inherit; resize: vertical; }
.customer-feedback-submit, .customer-feedback-continuations button { padding: .8rem 1rem; border: 1px solid #d2ad58; background: #0b477c; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.customer-feedback-result:not(:empty) { margin-top: 1rem; padding: .9rem; border-left: 4px solid #d2ad58; background: #fff; }
.customer-feedback-continuations { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.customer-feedback-continuations button:last-child { background: #fff; color: #0a2343; }
.customer-change-intention { display: block; position: relative; z-index: 9; margin: 1rem auto 0; border-color: #d2ad58; color: #f4d98b; }
.customer-no-possibilities { max-width: 720px; margin: 1rem auto; padding: clamp(1.25rem, 4vw, 2.5rem); border-left: 3px solid #d2ad58; background: rgba(7,30,58,.76); }
.customer-no-possibilities h2 { margin: .5rem 0 1rem; color: #fff; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.65rem); font-weight: 500; line-height: 1.15; }
.customer-no-possibilities > p:not(.customer-stage-label) { color: #c6d4e3; line-height: 1.65; }
.customer-no-possibilities-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.customer-no-possibilities button { min-height: 46px; padding: .7rem 1.1rem; border: 1px solid #d2ad58; border-radius: 3px; background: #d2ad58; color: #071b35; font: inherit; font-weight: 800; cursor: pointer; }
.customer-no-possibilities button + button { border-color: #8aa4c2; background: transparent; color: #eef5fc; }
.customer-add-detail-form { margin-top: 1.5rem; }
.customer-add-detail-form label { display: block; margin-bottom: .5rem; color: #f3f7fb; font-weight: 750; }
.customer-add-detail-form textarea { width: 100%; min-height: 120px; padding: .8rem; border: 1px solid #7895b6; border-radius: 3px; background: #f7fbff; color: #10243d; font: inherit; resize: vertical; }
.customer-no-possibilities :focus-visible { outline: 3px solid #8fc1ff; outline-offset: 3px; }
@keyframes customer-possibility-emerge { from { opacity: 0; transform: translateY(18px) translateZ(-40px); } }

@media (max-width: 820px) {
  .customer-possibility-space { min-height: 720px; perspective: 700px; }
  .customer-possibility-surface { width: 32%; }
  .customer-possibility-intention { width: 46%; }
}
@media (max-width: 700px) {
  .customer-possibility-space { display: flex; min-height: 0; flex-direction: column; perspective: none; }
  .customer-space-rings { inset: 0; border-radius: 45%; transform: none; }
  .customer-possibility-intention { position: relative; top: auto; left: auto; width: 100%; margin-bottom: 1rem; transform: none; }
  .customer-possibilities-list { position: relative; display: grid; min-height: 320px; padding: 1rem 0; place-items: center; }
  .customer-possibility-surface { position: absolute; top: auto; right: auto; bottom: auto; left: auto; width: 92%; min-height: 180px; transform: translateY(calc(var(--stack, 0) * 14px)) scale(calc(1 - var(--stack, 0) * .035)); }
  .customer-possibility-position-1 { --stack: 0; z-index: 5; }.customer-possibility-position-2 { --stack: 1; z-index: 4; }.customer-possibility-position-3 { --stack: 2; z-index: 3; }.customer-possibility-position-4 { --stack: 3; z-index: 2; }.customer-possibility-position-5 { --stack: 4; z-index: 1; }
  .customer-possibility-surface:focus { z-index: 6; transform: translateY(0); }
  .customer-focused-possibility { position: relative; top: auto; right: auto; bottom: auto; left: auto; padding: 1.25rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-possibility-surface, .customer-possibilities-list { animation: none !important; transition: none !important; }
}
