:root {
    color-scheme: light;
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #172033;
    --muted: #64748b;
    --border: #dbe3ee;
    --primary: #3157d5;
    --primary-hover: #2444ae;
    --danger: #c9364f;
    --danger-hover: #a8243b;
    --success: #18794e;
    --shadow: 0 16px 42px rgba(25, 40, 72, .09);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.account-panel[data-account-panel="roles"] { background: #f7f9fc; }
.role-editor { margin: 18px 22px; border: 1px solid #dfe5ef; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 7px rgba(24,39,75,.04); }
.role-editor > summary { position: relative; display: flex; min-height: 58px; padding: 17px 48px 17px 20px; align-items: baseline; gap: 10px; background: #fff; color: #26334d; cursor: pointer; list-style: none; }
.role-editor > summary::-webkit-details-marker { display: none; }
.role-editor > summary::after { position: absolute; top: 17px; right: 20px; color: #8290a8; content: '\203A'; font-size: 25px; line-height: 1; transform: rotate(90deg); transition: transform .16s; }
.role-editor[open] > summary::after { transform: rotate(-90deg); }
.role-editor > summary strong { font-size: 14px; }
.role-editor > summary small { overflow: hidden; color: #7a869b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.role-editor > form { padding: 24px; border-top: 1px solid #e7ebf1; }
.role-editor .form-grid { margin-bottom: 26px; }
.role-section-heading { display: flex; margin: 0 0 12px; align-items: end; justify-content: space-between; gap: 16px; }
.role-section-heading h3 { margin: 0; color: #293750; font-size: 14px; }
.role-section-heading p { margin: 3px 0 0; color: #7a869b; font-size: 11px; }
.permission-select-all { min-height: 30px; padding: 5px 10px; border: 1px solid #d6deeb; background: #fff; color: #4660bd; font-size: 11px; box-shadow: none; }
.permission-select-all:hover { border-color: #9eafe6; background: #f2f5ff; }
.permission-grid { display: grid; margin: 0 0 26px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.permission-option { position: relative; display: flex; min-width: 0; min-height: 78px; padding: 12px 12px 12px 46px; align-items: center; border: 1px solid #dde4ee; border-radius: 9px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.permission-option:hover { border-color: #adbbe8; background: #fafbff; }
.permission-option:has(input:checked) { border-color: #8da2eb; background: #f1f4ff; box-shadow: inset 3px 0 #4e6bdd; }
.permission-option input[type="checkbox"] { position: absolute; width: 1px; min-height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.permission-check { position: absolute; top: 50%; left: 14px; display: grid; width: 22px; height: 22px; border: 1.5px solid #b7c1d1; border-radius: 6px; background: #fff; color: transparent; place-items: center; font-size: 14px; font-weight: 900; transform: translateY(-50%); }
.permission-option input:checked + .permission-check { border-color: #4e6bdd; background: #4e6bdd; color: #fff; }
.permission-option input:focus-visible + .permission-check { outline: 3px solid rgba(78,107,221,.2); outline-offset: 2px; }
.permission-copy { display: flex; min-width: 0; flex-direction: column; }
.permission-copy em { margin-bottom: 2px; color: #7785ad; font-size: 8px; font-style: normal; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.permission-copy strong { color: #303d55; font-size: 12px; line-height: 1.3; }
.permission-copy small { margin-top: 3px; color: #79859a; font-size: 10px; font-weight: 500; line-height: 1.35; }
.user-assignment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.user-assignment-grid .permission-option { min-height: 60px; }
.role-editor .actions { padding-top: 19px; border-top: 1px solid #e7ebf1; }
@media (max-width: 1100px) { .permission-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .role-editor { margin: 12px; } .role-editor > form { padding: 18px 14px; } .permission-grid { grid-template-columns: 1fr; } }

/* Registration wizard — clean single-card layout */
.register-page { background: radial-gradient(circle at 15% 0%, rgba(49,87,213,.1), transparent 30rem), #f4f7fb; }
.register-page .register-shell { display: block; width: min(980px, calc(100% - 32px)); min-height: 100vh; margin: 0 auto; padding: 48px 0 72px; }
.register-page .page-header { display: block; overflow: visible; max-width: 700px; min-height: 0; margin: 0 auto 28px; padding: 0; background: transparent; color: var(--text); text-align: center; }
.register-page .page-header::before, .register-page .page-header::after { display: none; }
.register-page .page-header > * { z-index: auto; }
.register-page .register-brand { width: 46px; height: 46px; margin: 0 auto 15px; border: 0; border-radius: 13px; background: linear-gradient(145deg, #4669e2, #2949bd); box-shadow: 0 10px 24px rgba(49,87,213,.22); }
.register-page .page-header .eyebrow { margin-bottom: 7px; color: var(--primary); }
.register-page .page-header h1 { max-width: none; color: var(--text); font-size: clamp(35px, 5vw, 47px); line-height: 1.1; }
.register-page .page-header .subtitle { max-width: 620px; margin: 11px auto 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.register-page .register-card { display: block; margin: 0; padding: 0; overflow: visible; background: transparent; }
.register-page .register-card > .notice, .register-page .register-card > .google-connected, .register-page .register-card > .google-button, .register-page .register-card > .form-divider, .register-page .register-card > .register-success-action { width: min(780px, 100%); }
.register-page #registration-form { display: grid; width: 100%; min-height: 510px; margin: 0; grid-template-columns: 215px minmax(0, 1fr); border: 1px solid #dce3ed; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 22px 60px rgba(27,43,78,.1); }
.register-page .stepper { display: flex; margin: 0; padding: 37px 25px; border: 0; border-right: 1px solid #e4e9f0; border-radius: 0; background: #f8fafc; flex-direction: column; gap: 3px; }
.register-page .stepper::before { display: block; margin: 0 8px 24px; color: #8a96aa; content: 'ACCOUNT SETUP'; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.register-page .stepper__item { min-height: 75px; padding: 9px 7px; color: #8a96aa; flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; }
.register-page .stepper__item::before { top: -15px; right: auto; bottom: auto; left: 24px; width: 2px; height: 30px; background: #dce3ed; }
.register-page .stepper__item span { width: 35px; height: 35px; flex: 0 0 35px; border: 2px solid #d6deea; background: #fff; color: #8290a5; }
.register-page .stepper__item small { display: flex; color: inherit; flex-direction: column; }
.register-page .stepper__item small strong { color: inherit; font-size: 12px; }
.register-page .stepper__item small em { display: block; margin-top: 2px; color: inherit; font-size: 9px; opacity: .75; }
.register-page .stepper__item:disabled:hover { color: #8a96aa; }
.register-page .stepper__item.is-active, .register-page .stepper__item.is-active small { color: var(--primary); }
.register-page .stepper__item.is-active span { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 0 0 5px rgba(49,87,213,.1); }
.register-page .stepper__item.is-complete, .register-page .stepper__item.is-complete small { color: #536bae; }
.register-page .stepper__item.is-complete span { border-color: #b8c5ef; background: #edf1ff; }
.register-page .stepper__item.is-complete span::after { color: var(--primary); }
.register-page .stepper__item.is-complete::before, .register-page .stepper__item.is-complete + .stepper__item::before { background: #9eb0e9; }
.register-page .form-step { min-width: 0; padding: 43px 48px 35px; }
.register-page .register-card .form-section { margin-bottom: 13px; }
.register-page .register-card .form-section h2 { font-size: 27px; }
.register-page .register-card .form-section p { font-size: 13px; }
.register-page .register-card input, .register-page .register-card select { background: #fff; }
.register-page .register-google-option { margin: 0 0 28px; }
.register-page .register-google-option .google-button { width: 100%; min-height: 52px; border-color: #d5ddeb; box-shadow: 0 4px 14px rgba(25,40,72,.05); }
.register-page .register-google-option .google-button:hover { border-color: #aebfe0; box-shadow: 0 8px 22px rgba(25,40,72,.09); }
.register-page .register-google-option .form-divider { margin: 20px 0 0; }
.register-page .register-google-option .google-connected { width: 100%; margin: 0; }

@media (max-width: 800px) {
    .register-page .register-shell { width: min(680px, calc(100% - 24px)); padding: 30px 0 48px; }
    .register-page .page-header { min-height: 0; margin-bottom: 22px; padding: 0; }
    .register-page .page-header h1 { font-size: 35px; }
    .register-page .page-header .subtitle { margin-top: 9px; font-size: 13px; }
    .register-page .register-brand { width: 42px; height: 42px; margin-bottom: 12px; }
    .register-page .register-card { margin: 0; padding: 0; }
    .register-page #registration-form { display: block; min-height: 0; border-radius: 17px; }
    .register-page .stepper { display: grid; margin: 0; padding: 23px 16px 20px; border: 0; border-bottom: 1px solid #e4e9f0; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #f8fafc; }
    .register-page .stepper::before { display: none; }
    .register-page .stepper__item { min-height: 54px; padding: 0; flex-direction: column; justify-content: center; gap: 7px; text-align: center; }
    .register-page .stepper__item::before { top: 16px; right: 50%; bottom: auto; left: -50%; width: auto; height: 2px; }
    .register-page .stepper__item span { width: 34px; height: 34px; flex-basis: 34px; }
    .register-page .stepper__item small strong { font-size: 9px; }
    .register-page .stepper__item small em { display: none; }
    .register-page .form-step { padding: 30px 23px 25px; }
}

@media (max-width: 480px) {
    .register-page .page-header .subtitle { display: none; }
    .register-page .stepper { padding-right: 9px; padding-left: 9px; }
    .register-page .form-step { padding-right: 18px; padding-left: 18px; }
    .register-page .register-card .form-section h2 { font-size: 23px; }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(145deg, #edf2ff 0, var(--bg) 32rem);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}

a { color: var(--primary); font-weight: 650; text-decoration: none; }
a:hover { text-decoration: underline; }

.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.shell--narrow { width: min(560px, calc(100% - 32px)); }

.page-header { margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 21px; letter-spacing: -.015em; }
.subtitle { max-width: 680px; margin: 10px 0 0; color: var(--muted); font-size: 16px; }

.card { margin-top: 22px; padding: clamp(22px, 4vw, 32px); border: 1px solid rgba(219, 227, 238, .9); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.card-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.card-header p { margin: 5px 0 0; color: var(--muted); }

.admin-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 26px; padding: 7px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, .72); box-shadow: 0 8px 24px rgba(25, 40, 72, .05); }
.admin-tab { min-width: 0; min-height: 62px; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; box-shadow: none; }
.admin-tab:hover { background: #eef2ff; color: var(--primary); }
.admin-tab[aria-selected="true"] { border-color: #c7d2fe; background: #fff; color: var(--primary); box-shadow: 0 5px 14px rgba(49, 87, 213, .1); }
.admin-tab span:first-child { overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
.admin-tab small { overflow: hidden; max-width: 100%; color: var(--muted); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.admin-tab .tab-count { display: inline-grid; min-width: 23px; height: 23px; margin-top: 3px; padding: 0 7px; place-items: center; border-radius: 999px; background: #e2e8f0; color: #475569; font-size: 11px; font-weight: 850; }
.admin-tab[aria-selected="true"] .tab-count { background: #e0e7ff; color: var(--primary); }
.admin-panel { scroll-margin-top: 18px; }
.admin-tabs-ready .admin-panel[hidden] { display: none; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-section { grid-column: 1 / -1; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.section-number, .required-note { display: none; }
.field { display: flex; flex-direction: column; gap: 7px; color: #344058; font-size: 13px; font-weight: 750; }
.field--wide { grid-column: 1 / -1; }
.check-field { flex-direction: row; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); cursor: pointer; }
.check-field input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.check-field span { display: flex; flex-direction: column; gap: 2px; }
.check-field small { color: var(--muted); font-weight: 500; }
input, select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--text);
    font: inherit;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(49, 87, 213, .13); }
input::placeholder { color: #94a3b8; }
.hint { margin: -1px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.actions { display: flex; align-items: center; gap: 10px; margin-top: 24px; }

button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
button:hover, .button:hover { background: var(--primary-hover); text-decoration: none; }
button:active, .button:active { transform: translateY(1px); }
.button--secondary { background: #e9eefb; color: #28449c; }
.button--secondary:hover { background: #dce5fa; }
.button--danger { background: var(--danger); }
.button--danger:hover { background: var(--danger-hover); }
.button--small { min-height: 36px; padding: 7px 12px; font-size: 13px; }

.notice { margin: 0 0 18px; padding: 13px 15px; border: 1px solid; border-radius: 10px; font-weight: 600; }
.notice:empty { display: none; }
.notice--error { border-color: #fecdd3; background: #fff1f2; color: #a51835; }
.notice--success { border-color: #bbf7d0; background: #f0fdf4; color: var(--success); }
.notice--info { border-color: #bfdbfe; background: #eff6ff; color: #2453a6; }

.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
.badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #dcfce7; color: #167047; font-size: 12px; font-weight: 800; text-transform: capitalize; }
.badge--suspended { background: #fee2e2; color: #a7243a; }
.tenant-actions { display: flex; min-width: 330px; align-items: center; gap: 8px; }
.tenant-actions input { min-height: 36px; width: 145px; padding: 7px 9px; font-size: 13px; }
.company-usage-cell { min-width: 105px; white-space: nowrap; }
.company-usage-cell strong, .company-usage-cell span, .company-usage-cell small { display: block; }
.company-usage-cell span { margin-top: 2px; color: #64748b; font-size: 10px; }
.company-usage-cell small { color: #8a96a8; font-size: 9px; }
.company-activity-cell { min-width: 130px; white-space: nowrap; }
.company-row-actions { min-width: 176px; white-space: nowrap; }
.company-row-actions > button, .company-row-actions form { display: inline-flex; margin: 0 5px 0 0; vertical-align: middle; }
.user-actions-heading { width: 150px; text-align: right; }
.user-row-actions { display: flex; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.user-delete-form, .group-delete-form { margin: 0; }
.user-action { min-height: 34px; padding: 6px 12px; border: 1px solid #d7deea; border-radius: 7px; background: #fff; color: #3157d5; box-shadow: none; font-size: 12px; font-weight: 700; }
.user-action:hover { border-color: #3157d5; background: #f4f7ff; }
.user-action--delete { color: var(--danger); }
.user-action--delete:hover { border-color: var(--danger); background: #fff4f6; }
.user-edit-dialog { width: min(600px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 70px rgba(21,35,67,.28); }
.user-edit-dialog::backdrop { background: rgba(20,29,48,.48); }
.user-edit-dialog form { padding: 26px; }
.user-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.user-dialog-header h2 { margin: 3px 0 0; }
.user-dialog-close { min-width: 36px; min-height: 36px; padding: 0; border: 0; background: transparent; color: #778196; box-shadow: none; font-size: 27px; line-height: 1; }
.user-dialog-close:hover { background: #f1f4f9; color: #27334b; }
.company-detail-row td { padding: 0 12px 18px; background: var(--surface-soft); }
.company-detail-panel { padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.company-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.company-detail-heading div { display: flex; flex-direction: column; }
.company-detail-heading span { color: var(--muted); font-size: 12px; }
.company-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.company-details div { min-width: 0; padding: 11px 13px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.company-details div:nth-child(3n) { border-right: 0; }
.company-details dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.company-details dd { margin: 3px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.company-details .company-detail-wide { grid-column: span 3; border-right: 0; }
.company-management { display: grid; margin-top: 16px; grid-template-columns: 1fr 1fr; gap: 12px; }
.company-management section { display: flex; min-width: 0; padding: 16px; align-items: flex-end; justify-content: space-between; border: 1px solid var(--border); border-radius: 10px; background: #f8fafc; gap: 16px; }
.company-management section > div { display: flex; min-width: 0; flex-direction: column; }
.company-management section > div span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.company-password-reset { grid-column: 1 / -1; }
.company-limit-form, .company-delete-form, .company-password-form { display: flex; margin: 0; align-items: flex-end; gap: 8px; }
.company-limit-form label, .company-password-form label { display: flex; color: var(--muted); font-size: 9px; font-weight: 750; flex-direction: column; gap: 4px; }
.company-limit-form input, .company-delete-form input, .company-password-form input { width: 125px; min-height: 36px; padding: 7px 9px; font-size: 12px; }
.company-danger-zone { border-color: #fecdd3 !important; background: #fff7f8 !important; }
.empty-state { padding: 34px 12px; color: var(--muted); text-align: center; }
.success-mark { display: grid; width: 58px; height: 58px; margin-bottom: 20px; place-items: center; border-radius: 50%; background: #dcfce7; color: var(--success); font-size: 28px; font-weight: 900; }
.trace { overflow-x: auto; margin: 0; padding: 16px; border-radius: 10px; background: #101827; color: #dbeafe; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.config-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.config-list div { padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.config-list dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.config-list dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.diagnosis { margin-top: 18px; padding: 14px 16px; border: 1px solid #fed7aa; border-radius: 10px; background: #fff7ed; color: #9a3412; }
.diagnosis ul { margin: 8px 0 0; padding-left: 20px; }
.diagnosis li + li { margin-top: 5px; }

.register-page { background: radial-gradient(circle at 10% 4%, rgba(99, 122, 238, .18), transparent 30rem), radial-gradient(circle at 92% 12%, rgba(57, 186, 143, .12), transparent 28rem), linear-gradient(180deg, #f7f9ff 0, #f1f5fb 100%); }
.register-shell { width: min(860px, calc(100% - 32px)); padding-top: 54px; }
.register-page .page-header { max-width: 650px; margin: 0 auto 30px; text-align: center; }
.register-page .page-header .subtitle { margin-right: auto; margin-left: auto; }
.register-brand { display: grid; width: 48px; height: 48px; margin: 0 auto 16px; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #4669e2, #2949bd); color: #fff; box-shadow: 0 10px 24px rgba(49, 87, 213, .25); font-size: 22px; font-weight: 900; }
.register-page h1 { font-size: clamp(34px, 6vw, 48px); }
.register-card { overflow: hidden; padding: clamp(26px, 5vw, 46px); border-color: rgba(190, 202, 242, .82); box-shadow: 0 26px 70px rgba(31, 48, 95, .12); }
.register-card .form-grid { gap: 22px 18px; }
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 42px; padding: 0 12px 30px; border-bottom: 1px solid #e7ebf3; }
.stepper__item { position: relative; min-width: 0; padding: 0; background: transparent; color: var(--muted); box-shadow: none; flex-direction: column; gap: 6px; }
.stepper__item::before { position: absolute; z-index: 0; top: 17px; right: 50%; left: -50%; height: 2px; background: #dce3ef; content: ''; transition: background .2s; }
.stepper__item:first-child::before { display: none; }
.stepper__item span { z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #dce3ef; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 850; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.stepper__item small { font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.stepper__item:hover { background: transparent; color: var(--primary); }
.stepper__item:disabled { cursor: default; opacity: .72; }
.stepper__item:disabled:hover { color: var(--muted); }
.stepper__item.is-active span { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(49,87,213,.11); }
.stepper__item.is-active small { color: var(--primary); }
.stepper__item.is-complete::before, .stepper__item.is-complete + .stepper__item::before { background: var(--primary); }
.stepper__item.is-complete span { border-color: var(--primary); background: #e8edff; color: transparent; font-size: 0; }
.stepper__item.is-complete span::after { color: var(--primary); content: '\2713'; font-size: 15px; }
.form-step[hidden] { display: none; }
.form-step { animation: register-step-in .24s ease-out; }
.step-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 26px; border-top: 1px solid #e4e9f1; }
.step-actions button { min-width: 120px; min-height: 48px; gap: 10px; box-shadow: 0 10px 22px rgba(49,87,213,.18); }
.step-actions .button--secondary { box-shadow: none; }
@keyframes register-step-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.register-card .form-section { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 14px; margin: 0 0 5px; padding: 0; border: 0; }
.register-card .form-section:first-child { margin-top: 0; padding-top: 0; }
.register-card .form-section > div { flex: 1 0 100%; order: 2; }
.register-card .section-number { display: inline-flex; width: auto; height: auto; padding: 5px 9px; border-radius: 999px; background: #edf1ff; color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.register-card .required-note { display: inline-block; margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.register-card .form-section h2 { font-size: 24px; }
.register-card .form-section p { margin-top: 5px; font-size: 14px; }
.register-card .field { gap: 8px; color: #303b52; font-size: 13px; }
.dynamic-field-label { display: inline-flex; align-items: baseline; gap: 3px; }
.dynamic-field-label b { color: inherit; font: inherit; }
.register-card input, .register-card select { min-height: 50px; border-color: #c8d3e2; border-radius: 11px; background: #fbfdff; }
.register-card input:hover, .register-card select:hover { border-color: #aab8cb; }
.register-card input:focus, .register-card select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(49,87,213,.11); }
.register-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.register-actions > div { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.register-actions p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; }
.register-actions button { min-height: 48px; padding: 11px 20px; box-shadow: 0 10px 22px rgba(49, 87, 213, .2); gap: 12px; white-space: nowrap; }
.register-actions > .button--secondary { box-shadow: none; }
.register-actions button span { font-size: 18px; line-height: 1; transition: transform .15s; }
.register-actions button:hover span { transform: translateX(3px); }
.google-button { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #25324a; font-weight: 750; transition: border-color .15s, box-shadow .15s, background .15s; }
.google-button:hover { border-color: #aab8cb; background: #fbfdff; box-shadow: 0 5px 16px rgba(25, 40, 72, .08); text-decoration: none; }
.google-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #4285f4; font-size: 18px; font-weight: 900; }
.form-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.form-divider::before, .form-divider::after { height: 1px; flex: 1; background: var(--border); content: ''; }
.google-connected { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 12px 14px; border: 1px solid #bbf7d0; border-radius: 11px; background: #f0fdf4; }
.google-connected img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.google-connected span { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.google-connected small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; }
.google-connected a { font-size: 12px; white-space: nowrap; }
.register-success-action { margin-top: 0; }
.verification-field input { max-width: 290px; font-size: 30px; font-weight: 800; letter-spacing: .28em; text-align: center; }

/* Registration wizard: desktop split layout */
.register-shell { width: min(980px, calc(100% - 32px)); }
.register-page .page-header { margin-bottom: 34px; }
.register-page .page-header h1 { font-size: clamp(36px, 5vw, 50px); }
.register-card { overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; }
.register-card > .notice, .register-card > .google-connected, .register-card > .google-button, .register-card > .form-divider, .register-card > .register-success-action { width: min(760px, 100%); margin-right: auto; margin-left: auto; }
#registration-form { display: grid; min-height: 540px; grid-template-columns: 238px minmax(0, 1fr); border: 1px solid #dce3ef; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 28px 75px rgba(26, 42, 82, .14); }
#registration-form > input[type="hidden"] { display: none; }
.stepper { display: flex; margin: 0; padding: 38px 24px; border: 0; background: linear-gradient(160deg, #172554 0%, #243d91 58%, #3157d5 100%); flex-direction: column; gap: 4px; }
.stepper::before { margin: 0 8px 26px; color: #fff; content: 'ACCOUNT SETUP'; font-size: 11px; font-weight: 850; letter-spacing: .15em; opacity: .72; }
.stepper__item { min-height: 76px; padding: 10px 8px; color: rgba(255,255,255,.62); flex-direction: row; justify-content: flex-start; gap: 13px; text-align: left; }
.stepper__item::before { top: -15px; right: auto; bottom: auto; left: 25px; width: 2px; height: 30px; background: rgba(255,255,255,.18); }
.stepper__item span { width: 36px; height: 36px; flex: 0 0 36px; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); }
.stepper__item small { display: flex; min-width: 0; flex-direction: column; font-size: 13px; font-style: normal; }
.stepper__item small strong { color: inherit; font-size: 13px; }
.stepper__item small em { margin-top: 1px; color: inherit; font-size: 10px; font-style: normal; font-weight: 550; opacity: .7; }
.stepper__item:hover, .stepper__item:disabled:hover { color: rgba(255,255,255,.62); }
.stepper__item:disabled { opacity: 1; }
.stepper__item.is-active { color: #fff; }
.stepper__item.is-active small, .stepper__item.is-complete small { color: #fff; }
.stepper__item.is-active span { border-color: #fff; background: #fff; color: var(--primary); box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.stepper__item.is-active small strong { color: #fff; }
.stepper__item.is-complete::before, .stepper__item.is-complete + .stepper__item::before { background: rgba(255,255,255,.72); }
.stepper__item.is-complete { color: #fff; }
.stepper__item.is-complete span { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.15); }
.stepper__item.is-complete span::after { color: #fff; }
.form-step { min-width: 0; padding: 46px 48px 38px; }
.register-card .form-section { margin-bottom: 14px; }
.register-card .section-number { display: none; }
.register-card .form-section > div { flex-basis: auto; order: initial; }
.register-card .form-section h2 { font-size: 28px; letter-spacing: -.025em; }
.register-card .form-section p { font-size: 14px; }
.register-card .required-note { align-self: flex-start; margin-top: 8px; }
.register-card .field { font-size: 12px; letter-spacing: .01em; }
.register-card input, .register-card select { min-height: 52px; padding: 12px 14px; border-color: #d3dae6; border-radius: 10px; background: #fff; }
.step-actions, .register-actions { margin-top: 38px; }
.step-actions button, .register-actions button { border-radius: 10px; }
.step-actions button:not(.button--secondary), .register-actions button[type="submit"] { background: #3157d5; box-shadow: 0 11px 24px rgba(49,87,213,.22); }
.button--secondary[data-back] { background: transparent; color: #536179; }
.button--secondary[data-back]:hover { background: #f0f3f8; color: #25324a; }
.account-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.account-header .page-header { margin-bottom: 0; }
.account-nav { display: flex; align-items: center; gap: 10px; }
.account-tabs { display: flex; gap: 8px; margin-top: 28px; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.75); }
.account-tab { min-height: 40px; padding: 8px 15px; border-radius: 8px; background: transparent; color: var(--muted); box-shadow: none; }
.account-tab:hover { background: #eef2ff; color: var(--primary); }
.account-tab[aria-selected="true"] { background: var(--primary); color: #fff; }
.account-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.account-summary div { padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: 0 5px 16px rgba(25,40,72,.04); }
.account-summary span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.account-summary strong { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.account-panel[hidden] { display: none; }
.account-logout { margin: 0; }
.company-open-workspace-form { margin: 0; }
.company-open-workspace { min-height: 36px; padding: 7px 4px; border: 0; background: transparent; box-shadow: none; }
.company-open-workspace:hover { background: transparent; color: var(--primary); }

/* Company account sign-in */
.company-login-page { background: #f4f7fb; }
.company-login-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(390px, .9fr) minmax(520px, 1.1fr); }
.company-login-brand { position: relative; display: flex; overflow: hidden; padding: 54px clamp(42px, 6vw, 86px); background: linear-gradient(145deg, #111d45 0%, #20377f 55%, #3157d5 100%); color: #fff; flex-direction: column; justify-content: space-between; }
.company-login-brand::before { position: absolute; top: -180px; right: -170px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); content: ''; }
.company-login-brand::after { position: absolute; right: 8%; bottom: 10%; width: 170px; height: 170px; border-radius: 36px; background: rgba(255,255,255,.04); content: ''; transform: rotate(22deg); }
.company-login-logo { z-index: 1; display: inline-flex; width: max-content; align-items: center; gap: 12px; color: #fff; font-size: 20px; text-decoration: none; }
.company-login-logo:hover { text-decoration: none; }
.company-login-logo span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(255,255,255,.12); font-weight: 900; }
.company-login-message { z-index: 1; max-width: 520px; margin: 80px 0; }
.company-login-kicker { margin: 0 0 17px; color: #b9c8ff; font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.company-login-message h1 { font-size: clamp(42px, 5vw, 66px); line-height: 1.04; letter-spacing: -.045em; }
.company-login-message > p:not(.company-login-kicker) { max-width: 500px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; }
.company-login-benefits { display: grid; margin: 35px 0 0; padding: 0; gap: 13px; list-style: none; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 650; }
.company-login-benefits li { display: flex; align-items: center; gap: 11px; }
.company-login-benefits span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); color: #c9d5ff; font-size: 11px; }
.company-login-copyright { z-index: 1; margin: 0; color: rgba(255,255,255,.46); font-size: 11px; }
.company-login-panel { display: grid; padding: 50px clamp(36px, 7vw, 110px); place-items: center; background: radial-gradient(circle at 85% 10%, rgba(49,87,213,.08), transparent 24rem), #f7f9fc; }
.company-login-card { width: min(470px, 100%); }
.company-login-heading { margin-bottom: 30px; }
.company-login-lock { display: grid; width: 48px; height: 48px; margin-bottom: 25px; place-items: center; border: 1px solid #d9e1f7; border-radius: 14px; background: #edf1ff; color: var(--primary); }
.company-login-heading h2 { font-size: clamp(28px, 4vw, 37px); letter-spacing: -.035em; }
.company-login-heading > p:last-child { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.company-login-form { display: grid; gap: 21px; }
.company-login-form .field { gap: 9px; font-size: 12px; }
.company-login-input { display: flex; min-height: 54px; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid #cfd8e6; border-radius: 11px; background: #fff; color: #8794aa; transition: border-color .15s, box-shadow .15s; }
.company-login-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(49,87,213,.11); color: var(--primary); }
.company-login-input input { min-width: 0; min-height: 52px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.company-login-input input:focus { box-shadow: none; }
.company-turnstile { display: grid; padding: 13px; border: 1px solid #dbe3ee; border-radius: 12px; background: #fff; gap: 12px; }
.company-turnstile > div:first-child { display: flex; align-items: center; gap: 9px; color: #334155; }
.company-turnstile > div:first-child > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.company-turnstile strong { font-size: 11px; }
.company-turnstile small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.company-turnstile__icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #ecfdf3; color: #168554; font-size: 11px; font-weight: 900; }
.company-turnstile .cf-turnstile { min-height: 65px; overflow: hidden; }
.password-toggle { min-height: 34px; padding: 5px 8px; background: transparent; color: var(--primary); box-shadow: none; font-size: 11px; }
.password-toggle:hover { background: #edf1ff; }
.company-login-submit { width: 100%; min-height: 54px; margin-top: 5px; border-radius: 11px; box-shadow: 0 13px 28px rgba(49,87,213,.24); gap: 12px; }
.company-login-submit span { font-size: 18px; transition: transform .15s; }
.company-login-submit:hover span { transform: translateX(3px); }
.company-login-divider { margin: 25px 0 17px; color: #8a96a8; font-size: 10px; letter-spacing: .09em; }
.company-google-login { display: grid; min-height: 56px; padding: 7px 10px; border: 1px solid #d3dceb; border-radius: 12px; background: #fff; box-shadow: 0 4px 13px rgba(25,40,72,.045); color: #27344d; font-size: 13px; font-weight: 800; text-decoration: none; grid-template-columns: 38px 1fr 38px; align-items: center; transition: border-color .18s, box-shadow .18s, transform .18s; }
.company-google-login:hover { border-color: #aebfe0; box-shadow: 0 9px 24px rgba(25,40,72,.1); color: #1d2b46; text-decoration: none; transform: translateY(-1px); }
.company-google-login:focus-visible { outline: 3px solid rgba(49,87,213,.2); outline-offset: 2px; }
.company-google-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #e6eaf0; border-radius: 9px; background: #fff; box-shadow: 0 2px 7px rgba(25,40,72,.06); }
.company-google-icon svg { width: 20px; height: 20px; }
.company-google-arrow { color: #94a0b2; font-size: 18px; text-align: center; transition: color .18s, transform .18s; }
.company-google-login:hover .company-google-arrow { color: var(--primary); transform: translateX(3px); }
.company-login-links { margin-top: 16px; text-align: right; font-size: 12px; font-weight: 700; }
.company-login-links a { text-decoration: none; }
.company-login-links a:hover { text-decoration: underline; }
.company-login-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.company-login-help span { display: flex; align-items: center; gap: 7px; }
.company-login-help a { white-space: nowrap; }

/* Email verification */
.verify-page { background: #f7f9fc; }
.verify-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(390px,.9fr) minmax(520px,1.1fr); }
.verify-brand { position: relative; display: flex; overflow: hidden; padding: 54px clamp(42px,6vw,86px); background: linear-gradient(145deg,#111d45 0%,#20377f 55%,#3157d5 100%); color: #fff; flex-direction: column; justify-content: space-between; }
.verify-brand::before { position: absolute; top: -180px; right: -170px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025); content: ''; }
.verify-brand__content { z-index: 1; max-width: 540px; margin: 70px 0; }
.verify-brand__content h1 { color: #fff; font-size: clamp(39px,4.7vw,62px); line-height: 1.06; letter-spacing: -.045em; }
.verify-brand__content h1 span { color: #c7d3ff; }
.verify-brand__content > p:not(.company-login-kicker) { max-width: 500px; margin: 23px 0 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; }
.verify-panel { display: grid; padding: 48px clamp(30px,7vw,105px); place-items: center; background: radial-gradient(circle at 85% 10%,rgba(49,87,213,.09),transparent 24rem),#f7f9fc; }
.verify-card { width: min(470px,100%); padding: 38px; border: 1px solid #e0e6ef; border-radius: 22px; background: #fff; box-shadow: 0 24px 65px rgba(26,42,82,.12); }
.verify-card h2 { margin-top: 7px; font-size: clamp(29px,4vw,38px); letter-spacing: -.035em; }
.verify-copy { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.verify-mail-icon { display: grid; width: 52px; height: 52px; margin-bottom: 22px; place-items: center; border: 1px solid #d9e1f7; border-radius: 15px; background: #edf1ff; color: var(--primary); }
.verify-email { overflow: hidden; margin: 10px 0 24px; padding: 11px 13px; border: 1px solid #dce4ef; border-radius: 9px; background: #f8fafc; color: #334155; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.verify-form { display: grid; gap: 19px; }
.verify-form .verification-field { gap: 8px; font-size: 12px; }
.verify-form .verification-field input { width: 100%; max-width: none; min-height: 62px; padding-left: .28em; border-radius: 12px; background: #fbfdff; font-size: 29px; letter-spacing: .32em; }
.verify-form .verification-field small { color: var(--muted); font-size: 10px; font-weight: 550; }
.verify-primary-action { display: flex; width: 100%; min-height: 53px; align-items: center; justify-content: center; border-radius: 11px; box-shadow: 0 12px 25px rgba(49,87,213,.23); gap: 11px; }
.verify-primary-action span { font-size: 18px; }
.verify-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.verify-success-mark { display: grid; width: 68px; height: 68px; margin-bottom: 24px; place-items: center; border-radius: 50%; background: #e8fbf1; box-shadow: 0 0 0 9px #f3fcf7; }
.verify-success-mark span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #22a06b; color: #fff; font-size: 19px; font-weight: 900; }

@media (max-width: 900px) {
    .verify-shell { display: block; }
    .verify-brand { min-height: 280px; padding: 32px 24px 70px; }
    .verify-brand__content { margin: 48px 0 0; }
    .verify-brand__content h1 { font-size: 40px; }
    .verify-brand__content > p:not(.company-login-kicker), .verify-brand .company-login-benefits, .verify-brand .company-login-copyright { display: none; }
    .verify-panel { margin-top: -42px; padding: 0 16px 42px; place-items: start center; }
    .verify-card { position: relative; z-index: 2; padding: 28px 22px; border-radius: 18px; }
}

@media (max-width: 480px) {
    .verify-footer { align-items: flex-start; flex-direction: column; }
    .verify-form .verification-field input { font-size: 25px; }
}

/* Registration page aligned with the company sign-in */
.register-page .register-shell { display: grid; width: 100%; min-height: 100vh; margin: 0; padding: 0; grid-template-columns: minmax(350px, .78fr) minmax(620px, 1.22fr); }
.register-page .page-header { position: relative; display: flex; overflow: hidden; max-width: none; min-width: 0; margin: 0; padding: 54px clamp(42px, 5vw, 78px); align-items: flex-start; background: linear-gradient(145deg, #111d45 0%, #20377f 55%, #3157d5 100%); color: #fff; flex-direction: column; justify-content: center; text-align: left; }
.register-page .page-header::before { position: absolute; top: -160px; right: -190px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); content: ''; }
.register-page .page-header::after { position: absolute; right: 12%; bottom: 9%; width: 150px; height: 150px; border-radius: 34px; background: rgba(255,255,255,.04); content: ''; transform: rotate(22deg); }
.register-page .page-header > * { z-index: 1; }
.register-page .register-brand { width: 52px; height: 52px; margin: 0 0 34px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); box-shadow: none; }
.register-page .page-header .eyebrow { margin-bottom: 16px; color: #b9c8ff; }
.register-page .page-header h1 { max-width: 480px; color: #fff; font-size: clamp(43px, 5vw, 65px); line-height: 1.04; }
.register-page .page-header .subtitle { max-width: 500px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; }
.register-page .register-card { display: block; min-width: 0; margin: 0; padding: 48px clamp(34px, 5vw, 72px); overflow-y: auto; border-radius: 0; background: radial-gradient(circle at 90% 5%, rgba(49,87,213,.08), transparent 24rem), #f7f9fc; }
.register-page .register-card > .notice, .register-page .register-card > .google-connected, .register-page .register-card > .google-button, .register-page .register-card > .form-divider, .register-page .register-card > .register-success-action { width: min(720px, 100%); }
.register-page #registration-form { display: block; width: min(720px, 100%); min-height: 0; margin: 0 auto; border-radius: 20px; background: #fff; box-shadow: 0 24px 65px rgba(26,42,82,.12); }
.register-page .stepper { display: grid; margin: 0; padding: 30px 34px 27px; border-bottom: 1px solid #e6eaf2; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; }
.register-page .stepper::before { display: none; }
.register-page .stepper__item { min-height: 57px; padding: 0; color: #8995a8; flex-direction: column; justify-content: center; gap: 7px; text-align: center; }
.register-page .stepper__item::before { top: 17px; right: 50%; bottom: auto; left: -50%; width: auto; height: 2px; background: #dce3ef; }
.register-page .stepper__item span { width: 36px; height: 36px; flex-basis: 36px; border-color: #dce3ef; background: #fff; color: #718096; }
.register-page .stepper__item small { display: block; color: inherit; }
.register-page .stepper__item small strong { display: block; color: inherit; font-size: 10px; }
.register-page .stepper__item small em { display: none; }
.register-page .stepper__item.is-active { color: var(--primary); }
.register-page .stepper__item.is-active small, .register-page .stepper__item.is-complete small { color: var(--primary); }
.register-page .stepper__item.is-active span { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(49,87,213,.1); }
.register-page .stepper__item.is-complete { color: var(--primary); }
.register-page .stepper__item.is-complete span { border-color: #aebcf0; background: #edf1ff; }
.register-page .stepper__item.is-complete span::after { color: var(--primary); }
.register-page .stepper__item.is-complete::before, .register-page .stepper__item.is-complete + .stepper__item::before { background: #8ea4eb; }
.register-page .form-step { padding: 40px 44px 34px; }
.register-page .register-card .form-section h2 { font-size: 27px; }
.register-page .register-card .form-section p { font-size: 13px; }

@media (min-width: 1001px) {
    .register-page #registration-form { display: grid; width: min(780px, 100%); grid-template-columns: 205px minmax(0, 1fr); }
    .register-page .stepper { display: flex; padding: 36px 22px; border: 0; border-radius: 20px 0 0 20px; background: linear-gradient(160deg, #172554 0%, #243d91 58%, #3157d5 100%); flex-direction: column; gap: 4px; }
    .register-page .stepper::before { display: block; margin: 0 8px 25px; color: #fff; content: 'ACCOUNT SETUP'; font-size: 10px; font-weight: 850; letter-spacing: .15em; opacity: .7; }
    .register-page .stepper__item { min-height: 76px; padding: 10px 7px; color: rgba(255,255,255,.6); flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; }
    .register-page .stepper__item::before { top: -15px; right: auto; bottom: auto; left: 24px; width: 2px; height: 30px; background: rgba(255,255,255,.18); }
    .register-page .stepper__item span { width: 35px; height: 35px; flex: 0 0 35px; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); }
    .register-page .stepper__item small { display: flex; color: inherit; flex-direction: column; }
    .register-page .stepper__item small strong { font-size: 12px; }
    .register-page .stepper__item small em { display: block; margin-top: 2px; font-size: 9px; }
    .register-page .stepper__item.is-active, .register-page .stepper__item.is-active small, .register-page .stepper__item.is-complete, .register-page .stepper__item.is-complete small { color: #fff; }
    .register-page .stepper__item.is-active span { border-color: #fff; background: #fff; color: var(--primary); box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
    .register-page .stepper__item.is-complete span { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.15); }
    .register-page .stepper__item.is-complete span::after { color: #fff; }
    .register-page .stepper__item.is-complete::before, .register-page .stepper__item.is-complete + .stepper__item::before { background: rgba(255,255,255,.7); }
    .register-page .form-step { padding: 43px 40px 35px; }
}

@media (max-width: 1000px) and (min-width: 701px) {
    .company-login-shell { grid-template-columns: 340px minmax(0, 1fr); }
    .company-login-brand { padding: 42px 34px; }
    .company-login-message h1 { font-size: 43px; }
    .company-login-panel { padding: 42px; }
    .register-page .register-shell { grid-template-columns: 310px minmax(0, 1fr); }
    .register-page .page-header { padding: 42px 30px; }
    .register-page .page-header h1 { font-size: 43px; }
    .register-page .register-card { padding: 38px 28px; }
}

.landing-shell { display: grid; width: min(1120px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; padding: 72px 0; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: 72px; }
.landing-hero h1 { max-width: 720px; margin-top: 22px; font-size: clamp(46px, 7vw, 78px); line-height: 1.01; }
.landing-hero h1 span { color: var(--primary); }
.landing-badge { display: inline-flex; padding: 7px 13px; border: 1px solid #c7d2fe; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--primary); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.landing-copy { max-width: 620px; margin: 25px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.landing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button--large { min-height: 56px; padding: 14px 23px; border-radius: 12px; box-shadow: 0 12px 26px rgba(49, 87, 213, .25); font-size: 17px; gap: 14px; }
.landing-google-button { min-width: 245px; justify-content: flex-start; padding: 9px 11px; border: 1px solid #d8e0eb; background: rgba(255,255,255,.96); color: #25324a; box-shadow: 0 9px 24px rgba(25,40,72,.1); gap: 11px; transition: border-color .18s, box-shadow .18s, transform .18s, background .18s; }
.landing-google-button:hover { border-color: #b9c7da; background: #fff; color: #172033; box-shadow: 0 14px 32px rgba(25,40,72,.16); text-decoration: none; transform: translateY(-2px); }
.landing-google-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid #e5eaf1; border-radius: 9px; background: #fff; box-shadow: 0 3px 8px rgba(25,40,72,.06); }
.landing-google-icon svg { width: 19px; height: 19px; }
.landing-google-button > span:nth-child(2) { flex: 1; text-align: left; }
.landing-google-arrow { padding-right: 4px; color: #8a97aa; font-size: 18px; transition: color .18s, transform .18s; }
.landing-google-button:hover .landing-google-arrow { color: var(--primary); transform: translateX(3px); }
.landing-note { margin: 18px 0 0; color: #7b879b; font-size: 13px; font-weight: 600; }
.landing-login { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.landing-login + .landing-note { margin-top: 7px; }
.landing-visual { position: relative; min-height: 430px; }
.document-stack { position: absolute; inset: 42px 20px 20px 35px; padding: 54px 42px; border: 1px solid rgba(199, 210, 254, .8); border-radius: 25px; background: rgba(255, 255, 255, .94); box-shadow: 0 28px 70px rgba(31, 48, 95, .16); transform: rotate(2deg); }
.document-stack--back { inset: 18px 48px 45px 12px; background: #dfe7ff; box-shadow: none; transform: rotate(-5deg); }
.document-icon { display: grid; width: 58px; height: 58px; margin-bottom: 38px; place-items: center; border-radius: 16px; background: #e4eaff; color: var(--primary); font-size: 25px; font-weight: 900; }
.document-line { width: 100%; height: 12px; margin-top: 17px; border-radius: 999px; background: #e8edf5; }
.document-line--title { width: 68%; height: 17px; background: #9aadee; }
.document-line--short { width: 76%; }
.document-team { display: flex; align-items: center; margin-top: 58px; color: var(--muted); font-size: 12px; font-weight: 700; }
.document-team i { display: block; width: 30px; height: 30px; margin-right: -8px; border: 3px solid #fff; border-radius: 50%; background: #bac8f5; }
.document-team i:nth-child(2) { background: #9fd5c0; }
.document-team i:nth-child(3) { margin-right: 13px; background: #f2c7a5; }

@media (max-width: 700px) {
    .shell { padding-top: 30px; }
    .form-grid { grid-template-columns: 1fr; }
    .config-list { grid-template-columns: 1fr; }
    .field--wide { grid-column: auto; }
    .card { border-radius: 14px; }
    .card-header { display: block; }
    .admin-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-details { grid-template-columns: 1fr; }
    .company-details div, .company-details div:nth-child(3n) { border-right: 0; }
    .company-details .company-detail-wide { grid-column: auto; }
    .company-detail-heading { align-items: flex-start; flex-direction: column; }
    .company-management { grid-template-columns: 1fr; }
    .company-management section { align-items: flex-start; flex-direction: column; }
    .company-limit-form, .company-delete-form, .company-password-form { width: 100%; align-items: stretch; flex-direction: column; }
    .company-limit-form input, .company-delete-form input, .company-password-form input { width: 100%; }
    .register-shell { padding-top: 30px; }
    .register-page .page-header { margin-bottom: 22px; }
    .register-brand { width: 42px; height: 42px; margin-bottom: 13px; border-radius: 12px; }
    .register-card { padding: 22px 18px; }
    .register-card .form-section { align-items: flex-start; padding-top: 0; }
    .register-card .required-note { display: none; }
    .register-actions { align-items: stretch; flex-direction: column; gap: 14px; }
    .register-actions > div { align-items: stretch; flex-direction: column; gap: 12px; }
    .register-actions button { width: 100%; }
    .stepper { margin: 0 -4px 28px; padding-right: 0; padding-left: 0; }
    .stepper__item small { font-size: 9px; }
    .account-header { flex-direction: column; }
    .account-summary { grid-template-columns: 1fr; }
    .account-tabs { overflow-x: auto; }
    .actions button, .actions .button { width: 100%; }
	.landing-shell { display: block; padding: 52px 0; }
	.landing-hero { text-align: center; }
	.landing-hero h1 { font-size: clamp(42px, 14vw, 62px); }
	.landing-copy { margin-right: auto; margin-left: auto; }
	.landing-actions { justify-content: center; }
	.landing-actions .button { width: auto; }
	.landing-visual { min-height: 330px; margin-top: 45px; }
	.document-stack { padding: 38px 30px; }
	.document-team { margin-top: 38px; }
	#registration-form { display: block; min-height: 0; border-radius: 17px; }
	.register-card { padding: 0; }
	.stepper { display: grid; margin: 0; padding: 24px 18px 20px; border: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(135deg, #172554, #3157d5); }
	.stepper::before { display: none; }
	.stepper__item { min-height: 55px; padding: 0; flex-direction: column; justify-content: center; gap: 7px; text-align: center; }
	.stepper__item::before { top: 17px; right: 50%; bottom: auto; left: -50%; width: auto; height: 2px; }
	.stepper__item span { width: 34px; height: 34px; flex-basis: 34px; }
	.stepper__item small strong { font-size: 9px; }
	.stepper__item small em { display: none; }
	.form-step { padding: 30px 22px 26px; }
	.register-card .form-section h2 { font-size: 24px; }
	.register-card .form-section > div { flex-basis: 100%; }
	.company-login-shell { display: block; }
	.company-login-brand { min-height: auto; padding: 24px 22px 78px; }
	.company-login-message { margin: 50px 0 0; }
	.company-login-message h1 { font-size: 38px; }
	.company-login-message > p:not(.company-login-kicker), .company-login-benefits, .company-login-copyright { display: none; }
	.company-login-panel { margin-top: -42px; padding: 0 16px 40px; background: transparent; }
	.company-login-card { padding: 28px 22px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 20px 55px rgba(25,40,72,.14); }
	.company-login-lock { width: 42px; height: 42px; margin-bottom: 20px; }
	.company-login-heading h2 { font-size: 29px; }
	.company-login-help { align-items: flex-start; flex-direction: column; }
	.register-page .register-shell { display: block; min-height: 100vh; }
	.register-page .page-header { min-height: 330px; padding: 34px 22px 86px; justify-content: flex-start; }
	.register-page .register-brand { width: 44px; height: 44px; margin-bottom: 38px; }
	.register-page .page-header .eyebrow { margin-bottom: 10px; }
	.register-page .page-header h1 { font-size: 39px; }
	.register-page .page-header .subtitle { margin-top: 15px; font-size: 14px; line-height: 1.6; }
	.register-page .register-card { margin-top: -48px; padding: 0 16px 40px; overflow: visible; background: transparent; }
	.register-page #registration-form { border-radius: 18px; box-shadow: 0 20px 55px rgba(25,40,72,.16); }
	.register-page .stepper { padding: 24px 14px 21px; border-radius: 18px 18px 0 0; }
	.register-page .stepper__item { min-height: 53px; }
	.register-page .stepper__item span { width: 33px; height: 33px; flex-basis: 33px; }
	.register-page .stepper__item small strong { font-size: 8px; }
	.register-page .form-step { padding: 29px 21px 25px; }
	.register-page .register-card > .notice, .register-page .register-card > .google-connected, .register-page .register-card > .google-button, .register-page .register-card > .form-divider { position: relative; z-index: 2; }
}

/* SB Admin 2-inspired platform dashboard */
.admin-dashboard-page { margin: 0; background: #f8f9fc; color: #5a5c69; }
.admin-dashboard { display: flex; width: 100%; min-height: 100vh; }
.admin-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; width: 250px; padding: 0 16px 22px; background: linear-gradient(180deg, #4e73df 0%, #224abe 100%); color: #fff; flex-direction: column; box-shadow: 3px 0 18px rgba(34,74,190,.16); }
.admin-sidebar::after { position: absolute; right: -100px; bottom: -100px; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025); content: ''; pointer-events: none; }
.admin-sidebar-brand { display: flex; min-height: 86px; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 18px; letter-spacing: .04em; text-decoration: none; }
.admin-sidebar-brand:hover { color: #fff; text-decoration: none; }
.admin-sidebar-brand span { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.12); font-size: 18px; font-weight: 900; transform: rotate(-8deg); }
.admin-sidebar-divider { height: 1px; margin: 0 0 18px; background: rgba(255,255,255,.18); }
.admin-sidebar-label { margin: 0 12px 9px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.admin-dashboard-page .admin-tabs { display: flex; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; flex-direction: column; gap: 4px; }
.admin-dashboard-page .admin-tab { position: relative; display: grid; width: 100%; min-height: 56px; padding: 10px 12px; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; border-radius: 7px; background: transparent; color: rgba(255,255,255,.68); box-shadow: none; gap: 7px; text-align: left; }
.admin-dashboard-page .admin-tab i { font-size: 15px; font-style: normal; text-align: center; opacity: .72; }
.admin-dashboard-page .admin-tab span:not(.tab-count) { font-size: 12px; font-weight: 700; }
.admin-dashboard-page .admin-tab small { display: none; }
.admin-dashboard-page .admin-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-dashboard-page .admin-tab[aria-selected="true"] { background: rgba(255,255,255,.14); color: #fff; }
.admin-dashboard-page .admin-tab[aria-selected="true"]::before { position: absolute; top: 12px; bottom: 12px; left: -16px; width: 4px; border-radius: 0 4px 4px 0; background: #fff; content: ''; }
.admin-dashboard-page .admin-tab[aria-selected="true"] i { opacity: 1; }
.admin-dashboard-page .tab-count { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-size: 9px; text-align: center; }
.admin-sidebar-footer { z-index: 1; display: flex; margin: auto 5px 0; padding: 16px 12px; border-radius: 8px; background: rgba(0,0,0,.1); flex-direction: column; }
.admin-sidebar-footer span { font-size: 11px; font-weight: 750; }
.admin-sidebar-footer small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 9px; }
.admin-main { width: calc(100% - 250px); min-width: 0; margin-left: 250px; }
.admin-topbar { position: sticky; z-index: 30; top: 0; display: flex; min-height: 70px; padding: 0 30px; align-items: center; border-bottom: 1px solid #e3e6f0; background: #fff; box-shadow: 0 2px 12px rgba(58,59,69,.06); }
.admin-topbar > div { display: flex; flex-direction: column; }
.admin-topbar > div span { color: #3a3b45; font-size: 14px; font-weight: 800; }
.admin-topbar > div small { margin-top: 2px; color: #858796; font-size: 10px; }
.admin-topbar-actions { display: flex !important; margin-left: auto; align-items: center; flex-direction: row !important; gap: 16px; }
.admin-topbar-home { color: #858796; font-size: 11px; font-weight: 700; text-decoration: none; }
.admin-topbar-home span { margin-left: 7px; color: #4e73df; }
.admin-signout-form { margin: 0; padding-left: 16px; border-left: 1px solid #e3e6f0; }
.admin-signout { min-height: 36px; padding: 7px 13px; border: 1px solid #e3e6f0; border-radius: 6px; background: #fff; color: #e74a3b; box-shadow: none; font-size: 11px; }
.admin-signout:hover { border-color: #e74a3b; background: #fff5f4; color: #c83c30; }
.admin-menu-toggle { display: none; width: 38px; min-height: 38px; margin-right: 13px; padding: 0; border-radius: 50%; background: #eaecf4; color: #4e73df; box-shadow: none; }
.admin-content { width: min(1500px, 100%); margin: 0 auto; padding: 30px clamp(22px, 3vw, 42px) 56px; }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.admin-title-row .eyebrow { color: #4e73df; }
.admin-title-row h1 { margin-top: 5px; color: #3a3b45; font-size: clamp(27px, 3vw, 34px); font-weight: 500; letter-spacing: -.02em; }
.admin-metrics { display: grid; margin: 0 0 24px; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.admin-metric { display: flex; min-height: 102px; padding: 21px 20px; align-items: center; justify-content: space-between; border: 1px solid #e3e6f0; border-left: 4px solid #4e73df; border-radius: 6px; background: #fff; box-shadow: 0 3px 12px rgba(58,59,69,.08); }
.admin-metric div { display: flex; flex-direction: column; }
.admin-metric span { color: #4e73df; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.admin-metric strong { margin-top: 7px; color: #5a5c69; font-size: 22px; }
.admin-metric i { color: #dddfeb; font-size: 28px; font-style: normal; font-weight: 900; }
.admin-metric--success { border-left-color: #1cc88a; }
.admin-metric--success span { color: #1cc88a; }
.admin-metric--warning { border-left-color: #f6c23e; }
.admin-metric--warning span { color: #d6a72c; }
.admin-metric--info { border-left-color: #36b9cc; }
.admin-metric--info span { color: #36b9cc; }
.admin-dashboard-page .admin-panel { padding: 0; border: 1px solid #e3e6f0; border-radius: 6px; box-shadow: 0 3px 14px rgba(58,59,69,.08); }
.admin-dashboard-page .admin-panel > .card-header { margin: 0; padding: 18px 22px; border-bottom: 1px solid #e3e6f0; background: #f8f9fc; }
.admin-dashboard-page .admin-panel > .card-header h2 { color: #4e73df; font-size: 16px; }
.admin-dashboard-page .admin-panel > .card-header p { margin-top: 4px; font-size: 11px; }
.admin-dashboard-page .admin-panel > form { padding: 24px; }
.admin-dashboard-page .admin-panel > form + .card-header { margin-top: 0; border-top: 1px solid #e3e6f0; }
.admin-dashboard-page .admin-panel > .table-wrap { margin: 0; padding: 6px 22px 22px; }
.admin-dashboard-page .admin-panel > .empty-state { min-height: 180px; display: grid; place-items: center; }
.admin-dashboard-page .admin-panel table thead th { background: #f8f9fc; color: #858796; }
.company-dashboard-page .company-metrics { grid-template-columns: repeat(4, minmax(0,1fr)); }
.company-dashboard-page .admin-metric strong { overflow: hidden; max-width: 100%; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.admin-metric small { margin-top: 3px; color: #858796; font-size: 9px; font-weight: 650; }
.admin-metric--storage { border-left-color: #7c3aed; }
.admin-metric--storage span { color: #7c3aed; }
.company-dashboard-page .account-tabs { overflow: visible; margin: 0; }
.company-account-management-divider { margin-top: 18px; }

@media (max-width: 1100px) {
    .admin-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .company-dashboard-page .company-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .admin-sidebar { width: 250px; transform: translateX(-102%); transition: transform .2s ease; }
    .admin-sidebar-open .admin-sidebar { transform: none; }
    .admin-sidebar-open::after { position: fixed; z-index: 35; inset: 0; background: rgba(20,28,55,.4); content: ''; }
    .admin-main { width: 100%; margin-left: 0; }
    .admin-menu-toggle { display: grid; place-items: center; }
    .admin-topbar { min-height: 64px; padding: 0 16px; }
    .admin-topbar-home { font-size: 0; }
    .admin-topbar-home span { font-size: 18px; }
    .admin-content { padding: 22px 15px 40px; }
    .admin-title-row { align-items: flex-start; flex-direction: column; }
    .admin-metrics { grid-template-columns: 1fr; gap: 12px; }
    .admin-metric { min-height: 88px; }
    .admin-dashboard-page .admin-panel > form { padding: 18px 15px; }
    .admin-dashboard-page .admin-panel > .table-wrap { padding-right: 14px; padding-left: 14px; }
}

/* Registration uses the form only; keep the vertical wizard without the promo panel. */
.register-page .register-shell {
    display: block;
    width: 100%;
    min-height: 100vh;
}
.register-page .page-header {
    display: none;
}
.register-page .register-card {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: visible;
    background: radial-gradient(circle at 90% 5%, rgba(49,87,213,.08), transparent 24rem), #f7f9fc;
}
.register-page .register-card > .google-connected {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 24px;
    width: auto;
    max-width: min(360px, calc(100% - 308px));
    margin: 0;
    padding: 9px 10px;
    border-color: #dbe3ee;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 30px rgba(25,40,72,.11);
    backdrop-filter: blur(10px);
}
.register-page .google-connected__avatar { position: relative; display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; background: #f1f5ff; color: #4285f4; }
.register-page .google-connected__avatar img { width: 36px; height: 36px; }
.register-page .google-connected__avatar b { font-size: 16px; }
.register-page .google-connected__avatar i { position: absolute; right: -2px; bottom: -2px; display: grid; width: 15px; height: 15px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #22a06b; color: #fff; font-size: 8px; font-style: normal; font-weight: 900; }
.register-page .google-connected__identity { line-height: 1.25; }
.register-page .google-connected__identity strong { overflow: hidden; color: #25324a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.register-page .google-connected__identity small { margin-top: 3px; font-size: 10px; }
.register-page .google-connected__change { padding: 7px 9px; border-radius: 8px; background: #edf1ff; font-size: 10px; text-decoration: none; }
.register-page .google-connected__change:hover { background: #dfe6ff; text-decoration: none; }
.register-page #registration-form {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 1001px) {
    .register-page #registration-form {
        width: 100%;
        grid-template-columns: 260px minmax(0, 1fr);
    }
    .register-page .stepper {
        border-radius: 0;
    }
    .register-page .form-step {
        width: min(760px, 100%);
        margin: auto;
        padding: 56px 48px;
    }
}

@media (max-width: 700px) {
    .register-page .register-card {
        min-height: 100vh;
        margin: 0;
        padding: 0;
        align-items: flex-start;
        background: #f7f9fc;
    }
    .register-page #registration-form {
        min-height: 100vh;
        border-radius: 0;
    }
    .register-page .stepper {
        border-radius: 0;
    }
    .register-page .register-card > .google-connected {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 24px);
        max-width: none;
        margin: 12px;
        align-self: stretch;
        box-shadow: 0 7px 20px rgba(25,40,72,.08);
    }
}
