/* The Avorinth — Account & Settings. Loaded after app.css so the main stylesheet remains untouched. */
.account-nav-link{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #e0e6f0;border-radius:11px;color:#334b70;text-decoration:none;font-size:12px;font-weight:800;background:#fff;transition:.18s ease}
.account-nav-link:hover{border-color:#cbd7ee;background:#f8faff;transform:translateY(-1px)}
.account-nav-link svg{width:16px;height:16px;stroke:currentColor}
.global-account-notice{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 18px;background:#fff9e9;border-bottom:1px solid #f1dfad;color:#795f1f;font-size:12px}
.global-account-notice strong{color:#5b4718}.global-account-notice a{color:#6655d8;font-weight:900;text-decoration:none}

.account-page{padding:40px 24px 80px;background:linear-gradient(180deg,#f8fbff 0,#fff 38%,#fbfcff 100%);min-height:78vh}
.account-shell{max-width:1180px;margin:0 auto}
.account-alert{margin:0 0 16px;padding:13px 16px;border-radius:13px;font-size:12px;font-weight:750;line-height:1.5}
.account-alert-success{background:#effaf4;border:1px solid #d3efdf;color:#24714a}.account-alert-error{background:#fff3f3;border:1px solid #f0d6d8;color:#9f3f48}
.account-hero{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:28px 30px;margin-bottom:22px;border:1px solid #dee6f3;border-radius:24px;background:radial-gradient(circle at 86% 18%,rgba(116,95,227,.14),transparent 32%),linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 24px 55px rgba(35,62,104,.08);overflow:hidden}
.account-hero:after{content:"";position:absolute;right:-40px;bottom:-70px;width:180px;height:180px;border:34px solid rgba(87,105,228,.055);border-radius:50%}
.account-avatar{position:relative;z-index:1;display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:linear-gradient(145deg,#172548,#5c64dc);box-shadow:0 13px 30px rgba(45,57,133,.24);color:#fff;font-size:27px;font-weight:900}
.account-hero-copy{position:relative;z-index:1}.account-eyebrow{color:#6773df;font-size:9px;font-weight:950;letter-spacing:.16em}.account-hero h1{margin:5px 0 4px;color:#0b1b3a;font-size:31px;letter-spacing:-.8px}.account-hero p{margin:0;max-width:680px;color:#6d7d95;font-size:12.5px;line-height:1.6}.account-hero-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.account-chip{padding:6px 9px;border:1px solid #dde4f1;border-radius:999px;background:#fff;color:#5c6e89;font-size:9.5px;font-weight:850}.account-chip.is-good{background:#eefaf4;border-color:#d4eddf;color:#237c51}.account-chip.is-warn{background:#fff8e9;border-color:#f1e1b9;color:#936b12}.account-hero-action{position:relative;z-index:1;white-space:nowrap}
.account-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.account-sidebar{position:sticky;top:18px}.account-side-nav{display:grid;gap:5px;padding:10px;border:1px solid #e0e6f0;border-radius:17px;background:#fff;box-shadow:0 15px 40px rgba(38,64,105,.055)}.account-side-nav a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:11px;color:#566a87;text-decoration:none;font-size:11px;font-weight:800;transition:.16s ease}.account-side-nav a:hover{background:#f4f7ff;color:#4056bb}.account-side-nav a span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f2f5fb;color:#8491a7;font-size:8px}.account-side-summary{margin-top:12px;padding:16px;border:1px solid #e5e9f1;border-radius:16px;background:linear-gradient(135deg,#fbfcff,#f8f7ff)}.account-side-summary small{display:block;color:#8d98aa;font-size:8px;font-weight:900;letter-spacing:.12em}.account-side-summary strong{display:block;margin-top:7px;color:#273f64;font-size:12px}.account-side-summary span{display:block;margin-top:3px;color:#7d8a9e;font-size:10px}
.account-content{display:grid;gap:18px}.account-card{scroll-margin-top:20px;padding:24px;border:1px solid #e1e7f0;border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(35,61,100,.05)}.account-card-heading{display:flex;gap:14px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #edf1f6}.account-card-heading>div:last-child{min-width:0;flex:1}.account-card-heading>div>span{display:block;color:#7a80d8;font-size:8px;font-weight:950;letter-spacing:.14em}.account-card-heading h2{margin:4px 0 4px;color:#10213e;font-size:20px;letter-spacing:-.3px}.account-card-heading p{margin:0;max-width:720px;color:#79889d;font-size:11.5px;line-height:1.55}.account-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#edf3ff,#f3efff);color:#5f64d9;font-size:16px;font-weight:900}.account-icon.danger{background:#fff0f1;color:#bb4551}
.account-form{padding-top:18px}.account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.account-form label,.destructive-form label,.security-auth-form label{display:grid;gap:6px}.account-form label>span,.destructive-form label>span,.security-auth-form label>span{color:#425876;font-size:10px;font-weight:850}.account-form label>span small{color:#98a1af;font-size:9px;font-weight:700}.account-form input,.destructive-form input,.security-auth-form input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #dbe3ef;border-radius:11px;background:#fff;color:#142a4a;font:inherit;font-size:12px;outline:none;transition:.16s ease}.account-form input:focus,.destructive-form input:focus,.security-auth-form input:focus{border-color:#7a80df;box-shadow:0 0 0 3px rgba(100,106,216,.10)}.account-form input:disabled{background:#f6f8fb;color:#8793a5}.field-note{display:block;color:#929dad;font-size:8.7px;line-height:1.45}.account-form-actions{display:flex;justify-content:flex-end;margin-top:16px}.account-password-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-status-row,.account-billing-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:15px 16px;border:1px solid #e5eaf2;border-radius:14px;background:#fafcff}.account-status-row strong,.account-billing-row strong{color:#294465;font-size:12px}.account-status-row p,.account-billing-row p{margin:3px 0 0;color:#8290a3;font-size:10px;line-height:1.45}.status-badge{padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}.status-badge.success{background:#eaf8f0;color:#1f8050}
.account-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.account-plan-grid>div{padding:15px;border:1px solid #e5eaf2;border-radius:14px;background:linear-gradient(135deg,#fbfcff,#fff)}.account-plan-grid small{display:block;color:#959faf;font-size:7.8px;font-weight:900;letter-spacing:.11em}.account-plan-grid strong{display:block;margin-top:7px;color:#1c355a;font-size:16px}.account-plan-grid span{display:block;margin-top:3px;color:#8693a6;font-size:9.5px}.account-footnote{margin:12px 2px 0;color:#98a2b1;font-size:8.7px;line-height:1.5}
.preference-list{display:grid;gap:10px;margin-top:18px}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 15px;border:1px solid #e6ebf2;border-radius:13px;background:#fbfcfe;cursor:pointer}.preference-row strong{display:block;color:#304a6c;font-size:11.5px}.preference-row small{display:block;margin-top:3px;color:#8794a7;font-size:9.5px;line-height:1.45}.preference-row input{appearance:none;flex:0 0 42px;width:42px;height:24px;border-radius:999px;background:#dfe4ec;position:relative;cursor:pointer;transition:.18s ease}.preference-row input:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.13);transition:.18s ease}.preference-row input:checked{background:#666cdb}.preference-row input:checked:after{left:21px}
.data-action-grid{display:grid;gap:10px;margin-top:18px}.data-action{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px solid #e5eaf2;border-radius:14px;background:#fbfcfe}.data-action>span,.data-action summary>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#edf3ff;color:#6071d5;font-size:9px;font-weight:950}.data-action strong{color:#304968;font-size:11.5px}.data-action p{margin:3px 0 0;color:#8794a7;font-size:9.5px;line-height:1.45}.data-action summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;cursor:pointer}.data-action summary::-webkit-details-marker{display:none}.data-action summary b{color:#8b5a62;font-size:9px}.destructive-soft{background:#fffafa;border-color:#eedfe1}.destructive-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #f0e2e4}.danger-button{border-color:#e7bfc4!important;color:#a63f49!important;background:#fff!important}.danger-button.solid{background:#ae3f4a!important;color:#fff!important;border-color:#ae3f4a!important}
.danger-card{border-color:#ead9dc;background:linear-gradient(145deg,#fff,#fffafa)}.close-account-box{margin-top:18px;border:1px solid #eddcdf;border-radius:14px;background:#fff}.close-account-box>summary{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;list-style:none;color:#a43f49;font-size:11.5px;font-weight:900;cursor:pointer}.close-account-box>summary::-webkit-details-marker{display:none}.close-warning{margin:0 15px;padding:13px 14px;border-radius:11px;background:#fff5f5;color:#7f5156}.close-warning strong{font-size:11px}.close-warning p{margin:4px 0 0;font-size:9.5px;line-height:1.5}.close-account-box .destructive-form{margin:0 15px 15px;padding-top:14px}.danger-owner-note{margin-top:18px;padding:13px 15px;border-radius:12px;background:#f6f7fa;color:#6f7b8d;font-size:11px}

.security-auth-page{min-height:70vh;display:grid;place-items:center;padding:56px 20px;background:radial-gradient(circle at 50% 0,rgba(100,93,222,.10),transparent 38%),linear-gradient(180deg,#f9fbff,#fff)}.security-auth-card{width:min(460px,100%);padding:30px;border:1px solid #e0e7f1;border-radius:22px;background:#fff;box-shadow:0 26px 70px rgba(31,55,96,.10)}.security-auth-brand{color:#6870dc;font-size:9px;font-weight:950;letter-spacing:.17em;text-decoration:none}.security-auth-icon{display:grid;place-items:center;width:48px;height:48px;margin:22px 0 14px;border-radius:15px;background:linear-gradient(145deg,#edf3ff,#f1efff);color:#5e64d7;font-size:18px;font-weight:900}.security-auth-card h1{margin:0;color:#0c1e3d;font-size:27px;letter-spacing:-.6px}.security-auth-card>p{margin:9px 0 20px;color:#78879c;font-size:12px;line-height:1.6}.security-auth-form{display:grid;gap:13px}.security-auth-form .button{width:100%;margin-top:3px}.security-auth-back{display:inline-block;margin-top:18px;color:#71809a;font-size:10px;font-weight:800;text-decoration:none}.security-auth-main-link{display:block;text-align:center;margin-top:18px}
.login-helpers{display:flex;justify-content:flex-end;margin:-3px 0 11px}.login-helpers a{color:#5e65d6;font-size:10px;font-weight:850;text-decoration:none}
.auth-company-optional{color:#99a3b2;font-size:8.5px;font-weight:700}
.verify-company-profile{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px;padding:12px 14px;border:1px solid #e5e9f2;border-radius:13px;background:#fafbfe;color:#72829a;font-size:10.5px}.verify-company-profile strong{color:#314b70}.verify-company-profile a{color:#5f64d6;font-weight:850;text-decoration:none}

@media(max-width:920px){.account-layout{grid-template-columns:1fr}.account-sidebar{position:static}.account-side-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.account-side-summary{display:none}.account-password-grid{grid-template-columns:1fr}.destructive-form{grid-template-columns:1fr}.account-hero{grid-template-columns:auto 1fr}.account-hero-action{grid-column:1/-1;width:max-content}.account-plan-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.account-page{padding:26px 15px 55px}.account-hero{grid-template-columns:1fr;padding:22px}.account-avatar{width:58px;height:58px;border-radius:17px}.account-hero h1{font-size:25px}.account-side-nav{grid-template-columns:1fr 1fr}.account-card{padding:18px}.account-form-grid,.account-plan-grid{grid-template-columns:1fr}.account-card-heading{gap:10px}.account-icon{width:36px;height:36px;flex-basis:36px}.account-status-row,.account-billing-row,.preference-row{align-items:flex-start;flex-direction:column}.data-action,.data-action summary{grid-template-columns:auto 1fr}.data-action>.button,.data-action summary>b{grid-column:1/-1;width:100%;text-align:center}.verify-company-profile{align-items:flex-start;flex-direction:column}.global-account-notice{align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.account-nav-link span{display:none}}
