/* Portado de docs/diseno/propuesta-c/estilos.css con scripts/portar_css.py (no editar a mano: se regenera). */
.states-page{padding:36px 0 20px}
.states-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.state-card{padding:24px;border:1px solid var(--line);border-radius:21px;background:var(--paper);box-shadow:var(--shadow-sm)}
.state-art{height:150px;position:relative;display:grid;place-items:center;margin:-5px 0 18px;overflow:hidden;border-radius:16px;background:linear-gradient(125deg,#eef5ff,#fff7e6)}
.state-card h2{font-size:1.45rem;margin-bottom:8px}
.state-card p{min-height:52px}
@media(max-width:700px){
.states-grid{grid-template-columns:1fr}
.state-card p{min-height:0}
}
/* Estados individuales: centra una tarjeta sin cambiar el arte del prototipo. */
.states-page{min-height:50vh;display:grid;align-items:start;justify-items:center;padding:clamp(2rem,7vw,5rem) 0}
.states-page[hidden]{display:none}
.states-page .state-card{width:min(100%,34rem)}
.state-art svg{display:block;width:240px;max-width:100%;height:150px;stroke:none}
.state-card h1,.state-card h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.16;margin:.25rem 0 .7rem}
.state-card p{color:var(--muted);margin:0 0 1.3rem}
.state-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.state-card .button-outline{box-shadow:none}
.saved-list .job-card{max-width:44rem}
.saved-list .card-action{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:.75rem}
:root[data-theme="dark"] .state-art{background:linear-gradient(125deg,var(--sky),var(--cream))}
@media(max-width:480px){.states-page{padding:1.5rem 0}.state-card{padding:18px}}

/* ===== Tema oscuro ===== */
:root[data-theme="dark"] .state-card{background:var(--paper);border-color:#29405f}
:root[data-theme="dark"] .state-art{background:linear-gradient(125deg,#10243d,#2a2415)}
.ficha-vencida{padding:clamp(2rem,5vw,4rem) 0}
.ficha-vencida-aviso{padding:clamp(1.5rem,4vw,2.5rem)}
.ficha-vencida-aviso h1{margin:.5rem 0 1rem;overflow-wrap:anywhere}
.ficha-vencida-aviso p{max-width:68ch;color:var(--ink)}
.ficha-vencida .state-actions{margin-top:1.5rem}
.ficha-vencida-aviso .notice{display:inline-flex;margin:0}
@media (max-width:560px){.ficha-vencida .state-actions .button{width:100%;justify-content:center;text-align:center}}
