:root{--navy:#142b52;--navy2:#244c82;--pale:#f1f5fb;--white:#fff;--border:#dbe4f0;--text:#1c2b40;--muted:#65748a;--red:#b42335;--green:#127044;}
*{box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-text-size-adjust:100%}body{background:#f5f7fb;color:var(--text);margin:0;min-height:100vh}a{color:var(--navy2)}button,input,textarea{font:inherit}input,textarea{color:var(--text)}input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #6e9edc;outline-offset:2px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}
.container{max-width:1200px;margin:0 auto;padding:18px 14px 40px}.topbar{background:var(--navy);color:white}.topbar-inner{max-width:1200px;margin:auto;display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:66px;padding:10px 16px}.brand{font-size:22px;font-weight:800;letter-spacing:2px;text-decoration:none;color:white}.account{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;font-size:13px}.account form{margin:0}.footer{text-align:center;color:#8996a9;font-size:12px;padding:12px 0 22px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:11px;border:1px solid transparent;text-decoration:none;font-weight:700;font-size:15px;padding:10px 18px;text-align:center}.btn-primary{background:var(--navy);color:white}.btn-primary:hover{background:#234472}.btn-light{background:#edf3fa;color:var(--navy);border-color:var(--border)}.btn-ghost{background:transparent;color:white;border-color:#b1c2d4}.btn-small{font-size:13px;min-height:36px;padding:7px 10px}.full{width:100%}
.panel{background:white;border:1px solid var(--border);border-radius:15px;padding:19px;margin-bottom:16px;box-shadow:0 2px 12px rgba(20,43,82,.035)}.page-heading{margin:14px 0 20px}.page-heading h1{margin:0;font-size:clamp(24px,4vw,32px);color:var(--navy)}.page-heading p{margin:8px 0 0}.panel h2{font-size:19px;color:var(--navy);margin:0 0 16px}.section-heading{color:var(--navy);font-size:19px;margin:20px 0 13px}.muted{color:var(--muted);font-size:14px}.success{color:var(--green);font-weight:700}.alert{border-radius:11px;padding:13px 15px;margin-bottom:16px;font-weight:650;line-height:1.4}.alert-success{background:#e7f6ee;color:#08603a;border:1px solid #bee7ce}.alert-error{background:#fff0ef;color:#9f1c26;border:1px solid #fac8c8}
.auth-wrap{min-height:calc(100dvh - 110px);display:flex;justify-content:center;align-items:center;padding:14px 0}.auth-card{width:100%;max-width:430px;border-radius:19px;overflow:hidden;background:white;box-shadow:0 12px 35px rgba(20,43,82,.1)}.auth-head{background:var(--navy);padding:33px 20px;text-align:center}.auth-head h1{color:white;letter-spacing:4px;font-size:33px;margin:0}.auth-body{padding:27px 23px 30px;display:flex;flex-direction:column;gap:12px}.auth-body label{font-weight:700}.auth-body input{width:100%;height:52px;border:1px solid var(--border);border-radius:10px;padding:0 14px;font-size:16px;margin-bottom:6px}.password-row{position:relative}.password-row input{padding-right:90px}.show-pwd{position:absolute;right:7px;top:6px;border:0;background:transparent;color:var(--navy);font-weight:700;height:40px;padding:0 10px}.narrow{max-width:540px;margin:25px auto}.form-stack{display:flex;flex-direction:column;gap:12px}.form-stack>label,.missing-fields label,.filters label,.two-fields label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700}.form-stack input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),.form-stack textarea,.filters input{width:100%;min-height:49px;border:1px solid #ced9e8;border-radius:10px;padding:11px 13px;background:white;font-size:16px}.form-stack textarea{resize:vertical;min-height:78px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-zone{margin-bottom:15px}.photo-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.upload-button{display:flex;align-items:center;justify-content:center;gap:10px;background:#eef4fd;border:2px dashed #a8bfdc;border-radius:12px;color:var(--navy);font-weight:700;min-height:66px;cursor:pointer;padding:12px;text-align:center}.upload-button:hover{background:#e7effb}.upload-icon{font-size:28px}.preview{display:flex;flex-direction:column;align-items:center;gap:7px;margin-top:12px}.preview[hidden],.missing-fields[hidden],.compliance[hidden],.upload-zone[hidden]{display:none!important}.preview img{width:100%;max-width:420px;max-height:280px;object-fit:contain;border-radius:10px;background:#f1f3f7}.filename{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.checkrow{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:650;margin-bottom:14px;cursor:pointer}.checkrow input,.radio-row input{width:19px;height:19px;accent-color:var(--navy)}.field-title{display:block;font-weight:700;margin-bottom:9px}.radio-row{display:flex;gap:14px}.radio-row label{display:flex;align-items:center;gap:8px;padding:12px 14px;background:#f2f5fa;border:1px solid var(--border);border-radius:10px;min-width:95px;cursor:pointer;font-weight:700}.missing-fields{display:flex;flex-direction:column;gap:12px;margin-top:15px;padding:14px;background:#f9fbfe;border-radius:12px}.submit-area{padding:4px 0 16px}#upload-progress{text-align:center;min-height:22px;margin-bottom:7px}.history h2{margin-bottom:13px}.history-head,.history-row{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:8px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--border);font-size:14px}.history-head{background:#f2f5fb;color:var(--navy);font-size:13px;border-radius:8px 8px 0 0}
.report-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feature-tile{min-height:115px;background:var(--navy);color:white;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-decoration:none;font-size:17px;box-shadow:0 4px 15px rgba(20,43,82,.15)}.feature-tile:hover{background:#244d82}.tile-icon{font-size:30px}.stations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px}.station-tile{display:flex;min-height:116px;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:white;border:1px solid var(--border);border-radius:13px;text-decoration:none;color:var(--navy)}.station-tile strong{font-size:20px}.station-tile small{font-size:12px;color:var(--muted)}.station-icon{font-size:24px}.station-tile:hover,.report-link:hover{border-color:#6b93c6;background:#f4f8ff}.breadcrumbs{margin:10px 0 14px;font-weight:650}.breadcrumbs a{text-decoration:none}.report-list{display:flex;flex-direction:column;gap:10px;max-width:680px}.report-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;background:white;border:1px solid var(--border);border-radius:12px;color:var(--navy);text-decoration:none}.report-link>div{display:flex;flex-direction:column;gap:5px}.chevron{font-size:28px;color:#7792b7}.detail-image{display:block;width:100%;max-height:570px;object-fit:contain;background:#f1f5fb;border-radius:10px}.detail-panel{max-width:850px}.status{font-size:14px;font-weight:800;display:inline-block;border-radius:7px;padding:5px 9px}.status.yes{color:#0c6f40;background:#e5f7ec}.status.no{color:#ae2030;background:#ffe7eb}.status.neutral{color:#536579;background:#eef1f5}.descriptions{font-size:13px;line-height:1.45;margin-top:9px;display:flex;flex-direction:column;gap:10px}.descriptions b{color:var(--navy)}.descriptions p{margin:3px 0 0;white-space:normal;overflow-wrap:anywhere}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.filters label{min-width:150px;flex:1}.filters .btn{flex:0 1 auto}.report-count{margin:15px 0}.report-table-wrap{overflow-x:auto;background:white;border:1px solid var(--border);border-radius:12px}.report-table{width:100%;border-collapse:collapse;table-layout:fixed}.report-table th{background:var(--navy);color:white;text-align:left;font-size:13px;padding:14px 12px}.report-table td{vertical-align:top;border-bottom:1px solid var(--border);padding:14px 12px;font-size:14px;overflow-wrap:anywhere}.report-table th:first-child,.report-table td:first-child{width:8%}.report-table th:nth-child(2),.report-table td:nth-child(2){width:15%}.report-table th:nth-child(n+3){width:25.666%}.report-table tbody tr:nth-child(even){background:#fafcff}
@media(max-width:680px){.container{padding:13px 11px 28px}.account{gap:5px;font-size:12px}.account span{max-width:145px;overflow-wrap:anywhere;text-align:right}.panel{padding:15px;border-radius:12px}.two-fields{gap:10px}.report-tiles{gap:9px}.feature-tile{min-height:103px;font-size:15px}.stations-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.station-tile{min-height:100px}.filters .btn{width:100%}.report-table-wrap{background:transparent;border:0;overflow:visible}.report-table,.report-table tbody,.report-table tr,.report-table td{display:block;width:100%!important}.report-table thead{display:none}.report-table tr{background:white!important;border:1px solid var(--border);border-radius:13px;margin-bottom:12px;overflow:hidden}.report-table td{border-bottom:1px solid #edf0f5;display:grid;grid-template-columns:115px minmax(0,1fr);gap:10px;align-items:start;padding:12px}.report-table td:last-child{border-bottom:0}.report-table td::before{content:attr(data-label);font-size:12px;font-weight:750;color:var(--navy)}.report-table td .descriptions{font-size:13px}.report-table td .status{justify-self:start}.report-table td:has(.descriptions){display:block}.report-table td:has(.descriptions)::before{display:block;margin-bottom:8px}.report-table td:has(.descriptions) .status{margin-bottom:5px}}
@media(max-width:370px){.two-fields{grid-template-columns:1fr}.history-head,.history-row{grid-template-columns:1.5fr .8fr 1.2fr;font-size:12px}.account span{max-width:105px}}
/* GASTRO: klikane raporty stacji v1 */
.history-link{color:var(--text);text-decoration:none;min-height:52px;cursor:pointer}
.history-link:hover,.history-link:focus-visible{background:#edf4ff}
.history-link .success{white-space:nowrap}
@media(max-width:370px){.history-link{min-height:58px}}
