:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#1e293b;background:#fff;line-height:1.5;--blue:#005ca7}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:var(--blue);color:white;border:2px solid var(--blue);border-radius:6px;padding:.7rem 1.1rem;min-height:44px;font-weight:600}button:hover{background:#205381}a{color:var(--blue)}:focus-visible{outline:3px solid #bd6700;outline-offset:3px}[hidden]{display:none!important}.site-header{background:white;border-bottom:4px solid var(--blue)}.header-inner{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem}.header-inner img{display:block;max-width:100%;object-fit:contain}.header-inner span{font-weight:600;color:var(--blue)}main{max-width:1120px;margin:2rem auto;padding:0 1.25rem}h1{font-size:clamp(1.8rem,4vw,2.5rem);color:var(--blue);margin-bottom:.25rem}h2{font-size:1.35rem;margin-top:0}.panel{background:white;border:1px solid #d6dee8;border-radius:10px;padding:1.5rem;margin:1.5rem 0}.hint{color:#526075;font-size:.95rem}.submit-bar{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem}.field label,.gas-details label{display:block;font-weight:600;margin-bottom:.3rem}input:not([type=checkbox]),select,textarea{width:100%;min-width:0;border:1px solid #8291a5;border-radius:5px;padding:.6rem;background:white;color:#1e293b}textarea{resize:vertical}.pictogram-group{padding:0;border:0;margin:1.5rem 0}.pictogram-group legend{font-size:1.1rem;font-weight:700;margin-bottom:.75rem}.choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem}.choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:.65rem;border:2px solid #d6dee8;border-radius:7px;padding:1rem .6rem;cursor:pointer;text-align:center;overflow-wrap:anywhere;background:white;font-size:.9rem}.choice input{align-self:flex-start;width:20px;height:20px;accent-color:var(--blue);margin:0}.choice img{object-fit:contain;max-width:100%}.choice:has(input:checked){border-color:var(--blue);background:#edf4fc}.choice:has(input:focus-visible){outline:3px solid #bd6700;outline-offset:2px}.gas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.gas-details{padding:.8rem .25rem}.gas-details select{margin-bottom:.7rem}.submit-bar{padding-bottom:1rem}#form-status{white-space:pre-line}#form-status.error{color:#a51b1b;font-weight:600}#form-status.success{color:#236133}footer{max-width:1120px;margin:2rem auto;padding:0 1.25rem}.skip-link{position:absolute;top:-100px;background:white;padding:1rem;z-index:10}.skip-link:focus{top:0}@media(max-width:800px){.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner span{display:none}}@media(max-width:520px){main{padding:0 .75rem;margin-top:1rem}.panel{padding:1rem}.field-grid{grid-template-columns:1fr}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gas-grid{grid-template-columns:1fr}.submit-bar button{width:100%}.choice{font-size:.85rem}.header-inner img{width:180px;height:65px}}

/* Original UJ header and navy footer; form controls retain responsive behavior. */
.brand-width { width:100%; max-width:1280px; margin:0 auto; padding-left:75px; padding-right:75px; }
.site-header { background:#fff; border-bottom:0; }
.header-bar { background:#005ca7; color:#fff; font-size:12px; }
.header-bar .brand-width { min-height:70px; display:flex; align-items:center; padding-top:12px; padding-bottom:12px; }
.header-inner { min-height:110px; padding-top:0; padding-bottom:0; }
.university-brand { display:flex; align-items:center; gap:16px; }
.header-inner .national-emblem { width:56px; height:110px; }
.header-inner .university-logo { width:166px; height:110px; }
h1 { color:#062e4e; }
.panel { border-radius:0; }
.site-footer { max-width:none; margin:3rem 0 0; padding:0; background:#062e4e url('../img/layout/footer-map.png') right top no-repeat; color:#fff; }
.site-footer a { color:#fff; }
.footer-top { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:40px; padding-top:60px; padding-bottom:50px; }
.footer-top img { display:block; max-width:100%; object-fit:contain; }
.footer-contact { padding:0 35px; border-left:1px solid #34546e; border-right:1px solid #34546e; overflow-wrap:anywhere; }
.footer-title { font-size:1.3rem; }
.footer-contact address { margin:.5rem 0; font-style:normal; }
.footer-name { font-size:1.3rem; font-weight:700; text-transform:uppercase; }
.footer-bottom { padding-top:20px; padding-bottom:20px; border-top:1px solid #34546e; color:#b7c8d5; font-size:.9rem; }
@media(max-width:900px) {
    .brand-width { padding-left:20px; padding-right:20px; }
    .footer-top { grid-template-columns:150px minmax(0,1fr); gap:20px; }
    .footer-name { grid-column:1/-1; }
    .footer-contact { padding:0 20px; border-right:0; }
}
@media(max-width:520px) {
    .header-bar .brand-width { min-height:50px; font-size:10px; }
    .header-inner { min-height:80px; }
    .header-inner .national-emblem { width:36px; height:75px; }
    .header-inner .university-logo { width:145px; height:75px; }
    .footer-top { grid-template-columns:1fr; padding-top:25px; padding-bottom:25px; }
    .footer-contact { border:0; padding:0; }
}

.room-details { width:100%; border-collapse:collapse; table-layout:fixed; border:1px solid #8291a5; }
.room-details th,.room-details td { border:1px dotted #8291a5; padding:8px; vertical-align:middle; }
.room-details th { width:20%; background:#e6e9ed; font-size:.9rem; text-align:left; font-weight:600; }
.room-details th:nth-child(3) { width:8%; }
.room-details td:nth-child(2) { width:47%; }
.room-details td:nth-child(4) { width:25%; }
.room-details label { margin:0; }
.room-details input { font-weight:600; }
@media(max-width:650px) {
    .room-details,.room-details tbody,.room-details tr,.room-details th,.room-details td { display:block; width:100%!important; }
    .room-details { border:0; }
    .room-details th,.room-details td { border:0; padding:5px 0; }
    .room-details th { background:transparent; padding-top:12px; }
}

.selection-meter { position:sticky; top:0; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 16px; margin:0 0 18px; background:#edf4fc; border:1px solid #91b3d4; border-left:5px solid #005ca7; box-shadow:0 3px 10px #062e4e18; border-radius:5px; }
.selection-meter strong { display:block; color:#062e4e; }
.selection-meter span { display:block; font-size:.9rem; }
.selection-meter progress { width:150px; height:14px; flex-shrink:0; accent-color:#005ca7; }
.selection-meter.at-limit { background:#fff3d6; border-color:#996000; }
.selection-meter.at-limit progress { accent-color:#996000; }
.selection-alert { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); width:calc(100% - 32px); max-width:640px; z-index:20; display:flex; align-items:center; gap:16px; padding:16px 20px; border:2px solid #d4a342; border-radius:8px; background:#062e4e; color:#fff; box-shadow:0 8px 30px #0004; }
.selection-alert p { flex:1; margin:0; font-weight:600; }
.selection-alert button { padding:0; min-width:44px; font-size:1.8rem; line-height:1; background:transparent; border-color:#8da8c0; }
.selection-alert button:hover { background:#234d70; }
.choice { scroll-margin-top:110px; }
@media(max-width:520px) { .selection-meter { padding:10px; gap:8px; flex-wrap:wrap; }.selection-meter progress { width:100%; height:10px; }.selection-alert { bottom:12px; padding:12px; font-size:.9rem; } }
