:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #202632; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
.container { width: min(900px, calc(100% - 32px)); margin: 36px auto; background: #fff; padding: clamp(22px, 5vw, 46px); border-radius: 18px; box-shadow: 0 8px 28px #1d27401a; }
.compact { max-width: 640px; }
h1 { margin-top: 0; color: #263a8b; }
.intro, .help { color: #526070; }
.back { display: inline-block; margin-bottom: 22px; color: #263a8b; }
fieldset { border: 1px solid #dce2ec; border-radius: 12px; margin: 22px 0; padding: 20px; }
legend { color: #263a8b; font-weight: 750; padding: 0 7px; }
label { display: grid; gap: 7px; font-weight: 650; margin: 12px 0; }
input, textarea { width: 100%; border: 1px solid #bdc7d6; border-radius: 8px; padding: 11px; font: inherit; font-weight: 400; color: #202632; }
textarea { resize: vertical; }
.grid { display: grid; gap: 14px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: auto; margin-top: 3px; }
button, .button-link { display: inline-block; border: 0; border-radius: 9px; background: #263a8b; color: #fff; padding: 13px 18px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; margin-top: 18px; }
.alert, .notice { border-radius: 10px; padding: 14px; margin: 18px 0; }
.alert { background: #fff0f0; border: 1px solid #efb7b7; color: #8e2121; }
.notice { background: #edf1ff; color: #253777; }
.folio { font-size: 1.08rem; }
.honeypot { display: none; }
.admin { max-width: 1320px; }
.admin-header { display: flex; justify-content: space-between; gap: 16px; align-items: start; border-bottom: 1px solid #dce2ec; padding-bottom: 18px; margin-bottom: 18px; }
.admin-header h1 { margin: 0; }.admin-header p:not(.eyebrow) { margin: 4px 0 0; color: #526070; }
.eyebrow { margin: 0 0 5px; color: #5368bb; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.logout { border: 1px solid #cbd4e6; color: #253777; border-radius: 8px; padding: 9px 12px; text-decoration: none; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }.filters a { background: #edf1ff; color: #253777; border-radius: 99px; padding: 7px 11px; text-decoration: none; font-size: .88rem; }
.admin-layout { display: grid; grid-template-columns: minmax(310px, .82fr) minmax(0, 1.7fr); gap: 24px; align-items: start; }
.request-list, .detail { background: #fbfcff; border: 1px solid #dde4f0; border-radius: 14px; padding: 18px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }.section-heading h2 { margin: 0; font-size: 1.12rem; }.section-heading span { color: #66758a; font-size: .85rem; }.empty-copy { color: #66758a; }
.request-card { display: grid; gap: 6px; padding: 14px; border: 1px solid #dce2ec; background: #fff; border-radius: 10px; margin: 10px 0; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.request-card:hover, .request-card.active { border-color: #5368bb; box-shadow: 0 3px 12px #2d43881c; }.request-card strong { color: #1f2f6f; }.request-card span { color: #526070; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.request-card footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #6a7686; }
.status { display: inline-block; width: max-content; padding: 4px 8px; border-radius: 99px; background: #edf1ff; color: #253777; font-size: .76rem; font-weight: 700; }
.status-publicada { background: #e6f7ec; color: #14683a; }.status-descartada,.status-eliminada { background: #fff0f0; color: #8e2121; }.status-archivada { background: #ececec; color: #4b4b4b; }
.detail-top { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e1e6f0; margin-bottom: 18px; padding-bottom: 16px; }.detail-top h2 { margin: 0; color: #1f2f6f; }.detail-top .folio { margin: 6px 0 0; color: #66758a; font-size: .9rem; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #edf1ff; border-radius: 10px; padding: 12px; margin-bottom: 18px; }.inline-form select { flex: 1; min-width: 170px; padding: 10px; border: 1px solid #bdc7d6; border-radius: 8px; font: inherit; }
.detail-data { display: grid; grid-template-columns: 145px 1fr; gap: 10px 15px; padding: 16px 0; border-bottom: 1px solid #e1e6f0; } dt { font-weight: 750; color: #415169; } dd { margin: 0; }.preline { white-space: pre-line; }
.detail h3 { margin: 22px 0 10px; color: #1f2f6f; font-size: 1rem; }.detail ul { padding-left: 19px; line-height: 1.8; }
.images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.images figure { margin: 0; background: #fff; border: 1px solid #dce2ec; border-radius: 10px; overflow: hidden; }.images img { display: block; width: 100%; aspect-ratio: 1.1; object-fit: cover; }.images figcaption { padding: 9px; font-size: .8rem; overflow-wrap: anywhere; }.images form { margin: 8px 0 0; }.danger { background: #a82c2c; font-size: .78rem; padding: 8px 10px; margin: 0; }
@media (max-width: 760px) { .two, .three, .admin-layout { grid-template-columns: 1fr; } .container { width: min(100% - 20px, 900px); margin: 10px auto; padding: 22px; } dl { grid-template-columns: 1fr; gap: 2px; } .images { grid-template-columns: 1fr; } }
