* { box-sizing: border-box; }
:root {
    --bg: oklch(0.99 0.003 240);
    --card: #ffffff;
    --text: oklch(0.13 0.01 240);
    --muted: oklch(0.48 0.02 240);
    --border: oklch(0.90 0.01 240);
    --accent: oklch(0.62 0.12 240);
    --accent-soft: oklch(0.92 0.06 240);
    --dark-panel: oklch(0.13 0.01 240);
    --dark-row: oklch(0.20 0.01 240);
    --pink: oklch(0.92 0.04 10);
    --danger: oklch(0.56 0.18 25);
}
body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.page-shell { position: relative; min-height: 100vh; overflow-x: hidden; background: var(--bg); }
.accent { position: fixed; pointer-events: none; z-index: 0; }
.accent-blue { top: -80px; right: -80px; width: 320px; height: 320px; border-radius: 999px; opacity: .30; background: radial-gradient(circle, oklch(0.80 0.12 240), transparent 70%); }
.accent-pink { bottom: -60px; left: -60px; width: 260px; height: 260px; border-radius: 999px; opacity: .25; background: radial-gradient(circle, oklch(0.88 0.10 10), transparent 70%); }
.accent-square { top: 45%; right: 4%; width: 40px; height: 40px; border-radius: 8px; opacity: .20; transform: rotate(12deg); background: oklch(0.72 0.14 240); }
.accent-diamond { top: 30%; left: 3%; width: 28px; height: 28px; border-radius: 4px; opacity: .15; transform: rotate(45deg); background: oklch(0.82 0.10 10); }
.top-nav { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--border); background: color-mix(in oklch, var(--bg), transparent 16%); backdrop-filter: blur(12px); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 0 18px; }
.signed-in-actions { position: relative; }
.admin-portal-link { color: oklch(0.40 0.10 240); border-color: color-mix(in oklch, var(--accent), transparent 55%); background: var(--accent-soft); }
.account-menu { position: relative; }
.account-menu summary { width: 44px; height: 44px; overflow: hidden; display: grid; place-items: center; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--accent); box-shadow: 0 0 0 1px var(--border), 0 6px 16px rgba(18, 22, 32, .12); font-weight: 900; list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary img { width: 100%; height: 100%; object-fit: cover; }
.account-menu[open] summary { box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 68%); }
.account-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 240px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(18, 22, 32, .16); }
.account-identity { padding: 16px; border-bottom: 1px solid var(--border); }
.account-identity strong, .account-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-identity strong { font-size: 14px; }
.account-identity small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.account-dropdown nav { padding: 7px; }
.account-dropdown nav > a, .account-option-disabled, .account-dropdown form button { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 13px; font-weight: 800; text-align: left; }
.account-dropdown nav > a:hover, .account-dropdown form button:hover { background: var(--accent-soft); }
.account-option-disabled { color: var(--muted); cursor: not-allowed; }
.account-option-disabled small { font-size: 10px; font-weight: 700; }
.account-dropdown form { margin: 0; padding: 7px; border-top: 1px solid var(--border); }
.account-dropdown form button { color: var(--danger); cursor: pointer; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #0F51F8; font-size: 18px; font-weight: 800; letter-spacing: 0; }
.brand-mark { width: 80px; height: 80px; display: block; flex: 0 0 auto; object-fit: contain; }
.brand-mark.small { width: 54px; height: 54px; }
.brand.compact { font-size: 16px; }
.home-page .brand,
.home-page .admin-portal-link,
.home-page .hero h1 span,
.home-page .earning span,
.home-page .profile-tags span,
.home-page .step-card strong,
.home-page .rate-list strong,
.home-page .community-count strong { color: #0f51f8; }
.btn { border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-dark { color: #fff; background: var(--dark-panel); box-shadow: 0 10px 24px rgba(18, 22, 32, .12); }
.btn-outline { color: var(--text); background: #fff; border: 1px solid var(--border); }
.btn-pill { border-radius: 999px; }
.btn-large { min-height: 56px; padding: 0 40px; font-size: 16px; }
.btn-dashed { border-style: dashed; width: 100%; }
.hidden { display: none !important; }
.hero { position: relative; z-index: 1; padding: 96px 0 80px; text-align: center; }
.hero-copy { max-width: 780px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; padding: 6px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.eyebrow span { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.hero h1 { margin: 0 0 24px; color: var(--dark-panel); font-size: clamp(48px, 8vw, 84px); line-height: 1.05; font-weight: 950; letter-spacing: 0; }
.hero h1 span { display: block; color: var(--accent); }
.hero-subtitle { margin: 0 0 16px; color: var(--muted); font-size: clamp(20px, 3vw, 28px); font-weight: 300; }
.earning { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 32px; }
.earning strong { color: var(--dark-panel); font-size: clamp(40px, 6vw, 60px); line-height: 1; font-weight: 950; }
.earning span { color: var(--accent); font-size: 22px; font-weight: 800; }
.hero-description { max-width: 580px; margin: 0 auto 48px; color: var(--muted); font-weight: 300; }
.english-hero .hero-copy { max-width: 900px; }
.english-hero .hero-subtitle { max-width: 800px; margin-right: auto; margin-left: auto; line-height: 1.45; }
.english-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.english-section-heading { max-width: 760px; margin-right: auto; margin-left: auto; }
.english-feature-grid .step-card { min-height: 270px; }
.english-purpose-section { position: relative; z-index: 1; padding: 80px 0; color: #fff; background: var(--dark-panel); }
.english-purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.english-purpose-grid > div { padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: var(--dark-row); }
.english-purpose-grid .terms-kicker { color: oklch(0.80 0.12 240); }
.english-purpose-grid h2 { margin: 5px 0 12px; color: #fff; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; }
.english-purpose-grid p:not(.terms-kicker) { margin: 0; color: rgba(255,255,255,.70); font-weight: 300; }
.english-purpose-grid .btn { margin-top: 24px; color: #fff; border-color: rgba(255,255,255,.28); background: transparent; }
.divider-dot { max-width: 320px; margin: 80px auto 0; display: flex; align-items: center; gap: 16px; }
.divider-dot span { flex: 1; height: 1px; background: var(--border); }
.divider-dot i { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.section { position: relative; z-index: 1; padding: 80px 0; }
.section-heading { margin-bottom: 56px; text-align: center; }
.section-heading h2, .earning-section h2, .final-cta h2 { margin: 0 0 12px; color: var(--dark-panel); font-size: clamp(32px, 5vw, 48px); line-height: 1.15; font-weight: 950; }
.section-heading p { margin: 0; color: var(--muted); font-weight: 300; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.profile-card { min-width: 0; height: 100%; overflow: hidden; display: grid; grid-template-rows: 260px minmax(116px, 1fr); border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 8px 22px rgba(18, 22, 32, .05); transition: transform .16s ease, box-shadow .16s ease; }
.profile-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 22, 32, .10); }
.profile-photo { position: relative; width: 100%; height: 260px; overflow: hidden; display: grid; place-items: center; color: #fff; background: var(--accent); font-size: 52px; font-weight: 950; }
.profile-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.price-chip { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(18, 22, 32, .82); font-size: 13px; font-weight: 900; backdrop-filter: blur(8px); }
.price-chip small { font-size: 10px; font-weight: 700; }
.profile-body { min-height: 116px; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.profile-row { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.profile-row strong { overflow: hidden; font-size: 17px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.profile-row > span { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.profile-tags span { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; color: oklch(0.40 0.10 240); background: var(--accent-soft); font-size: 11px; font-weight: 800; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { min-height: 244px; padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 8px 20px rgba(18, 22, 32, .04); transition: box-shadow .16s ease; }
.step-card:hover { box-shadow: 0 14px 32px rgba(18, 22, 32, .08); }
.step-card strong { display: block; color: oklch(0.80 0.12 240); font-size: 48px; line-height: 1; font-weight: 950; }
.step-card h3 { margin: 16px 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 300; }
.earning-section { position: relative; z-index: 1; padding: 80px 0; background: var(--dark-panel); }
.earning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.earning-section h2 { color: #fff; }
.earning-section p { color: rgba(255,255,255,.62); font-weight: 300; }
.earning-section p strong { color: #fff; }
.rate-list, .bonus-list { display: flex; flex-direction: column; gap: 12px; }
.rate-list div, .bonus-list div { min-height: 56px; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: var(--dark-row); }
.rate-list div { justify-content: space-between; }
.rate-list span, .bonus-list p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 300; }
.rate-list strong { color: oklch(0.80 0.12 240); font-size: 14px; }
.bonus-list span { font-size: 24px; }
.bonus-list strong { margin-left: auto; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 12px; }
.community-section { display: flex; justify-content: center; }
.community-count { width: min(820px, 100%); padding: 24px 32px; text-align: center; }
.community-count p { margin: 0 0 12px; color: var(--dark-panel); font-size: clamp(20px, 3vw, 28px); font-weight: 900; }
.community-count strong { display: block; color: var(--accent); font-size: clamp(64px, 12vw, 104px); line-height: 1; font-weight: 950; letter-spacing: -3px; }
.community-count span { display: block; margin-top: 12px; color: var(--dark-panel); font-size: clamp(20px, 3vw, 28px); font-weight: 900; }
.final-cta { position: relative; overflow: hidden; padding: 96px 0; text-align: center; background: var(--pink); }
.final-accent { position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 999px; opacity: .40; background: radial-gradient(circle, oklch(0.80 0.12 240), transparent 70%); }
.final-cta p { margin: 0 0 40px; color: var(--muted); font-size: 18px; font-weight: 300; }
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.footer-legal a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { display: flex; align-items: center; flex-direction: column; gap: 7px; }
.footer-contact > strong { color: var(--text); font-size: 12px; font-weight: 850; }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-facebook { width: 40px; height: 40px; display: block; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease; }
.footer-facebook:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(24, 119, 242, .22); }
.footer-facebook:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.footer-facebook svg { width: 100%; height: 100%; display: block; }
.footer-facebook circle { fill: #1877f2; }
.footer-facebook path { fill: #fff; }
.footer-line { width: 40px; height: 40px; display: block; }
.footer-line:focus-visible { outline: 3px solid color-mix(in oklch, #06c755, transparent 70%); outline-offset: 3px; }
.footer-line img { width: 100%; height: 100%; display: block; }
.footer-email { color: var(--muted); font-size: 12px; font-weight: 700; }
.footer-email:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.register-main { padding: 48px 0; max-width: 608px; }
.register-card { min-height: 520px; }
.login-head { margin-bottom: 40px; text-align: center; }
.login-logo { width: 76px; height: 76px; margin: 0 auto 24px; display: block; object-fit: contain; }
.login-head h1, .step-title h2, .thank-you h1 { margin: 0 0 8px; color: var(--dark-panel); font-size: 32px; line-height: 1.15; font-weight: 950; }
.login-head p, .step-title p, .micro-copy { margin: 0; color: var(--muted); font-size: 14px; font-weight: 300; }
.facebook-btn { width: 100%; color: #fff; background: #1877f2; }
.facebook-btn span { font-size: 18px; font-weight: 950; }
.micro-copy { margin-top: 12px; text-align: center; }
.form-step { display: none; animation: stepIn .24s ease; }
.form-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.progress { height: 34px; margin-bottom: 32px; position: relative; }
.progress::before { content: attr(data-label); display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--pct, 0%), oklch(0.94 0.01 240) var(--pct, 0%)); }
.step-title { margin-bottom: 32px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field > span { font-size: 14px; font-weight: 800; }
.field b { color: var(--danger); }
.field small { color: var(--muted); font-size: 12px; font-weight: 300; }
input, textarea, select { width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; color: var(--text); background: #fff; outline: none; }
textarea { resize: vertical; min-height: 112px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 78%); }
.error-text, .form-error { color: var(--danger) !important; font-weight: 700 !important; }
.photo-upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 184px; margin-bottom: 20px; padding: 32px; border: 2px dashed var(--border); border-radius: 22px; background: #fff; color: var(--muted); text-align: center; cursor: pointer; }
.photo-upload:hover { border-color: var(--accent); }
.photo-upload input { display: none; }
.photo-upload-icon { width: 72px; height: 72px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); font-size: 28px; }
.photo-upload small { color: var(--muted); font-size: 12px; }
.photo-preview { width: 72px; height: 72px; border-radius: 999px; display: grid; place-items: center; overflow: hidden; background: var(--accent-soft); font-size: 28px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.id-upload .photo-preview { border-radius: 18px; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: -4px 0 20px; }
.photo-preview-item { position: relative; aspect-ratio: 1; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--accent-soft); cursor: pointer; }
.photo-preview-item:hover, .photo-preview-item:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 78%); outline: none; }
.photo-preview-item.is-cover { border: 3px solid var(--accent); }
.photo-preview-item img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-cover-label { position: absolute; right: 5px; bottom: 5px; left: 5px; padding: 3px 5px; border-radius: 7px; color: #fff; background: rgba(18, 22, 32, .74); font-size: 10px; font-weight: 800; text-align: center; }
.language-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.language-row .custom-language-field { grid-column: 1 / -1; }
.measurement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.measurement-grid .field { position: relative; }
.measurement-grid em { position: absolute; top: 42px; right: 14px; color: var(--muted); font-size: 13px; font-style: normal; }
.measurement-grid input { padding-right: 42px; }
.activity-list { display: grid; gap: 8px; }
.toggle-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s ease, color .16s ease, transform .16s ease; }
.toggle-card.large { min-height: 64px; margin-bottom: 12px; padding: 20px; border-radius: 20px; }
.toggle-card input { display: none; }
.toggle-card i { color: transparent; font-style: normal; }
.toggle-card:has(input:checked) { color: #fff; border-color: transparent; background: var(--accent); }
.toggle-card:has(input:checked) i { color: #fff; }
.day-list { display: flex; flex-wrap: wrap; gap: 8px; }
.day-list label { cursor: pointer; }
.day-list input { display: none; }
.day-list span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.day-list input:checked + span { color: #fff; border-color: transparent; background: var(--accent); }
.price-field input { padding-right: 112px; }
.price-field em { position: absolute; top: 42px; right: 16px; color: var(--muted); font-size: 14px; font-style: normal; }
.share-preview, .secure-note, .legal-note, .confirm-box { border: 1px solid var(--border); border-radius: 20px; background: oklch(0.97 0.005 240); }
.share-preview { padding: 24px; margin-bottom: 24px; }
.share-preview > div, .secure-note, .confirm-box { display: flex; gap: 12px; align-items: flex-start; }
.share-preview > div > span { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: #1877f2; font-weight: 900; }
.share-preview small { display: block; color: var(--muted); }
.share-preview p { margin: 16px 0 0; font-size: 14px; font-weight: 300; }
.confirm-box, .consent-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 20px; color: var(--text); font-size: 14px; font-weight: 800; cursor: pointer; }
.confirm-box { background: oklch(0.95 0.04 140); }
.consent-box { background: #fff; }
.confirm-box input, .consent-box input { width: auto; min-height: 0; margin-top: 3px; }
.consent-box small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; }
.legal-link { color: oklch(0.48 0.15 240); text-decoration: underline; text-underline-offset: 3px; }
.legal-link:hover { color: var(--accent); }
.terms-main { width: min(800px, calc(100% - 32px)); padding: 56px 0 80px; }
.terms-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.terms-kicker { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.terms-header h1 { margin: 0 0 12px; font-size: clamp(36px, 7vw, 56px); line-height: 1.08; }
.terms-updated { margin: 0; color: var(--muted); font-size: 14px; }
.terms-intro { margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.terms-content { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(18, 22, 32, .05); }
.terms-content section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.terms-content h2 { margin: 0 0 18px; font-size: 22px; }
.terms-content h3 { margin: 24px 0 8px; font-size: 16px; }
.terms-content p { margin: 0 0 14px; color: oklch(0.30 0.015 240); }
.terms-content a { color: oklch(0.48 0.15 240); text-decoration: underline; text-underline-offset: 3px; }
.terms-content ul, .terms-content ol { margin: 8px 0 16px; padding-left: 22px; color: oklch(0.30 0.015 240); }
.terms-content li + li { margin-top: 6px; }
.terms-end { margin-top: 36px !important; padding: 20px; border-radius: 16px; background: var(--accent-soft); color: var(--text) !important; font-weight: 700; }
.verify-badge { display: inline-flex; margin-bottom: 24px; padding: 6px 12px; border-radius: 999px; color: oklch(0.40 0.10 240); background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.secure-note { padding: 16px; margin-bottom: 28px; }
.secure-note p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.legal-note { padding: 16px; color: var(--muted); font-size: 12px; }
.legal-note strong { color: var(--text); }
.legal-note b { color: #e53935; }
.legal-note ul { margin: 6px 0 0; padding-left: 18px; }
.form-actions { display: flex; gap: 12px; margin-top: 32px; }
.form-actions .btn { flex: 1; }
.link-button { border: 0; background: transparent; color: var(--muted); font-size: 14px; }
.centered-page { min-height: 100vh; }
.thank-you, .not-found { min-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-mark { width: 84px; height: 84px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: var(--accent); font-size: 42px; font-weight: 950; margin-bottom: 24px; }
.thank-you p { max-width: 540px; color: var(--muted); }
.thank-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.profile-page { padding: 48px 0; }
.profile-status-banner { max-width: 820px; margin: 0 auto 32px; padding: 18px 20px; border: 1px solid; border-radius: 16px; }
.profile-status-banner strong { display: block; margin-bottom: 4px; font-size: 18px; }
.profile-status-banner p { margin: 0; line-height: 1.65; }
.profile-status-banner.status-hidden { border-color: oklch(0.78 0.12 80); background: oklch(0.97 0.04 80); color: oklch(0.35 0.08 70); }
.profile-status-banner.status-suspended { border-color: oklch(0.72 0.15 25); background: oklch(0.97 0.035 25); color: oklch(0.38 0.13 25); }
.profile-status-banner.status-suspended a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.back-link { color: var(--muted); font-weight: 700; }
.profile-header { text-align: center; }
.profile-details { max-width: 820px; margin: 40px auto 0; }
.profile-section { padding: 30px 0; border-top: 1px solid var(--border); }
.profile-section h2 { position: relative; margin: 0 0 18px; padding-left: 15px; font-size: 23px; }
.profile-section h2::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 0; width: 5px; border-radius: 999px; background: var(--accent); }
.profile-section p { margin: 0; color: oklch(0.30 0.015 240); white-space: pre-line; }
.profile-section .profile-section-copy { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.profile-personal-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.profile-personal-details div { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.profile-personal-details dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.profile-personal-details dd { margin: 5px 0 0; font-size: 17px; font-weight: 900; }
.profile-activity-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.profile-activity-list li { position: relative; padding-left: 24px; }
.profile-activity-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 950; }
.profile-language-list { display: grid; gap: 12px; }
.profile-language-row { min-width: 0; display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.profile-language-row:last-child { border-bottom: 0; }
.profile-language-row > strong { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.language-proficiency { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.language-proficiency > span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.proficiency-scale { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.proficiency-scale i { height: 9px; border-radius: 999px; background: var(--border); }
.proficiency-scale i.active { background: var(--accent); }
.language-proficiency small { color: var(--muted); font-size: 9px; }
.language-proficiency small:last-child { text-align: right; }
.profile-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perk-card { min-height: 76px; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid; border-radius: 16px; }
.perk-card > span { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 999px; display: grid; place-items: center; color: #fff; font-weight: 950; }
.perk-card.available { color: oklch(0.34 0.10 145); border-color: oklch(0.82 0.08 145); background: oklch(0.96 0.04 145); }
.perk-card.available > span { background: oklch(0.54 0.14 145); }
.perk-card.unavailable { color: oklch(0.44 0.13 25); border-color: oklch(0.85 0.08 25); background: oklch(0.97 0.035 25); }
.perk-card.unavailable > span { background: oklch(0.58 0.17 25); }
.profile-available-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 28px; margin: 0; padding: 0; list-style: none; }
.profile-available-days li { padding: 8px 0; border-bottom: 1px solid var(--border); font-weight: 700; }
.profile-slideshow { max-width: 820px; margin: 0 auto 32px; outline: none; }
.profile-slideshow:focus-visible .profile-slideshow-frame { box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent), transparent 70%); }
.profile-slideshow-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: var(--accent-soft); box-shadow: 0 18px 40px rgba(18, 22, 32, .12); }
.profile-slideshow.is-loading .profile-slideshow-frame::after { content: "Loading photos…"; position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 5px 9px; border-radius: 999px; color: #fff; background: rgba(18, 22, 32, .70); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.profile-slide { width: 100%; height: 100%; margin: 0; }
.profile-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.profile-slide.slide-in-next { animation: profileSlideInNext .32s ease-out; }
.profile-slide.slide-in-previous { animation: profileSlideInPrevious .32s ease-out; }
@keyframes profileSlideInNext { from { opacity: .45; transform: translateX(12%); } to { opacity: 1; transform: translateX(0); } }
@keyframes profileSlideInPrevious { from { opacity: .45; transform: translateX(-12%); } to { opacity: 1; transform: translateX(0); } }
.slideshow-arrow { position: absolute; top: 50%; width: 48px; height: 48px; border: 0; border-radius: 999px; display: grid; place-items: center; transform: translateY(-50%); color: #fff; background: rgba(18, 22, 32, .70); box-shadow: 0 5px 18px rgba(18, 22, 32, .20); font-size: 38px; line-height: 1; backdrop-filter: blur(8px); }
.slideshow-arrow:hover { background: rgba(18, 22, 32, .90); }
.slideshow-arrow:disabled, .slideshow-dots button:disabled { cursor: wait; opacity: .55; }
.slideshow-arrow.previous { left: 16px; }
.slideshow-arrow.next { right: 16px; }
.slideshow-counter { position: absolute; right: 14px; bottom: 14px; padding: 5px 9px; border-radius: 999px; color: #fff; background: rgba(18, 22, 32, .70); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.slideshow-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.slideshow-dots button { width: 9px; height: 9px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: var(--border); }
.slideshow-dots button.active { width: 24px; background: var(--accent); }
.profile-avatar { width: 128px; height: 128px; margin: 0 auto 16px; border-radius: 999px; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--accent); font-size: 42px; font-weight: 950; box-shadow: 0 18px 36px rgba(18, 22, 32, .16); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
    .step-grid, .earning-grid, .english-purpose-grid { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { padding-top: 72px; }
    .footer-inner { flex-direction: column; }
    .rate-list div { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 24px, 1120px); }
    .hero h1 { font-size: 46px; }
    .btn-large { width: 100%; padding: 0 20px; }
    .language-row { grid-template-columns: 1fr; }
    .measurement-grid, .profile-personal-details { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; }
    .nav-inner { height: 60px; }
    .nav-actions { gap: 6px; }
    .nav-actions .btn { min-height: 40px; padding: 0 12px; font-size: 13px; }
    .admin-portal-link { padding: 0 11px !important; }
    .photo-preview-grid { grid-template-columns: repeat(3, 1fr); }
    .profile-grid { grid-template-columns: 1fr; }
    .community-count { padding: 16px 8px; }
    .profile-slideshow-frame { border-radius: 16px; }
    .slideshow-arrow { width: 42px; height: 42px; font-size: 32px; }
    .slideshow-arrow.previous { left: 10px; }
    .slideshow-arrow.next { right: 10px; }
    .profile-language-row { grid-template-columns: 145px 1fr; gap: 14px; }
    .profile-perks { grid-template-columns: 1fr; }
    .profile-available-days { grid-template-columns: 1fr; }
}

.auth-user-card { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 20px; background: #fff; text-align: left; }
.auth-user-card img, .auth-user-card > span { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; flex: 0 0 auto; }
.auth-user-card > span { display: grid; place-items: center; color: #fff; background: var(--accent); font-weight: 900; }
.auth-user-card strong { display: block; color: var(--text); }
.auth-user-card small { display: block; color: var(--muted); font-size: 12px; }
.logout-link { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.settings-main { width: min(760px, calc(100% - 32px)); padding: 56px 0 100px; }
.settings-header { margin-bottom: 28px; }
.settings-header h1 { margin: 0 0 20px; font-size: clamp(38px, 7vw, 58px); }
.settings-current-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.settings-current-status span { color: var(--muted); font-size: 13px; font-weight: 800; }
.settings-current-status strong { padding: 6px 11px; border-radius: 999px; font-size: 13px; }
.settings-current-status.status-published strong { color: oklch(0.34 0.10 145); background: oklch(0.95 0.04 145); }
.settings-current-status.status-hidden strong { color: oklch(0.35 0.08 70); background: oklch(0.96 0.05 80); }
.settings-current-status.status-suspended strong { color: oklch(0.40 0.14 25); background: oklch(0.95 0.04 25); }
.settings-success { margin: 12px 0 0; color: oklch(0.38 0.10 145); font-size: 13px; font-weight: 800; }
.settings-card { margin-bottom: 20px; padding: clamp(22px, 5vw, 34px); border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(18, 22, 32, .04); }
.settings-card h2 { margin: 0 0 8px; font-size: 23px; }
.settings-card > p { margin: 0 0 22px; color: var(--muted); }
.visibility-options { display: grid; gap: 10px; }
.visibility-option { display: flex; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; }
.visibility-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.visibility-option input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.visibility-option span, .visibility-option strong, .visibility-option small { display: block; }
.visibility-option small { margin-top: 3px; color: var(--muted); }
.visibility-options .btn { margin-top: 8px; justify-self: start; }
.settings-suspended { padding: 18px; border: 1px solid oklch(0.72 0.15 25); border-radius: 14px; color: oklch(0.38 0.13 25); background: oklch(0.97 0.035 25); }
.settings-suspended p { margin: 5px 0 0; }
.settings-suspended a { color: inherit; font-weight: 800; text-decoration: underline; }
.danger-zone { border-color: color-mix(in oklch, var(--danger), transparent 55%); }
.danger-zone h2 { color: var(--danger); }
.danger-zone .field { max-width: 360px; }
.btn-danger { color: #fff; background: var(--danger); }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }
.edit-profile-main { width: min(900px, calc(100% - 32px)); padding: 56px 0 120px; }
.edit-profile-header { margin-bottom: 32px; }
.edit-profile-header h1 { margin: 0 0 10px; font-size: clamp(38px, 7vw, 58px); line-height: 1.08; }
.edit-profile-header > p:not(.terms-kicker) { max-width: 660px; margin: 0; color: var(--muted); }
.published-badge { display: inline-flex; margin-top: 18px; padding: 6px 11px; border-radius: 999px; color: oklch(0.34 0.10 145); background: oklch(0.95 0.04 145); font-size: 12px; font-weight: 800; }
.edit-section { margin-bottom: 20px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: 0 10px 28px rgba(18, 22, 32, .04); }
.edit-section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.edit-section-heading > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: oklch(0.40 0.10 240); background: var(--accent-soft); font-size: 12px; font-weight: 900; }
.edit-section-heading h2 { margin: 0; font-size: 22px; }
.edit-section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.edit-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.edit-photo-manager { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border); }
.current-photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.current-photo { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--accent-soft); cursor: pointer; }
.current-photo:hover, .current-photo:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 78%); outline: none; }
.current-photo.is-cover { border: 3px solid var(--accent); }
.current-photo img { width: 100%; height: 100%; object-fit: cover; }
.current-photo span { position: absolute; right: 5px; bottom: 5px; left: 5px; padding: 3px; border-radius: 6px; color: #fff; background: rgba(18, 22, 32, .74); font-size: 9px; font-weight: 800; text-align: center; }
.photo-delete-button { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; min-height: 0; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: rgba(18, 22, 32, .76); box-shadow: 0 4px 12px rgba(18, 22, 32, .22); font-size: 15px; line-height: 1; }
.photo-delete-button:hover, .photo-delete-button:focus-visible { background: var(--danger); outline: 2px solid #fff; }
.edit-language-list { display: grid; gap: 8px; }
.edit-language-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 8px; align-items: end; }
.edit-language-row .field { margin-bottom: 0; }
.edit-language-row .custom-language-field { grid-column: 1 / 3; }
.edit-language-row .remove-language { grid-column: 3; grid-row: 1; }
.remove-language { width: 40px; height: 42px; margin-bottom: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; color: var(--danger); background: #fff; font-size: 22px; }
.remove-language:hover { border-color: var(--danger); }
.edit-language-list + .btn { margin-top: 12px; }
.edit-activity-list { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edit-save-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: color-mix(in oklch, #fff, transparent 5%); box-shadow: 0 16px 44px rgba(18, 22, 32, .16); backdrop-filter: blur(12px); }
.edit-save-bar > p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.edit-save-bar > p.is-error { color: var(--danger); }
.edit-save-bar > div { display: flex; gap: 8px; margin-left: auto; }
.admin-nav-actions { display: flex; align-items: center; gap: 12px; }
.admin-nav-actions > span { padding: 5px 10px; border-radius: 999px; color: oklch(0.40 0.10 240); background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.admin-nav-actions form { margin: 0; }
.admin-nav-actions .btn { min-height: 38px; padding: 0 16px; }
.admin-main { padding: 64px 0 100px; }
.admin-header { margin-bottom: 32px; }
.admin-header h1 { margin: 0 0 10px; font-size: clamp(42px, 7vw, 64px); line-height: 1; }
.admin-header > p:last-child { margin: 0; color: var(--muted); }
.admin-header strong { color: var(--text); }
.admin-section { margin-bottom: 20px; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(18, 22, 32, .04); }
.admin-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.admin-section-header .terms-kicker { margin-bottom: 5px; }
.admin-section-header h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.admin-empty-space { min-height: 120px; border: 1px dashed var(--border); border-radius: 16px; background: var(--bg); }
.admin-analytics { margin-bottom: 22px; padding: clamp(18px, 3vw, 24px); border: 1px solid var(--border); border-radius: 18px; background: var(--bg); }
.admin-analytics-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.admin-analytics-header h3 { margin: 0; font-size: 18px; }
.admin-analytics-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.admin-analytics-controls { display: flex; gap: 10px; }
.admin-analytics-controls label { min-width: 132px; }
.admin-analytics-controls label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.admin-analytics-controls select { min-height: 38px; padding: 7px 32px 7px 10px; border-radius: 10px; font-size: 12px; font-weight: 750; }
.admin-chart-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
.admin-chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.admin-chart-legend i { width: 22px; height: 3px; border-radius: 999px; background: var(--text); }
.admin-chart-legend .legend-profiles i { background: oklch(0.58 0.14 145); }
.admin-chart-frame { position: relative; min-height: 320px; }
.admin-chart-frame canvas { width: 100%; height: 320px; display: block; }
.admin-chart-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); background: color-mix(in oklch, var(--bg), transparent 15%); font-size: 13px; font-weight: 750; text-align: center; }
.admin-chart-status.is-hidden { display: none; }
.admin-chart-status.is-error { color: var(--danger); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.admin-stat-card { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(18, 22, 32, .04); }
.admin-stat-card span, .admin-stat-card strong { display: block; }
.admin-stat-card span { color: var(--muted); font-size: 12px; font-weight: 800; }
.admin-stat-card strong { margin-top: 8px; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.admin-stat-primary { color: #fff; border-color: var(--dark-panel); background: var(--dark-panel); }
.admin-stat-primary span { color: rgba(255,255,255,.68); }
.admin-stat-card.status-published strong { color: oklch(0.45 0.12 145); }
.admin-stat-card.status-hidden strong { color: oklch(0.50 0.10 70); }
.admin-stat-card.status-suspended strong { color: var(--danger); }
.admin-users-main { width: min(1280px, calc(100% - 32px)); }
.admin-action-result { margin: -12px 0 24px; padding: 14px 18px; border: 1px solid oklch(0.80 0.08 145); border-radius: 14px; color: oklch(0.35 0.10 145); background: oklch(0.96 0.04 145); font-size: 14px; font-weight: 800; }
.admin-filter-card, .admin-table-card { margin-bottom: 20px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(18, 22, 32, .04); }
.admin-filter-card { padding: clamp(22px, 4vw, 30px); }
.admin-filter-heading, .admin-table-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-filter-heading { margin-bottom: 22px; }
.admin-filter-heading .terms-kicker { margin-bottom: 4px; }
.admin-filter-heading h2, .admin-table-header h2 { margin: 0; font-size: 22px; }
.admin-filter-heading > a { color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.admin-filter-form { display: grid; grid-template-columns: minmax(190px, 1.5fr) minmax(190px, 1.5fr) minmax(140px, 1fr) minmax(130px, 1fr) auto; gap: 12px; align-items: end; }
.admin-filter-form .field { margin: 0; }
.admin-filter-form .btn { min-height: 42px; }
.admin-audit-filter-form { grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(130px, 1fr)) auto; }
.admin-audit-table { min-width: 1180px; }
.admin-audit-table td { vertical-align: top; }
.admin-audit-table td small { display: block; max-width: 280px; margin-top: 4px; color: var(--muted); overflow-wrap: anywhere; }
.admin-audit-time { width: 170px; color: var(--muted); white-space: nowrap; }
.admin-audit-changes { max-width: 420px; margin: 8px 0 0; padding-left: 17px; color: var(--muted); font-size: 12px; }
.admin-audit-changes li + li { margin-top: 3px; }
.admin-audit-changes span { color: var(--text); font-weight: 800; }
.admin-audit-context summary { margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.admin-audit-context span { display: block; max-width: 260px; margin-top: 5px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-status-badge.status-success { color: oklch(0.34 0.10 145); background: oklch(0.95 0.04 145); }
.admin-status-badge.status-failure { color: oklch(0.40 0.14 25); background: oklch(0.95 0.04 25); }
.admin-audit-detail-main { width: min(1120px, calc(100% - 32px)); }
.admin-audit-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 60px; }
.admin-audit-detail-card { min-width: 0; padding: clamp(22px, 4vw, 30px); border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(18, 22, 32, .04); }
.admin-audit-detail-card h2 { margin: 4px 0 22px; font-size: 22px; }
.admin-audit-detail-overview, .admin-audit-detail-wide { grid-column: 1 / -1; }
.admin-audit-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-audit-detail-list { margin: 0; }
.admin-audit-detail-list > div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.admin-audit-detail-list dt { color: var(--muted); font-size: 12px; font-weight: 850; }
.admin-audit-detail-list dd { min-width: 0; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.admin-audit-change-row { display: grid; grid-template-columns: minmax(130px, .65fr) 1fr 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--border); }
.admin-audit-change-row > strong { font-size: 13px; }
.admin-audit-change-row span { color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.admin-audit-change-row p { margin: 5px 0 0; font-size: 13px; overflow-wrap: anywhere; white-space: pre-wrap; }
.admin-audit-user-agent { white-space: pre-wrap; }
.admin-audit-empty-value { margin: 0; color: var(--muted); font-size: 13px; }
.admin-table-card { overflow: hidden; }
.admin-table-header { padding: 22px 24px; border-bottom: 1px solid var(--border); }
.admin-table-header p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.admin-table-header > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.admin-table-scroll { overflow-x: auto; }
.admin-user-table { width: 100%; border-collapse: collapse; }
.admin-user-table th, .admin-user-table td { padding: 15px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.admin-user-table th { color: var(--muted); background: var(--bg); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.admin-user-table td { font-size: 13px; }
.admin-user-table td:nth-child(2) { min-width: 170px; }
.admin-user-table td:nth-child(4) { min-width: 150px; }
.admin-user-avatar { width: 42px; height: 42px; overflow: hidden; display: grid; place-items: center; border-radius: 999px; color: #fff; background: var(--accent); font-weight: 900; }
.admin-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-status-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--muted); background: var(--bg); font-size: 11px; font-weight: 900; }
.admin-status-badge.status-published { color: oklch(0.34 0.10 145); background: oklch(0.95 0.04 145); }
.admin-status-badge.status-hidden, .admin-status-badge.status-draft { color: oklch(0.35 0.08 70); background: oklch(0.96 0.05 80); }
.admin-status-badge.status-pending { color: oklch(0.40 0.10 240); background: var(--accent-soft); }
.admin-status-badge.status-suspended { color: oklch(0.40 0.14 25); background: oklch(0.95 0.04 25); }
.admin-status-empty { color: var(--muted); }
.admin-row-actions { display: flex; align-items: center; gap: 6px; min-width: 260px; }
.admin-row-actions form { margin: 0; }
.admin-action-button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: #fff; font-size: 11px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.admin-action-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.admin-action-button.action-suspend { color: oklch(0.42 0.10 70); }
.admin-action-button.action-restore { color: oklch(0.35 0.10 145); }
.admin-action-button.action-delete { color: var(--danger); }
.admin-action-button.action-delete:hover { color: #fff; border-color: var(--danger); background: var(--danger); }
.admin-action-button.is-disabled, .admin-pagination .is-disabled { opacity: .42; pointer-events: none; cursor: not-allowed; }
.admin-table-empty { padding: 48px !important; color: var(--muted); text-align: center !important; }
.admin-pagination { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px 20px; }
.admin-pagination > div:last-child { text-align: right; }
.admin-pagination > span { color: var(--muted); font-size: 13px; font-weight: 800; }
.admin-pagination .btn { min-height: 40px; padding: 0 16px; font-size: 12px; }
@media (max-width: 620px) {
    .edit-profile-main { width: min(100% - 24px, 900px); padding-top: 36px; }
    .edit-field-grid, .edit-activity-list { grid-template-columns: 1fr; }
    .current-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .edit-language-row { grid-template-columns: 1fr 40px; }
    .edit-language-row .field { grid-column: 1 / -1; }
    .edit-language-row .remove-language { grid-column: 2; grid-row: auto; }
    .edit-save-bar { align-items: stretch; flex-direction: column; }
    .edit-save-bar > div { width: 100%; margin-left: 0; }
    .edit-save-bar .btn { flex: 1; padding: 0 12px; }
    .admin-nav-actions > span { display: none; }
    .admin-main { padding-top: 40px; }
    .admin-section-header { align-items: stretch; flex-direction: column; }
    .admin-section-header .btn { width: 100%; }
    .admin-analytics-header, .admin-analytics-controls { flex-direction: column; }
    .admin-analytics-controls { width: 100%; }
    .admin-analytics-controls label { width: 100%; }
    .admin-chart-frame, .admin-chart-frame canvas { min-height: 280px; height: 280px; }
    .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-stat-primary { grid-column: 1 / -1; }
    .admin-users-main { width: min(100% - 24px, 1280px); }
    .admin-filter-heading { align-items: flex-start; }
    .admin-filter-form { grid-template-columns: 1fr; }
    .admin-audit-filter-form { grid-template-columns: 1fr; }
    .admin-pagination { grid-template-columns: 1fr 1fr; }
    .admin-pagination > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
    .admin-audit-detail-main { width: min(100% - 24px, 1120px); }
    .admin-audit-detail-grid { grid-template-columns: 1fr; }
    .admin-audit-detail-overview, .admin-audit-detail-wide { grid-column: auto; }
    .admin-audit-detail-list > div, .admin-audit-change-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (min-width: 621px) and (max-width: 900px) {
    .admin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-filter-form { grid-template-columns: 1fr 1fr; }
    .admin-audit-filter-form { grid-template-columns: 1fr 1fr; }
    .admin-audit-filter-form .admin-audit-search { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-slide.slide-in-next, .profile-slide.slide-in-previous { animation: none; }
}
