:root {
    --purple: #5B2CC9;
    --purple-700: #4720A3;
    --purple-900: #24104F;
    --lavender: #F5F0FF;
    --lavender-2: #FBF9FF;
    --purple-border: #E4D8FF;
    --white: #FFFFFF;
    --text: #17122B;
    --muted: #6B6B7A;
    --success: #1DBF73;
    --warning: #F59E0B;
    --danger: #E53935;
    --blue: #2878E5;
    --surface: #FFFFFF;
    --page: #F8F7FC;
    --border: #E9E7F0;
    --line: #E9E7F0;
    --heading: #17122B;
    --text-soft: #6B6B7A;
    --shadow-sm: 0 5px 18px rgba(36, 16, 79, .06);
    --shadow-soft: 0 5px 18px rgba(36, 16, 79, .06);
    --shadow-md: 0 18px 48px rgba(36, 16, 79, .10);
    --shadow-lg: 0 32px 80px rgba(25, 12, 58, .18);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 20px;
    --sidebar-width: 276px;
    --topbar-height: 72px;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--font-body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; color: var(--text); font-family: var(--font-display); font-weight: 800; line-height: 1.18; letter-spacing: -.025em; }
p { color: var(--muted); }
::selection { color: var(--purple-900); background: var(--purple-border); }
:focus-visible { outline: 3px solid rgba(91, 44, 201, .30); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 10px 16px; border-radius: 8px; color: var(--white); background: var(--purple-900); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { color: var(--white); transform: translateY(0); }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 104px 0; }
.section-pad-sm { padding: 64px 0 88px; }
.lavender-section { background: var(--lavender); }

.eyebrow, .page-kicker, .panel-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .11em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-light { color: #DCCFFF; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { max-width: 680px; margin: 0; font-size: clamp(30px, 4vw, 48px); }
.section-heading p { max-width: 600px; margin: 14px 0 0; font-size: 17px; }
.section-heading.centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-heading.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading.split-heading p { margin: 0 0 3px; }

.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 10px 20px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 700; line-height: 1.2; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary-app { color: var(--white); background: var(--purple); box-shadow: 0 8px 20px rgba(91, 44, 201, .18); }
.btn-primary-app:hover { color: var(--white); background: var(--purple-700); box-shadow: 0 10px 26px rgba(91, 44, 201, .25); }
.btn-quiet { color: #433A55; border-color: var(--border); background: var(--white); }
.btn-quiet:hover { color: var(--purple); border-color: var(--purple-border); background: var(--lavender-2); }
.btn-white { color: var(--purple-900); background: var(--white); box-shadow: 0 12px 30px rgba(22, 8, 50, .20); }
.btn-white:hover { color: var(--purple); background: #FCFAFF; }
.btn-outline-light-app { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }
.btn-outline-light-app:hover { color: var(--white); border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.12); }
.btn-small-primary { min-height: 38px; padding: 8px 14px; color: var(--purple); border-color: var(--purple-border); background: var(--lavender); }
.btn-small-primary:hover { color: var(--white); border-color: var(--purple); background: var(--purple); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-weight: 750; }
.text-link i { font-size: 12px; transition: transform .2s ease; }
.text-link:hover i { transform: translateX(3px); }

.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label, .filter-group > label, .filter-group legend { margin: 0; color: #342D45; font-size: 13px; font-weight: 700; }
.form-field label > span { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--text); border: 1px solid #DDD9E7; border-radius: 10px; outline: 0; background: var(--white); transition: border .18s ease, box-shadow .18s ease, background .18s ease; }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #A19BAB; }
input:hover, select:hover, textarea:hover { border-color: #C8C2D5; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(91, 44, 201, .10); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(229, 57, 53, .09); }
.field-grid { display: grid; gap: 18px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-full { grid-column: 1 / -1; }
.field-help, .password-hint { color: var(--muted); font-size: 12px; }
.field-error { display: none; color: var(--danger); font-size: 12px; }
.field-error:not(:empty) { display: block; }
.input-with-icon { position: relative; }
.input-with-icon > i:first-child { position: absolute; z-index: 1; top: 50%; left: 14px; color: #8B829C; transform: translateY(-50%); }
.input-with-icon > input { padding-left: 41px; }
.input-with-icon.password-field > input { padding-right: 45px; }
.password-field button { position: absolute; top: 50%; right: 5px; width: 40px; height: 40px; color: var(--muted); border-radius: 8px; background: transparent; transform: translateY(-50%); cursor: pointer; }
.password-field button:hover { color: var(--purple); background: var(--lavender); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.label-row a { color: var(--purple); font-size: 12px; font-weight: 700; }
.check-control { display: flex; align-items: flex-start; gap: 10px; min-height: 28px; cursor: pointer; }
.check-control input { flex: 0 0 auto; width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--purple); }
.check-control span { color: #514A60; font-size: 13px; font-weight: 500; }
.badge-soft, .status-pill { display: inline-flex; min-height: 26px; align-items: center; gap: 6px; padding: 4px 9px; color: #575064; border: 1px solid #EBE8F0; border-radius: 999px; background: #F8F7FA; font-size: 11px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.badge-warning, .status-warning { color: #8A5400; border-color: #FDE2A7; background: #FFF7E4; }
.badge-purple, .status-info { color: var(--purple-700); border-color: var(--purple-border); background: var(--lavender); }
.badge-white { color: var(--purple-900); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.88); }
.status-success { color: #087A46; border-color: #BBEBD4; background: #EAF9F2; }
.status-danger { color: #AA2624; border-color: #F5C5C4; background: #FFF0EF; }
.app-alert { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid var(--purple-border); border-radius: 11px; color: var(--purple-900); background: var(--lavender); box-shadow: var(--shadow-sm); }
.app-alert-success { color: #08663C; border-color: #B7E8D0; background: #EDFAF4; }
.app-alert-error { color: #9A2522; border-color: #F3C3C1; background: #FFF1F0; }
.app-alert-warning { color: #845100; border-color: #FADFA4; background: #FFF8E8; }
.app-alert button { margin-left: auto; color: inherit; background: transparent; cursor: pointer; }
.flash-stack { display: grid; gap: 8px; padding-top: 16px; }

/* Public shell */
.trust-strip { color: rgba(255,255,255,.78); background: var(--purple-900); font-size: 12px; }
.trust-strip .container { min-height: 34px; }
.trust-strip p { color: inherit; }
.trust-strip i { margin-right: 6px; color: #CAB9F4; }
.trust-strip a { color: rgba(255,255,255,.88); }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid transparent; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.scrolled { border-color: var(--border); box-shadow: 0 8px 26px rgba(36,16,79,.06); }
.site-nav { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-flex; width: 43px; height: 43px; align-items: center; justify-content: center; overflow: hidden; color: var(--white); border: 1px solid rgba(255,255,255,.25); border-radius: 13px; background: var(--purple); font-family: var(--font-display); font-size: 15px; font-weight: 800; box-shadow: 0 8px 20px rgba(91,44,201,.20); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { color: inherit; font-family: var(--font-display); font-size: 16px; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-on-dark { color: var(--white); }
.brand-on-dark:hover { color: var(--white); }
.brand-on-dark .brand-copy small { color: rgba(255,255,255,.58); }
.brand-on-dark .brand-mark { background: rgba(255,255,255,.12); }
.site-menu { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; display: flex; min-height: 44px; align-items: center; color: #4E475C; font-size: 13px; font-weight: 650; }
.nav-links a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: var(--purple); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; color: var(--purple-900); border-radius: 10px; background: var(--lavender); cursor: pointer; }

.hero-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(125deg, #24104F 0%, #39167D 54%, #5B2CC9 100%); }
.hero-section::before { position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 30px 30px; content: ""; }
.promo-banner-shell { padding: clamp(16px, 3vw, 34px) 0 4px; background: linear-gradient(180deg, #f7f5fb, #fff); }
.promo-banner-card { position: relative; display: block; min-height: clamp(240px, 34vw, 430px); overflow: hidden; border-radius: 30px; color: #fff; box-shadow: 0 24px 70px rgba(36,16,79,.2); isolation: isolate; transform: translateZ(0); }
.promo-banner-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 8s cubic-bezier(.2,.7,.2,1); animation: bannerDrift 14s ease-in-out infinite alternate; }
.promo-banner-card:hover img { transform: scale(1.08); }
.promo-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,7,42,.9) 0%, rgba(36,16,79,.62) 48%, rgba(36,16,79,.08) 100%); }
.promo-banner-copy { position: relative; z-index: 1; display: flex; min-height: inherit; max-width: 680px; padding: clamp(28px, 6vw, 72px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.promo-banner-copy small { padding: 7px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.13); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.promo-banner-copy strong { max-width: 16ch; font: 800 clamp(2rem, 5vw, 4.25rem)/1.02 Manrope, sans-serif; }
.promo-banner-copy em { max-width: 54ch; color: rgba(255,255,255,.84); font-style: normal; font-size: clamp(.98rem, 1.7vw, 1.18rem); }
.promo-banner-copy b { margin-top: 8px; padding: 12px 18px; border-radius: 14px; color: var(--primary, #24104F); background: #fff; }
.brand-banner-preview { position: relative; max-width: 760px; margin-bottom: 20px; overflow: hidden; border-radius: 20px; box-shadow: 0 16px 38px rgba(36,16,79,.16); }
.brand-banner-preview img { display: block; width: 100%; aspect-ratio: 8/3; object-fit: cover; }
.brand-banner-preview span { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(18,7,42,.8); font-size: .78rem; font-weight: 800; }
@keyframes bannerDrift { from { transform: scale(1.01) translate3d(-.5%,0,0); } to { transform: scale(1.07) translate3d(.5%,-.5%,0); } }
@media (max-width: 575.98px) { .promo-banner-card { min-height: 330px; border-radius: 22px; } .promo-banner-shade { background: linear-gradient(0deg, rgba(18,7,42,.94), rgba(36,16,79,.2)); } .promo-banner-copy { justify-content: flex-end; padding: 25px; } .promo-banner-copy strong { font-size: 2rem; } }
@media (prefers-reduced-motion: reduce) { .promo-banner-card img { animation: none; transition: none; } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { top: -160px; right: 8%; width: 450px; height: 450px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.hero-orb-two { bottom: -190px; left: 40%; width: 370px; height: 370px; background: rgba(145,100,245,.20); filter: blur(30px); }
.hero-grid { position: relative; display: grid; min-height: 630px; grid-template-columns: minmax(0, 1.14fr) minmax(360px, .78fr); align-items: center; gap: 82px; padding-top: 78px; padding-bottom: 82px; }
.hero-copy h1 { margin: 0; color: var(--white); font-size: clamp(45px, 5.5vw, 72px); line-height: 1.03; letter-spacing: -.045em; }
.hero-copy h1 span { color: #DCCFFF; }
.hero-copy > p { max-width: 640px; margin: 24px 0 0; color: rgba(255,255,255,.74); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-actions .btn { min-height: 50px; padding-inline: 24px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hero-proof p { display: flex; flex-direction: column; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.hero-proof strong { color: var(--white); font-size: 13px; }
.avatar-stack { display: flex; padding-left: 10px; }
.avatar-stack span { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-left: -10px; color: var(--purple-900); border: 2px solid #4B249E; border-radius: 50%; background: #E8DFFF; font-size: 9px; font-weight: 800; }
.avatar-stack span:nth-child(2) { background: #D4F7E8; }
.avatar-stack span:nth-child(3) { background: #FFF0C9; }
.avatar-stack span:last-child { color: var(--white); background: #6941C6; }
.hero-panel { padding: 25px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 30px 80px rgba(15,5,34,.34); }
.hero-panel-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.hero-panel-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--purple); border-radius: 14px; background: var(--lavender); }
.hero-panel-head > div { display: flex; flex-direction: column; }
.hero-panel-head span:not(.hero-panel-icon) { color: var(--muted); font-size: 11px; font-weight: 650; }
.hero-panel-head strong { color: var(--text); font-family: var(--font-display); font-size: 18px; }
.job-search-card { display: grid; gap: 9px; }
.job-search-card > label { color: #433C51; font-size: 12px; font-weight: 700; }
.job-search-card .btn { margin-top: 9px; }
.hero-panel-foot { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; padding-top: 14px; color: var(--muted); border-top: 1px solid var(--border); font-size: 11px; line-height: 1.45; }
.hero-panel-foot i { margin-top: 2px; color: var(--success); }
.impact-strip { position: relative; z-index: 2; border-bottom: 1px solid var(--border); background: var(--white); box-shadow: 0 12px 34px rgba(36,16,79,.04); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact-grid > div { display: flex; flex-direction: column; align-items: center; padding: 27px 20px; text-align: center; }
.impact-grid > div + div { border-left: 1px solid var(--border); }
.impact-grid strong { color: var(--purple-900); font-family: var(--font-display); font-size: 26px; }
.impact-grid span { color: var(--muted); font-size: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { position: relative; display: flex; min-height: 270px; flex-direction: column; padding: 25px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border .2s ease; }
.service-card:hover { color: inherit; border-color: var(--purple-border); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.service-card.featured { color: var(--white); border-color: var(--purple); background: var(--purple); }
.service-icon { display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--purple); border-radius: 14px; background: var(--lavender); font-size: 18px; }
.service-card.featured .service-icon { color: var(--white); background: rgba(255,255,255,.15); }
.service-card h3 { margin-bottom: 10px; font-size: 17px; }
.service-card.featured h3 { color: var(--white); }
.service-card p { margin: 0; font-size: 13px; line-height: 1.65; }
.service-card.featured p { color: rgba(255,255,255,.72); }
.service-card .text-link { margin-top: auto; padding-top: 20px; font-size: 12px; }
.service-card.featured .text-link { color: var(--white); }
.two-column-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.story-visual { position: relative; min-height: 430px; padding: 54px 36px; border-radius: 28px; background: var(--purple-900); }
.story-visual::before { position: absolute; inset: 0; opacity: .15; border-radius: inherit; background-image: linear-gradient(45deg, transparent 48%, rgba(255,255,255,.18) 49%, rgba(255,255,255,.18) 51%, transparent 52%); background-size: 42px 42px; content: ""; }
.story-main-card { position: relative; z-index: 1; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); }
.story-badge { display: inline-flex; gap: 6px; padding: 5px 9px; color: #087847; border-radius: 999px; background: #E9F9F2; font-size: 10px; font-weight: 800; }
.candidate-snapshot { display: flex; align-items: center; gap: 12px; margin: 22px 0; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.candidate-avatar { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--purple); border-radius: 50%; background: var(--lavender); font-weight: 800; }
.candidate-snapshot > div { display: flex; flex: 1; flex-direction: column; }
.candidate-snapshot > div strong { font-size: 14px; }
.candidate-snapshot > div span { color: var(--muted); font-size: 11px; }
.match-score { color: #087847; font-size: 11px; font-weight: 800; }
.snapshot-list { display: grid; gap: 11px; color: #534B62; font-size: 12px; }
.snapshot-list i { width: 20px; color: var(--success); }
.story-float-card { position: absolute; z-index: 2; right: -30px; bottom: 45px; display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-md); }
.story-float-card > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: #8B5700; border-radius: 10px; background: #FFF1CF; }
.story-float-card > div { display: flex; flex-direction: column; }
.story-float-card strong { color: var(--purple-900); font-size: 17px; }
.story-float-card small { color: var(--muted); font-size: 10px; }
.story-dots { position: absolute; top: 24px; right: 26px; width: 70px; height: 70px; opacity: .28; background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 12px 12px; }
.story-copy h2 { max-width: 560px; margin-bottom: 20px; font-size: clamp(30px, 4vw, 47px); }
.story-copy > p { max-width: 560px; font-size: 16px; }
.check-list { display: grid; gap: 18px; margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; }
.check-list li > span { display: flex; flex: 0 0 30px; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--purple); border-radius: 9px; background: var(--white); box-shadow: var(--shadow-sm); }
.check-list h3, .check-list strong { display: block; margin: 0 0 2px; color: var(--text); font-size: 14px; }
.check-list p { margin: 0; font-size: 13px; }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card { display: flex; min-height: 88px; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--border); border-radius: 15px; background: var(--white); transition: border .2s ease, transform .2s ease, box-shadow .2s ease; }
.industry-card:hover { color: var(--text); border-color: var(--purple-border); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.industry-card > span { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--purple); border-radius: 12px; background: var(--lavender); }
.industry-card strong { flex: 1; font-size: 13px; }
.industry-card > i { color: #B0A9BB; font-size: 11px; }
.jobs-preview-section { border-block: 1px solid var(--border); background: var(--page); }
.job-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card { display: flex; min-height: 330px; flex-direction: column; padding: 23px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 19px; }
.company-tile { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--purple); border: 1px solid var(--purple-border); border-radius: 13px; background: var(--lavender); }
.job-flags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.job-company { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 650; }
.job-card h3 { margin-bottom: 16px; font-size: 18px; }
.job-card h3 a:hover { color: var(--purple); }
.job-meta { display: flex; flex-wrap: wrap; gap: 9px 14px; color: var(--muted); font-size: 11px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta i { color: #9A91A9; }
.job-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 23px; border-top: 1px solid var(--border); }
.job-card-bottom strong { font-size: 12px; }

.process-section { color: var(--white); background: var(--purple-900); }
.process-section .section-heading h2 { color: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 50px 0 0; padding: 0; list-style: none; }
.process-steps li { position: relative; padding: 0 28px; text-align: center; }
.process-steps li:not(:last-child)::after { position: absolute; top: 33px; right: -22px; width: 44px; height: 1px; background: rgba(255,255,255,.22); content: ""; }
.process-steps li > span { position: absolute; top: -12px; right: 20px; color: rgba(255,255,255,.10); font-family: var(--font-display); font-size: 48px; font-weight: 800; }
.process-steps li > div > i { display: inline-flex; width: 68px; height: 68px; align-items: center; justify-content: center; color: var(--white); border: 1px solid rgba(255,255,255,.20); border-radius: 18px; background: rgba(255,255,255,.08); font-size: 22px; }
.process-steps h3 { margin: 18px 0 8px; color: var(--white); font-size: 17px; }
.process-steps p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.testimonial-section { background: var(--lavender-2); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { display: flex; min-height: 310px; flex-direction: column; margin: 0; padding: 28px; border: 1px solid var(--purple-border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.quote-mark { color: var(--purple); font-size: 24px; opacity: .7; }
.testimonial-card blockquote { margin: 20px 0 28px; color: #383044; font-family: var(--font-display); font-size: 15px; font-weight: 650; line-height: 1.8; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); }
.testimonial-card figcaption > div { display: flex; flex-direction: column; }
.testimonial-card figcaption strong { font-size: 12px; }
.testimonial-card figcaption span { color: var(--muted); font-size: 10px; }
.avatar { display: inline-flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--white); border-radius: 50%; background: var(--purple); font-size: 11px; font-weight: 800; }
.avatar-soft { color: var(--purple); background: var(--lavender); }
.avatar-xs { width: 28px; height: 28px; font-size: 8px; }
.avatar-lg { width: 66px; height: 66px; font-size: 16px; }

.lead-section { color: var(--white); background: linear-gradient(125deg, var(--purple-900), #3A197C); }
.lead-grid { display: grid; grid-template-columns: 1fr minmax(440px, .82fr); align-items: center; gap: 90px; }
.lead-copy h2 { max-width: 620px; margin-bottom: 20px; color: var(--white); font-size: clamp(32px, 4vw, 50px); }
.lead-copy > p { max-width: 580px; color: rgba(255,255,255,.68); font-size: 16px; }
.lead-points { display: grid; gap: 12px; margin-top: 28px; color: rgba(255,255,255,.82); font-size: 13px; }
.lead-points i { width: 24px; color: #83E3B5; }
.lead-form { display: grid; gap: 17px; padding: 30px; color: var(--text); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-lg); }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.form-heading span { color: var(--purple); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.form-heading h3 { margin: 4px 0 0; font-size: 24px; }
.secure-note { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; color: #087847 !important; border-radius: 999px; background: #EAF9F2; font-size: 9px !important; }
.form-consent { margin: -5px 0 0; text-align: center; font-size: 10px; }
.candidate-cta { padding: 74px 0; background: var(--lavender); }
.candidate-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.candidate-cta h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); }
.candidate-cta p { max-width: 670px; margin: 0; }
.candidate-cta-inner > div:last-child { display: flex; flex: 0 0 auto; gap: 10px; }

.site-footer { padding: 74px 0 0; color: rgba(255,255,255,.68); background: #1B0B3D; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 58px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid h2 { margin-bottom: 9px; color: var(--white); font-family: var(--font-body); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { color: rgba(255,255,255,.64); font-size: 12px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand > p { max-width: 370px; margin: 20px 0; color: rgba(255,255,255,.56); font-size: 12px; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.05); }
.footer-contact { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.footer-contact i { width: 16px; margin-top: 5px; color: #BAA4EC; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 54px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.44); font-size: 11px; }
.footer-bottom > div { display: flex; gap: 18px; }
.whatsapp-float { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 11px 16px; color: var(--white); border-radius: 999px; background: #159D61; box-shadow: 0 14px 30px rgba(21,157,97,.28); font-size: 12px; font-weight: 800; }
.whatsapp-float:hover { color: var(--white); background: #0D824D; transform: translateY(-2px); }
.whatsapp-float i { font-size: 19px; }
.mobile-sticky-cta { display: none; }

/* Inner public pages */
.inner-hero { position: relative; overflow: hidden; padding: 78px 0; color: var(--white); background: var(--purple-900); }
.inner-hero::after { position: absolute; top: -120px; right: -40px; width: 420px; height: 420px; border: 70px solid rgba(255,255,255,.04); border-radius: 50%; content: ""; }
.inner-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 50px; }
.inner-hero h1 { max-width: 800px; margin: 12px 0 15px; color: var(--white); font-size: clamp(40px, 5vw, 61px); }
.inner-hero p { max-width: 690px; margin: 0; color: rgba(255,255,255,.68); font-size: 17px; }
.breadcrumb-app { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--muted); font-size: 11px; }
.breadcrumb-app i { font-size: 8px; }
.breadcrumb-app a { font-weight: 700; }
.breadcrumb-light { color: rgba(255,255,255,.60); }
.breadcrumb-light a:hover { color: var(--white); }
.inner-hero-symbol { display: flex; justify-content: flex-end; }
.inner-hero-symbol span { display: flex; width: 150px; height: 150px; align-items: center; justify-content: center; color: var(--white); border: 1px solid rgba(255,255,255,.16); border-radius: 36px; background: rgba(255,255,255,.08); font-size: 48px; transform: rotate(4deg); }
.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 52px; }
.prose-card > h2 { margin-bottom: 19px; font-size: clamp(30px, 4vw, 45px); }
.lead-text { margin-bottom: 40px; font-size: 17px; line-height: 1.8; }
.feature-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-list-grid > div { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.feature-list-grid > div > span { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 17px; color: var(--purple); border-radius: 12px; background: var(--lavender); }
.feature-list-grid h3 { font-size: 15px; }
.feature-list-grid p { margin: 0; font-size: 12px; }
.content-section { padding: 28px 0; border-top: 1px solid var(--border); }
.content-section h3 { font-size: 22px; }
.content-section p { font-size: 15px; line-height: 1.8; }
.check-list-simple { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list-simple li { display: flex; align-items: flex-start; gap: 10px; color: #4D4659; }
.check-list-simple i { margin-top: 5px; color: var(--success); font-size: 11px; }
.content-aside, .contact-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-cta, .public-form-card { padding: 26px; border: 1px solid var(--purple-border); border-radius: var(--radius-lg); background: var(--lavender); }
.aside-cta > span { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--white); border-radius: 13px; background: var(--purple); }
.aside-cta h2 { font-size: 22px; }
.aside-cta p { font-size: 13px; }
.aside-proof { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.aside-proof strong { margin-bottom: 4px; }
.aside-proof span { color: var(--muted); font-size: 12px; }
.aside-proof i { width: 20px; color: var(--success); }
.public-form-card { display: grid; gap: 16px; background: var(--white); box-shadow: var(--shadow-md); }
.public-form-card h2 { margin: 0; font-size: 24px; }
.public-form-card > p { margin: -8px 0 4px; font-size: 12px; }
.mini-cta { color: var(--white); background: var(--purple); }
.mini-cta-inner { display: flex; min-height: 190px; align-items: center; justify-content: space-between; gap: 50px; }
.mini-cta h2 { margin-bottom: 7px; color: var(--white); font-size: 30px; }
.mini-cta p { margin: 0; color: rgba(255,255,255,.70); }
.mini-cta-inner > div:last-child { display: flex; gap: 10px; }

/* Jobs */
.jobs-hero { padding: 50px 0 64px; color: var(--white); background: linear-gradient(125deg, var(--purple-900), #452094); }
.jobs-hero-copy { max-width: 760px; text-align: center; margin-inline: auto; }
.jobs-hero h1 { margin: 4px 0 15px; color: var(--white); font-size: clamp(38px, 5vw, 58px); }
.jobs-hero-copy p { color: rgba(255,255,255,.70); font-size: 16px; }
.jobs-search-bar { display: grid; max-width: 930px; grid-template-columns: 1fr 1fr 180px; gap: 8px; margin: 34px auto 0; padding: 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }
.jobs-search-bar > div { padding: 1px 13px; }
.jobs-search-bar > div + div { border-left: 1px solid var(--border); }
.jobs-search-bar label { display: block; color: #4A4356; font-size: 10px; font-weight: 800; }
.jobs-search-bar span { display: flex; align-items: center; gap: 8px; }
.jobs-search-bar i { color: #9A92A8; }
.jobs-search-bar input { min-height: 32px; padding: 2px 0; border: 0; box-shadow: none; }
.jobs-search-bar input:focus { box-shadow: none; }
.jobs-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 30px; }
.job-filters { position: sticky; top: 98px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.job-filters form { display: grid; gap: 0; }
.filter-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.filter-head > div { display: flex; align-items: center; gap: 8px; }
.filter-head i { color: var(--purple); }
.filter-head a { color: var(--purple); font-size: 11px; font-weight: 700; }
.filter-group { display: grid; gap: 8px; margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--border); }
.filter-group select { min-height: 43px; font-size: 12px; }
.job-filters .btn { margin-top: 18px; }
.filter-mobile-head { display: none; }
.jobs-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.jobs-results-head h2 { margin: 0; font-size: 27px; }
.jobs-results-head p { margin: 3px 0 0; font-size: 12px; }
.result-kicker { color: var(--purple) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.results-actions { display: flex; align-items: center; gap: 10px; }
.results-actions label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.results-actions select { width: 150px; min-height: 40px; font-size: 11px; }
.filter-trigger { display: none; }
.jobs-list { display: grid; gap: 14px; }
.job-list-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) 175px; gap: 18px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: border .2s ease, box-shadow .2s ease, transform .2s ease; }
.job-list-card:hover { border-color: var(--purple-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-list-logo { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; color: var(--purple); border-radius: 14px; background: var(--lavender); }
.job-list-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.job-list-title-row p { margin: 0 0 2px; font-size: 10px; }
.job-list-title-row h3 { margin: 0 0 10px; font-size: 18px; }
.save-job { display: inline-flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--border); border-radius: 10px; background: var(--white); cursor: pointer; }
.save-job:hover, .save-job.saved { color: var(--purple); border-color: var(--purple-border); background: var(--lavender); }
.job-excerpt { margin: 13px 0; color: var(--muted); font-size: 12px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-list-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; }
.job-list-side strong { font-size: 12px; }
.job-list-side > span { margin: 3px 0 18px; color: var(--muted); font-size: 10px; }
.job-list-side .btn { width: 100%; }
.pagination-app { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination-app a { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: #4E465B; border: 1px solid var(--border); border-radius: 10px; background: var(--white); font-size: 12px; font-weight: 700; }
.pagination-app a.active { color: var(--white); border-color: var(--purple); background: var(--purple); }
.pagination-app a.disabled { opacity: .4; pointer-events: none; }
.empty-state { display: flex; min-height: 360px; flex-direction: column; align-items: center; justify-content: center; padding: 44px; text-align: center; }
.empty-state > span { display: flex; width: 66px; height: 66px; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--purple); border-radius: 20px; background: var(--lavender); font-size: 24px; }
.empty-state h2 { margin-bottom: 8px; font-size: 24px; }
.empty-state p { max-width: 480px; margin: 0 auto 22px; }
.empty-state > div { display: flex; gap: 8px; }
.job-alert-cta { padding: 37px 0; color: var(--white); background: var(--purple-900); }
.job-alert-cta > .container, .job-alert-cta .container > div { display: flex; align-items: center; }
.job-alert-cta > .container { justify-content: space-between; gap: 35px; }
.job-alert-cta .container > div { gap: 15px; }
.job-alert-cta .container > div > span { display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255,255,255,.10); }
.job-alert-cta h2 { margin: 0 0 3px; color: var(--white); font-size: 21px; }
.job-alert-cta p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }

.job-detail-hero { padding: 44px 0 58px; color: var(--white); background: var(--purple-900); }
.job-detail-heading { display: flex; align-items: center; gap: 23px; }
.job-detail-logo { display: flex; width: 86px; height: 86px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--purple); border: 4px solid rgba(255,255,255,.12); border-radius: 22px; background: var(--white); font-size: 26px; }
.job-detail-heading p { margin: 6px 0 2px; color: rgba(255,255,255,.62); font-size: 12px; }
.job-detail-heading h1 { margin-bottom: 12px; color: var(--white); font-size: clamp(31px, 4vw, 48px); }
.job-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.70); font-size: 12px; }
.job-detail-meta span { display: flex; align-items: center; gap: 7px; }
.job-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 36px; }
.job-detail-content { display: grid; gap: 0; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.job-detail-content > section { padding: 27px 0; border-bottom: 1px solid var(--border); }
.job-detail-content > section:first-child { padding-top: 0; }
.job-detail-content h2 { font-size: 21px; }
.job-detail-content p { line-height: 1.8; }
.benefit-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.benefit-chips span { padding: 9px 12px; color: #3F3850; border: 1px solid var(--border); border-radius: 10px; font-size: 12px; }
.benefit-chips i { margin-right: 6px; color: var(--success); }
.job-safety-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 18px; border: 1px solid #BEEBD7; border-radius: 14px; background: #F0FAF6; }
.job-safety-note > span { display: flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; color: #087847; border-radius: 11px; background: #DDF6EA; }
.job-safety-note h2 { margin-bottom: 4px; font-size: 15px; }
.job-safety-note p { margin: 0; font-size: 12px; }
.job-apply-card { position: sticky; top: 100px; display: grid; gap: 15px; padding: 25px; border: 1px solid var(--purple-border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); }
.apply-card-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.job-summary-list { display: grid; gap: 0; margin: 0; }
.job-summary-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.job-summary-list dt, .job-summary-list dd { margin: 0; font-size: 11px; }
.job-summary-list dt { color: var(--muted); }
.job-summary-list dt i { width: 20px; color: var(--purple); }
.job-summary-list dd { color: var(--text); font-weight: 700; text-align: right; }
.apply-privacy { margin: -4px 0 0; font-size: 10px; text-align: center; }
.share-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.share-row > div { display: flex; gap: 5px; }
.share-row a, .share-row button { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: var(--purple); border-radius: 9px; background: var(--lavender); cursor: pointer; }

/* Authentication */
.auth-shell { min-height: 100vh; background: var(--white); }
.auth-grid { display: grid; min-height: 100vh; grid-template-columns: minmax(390px, .9fr) 1.2fr; }
.auth-story { position: relative; display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 46px 52px; color: var(--white); background: linear-gradient(145deg, var(--purple-900), #4C219F); }
.auth-story::before { position: absolute; top: 17%; right: -160px; width: 430px; height: 430px; border: 65px solid rgba(255,255,255,.05); border-radius: 50%; content: ""; }
.auth-story::after { position: absolute; bottom: -120px; left: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.05); content: ""; }
.auth-story > * { position: relative; z-index: 1; }
.auth-story-copy { max-width: 500px; }
.auth-story-copy h1 { margin-bottom: 20px; color: var(--white); font-size: clamp(38px, 4.3vw, 57px); }
.auth-story-copy > p { color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.8; }
.auth-benefits { display: grid; gap: 12px; margin: 27px 0 0; padding: 0; color: rgba(255,255,255,.82); font-size: 13px; list-style: none; }
.auth-benefits i { margin-right: 7px; color: #91E3BB; }
.auth-trust { display: flex; align-items: center; gap: 8px; margin: 0; color: rgba(255,255,255,.52); font-size: 10px; }
.auth-panel { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 50px 30px; }
.auth-panel-inner { width: min(100%, 510px); }
.auth-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; color: var(--muted); font-size: 12px; font-weight: 650; }
.auth-form-head { margin-bottom: 28px; }
.auth-form-head h1 { margin: 1px 0 9px; font-size: clamp(30px, 3.5vw, 40px); }
.auth-form-head p { margin: 0; font-size: 13px; }
.auth-form { display: grid; gap: 17px; }
.auth-remember, .auth-consent { margin: 0; }
.auth-consent a { color: var(--purple); text-decoration: underline; }
.auth-divider { position: relative; margin: 24px 0 18px; text-align: center; }
.auth-divider::before { position: absolute; z-index: 0; top: 50%; right: 0; left: 0; height: 1px; background: var(--border); content: ""; }
.auth-divider span { position: relative; z-index: 1; padding: 0 12px; color: var(--muted); background: var(--white); font-size: 10px; }
.auth-role-links { display: flex; justify-content: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.auth-role-links a { color: var(--purple); font-weight: 700; }
.auth-security { margin: 24px 0 0; color: #8A8495; font-size: 10px; text-align: center; }
.auth-security i { margin-right: 5px; color: var(--success); }
.role-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.role-selector label { cursor: pointer; }
.role-selector input { position: absolute; opacity: 0; pointer-events: none; }
.role-selector label > span { display: flex; min-height: 90px; flex-direction: column; align-items: center; justify-content: center; padding: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 12px; text-align: center; transition: border .18s ease, background .18s ease, color .18s ease; }
.role-selector label.active > span, .role-selector input:focus-visible + span { color: var(--purple); border-color: var(--purple); background: var(--lavender); }
.role-selector i { margin-bottom: 6px; font-size: 16px; }
.role-selector strong { color: inherit; font-size: 11px; }
.role-selector small { font-size: 9px; }
.registration-form { gap: 15px; }
.upload-field { margin-top: 2px; }
.file-drop { position: relative; display: flex; min-height: 92px; align-items: center; gap: 13px; padding: 14px; border: 1px dashed #BEB6CC; border-radius: 12px; background: #FBFAFD; cursor: pointer; transition: border .18s ease, background .18s ease; }
.file-drop:hover, .file-drop.dragover { border-color: var(--purple); background: var(--lavender); }
.file-drop > i { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--purple); border-radius: 11px; background: var(--lavender); }
.file-drop > span { display: flex; flex: 1; flex-direction: column; }
.file-drop strong { font-size: 12px; }
.file-drop small { color: var(--muted); font-size: 10px; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop em { max-width: 110px; overflow: hidden; color: var(--muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.draft-status { display: inline-flex; align-items: center; gap: 6px; color: #087847; font-size: 10px; opacity: 0; transition: opacity .2s ease; }
.draft-status.visible { opacity: 1; }
.auth-switch, .auth-back-login { display: block; margin: 22px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a, .auth-back-login { color: var(--purple); font-weight: 700; }
.auth-icon-large { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--purple); border-radius: 16px; background: var(--lavender); font-size: 21px; }
.success-panel { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; padding: 18px; border: 1px solid #BDE9D4; border-radius: 13px; background: #EFFAF5; }
.success-panel > span { color: var(--success); font-size: 20px; }
.success-panel p { margin: 0; font-size: 12px; }
.auth-help-box { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 16px; border-radius: 12px; background: var(--page); }
.auth-help-box > i { margin-top: 3px; color: var(--purple); }
.auth-help-box strong { font-size: 11px; }
.auth-help-box p { margin: 2px 0; font-size: 10px; }
.auth-help-box a { color: var(--purple); font-size: 10px; font-weight: 700; }
.auth-mobile-footer { display: none; }

/* Error and print */
.error-page { display: grid; width: min(980px, calc(100% - 40px)); min-height: 64vh; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; margin: 0 auto; padding: 80px 0; }
.error-visual { position: relative; display: flex; min-height: 300px; align-items: center; justify-content: center; color: var(--purple); border-radius: 30px; background: var(--lavender); }
.error-visual span { color: rgba(91,44,201,.12); font-family: var(--font-display); font-size: 110px; font-weight: 800; }
.error-visual i { position: absolute; font-size: 44px; }
.error-copy h1 { font-size: clamp(34px, 4vw, 48px); }
.error-copy > p { max-width: 540px; font-size: 15px; }
.error-actions { display: flex; gap: 9px; margin: 25px 0 16px; }
.error-copy small { color: var(--muted); }
.error-copy small a { color: var(--purple); font-weight: 700; }
.error-search { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 5px; margin-top: 22px; padding: 6px 6px 6px 14px; border: 1px solid var(--border); border-radius: 13px; }
.error-search i { color: var(--muted); }
.error-search input { border: 0; box-shadow: none; }
.print-shell { color: #222; background: #ECECEC; }
.print-actions { position: sticky; z-index: 5; top: 0; display: flex; justify-content: center; gap: 8px; padding: 14px; background: rgba(255,255,255,.95); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.print-page { width: 210mm; min-height: 297mm; margin: 24px auto; padding: 18mm; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.invoice-logo { display: block; max-width: 220px; max-height: 64px; margin-bottom: 10px; object-fit: contain; }
.logo-preview { display: inline-flex; align-items: center; width: 96px; height: 96px; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--page); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.js .reveal-on-scroll { opacity: 0; transform: translateY(18px); }
.js .reveal-on-scroll.is-visible { animation: fadeUp .55s ease forwards; }

/* Dashboard shell */
.dashboard-shell { min-height: 100vh; background: var(--page); }
.dashboard-document, .dashboard-shell { max-width: 100%; overflow-x: hidden; }
.dashboard-app { display: flex; width: 100%; max-width: 100vw; min-height: 100vh; overflow-x: hidden; }
.app-sidebar { position: fixed; z-index: 220; inset: 0 auto 0 0; display: flex; width: var(--sidebar-width); flex-direction: column; color: rgba(255,255,255,.74); background: var(--purple-900); transition: transform .25s ease; }
.sidebar-head { display: flex; min-height: var(--topbar-height); align-items: center; justify-content: space-between; padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-head .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 12px; }
.sidebar-head .brand-copy strong { font-size: 14px; }
.sidebar-head .brand-copy small { font-size: 8px; }
.sidebar-close { display: none; width: 40px; height: 40px; color: var(--white); border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 17px 13px 28px; scrollbar-color: rgba(255,255,255,.18) transparent; scrollbar-width: thin; }
.sidebar-group + .sidebar-group { margin-top: 18px; }
.sidebar-label { margin: 0 10px 7px; color: rgba(255,255,255,.36); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sidebar-link { display: flex; min-height: 42px; align-items: center; gap: 11px; margin: 3px 0; padding: 9px 11px; color: rgba(255,255,255,.65); border-radius: 10px; font-size: 12px; font-weight: 600; transition: color .18s ease, background .18s ease; }
.sidebar-link i { width: 18px; color: rgba(255,255,255,.48); text-align: center; }
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.sidebar-link:hover i { color: #CCBBF7; }
.sidebar-link.active { color: var(--white); background: var(--purple); box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.sidebar-link.active i { color: var(--white); }
.sidebar-support { display: flex; align-items: flex-start; gap: 10px; margin: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.10); border-radius: 13px; background: rgba(255,255,255,.06); }
.support-icon { display: flex; width: 32px; height: 32px; flex: 0 0 auto; align-items: center; justify-content: center; color: #D2C1F8; border-radius: 9px; background: rgba(255,255,255,.08); }
.sidebar-support strong { color: var(--white); font-size: 10px; }
.sidebar-support p { margin: 1px 0 4px; color: rgba(255,255,255,.48); font-size: 8px; line-height: 1.45; }
.sidebar-support a { color: #DCCFFF; font-size: 9px; font-weight: 700; }
.dashboard-stage { width: calc(100% - var(--sidebar-width)); max-width: 100%; min-width: 0; margin-left: var(--sidebar-width); }
.app-topbar { position: sticky; z-index: 190; top: 0; display: flex; min-height: var(--topbar-height); align-items: center; justify-content: space-between; gap: 24px; padding: 10px 26px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 9px; }
.sidebar-trigger { display: none !important; }
.icon-button { position: relative; display: inline-flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; color: #6D6678; border: 1px solid var(--border); border-radius: 10px; background: var(--white); cursor: pointer; transition: color .18s ease, border .18s ease, background .18s ease; }
.icon-button:hover { color: var(--purple); border-color: var(--purple-border); background: var(--lavender); }
.command-trigger { display: flex; width: min(37vw, 440px); min-height: 42px; align-items: center; gap: 10px; padding: 7px 9px 7px 13px; color: #908A9B; border: 1px solid var(--border); border-radius: 11px; background: #FAF9FC; cursor: pointer; }
.command-trigger span { flex: 1; overflow: hidden; font-size: 11px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
kbd { display: inline-flex; min-width: 25px; min-height: 22px; align-items: center; justify-content: center; padding: 2px 6px; color: #716A7C; border: 1px solid #DBD7E2; border-bottom-width: 2px; border-radius: 6px; background: var(--white); box-shadow: none; font-family: var(--font-body); font-size: 9px; font-weight: 700; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 1px solid var(--white); border-radius: 50%; background: var(--danger); }
.notification-count { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; padding: 0 5px; color: var(--white); border-radius: 999px; background: var(--danger); font-size: 8px; font-weight: 800; }
.notification-menu, .user-menu, .column-menu, .row-menu { position: relative; }
.notification-menu > summary, .user-menu > summary, .column-menu > summary, .row-menu > summary { list-style: none; cursor: pointer; }
.notification-menu > summary::-webkit-details-marker, .user-menu > summary::-webkit-details-marker, .column-menu > summary::-webkit-details-marker, .row-menu > summary::-webkit-details-marker { display: none; }
.notification-menu > summary .notification-count { position: absolute; top: -5px; right: -5px; }
.notification-popover, .user-popover, .column-popover, .row-popover { position: absolute; z-index: 250; top: calc(100% + 10px); right: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-md); }
.notification-popover { width: 350px; }
.popover-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-bottom: 1px solid var(--border); }
.popover-head strong { font-size: 12px; }
.popover-head a { color: var(--purple); font-size: 10px; font-weight: 700; }
.notice-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: flex-start; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.notice-item:hover { color: inherit; background: var(--lavender-2); }
.notice-icon { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: var(--purple); border-radius: 10px; background: var(--lavender); }
.notice-item > span:nth-child(2) { display: flex; flex-direction: column; }
.notice-item strong { font-size: 10px; }
.notice-item small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.notice-item time { color: #A39CAB; font-size: 8px; }
.user-menu > summary { display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 4px 5px; border-radius: 11px; }
.user-menu > summary:hover { background: var(--lavender-2); }
.user-copy { display: flex; min-width: 95px; flex-direction: column; line-height: 1.2; }
.user-copy strong { max-width: 130px; overflow: hidden; color: var(--text); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.user-copy small { color: var(--muted); font-size: 8px; }
.user-menu > summary > i { color: #9992A3; font-size: 8px; }
.user-popover { display: grid; width: 220px; padding: 8px; }
.user-popover > div { display: flex; flex-direction: column; padding: 10px; border-bottom: 1px solid var(--border); }
.user-popover > div strong { font-size: 11px; }
.user-popover > div small { color: var(--muted); font-size: 9px; }
.user-popover a, .user-popover button { display: flex; width: 100%; min-height: 38px; align-items: center; gap: 9px; padding: 8px 10px; color: #514A5D; border-radius: 8px; background: transparent; font-size: 10px; text-align: left; cursor: pointer; }
.user-popover a:hover, .user-popover button:hover { color: var(--purple); background: var(--lavender); }
.dashboard-main { width: min(1500px, 100%); margin: 0 auto; padding: 28px 30px 60px; }
.dashboard-flashes { display: grid; gap: 8px; padding: 16px 30px 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.page-head h1 { margin: 0; font-size: clamp(26px, 3vw, 35px); }
.page-head p { max-width: 700px; margin: 6px 0 0; font-size: 12px; }
.page-head .page-kicker { margin-bottom: 6px; }
.page-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.page-actions form { margin: 0; }
.page-breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: var(--muted); font-size: 9px; }
.page-breadcrumb i { font-size: 7px; }
.page-breadcrumb a { font-weight: 700; }
.date-filter { position: relative; }
.date-filter i { position: absolute; z-index: 1; top: 50%; left: 12px; color: var(--muted); transform: translateY(-50%); }
.date-filter select { width: 140px; min-height: 46px; padding-left: 36px; font-size: 10px; }
.panel-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: 0 4px 14px rgba(36,16,79,.035); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 21px 22px; border-bottom: 1px solid var(--border); }
.panel-head .panel-kicker { margin-bottom: 3px; font-size: 9px; }
.panel-head h2 { margin: 0; font-size: 17px; }
.panel-head p { margin: 3px 0 0; font-size: 10px; }
.panel-head > a { color: var(--purple); font-size: 10px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.metric-card { display: flex; min-height: 150px; flex-direction: column; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: 0 4px 14px rgba(36,16,79,.035); }
.metric-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 13px; }
.metric-top > a { color: #B2ACBA; font-size: 9px; }
.metric-icon { display: inline-flex; width: 39px; height: 39px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 11px; }
.tone-purple { color: var(--purple) !important; background: var(--lavender) !important; }
.tone-blue { color: #1E67C9 !important; background: #EDF5FF !important; }
.tone-orange { color: #9A6100 !important; background: #FFF5DF !important; }
.tone-green { color: #087847 !important; background: #EAF9F2 !important; }
.tone-pink { color: #B43273 !important; background: #FFF0F7 !important; }
.tone-indigo { color: #5147B6 !important; background: #F0EFFF !important; }
.tone-red, .tone-danger { color: #B82C29 !important; background: #FFF0EF !important; }
.metric-card > strong { color: var(--text); font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.metric-card > span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.metric-card > small { margin-top: auto; padding-top: 10px; color: #777080; font-size: 8px; }
.metric-card > small i { margin-right: 5px; color: var(--success); }
.dashboard-grid-main { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 18px; margin-bottom: 18px; }
.pipeline-chart { display: grid; gap: 14px; padding: 24px; }
.pipeline-row { display: grid; grid-template-columns: 85px minmax(0, 1fr) 35px; align-items: center; gap: 12px; }
.pipeline-row > span { color: #5D5669; font-size: 10px; }
.pipeline-row > strong { font-size: 10px; text-align: right; }
.pipeline-track { height: 9px; overflow: hidden; border-radius: 999px; background: #EFEAF8; }
.pipeline-track span { display: block; height: 100%; border-radius: inherit; background: var(--purple); }
.pipeline-row:nth-child(2) .pipeline-track span { opacity: .88; }
.pipeline-row:nth-child(3) .pipeline-track span { opacity: .76; }
.pipeline-row:nth-child(4) .pipeline-track span { opacity: .64; }
.pipeline-row:nth-child(5) .pipeline-track span { opacity: .52; }
.pipeline-row:nth-child(6) .pipeline-track span { background: var(--success); }
.pipeline-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.pipeline-summary > div { display: flex; flex-direction: column; padding: 16px 22px; }
.pipeline-summary > div + div { border-left: 1px solid var(--border); }
.pipeline-summary strong { font-size: 14px; }
.pipeline-summary span { color: var(--muted); font-size: 8px; }
.attention-panel { display: flex; flex-direction: column; }
.attention-list { display: grid; }
.attention-item { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.attention-item:hover { color: inherit; background: var(--lavender-2); }
.attention-item > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; }
.attention-item strong { font-size: 10px; }
.attention-item p { margin: 2px 0 0; font-size: 8px; line-height: 1.4; }
.attention-item > i { color: #AAA4B2; font-size: 8px; }
.attention-panel > .btn { margin: auto 17px 17px; }
.table-panel { margin-bottom: 18px; overflow: visible; }
.table-responsive { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.app-table { width: 100%; border-collapse: collapse; }
.app-table th { padding: 11px 14px; color: #797280; border-bottom: 1px solid var(--border); background: #FBFAFD; font-size: 8px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.app-table td { padding: 13px 14px; color: #514A5D; border-bottom: 1px solid #F0EEF3; font-size: 10px; vertical-align: middle; }
.app-table tbody tr:last-child td { border-bottom: 0; }
.app-table tbody tr:hover { background: #FCFBFE; }
.table-primary { display: block; color: var(--text); font-weight: 750; }
.table-primary:hover { color: var(--purple); }
.app-table td > small { display: block; color: #97919F; font-size: 8px; }
.person-cell { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.mini-progress { width: 82px; height: 6px; overflow: hidden; border-radius: 999px; background: #ECE9F1; }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--purple); }
.app-table td .mini-progress { display: inline-block; margin-right: 5px; }
.app-table .icon-button { width: 32px; height: 32px; }
.dashboard-grid-lower { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.interview-list { padding: 6px 22px 16px; }
.interview-item { display: grid; grid-template-columns: 46px 11px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 68px; border-bottom: 1px solid var(--border); }
.interview-item:last-child { border-bottom: 0; }
.interview-item time { font-size: 9px; font-weight: 750; }
.timeline-dot { width: 8px; height: 8px; border: 2px solid #DCCFFF; border-radius: 50%; background: var(--purple); }
.interview-item strong { font-size: 10px; }
.interview-item p { margin: 1px 0 0; font-size: 8px; }
.donut-wrap { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 29px 22px; }
.css-donut, .score-ring, .audit-score-ring { --percent: 74; position: relative; display: grid; width: 130px; height: 130px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--success) calc(var(--percent) * 1%), #ECE9F1 0); }
.css-donut::before, .score-ring::before, .audit-score-ring::before { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--white); content: ""; }
.css-donut > span, .score-ring > span, .audit-score-ring > span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.css-donut strong { font-size: 21px; }
.css-donut small { color: var(--muted); font-size: 8px; }
.donut-legend { display: grid; gap: 9px; color: var(--muted); font-size: 9px; }
.donut-legend span { display: flex; align-items: center; gap: 5px; }
.donut-legend b { color: var(--text); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.success { background: var(--success); }
.legend-dot.purple { background: var(--purple); }
.legend-dot.warning { background: var(--warning); }
.sidebar-backdrop { display: none; }
.portal-bottom-nav { display: none; }

/* Command modal */
.command-modal { width: min(640px, calc(100% - 28px)); max-height: min(680px, calc(100vh - 40px)); padding: 0; overflow: hidden; color: var(--text); border: 1px solid var(--purple-border); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); }
.command-modal::backdrop { background: rgba(20,9,44,.54); backdrop-filter: blur(3px); }
.command-head { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--border); }
.command-head > i { color: var(--purple); }
.command-head input { border: 0; box-shadow: none; font-size: 13px; }
.command-head input:focus { box-shadow: none; }
.command-head button { padding: 5px 7px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; background: var(--page); font-size: 8px; cursor: pointer; }
.command-body { max-height: 510px; overflow-y: auto; padding: 12px; }
.command-section-label { margin: 2px 8px 8px; color: #948D9E; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.command-result { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 11px; border-radius: 10px; }
.command-result:hover, .command-result.active { color: var(--text); background: var(--lavender); }
.command-result > span { display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 650; }
.command-result > span i { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--purple); border-radius: 8px; background: var(--white); }
.command-result small { color: var(--muted); font-size: 8px; }
.command-empty { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.command-empty i { margin-bottom: 13px; color: #B7B0C0; font-size: 28px; }
.command-empty strong { color: var(--text); font-size: 13px; }
.command-empty span { font-size: 10px; }
.command-foot { display: flex; gap: 15px; padding: 10px 17px; color: var(--muted); border-top: 1px solid var(--border); background: #FBFAFD; font-size: 8px; }
.command-foot span { display: flex; align-items: center; gap: 4px; }
.command-foot kbd { min-width: 20px; min-height: 18px; padding: 1px 4px; font-size: 7px; }

/* Generic data tables */
.summary-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.summary-strip > div { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.summary-strip p { display: flex; flex-direction: column; margin: 0; }
.summary-strip strong { color: var(--text); font-size: 18px; }
.summary-strip p span { font-size: 9px; }
.data-panel { overflow: visible; }
.data-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px; border-bottom: 1px solid var(--border); }
.data-search { position: relative; width: min(100%, 350px); }
.data-search > i { position: absolute; z-index: 1; top: 50%; left: 13px; color: #97909F; transform: translateY(-50%); }
.data-search input { min-height: 42px; padding-left: 38px; padding-right: 35px; background: #FBFAFD; font-size: 10px; }
.data-search kbd { position: absolute; top: 50%; right: 9px; min-width: 20px; min-height: 20px; transform: translateY(-50%); }
.data-toolbar-actions { display: flex; align-items: center; gap: 7px; }
.status-filter { position: relative; }
.status-filter i { position: absolute; z-index: 1; top: 50%; left: 12px; color: var(--muted); font-size: 10px; transform: translateY(-50%); }
.status-filter select { width: 138px; min-height: 42px; padding-left: 32px; font-size: 9px; }
.data-toolbar .btn { min-height: 42px; padding: 8px 12px; font-size: 9px; }
.column-popover { display: grid; width: 210px; gap: 7px; padding: 13px; }
.column-popover strong { margin-bottom: 2px; font-size: 10px; }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 16px; color: var(--purple-900); border-bottom: 1px solid var(--purple-border); background: var(--lavender); font-size: 10px; }
.bulk-bar > div { display: flex; gap: 6px; }
.bulk-bar .btn { min-height: 34px; padding: 6px 10px; font-size: 8px; }
.data-table th button { display: flex; align-items: center; gap: 6px; padding: 0; color: inherit; background: transparent; font: inherit; text-transform: inherit; cursor: pointer; }
.data-table th button i { color: #BBB5C1; font-size: 7px; }
.select-cell { width: 36px; text-align: center !important; }
.select-cell input { width: 15px; min-height: 15px; accent-color: var(--purple); }
.actions-cell { width: 44px; text-align: right !important; }
.row-menu { display: inline-block; }
.row-popover { display: grid; width: 145px; padding: 6px; text-align: left; }
.row-popover a { display: flex; min-height: 34px; align-items: center; gap: 8px; padding: 7px 9px; color: #544D60; border-radius: 7px; font-size: 9px; }
.row-popover a:hover { color: var(--purple); background: var(--lavender); }
.data-empty { border-top: 1px solid var(--border); }
.data-footer { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--border); }
.data-footer p { margin: 0; font-size: 9px; }

/* Smart forms */
.smart-form { display: block; }
.form-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0 0 18px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--white); list-style: none; }
.form-progress li { position: relative; display: flex; min-height: 70px; align-items: center; gap: 10px; padding: 14px 18px; }
.form-progress li:not(:last-child)::after { position: absolute; top: 0; right: 0; bottom: 0; width: 1px; background: var(--border); content: ""; }
.form-progress li > span { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: #857E8E; border-radius: 9px; background: #F1EFF4; font-size: 10px; font-weight: 800; }
.form-progress li > div { display: flex; flex-direction: column; }
.form-progress strong { font-size: 10px; }
.form-progress small { color: var(--muted); font-size: 8px; }
.form-progress li.active > span { color: var(--white); background: var(--purple); }
.form-progress li.completed > span { color: #087847; background: #E7F8F0; }
.form-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 18px; }
.form-main { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.form-section { padding: 25px; }
.form-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 23px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.form-section-head .panel-kicker { margin-bottom: 3px; font-size: 8px; }
.form-section-head h2 { margin: 0; font-size: 18px; }
.form-section .field-grid { gap: 19px; }
.form-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 24px; border-top: 1px solid var(--border); background: #FCFBFD; }
.form-action-bar > span { flex: 1; }
.form-aside { display: grid; gap: 13px; }
.form-help-card, .form-checklist { padding: 19px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.form-help-card > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 14px; color: #956000; border-radius: 10px; background: #FFF4DC; }
.form-help-card h2 { font-size: 14px; }
.form-help-card p { margin: 0; font-size: 10px; }
.form-checklist { display: grid; gap: 8px; }
.form-checklist strong { margin-bottom: 4px; font-size: 10px; }
.form-checklist span { color: var(--muted); font-size: 9px; }
.form-checklist i { width: 18px; color: var(--success); }
.switch-control { display: flex; min-height: 54px; align-items: center; gap: 11px; cursor: pointer; }
.switch-control input { position: absolute; opacity: 0; }
.switch-control > span { position: relative; width: 40px; height: 22px; flex: 0 0 auto; border-radius: 999px; background: #C8C3CE; transition: background .2s ease; }
.switch-control > span::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,.15); content: ""; transition: transform .2s ease; }
.switch-control input:checked + span { background: var(--purple); }
.switch-control input:checked + span::after { transform: translateX(18px); }
.switch-control > div { display: flex; flex-direction: column; }
.switch-control strong { font-size: 11px; }
.switch-control small { color: var(--muted); font-size: 9px; }

/* Recruitment workspace */
.workspace-head { margin-bottom: 18px; }
.workspace-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 14px; }
.workspace-summary > div { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
.workspace-summary > div > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; }
.workspace-summary p { display: flex; flex-direction: column; margin: 0; }
.workspace-summary strong { color: var(--text); font-size: 17px; }
.workspace-summary p span { font-size: 8px; }
.workspace-panel { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #F2EFF7; }
.workspace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px; border-bottom: 1px solid var(--border); background: var(--white); }
.workspace-toolbar > div:last-child { display: flex; align-items: center; gap: 7px; }
.workspace-toolbar select { width: 160px; min-height: 42px; font-size: 9px; }
.workspace-toolbar .btn { min-height: 42px; font-size: 9px; }
.kanban-board { display: flex; gap: 11px; padding: 13px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #C8C1D4 transparent; }
.kanban-lane { width: 272px; min-width: 272px; scroll-snap-align: start; }
.kanban-lane > header { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 4px 5px 9px; }
.kanban-lane > header > div { display: flex; align-items: center; gap: 7px; }
.kanban-lane h2 { margin: 0; font-family: var(--font-body); font-size: 10px; letter-spacing: 0; }
.lane-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #9C95A5; }
.lane-slate { background: #8D8796; }
.lane-blue { background: var(--blue); }
.lane-purple { background: var(--purple); }
.lane-orange { background: var(--warning); }
.lane-green, .lane-success { background: var(--success); }
.lane-count { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; color: #746D7E; border-radius: 999px; background: #E5E1EB; font-size: 8px; font-weight: 800; }
.kanban-lane > header .icon-button { width: 30px; height: 30px; border-color: transparent; background: transparent; }
.kanban-cards { display: grid; align-content: start; gap: 9px; min-height: 480px; padding: 2px; border-radius: 12px; transition: background .18s ease; }
.kanban-cards.drag-over { background: rgba(91,44,201,.08); }
.candidate-card { display: grid; gap: 12px; padding: 14px; border: 1px solid #E0DCE6; border-radius: 13px; background: var(--white); box-shadow: 0 3px 10px rgba(36,16,79,.045); cursor: grab; transition: border .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease; }
.candidate-card:hover { border-color: var(--purple-border); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.candidate-card.dragging { opacity: .5; cursor: grabbing; }
.candidate-card-head { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 9px; }
.candidate-card-head .avatar { width: 36px; height: 36px; font-size: 9px; }
.candidate-card-head h3 { margin: 0; font-size: 11px; }
.candidate-card-head p { margin: 1px 0 0; font-size: 8px; }
.candidate-card-head .icon-button { width: 29px; height: 29px; }
.candidate-card-meta { display: flex; gap: 12px; color: var(--muted); font-size: 8px; }
.candidate-card-meta span { display: flex; align-items: center; gap: 5px; }
.candidate-card-meta i { color: #A19AAA; }
.candidate-requirement { display: flex; align-items: flex-start; gap: 6px; padding: 8px; color: #5A5267; border-radius: 8px; background: #F8F7FA; font-size: 8px; line-height: 1.45; }
.candidate-requirement i { margin-top: 2px; color: var(--purple); }
.match-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; color: var(--muted); font-size: 7px; }
.match-row > div { height: 5px; overflow: hidden; border-radius: 999px; background: #EAE6EF; }
.match-row > div span { display: block; height: 100%; border-radius: inherit; background: var(--success); }
.match-row strong { color: #087847; font-size: 8px; }
.candidate-flag { display: flex; align-items: center; gap: 5px; padding: 6px 8px; color: #865300; border-radius: 7px; background: #FFF5DF; font-size: 8px; font-weight: 650; }
.candidate-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--border); }
.candidate-card-foot > span { color: #A09AA7; font-size: 7px; }
.candidate-card-foot > div { display: flex; gap: 4px; }
.candidate-card-foot a, .candidate-card-foot button { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: #6D6579; border: 1px solid var(--border); border-radius: 8px; background: var(--white); cursor: pointer; }
.candidate-card-foot a:hover, .candidate-card-foot button:hover { color: var(--purple); border-color: var(--purple-border); background: var(--lavender); }
.lane-empty { display: none; min-height: 90px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #A29BAA; border: 1px dashed #C8C2D0; border-radius: 12px; font-size: 8px; }
.kanban-cards:empty .lane-empty, .kanban-cards.only-empty .lane-empty { display: flex; }
.candidate-drawer { width: min(430px, 100%); max-width: 100%; height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: 26px; border: 0; border-left: 1px solid var(--border); background: var(--white); box-shadow: -20px 0 60px rgba(36,16,79,.18); }
.candidate-drawer::backdrop { background: rgba(20,9,44,.42); }
.drawer-close-form { display: flex; justify-content: flex-end; }
.drawer-close-form button { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--muted); border-radius: 10px; background: var(--page); cursor: pointer; }
.drawer-profile { display: flex; align-items: center; gap: 15px; margin: 16px 0 20px; }
.drawer-profile h2 { margin: 6px 0 1px; font-size: 23px; }
.drawer-profile p { margin: 0; font-size: 11px; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.drawer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 24px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--border); }
.drawer-facts > div { padding: 13px; background: var(--white); }
.drawer-facts dt { color: var(--muted); font-size: 8px; }
.drawer-facts dd { margin: 2px 0 0; font-size: 10px; font-weight: 700; }
.drawer-stage-form { display: grid; gap: 9px; padding: 18px; border-radius: 13px; background: var(--lavender-2); }
.drawer-stage-form label { font-size: 9px; font-weight: 750; }
.drawer-stage-form select, .drawer-stage-form textarea { font-size: 10px; }
.drawer-full-link { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--purple); font-size: 10px; font-weight: 750; }

/* Full command center */
.command-shortcut-note { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.command-shortcut-note small { margin-left: 5px; color: var(--muted); font-size: 8px; }
.command-page-search { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 6px; margin-bottom: 22px; padding: 9px 13px 9px 17px; border: 1px solid var(--purple-border); border-radius: 15px; background: var(--white); box-shadow: 0 8px 28px rgba(91,44,201,.08); }
.command-page-search > i { color: var(--purple); }
.command-page-search input { min-height: 44px; padding: 4px; border: 0; box-shadow: none; font-size: 13px; }
.command-page-search input:focus { box-shadow: none; }
.command-page-search > span { color: #9B94A3; font-size: 8px; }
.command-actions-section { margin-bottom: 22px; }
.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.section-title-row .panel-kicker { margin-bottom: 2px; font-size: 8px; }
.section-title-row h2 { margin: 0; font-size: 18px; }
.quick-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.quick-action-card { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; min-height: 86px; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
.quick-action-card:hover { color: inherit; border-color: var(--purple-border); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.quick-action-card > span { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.quick-action-card h3 { margin: 0 0 2px; font-family: var(--font-body); font-size: 10px; letter-spacing: 0; }
.quick-action-card p { margin: 0; font-size: 8px; line-height: 1.4; }
.quick-action-card > i { color: #AAA3B1; font-size: 8px; }
.command-page-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr); gap: 18px; }
.command-results-panel { overflow: hidden; }
.command-result-group > p { margin: 0; padding: 10px 18px 5px; color: #98919F; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.command-result-group > a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; min-height: 58px; padding: 9px 18px; border-bottom: 1px solid var(--border); }
.command-result-group > a:hover { color: inherit; background: var(--lavender-2); }
.command-result-group > a > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: var(--purple); border-radius: 10px; background: var(--lavender); }
.command-result-group > a > div { display: flex; flex-direction: column; }
.command-result-group strong { font-size: 10px; }
.command-result-group small { color: var(--muted); font-size: 8px; }
.command-result-group > a > i { color: #A9A2B0; font-size: 8px; }
.data-empty.compact { min-height: 240px; }
.priority-feed > div { display: grid; }
.priority-feed > div > a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 14px 17px; border-bottom: 1px solid var(--border); }
.priority-feed > div > a:hover { color: inherit; background: var(--lavender-2); }
.priority-feed > div > a > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; }
.priority-feed strong { display: block; font-size: 9px; }
.priority-feed small { display: block; color: var(--muted); font-size: 8px; }
.priority-feed > div > a > i { color: #A9A2B0; font-size: 8px; }

/* Audit and certification */
.audit-hero-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-bottom: 18px; padding: 25px; color: var(--white); border-radius: var(--radius); background: var(--purple-900); }
.audit-score-ring { --percent: var(--score); width: 130px; height: 130px; background: conic-gradient(#8CE0B9 calc(var(--score) * 1%), rgba(255,255,255,.12) 0); }
.audit-score-ring::before { background: var(--purple-900); }
.audit-score-ring strong { color: var(--white); font-size: 30px; }
.audit-score-ring small { color: rgba(255,255,255,.55); font-size: 9px; }
.audit-hero-card h2 { margin: 10px 0 6px; color: var(--white); font-size: 23px; }
.audit-hero-card p { max-width: 700px; margin: 0; color: rgba(255,255,255,.62); font-size: 10px; }
.audit-meta { display: flex; gap: 22px; margin-top: 16px; color: rgba(255,255,255,.55); font-size: 8px; }
.audit-meta strong { color: var(--white); }
.audit-timestamp { display: flex; flex-direction: column; align-items: flex-end; color: rgba(255,255,255,.50); font-size: 8px; }
.audit-timestamp i { margin-bottom: 5px; font-size: 18px; }
.audit-timestamp strong { color: var(--white); font-size: 9px; }
.audit-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 18px; }
.audit-check-card { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.audit-check-icon { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; }
.audit-check-copy h2 { margin: 8px 0 3px; font-size: 13px; }
.audit-check-copy p { margin: 0; font-size: 8px; }
.audit-check-counts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--border); }
.audit-check-counts span { display: flex; flex-direction: column; padding: 9px 11px; color: var(--muted); background: var(--page); font-size: 7px; }
.audit-check-counts strong { color: var(--text); font-size: 12px; }
.audit-check-counts .has-failures strong { color: var(--danger); }
.audit-check-card > a { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--purple); font-size: 9px; font-weight: 700; }
.audit-guidance { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; padding: 18px; }
.audit-guidance > span { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; color: #946000; border-radius: 12px; background: #FFF4DC; }
.audit-guidance h2 { margin: 0 0 3px; font-size: 13px; }
.audit-guidance p { margin: 0; font-size: 9px; }
.certification-banner { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; margin-bottom: 16px; padding: 21px; color: var(--white); border-radius: var(--radius); background: var(--purple-900); }
.certification-banner.status-certified { background: #0C6D43; }
.certification-banner.status-conditional { background: #835400; }
.certification-banner.status-not-ready { background: #962B28; }
.cert-seal { display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.10); font-size: 27px; }
.certification-banner span { color: rgba(255,255,255,.60); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.certification-banner h2 { margin: 1px 0 3px; color: var(--white); font-size: 27px; }
.certification-banner p { margin: 0; color: rgba(255,255,255,.65); font-size: 9px; }
.cert-run-meta { display: grid; grid-template-columns: auto auto; gap: 2px 13px; text-align: right; }
.cert-run-meta strong { color: var(--white); font-size: 9px; }
.cert-score-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.cert-score-grid > article { display: flex; min-height: 132px; align-items: center; gap: 15px; padding: 17px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.score-ring { --percent: var(--score); width: 96px; height: 96px; background: conic-gradient(var(--purple) calc(var(--score) * 1%), #ECE9F1 0); }
.score-ring::before { width: 72px; height: 72px; }
.score-ring strong { font-size: 16px; }
.score-ring small { color: var(--muted); font-size: 7px; }
.score-ring.small { width: 86px; height: 86px; }
.score-ring.small::before { width: 64px; height: 64px; }
.cert-score-grid article > div:not(.score-ring) { display: flex; flex-direction: column; }
.cert-score-grid article > div > strong { color: var(--text); font-size: 19px; }
.cert-score-grid article > div > span { color: var(--muted); font-size: 9px; }
.cert-score-grid article > div > small { color: #938C9B; font-size: 8px; }
.certification-table-panel { margin-bottom: 16px; }
.coverage-cell { display: flex; align-items: center; gap: 8px; }
.coverage-cell strong { font-size: 8px; }
.cert-thresholds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cert-thresholds > div { display: grid; grid-template-columns: 42px 1fr; gap: 11px; padding: 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
.cert-thresholds > div > span { grid-row: span 2; display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--purple); border-radius: 11px; background: var(--lavender); }
.cert-thresholds h2 { margin: 2px 0 0; font-size: 11px; }
.cert-thresholds p { grid-column: 2; margin: -4px 0 0; font-size: 8px; }

/* Role portals */
.portal-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 22px; padding: 24px 27px; border: 1px solid var(--purple-border); border-radius: var(--radius); background: linear-gradient(130deg, var(--white), var(--lavender)); }
.portal-welcome .page-kicker { margin-bottom: 4px; font-size: 8px; }
.portal-welcome h1 { margin: 0; font-size: 16px; }
.portal-welcome h2 { max-width: 700px; margin: 5px 0; font-size: clamp(24px, 3vw, 34px); }
.portal-welcome p { max-width: 700px; margin: 0; font-size: 10px; }
.portal-welcome-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.today-chip { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 8px 11px; color: #625A6D; border: 1px solid var(--border); border-radius: 10px; background: var(--white); font-size: 9px; }
.portal-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.portal-metrics article { display: flex; min-height: 108px; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.portal-metrics article > div { display: flex; flex-direction: column; }
.portal-metrics strong { font-size: 20px; }
.portal-metrics article > div > span { color: var(--muted); font-size: 9px; }
.portal-metrics small { color: #928B99; font-size: 8px; }
.portal-quick-actions { margin-bottom: 18px; }
.portal-quick-actions > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.portal-quick-actions a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; min-height: 66px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.portal-quick-actions a:hover { color: inherit; border-color: var(--purple-border); box-shadow: var(--shadow-sm); }
.portal-quick-actions a > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: var(--purple); border-radius: 10px; background: var(--lavender); }
.portal-quick-actions strong { font-size: 10px; }
.portal-quick-actions a > i { color: #AAA3B1; font-size: 8px; }
.candidate-progress-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 18px 22px; color: var(--white); border-radius: 14px; background: var(--purple-900); }
.profile-progress { display: flex; align-items: center; gap: 18px; }
.candidate-progress-card .score-ring::before { background: var(--purple-900); }
.candidate-progress-card .score-ring { background: conic-gradient(#BFA6FF calc(var(--score) * 1%), rgba(255,255,255,.12) 0); }
.candidate-progress-card .score-ring strong { color: var(--white); }
.candidate-progress-card .panel-kicker { margin-bottom: 3px; color: #D4C4F7; font-size: 8px; }
.candidate-progress-card h2 { margin: 0 0 3px; color: var(--white); font-size: 15px; }
.candidate-progress-card p { margin: 0; color: rgba(255,255,255,.58); font-size: 9px; }
.portal-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 18px; }
.portal-task-list { display: grid; }
.portal-task-list > a { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 10px; min-height: 62px; padding: 11px 18px; border-bottom: 1px solid var(--border); }
.portal-task-list > a:hover { color: inherit; background: var(--lavender-2); }
.task-check { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: #A29BAA; border-radius: 8px; background: var(--page); }
.portal-task-list strong { display: block; font-size: 10px; }
.portal-task-list small { display: block; color: var(--muted); font-size: 8px; }
.portal-task-list > a > i { color: #AAA3B1; font-size: 8px; }
.portal-schedule > div { padding: 5px 18px 12px; }
.schedule-item { display: grid; grid-template-columns: 42px 8px 1fr; align-items: center; gap: 10px; min-height: 62px; border-bottom: 1px solid var(--border); }
.schedule-item:last-child { border-bottom: 0; }
.schedule-item time { font-size: 8px; font-weight: 750; }
.schedule-item strong { display: block; font-size: 9px; }
.schedule-item small { display: block; color: var(--muted); font-size: 7px; }
.mobile-priority-list { margin-top: 18px; }
.mobile-priority-list > div { display: grid; grid-template-columns: repeat(3, 1fr); }
.mobile-priority-list article { display: grid; grid-template-columns: 38px 1fr 32px 32px; align-items: center; gap: 8px; padding: 14px; border-right: 1px solid var(--border); }
.mobile-priority-list article:last-child { border-right: 0; }
.mobile-priority-list article > div { display: flex; flex-direction: column; }
.mobile-priority-list article strong { font-size: 9px; }
.mobile-priority-list article small { color: var(--muted); font-size: 7px; }
.mobile-priority-list article > a { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: var(--purple); border-radius: 9px; background: var(--lavender); }
.portal-page-card { overflow: hidden; }
.portal-record-list { display: grid; }
.portal-record-list > a { display: grid; grid-template-columns: 42px 1fr auto auto; align-items: center; gap: 12px; min-height: 76px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.portal-record-list > a:hover { color: inherit; background: var(--lavender-2); }
.portal-record-list strong { font-size: 10px; }
.portal-record-list p { margin: 1px 0; font-size: 8px; }
.portal-record-list small { color: #96909D; font-size: 8px; }
.portal-record-list > a > i { color: #AAA3B1; font-size: 8px; }

@media (max-width: 1260px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .service-card { min-height: 240px; }
    .metric-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-action-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-score-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    :root { --sidebar-width: 244px; }
    .hero-grid { grid-template-columns: 1fr minmax(340px, .75fr); gap: 45px; }
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 12px; }
    .two-column-story { gap: 60px; }
    .story-float-card { right: -15px; }
    .lead-grid { gap: 50px; }
    .feature-list-grid { grid-template-columns: 1fr; }
    .dashboard-main { padding-inline: 22px; }
    .dashboard-grid-main { grid-template-columns: 1fr; }
    .attention-panel > .btn { margin-top: 16px; }
    .audit-check-grid { grid-template-columns: repeat(2, 1fr); }
    .workspace-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
    .container { width: min(100% - 32px, 760px); }
    .section-pad { padding: 78px 0; }
    .trust-strip { display: none !important; }
    .site-nav { min-height: 68px; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-menu { position: fixed; z-index: 150; top: 68px; right: 0; left: 0; display: grid; max-height: calc(100vh - 68px); gap: 12px; padding: 16px; overflow-y: auto; border-top: 1px solid var(--border); background: var(--white); box-shadow: 0 18px 35px rgba(36,16,79,.12); transform: translateY(-120%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
    .site-menu.open { transform: translateY(0); visibility: visible; }
    .nav-links { display: grid; gap: 1px; }
    .nav-links a { min-height: 44px; padding: 8px 10px; border-radius: 9px; }
    .nav-links a::after { display: none; }
    .nav-links a.active { background: var(--lavender); }
    .nav-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-top: 68px; padding-bottom: 68px; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions, .hero-proof { justify-content: center; }
    .hero-panel { width: min(100%, 520px); margin-inline: auto; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
    .impact-grid > div:nth-child(4) { border-top: 1px solid var(--border); }
    .section-heading.split-heading { display: block; }
    .section-heading.split-heading p { margin-top: 14px; }
    .section-heading.split-heading > .text-link { margin-top: 14px; }
    .two-column-story { grid-template-columns: 1fr; gap: 55px; }
    .story-visual { width: min(100%, 590px); margin-inline: auto; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .job-preview-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .job-card, .testimonial-card { min-height: auto; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 45px 0; }
    .process-steps li:nth-child(2)::after { display: none; }
    .lead-grid { grid-template-columns: 1fr; }
    .lead-copy { text-align: center; }
    .lead-copy > p { margin-inline: auto; }
    .lead-points { justify-content: center; }
    .lead-form { width: min(100%, 580px); margin-inline: auto; }
    .candidate-cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .inner-hero-grid { grid-template-columns: 1fr; }
    .inner-hero-symbol { display: none; }
    .content-shell { grid-template-columns: 1fr; }
    .content-aside, .contact-aside { position: static; }
    .jobs-layout { grid-template-columns: 1fr; }
    .job-filters { position: fixed; z-index: 500; inset: 0 0 0 auto; width: min(360px, 92vw); overflow-y: auto; border-radius: 0; transform: translateX(105%); transition: transform .22s ease; }
    .job-filters.open { transform: translateX(0); }
    .filter-mobile-head { display: flex; align-items: center; justify-content: space-between; margin: -5px -3px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
    .filter-mobile-head button { width: 40px; height: 40px; color: var(--muted); border-radius: 10px; background: var(--page); cursor: pointer; }
    .filter-trigger { display: inline-flex; }
    .job-detail-layout { grid-template-columns: 1fr; }
    .job-apply-card { position: static; }
    .auth-grid { grid-template-columns: 1fr; }
    .auth-story { display: none; }
    .auth-panel { min-height: calc(100vh - 42px); }
    .auth-mobile-footer { display: block; padding: 12px; color: var(--muted); font-size: 9px; text-align: center; }

    .app-sidebar { transform: translateX(-102%); box-shadow: 20px 0 50px rgba(20,9,44,.25); }
    .app-sidebar.open { transform: translateX(0); }
    .sidebar-close { display: inline-flex; align-items: center; justify-content: center; }
    .sidebar-backdrop { position: fixed; z-index: 210; inset: 0; background: rgba(20,9,44,.45); }
    .sidebar-backdrop.open { display: block; }
    .dashboard-stage { width: 100%; margin-left: 0; }
    .sidebar-trigger { display: inline-flex !important; }
    .app-topbar { padding-inline: 16px; }
    .dashboard-main { padding: 22px 18px 90px; }
    .dashboard-flashes { padding-inline: 18px; }
    .portal-bottom-nav { position: fixed; z-index: 180; right: 0; bottom: 0; left: 0; display: grid; min-height: 64px; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border); background: rgba(255,255,255,.98); box-shadow: 0 -8px 25px rgba(36,16,79,.08); }
    .portal-bottom-nav a { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #898290; font-size: 7px; }
    .portal-bottom-nav a i { font-size: 15px; }
    .portal-bottom-nav a span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .portal-bottom-nav a.active { color: var(--purple); }
    .form-workspace { grid-template-columns: 1fr; }
    .form-aside { grid-template-columns: 1fr 1fr; }
    .command-page-grid, .portal-dashboard-grid { grid-template-columns: 1fr; }
    .audit-hero-card { grid-template-columns: 130px 1fr; }
    .audit-timestamp { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 8px; }
    .audit-timestamp i { margin: 0; }
    .cert-score-grid { grid-template-columns: repeat(2, 1fr); }
    .portal-welcome { align-items: flex-start; flex-direction: column; }
    .portal-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .container { width: calc(100% - 28px); }
    .section-pad { padding: 64px 0; }
    .section-pad-sm { padding: 42px 0 70px; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2 { font-size: 31px; }
    .section-heading p { font-size: 14px; }
    .hero-grid { padding-top: 55px; padding-bottom: 60px; }
    .hero-copy h1 { font-size: 43px; }
    .hero-copy > p { font-size: 15px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-proof { align-items: flex-start; text-align: left; }
    .impact-grid strong { font-size: 22px; }
    .impact-grid span { font-size: 10px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 230px; }
    .story-visual { min-height: 360px; padding: 40px 20px; }
    .story-float-card { right: 10px; bottom: 22px; }
    .industry-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 42px; }
    .process-steps li::after { display: none; }
    .lead-form { padding: 22px; }
    .candidate-cta { padding: 55px 0 80px; }
    .candidate-cta-inner > div:last-child { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 26px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .whatsapp-float { display: none; }
    .mobile-sticky-cta { position: fixed; z-index: 170; right: 0; bottom: 0; left: 0; display: grid; min-height: 62px; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border); background: var(--white); box-shadow: 0 -9px 24px rgba(36,16,79,.10); }
    .mobile-sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--purple-900); font-size: 11px; font-weight: 800; }
    .mobile-sticky-cta a.primary { color: var(--white); background: var(--purple); }
    .site-footer { padding-bottom: 62px; }
    .inner-hero { padding: 60px 0; }
    .inner-hero h1 { font-size: 38px; }
    .feature-list-grid { gap: 12px; }
    .mini-cta-inner { min-height: 240px; align-items: flex-start; flex-direction: column; justify-content: center; }
    .mini-cta-inner > div:last-child { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
    .jobs-search-bar { grid-template-columns: 1fr; }
    .jobs-search-bar > div + div { border-top: 1px solid var(--border); border-left: 0; }
    .jobs-results-head { align-items: flex-start; flex-direction: column; }
    .results-actions { width: 100%; justify-content: space-between; }
    .job-list-card { grid-template-columns: 48px 1fr; }
    .job-list-logo { width: 48px; height: 48px; }
    .job-list-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; }
    .job-list-side > span { margin: 2px 0; }
    .job-list-side .btn { grid-column: 2; grid-row: 1 / 3; width: auto; }
    .job-detail-heading { align-items: flex-start; }
    .job-detail-logo { width: 64px; height: 64px; border-radius: 17px; }
    .job-detail-heading h1 { font-size: 31px; }
    .job-detail-content { padding: 23px; }
    .job-alert-cta > .container { align-items: flex-start; flex-direction: column; }
    .auth-panel { padding-inline: 18px; }
    .role-selector label > span { min-height: 80px; padding: 8px 5px; }
    .field-grid.two { grid-template-columns: 1fr; }
    .error-page { grid-template-columns: 1fr; gap: 35px; padding: 55px 0; }
    .error-visual { min-height: 230px; }

    .topbar-actions > .icon-button, .topbar-actions > .notification-menu { display: none; }
    .command-trigger { width: 42px; height: 42px; padding: 0; justify-content: center; }
    .command-trigger span, .command-trigger kbd { display: none; }
    .user-copy { display: none; }
    .user-menu > summary > i { display: none; }
    .page-head { align-items: flex-start; flex-direction: column; gap: 15px; }
    .page-actions { width: 100%; overflow-x: auto; }
    .page-actions .btn { white-space: nowrap; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .metric-card { min-height: 140px; }
    .pipeline-summary { grid-template-columns: 1fr; }
    .pipeline-summary > div + div { border-top: 1px solid var(--border); border-left: 0; }
    .dashboard-grid-lower { grid-template-columns: 1fr; }
    .donut-wrap { flex-direction: column; }
    .data-toolbar { align-items: stretch; flex-direction: column; }
    .data-search { width: 100%; }
    .data-toolbar-actions { overflow-x: auto; padding-bottom: 3px; }
    .data-toolbar-actions > * { flex: 0 0 auto; }
    .data-toolbar .btn span, .icon-only-mobile span { display: none; }
    .status-filter select { width: 130px; }
    .column-popover { right: auto; left: 0; }
    .data-table-wrap { overflow: visible; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
    .data-table tbody { display: grid; gap: 10px; padding: 12px; background: var(--page); }
    .data-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
    .data-table td { padding: 0; border: 0; font-size: 10px; }
    .data-table td::before { display: block; margin-bottom: 2px; color: #99929F; content: attr(data-label); font-size: 7px; font-weight: 800; text-transform: uppercase; }
    .data-table .select-cell { position: absolute; width: auto; }
    .data-table .select-cell::before { display: none; }
    .data-table tr > td:nth-child(2) { grid-column: 1 / -1; padding-left: 26px; }
    .data-table .actions-cell { position: absolute; right: 28px; width: auto; }
    .form-progress { display: flex; overflow-x: auto; }
    .form-progress li { min-width: 170px; }
    .form-aside { grid-template-columns: 1fr; }
    .form-section { padding: 20px 17px; }
    .workspace-toolbar { align-items: stretch; flex-direction: column; }
    .workspace-toolbar .data-search { width: 100%; }
    .workspace-toolbar > div:last-child { overflow-x: auto; }
    .workspace-toolbar select { flex: 0 0 150px; }
    .kanban-lane { width: 85vw; min-width: 290px; max-width: 340px; }
    .candidate-drawer { width: 100%; padding: 20px; }
    .quick-action-grid { grid-template-columns: 1fr; }
    .command-page-search > span { display: none; }
    .command-page-search { grid-template-columns: 26px 1fr; }
    .audit-hero-card { grid-template-columns: 1fr; text-align: center; }
    .audit-score-ring { margin-inline: auto; }
    .audit-meta { justify-content: center; }
    .audit-timestamp { justify-content: center; }
    .audit-check-grid { grid-template-columns: 1fr; }
    .audit-guidance { grid-template-columns: 46px 1fr; }
    .audit-guidance .btn { grid-column: 1 / -1; }
    .certification-banner { grid-template-columns: 58px 1fr; }
    .cert-seal { width: 58px; height: 58px; }
    .cert-run-meta { grid-column: 1 / -1; text-align: left; }
    .cert-score-grid { grid-template-columns: 1fr 1fr; }
    .cert-thresholds { grid-template-columns: 1fr; }
    .portal-welcome { padding: 20px; }
    .portal-welcome-actions { width: 100%; justify-content: space-between; }
    .portal-quick-actions > div:last-child { grid-template-columns: 1fr; }
    .portal-task-list > a { grid-template-columns: 28px 1fr auto; }
    .portal-task-list > a > i { display: none; }
    .candidate-progress-card { align-items: flex-start; flex-direction: column; }
    .mobile-priority-list > div { grid-template-columns: 1fr; }
    .mobile-priority-list article { border-right: 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 575.98px) {
    .hero-copy h1 { font-size: 37px; }
    .hero-actions { grid-template-columns: 1fr; }
    .hero-panel { padding: 19px; }
    .impact-grid > div { padding: 21px 10px; }
    .story-main-card { padding: 17px; }
    .candidate-snapshot { align-items: flex-start; }
    .match-score { display: none; }
    .candidate-cta-inner > div:last-child, .mini-cta-inner > div:last-child { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
    .job-list-card { grid-template-columns: 1fr; }
    .job-list-logo { display: none; }
    .job-list-side { grid-column: auto; }
    .job-detail-heading { display: block; }
    .job-detail-logo { margin-bottom: 16px; }
    .role-selector strong { font-size: 9px; }
    .role-selector small { display: none; }
    .error-actions { align-items: stretch; flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .metric-card { min-height: 134px; padding: 14px; }
    .metric-card > strong { font-size: 21px; }
    .workspace-summary { grid-template-columns: 1fr; }
    .cert-score-grid { grid-template-columns: 1fr; }
    .portal-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
    .portal-metrics article { min-height: 115px; align-items: flex-start; flex-direction: column; }
    .portal-welcome-actions { align-items: stretch; flex-direction: column; }
    .today-chip { justify-content: center; }
    .profile-progress { align-items: flex-start; flex-direction: column; }
    .command-modal { max-height: calc(100vh - 18px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal-on-scroll { opacity: 1; transform: none; }
}

@media print {
    @page { size: A4; margin: 12mm; }
    .print-shell { background: #fff; }
    .print-actions, .site-header, .site-footer, .app-sidebar, .app-topbar, .portal-bottom-nav, .mobile-sticky-cta, .whatsapp-float { display: none !important; }
    .print-page { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; }
    .dashboard-stage { width: 100%; margin: 0; }
    .dashboard-main { padding: 0; }
    .panel-card, .metric-card { break-inside: avoid; box-shadow: none; }
}

/* v3.0 metered candidate access */
.candidate-access-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:1.25rem;align-items:start}.candidate-access-usage{margin-bottom:1.25rem}.candidate-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0}.candidate-detail-grid div{padding:.9rem;border:1px solid var(--border-color,#e5e7eb);border-radius:14px;background:var(--surface-soft,#f8fafc)}.candidate-detail-grid dt{font-size:.76rem;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted,#64748b);margin-bottom:.3rem}.candidate-detail-grid dd{margin:0;font-weight:700;color:var(--text-strong,#172033);overflow-wrap:anywhere}.candidate-unlocked-panel{border-top:1px solid var(--border-color,#e5e7eb);padding-top:1rem}.candidate-access-gate{display:flex;gap:1rem;align-items:flex-start;padding:1.1rem;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa}.candidate-access-gate>i{color:#c2410c;font-size:1.25rem;margin-top:.2rem}.candidate-access-gate h3{margin:0 0 .3rem}.candidate-access-gate p{margin:0;color:#7c2d12}.candidate-contact-card{position:sticky;top:1rem}.candidate-contact-card>p{padding:.65rem 0;margin:0;border-bottom:1px solid var(--border-color,#e5e7eb);overflow-wrap:anywhere}.candidate-contact-card form,.candidate-contact-card>.btn{margin-top:1rem}.btn-block{display:flex;width:100%;justify-content:center}.notice-success{margin-top:1rem;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;padding:.85rem;border-radius:12px}@media(max-width:820px){.candidate-access-layout{grid-template-columns:1fr}.candidate-contact-card{position:static}.candidate-detail-grid{grid-template-columns:1fr}}

/* v1.4 service enquiries and guided job applications */
.website-trap { display: none !important; }
.form-kicker { color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-enquiry-aside { position: sticky; top: 104px; }
.service-enquiry-form .field-grid.two { grid-template-columns: 1fr; }
.service-enquiry-form .form-consent { margin: -6px 0 0; color: var(--text-soft); font-size: 11px; line-height: 1.55; }
.registration-job-banner { display: flex; gap: 14px; align-items: center; margin: 0 0 20px; padding: 15px; border: 1px solid var(--purple-border); border-radius: 16px; background: var(--lavender); }
.registration-job-banner > span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--purple); }
.registration-job-banner small, .registration-job-banner strong, .registration-job-banner p { display: block; }
.registration-job-banner small { color: var(--text-soft); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.registration-job-banner strong { margin-top: 2px; color: var(--heading); font-size: 15px; }
.registration-job-banner p { margin: 3px 0 0; color: var(--text-soft); font-size: 12px; }
.registration-application-section { display: grid; gap: 16px; margin: 6px 0 2px; padding: 20px; border: 1px solid var(--purple-border); border-radius: 18px; background: #faf8ff; }
.registration-section-head span { color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.registration-section-head h2 { margin: 4px 0 0; font-size: 20px; }
.application-page-head { align-items: center; }
.application-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.application-form-card { padding: 28px; }
.application-form-card .smart-form { display: grid; gap: 20px; }
.application-form-card .form-field small { color: var(--text-soft); }
.application-resume-field { padding: 16px; border: 1px dashed var(--purple-border); border-radius: 14px; background: var(--lavender); }
.application-declaration { align-items: flex-start; padding: 14px; border-radius: 12px; background: #f7f8fc; }
.application-summary-card { position: sticky; top: 88px; padding: 24px; }
.application-summary-card h2 { margin: 6px 0 18px; font-size: 22px; }
.application-summary-card dl { display: grid; gap: 0; margin: 0; }
.application-summary-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.application-summary-card dt { color: var(--text-soft); font-size: 12px; }
.application-summary-card dd { margin: 0; color: var(--heading); font-size: 12px; font-weight: 700; text-align: right; }
.profile-readiness { display: grid; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.profile-readiness > strong { font-size: 13px; }
.profile-readiness span { display: flex; gap: 9px; align-items: center; color: var(--text-soft); font-size: 12px; }
.profile-readiness span i { width: 16px; color: var(--purple); }
.profile-readiness span.ready i { color: var(--success); }
.profile-readiness span.missing i { color: var(--danger); }
.application-safety { display: flex; gap: 10px; margin: 20px 0 0; padding: 13px; border-radius: 12px; color: #14532d; background: #ecfdf3; font-size: 11px; line-height: 1.55; }
.application-safety i { margin-top: 2px; }
@media (max-width: 980px) {
    .service-enquiry-aside, .application-summary-card { position: static; }
    .application-form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .application-form-card, .application-summary-card { padding: 18px; }
    .application-page-head { align-items: stretch; }
    .registration-application-section { padding: 15px; }
}

/* v2.3 workforce scheduling and leave */
.schedule-hero{background:linear-gradient(135deg,#172554 0%,#312e81 55%,#6d28d9 100%)}
.schedule-metrics article{min-height:132px}
.schedule-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:20px;margin:20px 0}
.shift-list,.schedule-employee-list,.assignment-list,.leave-list,.candidate-shift-list{display:grid;gap:14px}
.shift-card,.schedule-employee,.assignment-card,.leave-card,.candidate-shift-card{border:1px solid var(--border-color,#e5e7eb);border-radius:18px;background:#fff;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.shift-card header,.schedule-employee header,.leave-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}
.shift-card header div,.schedule-employee header div,.leave-card header div{display:grid;gap:3px}
.shift-card header span,.schedule-employee header span,.leave-card header span,.assignment-card span{color:#64748b;font-size:.86rem}
.shift-card p,.leave-card p{margin:8px 0;color:#334155}
.shift-card small,.leave-card small,.assignment-card small{color:#64748b}
.schedule-form,.compact-action{gap:12px}
.schedule-form,.schedule-form>label,.schedule-form select{min-width:0;max-width:100%}
.weekday-picker{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.weekday-picker legend{font-size:.82rem;font-weight:700;color:#475569;margin-bottom:8px}
.weekday-picker label{display:inline-flex;align-items:center;gap:5px;border:1px solid #dbe3f0;border-radius:999px;padding:7px 10px;background:#f8fafc}
.weekday-picker input{width:auto;margin:0}
.employee-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.compact-action{border:1px solid #e8ecf5;border-radius:14px;padding:14px;background:#fafbff}
.compact-action h3{font-size:.95rem;margin:0}
.assignment-list{margin-top:18px}
.assignment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.assignment-card>div{display:grid;gap:3px}
.inline-cancel{grid-column:1/-1;display:flex;align-items:center;gap:10px}
.inline-cancel input{flex:1;min-width:180px}
.leave-decision-form{display:grid;grid-template-columns:150px 150px minmax(220px,1fr) auto;gap:10px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid #edf0f6}
.decision-notes{min-width:0}
.candidate-shift-card{display:grid;grid-template-columns:68px minmax(0,1fr);gap:16px}
.shift-date{display:grid;place-content:center;text-align:center;border-radius:14px;background:#eef2ff;color:#3730a3;min-height:72px}
.shift-date span{font-size:.75rem;text-transform:uppercase;font-weight:800;letter-spacing:.08em}
.shift-date strong{font-size:1.65rem}
.candidate-shift-card h3{margin:0 0 4px}.candidate-shift-card p{margin:0 0 12px;color:#64748b}
.candidate-shift-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.candidate-shift-card dl div{padding:9px;border-radius:10px;background:#f8fafc}.candidate-shift-card dt{font-size:.7rem;color:#64748b;text-transform:uppercase}.candidate-shift-card dd{margin:3px 0 0;font-weight:700;color:#1e293b}
.integrity-list{display:grid;gap:12px;margin:0;padding-left:22px;color:#334155}
.leave-event-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
.leave-event-list li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;position:relative;padding-bottom:18px}
.leave-event-list li>span{width:11px;height:11px;border-radius:50%;background:#6d28d9;margin-top:5px;box-shadow:0 0 0 4px #ede9fe}
.leave-event-list li:not(:last-child)::before{content:"";position:absolute;left:5px;top:17px;bottom:0;width:1px;background:#ddd6fe}
.leave-event-list p{margin:3px 0;color:#64748b}.leave-event-list time{font-size:.76rem;color:#94a3b8}
@media (max-width:1100px){.schedule-grid{grid-template-columns:1fr}.leave-decision-form{grid-template-columns:1fr 1fr}.decision-notes{grid-column:1/-1}}
@media (max-width:760px){.employee-action-grid{grid-template-columns:1fr}.assignment-card{grid-template-columns:1fr}.leave-decision-form{grid-template-columns:1fr}.candidate-shift-card dl{grid-template-columns:1fr 1fr}.inline-cancel{align-items:stretch;flex-direction:column}.inline-cancel input{width:100%}.schedule-hero{padding:24px 18px}}
@media (max-width:480px){.candidate-shift-card{grid-template-columns:1fr}.shift-date{grid-template-columns:auto auto;gap:5px;min-height:auto;justify-content:start;padding:8px 12px}.shift-date strong{font-size:1rem}.candidate-shift-card dl{grid-template-columns:1fr}}

/* v2.4 workforce timesheets and exceptions */
.timesheet-hero{background:linear-gradient(135deg,#052e16 0%,#065f46 52%,#0f766e 100%)}
.timesheet-metrics article{min-height:132px}.timesheet-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px;margin:20px 0}.timesheet-grid>*{min-width:0}
.timesheet-employee-list,.timesheet-ledger,.exception-list{display:grid;gap:14px}.timesheet-employee,.timesheet-card,.exception-card{min-width:0;border:1px solid var(--border-color,#e5e7eb);border-radius:18px;background:#fff;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.timesheet-employee header,.timesheet-card header,.exception-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.timesheet-employee header div,.timesheet-card header div,.exception-card header div{display:grid;gap:3px;min-width:0}.timesheet-employee header span,.timesheet-card header span,.exception-card header span{color:#64748b;font-size:.84rem;overflow-wrap:anywhere}.timesheet-employee header b,.timesheet-card header b,.exception-card header b{color:#047857;font-size:.78rem;text-transform:uppercase}
.timesheet-entry-form,.candidate-timesheet-form,.timesheet-entry-form>label,.candidate-timesheet-form>label,.timesheet-entry-form select,.candidate-timesheet-form select{min-width:0;max-width:100%}.timesheet-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.timesheet-card dl div{padding:10px;border-radius:11px;background:#f0fdf4}.timesheet-card dt{color:#64748b;font-size:.7rem;text-transform:uppercase}.timesheet-card dd{margin:3px 0 0;color:#14532d;font-weight:800}
.exception-warning{display:inline-flex;align-items:center;gap:7px;margin:5px 0;color:#b45309}.timesheet-decision-form{display:grid;grid-template-columns:150px minmax(220px,1fr) auto;gap:10px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}.exception-decision-form{display:grid;grid-template-columns:140px minmax(220px,1fr) auto;gap:10px;align-items:center;margin-top:12px}.exception-card p{margin:8px 0;color:#475569}.monthly-attendance-card{align-self:start}
@media (max-width:1100px){.timesheet-grid{grid-template-columns:1fr}}
@media (max-width:760px){.timesheet-card dl{grid-template-columns:1fr 1fr}.timesheet-decision-form,.exception-decision-form{grid-template-columns:1fr}.timesheet-employee header,.timesheet-card header,.exception-card header{align-items:flex-start;flex-direction:column}.timesheet-hero{padding:24px 18px}}
@media (max-width:480px){.timesheet-card dl{grid-template-columns:1fr}}

/* Advanced ATS */
.ats-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; padding:8px 0 22px; }
.ats-hero h1 { margin:3px 0 7px; color:var(--heading); font:800 clamp(28px,4vw,44px)/1.05 Manrope,sans-serif; }
.ats-hero p { max-width:820px; margin:0; color:var(--text-soft); font-size:13px; line-height:1.65; }
.ats-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.ats-stat-grid article { display:grid; gap:3px; padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(37,18,78,.04); }
.ats-stat-grid span { color:var(--text-soft); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ats-stat-grid strong { color:var(--heading); font:800 30px/1.15 Manrope,sans-serif; }
.ats-stat-grid small { color:var(--text-soft); font-size:10px; }
.ats-control-card,.ats-table-card,.ats-comparison,.ats-scorecard,.ats-duplicates,.ats-import { margin-bottom:18px; padding:20px; }
.ats-requirement-form { display:grid; grid-template-columns:minmax(260px,1fr) auto; gap:12px; align-items:end; margin-bottom:14px; }
.ats-requirement-form label,.ats-import form>label,.ats-summary-field { display:grid; gap:7px; color:var(--heading); font-size:11px; font-weight:800; }
.ats-requirement-form select,.ats-import input,.ats-import select,.ats-scorecard select,.ats-scorecard textarea,.ats-duplicates select,.ats-duplicates input { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--line); border-radius:10px; color:var(--heading); background:#fff; font:500 12px Inter,sans-serif; }
.ats-requirement-summary { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 14px; padding:13px 15px; border-radius:12px; color:#fff; background:linear-gradient(120deg,#2a1258,#6936c7); }
.ats-requirement-summary div { display:grid; gap:2px; }.ats-requirement-summary strong { font-size:14px; }.ats-requirement-summary span { font-size:10px; opacity:.82; }
.ats-table-scroll { overflow:auto; margin:0 -20px; }.ats-table { width:100%; min-width:1060px; border-collapse:collapse; }
.ats-table th { padding:11px 14px; color:var(--text-soft); background:#faf9fc; font-size:9px; letter-spacing:.07em; text-align:left; text-transform:uppercase; }
.ats-table td { padding:13px 14px; border-top:1px solid var(--line); color:var(--text); font-size:11px; vertical-align:top; }
.ats-table td>strong,.ats-table td>small { display:block; }.ats-table td>strong { color:var(--heading); font-size:12px; }.ats-table td>small { margin-top:3px; color:var(--text-soft); font-size:9px; }
.ats-score { display:inline-flex; align-items:center; justify-content:center; min-width:52px; padding:7px 9px; border-radius:20px; color:#513281; background:#eee7f8; font-size:11px; font-weight:900; }
.ats-score-strong { color:#067647; background:#d1fadf; }.ats-score-recommended { color:#175cd3; background:#dbeafe; }.ats-score-review,.ats-score-insufficient_data { color:#a15c00; background:#fff1cc; }.ats-score-low { color:#b42318; background:#fee4e2; }
.ats-signal-list { display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; min-width:220px; }.ats-signal-list span { display:flex; justify-content:space-between; gap:8px; color:var(--text-soft); font-size:9px; }.ats-signal-list b { color:var(--heading); }
.ats-table-actions { display:flex; align-items:center; gap:12px; padding-top:15px; }.ats-table-actions span { color:var(--text-soft); font-size:10px; }
.ats-comparison-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.ats-comparison-grid>article { padding:16px; border:1px solid var(--line); border-radius:14px; background:#fdfcff; }
.ats-comparison-head { display:flex; gap:10px; align-items:center; margin-bottom:13px; }.ats-comparison-head h3 { margin:0; color:var(--heading); font-size:14px; }.ats-comparison-head p { margin:2px 0 0; color:var(--text-soft); font-size:10px; }
.ats-comparison dl,.ats-import-history dl { display:grid; gap:0; margin:0; }.ats-comparison dl>div,.ats-import-history dl>div { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid var(--line); }.ats-comparison dt,.ats-import-history dt { color:var(--text-soft); font-size:10px; }.ats-comparison dd,.ats-import-history dd { margin:0; color:var(--heading); font-size:10px; font-weight:800; text-align:right; }
.ats-snapshot-form { display:grid; gap:10px; margin-top:16px; padding:14px; border:1px dashed #cbbbe2; border-radius:13px; background:#faf8fd; }.ats-snapshot-form label { display:grid; gap:6px; color:var(--heading); font-size:11px; font-weight:800; }.ats-snapshot-form textarea { width:100%; padding:10px; border:1px solid var(--line); border-radius:10px; font:500 12px Inter,sans-serif; }.ats-snapshot-form .btn { justify-self:start; }.ats-snapshot-history,.ats-revision-history { display:grid; gap:8px; margin-top:16px; }.ats-snapshot-history h3,.ats-revision-history h3 { margin:0; color:var(--heading); font-size:12px; }.ats-snapshot-history article,.ats-revision-history article { display:grid; grid-template-columns:1fr auto; gap:5px 12px; padding:11px; border:1px solid var(--line); border-radius:10px; }.ats-snapshot-history article div,.ats-revision-history article { color:var(--text-soft); font-size:9px; }.ats-snapshot-history article div { display:grid; }.ats-snapshot-history article strong,.ats-revision-history strong { color:var(--heading); font-size:10px; }.ats-snapshot-history article p { grid-column:1/-1; margin:0; color:var(--text); font-size:10px; }.ats-snapshot-history code,.ats-revision-history code { color:var(--purple); font-size:9px; }
.ats-mini-ratings { display:grid; gap:5px; margin-top:12px; }.ats-mini-ratings span { display:flex; justify-content:space-between; gap:8px; color:var(--text-soft); font-size:9px; }.ats-mini-ratings b { color:var(--purple); }
.ats-criteria-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:12px; margin-bottom:14px; }
.ats-criteria-grid article { display:grid; gap:9px; padding:15px; border:1px solid var(--line); border-radius:13px; background:#fdfcff; }.ats-criteria-grid article>div { display:flex; justify-content:space-between; gap:10px; }.ats-criteria-grid strong { color:var(--heading); font-size:12px; }.ats-criteria-grid article>div span { color:var(--purple); font-size:9px; font-weight:800; }.ats-criteria-grid p { min-height:30px; margin:0; color:var(--text-soft); font-size:10px; line-height:1.45; }.ats-criteria-grid label { display:grid; gap:5px; color:var(--heading); font-size:10px; font-weight:800; }
.ats-summary-field { margin-bottom:14px; }.ats-scorecard textarea { min-height:70px; resize:vertical; }
.ats-two-column { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr); gap:18px; align-items:start; }
.ats-duplicate-list { display:grid; gap:10px; }.ats-duplicate-list>article { padding:14px; border:1px solid var(--line); border-radius:13px; background:#fdfcff; }.ats-pair-head { display:flex; gap:10px; align-items:flex-start; }.ats-pair-head>div { min-width:0; }.ats-pair-head strong { color:var(--heading); font-size:11px; }.ats-pair-head p { margin:3px 0 0; color:var(--text-soft); font-size:9px; line-height:1.4; }.ats-pair-data { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:10px 0; }.ats-pair-data>span { display:grid; padding:8px; border-radius:9px; color:var(--heading); background:#f4f1f8; font-size:10px; }.ats-pair-data small { color:var(--text-soft); font-size:8px; }.ats-duplicate-list form { display:grid; grid-template-columns:160px minmax(150px,1fr) auto; gap:8px; }
.ats-import>form { display:grid; gap:12px; padding:14px; border:1px dashed #cbbbe2; border-radius:13px; background:#faf8fd; }.ats-import input[type=file] { padding:8px; }.field-help { margin:0; color:var(--text-soft); font-size:9px; line-height:1.5; }.field-help code { color:var(--purple); }
.ats-import-history { display:grid; gap:9px; margin-top:18px; }.ats-import-history h3 { margin:0; color:var(--heading); font-size:12px; }.ats-import-history>article { display:grid; grid-template-columns:1fr auto; gap:10px; padding:12px; border:1px solid var(--line); border-radius:11px; }.ats-import-history article>div { display:grid; }.ats-import-history strong { color:var(--heading); font-size:10px; }.ats-import-history span { color:var(--text-soft); font-size:8px; }.ats-import-history dl { grid-column:1/-1; grid-template-columns:repeat(4,1fr); }.ats-import-history dl>div { display:grid; justify-content:start; }
@media (max-width:1100px){.ats-stat-grid{grid-template-columns:1fr 1fr}.ats-two-column{grid-template-columns:1fr}}
@media (max-width:700px){.ats-hero{display:grid}.ats-hero .btn{width:100%}.ats-stat-grid{grid-template-columns:1fr 1fr}.ats-requirement-form{grid-template-columns:1fr}.ats-requirement-form .btn{width:100%}.ats-requirement-summary{align-items:flex-start;flex-direction:column}.ats-duplicate-list form{grid-template-columns:1fr}.ats-pair-data{grid-template-columns:1fr}.ats-table-actions{align-items:stretch;flex-direction:column}.ats-table-actions .btn{width:100%}.ats-import-history dl{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.ats-stat-grid{grid-template-columns:1fr}.ats-control-card,.ats-table-card,.ats-comparison,.ats-scorecard,.ats-duplicates,.ats-import{padding:15px}.ats-table-scroll{margin:0 -15px}}

/* v1.7 analytics, forecasting and data governance */
.export-menu { position: relative; }
.export-menu > summary { list-style: none; cursor: pointer; }
.export-menu > summary::-webkit-details-marker { display: none; }
.export-menu > div { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: grid; min-width: 225px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 45px rgba(27, 13, 55, .16); }
.export-menu > div a { padding: 10px 14px; color: var(--heading); font-size: 12px; font-weight: 700; text-decoration: none; }
.export-menu > div a:hover, .export-menu > div a:focus { color: var(--purple); background: var(--lavender); }
.insights-filter { padding: 18px 20px; }
.insights-filter-form { display: grid; grid-template-columns: 210px 170px 170px auto 1fr; gap: 12px; align-items: end; }
.insights-filter-form .form-label, .governance-toolbar .form-label { margin-bottom: 5px; font-size: 11px; font-weight: 800; }
.range-caption { display: grid; align-self: center; justify-self: end; text-align: right; }
.range-caption strong { color: var(--heading); font-size: 13px; }
.range-caption small { color: var(--text-soft); font-size: 11px; }
.insights-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insights-metrics .metric-card > .metric-icon, .governance-metrics .metric-card > .metric-icon { margin: 0 0 14px; color: var(--purple); background: var(--lavender); }
.insights-metrics .metric-card > div, .governance-metrics .metric-card > div { display: grid; gap: 3px; }
.insights-metrics .metric-card > div small, .governance-metrics .metric-card > div small { color: var(--text-soft); font-size: 10px; }
.insights-metrics .metric-card > div strong, .governance-metrics .metric-card > div strong { color: var(--heading); font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.insights-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 20px; align-items: stretch; }
.insight-panel { padding: 22px; }
.funnel-list { display: grid; gap: 15px; }
.funnel-row { display: grid; grid-template-columns: 135px minmax(100px, 1fr) 50px; gap: 14px; align-items: center; }
.funnel-row > div:first-child { display: grid; }
.funnel-row strong { color: var(--heading); font-size: 12px; }
.funnel-row small { color: var(--text-soft); font-size: 10px; }
.funnel-row b { color: var(--heading); font-size: 13px; text-align: right; }
.funnel-track { height: 9px; overflow: hidden; border-radius: 20px; background: #eeeaf5; }
.funnel-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5b2ca0, #9f71df); }
.forecast-panel { overflow: hidden; color: #fff; background: linear-gradient(145deg, #28104f, #552596); }
.forecast-panel .panel-kicker, .forecast-panel .panel-head p { color: #d9c8f2; }
.forecast-panel .panel-head h2 { color: #fff; }
.forecast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.forecast-grid > div { display: grid; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.08); }
.forecast-grid small { color: #d9c8f2; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.forecast-grid strong { margin-top: 3px; font-family: Manrope, sans-serif; font-size: 21px; }
.forecast-grid span { color: #e8ddf8; font-size: 11px; }
.forecast-wide { grid-column: 1 / -1; }
.trend-chart { display: flex; min-height: 260px; gap: 12px; align-items: flex-end; padding: 18px 10px 0; border-bottom: 1px solid var(--line); }
.trend-month { display: grid; flex: 1; min-width: 64px; gap: 5px; text-align: center; }
.trend-bars { display: flex; height: 190px; gap: 5px; align-items: flex-end; justify-content: center; }
.trend-bars span { width: min(28px, 36%); min-height: 3px; border-radius: 7px 7px 2px 2px; }
.trend-billed { background: #7040b4; }
.trend-collected { background: #27a579; }
.trend-month strong { color: var(--heading); font-size: 10px; }
.trend-month small { color: var(--text-soft); font-size: 9px; }
.chart-legend { display: flex; gap: 18px; justify-content: flex-end; padding-top: 12px; color: var(--text-soft); font-size: 11px; }
.chart-legend span { display: flex; gap: 6px; align-items: center; }
.chart-legend i { width: 9px; height: 9px; border-radius: 50%; }
.legend-billed { background: #7040b4; }
.legend-collected { background: #27a579; }
.aging-list, .snapshot-list { display: grid; }
.aging-list > div, .snapshot-list > div { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.aging-list span, .snapshot-list span { display: grid; }
.aging-list strong, .snapshot-list strong { color: var(--heading); font-size: 12px; }
.aging-list small, .snapshot-list small { color: var(--text-soft); font-size: 10px; }
.aging-list b { color: var(--heading); font-size: 13px; }
.snapshot-list code { color: var(--purple); font-size: 10px; }
.target-cell { display: flex; min-width: 145px; gap: 8px; align-items: center; }
.target-cell > span { width: 88px; height: 7px; overflow: hidden; border-radius: 20px; background: #eeeaf5; }
.target-cell i { display: block; height: 100%; border-radius: inherit; background: var(--purple); }
.target-cell b { color: var(--heading); font-size: 10px; }
.sla-panel { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; }
.sla-panel .panel-head { grid-column: 1 / -1; }
.sla-score { display: grid; }
.sla-score strong { color: var(--purple); font-family: Manrope, sans-serif; font-size: 48px; line-height: 1; }
.sla-score span { color: var(--text-soft); font-size: 11px; }
.sla-facts { display: grid; gap: 7px; }
.sla-facts span { color: var(--text-soft); font-size: 11px; }
.sla-facts b { color: var(--heading); }
.snapshot-action { margin: 4px 0 8px; }
.empty-copy { margin: 20px 0; color: var(--text-soft); font-size: 12px; }
.governance-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.governance-toolbar { padding: 18px 20px; }
.governance-toolbar form { display: grid; grid-template-columns: 210px 210px auto 1fr; gap: 12px; align-items: end; }
.governance-toolbar form > p { display: grid; align-self: center; justify-self: end; margin: 0; text-align: right; }
.governance-toolbar form > p strong { color: var(--heading); font-size: 11px; }
.governance-toolbar form > p span { color: var(--text-soft); font-size: 10px; }
.quality-table td { vertical-align: top; }
.quality-table td:nth-child(2) { min-width: 320px; }
.quality-table td:nth-child(2) > strong { color: var(--heading); font-size: 13px; }
.quality-table td:nth-child(2) > p { max-width: 560px; margin: 4px 0; color: var(--text-soft); font-size: 11px; line-height: 1.5; }
.quality-table td:nth-child(2) > a { color: var(--purple); font-size: 10px; font-weight: 800; text-decoration: none; }
.severity-badge, .entity-chip { display: inline-flex; padding: 5px 8px; border-radius: 20px; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.severity-critical { color: #991b1b; background: #fee2e2; }
.severity-high { color: #9a3412; background: #ffedd5; }
.severity-medium { color: #854d0e; background: #fef9c3; }
.severity-low { color: #1e40af; background: #dbeafe; }
.entity-chip { color: #513281; background: #eee7f8; }
.quality-action { position: relative; }
.quality-action > summary { list-style: none; }
.quality-action > form { position: absolute; z-index: 15; right: 0; display: grid; width: 270px; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(27,13,55,.14); }
.quality-action .form-label { margin: 0; font-size: 10px; font-weight: 800; }
.resolution-copy { max-width: 220px; margin: 0 0 8px; color: var(--text-soft); font-size: 10px; }
.quality-empty { display: grid; min-height: 230px; place-items: center; align-content: center; gap: 6px; color: var(--text-soft); text-align: center; }
.quality-empty i { color: var(--success); font-size: 30px; }
.quality-empty strong { color: var(--heading); font-size: 15px; }
.quality-empty span { font-size: 11px; }

@media (max-width: 1180px) {
    .insights-filter-form { grid-template-columns: 1fr 1fr 1fr auto; }
    .range-caption { grid-column: 1 / -1; justify-self: start; text-align: left; }
    .insights-metrics, .governance-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .insights-layout { grid-template-columns: 1fr; }
    .governance-toolbar form { grid-template-columns: 1fr 1fr auto; }
    .governance-toolbar form > p { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 640px) {
    .insights-filter-form, .governance-toolbar form { grid-template-columns: 1fr; }
    .insights-filter-form .btn, .governance-toolbar .btn { width: 100%; }
    .insights-metrics, .governance-metrics { grid-template-columns: 1fr 1fr; }
    .funnel-row { grid-template-columns: 110px minmax(70px, 1fr) 38px; gap: 8px; }
    .trend-chart { overflow-x: auto; justify-content: flex-start; }
    .trend-month { flex: 0 0 64px; }
    .sla-panel { grid-template-columns: 1fr; }
    .sla-panel .panel-head { grid-column: auto; }
    .quality-action > form { position: fixed; right: 12px; bottom: 84px; left: 12px; width: auto; }
}

/* v2.0 Employer collaboration */
.collab-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:20px; padding:30px; border-radius:24px; color:#fff; background:linear-gradient(125deg,#251052 0%,#5b2cc9 68%,#0d8dd8 130%); box-shadow:0 18px 44px rgba(51,25,109,.2); }
.collab-hero h1 { margin:4px 0 7px; color:#fff; font-size:clamp(30px,4vw,45px); letter-spacing:-.04em; }
.collab-hero p { max-width:760px; margin:0; color:rgba(255,255,255,.82); line-height:1.65; }
.collab-hero .panel-kicker { color:#cfc0ff; }
.collab-hero .btn { flex:0 0 auto; color:#2c145c; background:#fff; border-color:#fff; }
.collab-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.collab-stats article { display:grid; gap:4px; padding:20px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:var(--shadow-soft); }
.collab-stats span,.collab-stats small { color:var(--text-soft); font-size:11px; }
.collab-stats span { font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.collab-stats strong { color:var(--heading); font-size:29px; line-height:1; }
.collab-requirement-picker { display:flex; align-items:end; justify-content:space-between; gap:25px; margin-bottom:18px; padding:23px; }
.collab-requirement-picker h2,.collab-side-stack h2,.collab-calendar-panel h2,.collab-feedback-grid h2 { margin:4px 0 6px; color:var(--heading); font-size:20px; }
.collab-requirement-picker p,.collab-side-stack > .app-card > p,.collab-calendar-panel .section-heading p,.collab-feedback-grid > .app-card > p { margin:0; color:var(--text-soft); font-size:12px; }
.collab-requirement-picker form { display:grid; min-width:min(580px,55%); grid-template-columns:minmax(280px,1fr) auto; align-items:end; gap:12px; }
.collab-requirement-picker label,.stack-form label,.feedback-form label { display:grid; gap:6px; color:var(--heading); font-size:11px; font-weight:800; }
.collab-requirement-picker select,.stack-form select,.stack-form textarea,.feedback-form select,.feedback-form textarea,.private-feed-reveal input { width:100%; border:1px solid var(--line); border-radius:11px; padding:11px 12px; color:var(--heading); background:#fff; font:inherit; font-weight:500; }
.collab-context { display:flex; justify-content:space-between; gap:20px; margin-bottom:18px; padding:24px 26px; border-radius:19px; color:#fff; background:linear-gradient(110deg,#32156c,#6a35d7); }
.collab-context span { font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; opacity:.75; }
.collab-context h2 { margin:5px 0; color:#fff; font-size:24px; }
.collab-context p { margin:0; color:rgba(255,255,255,.78); }
.collab-context dl { display:flex; align-items:center; gap:28px; margin:0; }
.collab-context dl div { display:grid; gap:5px; }
.collab-context dt { color:rgba(255,255,255,.68); font-size:10px; font-weight:800; text-transform:uppercase; }
.collab-context dd { margin:0; font-weight:800; }
.collab-main-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(330px,.6fr); gap:18px; margin-bottom:18px; }
.collab-main-grid > .app-card,.collab-side-stack > .app-card,.collab-calendar-panel,.collab-feedback-grid > .app-card { padding:23px; }
.section-heading { display:flex; align-items:start; justify-content:space-between; gap:18px; }
.section-heading h2 { margin:4px 0 5px; color:var(--heading); font-size:20px; }
.section-heading p { margin:0; color:var(--text-soft); font-size:12px; }
.count-pill { min-width:30px; padding:6px 9px; border-radius:20px; color:var(--purple); background:#eee7fb; font-size:11px; font-weight:900; text-align:center; }
.collab-timeline { position:relative; display:grid; gap:0; margin-top:18px; padding-left:9px; }
.collab-timeline::before { position:absolute; top:10px; bottom:10px; left:20px; width:2px; content:""; background:#e8e0f3; }
.timeline-event { position:relative; display:grid; grid-template-columns:40px 1fr; gap:12px; padding:0 0 22px; }
.timeline-dot { z-index:1; display:grid; width:25px; height:25px; margin-top:1px; place-items:center; border:4px solid #fff; border-radius:50%; color:#fff; background:#6b35d4; box-shadow:0 0 0 1px #dcd0ef; font-size:8px; }
.source-comment .timeline-dot { background:#0d8dd8; }.source-feedback .timeline-dot { background:#f59e0b; }.source-requirement .timeline-dot { background:#16a36a; }
.timeline-meta { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.timeline-meta strong { color:var(--heading); font-size:12px; }.timeline-meta time { color:var(--text-soft); font-size:10px; white-space:nowrap; }
.timeline-event p { margin:5px 0; color:var(--text); font-size:12px; line-height:1.55; }.timeline-event small { color:var(--text-soft); font-size:10px; }
.collab-side-stack { display:grid; align-content:start; gap:18px; }.stack-form { display:grid; gap:13px; margin-top:18px; }.stack-form label span small { color:var(--text-soft); font-weight:500; }
.collab-comment-list { max-height:760px; overflow:auto; }.comment-card { margin-top:13px; padding:15px; border:1px solid var(--line); border-radius:14px; background:#fbfaff; }
.comment-card.is-resolved { opacity:.72; background:#f7faf8; }.comment-card > div { display:flex; justify-content:space-between; gap:10px; }.comment-card > div strong { color:var(--heading); font-size:12px; }.comment-card > div span { color:var(--text-soft); font-size:9px; text-align:right; }
.comment-card p { margin:10px 0; color:var(--text); font-size:12px; line-height:1.55; }.comment-card footer,.feed-list article { display:flex; align-items:center; justify-content:space-between; gap:12px; }.comment-card footer > span { color:var(--text-soft); font-size:9px; }.comment-card footer form { margin:0; }.comment-card footer button,.feed-list button { border:0; color:var(--purple); background:transparent; font-size:10px; font-weight:800; cursor:pointer; }
.collab-calendar-panel { margin-bottom:18px; }.private-feed-reveal { display:grid; gap:6px; margin-top:17px; padding:16px; border:1px solid #b8ddf5; border-radius:14px; background:#edf8ff; }.private-feed-reveal strong { color:#075985; }.private-feed-reveal p { margin:0; color:#36657f; font-size:11px; }.private-feed-reveal input { margin-top:5px; font-family:monospace; font-size:10px; }
.calendar-actions { display:flex; align-items:center; gap:15px; margin:18px 0; }.calendar-actions small { color:var(--text-soft); }.interview-calendar-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.interview-calendar-grid > article { display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:13px; padding:15px; border:1px solid var(--line); border-radius:15px; background:#fff; }.interview-calendar-grid time { display:grid; place-items:center; padding:8px; border-radius:11px; color:var(--purple); background:#f1eafd; font-size:9px; text-transform:uppercase; }.interview-calendar-grid time strong { font-size:21px; line-height:1; }.interview-calendar-grid h3 { margin:0 0 4px; color:var(--heading); font-size:13px; }.interview-calendar-grid p { margin:0 0 3px; color:var(--text); font-size:10px; }.interview-calendar-grid span { color:var(--text-soft); font-size:9px; }.interview-calendar-grid nav { display:grid; gap:4px; }.interview-calendar-grid nav a { color:var(--purple); font-size:9px; font-weight:800; text-decoration:none; }.feed-list { display:grid; gap:9px; margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }.feed-list h3 { margin:0; color:var(--heading); font-size:13px; }.feed-list article { padding:10px 12px; border-radius:11px; background:#f8f6fb; }.feed-list article div { display:grid; gap:2px; }.feed-list strong { color:var(--heading); font-size:11px; }.feed-list small { color:var(--text-soft); font-size:9px; }
.collab-feedback-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(350px,.8fr); gap:18px; }.feedback-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-top:18px; }.feedback-form .wide { grid-column:1/-1; }.feedback-history { max-height:900px; overflow:auto; }.feedback-history > article { margin-top:13px; padding:16px; border:1px solid var(--line); border-radius:15px; background:#fff; }.feedback-history header { display:flex; justify-content:space-between; gap:15px; }.feedback-history header div { display:grid; gap:3px; }.feedback-history header strong { color:var(--heading); font-size:13px; }.feedback-history header span,.feedback-history > article > small { color:var(--text-soft); font-size:9px; }.feedback-history header b { color:#fff; padding:7px 9px; border-radius:9px; background:#6b35d4; font-size:11px; }.feedback-history dl { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin:13px 0; }.feedback-history dl div { display:grid; gap:2px; padding:8px; border-radius:8px; background:#f7f3fc; }.feedback-history dt { color:var(--text-soft); font-size:8px; text-transform:uppercase; }.feedback-history dd { margin:0; color:var(--heading); font-size:10px; font-weight:800; }.feedback-history p { color:var(--text); font-size:11px; line-height:1.55; }.muted-copy { color:var(--text-soft); font-size:12px; }
@media (max-width:1100px){.collab-stats{grid-template-columns:repeat(2,1fr)}.collab-main-grid,.collab-feedback-grid{grid-template-columns:1fr}.collab-requirement-picker{align-items:stretch;flex-direction:column}.collab-requirement-picker form{min-width:0;width:100%}}
@media (max-width:720px){.collab-hero{align-items:stretch;flex-direction:column;padding:23px}.collab-hero .btn{width:100%}.collab-context{align-items:stretch;flex-direction:column}.collab-context dl{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.interview-calendar-grid{grid-template-columns:1fr}.collab-requirement-picker form,.feedback-form{grid-template-columns:1fr}.feedback-form .wide{grid-column:auto}.section-heading{align-items:stretch;flex-direction:column}.collab-calendar-panel .section-heading .btn{width:100%}.timeline-meta{align-items:start;flex-direction:column;gap:3px}.feedback-history dl{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.collab-stats{grid-template-columns:1fr 1fr}.collab-stats article{padding:15px}.collab-main-grid > .app-card,.collab-side-stack > .app-card,.collab-calendar-panel,.collab-feedback-grid > .app-card{padding:17px}.interview-calendar-grid > article{grid-template-columns:50px 1fr}.interview-calendar-grid nav{grid-column:1/-1;grid-template-columns:repeat(3,1fr);padding-top:8px;border-top:1px solid var(--line)}.collab-context dl{grid-template-columns:1fr 1fr}}

/* v2.1 talent pools, consent and engagement */
.talent-hero,.candidate-consent-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:30px;border-radius:22px;color:#fff;background:linear-gradient(120deg,#24104f,#5b2cc9)}.talent-hero h1,.candidate-consent-hero h1{margin:4px 0 8px;color:#fff;font-size:30px}.talent-hero p,.candidate-consent-hero p{max-width:780px;margin:0;color:#e9ddff;font-size:13px;line-height:1.65}.talent-hero .panel-kicker,.candidate-consent-hero .panel-kicker{color:#d7c2ff}.talent-hero .btn{border-color:#8f6ee0;color:#fff;background:#ffffff12}.talent-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.talent-stats article{display:grid;gap:4px;padding:19px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.talent-stats span{color:var(--text-soft);font-size:10px;font-weight:800;text-transform:uppercase}.talent-stats strong{color:var(--heading);font-size:25px}.talent-stats small{color:var(--text-soft);font-size:9px}.talent-top-grid,.talent-member-grid,.talent-campaign-grid,.candidate-consent-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.7fr);gap:18px;margin-bottom:18px}.talent-top-grid>.app-card,.talent-member-grid>.app-card,.talent-campaign-grid>.app-card,.talent-member-list,.campaign-recipient-list,.candidate-consent-grid>.app-card,.consent-explainer{padding:23px}.talent-pool-picker form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:15px}.talent-pool-picker label,.inline-search label,.tag-form label,.campaign-form label,.preference-form>label{display:grid;gap:6px;color:var(--heading);font-size:10px;font-weight:800}.talent-pool-picker select,.talent-pool-picker input,.inline-search input,.tag-form input,.campaign-form input,.campaign-form select,.campaign-form textarea,.preference-form input,.member-secondary-actions select{width:100%;border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:#fff;color:var(--heading);font:inherit}.talent-pool-context{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:18px;padding:17px;border-radius:14px;background:#f7f3fc}.talent-pool-context span{color:#6b35d4;font-size:9px;font-weight:900}.talent-pool-context h3{margin:3px 0;color:var(--heading);font-size:18px}.talent-pool-context p{margin:0;color:var(--text-soft);font-size:10px}.talent-pool-context dl{display:flex;gap:16px;margin:0}.talent-pool-context dl div{display:grid;gap:2px}.talent-pool-context dt{color:var(--text-soft);font-size:8px;text-transform:uppercase}.talent-pool-context dd{margin:0;color:var(--heading);font-size:10px;font-weight:800}.inline-search{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;margin:15px 0}.talent-tag-cloud{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.talent-tag-cloud span{padding:7px 9px;border:1px solid color-mix(in srgb,var(--tag-color) 35%,white);border-radius:999px;color:var(--tag-color);background:color-mix(in srgb,var(--tag-color) 7%,white);font-size:9px;font-weight:800}.talent-tag-cloud small{margin-left:4px}.tag-form{display:grid;grid-template-columns:1fr 75px auto;align-items:end;gap:9px}.tag-form input[type=color]{height:40px;padding:4px}.talent-member-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:15px}.talent-member-card{padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff}.talent-member-card header{display:flex;align-items:start;justify-content:space-between;gap:12px}.talent-member-card header div{display:grid;gap:3px}.talent-member-card header strong{color:var(--heading);font-size:13px}.talent-member-card header span,.talent-member-card>p,.member-tags{color:var(--text-soft);font-size:9px}.consent-state{display:inline-flex;align-items:center;padding:7px 9px;border-radius:999px;color:#9f1239;background:#fff1f2;font-size:8px;font-weight:900;white-space:nowrap}.consent-state.is-ready{color:#08754a;background:#e9fff4}.channel-state{display:flex;gap:6px;margin:12px 0}.channel-state span{padding:5px 8px;border-radius:999px;color:#8b849c;background:#f2eff6;font-size:8px;font-weight:800}.channel-state span.on{color:#5b2cc9;background:#eee6ff}.member-tags{display:block;margin-bottom:10px}.talent-member-card details{border-top:1px solid var(--line);padding-top:10px}.talent-member-card summary{cursor:pointer;color:#5b2cc9;font-size:9px;font-weight:800}.preference-form{display:grid;gap:9px;margin-top:12px;padding:12px;border-radius:12px;background:#faf8fd}.preference-channels{display:flex;flex-wrap:wrap;gap:10px}.preference-form .check-control{display:flex}.member-secondary-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.member-secondary-actions form{display:flex;gap:7px}.campaign-form{display:grid;grid-template-columns:1fr 180px;gap:12px;margin-top:15px}.campaign-form .wide{grid-column:1/-1}.campaign-history{max-height:850px;overflow:auto}.campaign-card{margin-top:12px;padding:15px;border:1px solid var(--line);border-radius:14px}.campaign-card.is-selected{border-color:#9b79e8;box-shadow:0 0 0 3px #f1ebff}.campaign-card header{display:flex;justify-content:space-between;gap:12px}.campaign-card header div{display:grid;gap:3px}.campaign-card header strong{color:var(--heading);font-size:12px}.campaign-card header span{color:var(--text-soft);font-size:8px}.campaign-card header b{color:#5b2cc9;font-size:9px}.campaign-card dl{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.campaign-card dl div{padding:7px;border-radius:8px;background:#f7f3fc}.campaign-card dt{color:var(--text-soft);font-size:7px;text-transform:uppercase}.campaign-card dd{margin:2px 0 0;color:var(--heading);font-size:11px;font-weight:900}.campaign-card p{display:-webkit-box;overflow:hidden;color:var(--text-soft);font-size:9px;-webkit-box-orient:vertical;-webkit-line-clamp:3}.campaign-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.campaign-card footer form{display:flex;gap:7px}.campaign-card footer input{max-width:180px;border:1px solid var(--line);border-radius:9px;padding:7px;font-size:9px}.campaign-recipient-list{margin-bottom:18px}.campaign-recipient-list td strong,.campaign-recipient-list td small{display:block}.candidate-consent-hero>.consent-state{font-size:10px}.candidate-consent-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.65fr)}.candidate-preference-form{display:grid;gap:18px;margin-top:18px}.master-consent{display:flex;gap:12px;padding:17px;border:1px solid #d8c7ff;border-radius:14px;background:#faf8ff}.master-consent input,.candidate-channel-options input{width:18px;height:18px;accent-color:#5b2cc9}.master-consent span{display:grid;gap:3px}.master-consent strong{color:var(--heading);font-size:12px}.master-consent small{color:var(--text-soft);font-size:9px}.candidate-channel-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.candidate-channel-options label{position:relative}.candidate-channel-options input{position:absolute;right:12px;top:12px}.candidate-channel-options label>span{display:grid;gap:5px;min-height:110px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.candidate-channel-options i{color:#5b2cc9;font-size:18px}.candidate-channel-options strong{color:var(--heading);font-size:11px}.candidate-channel-options small{color:var(--text-soft);font-size:8px;word-break:break-word}.consent-history>article{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.consent-event-icon{display:grid;flex:0 0 30px;height:30px;place-items:center;border-radius:50%;color:#9f1239;background:#fff1f2}.consent-event-icon.is-granted{color:#08754a;background:#e9fff4}.consent-history article div{display:grid;gap:2px}.consent-history strong{color:var(--heading);font-size:10px}.consent-history p,.consent-history time{margin:0;color:var(--text-soft);font-size:8px}.consent-explainer{display:flex;align-items:center;gap:15px}.consent-explainer>div:first-child{display:grid;flex:0 0 48px;height:48px;place-items:center;border-radius:14px;color:#5b2cc9;background:#eee6ff;font-size:20px}.consent-explainer h2{margin:0 0 4px;color:var(--heading);font-size:16px}.consent-explainer p{margin:0;color:var(--text-soft);font-size:10px;line-height:1.6}
@media(max-width:1100px){.talent-top-grid,.talent-member-grid,.talent-campaign-grid,.candidate-consent-grid{grid-template-columns:1fr}.talent-member-cards{grid-template-columns:1fr}}
@media(max-width:720px){.talent-hero,.candidate-consent-hero,.talent-pool-context{align-items:stretch;flex-direction:column}.talent-stats{grid-template-columns:1fr 1fr}.talent-pool-picker form,.inline-search,.tag-form,.campaign-form{grid-template-columns:1fr}.campaign-form .wide{grid-column:auto}.talent-pool-context dl{display:grid;grid-template-columns:repeat(3,1fr)}.candidate-channel-options{grid-template-columns:1fr}.campaign-card footer,.member-secondary-actions{align-items:stretch;flex-direction:column}.campaign-card footer form,.member-secondary-actions form{width:100%;flex-wrap:wrap}.campaign-card footer input{max-width:none;flex:1}.talent-member-list,.campaign-recipient-list{padding:17px}.campaign-recipient-list .data-table-wrap{overflow:auto}}
@media(max-width:480px){.talent-hero,.candidate-consent-hero{padding:23px}.talent-stats article{padding:15px}.talent-member-card header{flex-direction:column}.talent-pool-context dl{grid-template-columns:1fr 1fr}.campaign-card dl{grid-template-columns:1fr 1fr}}

/* v2.5 workflow automation command center */
.workflow-command-hero,.notification-command-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:30px;border-radius:23px;color:#fff;background:linear-gradient(125deg,#1d0b42 0%,#4b22a0 58%,#176f8f 100%);box-shadow:0 18px 45px rgba(46,22,94,.22)}
.workflow-command-hero h1,.notification-command-hero h1{margin:5px 0 8px;color:#fff;font-size:30px}.workflow-command-hero p,.notification-command-hero p{max-width:800px;margin:0;color:#e7ddff;font-size:13px;line-height:1.65}.workflow-command-hero .panel-kicker,.notification-command-hero .panel-kicker{color:#ccecff}.workflow-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.workflow-hero-actions form{margin:0}.workflow-hero-actions .btn,.notification-command-hero .btn{white-space:nowrap}.notification-command-hero .page-breadcrumb,.notification-command-hero .page-breadcrumb a,.notification-command-hero .page-breadcrumb span{color:#e7ddff}
.workflow-command-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.workflow-command-metrics article{display:grid;gap:5px;padding:20px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-sm)}.workflow-command-metrics span{color:var(--text-soft);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.workflow-command-metrics strong{color:var(--heading);font-size:23px}.workflow-command-metrics small{color:var(--text-soft);font-size:9px}
.workflow-policy-section,.workflow-sla-section{margin-bottom:20px;padding:24px}.workflow-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.workflow-policy-card{padding:18px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(180deg,#fff,#fbfaff)}.workflow-policy-card.is-unhealthy{border-color:#f4a6a6;box-shadow:0 0 0 3px #fff0f0}.workflow-policy-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.workflow-policy-card>header>div{display:grid;gap:3px}.workflow-policy-card>header span{color:var(--purple);font-size:8px;font-weight:900;text-transform:uppercase}.workflow-policy-card>header strong{color:var(--heading);font-size:14px}.workflow-policy-card>header small,.workflow-policy-card>p{color:var(--text-soft);font-size:9px}.workflow-policy-card>p{min-height:32px;line-height:1.55}.workflow-policy-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0}.workflow-policy-card dl div{padding:9px;border-radius:9px;background:#f5f1fa}.workflow-policy-card dt{color:var(--text-soft);font-size:7px;text-transform:uppercase}.workflow-policy-card dd{margin:3px 0 0;color:var(--heading);font-size:9px;font-weight:800;overflow-wrap:anywhere}.workflow-policy-form{display:grid;gap:10px;padding-top:13px;border-top:1px solid var(--line)}.workflow-policy-form>label,.workflow-number-grid label,.workflow-filter-form label,.sla-ack-menu label,.channel-policy-form>label,.quiet-hours label,.bulk-retry-form label,.notification-test-form label,.template-preview-form label{display:grid;gap:5px;color:var(--heading);font-size:9px;font-weight:800}.workflow-policy-form select,.workflow-policy-form input,.workflow-filter-form select,.sla-ack-menu input,.sla-ack-menu textarea,.channel-policy-form input,.channel-policy-form select,.bulk-retry-form select,.notification-test-form input,.notification-test-form select,.template-preview-form select{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:#fff;color:var(--heading);font:inherit}.workflow-number-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.workflow-policy-form .check-control,.channel-policy-form .check-control{display:flex;align-items:center;gap:8px}.workflow-policy-form .check-control input,.channel-policy-form .check-control input{width:auto}.run-policy-form{margin:9px 0 0}.run-policy-form .btn{width:100%}
.workflow-filter-form{display:grid;grid-template-columns:minmax(170px,.5fr) minmax(190px,.7fr) auto;align-items:end;gap:10px;margin:16px 0}.workflow-sla-table td strong,.workflow-sla-table td small{display:block}.workflow-sla-table td small{color:var(--text-soft);font-size:9px}.sla-ack-menu{position:relative}.sla-ack-menu>summary{list-style:none;cursor:pointer}.sla-ack-menu>form{position:absolute;z-index:8;right:0;display:grid;gap:9px;width:290px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 16px 35px rgba(35,18,75,.18)}.sla-ack-menu textarea{min-height:76px;resize:vertical}.workflow-evidence-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:20px}.workflow-evidence-grid>.app-card{min-width:0;padding:23px}.workflow-event-panel{max-height:760px;overflow:auto}.workflow-event-panel ol{display:grid;gap:0;margin:15px 0 0;padding:0;list-style:none}.workflow-event-panel li{position:relative;display:grid;grid-template-columns:14px 1fr;gap:11px;padding-bottom:15px}.workflow-event-panel li>span{width:10px;height:10px;margin-top:4px;border:2px solid #8b65db;border-radius:50%;background:#fff}.workflow-event-panel li:not(:last-child)::before{content:"";position:absolute;left:4px;top:14px;bottom:0;width:2px;background:#e9e1f8}.workflow-event-panel li div{display:grid;gap:2px}.workflow-event-panel strong{color:var(--heading);font-size:11px}.workflow-event-panel small,.workflow-event-panel time{color:var(--text-soft);font-size:8px}.workflow-event-panel p{margin:4px 0;color:var(--text);font-size:9px;line-height:1.5}
.channel-policy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.channel-policy-card{min-width:0;padding:20px}.channel-policy-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.channel-policy-card>header>div{display:flex;align-items:center;gap:10px;min-width:0}.channel-policy-card>header>div>div{display:grid;gap:3px;min-width:0}.channel-policy-card>header strong{color:var(--heading);font-size:14px}.channel-policy-card>header small{color:var(--text-soft);font-size:8px}.channel-icon{display:grid;flex:0 0 38px;height:38px;place-items:center;border-radius:11px;color:#5b2cc9;background:#eee7fc}.channel-readiness{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.channel-readiness span{padding:6px 8px;border-radius:999px;color:var(--text-soft);background:#f5f2f9;font-size:8px;font-weight:800}.channel-policy-form{display:grid;gap:10px;padding-top:13px;border-top:1px solid var(--line)}.quiet-hours{display:grid;grid-template-columns:1fr 1fr;gap:8px}.notification-ops-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);gap:18px}.notification-ops-grid>.panel-card{padding:22px}.notification-config-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.notification-config-facts span{display:grid;gap:3px;padding:10px;border-radius:10px;color:var(--text-soft);background:#f6f3fa;font-size:8px}.notification-config-facts strong{color:var(--heading);font-size:10px;overflow-wrap:anywhere}.bulk-retry-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;margin-top:15px}.notification-test-form{padding:0}.template-preview-form{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:end;gap:10px;padding:0 20px 20px}.template-preview{margin:0 20px 20px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#faf8fd}.template-preview small{color:var(--text-soft);font-size:8px;text-transform:uppercase}.template-preview h3{margin:7px 0;color:var(--heading);font-size:14px}.template-preview div{color:var(--text);font-size:10px;white-space:pre-wrap}
@media(max-width:1200px){.workflow-command-metrics{grid-template-columns:repeat(2,1fr)}.workflow-policy-grid{grid-template-columns:1fr}.channel-policy-grid{grid-template-columns:1fr 1fr}.workflow-evidence-grid{grid-template-columns:1fr}.workflow-event-panel{max-height:none}}
@media(max-width:850px){.workflow-command-hero,.notification-command-hero{align-items:stretch;flex-direction:column}.workflow-hero-actions,.workflow-hero-actions form,.workflow-hero-actions .btn,.notification-command-hero .page-actions,.notification-command-hero .btn{width:100%}.notification-ops-grid{grid-template-columns:1fr}.channel-policy-grid{grid-template-columns:1fr}.workflow-filter-form,.template-preview-form{grid-template-columns:1fr}.notification-config-facts{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.workflow-command-hero,.notification-command-hero{padding:23px}.workflow-command-hero h1,.notification-command-hero h1{font-size:25px}.workflow-command-metrics{grid-template-columns:1fr 1fr}.workflow-policy-section,.workflow-sla-section{padding:17px}.workflow-policy-card dl,.workflow-number-grid{grid-template-columns:1fr 1fr}.sla-ack-menu>form{position:fixed;right:14px;bottom:14px;left:14px;width:auto}.bulk-retry-form{grid-template-columns:1fr}.bulk-retry-form .btn{width:100%}.notification-config-facts{grid-template-columns:1fr}.quiet-hours{grid-template-columns:1fr}.workflow-sla-section .table-responsive{overflow:auto}.workflow-sla-table{min-width:850px}}

/* v2.2 workforce operations and payroll */
.workforce-hero{background:linear-gradient(135deg,#26104f 0%,#5428a6 62%,#7a4ed1 100%)}
.workforce-metrics article{position:relative;overflow:hidden}.workforce-metrics article::after{content:"";position:absolute;width:72px;height:72px;border-radius:50%;right:-26px;bottom:-30px;background:rgba(91,44,201,.08)}
.workforce-control-grid,.workforce-run-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:20px;margin-bottom:20px}.compact-form{align-items:end}.compact-form .btn{min-height:46px}
.workforce-employee-list,.payroll-item-list{display:grid;gap:14px}.workforce-employee-card,.payroll-item,.payslip-card{border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#fbfaff);padding:18px;box-shadow:var(--shadow-sm)}
.workforce-employee-card>header,.payroll-item>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:15px}.workforce-employee-card header strong,.payroll-item header strong{display:block;color:var(--heading);font-size:1rem}.workforce-employee-card header span,.payroll-item header span{display:block;color:var(--text-soft);font-size:.83rem;margin-top:4px}
.attendance-grid{display:grid;grid-template-columns:repeat(5,minmax(92px,1fr)) minmax(170px,1.5fr) auto;gap:10px;align-items:end}.attendance-grid label{margin:0}.attendance-grid label span{display:block;font-size:.75rem;font-weight:800;color:var(--text-soft);margin-bottom:5px}.attendance-grid input{width:100%}.inline-approval{display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}
.status-pill.success{color:#087443;background:#e9fbf2}.status-pill.warning{color:#9a5d00;background:#fff6df}.record-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 0}.record-summary div{padding:11px 12px;border-radius:12px;background:#f8f6fc}.record-summary dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-soft);font-weight:800}.record-summary dd{margin:4px 0 0;color:var(--heading);font-weight:800}.run-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.run-actions form{margin:0}
.payroll-item>header>b{font-size:1rem;color:var(--purple)}.payroll-item dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.payroll-item dl div{background:#f8f6fc;border-radius:10px;padding:9px}.payroll-item dt{font-size:.7rem;text-transform:uppercase;color:var(--text-soft);font-weight:800}.payroll-item dd{margin:4px 0 0;font-weight:800;color:var(--heading)}.adjustment-form{display:grid;grid-template-columns:150px minmax(170px,1fr) 130px auto;gap:9px;align-items:center;margin:14px 0}.adjustment-form select,.adjustment-form input{margin:0}
.payslip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.payslip-card header{display:flex;justify-content:space-between;align-items:flex-start}.payslip-card header div{display:grid;width:62px;text-align:center;border-radius:14px;overflow:hidden;border:1px solid #ded5ef}.payslip-card header span{background:var(--purple);color:#fff;font-size:.72rem;text-transform:uppercase;padding:5px}.payslip-card header strong{padding:8px;color:var(--purple)}.payslip-card header b{font-size:.72rem;background:#e9fbf2;color:#087443;padding:6px 9px;border-radius:999px}.payslip-card h3{font-size:1rem;margin:15px 0 4px}.payslip-card p{color:var(--text-soft);font-size:.82rem;min-height:40px}.payslip-card dl{display:grid;gap:7px;margin:14px 0}.payslip-card dl div{display:flex;justify-content:space-between;gap:10px;padding-bottom:7px;border-bottom:1px solid #eee9f6}.payslip-card dt{color:var(--text-soft)}.payslip-card dd{margin:0;font-weight:800;color:var(--heading)}
.compliance-note{display:flex;gap:16px;align-items:flex-start;margin-top:20px}.compliance-note>i{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#f0eafa;color:var(--purple);font-size:1.1rem}.compliance-note h2{font-size:1rem;margin:0 0 5px}.compliance-note p{margin:0;color:var(--text-soft)}
@media(max-width:1200px){.attendance-grid{grid-template-columns:repeat(3,minmax(100px,1fr))}.attendance-note{grid-column:span 2}.payslip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.workforce-control-grid,.workforce-run-grid{grid-template-columns:1fr}.payroll-item dl{grid-template-columns:repeat(2,minmax(0,1fr))}.adjustment-form{grid-template-columns:1fr 1fr}.adjustment-form .btn{grid-column:span 2}}
@media(max-width:640px){.attendance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-note,.attendance-grid .btn{grid-column:span 2}.workforce-employee-card>header,.payroll-item>header{flex-direction:column}.record-summary{grid-template-columns:1fr}.payslip-grid{grid-template-columns:1fr}.payroll-item dl{grid-template-columns:1fr 1fr}.adjustment-form{grid-template-columns:1fr}.adjustment-form .btn{grid-column:auto}.run-actions,.run-actions form,.run-actions .btn{width:100%}}

/* v2.7 governed offer and ATS operations */
.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ats-duplicate-list .ats-merge-form{grid-template-columns:1fr;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}.ats-merge-form label{display:grid;gap:5px}.ats-merge-form label>span{color:var(--text-soft);font-size:9px;font-weight:800}.ats-merge-form .btn{justify-self:start}
.ats-merged-state{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;background:#f4f1f8}.ats-merged-state small{color:var(--text-soft)}
@media(max-width:850px){.field-grid.three{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.field-grid.three{grid-template-columns:1fr}}

/* v2.10 installable PWA */
.pwa-offline-banner{position:fixed;z-index:1200;top:0;right:0;left:0;padding:9px 18px;color:#fff;background:#8b4b00;box-shadow:0 8px 24px rgba(50,27,0,.2);font-size:12px;font-weight:800;text-align:center}
.pwa-offline-banner[hidden]{display:none}.is-offline .site-header,.is-offline .app-topbar{top:36px}
.pwa-install-trigger{position:fixed;z-index:205;left:24px;bottom:24px;min-height:44px;padding:10px 17px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:#fff;background:#5d2ebd;box-shadow:0 14px 34px rgba(54,23,116,.3);font:inherit;font-size:11px;font-weight:850;cursor:pointer}.pwa-install-trigger:hover{background:#472092;transform:translateY(-2px)}.pwa-install-trigger[hidden],.pwa-standalone .pwa-install-trigger{display:none}.dashboard-shell .pwa-install-trigger{right:24px;left:auto}
.pwa-notice{position:fixed;z-index:1100;top:82px;right:22px;display:grid;max-width:min(390px,calc(100vw - 28px));grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:15px 14px 15px 18px;border:1px solid #d7c8f0;border-radius:16px;color:#2d174d;background:#fff;box-shadow:0 20px 55px rgba(36,16,79,.22);font-size:12px;font-weight:700}.pwa-notice>button:not(.pwa-notice-close){border:0;border-radius:10px;padding:9px 12px;color:#fff;background:#5d2ebd;font:inherit;font-size:10px;font-weight:850;white-space:nowrap;cursor:pointer}.pwa-notice-close{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:50%;color:#72697b;background:#f2eff6;font-size:19px;line-height:1;cursor:pointer}
@media(max-width:760px){.pwa-install-trigger,.dashboard-shell .pwa-install-trigger{right:14px;bottom:calc(76px + env(safe-area-inset-bottom));left:auto}.pwa-notice{top:72px;right:14px;left:14px;max-width:none}.is-offline .site-header,.is-offline .app-topbar{top:45px}}
@media print{.pwa-offline-banner,.pwa-install-trigger,.pwa-notice{display:none!important}}

/* v3.0 subscription commerce, entitlement dashboards and governance */
.pricing-hero,.subscription-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:38px;border-radius:26px;color:#fff;background:linear-gradient(125deg,#210d4b,#6030c4 62%,#14849a);box-shadow:0 22px 55px rgba(43,19,91,.22)}.pricing-hero h1,.subscription-admin-hero h1{margin:6px 0 10px;color:#fff;font-size:clamp(30px,5vw,48px)}.pricing-hero p,.subscription-admin-hero p{max-width:780px;margin:0;color:#e9e0ff;line-height:1.7}.pricing-hero .eyebrow,.subscription-admin-hero .panel-kicker{color:#bcecff}.pricing-hero-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;min-width:260px}.pricing-tabs{display:flex;justify-content:center;gap:8px;margin:28px auto 20px}.pricing-tabs a{padding:11px 18px;border:1px solid #d9cef0;border-radius:999px;color:var(--purple);background:#fff;font-size:12px;font-weight:850;text-decoration:none}.pricing-tabs a.is-active{color:#fff;background:var(--purple)}.pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;align-items:stretch}.pricing-card{position:relative;display:flex;flex-direction:column;padding:23px;border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:var(--shadow-sm)}.pricing-card.is-featured{border-color:#6c38d2;box-shadow:0 18px 45px rgba(82,41,169,.18);transform:translateY(-5px)}.plan-badge{position:absolute;top:-12px;right:18px;padding:6px 10px;border-radius:999px;color:#fff;background:#6b35d4;font-size:9px;font-weight:900;text-transform:uppercase}.pricing-card h2{margin:5px 0;color:var(--heading);font-size:21px}.pricing-card>p{min-height:57px;color:var(--text-soft);font-size:11px;line-height:1.55}.plan-price{display:flex;align-items:baseline;gap:4px;margin:12px 0 4px;color:var(--heading)}.plan-price strong{font-size:31px}.plan-price del{margin-left:5px;color:var(--text-soft);font-size:12px}.plan-validity{color:var(--text-soft);font-size:10px}.plan-feature-list{display:grid;gap:9px;margin:18px 0;padding:0;list-style:none}.plan-feature-list li{display:grid;grid-template-columns:18px 1fr;gap:7px;color:var(--text);font-size:11px}.plan-feature-list i{color:#12a66a}.pricing-card .btn{margin-top:auto}.pricing-card details{margin:12px 0}.pricing-card summary,.admin-plan-card summary{color:var(--purple);font-size:10px;font-weight:850;cursor:pointer}.comparison-table{width:100%;min-width:740px}.comparison-table td:first-child{font-weight:800}.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.faq-grid details{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}.faq-grid summary{color:var(--heading);font-weight:800;cursor:pointer}.faq-grid p{color:var(--text-soft);font-size:12px;line-height:1.6}.subscription-current-card{display:flex;justify-content:space-between;gap:28px;margin-bottom:20px;padding:28px;border-radius:22px;color:#fff;background:linear-gradient(125deg,#291054,#6b35d4)}.subscription-current-card h2{margin:9px 0 5px;color:#fff}.subscription-current-card p{margin:0;color:#e8ddff}.subscription-current-meta{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px}.subscription-current-meta div{display:grid;gap:5px;padding:13px;border-radius:13px;background:#ffffff12}.subscription-current-meta span{color:#ddd0fa;font-size:9px;text-transform:uppercase}.subscription-current-meta strong{font-size:12px}.usage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.usage-card{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.usage-card-head{display:flex;justify-content:space-between;gap:12px}.usage-card-head>div{display:grid;gap:5px}.usage-card-head span{color:var(--text-soft);font-size:9px;font-weight:800;text-transform:uppercase}.usage-card-head strong{color:var(--heading);font-size:15px}.usage-reset{align-self:start;padding:5px 7px;border-radius:999px;background:#f1ebfa}.usage-progress{height:7px;margin:13px 0 7px;overflow:hidden;border-radius:99px;background:#eee8f7}.usage-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5b2cc9,#11a68c)}.usage-card small{color:var(--text-soft);font-size:9px}.dashboard-split,.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.data-panel,.subscription-actions-panel{padding:19px;border:1px solid var(--line);border-radius:16px;background:#fff}.data-panel h3{margin-top:0;color:var(--heading)}.subscription-actions-panel{display:flex;align-items:start;justify-content:space-between;gap:25px}.subscription-actions-panel form{display:grid;gap:8px;min-width:300px}.checkout-grid{align-items:start}.checkout-form,.order-summary{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.checkout-form{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.checkout-form label,.subscription-admin-form label{display:grid;gap:5px;color:var(--heading);font-size:10px;font-weight:800}.checkout-form input,.checkout-form textarea,.subscription-admin-form input,.subscription-admin-form select,.subscription-admin-form textarea,.subscription-admin-section select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff;color:var(--heading);font:inherit}.checkout-form .wide,.subscription-admin-form .wide{grid-column:1/-1}.checkout-form .check-control,.subscription-admin-form .check-control{display:flex;align-items:center;gap:8px}.checkout-form .check-control input,.subscription-admin-form .check-control input{width:auto}.order-summary{position:sticky;top:90px}.order-summary dl{display:grid;gap:9px}.order-summary dl div{display:flex;justify-content:space-between;gap:15px}.order-summary .total{padding-top:12px;border-top:1px solid var(--line);font-size:17px}.business-terms{padding-left:18px;color:var(--text-soft);font-size:10px;line-height:1.6}.payment-result{max-width:720px;margin:60px auto;padding:36px;border:1px solid var(--line);border-radius:22px;background:#fff;text-align:center;box-shadow:var(--shadow-sm)}.payment-result>i{font-size:45px;color:#6b35d4}.payment-result.is-success>i{color:#0a9a61}.payment-result.is-failed>i{color:#cf3349}.subscription-admin-hero{margin-bottom:18px;padding:30px}.subscription-admin-hero h1{font-size:31px}.subscription-admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.subscription-admin-stats article{display:grid;gap:5px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.subscription-admin-stats span{color:var(--text-soft);font-size:9px;font-weight:900;text-transform:uppercase}.subscription-admin-stats strong{color:var(--heading);font-size:24px}.subscription-admin-stats small{color:var(--text-soft);font-size:9px}.subscription-admin-section{padding:23px}.admin-editor{margin:16px 0}.admin-editor>summary{display:inline-flex;list-style:none}.subscription-admin-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#faf8fd}.subscription-admin-form textarea{min-height:75px}.subscription-admin-form fieldset{display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px}.subscription-admin-form fieldset legend{color:var(--heading);font-size:10px;font-weight:800}.subscription-admin-form.compact{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.admin-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-plan-card{padding:19px;border:1px solid var(--line);border-radius:17px;background:#fff}.admin-plan-card>header{display:flex;justify-content:space-between;gap:12px}.admin-plan-card h3{margin:4px 0;color:var(--heading)}.admin-plan-card header span,.admin-plan-card header small{color:var(--text-soft);font-size:8px}.admin-plan-card>p{color:var(--text-soft);font-size:10px}.admin-plan-price{display:block;margin-top:10px;color:var(--purple);font-size:21px}.admin-feature-list{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.admin-feature-list span{padding:6px 8px;border-radius:8px;background:#f3eff9;color:var(--text);font-size:8px}.admin-feature-list b{color:var(--purple)}.subscription-admin-table td small,.app-table td small{display:block;margin-top:3px;color:var(--text-soft);font-size:8px}.admin-action-menu{position:relative}.admin-action-menu>summary{color:var(--purple);font-size:10px;font-weight:850;cursor:pointer}.admin-action-menu form{position:absolute;z-index:9;right:0;display:grid;gap:7px;width:240px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 35px rgba(34,16,76,.2)}.admin-action-menu input,.admin-action-menu select{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;font-size:10px}
@media(max-width:1200px){.pricing-grid{grid-template-columns:repeat(2,1fr)}.usage-grid{grid-template-columns:repeat(2,1fr)}.subscription-admin-form{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.pricing-hero,.subscription-admin-hero,.subscription-current-card,.subscription-actions-panel{align-items:stretch;flex-direction:column}.pricing-hero-actions{min-width:0}.subscription-current-meta,.subscription-admin-stats{grid-template-columns:repeat(2,1fr)}.dashboard-split,.checkout-grid,.admin-plan-grid{grid-template-columns:1fr}.order-summary{position:static}.subscription-actions-panel form{min-width:0}.faq-grid{grid-template-columns:1fr}}
@media(max-width:560px){.pricing-hero{padding:25px}.pricing-grid,.usage-grid,.subscription-current-meta,.subscription-admin-stats,.checkout-form,.subscription-admin-form,.subscription-admin-form.compact{grid-template-columns:1fr}.checkout-form .wide,.subscription-admin-form .wide{grid-column:auto}.pricing-tabs{align-items:stretch;flex-direction:column}.pricing-tabs a{text-align:center}.subscription-admin-section{padding:16px}.admin-action-menu form{position:fixed;right:12px;bottom:12px;left:12px;width:auto}}
@media print{.invoice-actions,.site-header,.app-sidebar,.app-topbar{display:none!important}.subscription-invoice{box-shadow:none!important;border:0!important}}

/* v3.0 template compatibility and printable invoice */
.pricing-tabs a.active{color:#fff;background:var(--purple)}.pricing-card.featured{border-color:#6c38d2;box-shadow:0 18px 45px rgba(82,41,169,.18);transform:translateY(-5px)}.pricing-card-head{display:grid;gap:5px}.pricing-card-head .plan-price{color:var(--purple);font-size:31px;font-weight:900}.pricing-card-head .plan-price span{font-size:16px}.pricing-card-actions{display:grid;gap:8px;margin-top:auto}.plan-badge.popular{background:#6b35d4}.plan-badge.current{position:static;display:inline-flex;margin-bottom:5px;color:#08754a;background:#e7faef}.secure-payment-note{margin-top:15px;color:#e5d9ff;font-size:11px}.comparison-wrap{overflow:auto;padding:5px}.comparison-no{color:var(--text-soft)}.faq-list{display:grid;gap:10px}.faq-list details{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}.subscription-terms{display:flex;gap:15px;padding:21px;border:1px solid #dacff0;border-radius:17px;background:#f8f5fd}.subscription-terms>i{color:var(--purple);font-size:23px}.subscription-terms h2{margin:0 0 5px;color:var(--heading);font-size:17px}.subscription-terms p{color:var(--text-soft);font-size:11px;line-height:1.65}.checkout-panel{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.checkout-form{display:flex;flex-direction:column;gap:7px;padding:0;border:0}.checkout-form>.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.checkout-form>.form-row>div{display:grid;gap:6px}.checkout-form .terms-check{display:flex;align-items:flex-start;gap:9px;margin:8px 0}.checkout-form .terms-check input{width:auto;margin-top:3px}.payment-security{color:var(--text-soft);font-size:9px;line-height:1.55;text-align:center}.order-summary>ul{display:grid;gap:7px;padding:0;list-style:none}.order-summary>ul i{margin-right:8px;color:#0c9c63}.coupon-box{margin:15px 0;padding:13px;border-radius:12px;background:#f7f4fb}.coupon-box form{display:grid;gap:6px}.coupon-box form>div{display:grid;grid-template-columns:1fr auto}.coupon-box input,.coupon-box button{border:1px solid var(--line);padding:9px;font:inherit}.coupon-box input{border-radius:9px 0 0 9px}.coupon-box button{border-radius:0 9px 9px 0;color:#fff;background:var(--purple)}.price-breakdown{display:grid;gap:8px}.price-breakdown div{display:flex;justify-content:space-between}.payment-result.success .payment-result-icon i{color:#0a9a61}.payment-result.failed .payment-result-icon i{color:#cf3349}.payment-result-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.payment-result-meta div{display:grid;gap:4px;padding:12px;border-radius:11px;background:#f7f4fb}.payment-result-meta span{color:var(--text-soft);font-size:8px;text-transform:uppercase}.print-document{max-width:900px;margin:25px auto;padding:42px;border:1px solid #ddd;border-radius:10px;background:#fff;box-shadow:0 20px 55px rgba(35,25,50,.12)}.print-header,.invoice-title,.invoice-parties{display:flex;justify-content:space-between;gap:25px}.print-header>div{display:grid;gap:3px}.print-header span,.invoice-title span,.invoice-parties span{color:#71697d;font-size:10px;text-transform:uppercase}.invoice-title{align-items:end;margin:38px 0 28px;padding-bottom:20px;border-bottom:2px solid #2c1758}.invoice-title h1{margin:0;color:#2c1758}.invoice-title p{margin:4px 0 0}.invoice-title>div:last-child,.invoice-parties>div{display:grid;gap:5px}.invoice-parties{margin-bottom:32px}.invoice-parties>div{flex:1}.invoice-parties p{margin:0;color:#655e6d;line-height:1.5}.invoice-lines{width:100%;border-collapse:collapse}.invoice-lines th,.invoice-lines td{padding:12px;border-bottom:1px solid #e7e2ed}.invoice-lines .invoice-total{font-size:17px;font-weight:900}.invoice-payment{margin:26px 0;padding:15px;border-radius:10px;background:#f7f4fb}.print-document footer{padding-top:16px;border-top:1px solid #ddd;color:#655e6d;font-size:10px;line-height:1.55}.text-end{text-align:right}
@media(max-width:600px){.checkout-form>.form-row,.payment-result-meta{grid-template-columns:1fr}.print-document{margin:0;padding:22px;border:0}.print-header,.invoice-title,.invoice-parties{flex-direction:column}.pricing-card.featured{transform:none}}
@media print{body{background:#fff}.print-document{max-width:none;margin:0;padding:0;border:0;box-shadow:none}.no-print,.pwa-install-trigger{display:none!important}}
