:root {
  --svc-interactive: #00384f;
  --svc-interactive-hover: #07506c;
  --svc-ocean: #00384f;
  --svc-ocean-hover: #07506c;
  --svc-blue: #087eb4;
  --svc-bg: #f5f8fa;
  --svc-surface: #fff;
  --svc-surface-soft: #eef4f7;
  --svc-text: #082f43;
  --svc-muted: #687e89;
  --svc-line: #d3e0e6;
  --svc-success: #087a43;
  --svc-danger: #b42318;
  --svc-warning: #9a6500;
  --svc-info: #006c9d;
  --svc-radius: 8px;
  --svc-dialog-radius: 12px;
  --svc-shadow: 0 10px 32px rgba(8, 47, 67, 0.1);
  --svc-fast: 140ms;
  --svc-normal: 210ms;
  font-family:
    Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  letter-spacing: 0;
  color: var(--svc-text);
  background: var(--svc-bg);
}

[data-theme="dark"],
.dark {
  --svc-interactive: #0085db;
  --svc-interactive-hover: #36a9f2;
  --svc-ocean: #0085db;
  --svc-ocean-hover: #36a9f2;
  --svc-blue: #0085db;
  --svc-bg: #0b0b0d;
  --svc-surface: #121316;
  --svc-surface-soft: #1a1b20;
  --svc-text: #f4f4f5;
  --svc-muted: #a6a7ad;
  --svc-line: #30323a;
  --svc-success: #44cf8a;
  --svc-danger: #ff716a;
  --svc-warning: #f4ba55;
  --svc-info: #6abcf2;
  --svc-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --svc-interactive: #0085db;
    --svc-interactive-hover: #36a9f2;
    --svc-ocean: #0085db;
    --svc-ocean-hover: #36a9f2;
    --svc-blue: #0085db;
    --svc-bg: #0b0b0d;
    --svc-surface: #121316;
    --svc-surface-soft: #1a1b20;
    --svc-text: #f4f4f5;
    --svc-muted: #a6a7ad;
    --svc-line: #30323a;
    --svc-success: #44cf8a;
    --svc-danger: #ff716a;
    --svc-warning: #f4ba55;
    --svc-info: #6abcf2;
    --svc-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
    color-scheme: dark;
  }
}
.svc-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 72px;
  border-bottom: 1px solid color-mix(in srgb, var(--svc-line) 82%, transparent);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(145%) blur(16px);
  backdrop-filter: saturate(145%) blur(16px);
}
.svc-header__inner {
  width: min(100% - 32px, 1440px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.svc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--svc-text);
  cursor: pointer;
  text-align: left;
}
.svc-brand__logo {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.38) sepia(0.2) hue-rotate(145deg)
    saturate(2);
}

.svc-locale-bootstrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #f6f9fc;
}

.svc-locale-bootstrap__mark {
  width: 28px;
  height: 28px;
  border: 3px solid #cad8e2;
  border-top-color: #00384f;
  border-radius: 50%;
  animation: svc-bootstrap-spin 700ms linear infinite;
}

.svc-auth-bootstrap-error {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--svc-bg);
}

.svc-auth-bootstrap-error__panel {
  width: min(100%, 560px);
  padding: 32px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-dialog-radius);
  background: var(--svc-surface);
  box-shadow: var(--svc-shadow);
}

.svc-auth-bootstrap-error__panel h1 {
  margin: 8px 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.svc-auth-bootstrap-error__panel p {
  margin: 0 0 18px;
  color: var(--svc-muted);
  line-height: 1.6;
}

.svc-auth-bootstrap-error__eyebrow {
  color: var(--svc-info) !important;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.svc-auth-bootstrap-error__detail {
  padding: 10px 12px;
  border-left: 3px solid var(--svc-danger);
  background: #fff3f2;
  color: var(--svc-danger) !important;
  font-size: 13px;
}

@keyframes svc-bootstrap-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-locale-bootstrap__mark {
    animation-duration: 1400ms;
  }
}

/*
 * BSC ECOLAB Service visual refinement.
 *
 * The ocean/navy interaction palette remains the product identity. This layer
 * only aligns typography, surfaces, spacing and motion across first-party
 * services. It deliberately does not change page structure or account card
 * composition.
 */
:root {
  --svc-bg: #f5f5f7;
  --svc-surface: #ffffff;
  --svc-surface-soft: #fafafc;
  --svc-text: #1d1d1f;
  --svc-muted: #6e6e73;
  --svc-line: #d2d2d7;
  --svc-shadow: 0 18px 50px rgba(0, 39, 61, 0.12);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    Inter,
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    sans-serif;
}

html,
body {
  background: var(--svc-bg);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.svc-page-header h1,
.login-copy h1 {
  font-weight: 600;
  letter-spacing: 0;
}

.svc-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
}

.svc-brand strong,
.svc-account-menu strong {
  font-weight: 600;
}

.svc-icon-button,
.svc-button,
.svc-shell-workspace [data-slot="button"] {
  transition:
    color var(--svc-fast),
    background-color var(--svc-fast),
    border-color var(--svc-fast),
    opacity var(--svc-fast),
    transform var(--svc-fast);
}

.svc-button {
  border-radius: 999px;
  font-weight: 600;
}

.svc-button:hover,
.svc-shell-workspace [data-slot="button"]:hover {
  transform: none;
}

.svc-button:active,
.svc-icon-button:active,
.svc-shell-workspace [data-slot="button"]:active {
  transform: scale(0.96);
}

/* Shared dark appearance. Product styles may change the accent, but not the surface hierarchy. */
:root[data-theme="dark"] {
  --svc-interactive: #249be3;
  --svc-interactive-hover: #58b8ef;
  --svc-ocean: #249be3;
  --svc-ocean-hover: #58b8ef;
  --svc-blue: #4db4ee;
  --svc-bg: #0b0b0d;
  --svc-surface: #121316;
  --svc-surface-soft: #1a1b20;
  --svc-text: #f4f4f5;
  --svc-muted: #a6a7ad;
  --svc-line: #30323a;
  --svc-success: #44cf8a;
  --svc-danger: #ff716a;
  --svc-warning: #f4ba55;
  --svc-info: #6abcf2;
  --svc-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
  --background: #0b0b0d;
  --foreground: #f4f4f5;
  --card: #121316;
  --card-foreground: #f4f4f5;
  --popover: #18191d;
  --popover-foreground: #f4f4f5;
  --primary: #249be3;
  --primary-foreground: #06131a;
  --secondary: #22242a;
  --secondary-foreground: #f4f4f5;
  --muted: #1a1b20;
  --muted-foreground: #a6a7ad;
  --accent: #1c3443;
  --accent-foreground: #dff4ff;
  --destructive: #ff716a;
  --border: #30323a;
  --input: #3b3e47;
  --ring: #4db4ee;
  color-scheme: dark;
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] .svc-shell,
:root[data-theme="dark"] .svc-shell__content {
  background: var(--svc-bg);
  color: var(--svc-text);
}

:root[data-theme="dark"] .svc-shell-workspace {
  --spike-surface: #0b0b0d;
  --spike-text: #f4f4f5;
  --spike-muted: #a6a7ad;
}

:root[data-theme="dark"] .svc-header,
:root[data-theme="dark"] .svc-shell-workspace .svc-shell__header .svc-header {
  border-color: var(--svc-line);
  background: rgba(11, 11, 13, 0.88);
}

:root[data-theme="dark"] .svc-sidebar,
:root[data-theme="dark"] .svc-account-menu,
:root[data-theme="dark"] .svc-services-dialog,
:root[data-theme="dark"] .svc-dialog,
:root[data-theme="dark"] .svc-panel,
:root[data-theme="dark"] .svc-table-wrap,
:root[data-theme="dark"] .svc-shell-workspace [data-slot="card"],
:root[data-theme="dark"] .login-features,
:root[data-theme="dark"] .svc-auth-bootstrap-error__panel {
  border-color: var(--svc-line);
  background: var(--svc-surface);
  color: var(--svc-text);
  box-shadow: none;
}

:root[data-theme="dark"] .svc-sidebar nav button,
:root[data-theme="dark"] .svc-sidebar__brand,
:root[data-theme="dark"] .svc-brand,
:root[data-theme="dark"] .svc-account-menu button {
  color: var(--svc-text);
}

:root[data-theme="dark"] .svc-sidebar nav button:hover,
:root[data-theme="dark"] .svc-sidebar__brand:hover,
:root[data-theme="dark"] .svc-account-menu button:hover,
:root[data-theme="dark"] .svc-services-grid a:hover {
  background: #202228;
  color: #dff4ff;
}

:root[data-theme="dark"] .svc-sidebar nav button.is-active {
  background: #173447;
  color: #8ed5ff;
}

:root[data-theme="dark"] .svc-icon-button,
:root[data-theme="dark"] .svc-avatar,
:root[data-theme="dark"] .svc-locale,
:root[data-theme="dark"] .svc-select,
:root[data-theme="dark"] .svc-field input,
:root[data-theme="dark"] .svc-field textarea,
:root[data-theme="dark"] .svc-field select {
  border-color: #3b3e47;
  background: #18191d;
  color: var(--svc-text);
}

:root[data-theme="dark"] :where(input, textarea, select)::placeholder {
  color: #777982;
}

:root[data-theme="dark"] .svc-icon-button:hover,
:root[data-theme="dark"] .svc-avatar:hover {
  border-color: #565a65;
  background: #22242a;
}

:root[data-theme="dark"] .svc-button-outlined {
  border-color: #4a4d57;
  background: transparent;
  color: #d8d9dd;
}

:root[data-theme="dark"] .svc-button-tonal {
  background: #173447;
  color: #8ed5ff;
}

:root[data-theme="dark"] .svc-button-danger {
  border-color: #ff716a;
  background: #c93630;
  color: #fff;
}

:root[data-theme="dark"] .svc-data-table th {
  border-color: var(--svc-line);
  background: #191a1f;
  color: #b9bac0;
}

:root[data-theme="dark"] .svc-data-table td,
:root[data-theme="dark"] .svc-data-table tr,
:root[data-theme="dark"] .svc-account-menu__line {
  border-color: var(--svc-line);
}

:root[data-theme="dark"] .svc-data-table tbody tr:hover {
  background: #18191d;
}

:root[data-theme="dark"] .svc-dialog-layer,
:root[data-theme="dark"] .svc-shell__scrim {
  background: rgba(0, 0, 0, 0.7);
}

:root[data-theme="dark"] .svc-toast {
  border-color: #3b3e47;
  background: #1b1c21;
  color: var(--svc-text);
  box-shadow: var(--svc-shadow);
}

:root[data-theme="dark"] .svc-toast-success {
  border-left-color: var(--svc-success);
}

:root[data-theme="dark"] .svc-toast-error,
:root[data-theme="dark"] .svc-auth-bootstrap-error__detail {
  border-left-color: var(--svc-danger);
  background: #2a1718;
  color: #ffaaa5;
}

:root[data-theme="dark"] .svc-locale-bootstrap {
  background: var(--svc-bg);
}

:root[data-theme="dark"] .svc-locale-bootstrap__mark {
  border-color: #3b3e47;
  border-top-color: #4db4ee;
}

:root[data-theme="dark"] .svc-brand__logo,
:root[data-theme="dark"] .svc-sidebar__brand img {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

:root[data-theme="dark"] ::selection {
  background: rgba(77, 180, 238, 0.32);
  color: #fff;
}

:root[data-theme="dark"] {
  scrollbar-color: #484b55 #111216;
}

.svc-button-filled,
.svc-shell-workspace .bg-blue-600 {
  /* Preserve the existing BSC interaction colours. */
  color: #ffffff;
}

.svc-panel,
.svc-table-wrap,
.login-features,
.svc-shell-workspace [data-slot="card"] {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--svc-radius);
  background: var(--svc-surface);
  box-shadow: none;
}

.svc-panel:hover,
.svc-table-wrap:hover,
.svc-shell-workspace [data-slot="card"]:hover {
  box-shadow: none;
  transform: none;
}

.svc-shell,
.svc-shell-workspace,
.login-page,
.svc-locale-bootstrap,
.svc-auth-bootstrap-error {
  background: var(--svc-bg);
}

.svc-shell-workspace {
  --spike-surface: #f5f5f7;
  --spike-text: #1d1d1f;
  --spike-muted: #6e6e73;
}

.svc-shell-workspace .svc-shell__header .svc-header,
.svc-shell-workspace .svc-sidebar {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.svc-shell-workspace .svc-shell__header .svc-header {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
}

.svc-sidebar nav button:hover,
.svc-shell-workspace .svc-sidebar nav button:hover {
  transform: none;
}

.svc-field input,
.svc-field textarea,
.svc-select,
.svc-shell-workspace [data-slot="input"],
.svc-shell-workspace select,
.svc-shell-workspace .account-form-card button[class*="border-input"] {
  border-color: #c7c7cc;
  border-radius: var(--svc-radius);
  background: #ffffff;
  box-shadow: none;
}

.svc-data-table th,
.svc-table-wrap > table th {
  background: #fafafc;
  color: #6e6e73;
}

.svc-data-table tbody tr:hover,
.svc-table-wrap > table tbody tr:hover {
  background: #f5f5f7;
}

.svc-dialog,
.svc-toast,
.svc-account-menu {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
}

.svc-dialog {
  box-shadow: 0 24px 70px rgba(0, 39, 61, 0.18);
}

.svc-toast {
  box-shadow: 0 12px 36px rgba(0, 39, 61, 0.12);
}

.svc-status {
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.09);
  background: #ffffff;
}

@media (prefers-reduced-transparency: reduce) {
  .svc-header,
  .svc-shell-workspace .svc-shell__header .svc-header,
  .svc-dialog,
  .svc-toast,
  .svc-account-menu {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.svc-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.svc-brand strong {
  font-size: 16px;
}
.svc-brand small {
  margin-top: 4px;
  color: var(--svc-muted);
  font-size: 12px;
}
.svc-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-locale {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--svc-text);
  font-size: 13px;
  font-weight: 650;
}
.svc-locale > svg {
  width: 17px;
}
.svc-locale select {
  height: 38px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 0 30px 0 10px;
  color: inherit;
}
.svc-icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--svc-text);
  cursor: pointer;
  transition:
    background var(--svc-fast),
    transform var(--svc-fast);
}
.svc-icon-button:hover {
  background: var(--svc-surface-soft);
}
.svc-icon-button:active {
  transform: scale(0.96);
}
.svc-icon-button svg {
  width: 19px;
}
.svc-account {
  position: relative;
}
.svc-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 3px;
  border: 2px solid #cbdbe3;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--svc-text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(8, 47, 67, 0.08);
}
.svc-avatar img,
.svc-avatar > span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #edf5f8;
}
.svc-avatar__chevron {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 17px !important;
  height: 17px !important;
  padding: 2px;
  border: 1px solid var(--svc-line);
  background: #fff;
  border-radius: 50%;
}
.svc-plan-lite {
  border-color: #39a9dc;
}
.svc-plan-plus {
  border-color: #1976d2;
}
.svc-plan-pro {
  border-color: #0057a6;
}
.svc-plan-premium {
  border-color: #7257c7;
}
.svc-plan-ultra_5x {
  border-color: #0b6d92;
}
.svc-plan-ultra_20x {
  border-color: #003b66;
}
.svc-account-menu {
  position: absolute;
  right: 0;
  top: 56px;
  width: 270px;
  padding: 8px;
  border: 1px solid rgba(190, 207, 216, 0.8);
  border-radius: var(--svc-dialog-radius);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--svc-shadow);
  animation: svc-menu-in var(--svc-normal) ease;
}
.svc-account-menu__identity {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.svc-account-switcher {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--svc-line);
  border-bottom: 1px solid var(--svc-line);
}

.svc-account-switcher > button {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  width: 100%;
}

.svc-account-switcher__line {
  display: block;
  height: 1px;
  margin: 0;
  background: var(--svc-line);
}

.svc-account-switcher > button > span:nth-child(2) {
  min-width: 0;
  text-align: left;
}

.svc-account-switcher > button strong,
.svc-account-switcher > button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.svc-account-switcher__avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--svc-surface-muted);
  overflow: hidden;
}

.svc-account-switcher__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-account-menu__identity small {
  margin-top: 4px;
  color: var(--svc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-account-menu button {
  width: 100%;
  height: 52px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--svc-text);
  font-weight: 650;
  cursor: pointer;
}
.svc-account-menu button:hover {
  background: var(--svc-surface-soft);
}
.svc-account-menu button svg {
  width: 18px;
}
.svc-account-menu__actions {
  display: grid;
}
.svc-account-menu__actions > button + button {
  border-top: 1px solid var(--svc-line);
  border-radius: 0 0 7px 7px;
}
.svc-account-menu__line {
  display: block;
  height: 1px;
  margin: 0;
  background: var(--svc-line);
}
.svc-dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(8, 47, 67, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.svc-services-dialog {
  width: min(100%, 680px);
  max-height: min(720px, calc(100dvh - 32px));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(190, 207, 216, 0.9);
  border-radius: var(--svc-dialog-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(8, 47, 67, 0.22);
}
.svc-services-dialog > header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 22px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--svc-line);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.svc-services-dialog h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}
.svc-services-dialog p {
  margin: 7px 0 0;
  color: var(--svc-muted);
  font-size: 14px;
}
.svc-services-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.svc-services-grid > a {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--svc-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--svc-text);
  text-decoration: none;
  transition:
    border-color var(--svc-fast),
    background var(--svc-fast),
    transform var(--svc-fast);
}
.svc-services-grid > a:hover {
  border-color: var(--svc-blue);
  background: var(--svc-surface-soft);
  transform: translateY(-1px);
}
.svc-services-grid > a > svg {
  width: 17px;
}
.svc-services-grid > a > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.svc-services-grid small {
  margin-top: 4px;
  color: var(--svc-muted);
  font-size: 12px;
  line-height: 1.35;
}
.svc-service-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--svc-ocean);
  color: #fff;
  font-weight: 800;
}
@keyframes svc-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 700px) {
  .svc-header {
    height: 64px;
  }
  .svc-header__inner {
    width: calc(100% - 20px);
  }
  .svc-brand__logo {
    width: 40px;
    height: 40px;
  }
  .svc-brand > span {
    display: none;
  }
  .svc-notification {
    display: none;
  }
  .svc-locale {
    padding: 0 2px;
  }
  .svc-locale > svg {
    display: none;
  }
  .svc-locale select {
    max-width: 145px;
  }
  .svc-avatar {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 560px) {
  .svc-services-grid {
    grid-template-columns: 1fr;
  }
  .svc-dialog-layer {
    padding: 10px;
  }
  .svc-services-dialog {
    max-height: calc(100vh - 20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-account-menu {
    animation: none;
  }
  .svc-icon-button {
    transition: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .svc-header,
  .svc-account-menu {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .svc-header,
  .svc-account-menu {
    background: rgba(255, 255, 255, 0.98);
  }
}

/* Shared first-party service sign-in surface used by server-rendered entry pages. */
html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  font-family:
    Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  color: var(--svc-text);
  background: var(--svc-bg);
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
.login-page {
  min-height: calc(100dvh - 72px);
  background: var(--svc-bg);
}
.login-hero {
  width: min(100% - 40px, 1120px);
  min-height: calc(100dvh - 72px);
  margin: auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 64px;
}
.login-copy {
  min-width: 0;
}
.login-copy .eyebrow {
  margin: 0 0 16px;
  color: var(--svc-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.login-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}
.login-description {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--svc-muted);
  font-size: 17px;
  line-height: 1.7;
}
.login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.login-copy > small {
  display: block;
  margin-top: 18px;
  color: var(--svc-muted);
  font-size: 12px;
  line-height: 1.55;
}
.login-features {
  margin: 0;
  border: 1px solid var(--svc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 47, 67, 0.07);
}
.login-feature {
  padding: 24px 26px;
  border-bottom: 1px solid var(--svc-line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.login-feature:last-child {
  border-bottom: 0;
}
.login-feature h2 {
  margin: 0;
  font-size: 18px;
}
.login-feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--svc-ocean);
  color: #fff;
}
.login-feature p {
  margin: 8px 0 0;
  color: var(--svc-muted);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .login-page {
    min-height: calc(100dvh - 64px);
  }
  .login-hero {
    width: min(100% - 28px, 620px);
    min-height: auto;
    padding: 42px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .login-copy h1 {
    font-size: 38px;
  }
  .login-description {
    font-size: 15px;
  }
  .login-actions {
    display: grid;
  }
  .login-actions .svc-button {
    width: 100%;
  }
}

/* Focused language and region settings surface. */
.language-settings-page {
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 84% 20%,
      rgba(0, 133, 219, 0.1),
      transparent 30rem
    ),
    linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
}
.language-settings-main {
  width: min(calc(100% - 40px), 1080px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) 0 88px;
}
.language-settings-intro {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}
.language-settings-eyebrow {
  margin: 0 0 12px;
  color: var(--svc-interactive);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.language-settings-intro h1 {
  margin: 0;
  color: #082f43;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.language-settings-intro > div > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--svc-muted);
  font-size: 17px;
  line-height: 1.6;
}
.language-settings-current {
  min-width: 230px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 56, 79, 0.13);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 30px rgba(0, 56, 79, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.language-settings-current svg {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--svc-interactive);
}
.language-settings-current span {
  color: var(--svc-muted);
  font-size: 12px;
}
.language-settings-current strong {
  overflow: hidden;
  color: var(--svc-text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-settings-card {
  overflow: hidden;
  border: 1px solid rgba(0, 56, 79, 0.12);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.38fr);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 56, 79, 0.1);
}
.language-settings-card__form {
  min-width: 0;
  padding: clamp(28px, 5vw, 52px);
}
.language-settings-card__heading {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.language-settings-card__step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8f3f8;
  color: var(--svc-interactive);
  font-size: 12px;
  font-weight: 800;
}
.language-settings-card__heading h2 {
  margin: 0;
  color: var(--svc-text);
  font-size: 22px;
  line-height: 1.25;
}
.language-settings-card__heading p {
  margin: 7px 0 0;
  color: var(--svc-muted);
  font-size: 14px;
  line-height: 1.55;
}
.language-settings-card__form .locale-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}
.language-settings-card__form .locale-switcher__icon {
  display: none;
}
.language-settings-card__form .locale-switcher label {
  gap: 9px;
}
.language-settings-card__form .locale-switcher label > span {
  padding: 0;
  color: #365767;
  font-size: 13px;
  font-weight: 700;
}
.language-settings-card__form .locale-switcher select,
.language-settings-card__form .locale-switcher label:first-of-type select,
.language-settings-card__form .locale-switcher label:last-of-type select {
  width: 100%;
  max-width: none;
  height: 54px;
  border-color: #b9cbd4;
  border-radius: 12px;
  padding: 0 42px 0 15px;
  background-color: #fff;
  font-size: 15px;
  font-weight: 650;
  transition:
    border-color var(--svc-fast),
    box-shadow var(--svc-fast);
}
.language-settings-card__form .locale-switcher select:hover {
  border-color: #7898a8;
}
.language-settings-card__form .locale-switcher select:focus-visible {
  border-color: var(--svc-interactive);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 133, 219, 0.16);
}
.language-settings-actions {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--svc-line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.language-settings-actions .svc-button {
  min-height: 48px;
}
.language-settings-card__aside {
  min-width: 0;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 133, 219, 0.32),
      transparent 54%
    ),
    #00384f;
  color: #fff;
}
.language-settings-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.09);
  color: #77c9ff;
}
.language-settings-card__aside p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.language-settings-card__aside strong {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.2;
}
.language-settings-card__aside > span:not(.language-settings-card__icon) {
  margin-top: 7px;
  color: #9ddcff;
  font-size: 14px;
}
.language-settings-card__aside small {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 780px) {
  .language-settings-main {
    width: min(calc(100% - 28px), 620px);
    padding: 38px 0 56px;
  }
  .language-settings-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .language-settings-current {
    width: 100%;
  }
  .language-settings-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .language-settings-card__aside {
    padding: 28px;
  }
  .language-settings-card__icon {
    margin-bottom: 22px;
  }
}
@media (max-width: 540px) {
  .language-settings-intro h1 {
    font-size: 40px;
  }
  .language-settings-card__form {
    padding: 24px 20px;
  }
  .language-settings-card__form .locale-switcher {
    grid-template-columns: 1fr;
  }
  .language-settings-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .language-settings-actions .svc-button {
    width: 100%;
  }
}

/* Shared application shell and primitives. Product apps select density instead of redefining components. */
.svc-shell {
  --svc-sidebar-width: 248px;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: var(--svc-sidebar-width) minmax(0, 1fr);
  grid-template-rows: 72px minmax(0, 1fr);
  background: var(--svc-bg);
  color: var(--svc-text);
  color-scheme: inherit;
}
.svc-shell__header {
  grid-column: 1/-1;
  position: sticky;
  top: 0;
  z-index: 80;
}
.svc-shell__header .svc-header {
  position: relative;
}
.svc-sidebar {
  grid-row: 2;
  padding: 24px 14px;
  position: sticky;
  top: 72px;
  height: calc(100dvh - 72px);
  overflow: auto;
  border-right: 1px solid var(--svc-line);
  background: var(--svc-surface);
  z-index: 50;
}
.svc-sidebar__label {
  margin: 0 12px 10px;
  color: #83919a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.svc-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.svc-sidebar nav button {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #23475a;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--svc-fast),
    transform var(--svc-fast);
}
.svc-sidebar nav button:hover {
  background: var(--svc-surface-soft);
  transform: translateX(2px);
}
.svc-sidebar nav button.is-active {
  background: var(--svc-ocean);
  color: #fff;
}
.svc-sidebar nav svg {
  width: 19px;
  flex: none;
}
.svc-shell__content {
  min-width: 0;
  width: 100%;
  max-width: 1500px;
  padding: 40px clamp(24px, 4vw, 64px) 72px;
}
.svc-shell__menu-button,
.svc-shell__scrim {
  display: none;
}
.svc-page-header {
  margin: 0 0 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.svc-page-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}
.svc-page-header__description {
  margin: 8px 0 0;
  color: var(--svc-muted);
  font-size: 14px;
  line-height: 1.55;
}
.svc-page-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.svc-eyebrow {
  margin: 0 0 8px;
  color: var(--svc-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.svc-button {
  position: relative;
  min-width: 44px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--svc-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    background var(--svc-fast),
    border-color var(--svc-fast),
    box-shadow var(--svc-fast),
    transform var(--svc-fast);
}
.svc-button:hover {
  transform: translateY(-1px);
}
.svc-button:active {
  transform: none;
}
.svc-button:focus-visible,
.svc-icon-button:focus-visible,
.svc-select:focus-visible,
.svc-field input:focus-visible,
.svc-field textarea:focus-visible {
  outline: 3px solid rgba(8, 126, 180, 0.25);
  outline-offset: 2px;
}
.svc-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}
.svc-button-filled {
  background: var(--svc-interactive);
  color: #fff;
}
.svc-button-filled:hover {
  background: var(--svc-interactive-hover);
}
.svc-button-tonal {
  background: #dceff7;
  color: var(--svc-ocean);
}
.svc-button-tonal:hover {
  background: #cae7f2;
}
.svc-button-outlined {
  border-color: #9fb4bf;
  background: #fff;
  color: var(--svc-text);
}
.svc-button-outlined:hover {
  border-color: var(--svc-blue);
  background: var(--svc-surface-soft);
}
.svc-button-text {
  background: transparent;
  color: var(--svc-ocean);
}
.svc-button-text:hover {
  background: var(--svc-surface-soft);
}
.svc-button-danger {
  background: var(--svc-danger);
  color: #fff;
}
.svc-button-sm {
  height: 34px;
  padding: 0 11px;
  font-size: 12px;
}
.svc-button-lg {
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
}
.svc-button__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.svc-button svg {
  width: 18px;
}
.svc-button__spinner {
  width: 17px;
  animation: svc-spin 0.8s linear infinite;
}
.svc-button[aria-busy="true"] .svc-button__content {
  opacity: 0.76;
}
.svc-panel,
.svc-table-wrap {
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-radius);
  background: var(--svc-surface);
  box-shadow: 0 2px 8px rgba(8, 47, 67, 0.04);
}
.svc-panel {
  padding: 24px;
}
.svc-panel h2 {
  margin: 0 0 18px;
  font-size: 17px;
}
.svc-table-wrap {
  max-width: 100%;
  overflow: auto;
}
.svc-data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.svc-data-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--svc-line);
  background: #f8fafb;
  color: #6e818d;
  font-size: 11px;
  font-weight: 750;
  text-align: left;
  text-transform: uppercase;
}
.svc-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5ecef;
  font-size: 13px;
  vertical-align: middle;
}
.svc-data-table tbody tr:last-child td {
  border-bottom: 0;
}
.svc-data-table tbody tr:hover {
  background: #f8fbfc;
}
.svc-density-compact .svc-data-table td {
  padding-top: 11px;
  padding-bottom: 11px;
}
.svc-density-compact .svc-panel {
  padding: 20px;
}

/* Account workspace follows the Spike dashboard geometry and surface system. */
.svc-shell-workspace {
  --svc-sidebar-width: 270px;
  --spike-primary: #0085db;
  --spike-primary-hover: #0071ba;
  --spike-surface: #f0f5f9;
  --spike-active: #e5f3fb;
  --spike-text: #111c2d;
  --spike-muted: #707a82;
  display: grid;
  grid-template-columns: var(--svc-sidebar-width) minmax(0, 1fr);
  grid-template-rows: 72px minmax(0, 1fr);
  gap: 24px;
  min-height: 100dvh;
  padding: 20px;
  background: var(--spike-surface);
  color: var(--spike-text);
}
.svc-sidebar__brand {
  display: none;
}
.svc-shell-workspace .svc-shell__header {
  position: sticky;
  top: 20px;
  z-index: 40;
  grid-column: 2;
  grid-row: 1;
  height: 72px;
  margin: 0;
}
.svc-shell-workspace .svc-shell__header .svc-header {
  height: 72px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(37, 83, 185, 0.1);
}
.svc-shell-workspace .svc-header__inner {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 24px;
}
.svc-shell-workspace .svc-header .svc-brand {
  display: none;
}
.svc-shell-workspace .svc-header__actions {
  width: 100%;
  justify-content: flex-end;
}
.svc-shell-workspace .svc-sidebar {
  position: sticky;
  top: 20px;
  z-index: 50;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 270px;
  height: calc(100dvh - 40px);
  margin: 0;
  padding: 16px;
  overflow-y: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(37, 83, 185, 0.1);
}
.svc-shell-workspace .svc-sidebar__brand {
  width: 100%;
  min-height: 58px;
  margin: 0 0 26px;
  padding: 4px 8px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--spike-text);
  text-align: left;
  background: transparent;
}
.svc-shell-workspace .svc-sidebar__brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}
.svc-shell-workspace .svc-sidebar__brand span {
  min-width: 0;
  display: grid;
  gap: 1px;
}
.svc-shell-workspace .svc-sidebar__brand strong {
  overflow: hidden;
  color: var(--spike-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-shell-workspace .svc-sidebar__brand small {
  overflow: hidden;
  color: var(--spike-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-shell-workspace .svc-sidebar__label {
  margin: 0 10px 7px;
  color: var(--spike-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}
.svc-shell-workspace .svc-sidebar nav {
  gap: 4px;
  overflow: hidden;
}
.svc-shell-workspace .svc-sidebar nav button {
  position: relative;
  isolation: isolate;
  height: 44px;
  border-radius: 7px;
  color: var(--spike-text);
  font-size: 14px;
  font-weight: 600;
  transition: color 150ms ease;
}
.svc-shell-workspace .svc-sidebar nav button::before {
  position: absolute;
  inset: 0 auto 0 -16px;
  z-index: -1;
  width: 0;
  border-radius: 0 24px 24px 0;
  background: var(--spike-active);
  content: "";
  transition: width 220ms ease;
}
.svc-shell-workspace .svc-sidebar nav button > * {
  position: relative;
  z-index: 1;
}
.svc-shell-workspace .svc-sidebar nav button:hover {
  background: transparent;
  color: var(--spike-primary-hover);
  transform: none;
}
.svc-shell-workspace .svc-sidebar nav button:hover::before,
.svc-shell-workspace .svc-sidebar nav button.is-active::before {
  width: calc(100% + 16px);
}
.svc-shell-workspace .svc-sidebar nav button.is-active {
  background: transparent;
  color: var(--spike-primary-hover);
  box-shadow: none;
}
.svc-shell-workspace .svc-shell__content {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 52px;
}
.svc-shell-workspace .account-workspace-page,
.svc-shell-workspace .account-page-container {
  min-height: auto;
  background: transparent;
}
.svc-shell-workspace .account-page-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.svc-shell-workspace .account-workspace-page > .mb-8,
.svc-shell-workspace .account-page-container > .mb-6 + div > p.mb-8 {
  margin-bottom: 24px;
}
.svc-shell-workspace .account-workspace-page h1 {
  color: var(--spike-text);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}
.svc-shell-workspace [data-slot="card"] {
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(37, 83, 185, 0.1);
  transition:
    box-shadow var(--svc-fast),
    transform var(--svc-fast);
}
.svc-shell-workspace [data-slot="card"]:hover {
  box-shadow: 0 4px 12px rgba(37, 83, 185, 0.12);
}
.svc-shell-workspace .account-stat-card {
  min-height: 150px;
  justify-content: flex-end;
  position: relative;
}
.svc-shell-workspace .account-stat-card__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--spike-active);
  color: var(--spike-primary);
}
.svc-shell-workspace .account-form-card {
  max-width: 780px;
}
.svc-shell-workspace .account-avatar-panel {
  border: 0;
  border-radius: 18px;
  background: var(--spike-surface);
}
.svc-shell-workspace [data-slot="input"],
.svc-shell-workspace select,
.svc-shell-workspace .account-form-card button[class*="border-input"] {
  min-height: 44px;
  border-width: 1px;
  border-color: #d5e0e7;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}
.svc-shell-workspace [data-slot="input"]:focus-visible,
.svc-shell-workspace select:focus-visible,
.svc-shell-workspace
  .account-form-card
  button[class*="border-input"]:focus-visible {
  border-color: var(--spike-primary);
  outline: 3px solid rgba(0, 133, 219, 0.14);
  outline-offset: 1px;
  box-shadow: none;
}
.svc-shell-workspace [data-slot="button"] {
  min-height: 38px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
}
.svc-shell-workspace [data-slot="button"]:hover {
  transform: translateY(-1px);
}
.svc-shell-workspace [data-slot="button"]:active {
  transform: none;
}
.svc-shell-workspace [data-slot="button"].h-12 {
  min-height: 48px;
}
.svc-shell-workspace .rounded-xl {
  border-radius: 18px;
}
.svc-shell-workspace .rounded-full {
  border-radius: 999px;
}
.svc-shell-workspace .border-blue-200,
.svc-shell-workspace .border-green-200,
.svc-shell-workspace .border-orange-200,
.svc-shell-workspace .border-purple-200 {
  border-color: transparent;
}
.svc-shell-workspace .bg-background {
  background: transparent;
}
.svc-shell-workspace .account-form-card .bg-background,
.svc-shell-workspace [data-slot="input"] {
  background: #fff;
}
.svc-shell-workspace .text-blue-600 {
  color: var(--spike-primary);
}
.svc-shell-workspace .bg-blue-600 {
  background: var(--spike-primary);
}
.svc-shell-workspace .bg-blue-600:hover {
  background: var(--spike-primary-hover);
}

/* Turn the Spike desktop rail into a drawer before it squeezes form content. */
@media (max-width: 1120px) {
  .svc-shell-workspace {
    min-height: 100dvh;
    padding: 16px;
    display: block;
  }
  .svc-shell-workspace .svc-shell__header {
    position: sticky;
    top: 16px;
    z-index: 40;
    width: 100%;
    height: 68px;
    margin: 0 0 20px;
  }
  .svc-shell-workspace .svc-shell__header .svc-header {
    height: 68px;
  }
  .svc-shell-workspace .svc-header__inner {
    padding: 0 18px;
  }
  .svc-shell-workspace .svc-header .svc-brand {
    min-width: 0;
    display: flex;
  }
  .svc-shell-workspace .svc-header .svc-brand__logo {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-basis: 40px;
  }
  .svc-shell-workspace .svc-header .svc-brand > span {
    display: none;
  }
  .svc-shell-workspace .svc-header__actions {
    width: auto;
    min-width: 0;
    margin-left: auto;
  }
  .svc-shell-workspace .svc-shell__menu-button {
    display: grid;
  }
  .svc-shell-workspace .svc-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    width: min(270px, calc(100vw - 42px));
    height: 100dvh;
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: 0 18px 18px 0;
    transform: translateX(-102%);
    transition: transform var(--svc-normal);
  }
  .svc-shell-workspace .svc-sidebar.is-open {
    transform: none;
  }
  .svc-shell-workspace .svc-shell__scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    display: block;
    background: rgba(8, 47, 67, 0.28);
  }
  .svc-shell-workspace .svc-sidebar__brand {
    display: flex;
    margin-bottom: 22px;
  }
  .svc-shell-workspace .svc-shell__content {
    width: min(100%, 1120px);
    max-width: 1120px;
    margin-inline: auto;
    padding: 0 0 48px;
  }
}
.svc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--svc-text);
  font-size: 12px;
  font-weight: 750;
}
.svc-field input,
.svc-field textarea,
.svc-select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #aebfc8;
  border-radius: 6px;
  background: #fff;
  color: var(--svc-text);
  font: inherit;
}
.svc-field textarea {
  padding: 11px;
  line-height: 1.55;
}
.svc-field small {
  color: var(--svc-muted);
  font-weight: 500;
  line-height: 1.45;
}
.svc-field.has-error input,
.svc-field.has-error textarea,
.svc-field.has-error .svc-select {
  border-color: var(--svc-danger);
}
.svc-field.has-error small[role="alert"] {
  color: var(--svc-danger);
}
.svc-dialog {
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid rgba(190, 207, 216, 0.9);
  border-radius: var(--svc-dialog-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(8, 47, 67, 0.22);
}
.svc-dialog > header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--svc-line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}
.svc-dialog h2 {
  margin: 0;
  font-size: 20px;
}
.svc-dialog header p {
  margin: 7px 0 0;
  color: var(--svc-muted);
  font-size: 13px;
  line-height: 1.5;
}
.svc-dialog__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.svc-dialog > footer {
  position: sticky;
  bottom: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--svc-line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}
.svc-status {
  min-height: 280px;
  padding: 28px;
  border: 1px dashed #b8c9d2;
  border-radius: var(--svc-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--svc-muted);
  text-align: center;
}
.svc-status > svg {
  width: 28px;
  height: 28px;
}
.svc-status p {
  margin: 0;
  line-height: 1.5;
}
.svc-status-error > svg {
  color: var(--svc-danger);
}
.svc-status__spinner {
  color: var(--svc-blue);
  animation: svc-spin 0.8s linear infinite;
}
.svc-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;
}
.svc-toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 160;
  width: min(380px, calc(100% - 36px));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-toast {
  min-height: 52px;
  padding: 8px 9px 8px 14px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-dialog-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--svc-shadow);
  font-size: 13px;
  font-weight: 650;
}
.svc-toast-success {
  border-left: 4px solid var(--svc-success);
}
.svc-toast-error {
  border-left: 4px solid var(--svc-danger);
}
.svc-toast-info {
  border-left: 4px solid var(--svc-info);
}
@keyframes svc-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 760px) {
  .svc-shell {
    display: block;
  }
  .svc-shell__header {
    height: 64px;
  }
  .svc-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100dvh;
    padding-top: 76px;
    transform: translateX(-102%);
    transition: transform var(--svc-normal);
    box-shadow: var(--svc-shadow);
  }
  .svc-sidebar.is-open {
    transform: none;
  }
  .svc-shell__menu-button {
    display: grid;
  }
  .svc-shell__scrim {
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    display: block;
    background: rgba(8, 47, 67, 0.28);
  }
  .svc-shell__content {
    padding: 28px 16px 64px;
  }
  .svc-page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .svc-page-header__actions {
    width: 100%;
  }
  .svc-page-header__actions > .svc-button {
    flex: 1;
  }
  .svc-dialog-layer {
    padding: 10px;
  }
  .svc-dialog {
    max-height: calc(100dvh - 20px);
  }
  .svc-shell-workspace .svc-sidebar {
    top: 0;
    z-index: 60;
    width: min(270px, calc(100vw - 42px));
    height: 100dvh;
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: 0 18px 18px 0;
  }
  .svc-shell-workspace {
    min-height: 100dvh;
    padding: 12px;
    background: var(--spike-surface);
  }
  .svc-shell-workspace .svc-shell__header {
    position: sticky;
    top: 12px;
    z-index: 40;
    height: 64px;
    margin: 0 0 16px;
  }
  .svc-shell-workspace .svc-shell__header .svc-header {
    height: 64px;
    border-radius: 18px;
  }
  .svc-shell-workspace .svc-header__inner {
    width: 100%;
    padding: 0 12px 0 14px;
    gap: 8px;
  }
  .svc-shell-workspace .svc-header .svc-brand {
    min-width: 0;
    display: flex;
  }
  .svc-shell-workspace .svc-header .svc-brand__logo {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
    flex-basis: 38px;
  }
  .svc-shell-workspace .svc-header .svc-brand > span {
    display: none;
  }
  .svc-shell-workspace .svc-header__actions {
    width: auto;
    min-width: 0;
    margin-left: auto;
    gap: 4px;
  }
  .svc-shell-workspace .svc-sidebar__brand {
    margin-bottom: 22px;
  }
  .svc-shell-workspace .svc-shell__scrim {
    z-index: 55;
  }
  .svc-shell-workspace .svc-shell__content {
    padding: 0 0 44px;
  }
  .svc-shell-workspace .account-workspace-page h1 {
    font-size: 28px;
  }
  .svc-shell-workspace
    .account-page-container
    > [data-slot="button"]:first-child {
    margin-bottom: 18px;
  }
  .svc-shell-workspace [data-slot="card"] {
    padding: 20px;
  }
  .svc-shell-workspace .account-stat-card {
    min-height: 132px;
  }
  .svc-shell-workspace .account-avatar-panel {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-button,
  .svc-sidebar {
    transition: none;
  }
  .svc-button:hover {
    transform: none;
  }
  .svc-button__spinner,
  .svc-status__spinner {
    animation: none;
  }
}

/* Shared operational workspace patterns used by Admin and Support. */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.metric {
  padding: 20px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(8, 47, 67, 0.04);
}
.metric svg {
  grid-column: 2;
  color: var(--svc-blue);
}
.metric span {
  grid-row: 1;
  color: var(--svc-muted);
  font-size: 13px;
  font-weight: 650;
}
.metric strong {
  font-size: 28px;
}
.health-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--svc-line);
  border-radius: 6px;
  overflow: hidden;
}
.health-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 14px;
  border-right: 1px solid var(--svc-line);
  border-bottom: 1px solid var(--svc-line);
  font-size: 13px;
}
.health-list strong {
  font-size: 12px;
  color: var(--svc-success);
}
.health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10a95b;
  box-shadow: 0 0 0 4px #e7f8ee;
}
.toolbar {
  min-height: 46px;
  max-width: 620px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid var(--svc-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}
.toolbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.toolbar svg {
  width: 18px;
}
.svc-table-wrap > table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.svc-table-wrap > table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--svc-line);
  background: #f8fafb;
  color: #6e818d;
  font-size: 11px;
  text-align: left;
  text-transform: uppercase;
}
.svc-table-wrap > table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5ecef;
  font-size: 13px;
  vertical-align: middle;
}
.svc-table-wrap > table tbody tr:last-child td {
  border-bottom: 0;
}
.svc-table-wrap > table tbody tr:hover {
  background: #f8fbfc;
}
.row-link {
  color: #006f9f;
  font-weight: 750;
}
.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf3f6;
  font-size: 11px;
  font-weight: 750;
}
.badge.success {
  background: #e7f8ee;
  color: #05713c;
}
.badge.danger {
  background: #fff0f0;
  color: #b52a2a;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.row-actions .svc-button {
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
}
.admin-dialog {
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-dialog-radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}
.admin-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-dialog h2 {
  margin: 0;
  font-size: 20px;
}
.admin-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
}
.admin-dialog input,
.admin-dialog select,
.admin-dialog textarea {
  height: 42px;
  padding: 0 11px;
  border: 1px solid #aebfc8;
  border-radius: 6px;
  background: #fff;
}
.admin-dialog textarea {
  height: auto;
  min-height: 92px;
  padding-block: 10px;
  resize: vertical;
  line-height: 1.55;
}
.admin-dialog select[multiple] {
  height: auto;
  min-height: 112px;
  padding-block: 6px;
}
.admin-dialog-wide {
  width: min(720px, 100%);
}
.admin-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 12px;
  border: 1px solid var(--svc-line);
  border-radius: 6px;
  background: #f8fafb;
}
.checkbox-grid label {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-weight: 650;
}
.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--svc-primary);
}
.ecosystem-groups {
  display: grid;
  gap: 18px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-heading h2 {
  margin: 0;
}
.ecosystem-tabs {
  max-width: 100%;
  overflow-x: auto;
}
.error-banner,
.success-banner {
  padding: 11px 13px;
  border-radius: 6px;
  font-size: 13px;
}
.error-banner {
  border: 1px solid #f3bcbc;
  background: #fff0f0;
  color: #a92121;
}
.success-banner {
  margin-bottom: 16px;
  border: 1px solid #bce8cd;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #e9f8ef;
  color: #08733e;
  font-weight: 700;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 18px;
}
.detail-list {
  margin: 0;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--svc-line);
}
.detail-list > div:last-child {
  border-bottom: 0;
}
.detail-list dt,
.muted {
  color: var(--svc-muted);
}
.detail-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.case-body,
.reply p {
  white-space: pre-wrap;
  line-height: 1.7;
}
.reply {
  padding: 13px 0;
  border-bottom: 1px solid var(--svc-line);
}
.reply p {
  margin: 0 0 7px;
}
.reply small {
  color: var(--svc-muted);
}
.reply-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reply-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #aebfc8;
  border-radius: 6px;
  resize: vertical;
  line-height: 1.6;
}
.reply-form .svc-button {
  align-self: flex-end;
}
.danger-zone {
  border-color: #e9c2c2;
}
.danger-zone p,
.confirm-dialog p {
  color: var(--svc-muted);
  font-size: 13px;
  line-height: 1.6;
}
.danger-zone > div {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.secret-box {
  padding: 16px;
  border: 1px solid #f1d58b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff8e5;
}
.secret-box code {
  font-size: 17px;
  word-break: break-all;
  user-select: all;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #e8eff3;
}
.segmented button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #506874;
  font-weight: 700;
  text-transform: capitalize;
  cursor: pointer;
}
.segmented button.active {
  background: #fff;
  color: var(--svc-text);
  box-shadow: 0 1px 4px rgba(8, 47, 67, 0.12);
}
.settings-panel {
  max-width: 700px;
  display: grid;
  gap: 22px;
}
.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--svc-line);
}
.preference-row span {
  color: var(--svc-muted);
}
.preference-row strong {
  text-align: right;
}
.notice {
  padding: 14px;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eef7fb;
  font-size: 13px;
}
.notice a {
  color: var(--svc-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-wide {
  width: 100%;
}
.locale-select {
  display: flex;
  align-items: center;
  gap: 6px;
}
.locale-select select {
  height: 40px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-radius);
  background: #fff;
  color: var(--svc-text);
}
.public-header {
  height: 72px;
  padding: 0 clamp(20px, 6vw, 90px);
  border-bottom: 1px solid var(--svc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.login-panel {
  width: min(480px, calc(100% - 40px));
  margin: clamp(70px, 12vh, 140px) auto;
  padding: 40px;
  border: 1px solid var(--svc-line);
  border-radius: var(--svc-radius);
  background: #fff;
  box-shadow: var(--svc-shadow);
}
.login-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f4f8;
  color: var(--svc-ocean);
}
.login-panel h1 {
  margin: 8px 0 12px;
  font-size: 30px;
}
.login-panel p {
  margin-bottom: 26px;
  color: var(--svc-muted);
  line-height: 1.65;
}
.login-panel small {
  display: block;
  margin-top: 16px;
  color: #83919a;
  line-height: 1.5;
}
.eyebrow {
  color: var(--svc-blue) !important;
  font-size: 11px !important;
  font-weight: 800;
}
.status-page {
  min-height: 100dvh;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.status-page > .svc-brand {
  position: absolute;
  top: 24px;
  left: 30px;
}
.status-page > svg {
  width: 52px;
  height: 52px;
  color: var(--svc-blue);
}
.status-page h1 {
  margin: 5px;
  font-size: 28px;
}
.status-page p {
  max-width: 520px;
  color: var(--svc-muted);
}
@media (max-width: 1050px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .health-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .health-list {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .login-panel {
    padding: 28px;
  }
  .public-header .svc-brand > span {
    display: none;
  }
}
@media (max-width: 460px) {
  .metrics {
    grid-template-columns: 1fr;
  }
}

/* Account reference styles. This section is shared so every service compiles the same visual source. */

@theme inline {
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-brand: var(--brand);
  --font-sans: "Noto Sans TC", "Inter", system-ui, sans-serif;
}

html:lang(zh-CN),
html:lang(zh-SG) {
  --font-sans:
    "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, sans-serif;
}
html:lang(zh-HK) {
  --font-sans:
    "PingFang HK", "Noto Sans HK", "Noto Sans TC", system-ui, sans-serif;
}
html:lang(zh-TW) {
  --font-sans: "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
}
html:lang(ja-JP) {
  --font-sans:
    "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, sans-serif;
}
html:lang(ko-KR) {
  --font-sans: "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

/* Keep native controls on the same script-specific font as the document. */
html:lang(zh-CN) body,
html:lang(zh-CN) button,
html:lang(zh-CN) input,
html:lang(zh-CN) select,
html:lang(zh-CN) textarea,
html:lang(zh-SG) body,
html:lang(zh-SG) button,
html:lang(zh-SG) input,
html:lang(zh-SG) select,
html:lang(zh-SG) textarea {
  font-family:
    "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, sans-serif !important;
}

html:lang(ja-JP) body,
html:lang(ja-JP) button,
html:lang(ja-JP) input,
html:lang(ja-JP) select,
html:lang(ja-JP) textarea {
  font-family:
    "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, sans-serif !important;
}

html:lang(ko-KR) body,
html:lang(ko-KR) button,
html:lang(ko-KR) input,
html:lang(ko-KR) select,
html:lang(ko-KR) textarea {
  font-family:
    "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif !important;
}

.locale-switcher {
  display: flex;
  align-items: end;
  gap: 8px;
  min-width: 0;
}
.locale-switcher__icon {
  width: 18px;
  height: 18px;
  margin: 0 2px 11px 0;
  flex: 0 0 auto;
  color: #244f62;
}
.locale-switcher label {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.locale-switcher label > span {
  padding-left: 3px;
  color: #617987;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.locale-switcher select {
  height: 38px;
  max-width: 210px;
  border: 1px solid rgba(6, 47, 68, 0.22);
  border-radius: 8px;
  padding: 0 30px 0 10px;
  color: #062f44;
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}
.locale-switcher label:first-of-type select {
  width: 126px;
}
.locale-switcher label:last-of-type select {
  width: 210px;
}
.locale-switcher select:focus-visible {
  outline: 3px solid rgba(56, 182, 255, 0.3);
  outline-offset: 1px;
}
.locale-switcher--compact label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.locale-switcher--compact .locale-switcher__icon {
  margin-bottom: 10px;
}
.locale-switcher--compact select {
  height: 40px;
}

.status-primary-action {
  background: #06384f !important;
  color: #fff !important;
  border-color: #06384f !important;
}
.status-primary-action:hover {
  background: #0a4b67 !important;
  color: #fff !important;
}
.status-secondary-action {
  background: #fff !important;
  color: #06384f !important;
  border-color: #b9cbd3 !important;
}

@media (max-width: 760px) {
  .auth-topbar .locale-switcher__icon {
    display: none;
  }
  .auth-topbar .locale-switcher label:first-of-type select {
    width: 68px;
  }
  .auth-topbar .locale-switcher label:last-of-type select {
    width: 78px;
  }
  .auth-topbar .locale-switcher select {
    padding-left: 8px;
    padding-right: 22px;
    font-size: 12px;
  }
}

/* Account authentication surface: solid BSC background with restrained glass. */
.auth-surface {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px 20px 32px;
  color: #062f44;
  background: #eaf3f8;
}

.auth-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(6, 47, 68, 0.13);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 18px rgba(6, 47, 68, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.auth-panel {
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 24px 64px rgba(6, 47, 68, 0.14),
    0 2px 8px rgba(6, 47, 68, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

.auth-panel__body {
  padding: 38px 40px 30px;
}
.auth-panel__footer {
  padding: 18px 32px;
  border-top: 1px solid rgba(6, 47, 68, 0.12);
  color: #244f62;
  background: rgba(255, 255, 255, 0.22);
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}
.auth-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.auth-title {
  flex-shrink: 0;
  color: #062f44;
  font-size: 2.5rem;
  font-weight: 750;
  line-height: 1.12;
}
.auth-title-divider {
  width: 2px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #0b526d;
}
.auth-primary-action,
.auth-secondary-action {
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 700;
}
.auth-primary-action {
  border: 1px solid #06384f;
  background: #06384f;
  color: #fff;
}
.auth-primary-action:hover {
  background: #0a4b67;
}
.auth-secondary-action {
  border: 1px solid rgba(6, 47, 68, 0.28);
  background: rgba(255, 255, 255, 0.5);
  color: #06384f;
}
.auth-secondary-action:hover {
  background: rgba(255, 255, 255, 0.82);
}

@supports not (
  (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
) {
  .auth-topbar {
    background: #fff;
  }
  .auth-panel {
    background: #f8fbfd;
  }
}

@media (max-width: 640px) {
  .auth-surface {
    align-items: flex-start;
    padding: 88px 12px 20px;
  }
  .auth-topbar {
    height: 64px;
    padding: 0 16px;
  }
  .auth-panel {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
  }
  .auth-panel__body {
    padding: 28px 22px 24px;
  }
  .auth-panel__footer {
    padding: 16px 20px;
  }
  .auth-title-row {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
  }
  .auth-title {
    font-size: 2rem;
  }
  .auth-title-divider {
    height: 42px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .auth-topbar,
  .auth-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .auth-topbar {
    background: #fff;
  }
  .auth-panel {
    background: #f8fbfd;
  }
}

:root {
  /* BSC ECOLAB Brand Colors: Dark Ocean + ECO Blue + BSC Gray */
  --brand: #00273d; /* Dark Ocean */
  --brand-dark: #001a2b;
  --brand-blue: #38b6ff; /* ECO Blue */
  --brand-gray: #939ca3; /* BSC Gray */

  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(0, 39, 61, 0.16);
  --glass-blur: blur(8px);
  --glass-shadow: 0 6px 22px rgba(0, 39, 61, 0.08);

  --radius: 0.5rem;
  --background: #f7fafc;
  --foreground: #00273d;
  --card: #ffffff;
  --card-foreground: #00273d;
  --popover: oklch(1 0 0);
  --popover-foreground: #00273d;
  --primary: #00384f;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.005 240);
  --secondary-foreground: #00273d;
  --muted: oklch(0.95 0.005 240);
  --muted-foreground: #939ca3;
  --accent: #e6f2f8;
  --accent-foreground: #00273d;
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border: #00273d;
  --input: #00273d;
  --ring: #00384f;
}

.dark {
  --brand: #38b6ff; /* 深色模式下換做 ECO Blue 做主色，喺 Dark Ocean 底夠光 */
  --brand-dark: #38b6ff;

  --glass-bg: rgba(0, 39, 61, 0.55);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

  --background: #000000;
  --foreground: oklch(0.98 0 0);
  --card: rgba(0, 39, 61, 0.55);
  --card-foreground: oklch(0.98 0 0);
  --popover: #00273d;
  --popover-foreground: oklch(0.98 0 0);
  --primary: #0085db;
  --primary-foreground: #00273d;
  --secondary: oklch(0.18 0.01 240);
  --secondary-foreground: oklch(0.98 0 0);
  --muted: oklch(0.18 0.01 240);
  --muted-foreground: #939ca3;
  --accent: #10384d;
  --accent-foreground: #f5fbff;
  --destructive: oklch(0.704 0.191 22.216);
  --destructive-foreground: oklch(0.985 0 0);
  --border: rgba(255, 255, 255, 0.18);
  --input: rgba(255, 255, 255, 0.18);
  --ring: #0085db;
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
    font-family: var(--font-sans);
    background-image: none;
    scroll-behavior: smooth;
  }

  .dark body {
    background-image: none;
  }
  button:not(:disabled),
  [role="button"]:not([aria-disabled="true"]),
  [type="button"]:not(:disabled),
  [type="submit"]:not(:disabled),
  [type="reset"]:not(:disabled),
  a[href],
  select:not(:disabled),
  input[type="checkbox"]:not(:disabled),
  input[type="radio"]:not(:disabled) {
    @apply cursor-pointer;
  }

  button,
  a,
  input,
  select,
  textarea,
  [data-slot="card"] {
    transition-property:
      color, background-color, border-color, box-shadow, opacity, transform,
      filter;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  [data-slot="card"]:hover {
    box-shadow: 0 8px 24px rgba(0, 39, 61, 0.08);
  }

  button:not(:disabled):active,
  [role="button"]:not([aria-disabled="true"]):active,
  a[href]:active {
    transform: translateY(1px) scale(0.985);
  }
}

@layer components {
  .motion-stagger > * {
    animation: motion-rise 0.2s ease-out both;
  }

  .motion-stagger > *:nth-child(2) {
    animation-delay: 45ms;
  }
  .motion-stagger > *:nth-child(3) {
    animation-delay: 90ms;
  }
  .motion-stagger > *:nth-child(4) {
    animation-delay: 135ms;
  }
  .motion-stagger > *:nth-child(5) {
    animation-delay: 180ms;
  }
  .motion-stagger > *:nth-child(6) {
    animation-delay: 225ms;
  }

  .interactive-card,
  [data-slot="card"].interactive-card {
    will-change: transform, box-shadow;
  }

  .interactive-card:hover {
    box-shadow: 0 8px 24px rgba(0, 39, 61, 0.08);
  }

  .soft-panel {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 39, 61, 0.09);
    box-shadow: 0 18px 60px rgba(0, 39, 61, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .dark .soft-panel {
    background: rgba(0, 39, 61, 0.55);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  }

  .nav-pill {
    position: relative;
    overflow: hidden;
  }

  .nav-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      transparent,
      rgba(255, 255, 255, 0.24),
      transparent
    );
    transform: translateX(-130%);
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-pill:hover::after {
    transform: translateX(130%);
  }

  .loading-shimmer {
    position: relative;
    overflow: hidden;
    background: rgba(0, 39, 61, 0.08);
  }

  .loading-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.62),
      transparent
    );
    animation: shimmer 1.15s infinite;
  }

  .brand-logo {
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 39, 61, 0.16));
  }

  .user-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    background: linear-gradient(135deg, #eaf4fb, #ffffff);
    color: #00273d;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 39, 61, 0.12);
  }

  .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ecoone-avatar-ring {
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #00273d, #007aff, #38b6ff);
    box-shadow:
      0 0 0 1px rgba(0, 39, 61, 0.08),
      0 10px 28px rgba(0, 122, 255, 0.24);
  }

  .dark .ecoone-avatar-ring {
    background: #38b6ff;
    box-shadow:
      0 0 0 1px rgba(56, 182, 255, 0.3),
      0 0 28px rgba(56, 182, 255, 0.32);
  }

  .ecoone-avatar-ring > .user-avatar {
    box-shadow: 0 0 0 2px #fff;
  }

  .avatar-badge {
    display: inline-grid;
    flex: none;
    place-items: center;
    border-radius: 999px;
    padding: 3px;
    background: var(--border);
  }
  .plan-ring-lite {
    background: linear-gradient(135deg, #5f6b76, #aab4bd);
  }
  .plan-ring-plus {
    background: linear-gradient(135deg, #006a5c, #38bfa5);
  }
  .plan-ring-pro {
    background: linear-gradient(135deg, #003b68, #38b6ff);
  }
  .plan-ring-premium {
    background: linear-gradient(135deg, #00273d, #006ed1, #39d6c5);
  }
  .plan-ring-ultra-5x {
    background: linear-gradient(135deg, #00273d, #0078b8, #38b6ff);
  }
  .plan-ring-ultra-20x {
    background: linear-gradient(135deg, #001b33, #006ed1, #38b6ff, #39d6c5);
  }
  .dark .plan-ring-lite,
  .dark .plan-ring-plus,
  .dark .plan-ring-pro,
  .dark .plan-ring-premium,
  .dark .plan-ring-ultra-5x,
  .dark .plan-ring-ultra-20x {
    background: linear-gradient(135deg, #38b6ff, #9de4ff);
  }
  .avatar-badge > .user-avatar {
    border: 2px solid var(--background);
  }

  .dark .ecoone-avatar-ring > .user-avatar {
    box-shadow: 0 0 0 2px #020617;
  }

  .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .flex {
    min-height: 0;
    min-width: 0;
  }

  @media (min-width: 640px) {
    .container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: 1280px;
    }
  }

  /* BSC ECOLAB Card Container — 蘋果玻璃風格：毛玻璃卡片 + 深藍柔邊 */
  .bsc-card {
    background: var(--card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: motion-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .dark .bsc-card {
    border-color: var(--glass-border);
    background: var(--card);
  }

  /* BSC ECOLAB Footer */
  .bsc-footer {
    background: #00273d;
    color: white;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: auto;
  }

  .dark .bsc-footer {
    background: rgba(255, 255, 255, 0.95);
    color: #00273d;
  }

  /* BSC ECOLAB Pill Button */
  .bsc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    border: none;
    outline: none;
  }

  .bsc-btn:active {
    transform: scale(0.97);
  }

  .bsc-btn-primary {
    background: #00273d;
    color: white;
  }

  .bsc-btn-primary:hover {
    background: #001a2b;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 39, 61, 0.18);
  }

  .dark .bsc-btn-primary {
    background: white;
    color: #00273d;
  }

  .dark .bsc-btn-primary:hover {
    background: #eaf4fb;
  }

  .bsc-btn-accent {
    background: var(--primary);
    color: var(--primary-foreground);
  }

  .bsc-btn-accent:hover {
    background: var(--brand-dark);
  }

  .bsc-btn-google {
    background: #000;
    color: white;
  }

  .bsc-btn-google:hover {
    background: #222;
  }

  /* BSC ECOLAB Input */
  .bsc-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #00273d;
    border-radius: 9999px;
    font-size: 1.125rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #00273d;
    outline: none;
    transition: border-color 0.15s;
    font-family: var(--font-sans);
  }

  .bsc-input::placeholder {
    color: #939ca3;
  }

  .bsc-input:focus {
    border-color: #38b6ff;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.25);
    transform: translateY(-1px);
  }

  .dark .bsc-input {
    background: rgba(0, 39, 61, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
  }

  .dark .bsc-input::placeholder {
    color: #939ca3;
  }

  /* OTP Input */
  .bsc-otp-input {
    width: 72px;
    height: 72px;
    border: 2px solid #00273d;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #00273d;
    outline: none;
    transition:
      border-color 0.15s,
      box-shadow 0.15s;
    font-family: var(--font-sans);
  }

  .bsc-otp-input:focus {
    border-color: #38b6ff;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.25);
  }

  .dark .bsc-otp-input {
    background: rgba(0, 39, 61, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
  }

  /* Page title area */
  .bsc-page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #00273d;
    line-height: 1.1;
    font-family: var(--font-sans);
  }

  .dark .bsc-page-title {
    color: white;
  }

  .bsc-page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #00273d;
    line-height: 1.3;
    font-family: var(--font-sans);
  }

  .dark .bsc-page-subtitle {
    color: white;
  }

  .bsc-label {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #00273d;
    font-family: var(--font-sans);
  }

  .dark .bsc-label {
    color: white;
  }

  .bsc-divider {
    display: inline-block;
    width: 3px;
    background: #00273d;
    border-radius: 2px;
    align-self: stretch;
    margin: 0 0.75rem;
    min-height: 1.2em;
  }

  .dark .bsc-divider {
    background: white;
  }

  /* Country card */
  .bsc-country-card {
    border: 2px solid #00273d;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.23, 1, 0.32, 1);
    aspect-ratio: 4/3;
    position: relative;
  }

  .bsc-country-card:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 4px 20px rgba(56, 182, 255, 0.3);
  }

  .bsc-country-card:active {
    transform: scale(0.98);
  }

  .dark .bsc-country-card {
    border-color: rgba(255, 255, 255, 0.3);
  }

  .dark .bsc-country-card:hover {
    box-shadow: 0 4px 20px rgba(56, 182, 255, 0.4);
  }
}

@keyframes motion-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes page-soft-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-page {
    transform: none !important;
    filter: none !important;
  }
}

/* Keep this final cascade authoritative over app compatibility tokens below. */
:root {
  --svc-bg: #f5f5f7;
  --svc-surface: #ffffff;
  --svc-surface-soft: #fafafc;
  --svc-text: #1d1d1f;
  --svc-muted: #6e6e73;
  --svc-line: #d2d2d7;
  --svc-shadow: 0 18px 50px rgba(0, 39, 61, 0.12);
  --background: #f5f5f7;
  --foreground: #1d1d1f;
  --card: #ffffff;
  --card-foreground: #1d1d1f;
  --muted-foreground: #6e6e73;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    Inter,
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    sans-serif;
}

html,
body {
  background: var(--svc-bg);
  color: var(--svc-text);
  font-size: 17px;
  line-height: 1.47;
}

.svc-shell-workspace {
  --spike-surface: #f5f5f7;
  --spike-text: #1d1d1f;
  --spike-muted: #6e6e73;
}

.svc-shell-workspace [data-slot="card"],
.svc-panel,
.svc-table-wrap,
.login-features {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--svc-radius);
  background: #ffffff;
  box-shadow: none;
}

.svc-shell-workspace [data-slot="card"]:hover,
.svc-panel:hover,
.svc-table-wrap:hover {
  box-shadow: none;
  transform: none;
}

.svc-shell-workspace .svc-shell__header .svc-header,
.svc-header {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
}

.svc-button,
.svc-shell-workspace [data-slot="button"] {
  border-radius: 999px;
  font-weight: 600;
}

.svc-button:hover,
.svc-shell-workspace [data-slot="button"]:hover {
  transform: none;
}

.svc-button:active,
.svc-icon-button:active,
.svc-shell-workspace [data-slot="button"]:active {
  transform: scale(0.96);
}
