@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Palette borrowed from Beckett's build — deeper navy, warmer gold, and
     blue-tinted text/borders instead of neutral greys. Reads more premium
     and matches the host site more closely. */
  --navy: #0B3556;
  --navy-deep: #082941;
  --blue: #1C7DB8;          /* "ocean" — second-line heading accent */
  --gold: #F5B32D;          /* "sun" */
  --gold-hi: #FFC64F;       /* brighter gold for hover, instead of a filter */
  --gold-ink: #7A5100;      /* dark gold for small text on white */
  --bg: #FFFFFF;
  --muted-bg: #EEF3F7;      /* "mist" */
  --border: #D9E4EC;        /* "line" */
  --text: #42607A;          /* "body" — blue-tinted, not grey */
  --text-muted: #4A6880;    /* "faint" */
  --danger: #B3261E;
  --radius-panel: 18px;
  --radius-card: 11px;
  --radius-button: 999px;
  --radius-input: 10px;
  /* Deeper, navy-tinted shadows — the main "premium" cue in Beckett's version */
  --shadow-panel: 0 26px 70px rgba(8, 41, 65, 0.38);
  --shadow-launcher: 0 10px 30px rgba(11, 53, 86, 0.32);
  --shadow-card: 0 1px 2px rgba(11, 53, 86, 0.07);
  --shadow-card-hover: 0 10px 26px rgba(11, 53, 86, 0.16);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-spec: 'IBM Plex Mono', ui-monospace, monospace;
  /* motion: --ease-out for entrances/exits, built-in `ease` for hovers */
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: linear(
    0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%,
    0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%,
    1.001 84.8%, 1
  );
  --ease-spring-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* No bare `*`, `body`, or page-layout selectors here on purpose: this file
   ships inside the WordPress plugin and loads on every page of the client's
   site, not just a sandboxed demo page. A global body/* rule here would
   silently restyle their entire site. Widget-only selectors from here down. */
#sunshine-trigger,
#sunshine-widget-root,
#sunshine-widget-inline,
#sunshine-inline-mount { box-sizing: border-box; }
#sunshine-widget-root *,
#sunshine-widget-inline * { box-sizing: border-box; }

#sunshine-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 14px 20px 14px 17px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap; /* the label must never wrap — it turns the pill into a blob */
  cursor: pointer;
  box-shadow: var(--shadow-launcher);
  --tx: 0px;
  --ty: 0px;
  transform: translate(var(--tx), var(--ty));
  transition: transform 340ms var(--ease-drawer), background 200ms var(--ease-out), box-shadow 200ms ease;
  /* above the panel so the toggle is always hittable, never covered by it */
  z-index: 1001;
  min-height: 48px;
}
@media (hover: hover) and (pointer: fine) {
  #sunshine-trigger:hover { background: var(--gold-hi); transform: translate(var(--tx), calc(var(--ty) - 2px)); }
}
#sunshine-trigger svg { flex: none; }
/* The launcher stays put under the open panel and doubles as the close control,
   so the same button that opened it also dismisses it. */
#sunshine-trigger:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.sw-btn-primary:active,
.sw-btn-secondary:active {
  transform: scale(0.97);
}
#sunshine-trigger:active { transform: translate(var(--tx), var(--ty)) scale(0.97); }
.sw-btn-primary:disabled:active { transform: none; }

#sunshine-widget-root {
  /* Slide-in side drawer, inset from the edges so it keeps its rounded frame */
  position: fixed;
  top: 18px;
  right: 24px;
  /* stops short of the bottom so the launcher sits directly beneath it */
  bottom: 88px;
  width: 420px;
  max-width: calc(100vw - 48px);
  max-height: none;
  background: var(--bg);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  transform: translateX(calc(100% + 24px));
  /* exit ~60% of the entrance, so dismissing feels immediate */
  transition:
    opacity 150ms var(--ease-out),
    transform 260ms var(--ease-out),
    display 260ms allow-discrete;
}
#sunshine-widget-root.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  /* --ease-drawer is the iOS/Ionic sheet curve: fast off the mark, long soft
     settle. Reads far smoother than a generic ease-out on a large surface. */
  transition:
    opacity 220ms var(--ease-out),
    transform 460ms var(--ease-drawer),
    display 460ms allow-discrete;
}
@starting-style {
  #sunshine-widget-root.open {
    opacity: 0;
    transform: translateX(calc(100% + 24px));
  }
}

#sunshine-widget-inline.embedded {
  position: static;
  /* Fills whatever column the host page gives it — the site controls the width. */
  width: 100%;
  max-width: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
  /* Own radius + clip: this is a different element from the floating panel,
     so it inherits none of #sunshine-widget-root's framing. */
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(11, 53, 86, 0.10);
}

.sw-header {
  background: var(--navy);
  color: #fff;
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
}
.sw-header-center { text-align: center; }
.sw-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Brand lockup that replaces the old per-screen text title in the header. */
.sw-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.sw-logo-mark { height: 34px; width: 36px; object-fit: contain; flex: none; }
.sw-logo-text { text-align: left; line-height: 1; }
.sw-logo-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.01em;
  font-style: normal;
}
.sw-logo-tagline {
  display: block;
  font-family: var(--font-spec);
  font-weight: 600;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-style: normal;
  margin-top: 4px;
}
.sw-dots { display: flex; gap: 6px; justify-content: center; margin-top: 6px; }
.sw-dot {
  position: relative;
  width: 18px; height: 6px;
  flex-shrink: 0;
}
.sw-dot::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transform-origin: left center;
  transform: scaleX(0.333);
  transition: background 300ms var(--ease-out), transform 400ms var(--ease-spring-soft);
}
.sw-dot-on::before { background: var(--gold); transform: scaleX(1); }
.sw-close, .sw-back {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  min-width: 32px;
  min-height: 32px;
  font-size: 18px;
  border-radius: 6px;
  transition: background 150ms ease;
}
.sw-close:hover, .sw-back:hover { background: rgba(255,255,255,0.15); }
.sw-close:focus-visible, .sw-back:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

.sw-body {
  padding: var(--space-5) var(--space-4);
  overflow-y: auto;
  flex: 1;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 130ms var(--ease-out), transform 130ms var(--ease-out);
}
.sw-body.sw-entering {
  opacity: 0;
  transform: translateY(4px);
  transition: none;
}

/* Eyebrow label with the site's short gold dash prefix */
.sw-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-spec);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--space-2);
}
.sw-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.sw-title {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.22;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.024em;
}
/* Second-line accent, matching the site's two-tone headlines */
.sw-accent { color: var(--blue); }
.sw-text { font-size: 14px; line-height: 1.6; color: var(--text); margin: 0 0 var(--space-4); }
.sw-hint { font-size: 13px; color: var(--text-muted); margin: 0 0 var(--space-3); }
.sw-note-center { font-size: 12.5px; color: var(--text-muted); text-align: center; margin: var(--space-3) 0 0; }

.sw-btn-primary {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-button);
  padding: 14px var(--space-4);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-shadow: 0 4px 12px rgba(245, 179, 45, 0.34);
  transition: filter 150ms ease, transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.sw-btn-primary:hover { background: var(--gold-hi); box-shadow: 0 6px 18px rgba(245, 179, 45, 0.42); }
.sw-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.sw-btn-primary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.sw-btn-arrow { flex-shrink: 0; transition: transform 200ms var(--ease-out); }
.sw-btn-primary:hover .sw-btn-arrow { transform: translate(2px, -2px); }

.sw-btn-secondary {
  width: 100%;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-button);
  padding: 13px var(--space-4);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  min-height: 46px;
  margin-top: var(--space-2);
  transition: border-color 150ms ease, background 150ms ease, transform 160ms var(--ease-out);
}
.sw-btn-secondary:hover { border-color: var(--navy); background: var(--muted-bg); }
.sw-btn-secondary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Tertiary action styled as the site's gold-underlined text link, so each
   screen keeps a single visually dominant CTA. */
.sw-link {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 6px 2px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  transition: color 150ms ease, border-color 150ms ease;
}
.sw-link:hover { color: var(--blue); border-color: var(--blue); }
.sw-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* "I need to" segmented control, matching the site's Protect/Replace/Repair group */
.sw-toggle-lead {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.sw-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
/* !important on the color-bearing properties here is deliberate: this widget
   is embedded on a live WordPress site whose theme/page-builder CSS can win
   a specificity fight against a plain class selector, which is exactly what
   was happening (an external button style was bleeding a red/pink through
   onto this toggle instead of navy/gold). These four rules must always
   render in brand colors regardless of what else is loaded on the host page. */
.sw-toggle-btn {
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border) !important;
  background: #fff !important;
  border-radius: var(--radius-card);
  padding: 10px var(--space-2) 12px;
  min-height: 56px;
  font-family: var(--font-heading);
  cursor: pointer;
  text-align: center;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out),
              border-color 180ms var(--ease-out), transform 140ms var(--ease-out);
}
.sw-toggle-main {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy) !important;
  transition: color 180ms var(--ease-out);
}
.sw-toggle-sub {
  display: block;
  font-family: var(--font-spec);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  margin-top: 3px;
  font-weight: 600;
  transition: color 180ms var(--ease-out);
}
.sw-toggle-btn.active {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}
.sw-toggle-btn.active .sw-toggle-main { color: #fff !important; }
.sw-toggle-btn.active .sw-toggle-sub { color: rgba(255, 255, 255, 0.72) !important; }
/* Gold underline bar on the active option, as on the site */
.sw-toggle-btn.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--gold) !important;
}
.sw-toggle-btn:hover:not(.active) { border-color: var(--navy) !important; }
.sw-toggle-btn:active { transform: scale(0.97); }
.sw-toggle-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Choice cards flow into columns as the widget gets wider, so a wide embed
   fills its space instead of leaving a long empty gutter on the right. */
[data-role="cards"] {
  display: grid;
  /* narrow enough that all four categories sit on one row in a wide embed */
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: var(--space-3);
}
[data-role="subcards"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}
[data-role="cards"] .sw-card,
[data-role="subcards"] .sw-card {
  margin-bottom: 0;
}

.sw-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 200ms var(--ease-out), transform 260ms var(--ease-spring-soft);
  min-height: 44px;
}
.sw-card:hover { border-color: var(--gold); }
.sw-card.selected { border-color: var(--gold); background: #FFFBF0; }
.sw-card-label { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--navy); flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.sw-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Photo-led category card: image with dark gradient overlay, gold micro-label
   above a white title — the same treatment as the site's service cards. */
.sw-card-photo {
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 150px;
}
.sw-card-photo img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0;
  /* Slight darkening so the overlay text stays legible over pale photos too */
  filter: brightness(0.84) saturate(1.05);
}
.sw-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-5) var(--space-3) var(--space-3);
  /* Strong enough at the label line to clear 4.5:1 even on a light image */
  background: linear-gradient(to top,
    rgba(9, 26, 43, 0.97) 0%,
    rgba(9, 26, 43, 0.86) 42%,
    rgba(9, 26, 43, 0.25) 80%,
    rgba(9, 26, 43, 0) 100%);
  text-align: left;
}
.sw-card-micro {
  display: block;
  font-family: var(--font-spec);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.sw-card-photo .sw-card-label { color: #fff; font-size: 16px; }
.sw-card-photo.selected {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242, 169, 30, 0.3), var(--shadow-card-hover);
}

/* Multi-select tick badge on category cards */
.sw-card-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  color: transparent;
  background: #fff;
  transition: background 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.sw-card-photo .sw-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}
.sw-card.selected .sw-card-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .sw-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}
.sw-card.selected {
  animation: sw-card-pop 380ms var(--ease-spring-soft);
}

/* Icon + explainer style rows, used where a line drawing exists for the option
   (windows, so far). Rows without an icon fall back to the plain .sw-card. */
.sw-opt {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px 13px;
  margin-bottom: var(--space-2);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 260ms var(--ease-spring-soft);
}
.sw-opt:hover { border-color: var(--gold); }
.sw-opt.selected { border-color: var(--gold); background: #FFFBF0; animation: sw-card-pop 380ms var(--ease-spring-soft); }
.sw-opt:active { transform: scale(0.98); }
.sw-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sw-optrow { display: flex; align-items: center; gap: 11px; }
.sw-optrow svg { flex: none; color: var(--blue); }
.sw-opt-label { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--navy); }
.sw-opt-explainer {
  margin-left: auto;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  max-width: 44%;
}
@keyframes sw-card-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.035); }
  100% { transform: scale(1); }
}
.sw-card:active {
  transform: scale(0.98); /* larger surface — subtler squeeze */
  transition: transform 140ms var(--ease-out); /* fast press feedback, independent of the 260ms hover/select transform */
}

.sw-field { margin-bottom: var(--space-3); }
.sw-field label {
  display: block;
  font-family: var(--font-spec);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.sw-field input, .sw-field textarea, .sw-field select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  padding: 12px var(--space-3);
  font-family: var(--font-body);
  font-size: 16px; /* 16px avoids iOS auto-zoom on focus */
  min-height: 46px;
  background: #fff;
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.sw-field input:focus, .sw-field textarea:focus, .sw-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 169, 30, 0.18);
}
.sw-field input::placeholder, .sw-field textarea::placeholder { color: #9AA6B4; }
.sw-field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }

.sw-address-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.sw-success-pop {
  animation: sw-pop 350ms var(--ease-out) both;
}
@keyframes sw-pop {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.sw-check-wrap { display: flex; justify-content: center; margin-bottom: var(--space-3); }
.sw-check { color: var(--gold); }
.sw-check-circle {
  stroke-dasharray: 145; stroke-dashoffset: 145;
  animation: sw-draw 500ms var(--ease-out) forwards;
}
.sw-check-mark {
  stroke-dasharray: 36; stroke-dashoffset: 36;
  animation: sw-draw 320ms var(--ease-out) 380ms forwards;
}
@keyframes sw-draw { to { stroke-dashoffset: 0; } }

.sw-loading { font-size: 13px; color: var(--text-muted); text-align: center; padding: var(--space-4) 0; }
.sw-loading::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px; margin-left: 6px;
  border-radius: 999px;
  background: currentColor;
  animation: sw-pulse 1000ms ease-in-out infinite;
}
@keyframes sw-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.15); }
}
.sw-error { font-size: 13px; color: var(--danger); margin-top: var(--space-2); font-weight: 500; }

@media (max-width: 480px) {
  #sunshine-widget-root:not(.embedded) {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    /* three-quarters of the screen, rising from the bottom */
    height: 75vh;
    height: 75dvh;
    max-height: 75dvh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transform-origin: center bottom;
    transition:
      opacity 150ms var(--ease-out),
      transform 260ms var(--ease-out),
      display 260ms allow-discrete;
  }
  #sunshine-widget-root:not(.embedded).open {
    transform: translateY(0);
    transition:
      opacity 220ms var(--ease-out),
      transform 440ms var(--ease-drawer),
      display 440ms allow-discrete;
  }
  @starting-style {
    #sunshine-widget-root:not(.embedded).open {
      opacity: 0;
      transform: translateY(100%);
    }
  }
  #sunshine-trigger { bottom: 16px; right: 16px; }
  #sunshine-trigger[aria-expanded="true"] { --tx: 0px; --ty: calc(-75dvh + 4px); }
}

@media (prefers-reduced-motion: reduce) {
  #sunshine-widget-root,
  #sunshine-widget-root.open {
    transform: none;
    transition: opacity 150ms ease, display 150ms allow-discrete;
  }
  #sunshine-trigger,
  #sunshine-trigger:hover,
  #sunshine-trigger:active {
    transform: translate(var(--tx), var(--ty));
    transition: box-shadow 150ms ease;
  }
  .sw-body,
  .sw-body.sw-entering {
    transform: none;
    transition: opacity 130ms ease;
  }
  .sw-btn-primary:active,
  .sw-btn-secondary:active,
  .sw-card:active,
  .sw-opt:active,
  .sw-toggle-btn:active {
    transform: none;
  }
  .sw-btn-primary:hover .sw-btn-arrow { transform: none; }
  .sw-card.selected,
  .sw-opt.selected,
  .sw-check-circle,
  .sw-check-mark,
  .sw-loading::after { animation: none; }
  .sw-check-circle, .sw-check-mark { stroke-dashoffset: 0; }
  .sw-card:hover { transform: none; }
  .sw-dot::before { transition: background 200ms ease; }
}

#sunshine-widget-inline .sw-close { visibility: hidden; }
