:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#26262b;background:#f7f6f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,h4,p{margin-top:0}h1{font-size:25px;line-height:1.16;letter-spacing:-.5px;margin:7px 0 5px}h2{font-size:18px;margin:0 0 10px}h3{font-size:15px;margin:0 0 5px}h4{font-size:14px;margin:4px 0}p{line-height:1.45}a{color:#ba1721}.app{min-height:100dvh}.head{background:#ba1721;color:#fff;padding:20px max(16px,calc((100vw - 720px)/2 + 15px)) 18px}.head p{margin:6px 0 0;color:#ffe1e3;font-size:12px}.headRow{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;letter-spacing:.8px;font-weight:800;color:#ffdfe0}.headBack{border:0;background:#fff2;color:#fff;padding:7px 11px;border-radius:7px;white-space:nowrap}.page{width:min(100%,720px);margin:auto;padding:13px 13px calc(90px + env(safe-area-inset-bottom))}.panel{background:#fff;border:1px solid #eee4e5;border-radius:14px;padding:16px;margin:0 0 14px;box-shadow:0 2px 6px #492d3008}.panel.light{background:#f7f0f0}.panel.inset{padding:13px;margin-top:12px}.panel h2{font-weight:750}.banner{background:#fff6e9;border:1px solid #f5dfb4;color:#764900;padding:10px 12px;border-radius:10px;font-size:12px;line-height:1.5;margin-bottom:13px}.btn{border:1px solid #d8cdd0;border-radius:9px;background:#fff;color:#363137;font-size:13px;font-weight:700;min-height:42px;padding:9px 13px;display:block;width:100%;line-height:1.3;touch-action:manipulation}.btn.primary{border-color:#ba1721;background:#ba1721;color:#fff}.btn.danger{border-color:#e9c5c8;color:#ba1721}.btn.small{width:auto;min-height:35px;font-size:11px;padding:7px 9px}.panel>.btn+.btn,.page>.btn+.btn{margin-top:9px}.twoButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:8px 0 15px}.between{display:flex;align-items:center;justify-content:space-between;gap:9px}.between h2{margin:0}.muted{color:#7b7276;font-size:13px}.muted.smaller,.smaller{font-size:11px}.info{padding:10px;border-radius:8px;background:#f3f4f3;border:1px solid #e5e8e5;font-size:12px}.fieldCard{padding:13px 0;border-top:1px solid #eee8e9;display:flex;align-items:center;justify-content:space-between;gap:10px}.fieldCard:first-of-type{margin-top:15px}.fieldCard p,.recent p,.contactCard p{margin:3px 0;color:#6d6466;font-size:12px}.fieldCard small{font-size:11px;color:#81777a}.stackButtons{display:flex;flex-direction:column;gap:5px;min-width:110px}.recent{border-top:1px solid #eee9e9;display:flex;align-items:center;justify-content:space-between;padding:9px 0}.footer{text-align:center;margin:18px 0;color:#8f898a;font-size:11px}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;color:#564a4f}input,textarea,select{display:block;width:100%;padding:10px 11px;min-height:42px;border:1px solid #d8cfd1;border-radius:8px;background:#fff;color:#29252a;font-weight:400;outline-color:#ba1721}textarea{resize:vertical}select{padding-right:18px}.formGrid{display:flex;flex-direction:column;gap:12px}.twoCol{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tick{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:13px;font-weight:550}.tick input{width:18px;height:18px;min-height:0;accent-color:#ba1721;flex:none}.photoUpload{display:block;padding:11px;border:1px dashed #c6b8bb;border-radius:9px;text-align:center;color:#ba1721;background:#fff8f8;font-weight:700;cursor:pointer}.photoUpload input{display:none}.contactCard{display:flex;gap:12px;padding:10px 0;border-top:1px solid #eee}.contactAvatar{height:76px;width:76px;background:#eee6e6;border-radius:10px;display:grid;place-items:center;overflow:hidden;flex:none}.contactAvatar.big{height:115px;width:115px;font-size:40px}.contactAvatar img{width:100%;height:100%;object-fit:cover}.actions{display:flex;gap:7px}.tag{font-size:10px;border:1px solid #ded3d6;border-radius:50px;color:#7f646b;padding:4px 9px}.bottomNav{height:65px;position:fixed;bottom:0;left:0;right:0;background:#ffffffed;box-shadow:0 -1px 8px #2822221b;display:flex;justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom);z-index:100}.bottomNav button{font-size:23px;border:0;background:none;min-width:75px;color:#a51a25;display:flex;align-items:center;flex-direction:column;gap:0;font-weight:700}.bottomNav small{font-size:10px;color:#665d61;font-weight:600}.loading{padding:50px;text-align:center}.mapOuter{border-radius:10px;background:#dcead7;padding:10px;display:flex;justify-content:center;align-items:center}.fieldSvg{display:block;width:min(100%,380px);height:auto;max-height:490px}.mapCompact .fieldSvg{max-height:350px}.scale{margin:7px 0 0}.scaleBar{height:12px;border-radius:3px;background:linear-gradient(90deg,#93baf0,#7dede2,#5de97c,#9ce647,#e3c635,#e24728)}.scaleLabels{display:flex;justify-content:space-between;font-size:11px;color:#655c5e;padding-top:4px}.legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;font-size:11px;color:#64605d}.swatch{display:inline-block;width:12px;height:12px;margin-right:3px}.swatch.green{background:#668940}.swatch.band{background:#e3eedc;border:1px solid #2b68a4}.chartWrap{max-width:600px;margin:auto}.chartWrap svg{display:block}.stats{display:flex;gap:7px;margin:10px 0}.stats>div{background:#fff;border:1px solid #eae2e3;border-radius:9px;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:11px 2px}.stats small{font-size:10px;color:#756b6f}.stats b{font-size:20px;font-variant-numeric:tabular-nums}.testPage{max-width:620px;padding-top:8px}.testTop{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}.testTopRight{display:flex;flex-direction:column;align-items:stretch;gap:5px}.progress{background:#eddddd;height:5px;overflow:hidden;border-radius:6px;margin-top:10px}.progress div{height:100%;background:#ba1721}.testPage .stats{margin:8px 0}.testPage .stats>div{padding:5px 3px}.testPage .stats b{font-size:17px}.testPage>.between{margin:6px 0}.steps{display:flex;gap:4px;margin:11px 0 8px}.steps span{flex:1;text-align:center;font-size:10px;text-transform:capitalize;border-top:3px solid #e8dfe2;color:#84787c;padding-top:5px}.steps span.on{border-color:#ba1721;color:#ba1721;font-weight:800}.measurement{margin:8px 0 11px;background:#f2eeee;border-radius:12px;display:flex;flex-direction:column;align-items:center;padding:15px 9px;gap:6px}.measurement b{font-size:14px}.measurement strong{font-size:36px;line-height:1.1}.measurement small{color:#777;font-size:11px;text-align:center}.testPage>.btn+.btn,.testPage .panel>.btn+.btn{margin-top:7px}.inputLabel{margin:11px 0 8px;font-size:11px}.inputLabel input{min-height:41px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0}.keypad button{border:1px solid #e3d9da;border-radius:8px;background:#fff;font-size:20px;min-height:48px}.testFoot{margin-top:8px;display:flex;gap:9px}.testFoot>.btn{flex:1}.summaryTable p{display:flex;justify-content:space-between;border-bottom:1px solid #eae0e1;padding:7px 0;margin:0}.error{color:#a51a25;font-size:12px;margin:7px 0}.success{color:#19783b;font-size:12px}.photoGrid{display:flex;flex-wrap:wrap;gap:7px}.photoGrid>div{width:90px}.photoGrid img{width:90px;height:90px;object-fit:cover;border-radius:7px}.photoGrid button{font-size:10px;border:0;background:none;color:#ba1721}.toggles{display:flex;flex-wrap:wrap;gap:10px}.pointDetails{background:#f5f3f3;border-radius:10px;padding:13px}.smallPhoto{width:110px;height:110px;object-fit:cover;border-radius:7px;margin:5px}.tableScroll{max-width:100%;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}td,th{border-bottom:1px solid #e7e1e1;padding:9px 6px;white-space:nowrap}th{color:#57474c}.paper{background:#fff;border:1px solid #eee;padding:30px;margin:12px 0;box-shadow:0 6px 18px #271c1c12}.paperTop{display:flex;justify-content:space-between;align-items:center;font-size:11px;border-bottom:2px solid #ba1721;padding-bottom:12px;margin-bottom:17px;color:#ba1721}.paperTop span{color:#999}.paper h2{font-size:22px}.paper h3{font-size:16px;margin:23px 0 9px}.paper h4,.paper p{font-size:12px}.infoTable{margin-bottom:12px}.infoTable td,.infoTable th{white-space:normal;border:1px solid #eee}.reportMaps{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.reportMaps>div{min-width:0}.reportMaps .mapOuter{padding:4px}.reportMaps .fieldSvg{max-height:300px}.reportChart{break-inside:avoid}.reportPhotos{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.reportPhotos figure{margin:0;break-inside:avoid}.reportPhotos img{width:100%;max-height:220px;object-fit:cover}.reportPhotos figcaption{font-size:10px;color:#666}.observations{white-space:pre-wrap}.disclaimer{border-top:1px solid #ccc;color:#777;padding-top:12px;margin-top:30px;font-size:10px!important}@media(max-width:540px){.page{padding:8px 9px calc(83px + env(safe-area-inset-bottom))}.panel{padding:12px}.head{padding:15px 14px}.head h1{font-size:22px}.testPage .measurement{padding:10px}.testPage .measurement strong{font-size:31px}.keypad button{min-height:43px}.fieldSvg{max-height:360px}.testPage .btn{min-height:39px}.testPage .btn.small{min-height:34px}.paper{padding:13px}.reportMaps .fieldSvg{max-height:230px}}@media print{body{background:#fff!important}.head,.bottomNav,.noPrint,.page>.btn,.banner{display:none!important}.page{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}.paper{margin:0!important;padding:0!important;box-shadow:none!important;border:none!important}.paperTop{padding-top:0}.reportMaps{grid-template-columns:repeat(3,1fr)}.paper h3,.reportMaps,.reportChart,.reportPhotos{break-inside:avoid}@page{size:A4;margin:15mm}}.mapWrapper{width:100%;min-width:0}.mapOuter{padding:2px;background:#087b16;overflow:hidden}.fieldSvg{width:100%;max-width:600px;max-height:76vh;aspect-ratio:300/380}.mapCompact .fieldSvg{max-height:420px}.mapControls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin:0 0 7px}.mapControls button{background:#fff;border:1px solid #d5d5d5;border-radius:7px;min-width:32px;min-height:32px;font-weight:700}.mapControls span{font-size:12px;font-variant-numeric:tabular-nums;min-width:30px;text-align:center}.gpsNote{font-size:11px;color:#19783b;align-self:center}@media(max-width:540px){.fieldSvg{max-height:72vh}.mapCompact .fieldSvg{max-height:65vh}}@media print{.mapControls{display:none!important}}.heatOpacityControl{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650}.heatOpacityControl input[type=range]{accent-color:#ba1721;padding:0;min-height:28px;border:0;background:transparent}
