:root {
  --suite-ink: #101812;
  --suite-canopy: #1c2d23;
  --suite-canopy-soft: #293d31;
  --suite-paper: #fff8eb;
  --suite-muted: #aebaa9;
  --suite-gold: #e3b977;
  --suite-clay: #bb7350;
  --suite-line: rgba(255, 248, 235, 0.14);
  --suite-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

html.arbsoul-suite-active .arbsoul-account-dock {
  display: none !important;
}

html[data-arbsoul-build="field-mobile"] a[href="./studio.html"],
html[data-arbsoul-build="field-mobile"] a[href="./care-plans.html"] {
  display: none !important;
}

body.arbsoul-suite-open {
  overflow: hidden !important;
}

.arbsoul-suite-host {
  min-width: 0;
}

.arbsoul-suite-legacy-link[hidden] {
  display: none !important;
}

.arbsoul-suite-trigger {
  width: auto !important;
  min-width: 178px;
  min-height: 46px;
  display: inline-grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 9px !important;
  border: 1px solid rgba(255, 248, 235, 0.14) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(255, 248, 235, 0.09), rgba(255, 248, 235, 0.025)),
    #1b2a21 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
  color: var(--suite-paper) !important;
  font: 800 0.72rem/1.1 "Manrope", "Avenir Next", sans-serif !important;
  letter-spacing: normal !important;
  text-align: left;
  text-transform: none !important;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease !important;
}

.arbsoul-suite-trigger:hover,
.arbsoul-suite-trigger[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(227, 185, 119, 0.52) !important;
  background:
    linear-gradient(135deg, rgba(227, 185, 119, 0.14), rgba(255, 248, 235, 0.04)),
    #1b2a21 !important;
}

.arbsoul-suite-trigger:focus-visible,
.arbsoul-suite-close:focus-visible,
.arbsoul-suite-panel a:focus-visible,
.arbsoul-suite-panel button:focus-visible,
.arbsoul-suite-panel input:focus-visible,
.arbsoul-suite-panel select:focus-visible {
  outline: 3px solid rgba(227, 185, 119, 0.6) !important;
  outline-offset: 3px;
}

.arbsoul-suite-trigger-mark {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 6px);
  place-content: center;
  gap: 3px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(227, 185, 119, 0.2), rgba(255, 248, 235, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 235, 0.08);
}

.arbsoul-suite-trigger-mark i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 2px;
  background: var(--suite-gold);
  box-shadow: 0 1px 5px rgba(227, 185, 119, 0.22);
}

.arbsoul-suite-trigger-copy {
  min-width: 0;
}

.arbsoul-suite-trigger-copy small,
.arbsoul-suite-trigger-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-suite-trigger-copy small {
  margin-bottom: 2px;
  color: rgba(255, 248, 235, 0.55);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.arbsoul-suite-trigger-copy strong {
  color: var(--suite-paper);
  font-size: 0.73rem;
  font-weight: 900;
}

.arbsoul-suite-trigger kbd {
  padding: 4px 5px;
  border: 1px solid rgba(255, 248, 235, 0.12);
  border-radius: 7px;
  background: rgba(255, 248, 235, 0.06);
  color: rgba(255, 248, 235, 0.58);
  font: 850 0.58rem/1 "Manrope", sans-serif;
}

.arbsoul-suite-trigger-floating {
  position: fixed !important;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 2147481900;
}

.arbsoul-suite-layer {
  position: fixed;
  inset: 0;
  z-index: 2147482600;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.arbsoul-suite-layer[hidden] {
  display: none !important;
}

.arbsoul-suite-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7, 12, 9, 0.74);
  backdrop-filter: blur(12px) saturate(0.72);
  cursor: default;
}

.arbsoul-suite-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(860px, calc(100dvh - 48px));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 248, 235, 0.15);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 0%, rgba(227, 185, 119, 0.16), transparent 31%),
    radial-gradient(circle at 10% 100%, rgba(91, 131, 92, 0.18), transparent 36%),
    linear-gradient(145deg, #18251d, #0f1712 78%);
  box-shadow: var(--suite-shadow);
  color: var(--suite-paper);
  scrollbar-color: rgba(227, 185, 119, 0.46) transparent;
}

.arbsoul-suite-panel-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--suite-line);
  background: rgba(20, 31, 24, 0.88);
  backdrop-filter: blur(20px);
}

.arbsoul-suite-heading,
.arbsoul-suite-account-person {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.arbsoul-suite-mark,
.arbsoul-suite-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--suite-gold), #f2d49d);
  color: var(--suite-canopy);
  box-shadow: inset 0 -10px 16px rgba(111, 65, 34, 0.15);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.arbsoul-suite-mark {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 248, 235, 0.1);
  background: rgba(255, 248, 235, 0.04);
  box-shadow: none;
}

.arbsoul-suite-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.arbsoul-suite-heading p,
.arbsoul-suite-account-person p,
.arbsoul-suite-section-head p {
  margin: 0 0 4px;
  color: var(--suite-gold);
  font-size: 0.61rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arbsoul-suite-heading h2,
.arbsoul-suite-account-person h3,
.arbsoul-suite-section-head h3 {
  margin: 0;
  color: var(--suite-paper);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
}

.arbsoul-suite-heading h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.arbsoul-suite-close {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--suite-line);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.07);
  color: var(--suite-paper);
  font: 900 0.68rem/1 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-suite-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 22px 0;
  overflow: hidden;
  border: 1px solid var(--suite-line);
  border-radius: 18px;
  background: var(--suite-line);
}

.arbsoul-suite-context > div {
  min-width: 0;
  padding: 13px 15px;
  background: rgba(255, 248, 235, 0.045);
}

.arbsoul-suite-context span,
.arbsoul-suite-context strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-suite-context span {
  margin-bottom: 5px;
  color: rgba(255, 248, 235, 0.48);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arbsoul-suite-context strong {
  font-size: 0.78rem;
  font-weight: 900;
}

.arbsoul-suite-preferences {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  align-items: center;
  gap: 8px;
  margin: 10px 22px 0;
}

.arbsoul-suite-preferences .arbsoul-suite-preference-picker {
  min-height: 40px;
}

.arbsoul-suite-preferences > button {
  grid-column: span 2;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--suite-line);
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.07);
  color: var(--suite-paper);
  font: 900 0.6rem/1 "Manrope", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-suite-preferences > button:hover {
  background: rgba(227, 185, 119, 0.13);
}

.arbsoul-suite-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 22px;
}

.arbsoul-suite-routes a {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 248, 235, 0.1);
  border-radius: 19px;
  background: rgba(255, 248, 235, 0.045);
  color: var(--suite-paper);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.arbsoul-suite-routes a:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 185, 119, 0.38);
  background: rgba(227, 185, 119, 0.09);
}

.arbsoul-suite-routes a.is-current {
  border-color: rgba(227, 185, 119, 0.56);
  background: linear-gradient(135deg, rgba(227, 185, 119, 0.15), rgba(255, 248, 235, 0.045));
}

.arbsoul-suite-route-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 248, 235, 0.08);
  color: var(--suite-gold);
  font-size: 0.68rem;
  font-weight: 950;
}

.arbsoul-suite-route-copy,
.arbsoul-suite-route-copy strong,
.arbsoul-suite-route-copy small {
  min-width: 0;
  display: block;
}

.arbsoul-suite-route-copy strong {
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 950;
}

.arbsoul-suite-route-copy small {
  color: rgba(255, 248, 235, 0.56);
  font-size: 0.65rem;
  font-weight: 650;
  line-height: 1.35;
}

.arbsoul-suite-route-arrow {
  color: rgba(255, 248, 235, 0.36);
  font-size: 1rem;
}

.arbsoul-suite-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px;
  padding: 0 22px 20px;
}

.arbsoul-suite-workspaces,
.arbsoul-suite-account,
.arbsoul-suite-retention,
.arbsoul-suite-alerts,
.arbsoul-suite-billing {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--suite-line);
  border-radius: 21px;
  background: rgba(255, 248, 235, 0.04);
}

.arbsoul-suite-retention {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 92% 0%, rgba(227, 185, 119, 0.11), transparent 36%),
    rgba(255, 248, 235, 0.04);
}

.arbsoul-suite-retention-copy {
  margin: -3px 0 12px;
  max-width: 72ch;
  color: rgba(255, 248, 235, 0.58);
  font-size: 0.68rem;
  line-height: 1.5;
}

.arbsoul-suite-retention-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.34fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 248, 235, 0.09);
  border-radius: 14px;
  background: rgba(5, 13, 8, 0.2);
}

.arbsoul-suite-retention-picker > span {
  color: rgba(255, 248, 235, 0.76);
  font-size: 0.7rem;
  font-weight: 850;
}

.arbsoul-suite-retention-picker > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.arbsoul-suite-retention-picker > div span,
.arbsoul-suite-retention-picker > div small {
  color: rgba(255, 248, 235, 0.52);
  font-size: 0.59rem;
  font-weight: 750;
}

.arbsoul-suite-retention-picker > div strong {
  overflow: hidden;
  color: var(--suite-paper);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-suite-retention-picker > label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--suite-line);
  border-radius: 10px;
  background: #101a14;
  color: var(--suite-paper);
  font-size: 0.66rem;
  font-weight: 850;
  cursor: pointer;
}

.arbsoul-suite-retention-picker > label:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.52;
}

.arbsoul-suite-retention-picker input {
  width: 17px;
  height: 17px;
  accent-color: var(--suite-gold);
}

.arbsoul-suite-retention-picker select {
  width: 100%;
  min-height: 38px;
  padding: 0 32px 0 11px;
  border: 1px solid var(--suite-line);
  border-radius: 10px;
  background: #101a14;
  color: var(--suite-paper);
  font: 850 0.7rem/1 "Manrope", sans-serif;
}

.arbsoul-suite-retention-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.arbsoul-suite-retention-metrics span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 248, 235, 0.045);
  color: rgba(255, 248, 235, 0.56);
  font-size: 0.61rem;
  font-weight: 750;
}

.arbsoul-suite-retention-metrics strong {
  color: var(--suite-paper);
  font-size: 0.78rem;
}

.arbsoul-suite-retention-observation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(136, 174, 112, 0.18);
  border-radius: 14px;
  background: rgba(136, 174, 112, 0.07);
}

.arbsoul-suite-retention-observation > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.arbsoul-suite-retention-observation span,
.arbsoul-suite-retention-observation small {
  color: rgba(255, 248, 235, 0.54);
  font-size: 0.59rem;
  font-weight: 750;
  line-height: 1.4;
}

.arbsoul-suite-retention-observation strong {
  color: #cfe3be;
  font-size: 0.72rem;
}

.arbsoul-suite-retention-observation button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(136, 174, 112, 0.28);
  border-radius: 10px;
  background: rgba(136, 174, 112, 0.12);
  color: #cfe3be;
  font: 900 0.58rem/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-suite-retention-observation button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.arbsoul-suite-retention-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.arbsoul-suite-retention-actions span {
  flex: 1 1 220px;
  color: rgba(255, 248, 235, 0.48);
  font-size: 0.62rem;
  line-height: 1.4;
}

.arbsoul-suite-retention-actions button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(227, 185, 119, 0.25);
  border-radius: 11px;
  background: rgba(227, 185, 119, 0.12);
  color: var(--suite-gold);
  font: 900 0.6rem/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-suite-retention-actions button + button {
  border-color: rgba(255, 248, 235, 0.12);
  background: rgba(255, 248, 235, 0.055);
  color: rgba(255, 248, 235, 0.72);
}

.arbsoul-suite-retention-actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.arbsoul-suite-alerts {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 88% 5%, rgba(136, 174, 112, 0.13), transparent 34%),
    rgba(255, 248, 235, 0.04);
}

.arbsoul-suite-alerts[hidden] {
  display: none !important;
}

.arbsoul-suite-alerts .arbsoul-suite-section-head {
  margin-bottom: 11px;
}

.arbsoul-suite-alerts .arbsoul-suite-section-head > span[data-state="ready"] {
  background: rgba(136, 174, 112, 0.16);
  color: #d9edc9;
}

.arbsoul-suite-alerts .arbsoul-suite-section-head > span[data-state="attention"] {
  background: rgba(210, 101, 81, 0.16);
  color: #f4b6a9;
}

.arbsoul-suite-alert-push {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 248, 235, 0.09);
  border-radius: 15px;
  background: rgba(5, 13, 8, 0.18);
}

.arbsoul-suite-alert-push > div,
.arbsoul-suite-alert-check > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.arbsoul-suite-alert-push strong,
.arbsoul-suite-alert-check strong {
  color: var(--suite-paper);
  font-size: 0.72rem;
  font-weight: 900;
}

.arbsoul-suite-alert-push span,
.arbsoul-suite-alert-check small {
  color: rgba(255, 248, 235, 0.52);
  font-size: 0.63rem;
  font-style: normal;
  line-height: 1.42;
}

.arbsoul-suite-alert-push button,
.arbsoul-suite-alert-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(227, 185, 119, 0.3);
  border-radius: 12px;
  background: rgba(227, 185, 119, 0.12);
  color: #ffe5ba;
  font: 900 0.61rem/1 "Manrope", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-suite-alert-push button[data-enabled="true"],
.arbsoul-suite-alert-actions button.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--suite-gold), #f2d49d);
  color: var(--suite-canopy);
}

.arbsoul-suite-alert-push button:disabled,
.arbsoul-suite-alert-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.arbsoul-suite-alert-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.arbsoul-suite-alert-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 9px 2px 3px;
  cursor: pointer;
}

.arbsoul-suite-alert-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--suite-gold);
}

.arbsoul-suite-alert-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
  gap: 9px;
}

.arbsoul-suite-alert-fields label,
.arbsoul-suite-alert-timezone {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.arbsoul-suite-alert-fields label > span,
.arbsoul-suite-alert-timezone > span {
  color: rgba(255, 248, 235, 0.48);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arbsoul-suite-alert-fields input,
.arbsoul-suite-alert-fields select,
.arbsoul-suite-alert-timezone input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--suite-line);
  border-radius: 12px;
  background: #101a14;
  color: var(--suite-paper);
  font: 800 0.72rem/1 "Manrope", sans-serif;
  box-sizing: border-box;
}

.arbsoul-suite-alert-fields input:disabled,
.arbsoul-suite-alert-fields select:disabled,
.arbsoul-suite-alert-timezone input:disabled {
  opacity: 0.5;
}

.arbsoul-suite-alert-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.arbsoul-suite-alert-actions > span {
  min-width: 0;
  color: rgba(255, 248, 235, 0.5);
  font-size: 0.61rem;
  line-height: 1.4;
}

.arbsoul-suite-alert-actions > span[data-state="error"] {
  color: #f4b6a9;
}

.arbsoul-push-toast {
  position: fixed;
  z-index: 2147483000;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
  width: min(380px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(227, 185, 119, 0.36);
  border-radius: 17px;
  background:
    radial-gradient(circle at 95% 0, rgba(227, 185, 119, 0.15), transparent 40%),
    rgba(15, 27, 20, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  color: var(--suite-paper);
  text-align: left;
  cursor: pointer;
  animation: arbsoul-push-toast-in 180ms ease-out;
}

.arbsoul-push-toast strong {
  font: 900 0.76rem/1.3 "Manrope", sans-serif;
}

.arbsoul-push-toast span {
  color: rgba(255, 248, 235, 0.66);
  font: 700 0.68rem/1.45 "Manrope", sans-serif;
}

@keyframes arbsoul-push-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.arbsoul-suite-billing {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 92% 8%, rgba(227, 185, 119, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(136, 174, 112, 0.08), transparent 48%),
    rgba(255, 248, 235, 0.035);
}

.arbsoul-suite-billing[hidden] {
  display: none;
}

.arbsoul-suite-billing .arbsoul-suite-section-head {
  margin-bottom: 10px;
}

.arbsoul-suite-billing[data-balance-state="low"] .arbsoul-suite-section-head > span,
.arbsoul-suite-billing[data-balance-state="empty"] .arbsoul-suite-section-head > span {
  background: rgba(210, 101, 81, 0.16);
  color: #f4b6a9;
}

.arbsoul-billing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.arbsoul-billing-metrics article {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 248, 235, 0.075);
  border-radius: 14px;
  background: rgba(5, 13, 8, 0.2);
}

.arbsoul-billing-metrics span {
  overflow: hidden;
  color: rgba(255, 248, 235, 0.48);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.arbsoul-billing-metrics strong {
  color: var(--suite-paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
}

.arbsoul-billing-note {
  margin: 10px 0 0;
  color: rgba(255, 248, 235, 0.56);
  font-size: 0.67rem;
  line-height: 1.45;
}

.arbsoul-billing-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.arbsoul-billing-entry {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.04);
}

.arbsoul-billing-entry > i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(136, 174, 112, 0.13);
  color: #cfe3be;
  font: normal 950 0.66rem/1 "Manrope", sans-serif;
}

.arbsoul-billing-entry[data-delta="negative"] > i {
  background: rgba(227, 185, 119, 0.13);
  color: var(--suite-gold);
}

.arbsoul-billing-entry > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.arbsoul-billing-entry strong,
.arbsoul-billing-entry small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-billing-entry strong {
  color: var(--suite-paper);
  font-size: 0.64rem;
}

.arbsoul-billing-entry small,
.arbsoul-billing-entry time {
  color: rgba(255, 248, 235, 0.46);
  font-size: 0.56rem;
}

.arbsoul-billing-entry > b {
  color: #cfe3be;
  font-size: 0.68rem;
}

.arbsoul-billing-entry[data-delta="negative"] > b {
  color: var(--suite-gold);
}

.arbsoul-billing-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 10px;
}

.arbsoul-billing-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--suite-line);
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.07);
  color: var(--suite-paper);
  font: 900 0.6rem/1 "Manrope", sans-serif;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-billing-actions button.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--suite-gold), #f2d49d);
  color: var(--suite-canopy);
}

.arbsoul-billing-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.arbsoul-billing-toast {
  position: fixed;
  z-index: 1000002;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: min(390px, calc(100vw - 36px));
  padding: 13px 15px;
  border: 1px solid rgba(227, 185, 119, 0.26);
  border-radius: 15px;
  background: rgba(15, 27, 20, 0.97);
  color: var(--suite-paper);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  font: 800 0.76rem/1.45 "Manrope", sans-serif;
}

.arbsoul-billing-toast > span {
  display: block;
}

.arbsoul-billing-toast > button {
  margin-top: 10px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 248, 235, 0.24);
  border-radius: 10px;
  background: var(--suite-paper);
  color: var(--suite-canopy);
  font: 900 0.65rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.arbsoul-billing-toast[data-tone="error"] {
  border-color: rgba(210, 101, 81, 0.42);
}

.arbsoul-credit-shop-layer {
  position: fixed;
  z-index: 1000003;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  font-family: "Manrope", sans-serif;
}

body.arbsoul-credit-shop-open {
  overflow: hidden;
}

.arbsoul-credit-shop-layer[hidden] {
  display: none;
}

.arbsoul-credit-shop-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 5, 0.78);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.arbsoul-credit-shop {
  position: relative;
  width: min(940px, 100%);
  max-height: min(88dvh, 820px);
  overflow: auto;
  border: 1px solid rgba(227, 185, 119, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 4%, rgba(227, 185, 119, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(30, 48, 37, 0.98), rgba(10, 19, 14, 0.99));
  color: var(--suite-paper);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.52);
}

.arbsoul-credit-shop-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 248, 235, 0.09);
  background: rgba(15, 27, 20, 0.94);
  backdrop-filter: blur(18px);
}

.arbsoul-credit-shop-head p,
.arbsoul-credit-shop-history-head span {
  margin: 0 0 5px;
  color: var(--suite-gold);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arbsoul-credit-shop-head h2,
.arbsoul-credit-shop-history-head h3 {
  margin: 0;
  color: var(--suite-paper);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.035em;
}

.arbsoul-credit-shop-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.arbsoul-credit-shop-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arbsoul-credit-shop-head-actions button {
  min-width: 72px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 248, 235, 0.12);
  border-radius: 14px;
  background: rgba(255, 248, 235, 0.06);
  color: var(--suite-paper);
  font: 900 0.62rem/1 "Manrope", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-credit-shop-head-actions [data-billing-portal] {
  border-color: rgba(227, 185, 119, 0.32);
  color: #ffe5ba;
}

.arbsoul-credit-shop-body {
  display: grid;
  gap: 18px;
  padding: 20px 24px 26px;
}

.arbsoul-credit-shop-balance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(136, 174, 112, 0.2);
  border-radius: 18px;
  background: rgba(136, 174, 112, 0.08);
}

.arbsoul-credit-shop-balance strong {
  min-width: 60px;
  color: #eef4df;
  font: 750 2rem/1 "Fraunces", Georgia, serif;
}

.arbsoul-credit-shop-balance span,
.arbsoul-credit-shop-state {
  color: rgba(255, 248, 235, 0.62);
  font-size: 0.74rem;
  line-height: 1.5;
}

.arbsoul-credit-shop-state {
  padding: 12px 14px;
  border: 1px solid rgba(255, 248, 235, 0.1);
  border-radius: 15px;
  background: rgba(255, 248, 235, 0.04);
}

.arbsoul-credit-shop-state[data-tone="error"] {
  border-color: rgba(210, 101, 81, 0.3);
  background: rgba(176, 67, 52, 0.12);
  color: #f0c0b7;
}

.arbsoul-credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.arbsoul-credit-pack {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 17px;
  border: 1px solid rgba(255, 248, 235, 0.1);
  border-radius: 21px;
  background: rgba(255, 248, 235, 0.045);
}

.arbsoul-credit-pack.is-featured {
  border-color: rgba(227, 185, 119, 0.42);
  background:
    radial-gradient(circle at 90% 0, rgba(227, 185, 119, 0.16), transparent 42%),
    rgba(227, 185, 119, 0.07);
}

.arbsoul-credit-pack.is-current {
  border-color: rgba(136, 174, 112, 0.58);
  box-shadow: inset 0 0 0 1px rgba(136, 174, 112, 0.16);
}

.arbsoul-credit-pack.is-current .arbsoul-credit-pack-tag {
  background: rgba(136, 174, 112, 0.2);
  color: #e2f2d3;
}

.arbsoul-credit-pack-tag {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(136, 174, 112, 0.13);
  color: #cfe3be;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arbsoul-credit-pack.is-featured .arbsoul-credit-pack-tag {
  background: rgba(227, 185, 119, 0.16);
  color: var(--suite-gold);
}

.arbsoul-credit-pack h3,
.arbsoul-credit-pack p {
  margin: 0;
}

.arbsoul-credit-pack h3 {
  color: var(--suite-paper);
  font: 750 1.12rem/1.1 "Fraunces", Georgia, serif;
}

.arbsoul-credit-pack p {
  min-height: 3.8em;
  color: rgba(255, 248, 235, 0.56);
  font-size: 0.68rem;
  line-height: 1.45;
}

.arbsoul-credit-pack-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.arbsoul-credit-pack-price strong {
  color: #fff2d4;
  font: 750 1.8rem/1 "Fraunces", Georgia, serif;
}

.arbsoul-credit-pack-price span,
.arbsoul-credit-pack small {
  color: rgba(255, 248, 235, 0.46);
  font-size: 0.62rem;
}

.arbsoul-credit-pack button {
  min-height: 44px;
  margin-top: 2px;
  border: 1px solid rgba(227, 185, 119, 0.28);
  border-radius: 14px;
  background: rgba(227, 185, 119, 0.1);
  color: #ffe5ba;
  font: 950 0.66rem/1 "Manrope", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-credit-pack.is-featured button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--suite-gold), #f2d49d);
  color: var(--suite-canopy);
}

.arbsoul-credit-pack button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.arbsoul-credit-pack.is-loading {
  min-height: 260px;
  overflow: hidden;
}

.arbsoul-credit-pack.is-loading i {
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 248, 235, 0.04), rgba(255, 248, 235, 0.11), rgba(255, 248, 235, 0.04));
  background-size: 220% 100%;
  animation: arbsoul-credit-loading 1.5s ease-in-out infinite;
}

.arbsoul-credit-pack.is-loading i:nth-child(1) {
  width: 42%;
}

.arbsoul-credit-pack.is-loading i:nth-child(2) {
  width: 68%;
  height: 24px;
}

.arbsoul-credit-pack.is-loading i:nth-child(3) {
  width: 100%;
  height: 52px;
}

.arbsoul-credit-pack.is-loading i:nth-child(4) {
  width: 100%;
  height: 44px;
  margin-top: auto;
}

.arbsoul-credit-shop-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(255, 248, 235, 0.12);
  border-radius: 16px;
  color: rgba(255, 248, 235, 0.48);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

@keyframes arbsoul-credit-loading {
  to {
    background-position: -220% 0;
  }
}

.arbsoul-credit-shop-history {
  display: grid;
  gap: 9px;
  padding-top: 4px;
}

.arbsoul-credit-shop-history-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.arbsoul-credit-shop-history-head h3 {
  font-size: 1rem;
}

.arbsoul-credit-purchase-list {
  display: grid;
  gap: 7px;
}

.arbsoul-credit-purchase {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 248, 235, 0.08);
  border-radius: 15px;
  background: rgba(5, 13, 8, 0.18);
}

.arbsoul-credit-purchase > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.arbsoul-credit-purchase strong,
.arbsoul-credit-purchase small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-credit-purchase strong {
  color: var(--suite-paper);
  font-size: 0.7rem;
}

.arbsoul-credit-purchase small {
  color: rgba(255, 248, 235, 0.48);
  font-size: 0.6rem;
}

.arbsoul-credit-purchase > b {
  color: #cfe3be;
  font-size: 0.72rem;
}

.arbsoul-credit-purchase a {
  color: var(--suite-gold);
  font-size: 0.62rem;
  font-weight: 900;
  text-decoration: none;
}

.arbsoul-credit-purchase[data-status="refunded"] > b,
.arbsoul-credit-purchase[data-status="disputed"] > b,
.arbsoul-credit-purchase[data-status="failed"] > b {
  color: #f0aa9d;
}

.arbsoul-suite-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.arbsoul-suite-section-head h3,
.arbsoul-suite-account-person h3 {
  font-size: 1rem;
}

.arbsoul-suite-section-head > span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(227, 185, 119, 0.14);
  color: var(--suite-gold);
  font-size: 0.61rem;
  font-weight: 950;
}

.arbsoul-suite-workspace-picker {
  display: grid;
  gap: 7px;
}

.arbsoul-suite-workspace-picker > span {
  color: rgba(255, 248, 235, 0.54);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arbsoul-suite-workspace-picker select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--suite-line);
  border-radius: 13px;
  background: #101a14;
  color: var(--suite-paper);
  font: 800 0.76rem/1 "Manrope", sans-serif;
}

.arbsoul-suite-workspace-picker select:disabled {
  opacity: 0.72;
}

.arbsoul-suite-workspace-note {
  margin: 10px 0 0;
  color: rgba(255, 248, 235, 0.52);
  font-size: 0.67rem;
  line-height: 1.45;
}

.arbsoul-suite-account-person > div {
  min-width: 0;
}

.arbsoul-suite-account-person span:not(.arbsoul-suite-avatar) {
  display: block;
  overflow: hidden;
  color: rgba(255, 248, 235, 0.56);
  font-size: 0.67rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-suite-account-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.arbsoul-suite-account-meta div {
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.045);
}

.arbsoul-suite-account-meta dt {
  margin-bottom: 5px;
  color: rgba(255, 248, 235, 0.46);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arbsoul-suite-account-meta dd {
  margin: 0;
  overflow: hidden;
  color: var(--suite-paper);
  font-size: 0.68rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arbsoul-suite-language-picker,
.arbsoul-suite-preference-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 7px 9px 7px 12px;
  border: 1px solid var(--suite-line);
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.055);
}

.arbsoul-suite-language-picker > span,
.arbsoul-suite-preference-picker > span {
  color: rgba(255, 248, 235, 0.58);
  font: 900 0.58rem/1 "Manrope", sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.arbsoul-suite-language-picker select,
.arbsoul-suite-preference-picker select {
  min-width: 0;
  min-height: 30px;
  padding: 0 30px 0 10px;
  border: 1px solid rgba(255, 248, 235, 0.12);
  border-radius: 9px;
  background: rgba(12, 22, 16, 0.72);
  color: var(--suite-paper);
  font: 850 0.7rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.arbsoul-suite-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.arbsoul-suite-account-actions:has([data-suite-health]:not([hidden])) {
  grid-template-columns: 1fr 1fr;
}

.arbsoul-suite-account-actions button {
  min-height: 40px;
  padding: 0 9px;
  border: 1px solid var(--suite-line);
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.07);
  color: var(--suite-paper);
  font: 900 0.6rem/1 "Manrope", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.arbsoul-suite-account-actions button:hover {
  background: rgba(227, 185, 119, 0.13);
}

.arbsoul-suite-account-actions button.is-danger {
  grid-column: 1 / -1;
  border-color: rgba(210, 101, 81, 0.26);
  background: rgba(176, 67, 52, 0.18);
}

.arbsoul-suite-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 22px 16px;
  border-top: 1px solid var(--suite-line);
  color: rgba(255, 248, 235, 0.42);
  font-size: 0.62rem;
  font-weight: 700;
}

.arbsoul-suite-footer kbd {
  padding: 2px 4px;
  border: 1px solid var(--suite-line);
  border-radius: 5px;
  background: rgba(255, 248, 235, 0.06);
  color: rgba(255, 248, 235, 0.72);
  font-family: inherit;
}

.arbsoul-access-wall {
  position: fixed;
  inset: 0;
  z-index: 2147482400;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(227, 185, 119, 0.2), transparent 32%),
    linear-gradient(145deg, #18271e, #0e1611);
  color: var(--suite-paper);
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.arbsoul-access-wall > div {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--suite-line);
  border-radius: 30px;
  background: rgba(255, 248, 235, 0.055);
  box-shadow: var(--suite-shadow);
  text-align: center;
}

.arbsoul-access-wall .arbsoul-suite-mark {
  margin: 0 auto 18px;
}

.arbsoul-access-wall p {
  margin: 0 0 8px;
  color: var(--suite-gold);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arbsoul-access-wall h1 {
  max-width: none;
  margin: 0 0 12px;
  color: var(--suite-paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.045em;
}

.arbsoul-access-wall > div > span {
  display: block;
  max-width: 54ch;
  margin: 0 auto;
  color: rgba(255, 248, 235, 0.67);
  line-height: 1.6;
}

.arbsoul-access-wall > div > div {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.arbsoul-access-wall a,
.arbsoul-access-wall button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--suite-line);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.08);
  color: var(--suite-paper);
  font: 900 0.68rem/1 "Manrope", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.arbsoul-access-wall a {
  border-color: transparent;
  background: linear-gradient(135deg, var(--suite-gold), #f2d49d);
  color: var(--suite-canopy);
}

@media (max-width: 900px) {
  .arbsoul-credit-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arbsoul-suite-trigger {
    min-width: 132px;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .arbsoul-suite-trigger kbd {
    display: none;
  }

  .arbsoul-suite-layer {
    place-items: end center;
    padding: 0;
  }

  .arbsoul-suite-panel {
    width: 100%;
    max-height: min(92dvh, 920px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
  }

  .arbsoul-suite-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arbsoul-suite-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .arbsoul-credit-shop-layer {
    place-items: end center;
    padding: 0;
  }

  .arbsoul-credit-shop {
    width: 100%;
    max-height: 94dvh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 26px 26px 0 0;
  }

  .arbsoul-credit-shop-head {
    padding: 17px 17px 14px;
  }

  .arbsoul-credit-shop-head-actions button {
    min-width: 64px;
    min-height: 42px;
  }

  .arbsoul-credit-shop-body {
    gap: 14px;
    padding: 15px 15px max(20px, env(safe-area-inset-bottom));
  }

  .arbsoul-credit-shop-balance {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .arbsoul-credit-shop-balance strong {
    min-width: 0;
    font-size: 1.65rem;
  }

  .arbsoul-credit-shop-balance span,
  .arbsoul-credit-shop-state {
    font-size: 0.69rem;
  }

  .arbsoul-credit-pack-grid {
    grid-template-columns: 1fr;
  }

  .arbsoul-credit-pack {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px 12px;
    padding: 14px;
  }

  .arbsoul-credit-pack-tag,
  .arbsoul-credit-pack h3,
  .arbsoul-credit-pack p,
  .arbsoul-credit-pack small {
    grid-column: 1;
  }

  .arbsoul-credit-pack p {
    min-height: 0;
  }

  .arbsoul-credit-pack-price {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    justify-items: end;
  }

  .arbsoul-credit-pack-price strong {
    font-size: 1.55rem;
  }

  .arbsoul-credit-pack button {
    grid-column: 1 / -1;
    min-height: 48px;
  }

  .arbsoul-credit-pack.is-loading {
    min-height: 176px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .arbsoul-credit-purchase {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .arbsoul-credit-purchase a,
  .arbsoul-credit-purchase > i {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .arbsoul-suite-trigger {
    min-width: 46px;
    width: 46px !important;
    grid-template-columns: 28px;
    place-content: center;
    padding: 7px !important;
    border-radius: 15px !important;
  }

  .arbsoul-suite-trigger-copy {
    display: none;
  }

  .arbsoul-suite-panel-head,
  .arbsoul-suite-context,
  .arbsoul-suite-preferences,
  .arbsoul-suite-routes,
  .arbsoul-suite-lower,
  .arbsoul-suite-footer {
    margin-right: 14px;
    margin-left: 14px;
    padding-right: 0;
    padding-left: 0;
  }

  .arbsoul-suite-panel-head {
    margin: 0;
    padding: 15px 16px 13px;
  }

  .arbsoul-suite-context {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .arbsoul-suite-preferences {
    grid-template-columns: 1fr 1fr;
    margin-top: 9px;
  }

  .arbsoul-suite-preferences .arbsoul-suite-language-picker,
  .arbsoul-suite-preferences .arbsoul-suite-preference-picker:nth-child(2) {
    grid-column: 1 / -1;
  }

  .arbsoul-suite-routes {
    grid-template-columns: 1fr;
  }

  .arbsoul-suite-context > div {
    padding: 10px 12px;
  }

  .arbsoul-suite-routes {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .arbsoul-suite-routes a {
    padding: 11px;
  }

  .arbsoul-suite-route-copy small,
  .arbsoul-suite-footer span:first-child {
    display: none;
  }

  .arbsoul-suite-lower {
    padding-bottom: 14px;
  }

  .arbsoul-suite-account-actions {
    grid-template-columns: 1fr 1fr;
  }

  .arbsoul-suite-account-actions button.is-danger {
    grid-column: 1 / -1;
  }

  .arbsoul-suite-account-actions:has([data-suite-health]:not([hidden])) button.is-danger {
    grid-column: 1 / -1;
  }

  .arbsoul-suite-billing {
    padding: 13px;
  }

  .arbsoul-suite-alerts {
    padding: 13px;
  }

  .arbsoul-suite-retention {
    padding: 13px;
  }

  .arbsoul-suite-retention-picker {
    grid-template-columns: 1fr;
  }

  .arbsoul-suite-retention-metrics {
    grid-template-columns: 1fr;
  }

  .arbsoul-suite-retention-observation {
    align-items: stretch;
    flex-direction: column;
  }

  .arbsoul-suite-retention-observation button {
    width: 100%;
  }

  .arbsoul-suite-retention-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .arbsoul-suite-retention-actions button {
    width: 100%;
    min-height: 48px;
  }

  .arbsoul-suite-alert-push {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 9px;
    padding: 11px;
  }

  .arbsoul-suite-alert-push button,
  .arbsoul-suite-alert-actions button {
    min-height: 48px;
    padding: 0 9px;
  }

  .arbsoul-suite-alert-fields {
    grid-template-columns: 1fr;
  }

  .arbsoul-suite-alert-fields input,
  .arbsoul-suite-alert-fields select,
  .arbsoul-suite-alert-timezone input {
    min-height: 48px;
    font-size: 16px;
  }

  .arbsoul-suite-alert-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .arbsoul-suite-alert-actions button {
    width: 100%;
  }

  html[data-arbsoul-build="field-mobile"] .arbsoul-push-toast {
    bottom: max(84px, calc(env(safe-area-inset-bottom) + 76px));
  }

  .arbsoul-billing-metrics article {
    padding: 9px;
  }

  .arbsoul-billing-ledger {
    grid-template-columns: 1fr;
  }

  .arbsoul-billing-entry:nth-child(n + 4) {
    display: none;
  }

  .arbsoul-billing-actions > * {
    flex: 1 1 0;
  }

  .arbsoul-suite-footer {
    justify-content: flex-end;
    padding-top: 10px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .arbsoul-access-wall > div > div {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arbsoul-suite-trigger,
  .arbsoul-suite-routes a,
  .arbsoul-credit-pack.is-loading i,
  .arbsoul-push-toast {
    transition: none !important;
    animation: none !important;
  }
}

html.arbsoul-client-dialog-open,
body.arbsoul-client-dialog-open {
  overflow: hidden !important;
}

.arbsoul-client-fab {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 940;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 8px;
  border: 1px solid rgba(227, 185, 119, 0.64);
  border-radius: 999px;
  background: linear-gradient(145deg, #dfbd7f, #c79b59);
  color: #17241b;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.arbsoul-client-fab[hidden] {
  display: none !important;
}

.arbsoul-client-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.arbsoul-client-fab:focus-visible {
  outline: 3px solid rgba(244, 226, 185, 0.86);
  outline-offset: 3px;
}

.arbsoul-client-fab > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 36, 27, 0.13);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.arbsoul-client-fab > strong {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

body.arbsoul-client-dialog-open .arbsoul-client-fab,
body[data-workflow="map"] .arbsoul-client-fab,
body[data-workflow="capture"] .arbsoul-client-fab,
body:has(.professional-mobile-workspace:not([hidden])) .arbsoul-client-fab {
  pointer-events: none;
  opacity: 0;
}

.arbsoul-client-dialog {
  width: min(720px, calc(100vw - 32px));
  max-width: none;
  max-height: min(780px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 235, 0.16);
  border-radius: 28px;
  background: #111a15;
  color: #fff8eb;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.52);
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.arbsoul-client-dialog::backdrop {
  background: rgba(4, 9, 6, 0.78);
  backdrop-filter: blur(14px) saturate(0.72);
}

.arbsoul-client-form {
  max-height: inherit;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(227, 185, 119, 0.16), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(87, 139, 105, 0.16), transparent 34%),
    #111a15;
}

.arbsoul-client-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 16px;
  align-items: start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 248, 235, 0.1);
}

.arbsoul-client-head > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.arbsoul-client-head span {
  color: var(--suite-gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arbsoul-client-head h2 {
  margin: 0;
  color: #fff9ef;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.035em;
}

.arbsoul-client-head p {
  margin: 2px 0 0;
  color: rgba(220, 228, 219, 0.66);
  font-size: 0.76rem;
  line-height: 1.45;
}

.arbsoul-client-head > button {
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 248, 235, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff8eb;
  font: inherit;
  font-size: 1.45rem;
  cursor: pointer;
}

.arbsoul-client-fields {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 20px 24px;
  overflow: auto;
  overscroll-behavior: contain;
}

.arbsoul-client-fields label {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
}

.arbsoul-client-fields label > span {
  color: rgba(244, 239, 228, 0.76);
  font-size: 0.65rem;
  font-weight: 850;
}

.arbsoul-client-fields label > span b {
  margin-left: 4px;
  color: rgba(227, 185, 119, 0.72);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arbsoul-client-fields input,
.arbsoul-client-fields select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 248, 235, 0.13);
  border-radius: 13px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff9ef;
  font: inherit;
  font-size: 16px;
}

.arbsoul-client-fields input::placeholder {
  color: rgba(220, 228, 219, 0.37);
}

.arbsoul-client-fields input:focus,
.arbsoul-client-fields select:focus {
  border-color: rgba(227, 185, 119, 0.72);
  box-shadow: 0 0 0 3px rgba(227, 185, 119, 0.12);
}

.arbsoul-client-fields select option {
  background: #17231c;
  color: #fff8eb;
}

.arbsoul-client-address {
  grid-column: 1 / -1;
}

.arbsoul-client-status {
  min-height: 38px;
  display: flex;
  align-items: center;
  margin: 0 24px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(220, 228, 219, 0.72);
  font-size: 0.69rem;
  line-height: 1.35;
}

.arbsoul-client-status:empty {
  min-height: 12px;
  padding: 0;
}

.arbsoul-client-status[data-tone="working"] {
  border-color: rgba(227, 185, 119, 0.24);
  background: rgba(227, 185, 119, 0.08);
  color: #f5d9a8;
}

.arbsoul-client-status[data-tone="success"] {
  border-color: rgba(126, 181, 125, 0.28);
  background: rgba(126, 181, 125, 0.09);
  color: #bfe0ba;
}

.arbsoul-client-status[data-tone="error"] {
  border-color: rgba(215, 115, 91, 0.34);
  background: rgba(215, 115, 91, 0.1);
  color: #f0b09e;
}

.arbsoul-client-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 248, 235, 0.1);
}

.arbsoul-client-actions > div {
  display: flex;
  gap: 9px;
}

.arbsoul-client-actions button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 248, 235, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff8eb;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.arbsoul-client-actions button.is-primary {
  border-color: rgba(227, 185, 119, 0.7);
  background: var(--suite-gold);
  color: #17241b;
}

.arbsoul-client-actions button:disabled,
.arbsoul-client-fields input:disabled,
.arbsoul-client-fields select:disabled {
  cursor: wait;
  opacity: 0.58;
}

html[data-arbsoul-theme="light"] .arbsoul-client-dialog,
html[data-arbsoul-theme="light"] .arbsoul-client-form {
  border-color: rgba(42, 69, 50, 0.18);
  background:
    radial-gradient(circle at 92% 0%, rgba(213, 169, 92, 0.18), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(89, 143, 104, 0.14), transparent 34%),
    #f7f1e5;
  color: #17251c;
}

html[data-arbsoul-theme="light"] .arbsoul-client-head {
  border-color: rgba(42, 69, 50, 0.12);
}

html[data-arbsoul-theme="light"] .arbsoul-client-head h2,
html[data-arbsoul-theme="light"] .arbsoul-client-head > button,
html[data-arbsoul-theme="light"] .arbsoul-client-actions button,
html[data-arbsoul-theme="light"] .arbsoul-client-fields input,
html[data-arbsoul-theme="light"] .arbsoul-client-fields select {
  color: #17251c;
}

html[data-arbsoul-theme="light"] .arbsoul-client-head p,
html[data-arbsoul-theme="light"] .arbsoul-client-fields label > span,
html[data-arbsoul-theme="light"] .arbsoul-client-status {
  color: rgba(23, 37, 28, 0.68);
}

html[data-arbsoul-theme="light"] .arbsoul-client-fields input,
html[data-arbsoul-theme="light"] .arbsoul-client-fields select,
html[data-arbsoul-theme="light"] .arbsoul-client-head > button,
html[data-arbsoul-theme="light"] .arbsoul-client-actions button {
  border-color: rgba(42, 69, 50, 0.16);
  background: rgba(255, 255, 255, 0.62);
}

html[data-arbsoul-theme="light"] .arbsoul-client-actions button.is-primary {
  border-color: #b58c4a;
  background: #c99f59;
  color: #122019;
}

@media (max-width: 620px) {
  .arbsoul-client-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(78px + max(6px, env(safe-area-inset-bottom)));
    width: 50px;
    min-height: 50px;
    justify-content: center;
    padding: 6px;
  }

  .arbsoul-client-fab > span {
    width: 38px;
    height: 38px;
  }

  .arbsoul-client-fab > strong {
    display: none;
  }

  .arbsoul-client-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .arbsoul-client-form {
    width: 100%;
    height: 100dvh;
    max-height: none;
  }

  .arbsoul-client-head {
    padding: max(12px, env(safe-area-inset-top)) 15px 12px;
  }

  .arbsoul-client-head p {
    display: none;
  }

  .arbsoul-client-head h2 {
    font-size: 1.4rem;
  }

  .arbsoul-client-fields {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 15px;
  }

  .arbsoul-client-address {
    grid-column: auto;
  }

  .arbsoul-client-status {
    margin: 0 15px;
  }

  .arbsoul-client-actions {
    align-items: stretch;
    padding: 11px 15px max(12px, env(safe-area-inset-bottom));
  }

  .arbsoul-client-actions > div {
    flex: 1;
  }

  .arbsoul-client-actions button {
    min-height: 48px;
  }

  .arbsoul-client-actions > div button {
    flex: 1;
  }

  .arbsoul-client-actions > div button[data-client-directory-intent="save"]:has(+ .is-primary:not([hidden])) {
    display: none;
  }
}
