:root{--blue: #1351b4;--blue-hover: #0c326f;--deep-blue: #0c326f;--green: #116b1a;--green-dark: #0f6418;--yellow: #ffcd07;--bg: #f8f9fa;--surface: #ffffff;--border: #e2e8f0;--text: #1b1b1b;--muted: #475569;--light-blue: #e8f1ff;--light-green: #e9f5ea;--shadow: 0 2px 8px rgba(12, 50, 111, .07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5;overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #ffcd07;outline-offset:2px}.icon{flex:none}.leaflet-control-attribution a{text-decoration:underline!important;color:#0c326f!important;font-weight:600}.govbar{height:36px;background:var(--deep-blue);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1280px)/2));font-size:11px}.gov-brand{display:flex;align-items:center;gap:10px;letter-spacing:.04em}.gov-brand span{opacity:.88;font-size:11px}.gov-brand b{font-size:13px;letter-spacing:-.02em}.gov-links{display:flex;height:100%}.gov-links button{background:none;border:0;border-left:1px solid rgba(255,255,255,.17);color:#fff;padding:0 14px;font-size:11px}.app-shell header{height:82px;background:#fff;display:flex;align-items:center;padding:0 max(24px,calc((100vw - 1280px)/2));border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;padding-right:28px;border-right:1px solid var(--border)}.brand-mark{width:44px;height:44px;background:var(--green);color:#fff;display:grid;place-items:center;border-radius:4px 14px}.brand div:last-child,.ministry,.user div{display:flex;flex-direction:column}.brand strong{color:var(--deep-blue);font-size:19px;line-height:1.2;letter-spacing:-.03em}.brand span{color:var(--muted);font-size:11px}.ministry{margin-left:28px;color:var(--deep-blue);line-height:1.3}.ministry span{font-size:11px;text-transform:uppercase;letter-spacing:.06em}.ministry strong{font-size:13px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.header-actions>button{width:38px;height:38px;border:0;background:transparent;color:var(--deep-blue);display:grid;place-items:center;border-radius:50%;position:relative}.header-actions>button:hover{background:#eef3f8}.header-actions>button i{position:absolute;width:7px;height:7px;border-radius:50%;background:#d62828;top:7px;right:7px;border:1px solid white}.user{display:flex;gap:10px;align-items:center;margin-left:8px;padding-left:16px;border-left:1px solid var(--border)}.user>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--light-blue);color:var(--blue);font-weight:700;font-size:12px}.user strong{color:var(--deep-blue);font-size:12px}.user small{color:var(--muted);font-size:11px}.primary-nav{background:#fff;border-bottom:1px solid var(--border);box-shadow:0 2px 5px #0c326f0a}.nav-inner{max-width:1280px;margin:auto;display:flex;min-height:48px}.primary-nav button{position:relative;display:flex;align-items:center;gap:8px;padding:0 18px;min-height:40px;border:0;background:transparent;color:#334155;font-size:12px;font-weight:600}.primary-nav button:hover{background:#f4f7fb;color:var(--blue)}.primary-nav button.active{color:var(--blue)}.primary-nav button.active:after{content:"";position:absolute;height:3px;background:var(--blue);bottom:0;left:20px;right:20px}.app-shell-main{max-width:1280px;margin:0 auto;padding:18px 0 36px}.breadcrumb{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:20px}.breadcrumb button{border:0;background:none;padding:4px 8px;min-height:28px;border-radius:6px;color:var(--blue);font-weight:600}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.eyebrow{color:var(--blue);text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.11em;margin:0 0 5px}.app-shell h1,.app-shell h2,.app-shell h3,.app-shell p{margin-top:0}.app-shell h1{margin-bottom:5px;color:var(--deep-blue);font-size:27px;line-height:1.2;letter-spacing:-.035em}.page-description{color:var(--muted);margin-bottom:0;font-size:13px}.heading-actions{display:flex;gap:10px}.button{height:40px;border-radius:20px;padding:0 20px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:12px}.button--primary{background:var(--blue);color:#fff}.button--primary:hover{background:var(--blue-hover)}.button--secondary{color:var(--blue);background:#fff;border-color:var(--blue)}.button--secondary:hover{background:var(--light-blue)}.button--ghost{color:var(--blue);background:transparent;padding:0 8px}.button--ghost:hover{background:var(--light-blue)}.card{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.tag{display:inline-flex;width:fit-content;align-items:center;gap:4px;padding:4px 9px;border-radius:14px;font-size:11px;font-weight:700;white-space:nowrap}.tag--green{color:var(--green-dark);background:var(--light-green)}.tag--blue{color:var(--blue);background:var(--light-blue)}.tag--yellow{color:#6b5200;background:#fff5c2}.tag--gray{color:#334155;background:#eef1f4}.public-ribbon{margin:0 0 20px;padding:10px 16px;border-radius:8px;display:flex;align-items:center;gap:8px;color:var(--green-dark);background:#edf8ee;border:1px solid #cbe6cd;font-size:12px;font-weight:600}.certificate{overflow:hidden;border-top:4px solid var(--green)}.certificate-top{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--border)}.certificate-id{color:var(--muted);font-size:11px;letter-spacing:.08em;margin-bottom:5px}.certificate-id strong{color:var(--deep-blue)}.certificate-top h2{color:var(--deep-blue);font-size:20px;margin-bottom:3px}.certificate-top p{color:var(--muted);font-size:12px;margin:0}.conforme{display:flex;align-items:center;gap:12px;color:#fff;background:var(--green);border-radius:6px;padding:12px 18px;min-width:270px}.conforme div{display:flex;flex-direction:column}.conforme strong{font-size:21px;letter-spacing:.06em;line-height:1.2;color:#fff}.conforme span{font-size:11px;color:#fff;font-weight:600;opacity:1}.certificate-grid{display:grid;grid-template-columns:1.2fr .8fr;min-height:300px}.property-data{padding:26px 28px}.section-title{display:flex;align-items:center;gap:11px;margin-bottom:22px}.section-title>span{width:30px;height:30px;display:grid;place-items:center;color:var(--blue);background:var(--light-blue);font-weight:800;border-radius:50%;font-size:11px}.section-title h3{color:var(--deep-blue);font-size:14px;margin:0}.section-title p{color:var(--muted);font-size:11px;margin:0}.data-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px 34px}.data{display:flex;flex-direction:column;border-bottom:1px solid #edf0f3;padding-bottom:10px}.data span{color:var(--muted);font-size:11px;margin-bottom:5px}.data strong{color:var(--deep-blue);font-size:13px}.data--wide{grid-column:span 1}.data strong.data--strong{font-size:20px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.03em}.map-panel{position:relative;min-height:250px;background:#e8eee4;overflow:hidden}.map-panel svg{display:block;width:100%;height:100%;min-height:250px}.map-legend{position:absolute;bottom:14px;left:14px;right:14px;background:#fffffff0;padding:10px 12px;display:flex;justify-content:space-between;border-radius:4px;font-size:11px;box-shadow:var(--shadow)}.map-legend span{display:flex;align-items:center;gap:6px}.map-legend i{width:10px;height:10px;background:#1688214d;border:2px solid var(--green)}.map-legend strong{color:var(--green-dark)}.certificate-bottom{background:#fafbfd;border-top:1px solid var(--border);padding:20px 28px;display:grid;grid-template-columns:1fr 1.3fr auto;align-items:center;gap:30px}.signature{display:flex;align-items:center;gap:12px}.icp-mark{width:50px;height:50px;border:2px solid var(--green);color:var(--green);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:.9}.icp-mark span{font-size:11px}.icp-mark strong{font-size:12px}.signature div:last-child{display:flex;flex-direction:column}.signature strong,.hash strong{color:var(--deep-blue);font-size:12px}.signature p,.signature small{margin:0;color:var(--muted);font-size:11px}.hash{display:flex;flex-direction:column;padding-left:24px;border-left:1px solid var(--border)}.hash>span{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em}.hash code{color:var(--deep-blue);font-size:11px;background:#eef2f6;padding:5px 7px;border-radius:3px;margin:4px 0;width:fit-content}.hash small{display:flex;align-items:center;gap:4px;color:var(--green-dark);font-size:11px}.qr-wrap{display:flex;flex-direction:column;align-items:center;gap:4px}.qr-wrap>span{font-size:11px;color:var(--muted)}.qr{width:67px;height:67px;padding:4px;display:grid;grid-template-columns:repeat(11,1fr);gap:1px;background:#fff;border:1px solid #cbd3dc}.qr i{background:#fff}.qr i.on{background:var(--deep-blue)}.info-note{border-left:4px solid var(--blue);background:#eaf2fd;color:var(--deep-blue);padding:13px 17px;margin-top:16px;display:flex;gap:12px}.info-note strong{font-size:12px}.info-note p{font-size:11px;margin:1px 0 0;color:#334155}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.metric{padding:17px 19px;position:relative;overflow:hidden}.metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}.metric>span{color:var(--muted);font-size:11px}.metric>div{display:flex;align-items:baseline;gap:5px;margin:3px 0}.metric>div strong{color:var(--deep-blue);font-size:25px;letter-spacing:-.04em}.metric>div b{color:var(--muted);font-size:12px}.metric small{color:var(--muted);font-size:11px;display:flex;align-items:center;gap:3px}.metric small.positive{color:var(--green-dark)}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:16px;margin-bottom:16px}.dashboard-grid>.card,.inspector-side>.card{padding:20px}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.card-head h2{color:var(--deep-blue);font-size:15px;margin-bottom:2px}.card-head p{color:var(--muted);margin-bottom:0;font-size:11px}.ndvi-map{height:270px;position:relative;overflow:hidden;border-radius:4px}.ndvi-map svg{width:100%;height:100%;display:block}.ndvi-scale{position:absolute;right:12px;top:12px;background:#fffffff0;border-radius:4px;padding:9px;display:grid;grid-template-columns:auto 55px auto;gap:7px;align-items:center;font-size:11px}.ndvi-scale i{height:7px;border-radius:5px;background:linear-gradient(90deg,#d8c93d,#78a645,#168821)}.plots{display:flex;gap:20px;padding-top:13px;font-size:11px;color:var(--muted)}.plots span{display:flex;align-items:center;gap:5px}.plots i{width:8px;height:8px;background:var(--green)}.plot-b{opacity:.75}.plot-c{opacity:.5}.field-label{display:block;font-weight:700;color:var(--deep-blue);font-size:11px;margin-bottom:5px}.input-action{display:flex;margin-bottom:17px}.input-action input{min-width:0;flex:1;height:40px;border:1px solid #94a3b8;border-right:0;padding:0 12px;color:var(--deep-blue);border-radius:4px 0 0 4px;font-size:12px}.input-action button{width:42px;border:0;background:var(--blue);color:#fff;border-radius:0 4px 4px 0;display:grid;place-items:center}.car-summary{margin-bottom:18px;border:1px solid var(--border);border-radius:4px}.car-summary div{padding:11px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.car-summary div:last-child{border-bottom:0}.car-summary span{color:var(--muted);font-size:11px}.car-summary strong{color:var(--deep-blue);font-size:12px}.dashboard-grid+.card,.silo-grid+.card{padding:20px}.crop-history{display:grid;grid-template-columns:repeat(5,1fr)}.crop-row{border-left:1px solid var(--border);padding:0 18px;display:flex;flex-direction:column;gap:6px}.crop-row:first-child{border-left:0;padding-left:0}.crop-year{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.crop-year i{width:8px;height:8px;border-radius:50%;background:#b7c0ca}.crop-year i.active{background:var(--blue);box-shadow:0 0 0 4px var(--light-blue)}.crop-row>strong{color:var(--deep-blue);font-size:12px}.crop-row>span{color:var(--muted);font-size:11px}.silo-grid{grid-template-columns:1fr 1.4fr}.grading{display:flex;flex-direction:column;gap:17px}.grade>div:first-child{display:flex;justify-content:space-between;color:var(--deep-blue);font-size:12px}.grade b{font-size:14px}.progress{height:7px;background:#e9edf1;position:relative;margin:6px 0 3px;border-radius:5px}.progress i{display:block;height:100%;background:var(--green);border-radius:5px}.progress span{position:absolute;left:80%;width:2px;height:13px;top:-3px;background:#d29f00}.grade small{color:var(--muted);font-size:11px}.legal-ref{display:flex;align-items:center;gap:10px;padding:11px;background:#f3f6f9;color:var(--deep-blue);margin-top:17px;border-radius:4px}.legal-ref div{flex:1}.legal-ref strong{font-size:11px}.legal-ref p{margin:0;font-size:11px;color:var(--muted)}.mass-flow{display:flex;align-items:center;gap:7px;margin-top:25px}.mass-flow>div{flex:1;background:#f4f6f8;padding:12px 8px;border-radius:4px;display:flex;flex-direction:column;text-align:center}.mass-flow>b{color:#64748b}.mass-flow span{color:var(--muted);font-size:11px}.mass-flow strong{color:var(--deep-blue);font-size:13px}.mass-flow .result{background:var(--deep-blue)}.mass-flow .result span,.mass-flow .result strong{color:#fff}.balance-check{display:flex;gap:10px;background:var(--light-green);color:var(--green-dark);padding:11px;border-radius:4px;margin-top:24px}.balance-check strong{font-size:11px}.balance-check p{margin:0;font-size:11px}.table-wrap{overflow-x:auto}.app-shell table{width:100%;border-collapse:collapse;font-size:12px}.app-shell th{color:var(--muted);background:#f3f6f9;text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:11px;padding:10px 12px}.app-shell td{padding:12px;border-bottom:1px solid var(--border);color:#334155}.app-shell td strong{color:var(--deep-blue)}.process-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr;background:var(--deep-blue);color:#fff;padding:15px 20px;border-radius:7px;margin-bottom:16px}.process-summary>div{border-left:1px solid rgba(255,255,255,.2);padding:0 20px;display:flex;flex-direction:column}.process-summary>div:first-child{border:0;padding-left:0}.process-summary span{opacity:.85;font-size:11px}.process-summary strong{font-size:12px}.process-summary .tag{margin-top:2px;opacity:1}.process-summary .timer{background:var(--yellow);color:#443400;margin:-15px -20px -15px 0;padding:15px 20px;justify-content:center}.process-summary .timer span{opacity:.9}.process-summary .timer strong{font-size:14px}.inspector-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.inspector-grid>.card{padding:20px}.inspector-side{display:flex;flex-direction:column;gap:16px}.layer-list{margin:0 -20px -20px}.layer-row{display:grid;grid-template-columns:30px 1fr auto 75px 15px;gap:10px;align-items:center;padding:10px 20px;border-top:1px solid var(--border)}.layer-number{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:var(--light-blue);font-size:11px;font-weight:800}.layer-row>div{display:flex;flex-direction:column}.layer-row strong{color:var(--deep-blue);font-size:12px}.layer-row small,.layer-row time{color:var(--muted);font-size:11px}.show-all{width:100%;border:0;border-top:1px solid var(--border);background:#f7f9fb;color:var(--blue);padding:11px;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:12px}.inspector-side .map-panel{height:190px}.inspector-side .map-panel svg{min-height:190px}.map-status{display:flex;justify-content:space-between;margin-top:9px;color:var(--muted);font-size:11px}.map-status span{display:flex;align-items:center;gap:4px}.map-status i{width:8px;height:8px;background:var(--green)}.map-status span:nth-child(2) i{background:#bdcb8a}.map-status span:nth-child(3) i{background:#bd2424}.required{font-size:11px;color:#b42318;background:#feeceb;padding:3px 6px;border-radius:2px;font-weight:800}.justification textarea{width:100%;height:110px;resize:vertical;border:1px solid #8795a8;border-radius:4px;padding:10px;color:#293547;font-size:12px;line-height:1.5}.textarea-foot{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:4px}.corridor-banner{background:var(--deep-blue);color:#fff;border-radius:7px 7px 0 0;padding:16px 22px;display:flex;justify-content:space-between;align-items:center}.corridor-banner>div{display:flex;align-items:center;gap:12px}.corridor-banner>div div{display:flex;flex-direction:column}.corridor-banner strong{font-size:13px}.corridor-banner span{font-size:11px;opacity:.88}.route-card{border-radius:0 0 8px 8px;padding:24px 28px}.route-head{display:grid;grid-template-columns:auto 1fr auto;align-items:end;margin-bottom:30px}.route-head>div:first-child,.route-head>div:last-child{display:flex;flex-direction:column}.route-head>div:last-child{text-align:right}.route-head span{color:var(--muted);font-size:11px;letter-spacing:.08em}.route-head strong{color:var(--deep-blue);font-size:12px}.route-line{height:20px;border-bottom:1px dashed #9eb0c4;margin:0 15px 5px;display:flex;align-items:flex-end;justify-content:space-between}.route-line i{width:7px;height:7px;background:var(--blue);border-radius:50%;transform:translateY(4px)}.route-line span{background:#fff;padding:0 10px;transform:translateY(5px);color:var(--blue);font-weight:700}.timeline{position:relative;max-width:980px;margin:auto}.timeline:before{content:"";position:absolute;left:20px;top:25px;bottom:30px;width:2px;background:var(--green)}.event{display:grid;grid-template-columns:42px 1fr;gap:16px;position:relative;padding-bottom:14px}.event-marker{width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;z-index:1;border:4px solid white;box-shadow:0 0 0 2px var(--green)}.event.pending .event-marker{color:#6b5200;background:var(--yellow);box-shadow:0 0 0 2px var(--yellow)}.event-content{border:1px solid var(--border);border-radius:5px;padding:12px 16px}.event-top{display:flex;justify-content:space-between}.event-top span{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.08em}.event-top h3{color:var(--deep-blue);font-size:13px;margin:1px 0 0}.event-top time{color:var(--muted);font-size:11px}.event-place{color:var(--muted);font-size:11px;margin-bottom:9px}.event-detail{border-top:1px solid var(--border);padding-top:9px;display:flex;justify-content:space-between;align-items:center}.event-detail>span{font-size:11px;color:#334155}.app-shell footer{min-height:72px;color:#334155;background:transparent;display:flex;align-items:center;justify-content:space-between}.footer-brand{display:flex;align-items:center;gap:8px}.mobile-nav{display:none}@media (max-width: 860px){.govbar{padding:0 16px}.gov-links button:not(:last-child){display:none}.brand{border:0;padding:0}.brand-mark{width:38px;height:38px}.brand strong{font-size:16px}.ministry,.header-actions>button,.user div,.user>.icon{display:none}.user{border:0;padding:0;margin:0}.breadcrumb{margin-bottom:14px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px}.app-shell h1{font-size:23px}.heading-actions{width:100%}.heading-actions .button{flex:1;padding:0 12px}.certificate-top{padding:18px;flex-direction:column;align-items:stretch;gap:16px}.conforme{min-width:0}.certificate-grid,.dashboard-grid,.silo-grid,.inspector-grid{grid-template-columns:1fr}.property-data{padding:20px 18px}.data-grid{grid-template-columns:1fr 1fr;gap:16px}.certificate-bottom{grid-template-columns:1fr;padding:18px;gap:18px}.hash{border-left:0;padding-left:0}.qr-wrap{align-items:flex-start}.metrics{grid-template-columns:1fr 1fr}.crop-history{grid-template-columns:1fr}.crop-row{border-left:0;border-top:1px solid var(--border);padding:12px 0}.crop-row:first-child{border-top:0}.plots{flex-wrap:wrap}.process-summary{grid-template-columns:1fr 1fr;gap:15px}.process-summary>div{border:0;padding:0}.process-summary .timer{margin:0;padding:9px;border-radius:4px}.layer-row{grid-template-columns:30px 1fr auto 15px}.layer-row time{display:none}.route-card{padding:20px 14px}.route-head{grid-template-columns:1fr;gap:8px}.route-head>div:last-child{text-align:left}.route-line{display:none}.event{gap:10px}.event-content{padding:10px}.event-detail{align-items:flex-start;gap:8px;flex-direction:column}}@media (max-width: 520px){.metrics,.data-grid,.process-summary{grid-template-columns:1fr}.mass-flow{display:grid;grid-template-columns:1fr 1fr}.mass-flow>b{display:none}.layer-row{grid-template-columns:26px 1fr 14px}.layer-row .tag{grid-column:2}}
