:root {
  color-scheme: dark;
  --dashboard-bg: #030b1b;
  --dashboard-panel: #07162e;
  --dashboard-panel-raised: #0a1d3a;
  --dashboard-line: #14345c;
  --dashboard-blue: #087bff;
  --dashboard-cyan: #06c5ff;
  --dashboard-text: #f3f8ff;
  --dashboard-muted: #9bb1cf;
  --dashboard-soft: #6c87aa;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body.user-dashboard-page,
body.provider-auth-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.user-dashboard-page a {
  color: inherit;
  text-decoration: none;
}

.user-dashboard-page button,
.user-dashboard-page input {
  font: inherit;
}

.user-dashboard-page button,
.user-dashboard-page a {
  -webkit-tap-highlight-color: transparent;
}

.user-dashboard-page button {
  color: inherit;
}

.dashboard-auth-pending #authGate {
  display: none;
}

.dashboard-auth-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--dashboard-muted);
  font-size: 14px;
}

.dashboard-auth-loading[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

[hidden] {
  display: none !important;
}

.site-confirm-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid #21456d;
  border-radius: 14px;
  background: #081a33;
  color: #f3f8ff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .58);
}

.site-confirm-dialog::backdrop {
  background: rgba(0, 5, 15, .72);
  backdrop-filter: blur(4px);
}

.site-confirm-dialog-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.site-confirm-dialog-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 105, 117, .3);
  border-radius: 50%;
  background: rgba(183, 53, 67, .16);
  color: #ff8e97;
  font-size: 19px;
  font-weight: 800;
}

.site-confirm-dialog-copy h2 {
  margin: 2px 0 6px;
  color: #f3f8ff;
  font-size: 18px;
}

.site-confirm-dialog-copy p {
  margin: 0;
  color: #a8bdd8;
  font-size: 13px;
  line-height: 1.55;
}

.site-confirm-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}

.site-confirm-dialog-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #27496d;
  border-radius: 8px;
  background: #0c2341;
  color: #d6e5f8;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.site-confirm-dialog-actions button.is-destructive {
  border-color: #b83c47;
  background: #b83c47;
  color: #fff;
}

.site-confirm-dialog-actions button:focus-visible {
  outline: 3px solid rgba(6, 197, 255, .3);
  outline-offset: 2px;
}

.auth-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  padding: 32px 20px;
  place-items: center;
  background:
    radial-gradient(ellipse at 15% 75%, rgba(0, 111, 255, .17), transparent 34%),
    radial-gradient(ellipse at 85% 20%, rgba(0, 196, 255, .12), transparent 32%),
    #030b1b;
}

.auth-brand {
  position: absolute;
  top: 17px;
  left: 32px;
  display: block;
  width: 146px;
  height: 58px;
}

.auth-brand img,
.dashboard-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-card {
  width: min(100%, 480px);
  min-width: 0;
  padding: 36px;
  border: 1px solid #153a66;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(10, 29, 58, .97), rgba(4, 15, 34, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42), 0 0 45px rgba(0, 113, 255, .09);
}

.dashboard-eyebrow {
  display: block;
  color: #26baff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.5;
}

.auth-card h1 {
  margin: 12px 0 9px;
  font-size: clamp(25px, 5vw, 34px);
  letter-spacing: -.04em;
  line-height: 1.14;
}

.auth-intro {
  margin: 0 0 22px;
  color: var(--dashboard-muted);
  font-size: 14px;
  line-height: 1.65;
}

#clerkCustomerSignIn {
  min-height: 170px;
}

.auth-account-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 4px;
}

.auth-back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: #9ecfff !important;
  font-size: 13px;
  font-weight: 750;
}

.provider-auth-switch {
  margin: 20px 0 0;
  padding-top: 17px;
  border-top: 1px solid rgba(36, 71, 111, .72);
  font-size: 12px;
}

.provider-auth-switch a {
  color: #70cbff !important;
  font-weight: 800;
}

.provider-auth-switch a:hover {
  color: #b3eaff !important;
}

#clerkProviderSignIn,
#clerkProviderSignUp {
  display: flex;
  width: 100%;
  min-height: 170px;
  justify-content: center;
}

#clerkCustomerSignIn {
  display: flex;
  width: 100%;
  min-width: 0;
  justify-content: center;
}

#clerkCustomerSignIn > * {
  width: 100%;
  min-width: 0;
  max-width: 400px;
  margin-right: auto;
  margin-left: auto;
}

#clerkCustomerSignIn .cl-cardBox,
#clerkCustomerSignIn .cl-card,
#clerkProviderSignIn .cl-cardBox,
#clerkProviderSignIn .cl-card,
#clerkProviderSignUp .cl-cardBox,
#clerkProviderSignUp .cl-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

#clerkProviderSignIn > *,
#clerkProviderSignUp > * {
  width: 100%;
  min-width: 0;
  max-width: 400px;
  margin-right: auto;
  margin-left: auto;
}

.provider-signup-card {
  width: min(100%, 520px);
}

.existing-account-panel {
  margin: 22px 0 4px;
  padding: 22px;
  border: 1px solid rgba(38, 143, 255, .38);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(0, 145, 255, .16), transparent 46%),
    linear-gradient(145deg, #0a2040, #07162e 78%);
  box-shadow: inset 0 1px rgba(149, 206, 255, .06), 0 12px 30px rgba(0, 0, 0, .18);
}

.existing-account-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(0, 212, 136, .35);
  border-radius: 50%;
  background: rgba(0, 212, 136, .12);
  color: #55e4b2;
  font-size: 17px;
  font-weight: 900;
}

.existing-account-panel h2 {
  margin: 15px 0 7px;
  color: var(--dashboard-text);
  font-size: 19px;
  letter-spacing: -.02em;
}

.existing-account-panel > p:not(.existing-account-note) {
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 13px;
  line-height: 1.6;
}

.existing-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.existing-account-actions a,
.existing-account-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #24476f;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.existing-account-actions a {
  border-color: #168bff;
  background: linear-gradient(105deg, #087bff, #0757db);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 104, 255, .2);
}

.existing-account-actions button {
  background: rgba(3, 17, 39, .65);
  color: #a9c9e9;
}

.existing-account-actions a:hover,
.existing-account-actions button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.existing-account-actions button:hover:not(:disabled) {
  border-color: #168bff;
  background: #0b2b54;
  color: #e2f5ff;
}

.existing-account-actions button:disabled {
  cursor: wait;
  opacity: .7;
}

.existing-account-actions a:focus-visible,
.existing-account-actions button:focus-visible {
  outline: 3px solid rgba(6, 197, 255, .34);
  outline-offset: 3px;
}

.existing-account-note {
  margin: 13px 0 0;
  color: var(--dashboard-soft);
  font-size: 11px;
  line-height: 1.5;
}

.dashboard-message {
  padding: 12px 14px;
  border: 1px solid rgba(255, 173, 79, .36);
  border-radius: 10px;
  background: rgba(156, 82, 9, .16);
  color: #ffd6a6;
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-message-error {
  border-color: rgba(255, 112, 127, .42);
  background: rgba(156, 30, 48, .2);
  color: #ffc0c8;
}

.auth-card .dashboard-message {
  margin-bottom: 16px;
}

.dashboard-message-app {
  margin: 0 0 18px;
}

.dashboard-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(0, 93, 220, .08), transparent 34%),
    var(--dashboard-bg);
}

.dashboard-topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  min-height: 74px;
  grid-template-columns: 220px minmax(240px, 1fr) minmax(210px, 290px);
  align-items: center;
  gap: 28px;
  padding: 8px max(24px, calc((100vw - 1600px) / 2));
  border-bottom: 1px solid rgba(33, 73, 120, .6);
  background: rgba(3, 11, 27, .94);
  backdrop-filter: blur(18px);
}

.dashboard-brand {
  display: block;
  width: 142px;
  height: 54px;
}

.dashboard-search {
  display: flex;
  min-width: 0;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #164b85;
  border-radius: 24px;
  background: #071a35;
  box-shadow: inset 0 0 16px rgba(2, 63, 133, .14);
}

.dashboard-search > span {
  color: #9dcfff;
  font-size: 26px;
  line-height: 1;
}

.dashboard-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dashboard-text);
  font-size: 12px;
}

.dashboard-search input::placeholder {
  color: #9bb1cf;
  opacity: 1;
}

.dashboard-topbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.dashboard-marketplace-link {
  color: #a9bfdc !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-marketplace-link:hover,
.panel-link:hover,
.quick-action:hover strong {
  color: #43c4ff !important;
}

.topbar-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.mobile-dashboard-menu-toggle {
  display: none;
}

.topbar-user-copy,
.topbar-chevron {
  display: none;
}

.topbar-user-copy {
  display: grid;
  gap: 3px;
}

.topbar-user-copy strong {
  max-width: 126px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-user-copy small {
  color: #7fa0c7;
  font-size: 10px;
}

.topbar-chevron {
  color: #91a9c8;
  font-size: 17px;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 2px solid #08aaff;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #164b9c, #07183b 65%);
  color: #d8f4ff;
  font-weight: 850;
  box-shadow: 0 0 15px rgba(0, 153, 255, .28);
}

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

.avatar-small {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.avatar-large {
  width: 62px;
  height: 62px;
  font-size: 20px;
}

.dashboard-shell {
  display: grid;
  flex: 1 0 auto;
  max-width: 1600px;
  width: 100%;
  min-height: calc(100vh - 132px);
  grid-template-columns: 224px minmax(0, 1fr);
  margin: 0 auto;
}

.dashboard-sidebar {
  position: sticky;
  top: 74px;
  display: flex;
  height: calc(100vh - 74px);
  min-height: 600px;
  flex-direction: column;
  gap: 8px;
  padding: 22px 14px 18px;
  border-right: 1px solid rgba(33, 73, 120, .55);
  background: rgba(3, 13, 31, .65);
}

.sidebar-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #b5c9e2 !important;
  cursor: pointer;
  font-size: 13px;
  font-weight: 730;
  text-align: left;
  transition: border-color .18s, background .18s, color .18s;
}

.sidebar-sign-out {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(33, 73, 120, .55);
  border-radius: 0;
  font-family: inherit;
}

.sidebar-sign-out:hover {
  border-color: rgba(255, 112, 127, .38);
  background: rgba(156, 30, 48, .18);
  color: #ffc0c8 !important;
}

.sidebar-sign-out > span {
  border-color: rgba(255, 112, 127, .25);
  background: rgba(156, 30, 48, .18);
  color: #ff9eaa;
}

.sidebar-link > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #164575;
  border-radius: 50%;
  background: #0a264b;
  color: #8ed4ff;
  font-size: 17px;
}

.sidebar-link > span > svg {
  display: block;
  width: 14px;
  height: 14px;
}

.sidebar-link:hover {
  border-color: #124c89;
  background: #092043;
  color: #fff !important;
}

.sidebar-link.is-active {
  border-color: #056dff;
  background: linear-gradient(110deg, #0874f4, #063dcc);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0, 92, 255, .3), 0 0 15px rgba(0, 129, 255, .18);
}

.sidebar-link.is-active > span {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(1, 36, 111, .55);
  color: #fff;
}

.sidebar-button {
  width: 100%;
}

.sidebar-support {
  margin-top: auto;
  padding: 17px 14px;
  border: 1px solid #124984;
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 90% 8%, rgba(0, 146, 255, .26), transparent 40%),
    linear-gradient(145deg, #0b2852, #06152f);
}

.support-mark {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid #098fff;
  border-radius: 50%;
  color: #4ac4ff;
  font-size: 18px;
  font-weight: 900;
}

.sidebar-support strong,
.sidebar-support p,
.sidebar-support a {
  display: block;
}

.sidebar-support strong {
  font-size: 12px;
  line-height: 1.4;
}

.sidebar-support p {
  margin: 7px 0 13px;
  color: #a8bfdd;
  font-size: 11px;
  line-height: 1.55;
}

.sidebar-support a {
  color: #4dc8ff !important;
  font-size: 11px;
  font-weight: 800;
}

.dashboard-main {
  min-width: 0;
  padding: 20px 22px 24px;
}

.welcome-panel {
  position: relative;
  display: flex;
  min-height: 160px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #14518e;
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(3, 22, 49, .99) 0%, rgba(4, 29, 63, .94) 44%, rgba(3, 23, 48, .38) 100%),
    radial-gradient(ellipse at 82% 78%, rgba(0, 185, 255, .38), transparent 28%),
    linear-gradient(110deg, #06142c 10%, #083d73 65%, #047fa9);
  box-shadow: inset 0 0 35px rgba(0, 115, 255, .1);
}

.welcome-panel::before,
.welcome-panel::after {
  position: absolute;
  right: 21%;
  bottom: -65px;
  width: 360px;
  height: 130px;
  border: 1px solid rgba(89, 220, 255, .28);
  border-radius: 50%;
  content: "";
  transform: rotate(-7deg);
}

.welcome-panel::after {
  right: 15%;
  bottom: -82px;
  width: 480px;
  border-color: rgba(20, 122, 255, .32);
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 25px 28px;
}

.welcome-copy .dashboard-eyebrow {
  margin-bottom: 12px;
}

.welcome-kicker {
  margin: 0 0 2px;
  color: #e2efff;
  font-size: 17px;
}

.welcome-copy h1 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -.04em;
}

.welcome-copy > p:last-of-type {
  margin: 7px 0 15px;
  color: #bdd2ed;
  font-size: 12px;
  line-height: 1.55;
}

.welcome-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(74, 189, 255, .48);
  border-radius: 8px;
  background: rgba(0, 95, 209, .25);
  color: #d7f3ff !important;
  font-size: 11px;
  font-weight: 800;
}

.welcome-cta:hover {
  background: rgba(0, 125, 245, .48);
}

.welcome-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  overflow: hidden;
  pointer-events: none;
}

.welcome-art-sun {
  position: absolute;
  top: 21px;
  right: 21%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(181, 243, 255, .42);
  border-radius: 50%;
  background: rgba(57, 182, 255, .2);
  box-shadow: 0 0 38px rgba(0, 188, 255, .3);
}

.welcome-art-horizon {
  position: absolute;
  right: -8%;
  bottom: 13px;
  left: -4%;
  height: 47px;
  border-top: 1px solid rgba(139, 231, 255, .36);
  background: linear-gradient(180deg, rgba(0, 191, 255, .17), rgba(2, 40, 88, .35));
  transform: skewY(-5deg);
}

.welcome-art-palm {
  position: absolute;
  right: 12%;
  bottom: 30px;
  width: 2px;
  height: 85px;
  background: linear-gradient(#52c8ff, #0a3867);
  transform: rotate(11deg);
}

.welcome-art-palm::before {
  position: absolute;
  top: -17px;
  left: -29px;
  width: 60px;
  height: 36px;
  border-top: 2px solid #51c8ff;
  border-radius: 50%;
  content: "";
  transform: rotate(13deg);
  box-shadow: 0 -7px 0 -5px #51c8ff, 0 7px 0 -5px #51c8ff;
}

.welcome-art-palm-two {
  right: 7%;
  bottom: 25px;
  height: 60px;
  opacity: .65;
  transform: rotate(-9deg);
}

.welcome-art-caption {
  position: absolute;
  top: 29px;
  right: 10px;
  color: #7deaff;
  font-size: 19px;
  font-style: italic;
  font-weight: 850;
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(0, 189, 255, .55);
  transform: rotate(-8deg);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 17px 0;
}

.stat-card {
  display: flex;
  min-height: 96px;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #164475;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(9, 28, 57, .98), rgba(4, 16, 36, .98));
}

.stat-card-blue {
  border-color: #1257a0;
}

.stat-card-cyan {
  border-color: #08718e;
}

.stat-card-violet {
  border-color: #513785;
}

.stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #064797;
  color: #c7efff;
  font-size: 20px;
  box-shadow: 0 0 18px rgba(0, 131, 255, .38);
}

.stat-card-cyan .stat-icon {
  background: #04758a;
  box-shadow: 0 0 18px rgba(0, 215, 255, .25);
}

.stat-card-violet .stat-icon {
  background: #5a28bb;
  box-shadow: 0 0 18px rgba(143, 74, 255, .3);
}

.stat-card-pink {
  border-color: #8e2867;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(230, 26, 133, .14), transparent 48%),
    linear-gradient(145deg, rgba(9, 28, 57, .98), rgba(4, 16, 36, .98));
}

.stat-card-pink .stat-icon {
  background: #a92369;
  box-shadow: 0 0 18px rgba(245, 45, 145, .28);
}

.stat-card > div {
  min-width: 0;
}

.stat-card p {
  margin: 1px 0 3px;
  color: #b8cde7;
  font-size: 11px;
}

.stat-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.stat-card a {
  display: inline-block;
  margin-top: 5px;
  color: #55caff !important;
  font-size: 10px;
  font-weight: 750;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(245px, .88fr);
  gap: 16px;
  align-items: start;
}

.dashboard-panel {
  border: 1px solid #153c68;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(7, 24, 49, .98), rgba(4, 15, 34, .98));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.requests-panel {
  min-height: 275px;
  padding: 17px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
  letter-spacing: -.02em;
}

.panel-link {
  color: #50c8ff !important;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.request-list {
  display: grid;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  padding: 13px 2px;
  border-top: 1px solid rgba(28, 67, 111, .66);
}

.request-card:first-child {
  border-top: 0;
}

.request-card-copy {
  min-width: 0;
}

.request-card h3 {
  overflow: hidden;
  margin: 0 0 5px;
  color: #ecf5ff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-card p {
  margin: 3px 0;
  color: #9db4d2;
  font-size: 11px;
  line-height: 1.5;
}

.request-card .request-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.request-date {
  color: #82a3c9 !important;
  font-size: 10px !important;
}

.engagement-dashboard-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(28, 67, 111, .66);
}

.engagement-page-view {
  min-height: 340px;
  padding: 22px;
}

.engagement-page-view .panel-heading {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.engagement-page-view .panel-heading h1 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: -.03em;
}

.dashboard-view-intro {
  margin: 6px 0 0;
  color: var(--dashboard-muted);
  font-size: 12px;
}

.saved-provider-list,
.customer-review-list {
  display: grid;
  gap: 10px;
}

.saved-items-collection {
  display: grid;
  gap: 28px;
}

.saved-items-group > h2,
.saved-items-preview-group > h3 {
  margin: 0 0 12px;
  color: #d8eaff;
  font-size: 14px;
}

.saved-items-preview-group + .saved-items-preview-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 67, 111, .66);
}

.saved-items-preview-group > h3 {
  margin-bottom: 9px;
  color: #9fc1e5;
  font-size: 11px;
}

.saved-provider-list:not(.engagement-preview-list),
.customer-review-list:not(.engagement-preview-list) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 360px));
  justify-content: start;
  gap: 12px;
}

.saved-provider-card,
.customer-review-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(28, 67, 111, .72);
  border-radius: 11px;
  background: rgba(8, 28, 55, .72);
}

.saved-provider-list:not(.engagement-preview-list) .saved-provider-card {
  width: 100%;
  max-width: 360px;
  align-self: start;
}

.saved-provider-card > img,
.saved-provider-placeholder {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #0b3158;
  color: #68d6ff;
  object-fit: cover;
  font-size: 20px;
}

.saved-provider-card > img {
  width: 52px;
  max-width: 52px;
  height: 52px;
  max-height: 52px;
  object-fit: cover;
}

.saved-provider-card > div,
.customer-review-card > div {
  min-width: 0;
  flex: 1;
}

.saved-provider-card h3,
.customer-review-card strong {
  display: block;
  overflow: hidden;
  margin: 0 0 4px;
  color: #eff7ff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-provider-card p,
.customer-review-card p {
  margin: 0 0 5px;
  color: #9db4d2;
  font-size: 11px;
  line-height: 1.5;
}

.saved-provider-card a,
.customer-review-card a,
.engagement-empty a {
  color: #55caff !important;
  font-size: 10px;
  font-weight: 800;
}

.saved-provider-card > button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #174c79;
  border-radius: 50%;
  background: #092847;
  color: #72d8ff;
  cursor: pointer;
}

.customer-review-card {
  width: 100%;
  max-width: 360px;
  display: block;
  align-self: start;
}

.customer-review-card > .customer-review-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  margin-bottom: 10px;
}

.customer-review-provider-image,
.customer-review-provider-placeholder {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(74, 133, 190, .55);
  border-radius: 9px;
  background: #0b3158;
  color: #68d6ff;
  object-fit: cover;
}

.customer-review-provider-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.customer-review-card > .customer-review-heading .customer-review-provider-copy > span {
  color: #ffd36b;
  font-size: 12px;
  white-space: nowrap;
}

.customer-review-card > .customer-review-heading strong {
  margin-bottom: 0;
}

.customer-review-card p {
  margin: 6px 0 10px;
  overflow-wrap: anywhere;
}

.customer-review-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.customer-review-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #55caff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.customer-review-actions button.is-danger {
  color: #ff9a9f;
}

.customer-review-editor {
  display: grid;
  gap: 11px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(50, 106, 158, .7);
  border-radius: 9px;
  background: rgba(4, 17, 37, .7);
}

.customer-review-editor[hidden] {
  display: none;
}

.customer-review-editor label {
  display: grid;
  gap: 5px;
  color: #bbd0e8;
  font-size: 11px;
  font-weight: 700;
}

.customer-review-editor select,
.customer-review-editor textarea {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid #234c75;
  border-radius: 7px;
  background: #071a33;
  color: #edf6ff;
  font: inherit;
  font-size: 11px;
}

.customer-review-editor textarea {
  min-height: 76px;
  resize: vertical;
}

.customer-review-editor > div {
  display: flex;
  gap: 9px;
}

.customer-review-editor button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #176aa1;
  border-radius: 7px;
  background: #0b4778;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.customer-review-editor button[type="button"] {
  border-color: #294969;
  background: transparent;
  color: #bdd0e4;
}

.customer-review-editor button:disabled,
.customer-review-actions button:disabled {
  cursor: wait;
  opacity: .6;
}

.engagement-empty {
  padding: 17px;
  border: 1px dashed #24527f;
  border-radius: 10px;
  color: #9db4d2;
  font-size: 11px;
  line-height: 1.6;
}

.request-status {
  align-self: start;
  padding: 5px 9px;
  border: 1px solid #0e5f9f;
  border-radius: 20px;
  background: rgba(0, 114, 204, .16);
  color: #63d2ff;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.request-status.is-complete {
  border-color: #087a63;
  background: rgba(0, 151, 118, .16);
  color: #54e5bb;
}

.request-status.is-pending {
  border-color: #795d18;
  background: rgba(202, 151, 22, .13);
  color: #ffd56d;
}

.empty-requests {
  display: grid;
  min-height: 185px;
  padding: 26px;
  place-content: center;
  justify-items: center;
  border-top: 1px solid rgba(28, 67, 111, .66);
  text-align: center;
}

.empty-request-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid #1265a5;
  border-radius: 50%;
  background: #092c52;
  color: #64d6ff;
  font-size: 21px;
}

.empty-requests strong {
  font-size: 13px;
}

.empty-requests p {
  max-width: 280px;
  margin: 6px 0 13px;
  color: #9db4d2;
  font-size: 11px;
  line-height: 1.5;
}

.empty-requests a {
  color: #55caff !important;
  font-size: 11px;
  font-weight: 850;
}

.dashboard-right-rail {
  display: grid;
  gap: 14px;
}

.dashboard-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 300px);
  gap: 16px;
  align-items: start;
}

.dashboard-overview-primary,
.dashboard-overview-sidebar {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.dashboard-overview-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-engagement-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

.dashboard-engagement-stats .stat-card {
  min-height: 78px;
  align-items: center;
  gap: 9px;
  padding: 10px;
}

.dashboard-engagement-stats .stat-icon {
  width: 32px;
  height: 32px;
  font-size: 17px;
}

.dashboard-engagement-stats .stat-card p {
  font-size: 10px;
  line-height: 1.25;
}

.dashboard-engagement-stats .stat-card strong {
  font-size: 23px;
}

.dashboard-engagement-stats .stat-card a {
  margin-top: 3px;
  font-size: 9px;
}

.dashboard-overview-engagement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.engagement-overview-panel {
  min-width: 0;
  padding: 18px;
}

.engagement-overview-panel .panel-heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
}

.engagement-overview-panel .panel-heading {
  align-items: end;
}

.engagement-preview-list {
  gap: 8px;
}

.engagement-preview-list .saved-provider-card,
.engagement-preview-list .customer-review-card {
  padding: 9px;
}

.engagement-preview-list .saved-provider-card > img,
.engagement-preview-list .saved-provider-placeholder {
  width: 44px;
  max-width: 44px;
  height: 44px;
  max-height: 44px;
  flex-basis: 44px;
}

.engagement-preview-list .customer-review-card > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 10px;
}

.member-panel {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  padding: 17px;
}

.member-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-identity h2 {
  overflow: hidden;
  margin: 0 0 4px;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-identity p {
  margin: 0;
  color: #9db4d2;
  font-size: 10px;
}

.verified-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 5px 9px;
  border: 1px solid #0c6992;
  border-radius: 18px;
  background: rgba(0, 144, 190, .13);
  color: #50d8ed;
  font-size: 10px;
  font-weight: 800;
}

.verified-email > span:first-child {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #02a5bd;
  color: #03131e;
  font-size: 10px;
}

.member-email {
  overflow: hidden;
  margin: 10px 0 14px;
  color: #a9bfdb;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #0879d7;
  border-radius: 8px;
  background: #063d78;
  color: #d9f2ff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.dashboard-button:hover {
  background: #07559e;
}

.dashboard-button-secondary {
  width: 100%;
  margin-top: auto;
}

.dashboard-text-button {
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #75caff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.quick-actions-panel {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  padding: 16px;
}

.panel-heading-compact {
  margin-bottom: 9px;
}

.panel-heading-compact h2 {
  margin: 0;
  font-size: 14px;
}

.quick-action {
  display: grid;
  min-height: 57px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid #123763;
  border-radius: 9px;
  background: rgba(7, 29, 59, .83);
  color: #dcecff !important;
  text-align: left;
  transition: border-color .18s, background .18s;
}

.quick-action + .quick-action {
  margin-top: 7px;
}

.quick-action:hover {
  border-color: #087cd7;
  background: #0a2b54;
}

.quick-action-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid #155a9a;
  border-radius: 50%;
  background: #0b3b72;
  color: #c6efff;
  font-size: 19px;
}

.quick-action strong,
.quick-action small {
  display: block;
}

.quick-action strong {
  font-size: 11px;
}

.quick-action small {
  margin-top: 3px;
  color: #94afd1;
  font-size: 9px;
}

.quick-arrow {
  color: #9dd8ff;
  font-size: 21px;
}

.quick-action-button {
  width: 100%;
  cursor: pointer;
}

.support-panel {
  padding: 16px;
  border: 1px solid #114c81;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(0, 163, 255, .21), transparent 43%),
    linear-gradient(145deg, #08284a, #06152e);
}

.support-heart {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #173a8a;
  color: #64d8ff;
  font-size: 20px;
}

.support-panel h2 {
  margin: 11px 0 5px;
  color: #c8eaff;
  font-size: 15px;
}

.support-panel p {
  margin: 0 0 11px;
  color: #a4bfdd;
  font-size: 11px;
  line-height: 1.55;
}

.support-panel a {
  color: #56ceff !important;
  font-size: 11px;
  font-weight: 850;
}

.dashboard-footer {
  display: flex;
  width: min(100%, 1600px);
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 14px 22px;
  border-top: 1px solid rgba(33, 73, 120, .4);
  color: #7893b5;
  font-size: 10px;
}

.dashboard-footer a {
  color: #9ccaff !important;
}

.user-dashboard-page :focus-visible {
  outline: 2px solid #62d1ff;
  outline-offset: 3px;
}

.provider-auth-page :focus-visible {
  outline: 2px solid #62d1ff;
  outline-offset: 3px;
}

@media (min-width: 1601px) {
  .dashboard-topbar {
    padding-right: 64px;
    padding-left: 0;
  }
}

@media (max-width: 1100px) {
  .dashboard-topbar {
    grid-template-columns: 170px minmax(180px, 1fr) minmax(170px, 240px);
    gap: 16px;
  }

  .dashboard-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .dashboard-sidebar {
    padding-right: 11px;
    padding-left: 11px;
  }

  .dashboard-main {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dashboard-content-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, .9fr);
  }

  .dashboard-overview-engagement {
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .dashboard-topbar {
    min-height: 66px;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 7px 15px;
  }

  .dashboard-brand {
    width: 120px;
    height: 48px;
  }

  .dashboard-search {
    height: 38px;
    padding: 0 10px;
  }

  .dashboard-search input {
    font-size: 11px;
  }

  .dashboard-topbar-actions {
    gap: 8px;
  }

  .dashboard-marketplace-link,
  .topbar-user-copy,
  .topbar-chevron,
  .topbar-profile {
    display: none;
  }

  .mobile-dashboard-menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #164b85;
    border-radius: 10px;
    background: #071a35;
    cursor: pointer;
  }

  .mobile-dashboard-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #bce7ff;
    transition: transform .18s, opacity .18s;
  }

  .mobile-dashboard-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-dashboard-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-dashboard-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .dashboard-shell {
    display: block;
    min-height: 0;
  }

  .dashboard-sidebar {
    position: fixed;
    z-index: 4;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 66px);
    min-height: 0;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(33, 73, 120, .55);
    background: rgba(3, 11, 27, .96);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
  }

  .dashboard-sidebar.is-open {
    display: flex;
  }

  .sidebar-link {
    min-height: 44px;
    flex: 0 0 auto;
    gap: 12px;
    padding: 8px 10px;
  }

  .sidebar-sign-out {
    margin-top: 8px;
    padding: 12px 10px;
    border-top-color: rgba(33, 73, 120, .55);
    border-radius: 0;
    font-size: 13px;
  }

  .sidebar-link > span {
    display: grid;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  .sidebar-support {
    display: none;
  }

  .dashboard-main {
    padding-top: 15px;
  }

  .dashboard-footer {
    min-height: 56px;
    padding: 14px 16px;
  }

  .dashboard-overview-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-engagement-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-overview-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .dashboard-overview-sidebar .support-panel {
    grid-column: 1 / -1;
  }

  .dashboard-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-right-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .dashboard-overview-engagement {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .auth-gate {
    align-items: start;
    padding: 83px 14px 24px;
  }

  .auth-brand {
    top: 11px;
    left: 15px;
    width: 126px;
    height: 52px;
  }

  .auth-card {
    padding: 25px 20px;
  }

  .existing-account-panel {
    padding: 18px;
  }

  .existing-account-actions {
    flex-direction: column;
  }

  .existing-account-actions a,
  .existing-account-actions button {
    width: 100%;
  }

  .dashboard-topbar {
    grid-template-columns: 94px minmax(0, 1fr) 40px;
    gap: 8px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .dashboard-brand {
    width: 92px;
    height: 42px;
  }

  .dashboard-search {
    gap: 5px;
    padding: 0 8px;
  }

  .dashboard-search > span {
    font-size: 21px;
  }

  .dashboard-search input {
    font-size: 10px;
  }

  .sidebar-link {
    min-height: 44px;
    padding: 8px 10px;
  }

  .dashboard-main {
    padding: 12px 11px 18px;
  }

  .welcome-panel {
    min-height: 184px;
  }

  .welcome-copy {
    max-width: 80%;
    padding: 20px 17px;
  }

  .welcome-copy h1 {
    font-size: 24px;
  }

  .welcome-copy > p:last-of-type {
    max-width: 255px;
    font-size: 11px;
  }

  .welcome-art {
    width: 39%;
    opacity: .65;
  }

  .welcome-art-caption {
    top: 23px;
    right: 4px;
    font-size: 13px;
  }

  .welcome-art-palm {
    right: 15%;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 11px 0;
  }

  .dashboard-engagement-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    min-width: 0;
    min-height: 102px;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: start;
    gap: 5px;
    padding: 9px 8px;
  }

  .stat-icon {
    width: 29px;
    height: 29px;
    font-size: 15px;
  }

  .stat-card p {
    font-size: 9px;
    line-height: 1.25;
  }

  .stat-card strong {
    font-size: 20px;
  }

  .stat-card a {
    display: none;
  }

  .dashboard-engagement-stats .stat-card a {
    display: inline-block;
  }

  .dashboard-right-rail {
    grid-template-columns: 1fr;
  }

  .dashboard-overview-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-overview-sidebar .support-panel {
    grid-column: auto;
  }

  .support-panel {
    grid-column: auto;
  }

  .requests-panel {
    padding: 14px 12px;
  }

  .engagement-page-view {
    min-height: 260px;
    padding: 17px 13px;
  }

  .request-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .request-status {
    justify-self: start;
  }

  .dashboard-footer {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 12px;
    text-align: center;
  }
}

.sign-in-card {
  position: relative;
  width: min(700px, 100%);
  padding: 32px 38px 24px;
  overflow: hidden;
  border: 1px solid #087dff;
  border-radius: 38px;
  background:
    linear-gradient(155deg, transparent 0 43%, rgba(0, 94, 255, .12) 43.1%, transparent 68%),
    linear-gradient(135deg, rgba(4, 33, 79, .84), rgba(2, 15, 42, .94) 64%, rgba(2, 28, 72, .9));
  box-shadow:
    0 0 0 1px rgba(0, 150, 255, .25),
    0 0 22px rgba(0, 118, 255, .48),
    0 22px 80px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(150, 220, 255, .22);
}

.sign-in-eyebrow {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 2px solid #00c5ff;
  border-radius: 999px;
  background: rgba(0, 48, 113, .45);
  color: #f2f7ff;
  font-size: 13px;
  letter-spacing: .17em;
}

.sign-in-eyebrow svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.5;
}

.sign-in-eyebrow svg circle {
  fill: #07458e;
}

.sign-in-card h1 {
  position: relative;
  z-index: 1;
  margin: 19px 0 8px;
  color: #f8faff;
  font-size: clamp(34px, 5.8vw, 56px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.sign-in-card .auth-intro {
  margin: 0 0 23px;
  color: #a9c5eb;
  font-size: clamp(15px, 2.2vw, 20px);
  line-height: 1.5;
}

.sign-in-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sign-in-option {
  display: flex;
  min-width: 0;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  border: 1px solid #00aaff;
  border-radius: 20px;
  background: linear-gradient(115deg, #078eff, #0752ed);
  box-shadow: 0 0 18px rgba(0, 132, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .23);
  color: #fff !important;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
  text-decoration: none;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sign-in-option:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 148, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.sign-in-option:focus-visible,
.sign-in-browse:focus-visible,
.provider-signup-prompt a:focus-visible {
  outline: 3px solid #5de3ff;
  outline-offset: 4px;
}

.sign-in-option > svg:first-child {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  fill: #fff;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.sign-in-option .sign-in-chevron,
.sign-in-browse .sign-in-chevron {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.provider-signup-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px 10px;
  margin: 31px 0 21px;
  color: #bdd2ef;
  font-size: 16px;
  text-align: center;
}

.provider-signup-prompt::before,
.provider-signup-prompt::after {
  height: 1px;
  flex: 1 1 35px;
  background: linear-gradient(90deg, transparent, #1785da);
  content: "";
}

.provider-signup-prompt::after {
  background: linear-gradient(90deg, #1785da, transparent);
}

.provider-signup-prompt a {
  color: #28c8ff !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.sign-in-browse {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid #0752a7;
  border-radius: 999px;
  background: rgba(0, 20, 52, .45);
  color: #4aaaff !important;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}

.sign-in-browse:hover {
  border-color: #168bff;
  background: rgba(0, 62, 139, .35);
}

.sign-in-browse > svg:first-child {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 640px) {
  .auth-gate:has(.sign-in-card) {
    align-items: center;
    padding: 82px 16px 24px;
  }

  .auth-gate:has(.sign-in-card) .auth-brand {
    top: 10px;
    left: 16px;
    width: 116px;
    height: 48px;
  }

  .sign-in-card {
    width: 100%;
    padding: 23px 20px 20px;
    border-radius: 24px;
  }

  .sign-in-eyebrow {
    min-height: 36px;
    gap: 7px;
    padding: 0 11px;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .sign-in-eyebrow svg {
    width: 18px;
    height: 18px;
  }

  .sign-in-card h1 {
    max-width: 90%;
    margin-top: 17px;
    font-size: clamp(32px, 8vw, 42px);
  }

  .sign-in-card .auth-intro {
    margin-bottom: 17px;
  }

  .sign-in-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .sign-in-option {
    min-height: 54px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 16px;
  }

  .provider-signup-prompt {
    flex-wrap: wrap;
    margin: 20px 0 16px;
    font-size: 13px;
  }

  .provider-signup-prompt::before,
  .provider-signup-prompt::after {
    flex-basis: 18px;
  }

  .sign-in-browse {
    min-height: 39px;
    gap: 8px;
    padding: 0 15px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sign-in-option,
  .sign-in-browse {
    transition: none;
  }
}
