.stage40-page{display:grid;gap:24px}.stage40-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stage40-stat-row>div,.stage40-admin-grid .surf-stat{background:#fff;border:1px solid #cfe0f8;border-radius:22px;padding:22px;box-shadow:0 18px 40px rgba(15,35,80,.08)}.stage40-stat-row b{display:block;color:#06173a;font-size:30px;font-weight:900;line-height:1}.stage40-stat-row span{display:block;color:#26364f;font-weight:800;margin-top:8px}.stage40-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stage40-task-card{background:#fff;border:1px solid #cfe0f8;border-radius:24px;padding:22px;box-shadow:0 18px 40px rgba(15,35,80,.08);display:grid;gap:14px}.stage40-task-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.stage40-task-head span{background:#fff7d6;color:#4b3200;border-radius:999px;padding:8px 12px;font-weight:900;text-transform:uppercase;font-size:12px}.stage40-task-head strong{background:#eaf3ff;color:#064bb5;border:1px solid #b8d7ff;border-radius:999px;padding:8px 12px;font-weight:900}.stage40-task-card h3,.stage40-form-card h2,.stage40-review-table h2{color:#06173a!important;font-weight:900}.stage40-task-card p,.stage40-review-table p,.stage40-page .help{color:#26364f!important;opacity:1!important;font-weight:700;line-height:1.6}.stage40-reward{background:#eefcf4;border:1px solid #9be7b8;color:#073d1e;border-radius:16px;padding:12px 14px;font-weight:900}.stage40-reward b{font-size:26px}.stage40-proof-form{display:grid;gap:10px;background:#f8fbff;border:1px solid #d7e8ff;border-radius:18px;padding:14px}.stage40-inline-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.stage40-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.stage40-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.stage40-dispute{background:#fff7ed!important;color:#7c2d12!important;border:1px solid #fed7aa;border-radius:12px;padding:10px;font-weight:800}.stage40-review-table .table td,.stage40-review-table .table th{vertical-align:top}.wallet-status.disputed,.wallet-status.auto_approved{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}.wallet-status.approved{background:#dcfce7;color:#166534;border:1px solid #86efac}.wallet-status.rejected{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.wallet-status.pending{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.stage40-page input,.stage40-page textarea,.stage40-page select,.stage40-review-table input{color:#06173a!important;background:#fff!important;border:1px solid #b8d7ff!important}.stage40-page input::placeholder,.stage40-page textarea::placeholder{color:#475569!important;opacity:1!important}
@media(max-width:900px){.stage40-stat-row,.stage40-admin-grid,.stage40-task-grid{grid-template-columns:1fr}.stage40-inline-form{grid-template-columns:1fr}.stage40-hero-actions{width:100%}.stage40-hero-actions .btn{width:100%;justify-content:center}.stage40-review-table{overflow:auto}.stage40-review-table table{min-width:760px}}

/* Stage 40.1 manual task stability and visibility polish */
.stage40-task-form label{display:flex;flex-direction:column;gap:7px;font-weight:900;color:#07152f!important;opacity:1!important}
.stage40-task-form label span{color:#07152f!important;font-size:13px;font-weight:900;opacity:1!important}
.stage40-task-form .input,.stage40-task-form .select,.stage40-task-form .textarea{color:#07152f!important;background:#fff!important;border:1px solid #b9d6ff!important;border-radius:12px;padding:13px 14px;font-weight:800;opacity:1!important}
.stage40-task-form .input::placeholder,.stage40-task-form .textarea::placeholder{color:#475569!important;opacity:1!important}
.stage40-task-form .textarea{min-height:120px;resize:vertical}.stage40-task-form .full{grid-column:1/-1}.stage40-form-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.stage40-pill{display:inline-flex;background:#fff2c4;color:#713f12!important;border-radius:999px;padding:8px 12px;font-weight:950;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.stage40-form-head p{color:#334155!important;font-weight:750!important;opacity:1!important}.alert.error{background:#fff1f2!important;color:#991b1b!important;border:1px solid #fecdd3!important}.alert.ok{background:#ecfdf5!important;color:#065f46!important;border:1px solid #bbf7d0!important}
@media(max-width:760px){.stage40-form-head{flex-direction:column}.stage40-task-form .form-grid{grid-template-columns:1fr!important}.stage40-task-form .btn{width:100%}}
