:root {
  --deep: #073e3b;
  --teal: #007b73;
  --lime: #c8f14b;
  --coral: #ff6651;
  --paper: #f9fbfa;
  --ink: #123d3b;
  --muted: #526e6b;
  --line: #d7e3e0;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Sora', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.5 var(--font-body); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--deep); letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
::selection { color: var(--deep); background: var(--lime); }

/* Public header and footer mirror the main Marucchi site */
.site-header { position: relative; z-index: 20; height: 86px; background: #fff; border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 25px; width: calc(100% - 80px); max-width: 1280px; height: 100%; margin: auto; }
.site-home-link { flex: none; }
.site-logo { display: block; width: 204px; max-width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.desktop-nav a { color: #0b4e49; font-size: 13px; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav .nav-active { color: #119783; }
.header-actions { flex: none; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 8px 16px; border-radius: 5px; background: #075650; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-cta:hover { background: #08796f; }
.header-cta svg, .footer-contact svg, .mobile-nav svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-nav { display: none; }
.site-footer { padding-top: 70px; background: #075650; color: #fff; }
.footer-grid, .footer-bottom { width: calc(100% - 80px); max-width: 1280px; margin: auto; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .8fr 1fr; gap: 80px; padding-bottom: 70px; }
.footer-brand img { display: block; width: 235px; max-width: 100%; height: auto; }
.footer-brand p { max-width: 270px; margin: 24px 0 0; color: #d1e5e0; font-size: 13px; line-height: 1.65; }
.footer-label { display: block; margin-bottom: 25px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.footer-links a { color: #e2f1ed; font-size: 11px; font-weight: 700; white-space: nowrap; }
.footer-contact { display: grid; gap: 15px; }
.footer-contact a { display: flex; align-items: flex-start; gap: 9px; color: #e2f1ed; font-size: 12px; overflow-wrap: anywhere; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 1px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid #ffffff38; color: #c4d8d3; font-size: 11px; }

/* Public registration */
.talent-page { padding: 34px 24px 78px; }
.talent-shell { width: min(1180px, 100%); margin: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 18px 45px #073e3b0c; }
.talent-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 48px; align-items: center; padding: 48px 52px 36px; }
.kicker { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.talent-intro h1 { max-width: 550px; margin: 14px 0 14px; font-size: clamp(40px, 4.2vw, 58px); line-height: 1.12; }
.talent-intro p { max-width: 58ch; margin: 0; color: var(--muted); line-height: 1.7; }
.talent-visual { min-height: 220px; border-radius: 14px; background: url('/assets/conference-hero-BQ3dJFUv.jpg') center/cover, var(--deep); }
.talent-form { padding: 32px 52px 44px; border-top: 1px solid var(--line); }
.form-alert { margin: 0 52px 10px; padding: 15px 18px; border-radius: 8px; background: #fff0ec; color: #892f22; font-weight: 700; }
.talent-form .form-alert { margin: 0 0 24px; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
.form-column h2 { margin: 0 0 25px; font-size: 19px; }
.field-stack { display: grid; gap: 20px; }
.field-pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(100px, .7fr); gap: 16px; }
.talent-form label { display: block; min-width: 0; font-size: 12px; font-weight: 800; }
.talent-form label span[aria-hidden='true'], .choice-group legend span { color: var(--coral); }
.talent-form input:not([type='checkbox']):not([type='radio']):not([type='file']), .talent-form select { display: block; width: 100%; height: 47px; margin-top: 8px; padding: 0 13px; color: var(--deep); background: #fff; border: 1px solid #cbdad6; border-radius: 7px; }
.talent-form input::placeholder { color: #68807c; }
.talent-form .field-feedback { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.45; }
.talent-form .field-feedback.is-error { color: #a73a2d; }
.talent-form input.cpf-invalid { border-color: #c74b3b; background: #fff8f6; }
.choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group legend { margin: 0 0 9px; padding: 0; font-size: 12px; font-weight: 800; }
.choice-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice-options label { display: flex; align-items: center; gap: 10px; min-height: 43px; margin: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; line-height: 1.35; }
.choice-options label:has(input:checked) { border-color: var(--teal); background: #e8f6f1; }
.choice-options label:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice-options input[type='radio'] { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--teal); }
.upload-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.talent-form .upload { position: relative; display: grid; align-content: center; justify-items: center; min-height: 156px; padding: 18px 13px; border: 1px dashed #a9c0ba; border-radius: 9px; background: #fbfdfc; text-align: center; cursor: pointer; }
.talent-form .upload::before { content: '↑'; display: block; font-size: 30px; line-height: 1; color: var(--teal); }
.talent-form .upload:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.upload .upload-title { font-size: 12px; font-weight: 800; color: var(--deep); }
.upload .upload-title em { font-style: normal; color: var(--coral); }
.upload .upload-cta { margin-top: 8px; color: var(--deep); font-size: 11px; }
.upload span:not([aria-hidden='true']) { font-size: 11px; font-weight: 500; color: var(--muted); }
.talent-form .upload .upload-title { font-size: 12px; font-weight: 800; color: var(--deep); }
.talent-form .upload .upload-cta { color: var(--deep); }
.upload-filename:not(:empty) { max-width: 100%; overflow-wrap: anywhere; color: var(--teal) !important; font-weight: 800 !important; }
.upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.talent-form .consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.55; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal); }
.talent-form .submit { width: 100%; min-height: 50px; margin-top: 25px; padding: 12px 22px; border: 0; border-radius: 7px; color: #fff; background: var(--coral); font-weight: 800; }
.submit:hover { background: #e75642; }

/* Confirmation appears only after completed upload and database insert */
.confirmation-page { min-height: calc(100vh - 262px); display: grid; place-items: center; padding: 60px 24px; }
.confirmation-card { width: min(620px, 100%); padding: 46px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 45px #073e3b10; }
.confirmation-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; border-radius: 50%; background: var(--lime); color: var(--deep); font-size: 26px; font-weight: 800; }
.confirmation-card h1 { margin: 10px 0 16px; font-size: clamp(32px, 5vw, 43px); }
.confirmation-card > p:not(.kicker) { color: var(--muted); line-height: 1.7; }
.confirmation-card .confirmation-note { font-size: 12px; }
.confirmation-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 19px; border-radius: 7px; background: var(--deep); color: #fff; font-weight: 800; }

/* Admin */
.admin-body { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); background: #f8faf9; }
.admin-sidebar { min-height: 100vh; display: flex; flex-direction: column; padding: 30px 17px; background: var(--deep); color: #fff; }
.admin-brand { display: grid; gap: 28px; padding: 4px 8px 28px; }
.admin-brand img { width: 160px; height: auto; }
.admin-brand span { color: #fff; font: 700 21px/1.2 var(--font-display); }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a, .admin-logout { display: flex; align-items: center; min-height: 43px; padding: 10px 13px; border-radius: 7px; font-size: 13px; font-weight: 700; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #078c82; }
.admin-logout { margin-top: auto; border-top: 1px solid #ffffff22; border-radius: 0; }
.admin-main { width: 100%; max-width: 1700px; min-width: 0; margin: auto; padding: 30px clamp(24px, 3.2vw, 54px) 72px; }
.admin-searchbar { display: flex; align-items: center; min-height: 70px; }
.name-search { width: min(650px, 100%); }
.name-search label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.search-controls { display: flex; gap: 0; }
.search-controls input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #cbdad6; border-radius: 7px 0 0 7px; background: #fff; color: var(--deep); }
.search-controls button { min-width: 95px; padding: 0 18px; border: 0; border-radius: 0 7px 7px 0; background: var(--teal); color: #fff; font-weight: 800; }
.admin-heading { margin: 35px 0 24px; }
.admin-heading h1 { margin: 0; font-size: clamp(29px, 2.6vw, 40px); line-height: 1.2; }
.admin-heading p { max-width: 65ch; margin: 8px 0 0; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 24px; }
.admin-stats > div { min-height: 110px; display: grid; align-content: center; padding: 18px 24px; border: 1px solid #e6eeea; border-radius: 12px; }
.admin-stats > div:nth-child(1) { background: #f4fbe6; }
.admin-stats > div:nth-child(2) { background: #eef8fc; }
.admin-stats > div:nth-child(3) { background: #fff2ef; }
.admin-stats strong { font: 800 32px/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.admin-stats span { margin-top: 6px; color: var(--muted); font-weight: 700; }
.admin-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; margin-bottom: 5px; }
.admin-filters label { display: grid; gap: 8px; min-width: 0; font-size: 12px; font-weight: 800; }
.admin-filters select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #cbdad6; border-radius: 7px; background: #fff; color: var(--deep); }
.admin-filters button { height: 46px; padding: 0 16px; border: 0; border-radius: 7px; background: var(--teal); color: #fff; font-weight: 800; }
.admin-filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.admin-filter-actions button { min-width: 180px; }
.clear-filters { display: inline-block; margin-top: 10px; color: var(--teal); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.admin-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 315px); gap: 20px; align-items: start; margin-top: 25px; }
.professionals, .map-column { min-width: 0; }
.result-count { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 800; }
.professional-card { display: grid; grid-template-columns: 88px minmax(0, 1fr) 185px; gap: 18px; align-items: center; min-height: 128px; margin-bottom: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.professional-card > img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; }
.professional-details { min-width: 0; }
.person-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.person-title h2 { max-width: 100%; overflow-wrap: anywhere; margin: 0; font-size: 16px; line-height: 1.35; }
.status { display: inline-flex; padding: 4px 8px; border-radius: 99px; background: #e6f4ee; color: var(--deep); font-size: 10px; font-weight: 800; }
.status-aprovado { background: #dff5d9; }
.status-arquivado { background: #e8eceb; }
.rating-flag { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border-radius: 99px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.rating-otimo { background: #d8f2d7; color: #145a35; }
.rating-bom { background: #deeff7; color: #145776; }
.rating-ruim { background: #fff0d7; color: #815016; }
.rating-pessimo { background: #ffe2dc; color: #9d3729; }
.professional-details p { margin: 7px 0; color: var(--muted); font-size: 12px; }
.area-tag { display: inline-flex; padding: 5px 8px; border-radius: 99px; background: #e5f4ee; font-size: 10px; font-weight: 800; }
.professional-details small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.professional-actions { display: grid; gap: 10px; justify-items: stretch; }
.whatsapp-button { display: grid; place-items: center; min-height: 42px; padding: 9px 12px; border-radius: 7px; background: var(--lime); color: var(--deep); font-size: 11px; font-weight: 800; text-align: center; white-space: nowrap; }
.whatsapp-button:hover { background: #b6e235; }
.profile-button { display: grid; place-items: center; min-height: 32px; color: var(--teal); font-size: 12px; font-weight: 800; }
.empty-state { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); }
.map-card, .locations-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.map-header { padding: 19px 19px 0; }
.map-header h2, .locations-card h2 { margin: 0; font-size: 15px; }
.map-header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.map-canvas { position: relative; padding: 8px 16px 0; }
.map-preview { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 7px; background: #e5f4f4; cursor: zoom-in; }
.map-preview svg { display: block; width: 100%; height: auto; max-height: 310px; }
.map-preview-hint { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; border-radius: 5px; background: var(--deep); color: #fff; font-size: 10px; font-weight: 800; }
.map-preview:hover .map-preview-hint { background: var(--teal); }
.brazil-outline { fill: #c5e6e0; stroke: #86bdb6; stroke-width: 1; }
.map-marker { cursor: pointer; }
.map-marker-halo { fill: #ff665133; }
.map-marker-dot { fill: var(--coral); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.map-marker-hit { fill: transparent; }
.map-marker-leader { stroke: var(--coral); stroke-width: 1; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-marker-label { display: none; fill: var(--deep); stroke: #e5f4f4; stroke-width: 3; paint-order: stroke; font: 800 9px var(--font-body); pointer-events: none; }
.map-marker:hover .map-marker-halo, .map-marker:focus .map-marker-halo { fill: #ff665177; }
.map-marker:hover .map-marker-label, .map-marker:focus .map-marker-label, .map-marker.is-selected .map-marker-label { display: block; }
.map-marker.is-selected .map-marker-halo { fill: #ff665199; }
.map-marker.is-selected .map-marker-dot { fill: #e04430; stroke-width: 3; }
.map-status { margin: 10px 0 0; min-height: 17px; color: var(--muted); font-size: 10px; text-align: center; }
.map-source { margin: 8px 12px 15px; color: var(--muted); font-size: 9px; text-align: center; }
.locations-card { margin-top: 12px; padding: 19px; }
.locations-card h2 { margin-bottom: 10px; }
.locations-card > a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 11px; }
.locations-card > a:hover { color: var(--teal); }
.locations-card strong { font-variant-numeric: tabular-nums; }
.locations-card > p { color: var(--muted); font-size: 12px; }

/* Full-screen city explorer */
.map-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: #fff; color: var(--ink); }
.map-dialog::backdrop { background: #062f2d99; }
.map-dialog-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.map-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 86px; padding: 17px clamp(24px, 3vw, 46px); background: var(--deep); color: #fff; }
.map-dialog-header h2 { margin: 0; color: #fff; font-size: clamp(20px, 2vw, 27px); }
.map-dialog-header p { margin: 3px 0 0; color: #d5eae5; font-size: 12px; }
.map-close { flex: none; display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border: 1px solid #ffffff66; border-radius: 50%; background: transparent; color: #fff; }
.map-close:hover { background: #ffffff1c; }
.map-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.map-dialog-content { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 390px); }
.map-dialog-map { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: clamp(18px, 2.5vw, 36px); background: #e5f4f4; }
.map-dialog-map > svg { display: block; width: 100%; height: 100%; min-height: 0; touch-action: none; cursor: grab; }
.map-dialog-map > svg:active { cursor: grabbing; }
.map-dialog-map .brazil-outline { stroke-width: .65; vector-effect: non-scaling-stroke; }
.map-zoom-controls { position: absolute; top: 18px; right: 18px; z-index: 1; display: flex; align-items: center; gap: 3px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fffffff2; box-shadow: 0 8px 24px #073e3b1a; }
.map-zoom-controls button { display: grid; place-items: center; min-width: 37px; height: 37px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--deep); font-size: 11px; font-weight: 800; }
.map-zoom-controls button:hover:not(:disabled) { background: #e7f3ef; }
.map-zoom-controls button:disabled { opacity: .35; cursor: not-allowed; }
.map-zoom-controls svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.map-zoom-controls span { min-width: 42px; color: var(--deep); font-size: 11px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.map-zoom-controls #map-zoom-reset { padding: 0 10px; border-left: 1px solid var(--line); border-radius: 0 6px 6px 0; white-space: nowrap; }
.map-dialog-status { margin: 0; padding: 8px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.map-dialog-results { min-width: 0; overflow-y: auto; padding: 26px 22px 36px; border-left: 1px solid var(--line); background: #fff; }
.map-results-heading h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.map-results-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.map-city-picker { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-city-picker summary { padding: 13px 0; color: var(--teal); font-size: 12px; font-weight: 800; cursor: pointer; }
.map-city-list { display: grid; gap: 5px; max-height: 190px; overflow-y: auto; padding-bottom: 12px; }
.map-city-list button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 11px; border: 1px solid transparent; border-radius: 6px; background: #f2f8f5; color: var(--deep); font-size: 11px; text-align: left; }
.map-city-list button:hover, .map-city-list button.is-selected { border-color: var(--teal); background: #e1f2eb; }
.map-city-list strong { font-variant-numeric: tabular-nums; }
.map-results-list { display: grid; gap: 10px; margin-top: 20px; }
.map-results-list:empty { display: none; }
.map-results-list .professional-card { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; min-height: 0; margin: 0; padding: 12px; }
.map-results-list .professional-card > img { width: 52px; height: 52px; }
.map-results-list .person-title h2 { font-size: 13px; }
.map-results-list .professional-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.map-results-list .professional-actions a { min-width: 0; }
.map-results-list .whatsapp-button { min-height: 34px; padding: 7px 10px; font-size: 10px; }
.map-results-list .profile-button { padding: 6px; font-size: 10px; }
.map-result-link { display: block; margin-top: 18px; color: var(--teal); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.map-result-link[hidden] { display: none; }

/* Admin login and profile */
.login { width: min(880px, calc(100% - 32px)); margin: 50px auto; padding: 35px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.login { max-width: 430px; }
.login img { width: 180px; height: auto; margin-bottom: 28px; }
.login b { color: var(--teal); font-size: 11px; letter-spacing: .1em; }
.login h1 { margin: 10px 0 18px; }
.login label { display: grid; gap: 7px; margin: 15px 0; font-weight: 800; }
.login input, .profile-status-card select, .profile-status-card textarea { width: 100%; min-height: 43px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--deep); }
.profile-status-card textarea { min-height: 105px; resize: vertical; }
.login button, .profile-status-card button { min-height: 43px; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--teal); color: #fff; font-weight: 800; }
.erro { color: #aa3c2c; }
.profile-back { color: var(--teal); font-size: 12px; font-weight: 800; }
.profile-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0; }
.profile-heading .kicker { width: 100%; }
.profile-heading h1 { margin: 0; font-size: clamp(27px, 3vw, 39px); }
.profile-notice { margin: -8px 0 20px; padding: 11px 14px; border: 1px solid #b9e2c9; border-radius: 7px; background: #e9f8ee; color: #175d3b; font-size: 12px; font-weight: 700; }
.profile-notice-error { border-color: #f0b8ae; background: #fff0ec; color: #8d3327; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.profile-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.profile-card h2 { margin: 0 0 16px; font-size: 19px; }
.profile-summary { display: flex; align-items: center; gap: 20px; }
.profile-summary img { flex: none; width: 120px; height: 120px; object-fit: cover; border-radius: 9px; }
.profile-summary > div { min-width: 0; }
.profile-summary p { margin: 8px 0 0; color: var(--muted); }
.profile-card dl { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 9px 15px; margin: 0; }
.profile-card dt { color: var(--muted); }
.profile-card dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.profile-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.profile-links .profile-button { min-height: 42px; padding: 8px 13px; border: 1px solid var(--teal); border-radius: 7px; }
.profile-status-card { grid-column: 1 / -1; }
.profile-management-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
.profile-status-card form { min-width: 0; }
.profile-status-card label { display: grid; gap: 7px; min-width: 0; font-weight: 800; }
.profile-status-card .status-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; align-self: start; }
.profile-status-card .review-form { display: grid; gap: 15px; padding-left: 28px; border-left: 1px solid var(--line); }
.profile-status-card .review-form button { justify-self: start; }
.profile-status-card button { white-space: nowrap; }
.profile-edit-card { grid-column: 1 / -1; }
.profile-edit-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.profile-edit-heading h2 { margin-bottom: 7px; }
.profile-edit-heading p { max-width: 68ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-edit-form { display: grid; gap: 20px; }
.profile-edit-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile-edit-form label { display: grid; gap: 7px; min-width: 0; color: var(--deep); font-size: 12px; font-weight: 800; }
.profile-edit-form input:not([type='file']), .profile-edit-form select { width: 100%; min-height: 43px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--deep); }
.profile-edit-attachments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 2px; }
.profile-edit-attachments label { min-height: 94px; align-content: center; padding: 14px 16px; border: 1px dashed #a9c0ba; border-radius: 8px; background: #fbfdfc; }
.profile-edit-attachments span { color: var(--muted); font-size: 11px; font-weight: 600; }
.profile-edit-attachments input[type='file'] { width: 100%; max-width: 100%; color: var(--muted); font-size: 11px; font-weight: 600; }
.profile-edit-form > button { justify-self: start; min-height: 43px; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--teal); color: #fff; font-weight: 800; }
.profile-edit-form > button:hover { background: #076b64; }

@media (max-width: 1100px) {
  .site-header-inner { gap: 15px; }
  .site-logo { width: 168px; }
  .desktop-nav { gap: 10px; }
  .desktop-nav a { font-size: 12px; }
  .header-cta { padding-inline: 10px; }
  .admin-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-content { grid-template-columns: minmax(0, 1fr) 270px; }
  .professional-card { grid-template-columns: 72px minmax(0, 1fr); }
  .professional-card > img { width: 72px; height: 72px; }
  .professional-actions { grid-column: 1 / -1; display: flex; align-items: center; }
  .professional-actions a { min-width: 155px; }
}
@media (max-width: 1023px) {
  .site-header { height: 68px; }
  .site-header-inner { width: calc(100% - 36px); }
  .site-logo { width: 168px; }
  .desktop-nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 36px; height: 36px; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary svg { width: 24px; height: 24px; color: #075650; }
  .mobile-nav .close-icon, .mobile-nav[open] .menu-icon { display: none; }
  .mobile-nav[open] .close-icon { display: block; }
  .mobile-nav nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; padding: 8px 18px 12px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 14px 26px #073e3b1a; }
  .mobile-nav nav a { padding: 15px 3px; border-bottom: 1px solid #edf2ef; color: #0b4e49; font-size: 13px; font-weight: 700; }
  .mobile-nav nav a:last-child { border-bottom: 0; }
}
@media (max-width: 850px) {
  .site-footer { padding-top: 55px; }
  .footer-grid, .footer-bottom { width: calc(100% - 36px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 20px; padding-bottom: 55px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
  .talent-intro { grid-template-columns: 1fr; gap: 25px; }
  .talent-visual { min-height: 180px; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; flex-direction: row; align-items: center; gap: 16px; padding: 14px 22px; }
  .admin-brand { display: flex; align-items: center; gap: 10px; padding: 0; }
  .admin-brand img { width: 110px; }
  .admin-brand span { font-size: 13px; }
  .admin-sidebar nav { display: flex; flex-wrap: wrap; margin-left: auto; }
  .admin-sidebar nav a { min-height: 35px; padding: 7px 10px; font-size: 11px; }
  .admin-logout { min-height: 35px; margin: 0; padding: 7px 10px; border: 0; font-size: 11px; }
  .admin-content { grid-template-columns: minmax(0, 1fr) 270px; }
  .map-dialog-content { grid-template-columns: minmax(0, 1fr) 320px; }
  .profile-edit-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .talent-page { padding: 16px 12px 52px; }
  .talent-intro { padding: 30px 23px; }
  .talent-form { padding: 28px 23px 35px; }
  .form-columns, .admin-content { grid-template-columns: 1fr; gap: 30px; }
  .form-alert { margin: 0 23px 10px; }
  .admin-main { padding: 26px 20px 50px; }
  .admin-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-sidebar { flex-wrap: wrap; }
  .admin-sidebar nav { order: 3; width: 100%; margin: 0; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-management-grid { grid-template-columns: 1fr; gap: 25px; }
  .profile-edit-fields, .profile-edit-attachments { grid-template-columns: 1fr; }
  .profile-status-card .review-form { padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .map-dialog-header { min-height: 72px; padding: 13px 18px; }
  .map-dialog-header p { display: none; }
  .map-dialog-content { display: block; overflow-y: auto; }
  .map-dialog-map { height: 48dvh; min-height: 320px; padding: 14px; }
  .map-zoom-controls { top: 10px; right: 10px; }
  .map-dialog-results { overflow: visible; min-height: 42dvh; padding: 23px 18px 34px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-contact a { font-size: 11px; }
  .talent-intro h1 { font-size: 38px; }
  .field-pair, .upload-row, .admin-stats, .admin-filters { grid-template-columns: 1fr; }
  .availability .choice-options { grid-template-columns: 1fr; }
  .admin-stats { gap: 9px; }
  .admin-stats > div { min-height: 90px; }
  .professional-card { gap: 12px; padding: 13px; }
  .professional-actions { display: grid; grid-template-columns: 1fr; }
  .professional-actions a { min-width: 0; }
  .admin-filter-actions button { width: 100%; }
  .confirmation-card { padding: 30px 24px; }
  .profile-summary { align-items: flex-start; flex-wrap: wrap; }
  .profile-status-card .status-form { grid-template-columns: 1fr; }
  .profile-status-card button { width: 100%; }
  .map-zoom-controls { gap: 0; padding: 3px; }
  .map-zoom-controls button { min-width: 31px; height: 33px; padding: 0 5px; }
  .map-zoom-controls #map-zoom-reset { padding: 0 7px; font-size: 10px; }
}
