
/*
 SGN-inspired eFarming V2 visual identity (preview).
 Primary blue = professionalism; leaf green = growth; warm gold = success.
 Plain enterprise surfaces; document print and basemap geometry stay unchanged.
 */
@media screen {
 :root{--sgn-blue:#155b90;--sgn-navy:#103b60;--sgn-navy-deep:#0c304d;--sgn-green:#408e36;--sgn-green-strong:#2d7732;--sgn-gold:#e7ad1f;--sgn-ink:#20374a;--sgn-muted:#617486;--sgn-border:#dbe4e9;--sgn-surface:#f5f8fa;--sgn-soft-blue:#eaf2f7;--sgn-soft-green:#edf6ea;}
 html,body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;background:var(--sgn-surface)!important;color:var(--sgn-ink)!important;}
 /* Real SGN mark overlays the e² fallback, so it works without external images too. */
 #efv2 .ef-mark{position:relative!important;overflow:hidden!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:9px!important;background:#fff!important;color:var(--sgn-blue)!important;border:1px solid #d8e5e7!important;box-shadow:none!important;}
 #efv2 .ef-mark .ef-logo-fallback{font-size:20px;line-height:1;font-weight:850;letter-spacing:-.06em;}
 #efv2 .ef-mark .ef-sgn-logo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:3px!important;background:#fff!important;}
 #efv2 .ef-mark .ef-sgn-logo[hidden]{display:none!important;}
 /* Workbench shell */
 #efv2:not(.role-login):not(.workflow-docs){--ef-ink:var(--sgn-ink)!important;--ef-muted:var(--sgn-muted)!important;--ef-line:var(--sgn-border)!important;--ef-main:var(--sgn-surface)!important;--ef-accent:var(--sgn-blue)!important;--ef-soft:var(--sgn-soft-blue)!important;background:var(--sgn-surface)!important;}
 #efv2:not(.role-login) .ef-side{background:var(--sgn-navy-deep)!important;border-right-color:#2b5573!important;color:#ecf6ff!important;}
 #efv2:not(.role-login) .ef-brand{border-bottom:1px solid #2d5874!important;color:#fff!important;letter-spacing:-.025em!important;}
 #efv2:not(.role-login) .ef-brand b{color:#a0dc93!important;}
 #efv2:not(.role-login) .ef-brand small{color:#b5cad7!important;}
 #efv2:not(.role-login) .ef-side-label{color:#dae8f1!important;border:1px solid #345c78!important;background:#183f5c!important;}
 #efv2:not(.role-login) .ef-nav-group-title{color:#a3c4d8!important;font-weight:680!important;}
 #efv2:not(.role-login) .ef-nav-group-title small{background:#204b66!important;color:#c4dce8!important;}
 #efv2:not(.role-login) .ef-nav-group-items button{color:#dceaf4!important;}
 #efv2:not(.role-login) .ef-nav-group-items button svg{color:#a6c0d2!important;}
 #efv2:not(.role-login) .ef-nav-group-items button:hover{background:#1d506e!important;color:#fff!important;}
 #efv2:not(.role-login) .ef-nav-group-items button[aria-current="page"]{background:#eef6f9!important;color:var(--sgn-navy-deep)!important;border-color:#eef6f9!important;}
 #efv2:not(.role-login) .ef-nav-group-items button[aria-current="page"] svg{color:var(--sgn-green-strong)!important;}
 #efv2:not(.role-login) .ef-account{background:#174261!important;border-color:#375f79!important;}
 #efv2:not(.role-login) .ef-account small{color:#c2d3de!important;}
 #efv2:not(.role-login) .ef-work{background:var(--sgn-surface)!important;}
 #efv2:not(.role-login) .ef-top{background:#fff!important;border-bottom:1px solid var(--sgn-border)!important;}
 #efv2:not(.role-login) .ef-pg-switch{color:#2d526c!important;}
 #efv2:not(.role-login) .ef-pg-switch select{color:#163c58!important;border-color:#bfd0da!important;}
 #efv2:not(.role-login) .ef-demo{background:#f8f4e9!important;border-color:#eadfbf!important;color:#75673f!important;}
 #efv2:not(.role-login) #ef-main{background:transparent!important;}
 #efv2:not(.role-login) .ef-heading h2{color:#173b56!important;}
 #efv2:not(.role-login) .ef-eyebrow{color:var(--sgn-green-strong)!important;}
 #efv2:not(.role-login) .ef-muted{color:var(--sgn-muted)!important;}
 #efv2:not(.role-login) .ef-hero{border-left-color:var(--sgn-green)!important;}
 #efv2:not(.role-login) .ef-hero h3,#efv2:not(.role-login) .ef-hero-process>small{color:#173b56!important;}
 #efv2:not(.role-login) .ef-hero-copy>small,#efv2:not(.role-login) .ef-hero-tags span{color:#2c7454!important;}
 #efv2:not(.role-login) .ef-hero-process{color:#355a70!important;border-color:#e4eaee!important;}
 #efv2:not(.role-login) .ef-hero-process>div span{color:var(--sgn-green-strong)!important;}
 #efv2:not(.role-login) .ef-panel,#efv2:not(.role-login) .ef-stats,#efv2:not(.role-login) .ef-table-wrap{border-color:var(--sgn-border)!important;}
 #efv2:not(.role-login) .ef-stat strong{color:var(--sgn-navy-deep)!important;}
 #efv2:not(.role-login) .ef-stat small{color:var(--sgn-muted)!important;}
 #efv2:not(.role-login) .ef-panel>h3{color:#204b68!important;}
 #efv2:not(.role-login) .ef-table th{background:#f0f5f8!important;color:#3f6178!important;border-bottom-color:var(--sgn-border)!important;}
 #efv2:not(.role-login) .ef-table td{border-color:#e6edf0!important;color:#344b5d!important;}
 #efv2:not(.role-login) .ef-table tbody tr:hover{background:#f2f8fa!important;}
 #efv2:not(.role-login) .ef-badge{background:#eaf4ec!important;color:#2c7035!important;border-color:#d3e8d7!important;}
 #efv2:not(.role-login) .ef-badge.warn{background:#fff5e0!important;color:#8b610f!important;border-color:#eaddb8!important;}
 #efv2:not(.role-login) .ef-act,#role-dialog .ef-act{background:var(--sgn-blue)!important;border-color:var(--sgn-blue)!important;color:#fff!important;}
 #efv2:not(.role-login) .ef-act:hover,#role-dialog .ef-act:hover{background:#104775!important;border-color:#104775!important;}
 #efv2:not(.role-login) .ef-secondary,#role-dialog .ef-secondary{color:#265371!important;border-color:#ccdae2!important;}
 #efv2:not(.role-login) .ef-txn-search{border-color:var(--sgn-border)!important;}
 #efv2:not(.role-login) input:focus-visible,#efv2:not(.role-login) select:focus-visible,#efv2:not(.role-login) button:focus-visible,#role-dialog :is(input,select,button,textarea):focus-visible{outline-color:#297eac!important;}
 /* Registration cards keep color reserved for selection. */
 #role-dialog .ef-choice-step,#role-dialog .ef-mitra-step{border-color:#dbe6eb!important;background:#f7f9fa!important;}
 #role-dialog .ef-choice-card:has(input:checked),#role-dialog .ef-mitra-card:has(input:checked){border-color:var(--sgn-blue)!important;background:#eaf2f9!important;}
 #role-dialog .ef-choice-icon,#role-dialog .ef-mitra-icon{background:#e6f3e5!important;color:var(--sgn-green-strong)!important;}
 #role-dialog .ef-choice-selected,#role-dialog .ef-mitra-selected{color:var(--sgn-blue)!important;}
 #role-dialog .ef-registration-section-head h3,#role-dialog .role-body h3{color:#204660!important;}
 /* Surveyor field shell: force the actual mobile/tablet role to keep a horizontal nav and white work area. */
 #efv2.role-mobile{background:var(--sgn-surface)!important;}
 #efv2.role-mobile .ef-side{background:var(--sgn-navy-deep)!important;border-bottom:3px solid var(--sgn-green)!important;}
 #efv2.role-mobile .ef-side nav{border-top-color:#2a516b!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group-items button{background:#164665!important;border-color:#325c76!important;color:#e7f1f7!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group-items button[aria-current="page"]{background:#eff7fb!important;border-color:#eff7fb!important;color:#103b60!important;}
 #efv2.role-mobile .ef-work{background:var(--sgn-surface)!important;}
 #efv2.role-mobile .ef-heading h2{color:#173b56!important;}
 #efv2.role-mobile .efg-hero{border-left-color:var(--sgn-green)!important;background:#fff!important;}
 #efv2.role-mobile .efg-hero h3,#efv2.role-mobile .efg-section-title h3{color:var(--sgn-navy-deep)!important;}
 #efv2.role-mobile .efg-eyebrow{color:var(--sgn-green-strong)!important;}
 #efv2.role-mobile .efg-eyebrow::before{background:var(--sgn-green)!important;}
 #efv2.role-mobile .efg-pill{background:#edf5f0!important;color:#2a6c4a!important;border-color:#d2e8d8!important;}
 #efv2.role-mobile .efg-stat{border-color:var(--sgn-border)!important;}
 #efv2.role-mobile .efg-stat strong{color:var(--sgn-navy-deep)!important;}
 #efv2.role-mobile .efg-stat-icon{background:#e6f1f6!important;color:var(--sgn-blue)!important;}
 #efv2.role-mobile .efg-section,#efv2.role-mobile .efg-task{border-color:var(--sgn-border)!important;}
 #efv2.role-mobile .efg-task-title{color:#20445e!important;}
 #efv2.role-mobile .efg-task-meta{color:#647d8f!important;}
 #efv2.role-mobile .efg-task-actions .ef-act{background:var(--sgn-blue)!important;border-color:var(--sgn-blue)!important;}
 #efv2.role-mobile .efg-type,#efv2.role-mobile .efg-section-title span{background:#ebf6eb!important;color:#2b7837!important;border-color:#d5ebd5!important;}
 /* Login and workflow reference pages. */
 #efv2.role-login{background:#f5f8fa!important;}
 #efv2.role-login .role-login-art{background:var(--sgn-navy-deep)!important;}
 #efv2.role-login .role-login-art:after{content:""!important;display:block!important;position:absolute!important;left:0;right:0;bottom:0;height:5px!important;background:linear-gradient(90deg,#63ae2f 0 40%,#e6ad18 40% 68%,#1595c6 68% 100%)!important;}
 #efv2.role-login .role-login-art h1{color:#afc9d7!important;}
 #efv2.role-login .role-login-art h2{color:#fff!important;}
 #efv2.role-login .role-login-art>p{color:#c2d3df!important;}
 #efv2.role-login .ef-login-index{border-color:#3b647e!important;}
 #efv2.role-login .ef-login-index>div{border-color:#2f5972!important;}
 #efv2.role-login .ef-login-index span{color:#9bc6df!important;}
 #efv2.role-login .ef-login-index strong{color:#f6f9fb!important;}
 #efv2.role-login .ef-login-index small{color:#c0d2dd!important;}
 #efv2.role-login .role-login-art .role-demo-note{border-color:#3c6079!important;color:#a7c0cd!important;}
 #efv2.role-login .role-login-form{background:#f5f8fa!important;}
 #efv2.role-login .role-login-form>.ef-eyebrow{color:var(--sgn-green-strong)!important;}
 #efv2.role-login .role-login-form>h2{color:var(--sgn-navy-deep)!important;}
 #efv2.role-login .role-login-form .ef-act,#efv2.role-login .role-login-form .wf-login-entry-button{background:var(--sgn-blue)!important;border-color:var(--sgn-blue)!important;color:#fff!important;}
 #efv2.role-login .role-login-form .wf-login-entry-icon{background:#e6f2eb!important;color:var(--sgn-green-strong)!important;}
 #efv2.role-login .role-login-form :is(input,select){border-color:#cbdce6!important;color:#203f57!important;}
 #efv2.workflow-docs .wf-header{background:#fff!important;border-color:#dbe5ea!important;}
 #efv2.workflow-docs .wf-logo{background:#e6f2e4!important;color:var(--sgn-green-strong)!important;}
 #efv2.workflow-docs .wf-hero{background:var(--sgn-navy-deep)!important;color:#fff!important;}
 #efv2.workflow-docs .wf-back,#efv2.workflow-docs .wf-tabs button{color:var(--sgn-blue)!important;}
}
@media screen and (max-width:800px){
 /* Ensure surveyor horizontal navigation wins over the generic two-column mobile menu. */
 #efv2.role-mobile{display:flex!important;flex-direction:column!important;}
 #efv2.role-mobile .ef-side{height:auto!important;min-height:0!important;overflow:visible!important;}
 #efv2.role-mobile .ef-side nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;height:auto!important;max-height:none!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group{display:flex!important;width:auto!important;flex:0 0 auto!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group-title{display:none!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group-items{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group-items button{white-space:nowrap!important;width:auto!important;}
 #efv2.role-mobile .ef-work{flex:1 1 auto!important;width:100%!important;min-height:0!important;}
 #efv2:not(.role-login) input:not([type=checkbox]):not([type=radio]),#efv2:not(.role-login) select,#efv2:not(.role-login) textarea,#role-dialog :is(input,select,textarea){font-size:16px!important;}
}
@media screen and (max-width:620px){
 #efv2.role-mobile .efg-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 #efv2.role-mobile .efg-stat{padding:10px!important;}
 #efv2.role-mobile .efg-stat small{font-size:10px!important;}
 #efv2.role-mobile .efg-stat strong{font-size:22px!important;}
 #efv2.role-mobile .efg-task-actions{grid-template-columns:1fr 1.15fr!important;}
 #efv2.role-mobile .ef-side nav .ef-nav-group-items button{font-size:12px!important;min-height:43px!important;}
}
