*{box-sizing:border-box}body{background:#101D35;color:#D9B768;font-family:system-ui,sans-serif;margin:0;text-align:center;padding:20px}header img{width:145px;height:145px;object-fit:contain;background:white;border-radius:12px}h1{letter-spacing:.12em;font-size:2.3rem;margin:12px 0 4px}header p{font-size:.75rem;letter-spacing:.1em}main{max-width:780px;margin:35px auto}h2{font-size:1.4rem}#menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}.tile{min-height:130px;background:#172B4D;border:1px solid #B99754;color:#D9B768;border-radius:15px;font-size:1rem;font-weight:700;cursor:pointer;padding:12px}.tile span{display:block;font-size:2rem;margin-bottom:12px}.tile:hover,.back:hover{background:#263e65}.back,button.action{background:#172B4D;color:#D9B768;border:1px solid #B99754;border-radius:10px;padding:12px 20px;cursor:pointer;margin:6px}button.primary{background:#D9B768;color:#101D35;border:1px solid #D9B768;border-radius:10px;padding:12px 20px;font-weight:700;cursor:pointer;margin:6px}button.danger{border-color:#f3a0a0;color:#ffd1d1}footer{font-size:.75rem;opacity:.75;margin-top:45px}.panel{background:#172B4D;border:1px solid #B99754;border-radius:15px;padding:20px;margin:20px 0;text-align:left}.panel h3{margin-top:0}label{display:block;margin:13px 0 5px;font-weight:600}input,select,textarea{width:100%;border:1px solid #B99754;border-radius:8px;padding:12px;background:#f8fafc;color:#172B4D;font:inherit}textarea{min-height:95px;resize:vertical}.actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.event{background:#172B4D;border:1px solid #B99754;border-radius:12px;text-align:left;padding:18px;margin:14px 0}.event h3{margin:0 0 9px}.event p{margin:7px 0;overflow-wrap:anywhere}.muted{opacity:.8;font-size:.88rem}.error{color:#ffd0d0}.ok{color:#b7f5c8}.cancelled{opacity:.7}.hidden{display:none}@media(max-width:480px){#menu{gap:10px}.tile{min-height:105px;font-size:.84rem;padding:8px}header img{width:115px;height:115px}h1{font-size:1.9rem}}

.event-image{display:block;max-width:100%;max-height:320px;object-fit:contain;border-radius:10px;margin-top:12px}.event a{color:#f3d58b}

.checkline{display:flex;align-items:center;gap:10px}.checkline input{width:auto;min-width:18px;min-height:18px}.event.cancelled{opacity:1;border-color:#f3a0a0}.event.cancelled h3{color:#ffd1d1}

.hist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.hist-cell{border:1px solid #B99754;border-radius:10px;padding:12px;text-align:center;min-width:0}.hist-cell h3{font-size:1rem}.hist-photo{max-width:100%;height:175px;object-fit:contain;border-radius:8px}.hist-year{width:100%;font-size:1.2rem;font-weight:700}.hist-edit{padding:12px 0;border-bottom:1px solid #B99754}@media(max-width:450px){.hist-grid{grid-template-columns:1fr}}

#censo-list .back{display:block;width:100%;margin:7px 0;text-align:left} .panel input[type=file]{padding:10px} .event a{color:#f6d28a} .event{overflow-wrap:anywhere} .panel textarea{min-height:120px}

/* EL SIDRET V11 · Identidad visual consolidada */
:root{color-scheme:dark;--night:#101D35;--night2:#172B4D;--gold:#D9B768;--line:rgba(217,183,104,.35);--soft:#f0dfb5}
html{scroll-behavior:smooth}body{min-height:100vh;background:radial-gradient(ellipse at 50% -15%,#284269 0%,#101D35 55%,#0b1528 100%);font-family: 'Segoe UI',system-ui,-apple-system,sans-serif;line-height:1.55;padding:24px 18px 38px}header{max-width:900px;margin:0 auto;padding:20px 0 22px;border-bottom:1px solid var(--line)}header img{width:134px;height:134px;object-fit:contain;background:#fff;padding:8px;border-radius:20px;box-shadow:0 14px 40px rgba(0,0,0,.24)}header h1{font-family:Georgia,'Times New Roman',serif;font-weight:600;font-size:clamp(2.1rem,5vw,3.2rem);letter-spacing:.15em;color:#f0d69b;margin:13px 0 2px}header p{font-size:.82rem;letter-spacing:.22em;margin:0;color:#e5c984}main{max-width:940px;margin:32px auto 0}h2,h3{letter-spacing:.02em}h2{font-family:Georgia,'Times New Roman',serif;font-weight:600;font-size:clamp(1.5rem,3vw,2rem)}.dashboard-hero{padding:28px 26px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(130deg,rgba(45,70,108,.85),rgba(20,38,68,.82));box-shadow:0 18px 40px rgba(0,0,0,.17);text-align:left}.dashboard-hero h2{margin:5px 0 9px;color:#f3d99d}.eyebrow{margin:0;font-size:.72rem;letter-spacing:.19em;font-weight:800;color:#f1d391}.hero-description{margin:0;color:#e1e5ec;max-width:660px}.section-heading{text-align:left;font-size:1.05rem;margin:28px 0 0;color:#f1d391}#menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:14px}.tile{min-height:145px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:linear-gradient(150deg,#213a60,#172B4D);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 20px rgba(0,0,0,.14);transition:transform .18s,background .18s,box-shadow .18s;letter-spacing:.055em}.tile span{font-size:2.1rem;margin:0}.tile strong{font-size:.91rem}.tile:hover{transform:translateY(-3px);background:#294771;box-shadow:0 14px 28px rgba(0,0,0,.22)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffe3a5;outline-offset:3px}.panel,.event{background:linear-gradient(145deg,#1b3152,#152641);border:1px solid var(--line);border-radius:18px;box-shadow:0 9px 22px rgba(0,0,0,.12)}.panel{padding:24px}.event{padding:22px}.back,button.action,button.primary{border-radius:11px;min-height:44px;transition:filter .15s}.back:hover,button.action:hover,button.primary:hover{filter:brightness(1.14)}.signout{margin-top:30px}.dashboard-note{text-align:left;margin-top:24px;padding:18px 22px;border-left:3px solid #D9B768;background:rgba(23,43,77,.8);border-radius:8px}.dashboard-note p{margin:5px 0 0;color:#e1e5ec}.hist-cell{background:rgba(14,29,52,.35);border-color:var(--line);border-radius:14px}.hist-photo{height:195px}footer{border-top:1px solid var(--line);max-width:900px;margin:50px auto 0;padding-top:22px;color:#e4d0a3}input,select,textarea{color-scheme:light}a{color:#ffe3a5}@media(max-width:650px){body{padding:12px}header{padding:12px 0 18px}header img{width:105px;height:105px}header p{letter-spacing:.12em;font-size:.67rem}main{margin-top:20px}.dashboard-hero{padding:20px 17px}#menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tile{min-height:122px;padding:11px}.tile strong{font-size:.78rem}.panel,.event{padding:16px}.hist-grid{grid-template-columns:1fr}}
