:root{--navy:#003366;--orange:#ff9933;--ink:#182d42;--muted:#6b7a88;--line:#e0e6eb}*{box-sizing:border-box}body{margin:0;background:#f4f6f8;color:var(--ink);font:14px/1.5 Arial,sans-serif}button,input,textarea{font:inherit}button,.file-button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:7px;padding:10px 16px;color:var(--navy);font-weight:600}button:hover,.file-button:hover{background:#edf3f8}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus,textarea:focus,.upload:focus-within{outline:2px solid var(--orange);outline-offset:2px}.primary{background:var(--navy);color:white;border-color:var(--navy)}.primary:hover{background:#174b7f}header{height:82px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:18px 36px}header img{width:154px;max-height:48px;object-fit:contain}header>span{font-weight:600}.divider{height:25px;border-left:1px solid var(--line)}header small{margin-left:auto;color:var(--muted)}.workspace{display:grid;grid-template-columns:265px 1fr;max-width:1600px;margin:auto}aside{padding:38px 22px;display:flex;flex-direction:column;min-height:calc(100vh - 82px);border-right:1px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}nav{margin-top:20px;display:grid;gap:10px}nav button{text-align:left;background:transparent;border-color:transparent;font-size:13px;padding:14px 10px}nav b{margin-right:10px;color:#8495a6}nav .active{background:#e6edf4;border-left:3px solid var(--orange);color:var(--navy)}nav .active b{color:var(--navy)}#count{float:right}.aside-bottom{margin-top:70px;display:grid;gap:10px}.aside-bottom p{font-size:12px;color:var(--muted)}.file-button{text-align:center}input[type=file]{position:absolute;width:1px;height:1px;opacity:0}main{padding:38px 44px;max-width:1150px;width:100%}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}h1{font-size:29px;letter-spacing:-.8px;margin:8px 0}p{color:var(--muted);margin:6px 0 16px}h2{font-size:17px;margin:0 0 20px}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:26px;margin-bottom:20px}.card-title{display:flex;justify-content:space-between}.card-title span{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:block;font-size:12px;font-weight:600}input:not([type=file]),textarea{display:block;width:100%;margin-top:8px;border:1px solid #cfd8e0;border-radius:6px;padding:12px;color:var(--ink);background:#fff}textarea{resize:vertical;line-height:1.6}label+label:has(textarea){margin-top:20px}.upload{border:1px dashed #b6c6d5;border-radius:7px;background:#f8fafc;text-align:center;padding:30px;cursor:pointer;display:block}.upload strong{color:var(--navy);font-size:15px}.upload p{font-size:12px;margin:8px 0}.upload small{color:#8796a3}.cover-upload{min-height:190px;display:grid;place-items:center}.cover-upload img{width:100%;max-height:260px;object-fit:contain}.step-footer{display:flex;align-items:center;justify-content:space-between;margin:28px 0;color:var(--muted)}#photoList{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.photo{border:1px solid var(--line);padding:12px;border-radius:8px}.photo img{width:100%;height:190px;object-fit:contain;background:#f1f4f6}.photo .controls{display:flex;gap:6px;margin-top:10px}.photo button{padding:6px 12px}.photo button:last-child{margin-left:auto}#previewModal{position:fixed;inset:0;background:#dde3e9;overflow:auto;z-index:5}.preview-toolbar{position:sticky;top:0;background:white;padding:15px 24px;display:flex;align-items:center;justify-content:space-between;z-index:6;box-shadow:0 2px 8px #0001}.print-help{text-align:center;margin:20px}#report{padding:0 20px 40px}.page{width:210mm;height:297mm;background:white;margin:24px auto;padding:16mm 17mm;position:relative;box-shadow:0 4px 24px #142b4220;overflow:hidden;color:#19334d;font-size:11pt}.report-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--orange);padding-bottom:7mm;margin-bottom:8mm}.report-head img{width:43mm;max-height:15mm;object-fit:contain}.report-head span{font-size:9pt;color:var(--navy)}.page h1{font-size:29pt;margin:7mm 0}.page h2{font-size:15pt;color:var(--navy);margin:0 0 5mm}.cover-image{width:100%;height:91mm;object-fit:contain;background:#f4f6f8;margin:3mm 0 8mm}.cover-placeholder{height:91mm;border:1px dashed #c4ced8;display:grid;place-items:center;color:#8795a2;margin:3mm 0 8mm}.report-fields{display:grid;grid-template-columns:1fr 1fr;gap:6mm 10mm}.report-fields>div{overflow-wrap:anywhere}.report-fields small{display:block;color:var(--muted);font-size:8pt;margin-bottom:1mm}.report-fields strong{font-size:11pt}.report-block{margin:0 0 8mm;white-space:pre-wrap;overflow-wrap:anywhere}.report-block h2{white-space:normal}.report-block p{color:var(--ink);line-height:1.6;margin:0}.page-footer{position:absolute;bottom:12mm;left:17mm;right:17mm;border-top:1px solid var(--line);padding-top:3mm;display:flex;justify-content:space-between;font-size:8pt;color:var(--muted)}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8mm 6mm}.report-photo{margin:0;height:103mm;min-width:0}.report-photo img{width:100%;height:86mm;object-fit:contain;background:#f5f7f9}.report-photo figcaption{font-size:9pt;padding-top:2mm;overflow-wrap:anywhere}.photo-empty{height:210mm;border:1px dashed var(--line);display:grid;place-items:center;color:var(--muted)}[hidden]{display:none!important}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:15px 24px;background:var(--navy);color:white;border-radius:8px;z-index:20;max-width:90vw}@media(max-width:950px){.workspace{grid-template-columns:1fr}aside{min-height:0;padding:18px;border:0}aside>.eyebrow,.aside-bottom p{display:none}nav{display:flex;margin:0;flex-wrap:wrap}.aside-bottom{margin:15px 0 0;display:flex;flex-wrap:wrap}main{padding:20px}.heading{align-items:flex-start}.heading .primary{font-size:12px}.fields{grid-template-columns:1fr}h1{font-size:24px}.preview-toolbar span{display:none}#report{width:max-content;min-width:100%}}@media(max-width:500px){header{padding:16px;gap:12px}header img{width:110px}header small{font-size:10px}.heading{display:block}.heading .primary{margin-top:8px}.card{padding:18px}#photoList{grid-template-columns:1fr}.step-footer{gap:12px}.step-footer button{font-size:12px}}@page{size:A4;margin:0}@media print{body{background:white}body>header,.workspace,.preview-toolbar,.print-help,#notice{display:none!important}#previewModal{position:static;overflow:visible;background:white}#report{padding:0;width:auto}.page{margin:0;box-shadow:none;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.page:last-child{break-after:auto}}

.preview-toolbar{flex-wrap:wrap;gap:8px}.preview-toolbar button{min-height:44px}@media(max-width:600px){.preview-toolbar{padding:10px}.preview-toolbar button{font-size:12px;padding:8px 10px;flex:1 1 40%}}


.home{max-width:1050px;margin:auto;padding:38px 24px}.local-info{background:#e6edf4;border-left:3px solid var(--orange);padding:16px;color:var(--navy);border-radius:6px}.report-list{display:grid;gap:14px}.saved-report{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;background:white;border:1px solid var(--line);border-radius:10px}.saved-report h2{margin:0 0 6px;overflow-wrap:anywhere}.saved-report p{margin:0 0 8px;overflow-wrap:anywhere}.saved-report small{color:var(--muted)}.saved-report button{flex-shrink:0;min-height:44px}#backHome{margin-bottom:24px}@media(max-width:600px){.saved-report{display:block}.saved-report button{width:100%;margin-top:16px}.home{padding:24px 16px}}@media print{#home{display:none!important}}

select{font:inherit;display:block;width:100%;margin-top:8px;border:1px solid #cfd8e0;border-radius:6px;padding:12px;background:#fff;color:var(--ink);min-height:46px}select:focus-visible{outline:2px solid var(--orange);outline-offset:2px}input[readonly]{background:#edf2f6;color:#38516a;cursor:default}#previewModal{display:flex;flex-direction:column;overflow:hidden}.preview-toolbar{position:relative;flex:none;justify-content:flex-start}.preview-toolbar span{margin-right:auto}.print-help{flex:none;margin:8px 16px;font-size:12px}.zoom-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;background:#f7f9fb;flex:none;border-bottom:1px solid var(--line)}.zoom-toolbar button{min-height:44px;padding:8px 12px}.zoom-toolbar input[type=range]{width:110px;margin:0;padding:0;accent-color:var(--navy)}.zoom-toolbar output{min-width:45px;text-align:center;font-variant-numeric:tabular-nums}#reportViewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}#report{display:flex;flex-direction:column;align-items:center;width:max-content;min-width:100%;padding:12px;gap:18px}.page-shell{position:relative;flex:none}.page-shell .page{margin:0;transform-origin:top left}@media(max-width:600px){.zoom-toolbar{gap:5px}.zoom-toolbar input[type=range]{width:65px}.zoom-toolbar button{font-size:12px;padding:8px}.preview-toolbar button{flex:1 1 auto}.print-help{margin:5px 12px;font-size:11px}input:not([type=file]),textarea,select{font-size:16px}}@media print{.zoom-toolbar{display:none!important}#previewModal{display:block;overflow:visible}#reportViewport{display:block;overflow:visible}#report{display:block;padding:0;width:auto}.page-shell{width:auto!important;height:auto!important;break-after:page}.page-shell:last-child{break-after:auto}.page-shell .page{transform:none!important;break-after:auto}}


.field-note{font-size:12px;margin:10px 0 0}.with-contacts .cover-image,.with-contacts .cover-placeholder{height:70mm}.with-contacts .report-fields{gap:4mm 10mm}.with-contacts .report-fields strong{font-size:10pt}.with-contacts .report-fields small{font-size:7.5pt}.report-actions{display:flex;gap:8px;flex-shrink:0}.danger{color:#a32b2b}.danger:hover{background:#fff0f0}@media(max-width:600px){.report-actions{margin-top:12px}.saved-report .report-actions button{margin-top:0;width:auto;flex:1}}
