#screen-proyecto { justify-content: center; padding: clamp(6px, 2vh, 20px); }
.project-card { width: 100%; max-width: 560px; margin: auto; min-width: 0; color: #17365d; font-size: 12px; }
.project-card h2 { font-size: clamp(12px, 1.8vw, 18px); margin-bottom: 6px; }
.project-card fieldset { border: 1px solid #7a94ad; background: #eaeef3; padding: 12px; margin: 10px 0; min-width: 0; }
.project-card legend { font-weight: bold; }
.project-card label { display: block; margin: 5px 0; }
.project-card input, .project-card select, .project-card textarea { display: block; width: 100%; min-width: 0; border: 1px solid #7a94ad; background: white; color: #172033; padding: 5px; font: inherit; }
.project-card textarea { height: clamp(60px, 16vh, 120px); resize: none; }
.project-card [hidden] { display: none !important; }
.project-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.project-actions button { min-height: 28px; }
#project-result { margin: 6px 0; overflow-wrap: anywhere; }
#project-summary { white-space: pre-line; overflow-wrap: anywhere; margin-bottom: 8px; }
.project-card :focus-visible { outline: 2px solid #245a87; outline-offset: 2px; }
@media (max-width: 480px), (max-height: 520px) {
    .project-card { font-size: 10px; }
    .project-card fieldset { padding: 6px; margin: 6px 0; }
    .project-card input, .project-card select { padding: 3px; }
    .project-actions button { font-size: 10px; padding: 3px 5px; }
}
