@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #0878d1;
    --blue-dark: #075ca8;
    --blue-light: #edf7ff;
    --orange: #f28a13;
    --ink: #1d2732;
    --muted: #687584;
    --line: #e6ebf0;
    --surface: #fff;
    --soft: #f7f9fc;
    --shadow: 0 16px 46px rgba(27, 55, 84, .08);
    --round: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'DM Sans', Arial, sans-serif; font-size: 15px; line-height: 1.65; }
h1, h2, h3, .brand-copy { font-family: Manrope, 'DM Sans', Arial, sans-serif; letter-spacing: -.035em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, textarea, select { font: inherit; }
.container-xl { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 12px; }
.container { width: 100%; max-width: 540px; margin-inline: auto; padding-inline: 12px; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(230,235,240,.85); backdrop-filter: blur(14px); }
.navbar { min-height: 76px; display: flex; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover, .footer-brand:hover { color: var(--ink); }
.brand img { width: 43px; height: 43px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 18px; font-weight: 800; }
.brand-copy small { margin-top: 4px; color: var(--muted); font: 500 11px 'DM Sans', sans-serif; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.nav-cta), .nav-button { border: 0; padding: 8px 0; background: none; color: #536171; font-size: 13px; font-weight: 600; }
.nav-links > a:hover, .nav-button:hover { color: var(--blue); }
.nav-links .nav-cta { padding: 10px 16px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.inline-form { display: inline-flex; margin: 0; }
.flash-wrap { padding-top: 12px; }
.flash-wrap .alert { border-radius: 11px; font-size: 14px; }
.ad-wrap { max-width: 1160px; padding-top: 10px; padding-bottom: 14px; overflow: hidden; }
.ad-label { display: block; margin-bottom: 3px; color: #788493; font-size: 10px; line-height: 1.4; text-align: center; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 92% 10%, #f2f9ff 0, transparent 39%), linear-gradient(110deg, #fff 36%, #f7fbff 100%); }
.hero-grid { position: relative; z-index: 1; min-height: 505px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 36px; padding-top: 38px; padding-bottom: 52px; }
.hero-copy { max-width: 650px; }
.hero-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hero-kicker { padding: 7px 12px; border: 1px solid #d5eaff; border-radius: 50px; background: #f4faff; font-size: 11px; letter-spacing: .035em; }
.spark { color: var(--orange); font-size: 15px; }
.hero h1 { max-width: 670px; margin: 22px 0 16px; font-size: clamp(36px, 5vw, 57px); font-weight: 800; line-height: 1.12; }
.hero-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.search-area { position: relative; max-width: 560px; margin-top: 26px; }
.search-bar { display: flex; align-items: center; gap: 12px; max-width: 560px; margin-top: 0; padding: 7px 8px 7px 15px; border: 1px solid #e4ebf2; border-radius: 12px; background: #fff; box-shadow: 0 9px 28px rgba(35,76,112,.07); }
.search-bar > span { color: #8a9aaa; font-size: 26px; line-height: 1; }
.search-bar input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); font-size: 13px; }
.search-suggestions { position: absolute; z-index: 15; top: calc(100% + 7px); right: 0; left: 0; max-height: 330px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(27,55,84,.16); }
.search-suggestions[hidden] { display: none; }
.search-suggestion { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 14px; color: var(--ink); }
.search-suggestion + .search-suggestion { border-top: 1px solid #f0f2f4; }
.search-suggestion:hover, .search-suggestion:focus { background: #f5faff; color: var(--ink); outline: none; }
.search-suggestion-details { min-width: 0; display: grid; }
.search-suggestion-details strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-details small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-details .search-suggestion-location { color: #8894a0; }
.search-suggestion-type { flex-shrink: 0; padding: 4px 7px; border-radius: 20px; background: var(--blue-light); color: var(--blue); font-size: 9px; font-weight: 700; }
.search-suggestion-message { padding: 13px 14px; color: var(--muted); font-size: 11px; }
.btn-primary, .btn-outline, .btn-quiet, .btn-light { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 10px 17px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; transition: .18s ease; }
.btn-primary:hover, .btn-primary:focus { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.search-bar .btn-primary { min-height: 38px; padding: 8px 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 19px; }
.hero-actions > span { color: #84909d; font-size: 12px; }
.hero-art { position: relative; height: 360px; }
.hero-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(8,120,209,.13); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 305px; height: 305px; }
.orbit-two { width: 225px; height: 225px; border-style: dashed; }
.hero-sun { position: absolute; top: 50%; left: 50%; width: 128px; height: 128px; display: grid; place-items: center; border: 11px solid #dff0ff; border-radius: 50%; background: var(--blue); color: #fff; font-size: 62px; box-shadow: 0 22px 45px rgba(8,120,209,.24); transform: translate(-50%,-50%); }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #edf0f3; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.note-top { top: 36px; right: 3px; }
.note-bottom { bottom: 35px; left: 3px; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: 12px; }
.floating-note small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.note-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; font-size: 17px; }
.note-icon.blue { background: #edf7ff; color: var(--blue); }
.note-icon.orange { background: #fff4e7; color: var(--orange); }
.art-dot { position: absolute; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.dot-one { top: 66px; left: 52px; width: 9px; height: 9px; }
.dot-two { right: 31px; bottom: 90px; width: 14px; height: 14px; background: #54a9eb; }
.dot-three { top: 130px; right: 42px; width: 7px; height: 7px; }
.hero-decoration { position: absolute; right: -48px; bottom: -84px; width: 270px; height: 170px; border: 1px solid rgba(242,138,19,.15); border-radius: 50%; transform: rotate(-24deg); }
.directory-section { padding-top: 78px; padding-bottom: 86px; }
.section-heading { margin-bottom: 23px; }
.section-heading h1, .section-heading h2 { margin: 6px 0; font-size: 31px; font-weight: 800; line-height: 1.25; }
.section-heading > p:last-child, .section-heading > div > p:last-child { margin: 5px 0 0; color: var(--muted); }
.directory-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.results-count { padding: 6px 10px; border-radius: 30px; background: var(--soft); color: #667586; font-size: 12px; white-space: nowrap; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 27px 0 22px; }
.directory-filters a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; color: #687584; font-size: 12px; font-weight: 600; }
.directory-filters a:hover, .directory-filters .filter-active { border-color: var(--blue); background: #eef7ff; color: var(--blue); }
.profile-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.directory-card { min-width: 0; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: var(--round); background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; }
.directory-card:hover { border-color: #cfe7fb; box-shadow: var(--shadow); transform: translateY(-3px); }
.directory-card-top { display: flex; justify-content: space-between; align-items: center; }
.profile-type { display: inline-block; padding: 5px 9px; border-radius: 30px; background: #edf7ff; color: var(--blue); font-size: 10px; font-weight: 700; }
.media-count { color: #738090; font-size: 11px; }
.directory-avatar, .profile-mark { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#168ee9,#075ca8); color: #fff; font-family: Manrope, sans-serif; font-weight: 800; }
.directory-avatar { width: 53px; height: 53px; margin: 19px 0 13px; overflow: hidden; font-size: 21px; }
.directory-avatar img, .profile-mark img { width: 100%; height: 100%; object-fit: cover; }
.directory-card h3 { margin: 0 0 4px; overflow-wrap: anywhere; font-size: 18px; font-weight: 750; }
.directory-card h3 a { color: var(--ink); }
.directory-card h3 a:hover { color: var(--blue); }
.directory-headline { min-height: 42px; margin: 0; color: #657280; font-size: 12px; line-height: 1.6; }
.directory-location { margin: 7px 0 0; color: #8793a0; font-size: 11px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.compact-tags { min-height: 29px; margin-top: 14px; }
.skill-tag { display: inline-block; padding: 5px 9px; border: 1px solid #e6edf3; border-radius: 6px; background: #fafbfd; color: #596777; font-size: 10px; line-height: 1.35; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; padding-top: 13px; border-top: 1px solid #f0f2f4; font-size: 12px; font-weight: 700; }
.empty-directory, .empty-state { padding: 52px 20px; border: 1px dashed #dce5ed; border-radius: var(--round); background: #fbfcfe; text-align: center; }
.empty-icon { width: 51px; height: 51px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: #edf7ff; color: var(--blue); font-size: 20px; font-weight: 800; }
.empty-directory h3, .empty-state h1 { margin: 0 0 7px; font-size: 22px; font-weight: 750; }
.empty-directory p, .empty-state p { max-width: 490px; margin: 0 auto 20px; color: var(--muted); }
.how-section { padding: 76px 0 82px; background: #f7fafe; }
.centered { max-width: 650px; margin: 0 auto 34px; text-align: center; }
.centered h2 { font-size: 32px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card { position: relative; padding: 25px; border: 1px solid #e8eef4; border-radius: var(--round); background: #fff; }
.step-number { position: absolute; top: 19px; right: 20px; color: #b7c3ce; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.step-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 12px; background: #edf7ff; color: var(--blue); font-size: 19px; }
.step-card:nth-child(2) .step-icon { background: #fff4e7; color: var(--orange); }
.step-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 750; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.support-section { min-height: 300px; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 50px; padding-bottom: 50px; }
.support-copy { width: 100%; max-width: 720px; }
.support-copy h2 { margin: 8px 0 10px; font-size: 32px; font-weight: 800; }
.support-copy > p:not(.eyebrow) { max-width: 570px; color: var(--muted); }
.donation-form { display: grid; gap: 7px; max-width: 520px; margin-top: 16px; }
.donation-amount-label { color: #344658; font-size: 12px; font-weight: 700; }
.donation-form-controls { display: flex; align-items: center; gap: 9px; }
.donation-amount-input { position: relative; display: inline-flex; flex: 0 0 120px; }
.donation-form-controls input { width: 100%; min-width: 90px; min-height: 42px; padding: 8px 10px 8px 26px; border: 1px solid #d4e4f2; border-radius: 9px; color: var(--ink); }
.donation-currency { position: absolute; top: 8px; left: 11px; color: var(--muted); font-size: 13px; pointer-events: none; }
.donation-form-controls .btn-primary, .donation-form-controls .btn-outline { white-space: nowrap; }
.donation-method { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin-top: 16px; color: #344658; font-size: 12px; }
.wise-tag { color: var(--muted); }
.wise-tag strong { color: var(--ink); }
.copy-tag-button { margin-left: 5px; padding: 4px 8px; border: 1px solid #d4e4f2; border-radius: 6px; background: #fff; color: var(--blue); font-size: 11px; font-weight: 700; cursor: pointer; }
.copy-tag-button:hover { background: #f2f9ff; }
.support-mark { width: 175px; height: 175px; display: grid; place-content: center; border: 1px solid #e3f0fb; border-radius: 50%; background: #f2f9ff; color: var(--blue); text-align: center; }
.support-mark > span { color: var(--orange); font-size: 40px; line-height: 1.2; }
.support-mark small { color: var(--blue-dark); font-size: 11px; font-weight: 700; }
.donation-note { color: #718090; font-size: 12px; }
.join-banner { padding: 42px 0; background: linear-gradient(110deg,#0878d1,#075ca8); color: #fff; }
.join-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.join-inner .eyebrow { color: #c7e5ff; }
.join-inner h2 { margin: 5px 0; font-size: 29px; font-weight: 800; }
.join-inner p:last-child { margin: 0; color: #e2f1ff; font-size: 13px; }
.btn-light { flex-shrink: 0; border-color: #fff; background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: #edf7ff; color: var(--blue-dark); }
.site-footer { padding: 30px 0 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.footer-brand { color: var(--ink); font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; }
.footer-brand span { color: #82909d; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; }
.footer-inner p { margin: 0; color: #7c8895; font-size: 11px; }
.footer-inner > a:not(.footer-brand) { font-size: 12px; font-weight: 600; }
.footer-inner small { margin-top: 8px; color: #9aa4ae; font-size: 10px; }
.auth-section { min-height: calc(100vh - 156px); display: grid; place-items: center; padding-top: 48px; padding-bottom: 56px; }
.auth-card { width: min(100%, 440px); padding: 32px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { margin: 7px 0; font-size: 29px; font-weight: 800; }
.muted, .auth-card > p:not(.eyebrow) { color: var(--muted); }
.auth-card > .muted { margin: 0 0 23px; font-size: 13px; }
.form-stack { display: grid; gap: 15px; }
.form-label { display: block; margin: 0; color: #465464; font-size: 12px; font-weight: 700; }
.form-control, .form-select { margin-top: 6px; border-color: #dfe6ed; border-radius: 8px; color: var(--ink); font-size: 13px; box-shadow: none !important; }
.form-control:focus, .form-select:focus { border-color: #76b7e9; }
.form-control::placeholder { color: #a0aab4; }
.btn-primary-wide { min-height: 44px; border: 0; border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.btn-primary-wide:hover { background: var(--blue-dark); }
.auth-switch { margin: 20px 0 0; color: #72808e; text-align: center; font-size: 12px; }
.auth-switch a { font-weight: 700; }
.editor-section, .dashboard-section, .admin-section { padding-top: 48px; padding-bottom: 70px; }
.editor-section { max-width: 900px; }
.editor-section > .section-heading { margin-bottom: 24px; }
.section-heading > p { color: var(--muted); }
.editor-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--round); background: #fff; box-shadow: 0 8px 24px rgba(30,60,90,.04); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 20px; }
.full-width { grid-column: 1/-1; }
.field-help { display: block; margin: 6px 0 0; color: #8995a1; font-size: 11px; font-weight: 400; }
.input-prefix { display: flex; align-items: center; margin-top: 6px; border: 1px solid #dfe6ed; border-radius: 8px; overflow: hidden; }
.input-prefix > span { padding: 10px; background: #f7f9fc; color: #788592; font-size: 10px; white-space: nowrap; }
.input-prefix input { min-width: 0; flex: 1; padding: 9px; border: 0; outline: 0; font-size: 13px; }
.profile-image-editor { padding: 13px; border: 1px solid #e8eef4; border-radius: 10px; background: #f9fbfd; }
.profile-image-preview { display: flex; align-items: center; gap: 10px; margin: 9px 0; color: #657382; font-size: 11px; }
.profile-image-preview img { width: 60px; height: 60px; border: 3px solid #e2f1fd; border-radius: 50%; object-fit: cover; }
.remove-profile-image { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; color: #697684; font-size: 11px; font-weight: 500; }
.remove-profile-image input { margin: 0; }
.social-links-editor { padding: 13px; border: 1px solid #e8eef4; border-radius: 10px; background: #f9fbfd; }
.social-links-title { display: block; color: #465464; font-size: 12px; font-weight: 700; }
.social-links-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; margin-top: 12px; }
.story-editor-field { padding: 13px; border: 1px solid #e8eef4; border-radius: 10px; background: #f9fbfd; }
.experience-editor-field { min-width: 0; padding: 13px; border: 1px solid #e8eef4; border-radius: 10px; background: #f9fbfd; }
.experience-editor-list { display: grid; gap: 12px; margin-top: 12px; }
.experience-editor-item { display: grid; gap: 9px; padding: 13px; border: 1px solid #e5ebf0; border-radius: 9px; background: #fff; }
.experience-editor-heading { display: flex; justify-content: space-between; align-items: center; color: #465464; font-size: 12px; }
.experience-editor-heading .experience-remove { padding: 0; border: 0; background: none; color: #c33b4b; font-size: 11px; font-weight: 700; }
.experience-add { justify-self: start; margin-top: 12px; }
.option-picker-field { min-width: 0; padding: 13px; border: 1px solid #e8eef4; border-radius: 10px; background: #f9fbfd; }
.option-picker-legend { float: none; width: auto; margin: 0; color: #465464; font-size: 12px; font-weight: 700; }
.option-picker { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; max-height: 250px; margin-top: 11px; padding: 2px; overflow-y: auto; }
.option-choice { min-width: 0; display: flex; align-items: flex-start; gap: 7px; padding: 8px 9px; border: 1px solid #e5ebf0; border-radius: 8px; background: #fff; color: #526170; cursor: pointer; font-size: 11px; font-weight: 500; line-height: 1.4; }
.option-choice:has(input:checked) { border-color: #9acbf0; background: #eff8ff; color: var(--blue-dark); }
.option-choice input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--blue); }
.option-choice span { overflow-wrap: anywhere; }
.editor-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #eef0f3; }
.btn-outline { border-color: #d4e4f2; background: #fff; color: var(--blue); }
.btn-outline:hover { border-color: var(--blue); background: #f2f9ff; color: var(--blue-dark); }
.btn-quiet { border-color: transparent; background: #f5f7f9; color: #5e6b79; }
.btn-quiet:hover { background: #e9eef2; color: var(--ink); }
.ai-panel { margin-top: 14px; padding: 14px; border: 1px solid #dcecf9; border-radius: 10px; background: #f7fbff; }
.ai-panel > label { color: #344658; font-size: 12px; font-weight: 700; }
.ai-controls { display: flex; gap: 9px; margin-top: 5px; }
.ai-controls .form-control { margin: 0; }
.ai-controls .btn-outline { flex-shrink: 0; }
.ai-panel button:disabled { opacity: .7; cursor: wait; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.dashboard-heading h1, .admin-section > .section-heading h1, .editor-section > .section-heading h1 { margin: 4px 0; font-size: 32px; font-weight: 800; }
.dashboard-heading p { margin: 0; }
.dashboard-heading .btn-outline { white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.dashboard-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: var(--round); background: #fff; }
.card-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; background: #edf7ff; color: var(--blue); font-size: 19px; }
.card-icon.orange { background: #fff4e7; color: var(--orange); }
.dashboard-card h2 { margin: 0 0 7px; font-size: 19px; font-weight: 750; }
.dashboard-card > p { color: var(--muted); font-size: 13px; }
.portfolio-summary .btn-primary { margin-top: 4px; }
.text-link { display: inline-block; margin-top: 13px; border: 0; background: none; color: var(--blue); font-size: 12px; font-weight: 700; }
.upload-form { display: grid; gap: 11px; margin-top: 15px; }
.upload-form .btn-outline { justify-self: start; }
.upload-limits { margin: 0; padding: 10px 12px 10px 31px; border: 1px solid #e8eef4; border-radius: 9px; background: #f8fbfe; color: #687584; font-size: 11px; }
.upload-limits li + li { margin-top: 3px; }
.upload-limits strong { color: #344658; }
.media-manager { margin-top: 35px; }
.media-manager > h2 { margin-bottom: 14px; font-size: 21px; font-weight: 800; }
.media-manager-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.media-manager-item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.media-manager-item > img, .media-manager-item > video { width: 100%; height: 145px; display: block; object-fit: cover; background: #edf1f5; }
.media-manager-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px; font-size: 11px; }
.media-manager-caption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-manager-caption form { flex-shrink: 0; }
.media-manager-caption button { padding: 0; border: 0; background: none; font-size: 10px; }
.text-danger { color: #c33b4b; }
.admin-section > .section-heading { margin-bottom: 25px; }
.admin-layout { display: grid; grid-template-columns: minmax(270px,.82fr) minmax(0,1.18fr); align-items: start; gap: 18px; }
.admin-settings { display: grid; gap: 12px; }
.admin-settings h2, .account-panel h2 { margin: 0; font-size: 20px; font-weight: 800; }
.admin-settings > .field-help { margin-top: -6px; }
.admin-settings > .form-label { margin: 0; }
.account-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--round); background: #fff; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.account-table { margin-bottom: 0; font-size: 11px; }
.account-table th { color: #82909d; font-size: 10px; font-weight: 700; white-space: nowrap; }
.account-table td { min-width: 75px; padding: 12px 7px; }
.account-table td strong, .account-table td small { display: block; overflow-wrap: anywhere; }
.account-table td small { margin-top: 3px; color: #8994a0; font-size: 10px; }
.account-table .text-link { margin: 0; padding: 0; font-size: 11px; }
.status-pill { display: inline-block; padding: 4px 7px; border-radius: 30px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-active { background: #e8f7ed; color: #278749; }
.status-paused { background: #fff1e9; color: #b6591b; }
.moderation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.moderation-item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.moderation-item > img, .moderation-item > video { width: 100%; height: 210px; display: block; object-fit: contain; background: #17212b; }
.moderation-item-content { display: grid; gap: 9px; padding: 14px; }
.moderation-item-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #617080; font-size: 11px; }
.moderation-item-content > p { margin: 0; overflow-wrap: anywhere; font-size: 12px; }
.moderation-owner { color: var(--muted); line-height: 1.65; }
.moderation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.moderation-actions form { margin: 0; }
.moderation-actions .btn-outline { padding: 8px 11px; font-size: 11px; }
.moderation-actions .text-danger { padding: 7px 0; border: 0; background: none; font-size: 11px; font-weight: 700; }
.moderation-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 25px; color: var(--muted); font-size: 12px; }
.moderation-pagination .btn-outline { padding: 8px 12px; }
.profile-hero { padding: 54px 0 45px; background: linear-gradient(110deg,#f3f9ff,#fff 74%); }
.profile-hero-inner { position: relative; display: flex; align-items: center; gap: 25px; }
.profile-mark { width: 104px; height: 104px; flex-shrink: 0; overflow: hidden; border: 7px solid #e2f1fd; font-size: 40px; }
.profile-intro { min-width: 0; }
.profile-intro h1 { margin: 9px 0 5px; font-size: clamp(30px,4vw,43px); font-weight: 800; overflow-wrap: anywhere; }
.profile-headline { margin: 0; color: #657382; font-size: 16px; }
.profile-location { margin: 8px 0 0; color: #8793a0; font-size: 12px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.call-center-action { display: grid; justify-items: start; }
.call-center-action[hidden] { display: none; }
.call-center-action .btn-primary { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; background: #168a45; color: #fff; font-size: 14px; font-weight: 750; box-shadow: 0 4px 10px rgba(22,138,69,.22); transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.call-center-action .btn-primary:hover { background: #11783b; box-shadow: 0 6px 14px rgba(22,138,69,.3); transform: translateY(-1px); }
.call-center-action .btn-primary:focus-visible { outline: 3px solid rgba(22,138,69,.35); outline-offset: 3px; }
.call-online-dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #8df0ae; box-shadow: 0 0 0 3px rgba(141,240,174,.22); }
.call-center-platform { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.profile-share { display: grid; justify-items: end; gap: 6px; margin-left: auto; color: #7c8996; font-size: 10px; white-space: nowrap; }
.share-button { padding: 7px 10px; border: 1px solid #d8e6f2; border-radius: 7px; background: #fff; color: var(--blue); font-size: 11px; font-weight: 700; }
.profile-content { display: grid; grid-template-columns: minmax(0,1fr) 275px; gap: 36px; padding-top: 42px; padding-bottom: 36px; }
.profile-main { min-width: 0; }
.profile-tabs { display: flex; gap: 7px; margin: 0 0 25px; padding: 0 0 12px; border-bottom: 1px solid #e8edf2; }
.profile-tab { padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #687584; font-size: 12px; font-weight: 700; }
.profile-tab:hover { background: #f5f9fc; color: var(--blue); }
.profile-tab.is-active { border-color: #d7eafb; background: #edf7ff; color: var(--blue); }
.profile-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.profile-tab-panel[hidden] { display: none; }
.profile-section { margin-bottom: 33px; }
.profile-section h2, .contact-card h2 { margin: 4px 0 12px; font-size: 23px; font-weight: 800; }
.story-subheading { margin: 20px 0 10px; font-size: 15px; font-weight: 750; }
.rich-content { color: #556373; line-height: 1.8; overflow-wrap: anywhere; }
.rich-content a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.rich-content a:hover { color: var(--blue-dark); }
.rich-content > :first-child { margin-top: 0; }
.rich-content > :last-child { margin-bottom: 0; }
.rich-content ul, .rich-content ol { padding-left: 21px; }
.service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.service-item { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid #e9eef2; border-radius: 9px; color: #526170; font-size: 12px; }
.service-check { color: var(--blue); font-weight: 800; }
.experience-list { display: grid; gap: 13px; }
.experience-entry { padding: 15px 16px; border: 1px solid #e8edf2; border-radius: 10px; background: #fff; }
.experience-entry-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.experience-entry-heading h3 { margin: 0; font-size: 14px; font-weight: 750; }
.experience-entry-heading > span { flex-shrink: 0; color: var(--blue); font-size: 11px; font-weight: 700; }
.experience-organization { margin: 4px 0 0; color: #73808d; font-size: 11px; font-weight: 600; }
.experience-description { margin: 9px 0 0; color: #556373; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-card { position: sticky; top: 100px; padding: 20px; border: 1px solid #e5edf4; border-radius: 14px; background: #f8fbfe; }
.contact-card h2 { font-size: 18px; }
.contact-card > p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.call-center-widget { display: contents; }
.call-center-status, .call-invite-status { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.call-center-status { flex-basis: 100%; }
.call-center-status:empty { display: none; }
.call-center-widget [data-call-center-button] { width: auto; justify-content: center; }
.call-error-toast { position: fixed; z-index: 1000; top: 24px; right: 24px; display: flex; align-items: flex-start; gap: 14px; width: min(520px, calc(100vw - 32px)); padding: 22px; border: 1px solid #f3c7c4; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 48px rgba(27,39,50,.22); animation: call-toast-enter .2s ease-out; }
.call-error-toast-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #fff0ef; color: #b42318; font-size: 17px; font-weight: 800; }
.call-error-toast-message { flex: 1; margin: 2px 0 0; color: #344054; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.call-error-toast-message a { display: inline-block; margin-top: 8px; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.call-error-toast-close { flex: 0 0 28px; width: 28px; height: 28px; margin: -4px -4px 0 0; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #667085; font-size: 23px; line-height: 1; cursor: pointer; }
.call-error-toast-close:hover, .call-error-toast-close:focus-visible { background: #f2f4f7; color: #344054; }
.call-error-toast-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@keyframes call-toast-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .call-error-toast { animation: none; } }
@media (max-width: 600px) { .call-error-toast { top: 12px; right: 12px; width: calc(100vw - 24px); padding: 18px; } }
.contact-link { display: block; padding: 11px 0; border-top: 1px solid #e8edf2; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.profile-social-links { display: grid; gap: 8px; margin-top: 12px; padding-top: 13px; border-top: 1px solid #e8edf2; }
.profile-social-links h3 { margin: 0; color: #687584; font-family: 'DM Sans',Arial,sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.social-profile-link { display: flex; justify-content: space-between; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.social-profile-link:hover { color: var(--blue-dark); }
.portfolio-gallery { padding: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.gallery-item { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.gallery-item img, .gallery-item video { width: 100%; height: 230px; display: block; object-fit: cover; background: #edf1f5; }
.gallery-item img.gallery-zoom-image { cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.gallery-item figcaption { padding: 10px 12px; color: #667482; font-size: 11px; }
.gallery-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: #101820; color: #fff; }
.gallery-lightbox::backdrop { background: rgba(8,14,20,.96); }
.gallery-lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.gallery-lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: #17212b; }
.gallery-lightbox-hint { color: #c5d0da; font-size: 12px; }
.gallery-lightbox-controls { display: flex; align-items: center; gap: 8px; }
.gallery-lightbox-controls button { min-width: 38px; min-height: 36px; padding: 6px 10px; border: 1px solid #536272; border-radius: 7px; background: #263545; color: #fff; font-size: 14px; font-weight: 700; }
.gallery-lightbox-controls button:hover { background: #34485c; }
.gallery-lightbox-controls button:focus-visible { outline: 2px solid #8cc9ff; outline-offset: 2px; }
.gallery-lightbox-controls output { min-width: 48px; color: #fff; font-size: 12px; text-align: center; }
.gallery-lightbox-stage { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; display: flex; align-items: center; justify-content: center; }
.gallery-lightbox-stage img { display: block; flex: none; width: auto; height: auto; max-width: none; max-height: none; user-select: none; -webkit-user-drag: none; }
.gallery-lightbox-caption { min-height: 20px; margin: 0; padding: 0 15px 12px; color: #d4dce4; font-size: 12px; text-align: center; }
.profile-end-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; padding: 23px; background: #f7f9fc; }
.profile-end-cta p { margin: 0; color: #596777; font-size: 13px; font-weight: 600; }
.auth-section + .site-footer { margin-top: auto; }

@media (max-width: 850px) {
    .nav-links { gap: 14px; }
    .hero-grid { min-height: 450px; grid-template-columns: 1.1fr .9fr; gap: 15px; }
    .hero-art { transform: scale(.88); transform-origin: center; }
    .profile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-layout { grid-template-columns: 1fr; }
    .moderation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-settings { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-settings h2, .admin-settings > p, .admin-settings > button { grid-column: 1/-1; }
    .profile-content { grid-template-columns: minmax(0,1fr) 230px; gap: 22px; }
}
@media (max-width: 640px) {
    body { font-size: 14px; }
    .navbar { min-height: 66px; flex-wrap: wrap; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
    .brand img { width: 37px; height: 37px; }
    .brand-copy strong { font-size: 16px; }
    .nav-links { width: 100%; justify-content: space-between; gap: 8px; overflow-x: auto; padding: 3px 0 2px; }
    .nav-links > a:not(.nav-cta), .nav-button { flex-shrink: 0; font-size: 11px; }
    .nav-links .nav-cta { flex-shrink: 0; padding: 8px 10px; font-size: 11px; }
    .hero-grid { min-height: unset; grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 26px; }
    .hero h1 { font-size: 38px; }
    .hero-copy > p { font-size: 14px; }
    .hero-art { width: min(100%,390px); height: 245px; margin: -4px auto 0; transform: scale(.74); transform-origin: top center; }
    .search-area { margin-top: 26px; }
    .search-bar { gap: 7px; padding-left: 10px; }
    .search-bar input { font-size: 11px; }
    .search-bar .btn-primary { padding: 8px 11px; font-size: 11px; }
    .directory-section { padding-top: 47px; padding-bottom: 55px; }
    .section-heading h1, .section-heading h2 { font-size: 26px; }
    .directory-heading { align-items: start; }
    .directory-heading > div { min-width: 0; }
    .directory-heading .results-count { margin-top: 9px; }
    .profile-grid { grid-template-columns: 1fr; gap: 11px; }
    .directory-card { padding: 17px; }
    .directory-headline { min-height: unset; }
    .compact-tags { min-height: unset; }
    .how-section { padding: 52px 0; }
    .centered h2 { font-size: 26px; }
    .steps-grid { grid-template-columns: 1fr; gap: 10px; }
    .step-card { padding: 19px; }
    .support-section { min-height: unset; align-items: flex-start; padding-top: 45px; padding-bottom: 45px; }
    .support-copy h2 { font-size: 26px; }
    .donation-form-controls { align-items: stretch; flex-wrap: wrap; }
    .donation-form-controls .btn-primary, .donation-form-controls .btn-outline { flex: 1 1 100%; }
    .support-mark { width: 96px; height: 96px; flex-shrink: 0; }
    .support-mark > span { font-size: 25px; }
    .support-mark small { font-size: 8px; }
    .join-inner { align-items: flex-start; flex-direction: column; }
    .join-inner h2 { font-size: 25px; }
    .auth-card { padding: 23px 19px; }
    .auth-card h1 { font-size: 25px; }
    .editor-section, .dashboard-section, .admin-section { padding-top: 34px; padding-bottom: 48px; }
    .editor-card { padding: 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 13px; }
    .full-width { grid-column: auto; }
    .social-links-fields { grid-template-columns: 1fr; }
    .experience-entry-heading { flex-direction: column; gap: 5px; }
    .option-picker { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .input-prefix > span { padding: 9px 7px; font-size: 8px; }
    .input-prefix input { padding: 8px 6px; font-size: 11px; }
    .ai-controls { align-items: stretch; flex-direction: column; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .dashboard-heading h1, .admin-section > .section-heading h1, .editor-section > .section-heading h1 { font-size: 28px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .media-manager-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .moderation-grid { grid-template-columns: 1fr; }
    .moderation-item > img, .moderation-item > video { height: min(72vw,330px); }
    .admin-settings { grid-template-columns: 1fr; }
    .admin-settings h2, .admin-settings > p, .admin-settings > button { grid-column: auto; }
    .account-panel { padding: 14px; }
    .profile-hero { padding: 35px 0 28px; }
    .profile-hero-inner { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
    .profile-mark { width: 75px; height: 75px; border-width: 5px; font-size: 29px; }
    .profile-intro { flex: 1; }
    .profile-intro h1 { margin-top: 6px; font-size: 30px; }
    .profile-headline { font-size: 13px; }
    .profile-share { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-left: 0; }
    .profile-content { grid-template-columns: 1fr; gap: 0; padding-top: 27px; }
    .profile-aside { grid-row: 1; margin-bottom: 24px; }
    .contact-card { position: static; }
    .service-list { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .gallery-item img, .gallery-item video { height: 150px; }
    .gallery-lightbox-toolbar { align-items: flex-start; flex-direction: column; padding: 10px; }
    .gallery-lightbox-controls { width: 100%; justify-content: space-between; gap: 5px; }
    .gallery-lightbox-controls button { min-width: 34px; min-height: 34px; padding: 5px 8px; }
    .profile-end-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 380px) {
    .hero h1 { font-size: 33px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img, .gallery-item video { height: 210px; }
}
