/* Patch 8: the session interface's restrained surfaces and consistent spacing. */
.p8-venue{max-width:1060px;margin:0 auto;padding:0;overflow:hidden}
.p8-steps{display:flex;gap:6px;padding:18px 22px;border-bottom:1px solid var(--border,#e2e8f0);background:#f8fafc;overflow:auto}
.p8-steps button{flex:1;min-width:120px;border:0;border-radius:7px;padding:11px 12px;background:transparent;color:#64748b;font:inherit;font-size:.85rem;text-align:left;white-space:nowrap;cursor:pointer}
.p8-steps button.active{background:#e8f1f7;color:#145d80;font-weight:650}
.p8-venue>[data-venue-panel]{padding:26px;margin:0;border:0}
.p8-venue h2{font-size:1.12rem;margin:0 0 20px}.p8-venue h3{font-size:1rem}
.p8-venue .env-form-grid{gap:20px}.p8-venue .env-media-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.p8-venue .env-form-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 26px;border-top:1px solid #e2e8f0;background:#fafbfc}
.p8-flow-actions{display:flex;gap:10px}.p8-review{display:grid;gap:12px;margin-bottom:24px}.p8-review div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px}.p8-review dt{color:#64748b}.p8-review dd{margin:0;overflow-wrap:anywhere}
.p8-profile .premium-profile-hero,.p8-profile-admin .profile-hero{background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:none!important;border-radius:12px;padding:24px!important;color:#0f172a!important}
.p8-profile .premium-profile-hero:before,.p8-profile .premium-profile-hero:after{display:none!important}
.p8-profile .profile-content-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:22px;margin-top:22px}
.p8-profile .premium-surface,.p8-profile .face-enrollment-card,.p8-profile-admin .card,.p8-employee-form .form-surface,.p8-employee-form .photo-editor-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:none}
.p8-profile .premium-section-heading{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf1f5}.p8-profile .premium-form-grid{gap:18px}.p8-profile .profile-hero-copy h1{font-size:1.6rem;color:#0f172a}.p8-profile .profile-hero-copy p{color:#64748b}
.p8-profile .profile-status-row .premium-status{background:#f1f5f9;color:#334155}.p8-profile .settings-card-icon,.p8-profile .fact-icon{background:#eef4f8;color:#246382}.p8-profile .premium-profile-photo{width:76px;height:76px;border-radius:14px;box-shadow:none}
.p8-profile-admin .profile-tabs{margin-top:22px}.p8-profile-admin .profile-main h1{font-size:1.6rem}.p8-profile-admin .profile-avatar{border-radius:14px;box-shadow:none}
.p8-profile-admin .account-help-note{display:none}.p8-employee-form .employee-form-layout{gap:22px}.p8-employee-form .form-section-heading{background:#fafbfc}.p8-employee-form .photo-editor-panel{align-self:start}
@media(max-width:760px){.p8-profile .profile-content-grid{grid-template-columns:minmax(0,1fr)}.p8-profile .premium-profile-hero,.p8-profile-admin .profile-hero{padding:18px!important}.p8-venue>[data-venue-panel]{padding:18px}.p8-venue .env-form-footer{padding:16px}.p8-review div{grid-template-columns:minmax(0,1fr);gap:3px}.p8-steps{padding:12px}.p8-flow-actions{flex-wrap:wrap}.p8-profile .profile-hero-actions{flex-wrap:wrap}.p8-profile .premium-form-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.p8-venue *,.p8-profile *,.p8-profile-admin *{animation:none!important;transition:none!important}}

.p8-reference-preview{display:grid;gap:8px;min-width:0}.p8-reference-preview img,.p8-reference-preview video{width:100%;border-radius:8px}.p8-reference-preview .btn{justify-self:start}

.p8-profile-admin .face-verification-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:22px;margin:20px 0}.p8-profile-admin .premium-section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.p8-profile-admin .premium-section-heading h2{margin:0 0 6px;font-size:1.1rem}.p8-profile-admin .settings-card-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;background:#eef4f8;color:#246382;border-radius:9px}.p8-profile-admin .face-verification-status-row{display:flex;justify-content:space-between;align-items:center;gap:16px}.p8-profile-admin [data-face-status]{display:block;font-size:1rem}.p8-profile-admin [data-face-date]{color:#64748b;font-size:.8rem}.p8-profile-admin .section-kicker{display:none}@media(max-width:600px){.p8-profile-admin .face-verification-status-row{align-items:stretch;flex-direction:column}.p8-profile-admin .face-verification-actions{display:flex;gap:8px}}

.p8-venue{scroll-margin-top:90px}.p8-venue .env-preview-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}.p8-venue .env-preview-grid img{max-height:300px}

@media(max-width:600px){.p8-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.p8-steps button{min-width:0;white-space:normal;font-size:.8rem}}
