:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#fff;background:#003366;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}.display-header{height:82px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:16px 32px;background:#003366;gap:20px}.display-header img{width:220px;display:block}.system-title{font-size:12px;letter-spacing:.2em;color:#bfd1e1;font-weight:600}button{border:1px solid #ffffff55;color:white;background:transparent;border-radius:6px;padding:10px 16px;cursor:pointer;font:inherit;font-size:12px}button:hover,button:focus-visible{background:#ffffff22;outline:2px solid #fff;outline-offset:3px}.lanes{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:calc(100dvh - 126px);gap:3px;background:#ffffff50}.lane{padding:30px 42px 22px;display:flex;flex-direction:column;min-width:0;background:#f0f4f8;color:#234260;transition:background-color .25s,color .25s}.lane.success{background:#10643d;color:#fff}.lane.failed{background:#a92c35;color:#fff}.lane-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid currentColor;padding-bottom:22px}.lane-top h1{font-size:clamp(28px,3vw,52px);letter-spacing:.13em;font-weight:750;margin:0}.direction{font-size:42px;line-height:1;opacity:.65}.scan-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 0}.result-symbol{width:88px;height:88px;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:55px;line-height:1;margin-bottom:20px}.result{font-size:clamp(24px,4vw,62px);letter-spacing:.06em;font-weight:850;margin:0;line-height:1.1}.reason{font-size:clamp(12px,1.25vw,19px);opacity:.85;margin:14px 0 30px}.vehicle{width:100%;border-top:1px solid currentColor;padding-top:26px}.field-label{display:block;font-size:11px;letter-spacing:.2em;opacity:.75;font-weight:600}.owner{font-size:clamp(24px,2.8vw,48px);font-weight:650;line-height:1.15;margin:10px 0 27px;overflow-wrap:anywhere}.plate{font-size:clamp(32px,4.5vw,76px);letter-spacing:.04em;font-weight:800;line-height:1.1;margin:12px 0;overflow-wrap:anywhere}.lane-bottom{display:flex;justify-content:space-between;gap:15px;font-size:11px;opacity:.8}.scan-label{letter-spacing:.12em;white-space:nowrap}.display-footer{min-height:44px;display:flex;justify-content:space-between;align-items:center;padding:12px 32px;gap:16px;font-size:11px;color:#c4d4e4}.display-footer.offline{background:#6b1b25;color:#fff}#connection::before{content:"";display:inline-block;width:7px;height:7px;background:#a1aec0;border-radius:50%;margin-right:9px}.display-footer.online #connection::before{background:#67e8a3}.display-footer.offline #connection::before{background:#ffacac}@media(max-width:700px){.display-header{height:65px;padding:12px 16px;gap:10px}.display-header img{width:155px}.system-title{display:none}.lanes{grid-template-columns:1fr;min-height:calc(100dvh - 109px)}.lane{padding:20px;min-height:460px}.lane-top{padding-bottom:14px}.lane-top h1{font-size:27px}.direction{font-size:29px}.scan-content{padding:22px 0}.result-symbol{width:54px;height:54px;font-size:34px;margin-bottom:12px}.result{font-size:32px}.reason{margin:10px 0 20px}.vehicle{padding-top:18px}.owner{font-size:26px;margin:8px 0 20px}.plate{font-size:40px}.display-footer{padding:12px 16px;font-size:10px;flex-wrap:wrap}}@media(min-width:701px) and (max-height:650px){.display-header{height:60px}.lane{padding:16px 28px}.lane-top{padding-bottom:12px}.lane-top h1{font-size:28px}.scan-content{padding:15px 0}.result-symbol{width:48px;height:48px;font-size:30px;margin-bottom:12px}.result{font-size:34px}.reason{margin:8px 0 15px}.vehicle{padding-top:14px}.owner{font-size:26px;margin:8px 0 14px}.plate{font-size:40px;margin:8px 0}}
/* Entrance with recent logs */
body{height:100dvh;overflow:hidden}.lanes{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:0}.lane{overflow:auto}
.logs-panel{background:#f7f9fc;color:#234260;min-width:0;min-height:0;display:flex;flex-direction:column;padding:30px 24px 18px}
.logs-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 22px;border-bottom:1px solid #cad5df}
.logs-heading h2{margin:0;font-size:clamp(19px,2vw,30px);letter-spacing:.1em;font-weight:750}.logs-heading p{margin:8px 0 0;color:#63788b;font-size:13px}
#log-count{font-size:12px;white-space:nowrap;border:1px solid #cfdae4;border-radius:20px;padding:7px 10px;color:#4d647a;background:white}
.logs-scroll{flex:1;min-height:0;overflow:auto;margin-top:12px}.logs-scroll:focus-visible{outline:2px solid #003366;outline-offset:2px}
.logs-table{width:100%;min-width:460px;border-collapse:collapse;text-align:left;font-size:13px}.logs-table th{position:sticky;top:0;z-index:1;background:#f7f9fc;color:#6b7d8e;text-transform:uppercase;font-size:10px;letter-spacing:.12em;padding:13px 8px;border-bottom:1px solid #cad5df}
.logs-table td{padding:17px 8px;border-bottom:1px solid #dce4eb;vertical-align:top;overflow-wrap:anywhere}.logs-table td:first-child{width:105px;color:#687e91;font-size:11px;line-height:1.5}.logs-table td:nth-child(2){font-weight:600}.logs-table td:nth-child(3){font-weight:750;letter-spacing:.02em}.logs-table td:last-child{min-width:105px}.logs-table small{display:block;font-size:10px;line-height:1.4;color:#718294;margin-top:6px}
.log-result{display:inline-block;border-radius:5px;padding:5px 7px;font-size:10px;font-weight:800;letter-spacing:.04em}.log-result.allowed{background:#deefe4;color:#12643d}.log-result.denied{background:#f9e3e5;color:#a92c35}.empty-logs td{text-align:center!important;padding:50px 15px!important;color:#718294!important;font-weight:400!important}
.logs-note{font-size:11px;line-height:1.6;color:#718294;margin:14px 0 0;border-top:1px solid #dce4eb;padding-top:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){body{height:auto;overflow:auto}.lanes{grid-template-columns:1fr;min-height:calc(100dvh - 109px)}.lane{overflow:visible;min-height:480px}.logs-panel{padding:24px 16px;min-height:350px;max-height:650px}.logs-heading{padding-bottom:18px}.logs-heading h2{font-size:21px}.logs-scroll{max-height:440px;flex:auto}.logs-note{font-size:10px}}
@media(min-width:701px) and (max-height:650px){.logs-panel{padding:18px 18px 12px}.logs-heading{padding-bottom:14px}.logs-heading h2{font-size:20px}.logs-table td{padding:11px 8px}.logs-note{margin-top:8px;padding-top:8px}}
@media(max-width:700px){.logs-table{min-width:0;table-layout:fixed;font-size:11px}.logs-table th{padding:12px 4px;font-size:9px}.logs-table td{padding:14px 4px}.logs-table th:first-child,.logs-table td:first-child{width:22%;font-size:10px}.logs-table th:nth-child(2){width:28%}.logs-table th:nth-child(3){width:25%}.logs-table th:last-child,.logs-table td:last-child{width:25%;min-width:0}.logs-table small{font-size:9px}.log-result{padding:4px 5px;font-size:9px}}
