/* Shared portal tokens and native Filament form components. */
.fi-panel-faculty .fi-simple-main:has(.fp-auth-layout) { padding: 0; overflow: hidden; border-radius: 24px; background: var(--fp-surface); box-shadow: var(--fp-shadow); border: 1px solid var(--fp-line); }
.fp-auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; width: 100%; }
.fp-auth-brand { background: #174e45; color: #fff; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 60px; position: relative; overflow: hidden; }
.fp-auth-brand::after { content: ''; position: absolute; width: 270px; height: 270px; border: 1px solid #ffffff18; border-radius: 50%; inset-inline-end: -130px; bottom: -140px; pointer-events: none; box-shadow: 0 0 0 40px #ffffff06, 0 0 0 80px #ffffff04; }
.fp-auth-brand-title { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }
.fp-auth-brand-title svg { width: 38px; height: 38px; flex-shrink: 0; }
.fp-auth-brand-title small { display: block; font-size: 8px; letter-spacing: 1.8px; font-weight: 400; color: #d0e8dc; margin-top: 7px; }
.fp-auth-eyebrow { color: #d0e8dc; font-size: 12px; }
.fp-auth-intro h2 { font-size: clamp(27px, 3vw, 38px); font-weight: 700; line-height: 1.6; margin: 12px 0 18px; }
.fp-auth-intro p { color: #d0e8dc; font-size: 14px; line-height: 2; max-width: 31ch; }
.fp-auth-brand-footer { display: flex; gap: 9px; align-items: center; color: #d0e8dc; font-size: 11px; }
.fp-auth-brand-footer svg { width: 19px; height: 19px; }
.fp-auth-form { padding: clamp(26px, 4vw, 52px); min-width: 0; align-self: center; }
.fp-auth-mark { background: var(--fp-accent-soft); color: var(--fp-accent); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 24px; }
.fp-auth-mark svg { width: 27px; height: 27px; }
.fp-auth-note { font-size: 12px; line-height: 1.9; color: var(--fp-muted); text-align: center; margin: 25px 0 0; }
.fp-auth-form .fi-btn-color-primary { background: #126d61; color: #fff; }
.fp-auth-form .fi-btn { min-height: 46px; }
.fp-lock-main { min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; }
.fp-lock-main > .fp-auth-layout { max-width: 1024px; border: 1px solid var(--fp-line); border-radius: 24px; overflow: hidden; background: var(--fp-surface); box-shadow: var(--fp-shadow); }
.fp-lock-heading { text-align: center; }
.fp-lock-heading h1 { font-size: 25px; font-weight: 700; }
.fp-lock-heading p { font-size: 14px; color: var(--fp-muted); margin-top: 8px; line-height: 1.9; }
.fp-lock-account { display: flex; gap: 12px; align-items: center; padding: 16px; margin: 25px 0; border: 1px solid var(--fp-line); border-radius: 12px; background: var(--fp-soft); }
.fp-lock-account svg { width: 30px; height: 30px; color: var(--fp-accent); flex-shrink: 0; }
.fp-lock-account small, .fp-lock-account strong { display: block; overflow-wrap: anywhere; }
.fp-lock-account small { color: var(--fp-muted); font-size: 11px; margin-bottom: 4px; }
.fp-lock-form { display: grid; gap: 10px; }
.fp-lock-form label { font-size: 14px; font-weight: 600; }
.fp-auth-error { color: #b91c1c; font-size: 13px; line-height: 1.7; }
.dark .fp-auth-error { color: #fca5a5; }
.fp-auth-error:empty { display: none; }
.fp-lock-other { margin-top: 14px; }
.fp-lock-other .fi-btn { width: 100%; }
.fp-lock-trigger { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid var(--fp-line); border-radius: 10px; background: var(--fp-surface); color: var(--fp-accent); cursor: pointer; font: inherit; font-size: 12px; white-space: nowrap; }
.fp-lock-trigger:hover { background: var(--fp-soft); }
.fp-lock-trigger:focus-visible { outline: 2px solid var(--fp-accent); outline-offset: 3px; }
@media (max-width: 700px) {
    .fp-auth-layout { grid-template-columns: minmax(0, 1fr); }
    .fp-auth-brand { padding: 24px; gap: 20px; }
    .fp-auth-intro, .fp-auth-brand-footer { display: none; }
    .fp-auth-form { padding: 30px 24px; }
    .fp-lock-main { padding: 16px; }
    .fp-lock-trigger span { display: none; }
    .fp-utilities { gap: 8px; }
}
