/* Shared brand component: every visible role uses Inter. */
.ww-appointments:where([data-theme]:not([data-theme=default])) {
  --wwa-radius: 0;
  --wwa-control-radius: 0;
  --wwa-font: 400 calc(var(--wwa-unit) * 1)/1.5 Inter, WWAppointmentsInter, Arial, sans-serif;
  --wwa-heading-weight: 800;
  --wwa-heading-size: calc(var(--wwa-unit) * 1.875);
  --wwa-label-weight: 800;
}
.ww-appointments[data-theme=wollwinderei] {
  --wwa-accent: #a9cc21;
  --wwa-on-accent: #1a191b;
  --wwa-surface: #1a191b;
  --wwa-subtle: #29272c;
  --wwa-text: #f3f3f3;
  --wwa-muted: #bbb8bf;
  --wwa-line: #716a78;
  --wwa-online: #22c55e;
  --wwa-offline: #89838e;
  --wwa-focus: #a9cc21;
  --wwa-link: #a9cc21;
  --wwa-choice-border: #a9cc21;
  --wwa-first-time: #a9cc21;
  --wwa-error: #ffb6ab;
  --wwa-hover: #badc3b;
  color-scheme: dark;
}
.ww-appointments[data-theme=wollwinderei-light] {
  --wwa-accent: #000;
  --wwa-on-accent: #fff;
  --wwa-surface: #fff;
  --wwa-subtle: #f2f2f2;
  --wwa-text: #1a191b;
  --wwa-muted: #606060;
  --wwa-line: #858585;
  --wwa-online: #22c55e;
  --wwa-offline: #7d7d7d;
  --wwa-focus: #1a191b;
  --wwa-link: #606060;
  --wwa-choice-border: #1a191b;
  --wwa-first-time: #1a191b;
  --wwa-error: #9a342b;
  --wwa-hover: #242424;
  color-scheme: light;
}
.ww-appointments[data-theme=geschaeftsbericht] {
  --wwa-accent: #000;
  --wwa-on-accent: #fff;
  --wwa-surface: #fff;
  --wwa-subtle: #f2f2f2;
  --wwa-text: #000;
  --wwa-muted: #565d62;
  --wwa-line: #82898f;
  --wwa-online: #22c55e;
  --wwa-offline: #7c8388;
  --wwa-focus: #000;
  --wwa-link: #365016;
  --wwa-choice-border: #000;
  --wwa-first-time: #000;
  --wwa-error: #9a342b;
  --wwa-hover: #242424;
  --wwa-radius: 0;
  --wwa-heading-weight: 400;
  --wwa-label-weight: 400;
  color-scheme: light;
}
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__intro h2 {
  font-family: inherit;
  font-size: var(--wwa-heading-size);
  font-weight: var(--wwa-heading-weight);
  font-style: normal;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__intro p { line-height: 1.55; }
.ww-appointments:where([data-theme]:not([data-theme=default])) legend,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__contact strong,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__submit { font-weight: var(--wwa-label-weight); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__person p { font-weight: 800; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__teaser > span:first-child { font: inherit; font-size: calc(var(--wwa-unit) * .9375); line-height: 1.3; font-weight: var(--wwa-label-weight); font-style: normal; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__launcher { background: var(--wwa-surface); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__launcher::before { border-color: var(--wwa-link); opacity: .65; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__header-photo { border-radius: 0; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__suggestion,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__channel-options span,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__choice,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__contact,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__selection,
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__submit,
.ww-appointments:where([data-theme]:not([data-theme=default])) form > input:not([type=hidden]),
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__phone-field > input,
.ww-appointments:where([data-theme]:not([data-theme=default])) select { border-radius: 0; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__suggestion:first-child { background: var(--wwa-subtle); border-color: var(--wwa-choice-border); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__suggestion:first-child strong { color: var(--wwa-first-time); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__channel-hint { min-height: 2.25em; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__contact--whatsapp { background: transparent; border-color: var(--wwa-line); color: var(--wwa-text) !important; }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__contact--whatsapp small { color: var(--wwa-muted); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__contact svg { color: var(--wwa-link); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__callback-link { color: var(--wwa-muted); }
.ww-appointments:where([data-theme]:not([data-theme=default])) :focus-visible { outline-color: var(--wwa-focus); }
.ww-appointments:where([data-theme]:not([data-theme=default])) input:focus-visible + span { outline-color: var(--wwa-focus); }
.ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__channel-options input:checked + span,
.ww-appointments:where([data-theme]:not([data-theme=default])) input:checked + .ww-appointments__choice { border-color: var(--wwa-choice-border); }
.ww-appointments:where([data-theme]:not([data-theme=default]))[data-status=error] .ww-appointments__status { color: var(--wwa-error); }
@media (hover: hover) {
  .ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__submit:not(:disabled):hover { background: var(--wwa-hover); filter: none; }
  .ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__callback-link:hover,
  .ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__text-button:hover,
  .ww-appointments:where([data-theme]:not([data-theme=default])) .ww-appointments__privacy a:hover { color: var(--wwa-link); }
}
@media (max-width: 30rem) {
  .ww-appointments:where([data-theme]:not([data-theme=default])) { --wwa-heading-size: calc(var(--wwa-unit) * 1.75); }
}

/* Inverted selections: no border, with padding compensation to avoid shifting. */
.ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) .ww-appointments__channel-options input:checked + span {
  color: #fff;
  background: #000;
  border: 0;
  padding: calc(calc(var(--wwa-unit) * .625) + 1px);
}
.ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) .ww-appointments__days input:checked + .ww-appointments__choice {
  border: 0;
  padding: calc(calc(var(--wwa-unit) * .75) + 1px) calc(calc(var(--wwa-unit) * .25) + 1px);
}
.ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) .ww-appointments__times input:checked + .ww-appointments__choice {
  border: 0;
  padding: calc(calc(var(--wwa-unit) * .625) + 1px);
}
.ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) :is(.ww-appointments__suggestion, .ww-appointments__contact):active {
  color: #fff !important;
  background: #000;
  border: 0;
  padding: calc(calc(var(--wwa-unit) * .75) + 1px) calc(calc(var(--wwa-unit) * .875) + 1px);
}
.ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) .ww-appointments__contact:active { padding: calc(calc(var(--wwa-unit) * .5) + 1px) calc(calc(var(--wwa-unit) * .625) + 1px); }
.ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) :is(.ww-appointments__suggestion, .ww-appointments__contact):active :is(strong, small, svg) { color: inherit; }
@media (hover: hover) {
  .ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) :is(.ww-appointments__suggestion, .ww-appointments__contact):hover {
    color: #fff !important;
    background: #000;
    border: 0;
    padding: calc(calc(var(--wwa-unit) * .75) + 1px) calc(calc(var(--wwa-unit) * .875) + 1px);
  }
  .ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) .ww-appointments__contact:hover { padding: calc(calc(var(--wwa-unit) * .5) + 1px) calc(calc(var(--wwa-unit) * .625) + 1px); }
  .ww-appointments:where([data-theme=wollwinderei-light], [data-theme=geschaeftsbericht]) :is(.ww-appointments__suggestion, .ww-appointments__contact):hover :is(strong, small, svg) { color: inherit; }
}
