/* UK profiles, forms and administration share the original EduX navy/cyan theme. */
:root { color-scheme: dark; --wk-text: #ffffff; --wk-muted: #bfcbd6; --wk-line: rgba(0,206,209,.22); --wk-bg: #0d1b2a; --wk-soft: rgba(28,48,72,.9); --wk-accent: #00ced1; }
body.talent-directory-page, body.talent-register-page, body.edux-admin-page, body.uk-challenge-page { margin: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--wk-text); background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), #0d1b2a url("../edux/EduX Background Final.png") center / cover no-repeat fixed; line-height: 1.6; min-height: 100vh; }
body.talent-directory-page::before, body.talent-register-page::before { display: none; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #4ae0e3; outline-offset: 3px; }
.talent-directory-page .container { max-width: 1160px; padding: 32px 28px; margin: auto; }
.talent-directory-page .back-button, .talent-register-page .back-button { position: static; display: inline-flex; background: transparent; box-shadow: none; border: 1px solid var(--wk-line); border-radius: 9px; color: var(--wk-text); padding: 8px 14px; backdrop-filter: none; font-size: .8rem; margin-bottom: 24px; text-decoration: none; }
.talent-directory-page .back-button:hover, .talent-register-page .back-button:hover { background: var(--wk-soft); transform: none; box-shadow: none; border-color: rgba(0,206,209,.45); }
.talent-directory-page .header-section { text-align: left; padding: 16px 0 24px; background: none; border: 0; box-shadow: none; margin: 0; }
.talent-directory-page .header-section h1 { color: var(--wk-text); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; margin-bottom: 8px; }
.talent-directory-page .header-section p { color: var(--wk-muted); font-size: .9rem; max-width: 720px; margin: 0; }
.talent-directory-page .directory-toolbar { color: var(--wk-muted); font-size: .78rem; margin-bottom: 24px; }
.directory-add, .talent-directory-page .directory-add { color: #4ae0e3; }
.talent-directory-page .cards-container { background: transparent; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; }
.talent-directory-page #directory-status { color: var(--wk-muted); font-size: .8rem; }
.talent-directory-page .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.talent-directory-page .profile-card { color: var(--wk-text); background: rgba(20,35,55,.88); border: 1px solid var(--wk-line); border-radius: 16px; padding: 22px; min-height: 290px; box-shadow: none; gap: 16px; backdrop-filter: none; cursor: default; }
.talent-directory-page .profile-card:hover { transform: none; box-shadow: 0 4px 18px #00000006; border-color: #c7c7c7; }
.talent-directory-page .profile-avatar { background: rgba(28,48,72,.9); color: #4ae0e3; border-radius: 12px; width: 42px; height: 42px; font-size: 1.1rem; }
.talent-directory-page .profile-name { color: var(--wk-text); font-size: .95rem; margin: 0; }
.talent-directory-page .profile-affiliation { color: var(--wk-muted); font-size: .75rem; font-weight: 400; }
.talent-directory-page .profile-location { color: var(--wk-muted); font-size: .72rem; }
.talent-directory-page .profile-description { color: #d5dfe7; font-size: .82rem; -webkit-line-clamp: 3; }
.talent-directory-page .profile-skills { gap: 6px; }
.talent-directory-page .skill-tag { color: #4ae0e3; background: rgba(0,206,209,.12); border: 0; border-radius: 6px; padding: 4px 8px; font-size: .68rem; font-weight: 500; }
.talent-directory-page .profile-looking-for { color: #bfcbd6; font-size: .76rem; }
.talent-directory-page .profile-action { color: var(--wk-text); background: rgba(20,35,55,.88); border: 1px solid rgba(0,206,209,.3); border-radius: 9px; padding: 10px 14px; font-size: .76rem; box-shadow: none; }
.talent-directory-page .profile-action:hover { background: var(--wk-soft); transform: none; box-shadow: none; }
.talent-directory-page .footer { color: var(--wk-muted); border-top: 1px solid var(--wk-line); font-size: .73rem; margin-top: 40px; padding: 24px 0; }
.talent-directory-page .footer a { color: #c4d0dc; font-weight: 400; }
.talent-directory-page #directory-more, .talent-directory-page #directory-retry { color: var(--wk-text); border-color: rgba(0,206,209,.3); background: rgba(20,35,55,.88); font-size: .8rem; }
.talent-directory-page .talent-dialog { background: rgba(20,35,55,.88); color: var(--wk-text); border: 1px solid rgba(0,206,209,.25); border-radius: 18px; box-shadow: 0 20px 80px #0002; }
.talent-directory-page .modal-header h2 { color: var(--wk-text); }
.talent-directory-page .close-modal { color: #c4d0dc; border: 1px solid rgba(0,206,209,.3); background: rgba(28,48,72,.9); }
.talent-directory-page .dialog-field h3 { color: #aebfcd; font-size: .74rem; }
.talent-directory-page .dialog-field p { color: #e0e0e0; font-size: .87rem; }
.talent-directory-page .directory-email { color: #4ae0e3; font-size: .84rem; }

/* Registration shares the same simple card and form surfaces. */
.talent-register-page .container { padding: 30px 24px; margin: auto; }
.talent-register-page .info-card { color: var(--wk-text); background: rgba(20,35,55,.88); border: 1px solid var(--wk-line); border-radius: 16px; box-shadow: none; backdrop-filter: none; }
.talent-register-page .info-card:hover { box-shadow: none; border-color: var(--wk-line); }
.talent-register-page .register-intro, .talent-register-page .form-help { color: var(--wk-muted); }
.talent-register-page .talent-form-grid label { color: var(--wk-text); }
.talent-register-page .talent-form-grid input, .talent-register-page .talent-form-grid select, .talent-register-page .talent-form-grid textarea { color: var(--wk-text); background: rgba(20,35,55,.88); border-color: #3c586e; }
.talent-register-page .talent-form-grid small { color: var(--wk-muted); }
.talent-register-page .talent-form-grid input::placeholder, .talent-register-page .talent-form-grid textarea::placeholder { color: #9aabba; }
.talent-register-page .talent-checkbox { color: #c4d0dc; }
.talent-register-page .talent-checkbox input { accent-color: #00ced1; }
.talent-register-page #form-status { color: #f2d18d; }
.talent-register-page .form-help a { color: #4ae0e3; }
.talent-register-page .action-button { background: #00b0b4; color: #fff; box-shadow: none; font-size: .85rem; padding: 12px 20px; border-radius: 9px; }
.talent-register-page .action-button:hover { background: #008d93; }

/* Admin navigation, records, editors and confirmation dialogs. */
.edux-admin-page *, .uk-challenge-page * { box-sizing: border-box; }
.admin-shell { display: grid; grid-template-columns: 235px minmax(0,1fr); min-height: 100vh; }
.admin-sidebar { padding: 28px 18px; border-right: 1px solid var(--wk-line); background: rgba(13,27,42,.92); display: flex; flex-direction: column; gap: 8px; }
.admin-brand { display: flex; gap: 10px; align-items: center; font-size: .88rem; font-weight: 700; padding: 0 10px 24px; text-decoration: none; color: #ffffff; }
.admin-brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #00b0b4; color: #fff; font-size: .75rem; }
.admin-sidebar > p { margin: 6px 10px 10px; font-size: .65rem; color: #bfcbd6; text-transform: uppercase; letter-spacing: .1em; }
.admin-tab { display: block; text-align: left; width: 100%; border: 0; background: transparent; border-radius: 9px; color: #c4d0dc; padding: 12px; font-size: .8rem; cursor: pointer; }
.admin-tab[aria-current="page"] { background: rgba(0,206,209,.16); color: #ffffff; font-weight: 600; }
.admin-tab:hover { background: rgba(28,48,72,.9); }
.admin-sidebar-bottom { margin-top: auto; padding: 28px 10px 0; font-size: .73rem; color: #bfcbd6; }
.admin-sidebar-bottom a { color: #c4d0dc; text-decoration: none; }
.admin-main { padding: 36px clamp(22px,4vw,64px); min-width: 0; max-width: 1500px; width: 100%; margin: 0 auto; }
.admin-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--wk-line); margin-bottom: 30px; font-size: .75rem; color: #bfcbd6; }
.admin-topline p { margin: 0; }
.admin-account { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.admin-heading h1 { margin: 0 0 6px; font-size: clamp(1.5rem,3vw,2rem); letter-spacing: -.04em; line-height: 1.2; }
.admin-heading p { margin: 0; color: #bfcbd6; font-size: .82rem; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(0,206,209,.25); background: rgba(20,35,55,.88); border-radius: 8px; padding: 9px 14px; color: #e0e0e0; font-size: .76rem; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.admin-button:hover { background: rgba(28,48,72,.9); }
.admin-button.primary { background: #00b0b4; border-color: #00b0b4; color: #fff; }
.admin-button.primary:hover { background: #008d93; }
.admin-button.danger { color: #ff9b9b; border-color: rgba(255,100,100,.4); }
.admin-button:disabled { cursor: wait; opacity: .55; }
.admin-login { max-width: 420px; margin: 70px auto; padding: 32px; border: 1px solid var(--wk-line); border-radius: 16px; }
.admin-login h1 { margin: 0 0 10px; font-size: 1.5rem; }
.admin-login > p { color: #bfcbd6; font-size: .83rem; margin-bottom: 24px; }
.admin-fields { display: grid; gap: 18px; }
.admin-fields label { display: grid; gap: 7px; color: #e0e0e0; font-size: .79rem; }
.admin-fields input, .admin-fields textarea, .admin-fields select, .admin-filters input, .admin-filters select { min-width: 0; width: 100%; border: 1px solid #3c586e; border-radius: 8px; padding: 10px 12px; background: rgba(20,35,55,.88); color: #ffffff; font-size: .83rem; }
.admin-fields textarea { resize: vertical; }
.admin-fields small { color: #aebfcd; font-size: .7rem; }
.admin-fields .check { display: flex; align-items: flex-start; gap: 10px; }
.admin-fields .check input { width: 17px; margin: 4px 0 0; accent-color: #00ced1; }
.admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.admin-stat { padding: 18px 20px; border: 1px solid var(--wk-line); border-radius: 12px; }
.admin-stat small { color: #bfcbd6; font-size: .73rem; }
.admin-stat strong { display: block; font-size: 1.7rem; font-weight: 600; line-height: 1.3; margin-top: 5px; }
.admin-filters { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 22px; }
.admin-filters label { display: grid; gap: 5px; font-size: .7rem; color: #bfcbd6; min-width: 150px; }
.admin-filters .search { flex: 1; }
.admin-records { display: grid; gap: 10px; }
.admin-record { border: 1px solid var(--wk-line); border-radius: 12px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-record-copy { min-width: 0; }
.admin-record h2 { font-size: .89rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.admin-record p { font-size: .75rem; margin: 4px 0 0; color: #bfcbd6; overflow-wrap: anywhere; }
.admin-record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.publication-badge { display: inline-block; padding: 3px 9px; border-radius: 20px; color: #bfcbd6; background: rgba(28,48,72,.9); font-size: .65rem; }
.publication-badge.published { background: rgba(0,206,209,.14); color: #4ae0e3; }
.admin-status { color: #bfcbd6; font-size: .8rem; margin: 12px 0; }
.admin-status[data-error="true"] { color: #ffb3a9; }
.admin-pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 24px; font-size: .76rem; color: #bfcbd6; }
.admin-dialog { margin: auto; padding: 28px; width: min(700px,calc(100% - 28px)); max-height: 90vh; overflow: auto; border: 1px solid rgba(0,206,209,.3); border-radius: 16px; color: #ffffff; background: rgba(20,35,55,.88); }
.admin-dialog::backdrop { background: #0006; }
.admin-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.admin-dialog-header h2 { margin: 0; font-size: 1.2rem; }
.admin-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.admin-note { font-size: .73rem; color: #bfcbd6; padding: 12px 14px; background: rgba(28,48,72,.9); border-radius: 8px; margin-bottom: 22px; }
.uk-challenge-page main { max-width: 1040px; padding: 32px 24px; margin: auto; }
.uk-challenge-page h1 { margin: 28px 0 6px; font-size: 2rem; letter-spacing: -.04em; }
.uk-challenge-page .challenge-intro { color: #bfcbd6; margin-bottom: 30px; font-size: .85rem; }
.challenge-card { border: 1px solid var(--wk-line); border-radius: 14px; padding: 24px; margin-bottom: 16px; }
.challenge-card h2 { margin: 0 0 8px; font-size: 1.1rem; }
.challenge-card p { margin: 8px 0; color: #c4d0dc; font-size: .88rem; white-space: pre-wrap; }
.challenge-card summary { cursor: pointer; font-size: .8rem; font-weight: 600; margin-top: 20px; }
.challenge-card h3 { font-size: .8rem; margin-top: 22px; }
.challenge-card a { color: #4ae0e3; font-size: .83rem; }
@media (max-width: 1000px) { .talent-directory-page .cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-shell { grid-template-columns: 190px minmax(0,1fr); } }
@media (max-width: 700px) {
    .admin-shell { display: block; }
    .admin-sidebar { padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--wk-line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .admin-brand { grid-column: 1/-1; padding: 0 0 12px; }
    .admin-sidebar > p, .admin-sidebar-bottom { display: none; }
    .admin-main { padding: 24px 20px; }
    .admin-record { align-items: flex-start; flex-direction: column; gap: 14px; }
    .admin-heading { align-items: flex-start; }
    .admin-stats { gap: 8px; }
    .admin-stat { padding: 14px; }
}
@media (max-width: 560px) { .talent-directory-page .cards-grid { grid-template-columns: 1fr; } .talent-directory-page .container { padding: 24px 20px; } .admin-login { margin: 30px auto; padding: 24px; } .admin-heading { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Match the translucent cards and cyan controls on the event landing page. */
.talent-directory-page .profile-card, .talent-register-page .info-card, .admin-login, .admin-record, .admin-stat, .challenge-card { background: rgba(20,35,55,.88); border-color: rgba(0,206,209,.22); backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.talent-directory-page .profile-card:hover { border-color: #00ced1; box-shadow: 0 12px 32px rgba(0,206,209,.15); }
.talent-directory-page .profile-action, .talent-register-page .action-button, .admin-button.primary { background: linear-gradient(135deg,#00b0b4,#00ced1); color: #fff; border-color: #00b0b4; }
.talent-directory-page .profile-action:hover, .talent-register-page .action-button:hover, .admin-button.primary:hover { background: #00b0b4; }
.talent-register-page .talent-form-grid input, .talent-register-page .talent-form-grid select, .talent-register-page .talent-form-grid textarea, .admin-fields input, .admin-fields textarea, .admin-fields select, .admin-filters input, .admin-filters select { background: #0d1b2a; border-color: #3c586e; color: #fff; }
.admin-fields input::placeholder, .admin-fields textarea::placeholder, .admin-filters input::placeholder { color: #9aabba; opacity: 1; }
.admin-dialog, .talent-directory-page .talent-dialog { background: #142337; border-color: rgba(0,206,209,.4); color: #fff; }

/* Glass surfaces: readable type over the original EduX atmosphere. */
.talent-directory-page { --wk-line: rgba(185,222,255,.26); --wk-muted: #e0ebf7; --wk-accent: #a6e5ff; }
.talent-directory-page .container { max-width: 1480px; }
.talent-directory-page .header-section,
.talent-directory-page .profile-card,
.talent-register-page .info-card,
.admin-login, .admin-record, .admin-stat, .challenge-card {
    background: linear-gradient(145deg,rgba(52,83,120,.7),rgba(16,36,63,.78));
    border: 1px solid rgba(185,222,255,.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 40px rgba(3,12,26,.24);
    backdrop-filter: blur(28px) saturate(135%);
    -webkit-backdrop-filter: blur(28px) saturate(135%);
}
.talent-directory-page .header-section { padding: 42px 32px; margin-bottom: 26px; text-align: center; border-radius: 24px; background: linear-gradient(135deg,rgba(75,120,170,.58),rgba(12,30,53,.82)); }
.talent-directory-page .header-section h1 { color: #fff; font-size: clamp(1.8rem,3.5vw,2.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.talent-directory-page .header-section h1 span { font-size: .82em; }
.talent-directory-page .header-section p { max-width: 870px; margin: 0 auto; color: #f0f6ff; font-size: clamp(.96rem,1.3vw,1.08rem); font-weight: 600; line-height: 1.8; text-shadow: 0 1px 5px rgba(0,0,0,.3); }
.talent-directory-page .directory-toolbar { color: #f0f6ff; font-weight: 600; padding: 0 4px; text-shadow: 0 1px 5px rgba(0,0,0,.65); }
.talent-directory-page .cards-container { padding: 24px; border: 1px solid rgba(185,222,255,.2); border-radius: 24px; background: rgba(10,25,44,.38); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 35px rgba(0,0,0,.16); }
.talent-directory-page .cards-grid { grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 20px; }
.talent-directory-page .profile-card { text-align: center; border-radius: 22px; padding: 26px 22px; gap: 16px; background: linear-gradient(145deg,rgba(67,103,146,.55),rgba(13,32,56,.8)); transition: border-color 180ms ease, box-shadow 180ms ease; }
.talent-directory-page .profile-card:hover { transform: none; border-color: rgba(180,225,255,.65); box-shadow: inset 0 1px 0 rgba(255,255,255,.28),0 16px 40px rgba(4,15,32,.32); }
.talent-directory-page .profile-card-header { flex-direction: column; align-items: center; gap: 12px; }
.talent-directory-page .profile-avatar { width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(140deg,rgba(185,224,255,.35),rgba(68,129,190,.35)); border: 1px solid rgba(220,240,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); color: #fff; font-size: 1.45rem; font-weight: 700; }
.talent-directory-page .profile-name { color: #fff; font-size: 1.08rem; font-weight: 800; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.talent-directory-page .profile-affiliation { color: #bde8ff; font-size: .84rem; font-weight: 650; white-space: normal; margin-top: 4px; }
.talent-directory-page .profile-location { justify-content: center; color: #dce9f8; font-size: .76rem; font-weight: 500; }
.talent-directory-page .profile-description { color: #f1f6fc; font-size: .87rem; font-weight: 500; line-height: 1.75; }
.talent-directory-page .profile-skills { justify-content: center; }
.talent-directory-page .skill-tag { color: #e9f7ff; border: 1px solid rgba(184,225,255,.25); border-radius: 9px; background: rgba(147,201,244,.12); padding: 5px 10px; font-size: .73rem; font-weight: 600; }
.talent-directory-page .profile-looking-for { color: #ecf4ff; font-size: .82rem; font-weight: 600; line-height: 1.7; }
.talent-directory-page .profile-action { background: linear-gradient(135deg,rgba(148,204,251,.25),rgba(90,150,213,.35)); color: #fff; border: 1px solid rgba(185,225,255,.42); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); padding: 12px 14px; font-weight: 700; }
.talent-directory-page .profile-action:hover { background: rgba(113,179,235,.35); }
.talent-directory-page .directory-add, .talent-directory-page .directory-email, .talent-directory-page .footer a { color: #c3edff; font-weight: 650; }
.talent-directory-page .back-button, .talent-directory-page #directory-more, .talent-directory-page #directory-retry { color: #fff; background: rgba(28,55,87,.62); border-color: rgba(185,222,255,.3); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-weight: 600; }
.talent-directory-page .back-button:hover { background: rgba(61,101,147,.68); border-color: rgba(185,222,255,.6); }
.talent-directory-page #directory-status { color: #ecf4ff; font-weight: 600; text-align: center; }
.talent-directory-page .talent-dialog, .admin-dialog { background: linear-gradient(145deg,rgba(43,73,108,.95),rgba(12,29,50,.97)); border-color: rgba(185,222,255,.38); box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 24px 80px rgba(0,0,0,.4); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border-radius: 24px; }
.talent-directory-page .dialog-field h3 { color: #bde8ff; font-weight: 700; }
.talent-directory-page .dialog-field p { color: #f1f6fc; font-weight: 500; }
.talent-directory-page .close-modal { color: #fff; background: rgba(120,175,225,.17); border-color: rgba(185,222,255,.3); }
.talent-register-page .register-intro, .talent-register-page .talent-checkbox { color: #edf4fe; font-weight: 500; }
.talent-register-page .talent-form-grid label, .admin-fields label { color: #f0f6ff; font-weight: 600; }
.admin-heading p, .admin-record p, .admin-stat small, .challenge-card p { color: #e0ebf7; font-weight: 500; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .talent-directory-page .header-section, .talent-directory-page .profile-card, .talent-register-page .info-card, .admin-login, .admin-record, .admin-stat, .challenge-card { background: rgba(17,37,62,.96); }
}
@media (max-width: 600px) {
    .talent-directory-page .header-section { padding: 30px 20px; border-radius: 20px; }
    .talent-directory-page .cards-container { padding: 16px; border-radius: 20px; }
    .talent-directory-page .cards-grid { grid-template-columns: minmax(0,1fr); }
}

/* A soft peach tint for Humanities and an ice-blue tint for Tech. */
.talent-directory-page[data-talent-category="humanities"] {
    --gallery-tint: 245, 180, 128;
    --gallery-edge: 255, 219, 187;
    --gallery-accent: #ffdfc3;
    --gallery-surface: linear-gradient(145deg,rgba(154,105,77,.62),rgba(46,32,33,.82));
    --gallery-panel: rgba(46,32,33,.4);
    --gallery-dialog: linear-gradient(145deg,rgba(83,59,46,.96),rgba(33,27,30,.98));
    --gallery-fallback: #352b29;
}
.talent-directory-page[data-talent-category="tech"] {
    --gallery-tint: 154, 207, 251;
    --gallery-edge: 205, 235, 255;
    --gallery-accent: #d4f0ff;
    --gallery-surface: linear-gradient(145deg,rgba(86,133,181,.62),rgba(17,38,64,.82));
    --gallery-panel: rgba(17,38,64,.4);
    --gallery-dialog: linear-gradient(145deg,rgba(48,79,112,.96),rgba(14,31,51,.98));
    --gallery-fallback: #1c344f;
}
.talent-directory-page .header-section, .talent-directory-page .profile-card { background: var(--gallery-surface); border-color: rgba(var(--gallery-edge),.32); }
.talent-directory-page .cards-container { background: var(--gallery-panel); border-color: rgba(var(--gallery-edge),.24); }
.talent-directory-page .profile-card:hover { border-color: rgba(var(--gallery-edge),.7); }
.talent-directory-page .profile-avatar { background: linear-gradient(140deg,rgba(var(--gallery-edge),.35),rgba(var(--gallery-tint),.3)); border-color: rgba(var(--gallery-edge),.45); }
.talent-directory-page .profile-affiliation, .talent-directory-page .dialog-field h3,
.talent-directory-page .directory-add, .talent-directory-page .directory-email, .talent-directory-page .footer a { color: var(--gallery-accent); }
.talent-directory-page .skill-tag { color: var(--gallery-accent); background: rgba(var(--gallery-tint),.14); border-color: rgba(var(--gallery-edge),.3); }
.talent-directory-page .profile-action { background: linear-gradient(135deg,rgba(var(--gallery-edge),.25),rgba(var(--gallery-tint),.35)); border-color: rgba(var(--gallery-edge),.45); }
.talent-directory-page .profile-action:hover { background: rgba(var(--gallery-tint),.38); }
.talent-directory-page .back-button, .talent-directory-page #directory-more, .talent-directory-page #directory-retry { background: var(--gallery-surface); border-color: rgba(var(--gallery-edge),.3); }
.talent-directory-page .back-button:hover { background: var(--gallery-surface); border-color: rgba(var(--gallery-edge),.7); }
.talent-directory-page .talent-dialog { background: var(--gallery-dialog); border-color: rgba(var(--gallery-edge),.4); }
.talent-directory-page .close-modal { background: rgba(var(--gallery-tint),.17); border-color: rgba(var(--gallery-edge),.3); }
.talent-directory-page a:focus-visible, .talent-directory-page button:focus-visible { outline-color: var(--gallery-accent); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .talent-directory-page .header-section, .talent-directory-page .profile-card { background: var(--gallery-fallback); }
}
