/* Navy controls and the warm brass sampled from the wardrobe rail. */
:root {
  --control-navy: #243a55;
  --control-navy-hover: #304c6a;
  --control-brass: #a28057;
  --control-brass-light: #e8cfa9;
  --control-brass-dark: #805e38;
  --control-ivory: #fffbf7;
  --gold-accent: var(--control-brass);
}
body .service-art svg { stroke: var(--control-brass); }
body .service a { border-color: #a2805770; }

body .button,
body header > .button,
body header .header-actions > .button,
body .closing .button.light {
  background: var(--control-navy);
  color: var(--control-brass-light);
  border: 1.5px solid currentColor;
  box-shadow: inset 0 0 0 1px #e8cfa914;
}
body .button > span,
body .quiet-button > span { color: inherit; }
body .button:hover,
body header > .button:hover,
body header .header-actions > .button:hover,
body .closing .button.light:hover {
  background: var(--control-navy-hover);
  color: var(--control-brass-light);
  border-color: var(--control-brass-light);
  box-shadow: inset 0 0 0 1px #e8cfa930, 0 4px 12px #243a550c;
}

body .quiet-button,
body .sophia-starters button {
  background: #fcf5ef;
  color: var(--control-brass-dark);
  border: 1px solid currentColor;
  box-shadow: none;
}
body .quiet-button:hover,
body .sophia-starters button:hover { background: #f3e9df; border-color: currentColor; }
/* Give the selected category's backlight room inside the scrolling tray. */
body .tabs { padding: 12px; }
body .tabs button {
  background: transparent;
  color: var(--control-brass-dark);
  border: 1px solid transparent;
  box-shadow: none;
}
body .tabs button:hover,
body .tabs button:focus-visible { background: #f3e9df; color: var(--control-brass-dark); }
body .tabs button[aria-selected=true] {
  background: var(--control-navy);
  color: var(--control-brass-light);
  border-color: transparent;
  box-shadow: 0 0 9px 2px #c39a62b3, 0 0 20px 5px #d9b67ca6;
}
body .add-service,
body .dialog-close,
body .icon-button,
body .sophia-icon-button,
body .remove-item,
body .menu-toggle {
  background: #fffbf7;
  color: var(--control-brass-dark);
  border: 1px solid currentColor;
  box-shadow: none;
}
body .add-service:hover,
body .dialog-close:hover,
body .icon-button:hover,
body .sophia-icon-button:hover,
body .remove-item:hover,
body .menu-toggle:hover { background: #f3e9df; color: var(--control-brass-dark); border-color: currentColor; }
body .add-service[aria-pressed=true] { background: var(--control-navy); color: var(--control-brass-light); border-color: currentColor; box-shadow: inset 0 0 0 1px #e8cfa950; }
body .menu-toggle { border-radius: 10px; }
body .menu-toggle span { background: currentColor; }
body:not(.partnership-page) .menu-toggle span { background: currentColor; }

body .corner-button,
body .return-top.corner-button,
body .music-toggle,
body .sophia-launch[aria-expanded=true] {
  background: var(--control-navy);
  color: var(--control-brass-light);
  border: 1.5px solid currentColor;
  box-shadow: inset 0 0 0 1px #e8cfa922, 0 4px 18px #243a5514;
}
body .corner-button:hover,
body .return-top.corner-button:hover,
body .music-toggle:hover {
  background: var(--control-navy-hover);
  color: var(--control-brass-light);
  border-color: var(--control-brass-light);
  box-shadow: inset 0 0 0 1px #e8cfa933, 0 6px 22px #243a5520;
}
body .corner-tooltip { color: var(--control-navy); border-color: var(--control-brass); }

body dialog.sophia-dialog { border: 1px solid var(--control-brass); box-shadow: 0 22px 75px #243a5524; }
body .sophia-header { background: var(--control-navy); border-bottom: 1px solid var(--control-brass); }
body .sophia-header h2 { color: var(--control-ivory); }
body .sophia-header p { color: var(--control-brass-light); }
body .sophia-header .sophia-monogram { background: var(--control-navy-hover); border: 1px solid var(--control-brass); }
body .sophia-header .sophia-icon-button { background: transparent; color: var(--control-brass-light); border-color: currentColor; }
body .sophia-header .sophia-icon-button:hover { background: var(--control-navy-hover); border-color: var(--control-brass-light); }
body .sophia-compose { border-top-color: #a2805755; }
body .sophia-prices { border-color: #a2805780; }

/* Give small assistance and form text the same comfortable contrast as the page. */
body .sophia-welcome h3,
body .sophia-offline h3 { color: #34475f; }
body .sophia-welcome p,
body .sophia-offline p { font-size: 14px; line-height: 1.8; color: #5f5b60; }
body .sophia-message { font-size: 14px; line-height: 1.8; color: #3f4653; }
body .sophia-speaker { color: #70636b; font-size: 11px; }
body .sophia-starters button { font-size: 13px; line-height: 1.65; }
body .sophia-header p { font-size: 12px; }
body .sophia-header .sophia-icon-button { width: 44px; height: 44px; }
body .sophia-compose label[for=sophia-question] { font-size: 12px; color: #675d62; }
body .sophia-compose textarea { font-size: 14px; color: #3f4653; }
body .sophia-status { font-size: 12px; line-height: 1.6; color: #73535f; }
body .sophia-privacy,
body .sophia-info > summary,
body .sophia-info > button,
body .sophia-message small { font-size: 11px; line-height: 1.7; color: #70636b; }
body .sophia-price-row { font-size: 12px; line-height: 1.6; color: #515765; }

body.partnership-page { color: #5f5b60; }
body .partner-story h1,
body .partner-contact h2,
body .partner-possibilities h2,
body .partner-offer strong,
body.partnership-page .footer-brand { color: var(--control-navy); }
body .partner-story > p:not(.partner-kicker),
body #partnership-success p { font-size: 15px; line-height: 1.85; color: #5f5b60; }
body .partner-contact #inquiry-intro > p:last-child { font-size: 14px; line-height: 1.85; color: #675d62; }
body .partner-possibilities li { font-size: 14px; line-height: 1.85; }
body .partner-contact label { font-size: 13px; color: #4f505a; }
body .partner-contact input,
body .partner-contact select,
body .partner-contact textarea { font-size: 14px; color: #3f4653; border-color: #cfc0b3; }
body .partner-consent span { font-size: 12px; line-height: 1.8; color: #675d62; }
body .partner-privacy { font-size: 12px; line-height: 1.8; color: #70636b; }
body .partner-offer span { font-size: 13px; color: #675d62; }

body .text-link,
body .review-tools .text-link,
body .clear,
body .text-button,
body .sophia-info > button,
body .sophia-footer button,
body .sophia-photo-preview button,
body .sophia-photo-label,
body .atmosphere-toggle { color: var(--control-navy); text-decoration-color: var(--control-brass); }
body .text-link:hover,
body .clear:hover,
body .text-button:hover,
body .sophia-info > button:hover,
body .atmosphere-toggle:hover { color: var(--control-navy-hover); text-decoration-color: var(--control-brass); }
body button.text-link,
body .review-tools button.text-link,
body .clear,
body .text-button,
body .sophia-info > button,
body .sophia-footer button,
body .sophia-photo-preview button,
body .sophia-photo-label,
body .atmosphere-toggle,
body footer .footer-links > .atmosphere-toggle,
body button.text-link:hover,
body .clear:hover,
body .text-button:hover,
body .sophia-info > button:hover,
body .atmosphere-toggle:hover { color: var(--control-brass-dark); border-color: currentColor; text-decoration-color: currentColor; }
body .goal-options label span { color: var(--control-brass-dark); border-color: currentColor; }
body .goal-options label:hover span { border-color: currentColor; }
body .goal-options input:checked + span { background: var(--control-navy); color: var(--control-brass-light); border-color: currentColor; box-shadow: inset 0 0 0 1px #e8cfa940; }
body .photo-label input::file-selector-button { background: var(--control-navy); color: var(--control-brass-light); border-color: currentColor; }
body input[type=checkbox] { accent-color: var(--control-navy); }

body button:focus-visible,
body a:focus-visible,
body summary:focus-visible,
body .sophia-dialog :focus-visible,
body .goal-options input:focus-visible + span,
body .sophia-photo-label:focus-within { outline: 3px solid var(--control-navy); outline-offset: 4px; box-shadow: 0 0 0 2px var(--control-brass-light); }
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body .partner-contact input:focus,
body .partner-contact select:focus,
body .partner-contact textarea:focus,
body .sophia-compose textarea:focus { outline: 2px solid var(--control-navy); outline-offset: 3px; border-color: var(--control-brass); box-shadow: 0 0 0 2px var(--control-brass-light); }

/* Owner controls share the same action colors; destructive actions retain their meaning. */
body .nav-button { color: var(--control-navy); }
body .nav-button.active { background: var(--control-navy); color: var(--control-brass-light); box-shadow: inset 0 -2px var(--control-brass-light); }
body .remove-line,
body .remove-hours,
body .blocked-dates button { color: var(--control-navy); }
body .danger-button { background: #fffafa; color: #9b505b; border-color: #e4c7cb; }
body .danger-button:hover { background: #f8e7e9; color: #8a3445; border-color: #c48791; }

body .button:disabled,
body .button:disabled:hover,
body .sophia-dialog button:disabled { background: #e8e1d9; color: #685f63; border-color: #d2c5b6; opacity: 1; box-shadow: none; transform: none; cursor: not-allowed; }

@media (forced-colors: active) {
  body .button, body .corner-button, body .music-toggle, body .add-service,
  body .tabs button, body .sophia-starters button { border-color: ButtonText; }
  body .tabs button[aria-selected=true], body .add-service[aria-pressed=true] { outline: 2px solid Highlight; outline-offset: -4px; }
}

@media (max-width: 650px) {
  body.partnership-page header > .brand { font-size: 27px; }
  body .partner-contact input,
  body .partner-contact select,
  body .partner-contact textarea,
  body .sophia-compose textarea { font-size: 16px; }
  body .partner-story > p:not(.partner-kicker) { font-size: 14px; }
}
@media (max-width: 360px) {
  body.partnership-page header > .brand { font-size: 24px; }
}
