.age-panel {padding:18px;margin:18px 0;border:1px solid #334155;border-radius:12px;background:#0f172a;color:#e2e8f0;text-align:left;min-width:0;box-sizing:border-box;font-size:14px;line-height:1.5;}
.age-panel h3,.age-panel h4 {color:#f8fafc;margin:0 0 8px;font-size:18px;}
.age-panel h4 {font-size:16px;}
.age-panel p {margin:8px 0;overflow-wrap:anywhere;}
.age-panel [hidden],.age-dialog [hidden] {display:none!important;}
.age-panel .age-muted {color:#a5b4c8;font-size:13px;}
.age-status {display:inline-block;border-radius:20px;padding:4px 11px;font-size:13px;font-weight:700;background:#334155;color:#e2e8f0;}
.age-status[data-status="approved"] {background:#064e3b;color:#a7f3d0;}
.age-status[data-status="pending"] {background:#713f12;color:#fef08a;}
.age-status[data-status="rejected"] {background:#7f1d1d;color:#fecaca;}
.age-identity {font-weight:600;}
.age-panel .age-reason {white-space:pre-wrap;padding:10px;border-left:3px solid #fbbf24;background:#1e293b;}
.age-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.age-button,.age-dialog .age-button {width:auto!important;max-width:100%;margin:0;padding:9px 13px;border:1px solid #475569;border-radius:8px;font:inherit;font-size:14px;line-height:1.4;font-weight:600;color:#e2e8f0;background:#1e293b;cursor:pointer;box-sizing:border-box;}
.age-button.age-primary {background:#1d4ed8;border-color:#3b82f6;color:#fff;}
.age-button:disabled {opacity:.45;cursor:not-allowed;}
.age-button:focus-visible,.age-panel input:focus-visible,.age-panel textarea:focus-visible {outline:3px solid #fbbf24;outline-offset:3px;}
.age-upload,.age-review {margin-top:18px;padding-top:16px;border-top:1px solid #334155;}
.age-file-label {display:block!important;color:#e2e8f0!important;font-size:14px!important;font-weight:600;}
.age-file-label input {display:block;margin-top:8px;max-width:100%;width:100%;box-sizing:border-box;color:#cbd5e1!important;padding:8px;background:#1e293b!important;border:1px solid #475569!important;border-radius:8px;}
.age-panel textarea {width:100%;box-sizing:border-box;resize:vertical;min-height:80px;padding:10px;background:#1e293b;color:#f8fafc;border:1px solid #475569;border-radius:8px;font:inherit;}
.age-panel .age-confirm {display:flex;align-items:flex-start;gap:10px;color:#e2e8f0;font-size:14px;text-transform:none;margin:12px 0;cursor:pointer;}
.age-panel .age-confirm input {width:18px;height:18px;flex:0 0 18px;margin:3px 0 0;padding:0;}
.age-panel .age-confirm input[type="checkbox"] {appearance:auto;-webkit-appearance:checkbox;accent-color:#3b82f6;pointer-events:auto;}
.age-inbox {margin-top:10px;}
.age-inbox [data-status="pending"],button[data-age-status="pending"] {border-color:#d97706;color:#fde68a;}
button[data-age-status="approved"] {border-color:#059669;color:#a7f3d0;}
button[data-age-status="rejected"] {border-color:#dc2626;color:#fecaca;}
.age-queue-row {display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #334155;overflow-wrap:anywhere;}
.age-queue-row strong {flex:1 1 200px;min-width:0;}
.age-queue-row span {color:#94a3b8;}
.age-preview {margin-top:14px;max-height:65vh;overflow:auto;padding:10px;border-radius:9px;background:#020617;box-sizing:border-box;}
.age-preview img {display:block;width:auto;max-width:100%;height:auto;max-height:calc(65vh - 72px);max-height:calc(65dvh - 72px);object-fit:contain;margin:10px auto 0;background:#fff;}
.age-preview.age-zoom img {width:auto;max-width:none;max-height:none;}
.age-group-badge {display:inline-block;margin:4px 0;padding:3px 7px;border-radius:999px;background:rgba(100,116,139,.12);color:#94a3b8;font-size:.72rem;font-weight:700;white-space:nowrap;}
.age-group-badge[data-age-status="pending"] {background:rgba(251,191,36,.12);color:#fbbf24;}
.age-group-badge[hidden],.age-button[hidden],.age-panel[hidden] {display:none!important;}
.document-policy-fields {grid-column:1/-1;border:1px solid #334155;border-radius:10px;padding:12px;min-width:0;}
.document-policy-fields legend {font-weight:700;color:#e2e8f0;}
.document-policy-fields label {display:flex!important;align-items:center;gap:10px;margin:8px 0;color:#e2e8f0;font-size:14px;text-transform:none;}
.document-policy-fields input[type="checkbox"] {appearance:auto;-webkit-appearance:checkbox;width:18px!important;height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#3b82f6;}
.age-message {min-height:1.5em;color:#bfdbfe;}
.age-dialog {width:min(850px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90vh;padding:18px;border:1px solid #475569;border-radius:14px;color:#e2e8f0;background:#0f172a;box-sizing:border-box;}
.age-dialog::backdrop {background:rgba(2,6,23,.8);}
.age-dialog-header {display:flex;justify-content:space-between;align-items:center;gap:14px;}
.age-dialog-header h2 {margin:0;font-size:20px;color:#f8fafc;}
.age-dialog .age-panel {padding:0;border:0;margin:18px 0 0;}
@media(max-width:520px) {.age-panel {padding:13px;font-size:14px;}.age-actions .age-button{flex:1 1 140px;}.age-dialog{padding:14px;}.age-dialog-header h2{font-size:18px;}}
