/* AVI Manager · Mejoras visuales de Recursos */
.resource-test-form{display:grid;gap:14px;width:100%;min-width:0;margin:0}
.resource-test-question{width:100%;min-width:0;padding:clamp(14px,2.5vw,22px);margin:0;border:1px solid #e0e5ec;border-radius:15px;background:linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%);box-shadow:0 2px 7px #172b4d08}
.resource-test-question-title{display:block;max-width:100%;margin:0 0 14px;color:#222b36;font-size:clamp(14px,1.8vw,16px);font-weight:750;line-height:1.55;overflow-wrap:anywhere}
.resource-test-question textarea{display:block;width:100%;max-width:100%;min-height:126px;padding:12px 14px;margin:0;border:1px solid #cfd6e0;border-radius:11px;background:#fff;color:#202124;font:inherit;font-size:16px;line-height:1.6;resize:vertical;outline:none;box-shadow:inset 0 1px 2px #172b4d06}
.resource-test-question textarea:focus{border-color:#2f6fed;box-shadow:0 0 0 3px #2f6fed20}
.resource-test-question textarea::placeholder{color:#828b98}
.resource-test-options{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.resource-test-options .resource-answer-option{min-width:0;margin:0;padding:13px 14px;border-color:#dce2e9;line-height:1.5;cursor:pointer;overflow-wrap:anywhere;transition:background .12s,border-color .12s}
.resource-test-options .resource-answer-option:has(input:checked){background:#edf3ff;border-color:#8bacf5}
.resource-test-options .resource-answer-option input{width:18px;height:18px;margin-top:2px;accent-color:#2f6fed}
.resource-test-intro{padding:13px 15px;margin:0 0 14px;border:1px solid #dce6fb;border-radius:12px;background:#f4f7ff;color:#3b527e;font-size:13px;line-height:1.55}
.resource-test-footer{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding-top:5px}
.resource-test-footer .btn{min-height:44px}
.resource-saved-answer{margin:10px 0 0;padding:13px 14px;border:1px solid #e1e6ed;border-radius:11px;background:#fff;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.resource-saved-answer b{display:block;margin-bottom:6px;font-size:13px;line-height:1.45}
.resource-test-complete-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.resource-test-head{min-width:0;overflow-wrap:anywhere}
.resource-test-meta{margin-top:7px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.resource-team-progress{margin-top:12px;min-width:0;border:1px solid #dfe5ec;border-radius:13px;background:#fbfcfe;overflow:hidden}
.resource-team-progress>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;cursor:pointer;list-style:none;font-weight:800;line-height:1.4}
.resource-team-progress>summary::-webkit-details-marker{display:none}
.resource-team-progress>summary:after{content:"＋";flex:none;color:#657184;font-size:17px}
.resource-team-progress[open]>summary:after{content:"−"}
.resource-team-progress>summary strong{margin-left:auto;color:#244fa5;font-size:13px;text-align:right}
.resource-team-members{display:grid;gap:0;padding:0 12px 10px}
.resource-team-member{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:center;padding:12px 2px;border-top:1px solid #e8edf2;min-width:0}
.resource-team-member-main{display:flex;align-items:center;gap:9px;min-width:0}
.resource-team-member-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#e8eef9;color:#315a9f;font-size:13px;font-weight:800}
.resource-team-member-name{min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:800}
.resource-team-member-status{display:block;margin-top:3px;font-size:11px;color:#727b88;font-weight:500}
.resource-team-member-percent{font-size:14px;font-weight:850;white-space:nowrap;text-align:right}
.resource-team-member-progress{grid-column:1/-1;height:7px;background:#e9edf3;border-radius:99px;overflow:hidden}
.resource-team-member-progress i{display:block;height:100%;background:#2f6fed;border-radius:99px}
.resource-team-member-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.resource-team-member-bottom .muted{font-size:11px}
.resource-team-member-bottom .btn{padding:6px 10px;font-size:12px}
.resource-progress-report{display:grid;gap:10px;margin-top:15px}
.resource-progress-report-head{padding:13px;border:1px solid #e0e6ee;border-radius:12px;background:#f7f9fc}
.resource-progress-report-item{padding:13px;border:1px solid #e0e5ec;border-radius:12px;background:#fff;min-width:0}
.resource-progress-report-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.resource-progress-report-item-head>div{min-width:0;overflow-wrap:anywhere}
.resource-progress-report-item .resource-hint{margin-top:5px}
.resource-report-answers{margin-top:9px;border-top:1px solid #edf0f3;padding-top:8px}
.resource-report-answers summary{font-size:12px;font-weight:800;cursor:pointer}
.resource-report-answer{margin-top:8px;padding:9px;background:#f7f9fc;border-radius:8px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px}
.resource-test-director-note{margin-top:10px}
@media(max-width:700px){
  .resource-test-question{padding:13px;border-radius:12px}
  .resource-test-question textarea{min-height:118px;padding:11px 12px;font-size:16px}
  .resource-test-options .resource-answer-option{padding:12px}
  .resource-test-footer{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
  .resource-test-footer .btn{width:100%;white-space:normal}
  .resource-team-progress>summary{align-items:flex-start;flex-wrap:wrap;padding:12px}
  .resource-team-progress>summary strong{margin-left:0}
  .resource-team-members{padding:0 10px 8px}
  .resource-team-member{gap:6px 8px}
  .resource-team-member-bottom{align-items:stretch}
  .resource-team-member-bottom .btn{min-height:38px}
}
