/* Company profile, platform administration, registration, trial and Google services: pages
   outside the workspace shell take the same type scale, controls, cards and tables. */
:root {
  --uv-fs-title: 2rem;
  --uv-fs-h2: 1.35rem;
  --uv-fs-h3: 1.15rem;
  --uv-fs-body: 1rem;
  --uv-fs-label: 0.96rem;
  --uv-fs-meta: 0.9rem;
  --uv-secondary: #475569;
}
[dir='rtl'] {
  --uv-fs-body: 1.07rem;
  --uv-fs-label: 1.03rem;
  --uv-fs-meta: 0.97rem;
}
:root[data-theme='dark'] {
  --uv-secondary: var(--text-secondary);
}
main :is(h1) {
  color: var(--uv-text);
  font-size: var(--uv-fs-title);
  font-weight: 700;
}
main :is(h2) {
  color: var(--uv-text);
  font-size: var(--uv-fs-h2);
}
main :is(p, li, td, label, dd) {
  font-size: var(--uv-fs-body);
}
main :is(small, dt, th) {
  font-size: var(--uv-fs-meta);
}
main .panel,
main section.card {
  border: 1px solid var(--uv-border);
  border-radius: var(--uv-radius-lg);
  background: var(--uv-surface);
  box-shadow: var(--uv-shadow-1);
}
main
  :is(
    input:not([type='checkbox'], [type='radio'], [type='file'], [type='color'], [type='range']),
    select
  ) {
  min-height: 42px;
  border: 1px solid var(--uv-border);
  border-radius: 10px;
  background-color: var(--uv-surface);
  color: var(--uv-text);
  font-size: var(--uv-fs-label);
}
main textarea {
  border: 1px solid var(--uv-border);
  border-radius: 10px;
  background-color: var(--uv-surface);
  color: var(--uv-text);
  font-size: var(--uv-fs-label);
}
main :is(input, select, textarea):focus {
  border-color: var(--uv-brand);
  box-shadow: var(--uv-focus);
  outline: none;
}
main .btn {
  min-height: 42px;
  border-radius: 12px;
  font-size: var(--uv-fs-label);
  font-weight: 600;
}
main .btn.primary {
  font-weight: 700;
}
main thead th {
  background: var(--uv-bg);
  color: var(--uv-secondary);
  font-weight: 700;
}
main .badge {
  border-radius: 999px;
}

/* Registration and trial: the same premium cards, steps and actions as the rest of UVEYO */
.registration-header {
  border-block-end: 1px solid var(--uv-border);
  background: var(--uv-surface);
}
.registration-kicker {
  color: var(--uv-brand-ink, #b4530a);
  font-weight: 700;
}
.registration-title {
  color: var(--uv-text);
  font-weight: 700;
}
.registration-panel {
  border: 1px solid var(--uv-border);
  border-radius: var(--uv-radius-lg);
  background: var(--uv-surface);
  box-shadow: var(--uv-shadow-1);
}
.registration-progress button {
  border-radius: 12px;
  color: var(--uv-secondary);
}
.registration-progress button[aria-current='step'] {
  background: color-mix(in srgb, var(--uv-brand) 10%, var(--uv-surface));
  color: var(--uv-text);
  font-weight: 700;
}
.registration-progress [aria-current='step'] b {
  background: var(--uv-brand);
  color: #fff;
}
.registration-module {
  border: 1px solid var(--uv-border);
  border-radius: 14px;
}
.registration-module.is-selected {
  border-color: var(--uv-brand);
  background: color-mix(in srgb, var(--uv-brand) 6%, var(--uv-surface));
}
.registration-note {
  border-radius: 12px;
}
#registration-otp {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-block: 14px;
}
#registration-otp label {
  flex: 1 1 100%;
}
#registration-otp input {
  max-width: 180px;
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}
.registration-progress button:disabled {
  opacity: 1;
  color: var(--uv-secondary);
}
