:root {
    color-scheme: light;
    --blue: #149dff;
    --brand-blue: #2563eb;
    --green: #8bd72e;
    --dark: #111827;
    --muted: #6b7280;
    --border: #c9c9c9;
    --bg: #f6f7fb;
    --card: #ffffff;
    --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14.5px; background: var(--bg); color: var(--dark); }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }

.admin-layout { min-height: 100vh; display: flex; background: var(--bg); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 200px; background: #fff; padding: 24px 14px; z-index: 10; }
.brand { display: flex; align-items: center; gap: 8px; margin: 0 8px 26px; color: var(--brand-blue); font-size: 22px; font-weight: 900; letter-spacing: -1px; }
.brand-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #dbeafe; color: var(--brand-blue); font-size: 12px; }
.sidebar-menu { display: grid; gap: 6px; }
.sidebar-link { min-height: 42px; display: flex; align-items: center; gap: 12px; border-radius: 7px; padding: 0 12px 0 18px; color: #30343b; font-size: 15px; font-weight: 500; }
.sidebar-link span { width: 18px; text-align: center; font-size: 16px; }
.sidebar-link b { font-weight: 500; }
.sidebar-link i { margin-left: auto; color: #111; font-size: 22px; font-style: normal; line-height: 1; }
.sidebar-link.active, .sidebar-link:hover { background: #d4f0ff; }

.main-wrapper { flex: 1; margin-left: 200px; min-width: 0; min-height: 100vh; background-color: var(--bg); background-image: radial-gradient(rgba(37, 99, 235, .035) 2px, transparent 2px); background-size: 320px 320px; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 28px; }
.top-member-form { margin: 0; }
.member-button { min-width: 88px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; padding: 0 12px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #f3d2bf 0 25%, #1f2937 26% 36%, #9ca3af 37% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.page-content { padding: 8px 28px 32px; }
.page-title { margin: 0 0 18px; font-size: 30px; line-height: 1.18; font-weight: 900; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.page-title-row .page-title { margin-bottom: 0; }
.btn-refresh { min-width: 72px; background: #d5e8ff; color: #168bff; }

.dashboard-card, .table-card, .scrape-form-card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); min-height: calc(100vh - 96px); }
.dashboard-card { padding: 28px; }
.account-card h1 { margin: 0 0 10px; font-size: 30px; }
.account-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.table-card { padding: 28px 24px; }
.retention-hint { margin: -8px 0 14px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; min-width: 1080px; border-collapse: collapse; border: 1px solid var(--border); background: rgba(255, 255, 255, .86); }
.results-table-wrapper { overflow-x: visible; }
.results-table { width: 100%; min-width: 0; table-layout: fixed; }
.admin-table th, .admin-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: center; vertical-align: middle; font-size: 13.5px; line-height: 1.35; }
.admin-table th { height: 50px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.admin-table td { height: 52px; }
.results-table th, .results-table td { height: auto; padding: 12px 10px; line-height: 1.4; vertical-align: middle; }
.results-table th { white-space: normal; overflow-wrap: anywhere; }
.check-col { width: 6%; }
.type-col { width: 12%; }
.task-url-col { width: 39%; }
.number-col { width: 9%; }
.failed-col { width: 7%; }
.status-col { width: 8%; }
.actions-col { width: 10%; }
.row-check { width: 18px; height: 18px; border-radius: 5px; accent-color: var(--blue); }
.url-ellipsis { display: block; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.task-url-cell, .task-url-cell a { white-space: normal; overflow-wrap: anywhere; word-break: break-word; line-height: 1.4; }
.task-url-cell { text-align: left; }
.task-url-cell a { color: var(--brand-blue); }
.results-table th:first-child, .results-table td:first-child, .results-table th.status-col, .results-table td.status-cell, .results-table th.actions-col, .results-table td.actions-cell { padding-left: 6px; padding-right: 6px; }
.actions-cell { overflow: visible; }
.results-table .status-badge { min-width: 52px; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; min-height: 22px; border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 900; color: #fff; white-space: nowrap; }
.status-completed, .status-badge.completed { background: #78b82a; }
.status-partial_completed, .status-completed_with_limit, .status-badge.partial_completed, .status-badge.completed_with_limit { background: #f59e0b; }
.status-running, .status-badge.running { background: #168bff; }
.status-failed, .status-badge.failed { background: #c52d27; }
.status-pending, .status-badge.pending { background: #9ca3af; }
.table-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.table-actions form { margin: 0; }
.results-table .table-actions { gap: 5px; }
.results-table .action-button { width: 48px; min-width: 48px; min-height: 26px; padding: 3px 6px; font-size: 11.5px; }
.action-button { min-width: 44px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; padding: 3px 8px; font-size: 12px; font-weight: 800; cursor: pointer; }
.action-export { background: #d9f4b7; color: #4d8f1b; }
.action-delete { background: #ffd7d7; color: #ff1616; }
.action-link { background: #d5e8ff; color: #168bff; }
.empty-state { height: 120px; color: var(--muted); }

@media (max-width: 900px) {
    .results-table-wrapper { overflow-x: auto; }
    .results-table { min-width: 760px; }
}

.scrape-form-card { padding: 28px 30px; }
.scrape-form-card h1 { max-width: 1360px; margin: 0 auto 18px; font-size: 30px; font-weight: 900; }
.scrape-form { max-width: 1360px; margin: 0 auto; }
.big-textarea { display: block; width: 84%; min-height: 190px; border: 1px solid var(--border); border-radius: 0; padding: 14px 18px; resize: vertical; color: #222; font-size: 14px; font-weight: 800; line-height: 1.45; background: rgba(255, 255, 255, .72); }
.big-textarea::placeholder { color: #b9b9b9; opacity: 1; }
.submit-button { min-width: 112px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; border: 0; border-radius: 4px; padding: 6px 20px; background: var(--green); color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.submit-button.small { min-width: 96px; min-height: 32px; margin-top: 0; font-size: 13px; }
.alert { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 8px; padding: 9px 12px; margin: 0 auto 14px; max-width: 1360px; font-size: 13px; }

.detail-card { max-width: 980px; min-height: auto; }
.task-meta { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
.task-meta dt { color: var(--muted); font-weight: 900; }
.task-meta dd { margin: 0; }
.progress { background: #e5e7eb; height: 10px; min-width: 180px; border-radius: 999px; overflow: hidden; }
.progress.large { height: 12px; width: min(380px, 100%); margin: 0 0 6px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, var(--blue)); transition: width .25s ease; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.left-actions { margin-top: 18px; }
.back-link { min-height: 30px; }

@media (max-width: 900px) {
    .sidebar { width: 78px; padding: 22px 10px; }
    .brand { justify-content: center; margin: 0 0 32px; font-size: 0; }
    .sidebar-link { justify-content: center; padding: 0; gap: 0; }
    .sidebar-link b, .sidebar-link i { display: none; }
    .submenu { display: none !important; }
    .main-wrapper { margin-left: 78px; }
    .topbar { padding: 0 18px; }
    .page-content { padding: 10px 16px 30px; }
    .dashboard-card, .table-card, .scrape-form-card { border-radius: 22px; padding: 22px 16px; }
    .big-textarea { width: 100%; min-height: 170px; padding: 14px; font-size: 14px; }
}

.current-user { color: var(--dark); font-size: 13px; font-weight: 800; }
.logout-button { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; padding: 0 10px; background: #eef2ff; color: var(--brand-blue); font-size: 13px; font-weight: 800; }
.default-password-warning { margin-right: auto; border: 1px solid #fde68a; border-radius: 8px; padding: 6px 10px; background: #fffbeb; color: #92400e; font-size: 12px; font-weight: 800; }
.notice { border-radius: 8px; padding: 9px 12px; margin: 12px 0 0; max-width: 520px; font-size: 13px; }
.notice.success { background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; }
.account-alert { margin: 12px 0 0; max-width: 520px; }
.warning-alert { border-color: #fde68a; background: #fffbeb; color: #92400e; font-weight: 800; }
.account-form { max-width: 520px; margin-top: 22px; display: grid; gap: 14px; }
.account-form h2 { margin: 0; font-size: 20px; }
.account-form label, .login-card label { display: grid; gap: 6px; color: var(--dark); font-size: 14px; font-weight: 800; }
.account-form input, .login-card input { width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; background: #fff; color: var(--dark); font-size: 14px; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f3f4f6; }
.login-card { width: min(420px, 100%); border-radius: 20px; padding: 28px; background: #fff; box-shadow: var(--shadow); }
.login-card h1 { margin: 0 0 18px; text-align: center; font-size: 26px; font-weight: 900; }
.login-card form { display: grid; gap: 14px; }
.login-card button { min-height: 40px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.login-error { border: 1px solid #fecaca; border-radius: 8px; padding: 9px 12px; background: #fef2f2; color: #991b1b; font-size: 13px; font-weight: 800; }


.login-page.login-auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow-x: hidden; background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%); font-family: Arial, Helvetica, sans-serif; }
.login-layout { width: 100%; min-height: calc(100vh - 48px); display: flex; align-items: center; justify-content: center; background: transparent; }
.login-panel { width: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px); background: transparent; }
.login-form-card { width: min(460px, 100%); padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.login-system-name { margin: 0 0 20px; color: #6d28d9; font-size: 15px; font-weight: 900; letter-spacing: .04em; }
.login-form-card h2 { margin: 0; color: #111827; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; font-weight: 900; letter-spacing: -1px; }
.login-subtitle { margin: 12px 0 28px; color: #7c7f8c; font-size: 15px; font-weight: 700; }
.login-auth-page .login-error { margin: 0 0 18px; border-color: #fecdd3; border-radius: 14px; padding: 12px 14px; background: #fff1f2; color: #be123c; }
.login-form-card .login-form { display: grid; gap: 18px; }
.login-form-card .login-field { display: grid; gap: 9px; color: #312e81; font-size: 14px; font-weight: 900; }
.login-field input { width: 100%; min-height: 54px; border: 1px solid #ddd6fe; border-radius: 16px; padding: 0 16px; background: #fff; color: #111827; outline: none; box-shadow: 0 12px 28px rgba(109, 40, 217, .07); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.login-field input::placeholder { color: #a3a0b3; }
.login-field input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 4px rgba(139, 92, 246, .14), 0 16px 34px rgba(109, 40, 217, .1); transform: translateY(-1px); }
.login-password-wrap { position: relative; display: block; }
.login-password-wrap input { padding-right: 72px; }
.login-form-card .login-password-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); min-height: 34px; border: 0; border-radius: 999px; padding: 0 12px; background: #f3e8ff; color: #6d28d9; font-size: 12px; font-weight: 900; cursor: pointer; }
.login-form-meta { display: flex; align-items: center; justify-content: space-between; margin-top: -6px; color: #7c3aed; font-size: 13px; font-weight: 900; }
.login-form-meta a, .login-auth-page .login-link a { color: #7c3aed; }
.login-form-card .login-submit { width: 100%; min-height: 54px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #7c3aed 0%, #9333ea 46%, #2563eb 100%); color: #fff; box-shadow: 0 18px 36px rgba(109, 40, 217, .28); font-size: 16px; font-weight: 900; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.login-form-card .login-submit:hover { transform: translateY(-1px); box-shadow: 0 22px 44px rgba(109, 40, 217, .34); }
.login-auth-page .login-link { margin-top: 24px; color: #7c7f8c; font-size: 14px; font-weight: 800; }
@media (max-width: 760px) {
    .login-page.login-auth-page { padding: 18px; }
    .login-layout { min-height: calc(100vh - 36px); }
    .login-panel { padding: 12px 0; }
    .login-form-card { width: 100%; }
    .login-system-name { margin-bottom: 14px; }
    .login-subtitle { margin-bottom: 22px; }
}
@media (max-width: 420px) {
    .login-page.login-auth-page { padding-inline: 14px; }
    .login-layout { min-height: calc(100vh - 36px); }
    .login-field input, .login-form-card .login-submit { min-height: 50px; border-radius: 14px; }
}


.sidebar-group { display: grid; gap: 0; border-radius: 7px; background: #f1f1f1; }
.sidebar-group .sidebar-link { width: 100%; margin-bottom: 0; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.sidebar-group .sidebar-link.active, .sidebar-group .sidebar-link:hover { background: #d4f0ff; }
.submenu { display: none; gap: 0; padding: 4px 0 6px; }
.sidebar-group.open .submenu { display: grid; }
.submenu-link { min-height: 34px; display: flex; align-items: center; padding-left: 48px; border-radius: 7px; color: #30343b; font-size: 14px; font-weight: 500; }
.submenu-link.active, .submenu-link:hover { background: #d4f0ff; }
.account-root i { transform: rotate(-90deg); font-size: 18px; transition: transform .16s ease; }
.sidebar-group.open .account-root i { transform: rotate(0deg); }
.centered-card { width: min(820px, 100%); min-height: auto; margin: 0 auto; border: 1px solid var(--border); }
.account-summary { display: grid; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 800; }
.form-hint { color: var(--muted); font-size: 14px !important; }
.login-link { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; font-weight: 800; }
.login-link a { color: var(--brand-blue); }
.register-card { width: min(480px, 100%); }
.register-success { max-width: none; margin: 0 0 18px; }
.referral-card h1, .review-card h1 { margin: 0 0 18px; font-size: 30px; font-weight: 900; }
.referral-card p { margin: 0 0 28px; font-size: 14px; color: var(--dark); }
.referral-code-row { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.referral-code-row h2 { margin: 0; font-size: 22px; }
.referral-copy-hint { margin: 0 0 34px !important; color: var(--muted) !important; }
.copy-button { min-width: 92px; min-height: 34px; border: 0; border-radius: 4px; background: #2f6df6; color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.copy-result { color: #166534; font-weight: 900; }
.section-title { margin: 22px 0 16px; font-size: 22px; font-weight: 900; }
.compact-table { min-width: 620px; }
.compact-table th { height: 44px; font-size: 13px; }
.compact-table td { height: 46px; font-size: 13px; }
.review-card { width: min(860px, 100%); }
.review-table { min-width: 720px; }
.review-actions { display: flex; justify-content: center; gap: 6px; }
.review-actions form { margin: 0; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; border: 0; border-radius: 8px; padding: 3px 9px; font-size: 12px; font-weight: 900; cursor: pointer; }
.pill-button.approve { background: #b9f470; color: #4d8f1b; }
.pill-button.reject { background: #ffb8c2; color: #e11d48; }
.review-history-title { margin-top: 32px; }
.status-active, .status-badge.active { background: #78b82a; }
.status-rejected, .status-badge.rejected { background: #ef4444; }
.status-disabled, .status-badge.disabled { background: #6b7280; }
.profile-card, .settings-card { width: min(760px, 100%); min-height: calc(100vh - 110px); padding: 30px 42px 28px; border-radius: 28px; }
.profile-card h1, .settings-card h1 { margin: 0 0 18px; font-size: 30px; font-weight: 900; }
.profile-lines { display: grid; gap: 14px; margin-bottom: 18px; }
.profile-lines p, .current-login { margin: 0; color: var(--dark); font-size: 14.5px; font-weight: 500; }
.profile-lines strong, .current-login strong { font-weight: 900; }
.quota-block { margin-top: 18px; }
.quota-title { margin: 0 0 12px; color: var(--dark) !important; font-size: 14px !important; font-weight: 800; }
.quota-progress { width: 100%; height: 12px; margin: 0 auto 8px; border-radius: 999px; background: #e5e5e5; }
.quota-progress span { background: #0b5de8; }
.quota-text { margin: 0; text-align: center; color: #808080 !important; font-size: 13px !important; font-weight: 500; }
.quota-note { margin: 32px 0 0 !important; color: #111 !important; font-size: 14px !important; font-weight: 700; line-height: 1.5; }
.account-message { max-width: none; margin: 0 0 12px; }
.full-width { width: 100%; margin-top: 22px; }
.full-width:disabled { opacity: .7; cursor: not-allowed; }
.settings-card .account-form { max-width: none; margin-top: 22px; gap: 18px; }
.settings-card .account-form label { gap: 8px; }
.settings-card .account-form label span { font-size: 16px; font-weight: 900; }
.settings-card .account-form small { color: var(--dark); font-size: 13px; font-weight: 700; }
.settings-card .account-form input { min-height: 44px; border-radius: 10px; font-size: 14px; }
@media (max-width: 900px) {
    .profile-card, .settings-card { padding: 24px 18px; border-radius: 24px; }
    .settings-card .account-form label span { font-size: 16px; }
}

.table-note { margin-top: 4px; color: #92400e; font-size: 12px; max-width: 260px; white-space: normal; }

.export-settings-card { max-width: 1180px; margin: 0 auto; }
.export-error { max-width: none; margin-bottom: 18px; }
.export-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #f8fafc; }
.export-summary-grid div { color: var(--dark); font-size: 14px; }
.export-preview-form, .export-settings-form { display: grid; gap: 18px; }
.export-section, .export-preview-form { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, .82); }
.export-section h2, .export-preview-form h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.export-form-grid { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 14px; }
.export-form-row { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.export-form-row label { flex: 1 1 260px; }
.export-settings-form label, .export-preview-form label { display: grid; gap: 7px; color: var(--dark); font-weight: 900; }
.export-settings-form input, .export-settings-form select, .export-preview-form input, .export-preview-form select { width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--dark); }
.single-input-label { max-width: 380px; }
.inline-submit { margin-top: 0; }
.submit-button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 900px) {
    .export-summary-grid, .export-form-grid { grid-template-columns: 1fr; }
}

.results-title-row { align-items: flex-start; flex-wrap: wrap; }
.results-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.member-switch-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.member-switch-form label { color: var(--muted); font-size: 12px; font-weight: 900; }
.member-switch-form select { min-height: 30px; max-width: 360px; border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; background: #fff; color: var(--dark); font-size: 12.5px; font-weight: 700; }
.btn-member-switch { min-width: 108px; background: #ede9fe; color: #6d28d9; }
.viewing-member-hint { margin: -8px 0 12px; color: var(--dark); font-size: 13px; font-weight: 900; }
@media (max-width: 900px) {
    .results-toolbar, .member-switch-form { justify-content: flex-start; }
    .member-switch-form select { max-width: min(360px, 100%); }
}

.members-card { min-height: calc(100vh - 96px); }
.members-table { min-width: 920px; }
.members-table th, .members-table td { font-size: 13px; }
.note-cell { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-link { color: var(--brand-blue); font-weight: 900; margin-left: 6px; }
.status-text { color: #166534; font-weight: 900; }
.pill-button.edit { background: #dbeafe; color: var(--brand-blue); }
.member-edit-card { max-width: 1080px; margin: 0 auto; min-height: auto; }
.back-button { display: inline-flex; align-items: center; justify-content: center; }
.member-edit-form { display: grid; gap: 18px; }
.form-section { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.86); }
.form-section h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two-cols { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.form-grid.three-cols { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.member-edit-form label { display: grid; gap: 7px; color: var(--dark); font-weight: 900; }
.member-edit-form input, .member-edit-form select, .member-edit-form textarea { width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--dark); }
.readonly-stat { display: grid; gap: 7px; min-height: 76px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: #f8fafc; color: var(--dark); }
.readonly-stat span { font-weight: 900; }
.readonly-stat strong { font-size: 22px; font-weight: 900; }
.member-edit-form textarea { resize: vertical; }
.member-edit-form .submit-button { width: min(260px, 100%); }
@media (max-width: 900px) {
    .form-grid.two-cols, .form-grid.three-cols { grid-template-columns: 1fr; }
}
.inline-form { display: inline-flex; margin: 0 0 0 6px; vertical-align: middle; }
.form-actions-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
