
/* Scoped to the actual detail dialog, not the entire registration workflow. */
#role-dialog:has(.ef-ml-detail-v3){width:min(1120px,calc(100vw - 32px))!important;max-width:1120px!important;max-height:min(92dvh,1120px)!important;padding:0!important;overflow:auto!important;background:#f8fafc!important;border:1px solid #dbe7ed!important;border-radius:20px!important;box-shadow:0 30px 85px #17384c3d!important;color:#183e58!important}
#role-dialog:has(.ef-ml-detail-v3)::backdrop{background:rgba(14,35,50,.60);backdrop-filter:blur(3px)}
#role-dialog:has(.ef-ml-detail-v3)>.role-close{position:sticky!important;top:14px!important;float:right!important;z-index:9!important;margin:13px 20px -52px 0!important;background:#fff!important;border:1px solid #dbe6ed!important;border-radius:9px!important;color:#476679!important;padding:8px 14px!important;min-height:36px!important;font-size:12px!important;font-weight:750!important;box-shadow:0 2px 8px #1236550a!important}
#role-dialog:has(.ef-ml-detail-v3)>.role-close:hover{background:#eef5f8!important}
#role-dialog:has(.ef-ml-detail-v3) .role-body{padding:0!important;margin:0!important;overflow:visible!important}
#role-dialog:has(.ef-ml-detail-v3) .role-body>h3{margin:0!important;padding:21px 26px!important;border:0!important;border-bottom:1px solid #e6edf1!important;background:#fff!important;color:#234863!important;font-size:15px!important;font-weight:780!important;letter-spacing:-.01em!important}
#role-dialog .ef-ml-detail-v3{--md-navy:#153a56;--md-muted:#6e8698;--md-line:#e0e9ed;--md-green:#118252;--md-light:#f4f8fa;font-family:inherit;font-size:13px!important;color:var(--md-navy)!important;padding:22px 24px 28px!important;line-height:1.45;box-sizing:border-box}
#role-dialog .ef-ml-detail-v3 *{box-sizing:border-box;min-width:0}
#role-dialog .ef-ml-detail-v3 :is(h2,h3,h4,p){margin:0!important;line-height:1.45!important}
#role-dialog .ef-md-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:23px 26px;border:1px solid #cfe3da;background:linear-gradient(116deg,#edf9f0 0%,#f4fbf8 52%,#eef6fe 100%);border-radius:17px}
#role-dialog .ef-md-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:8px;color:#638395;font-size:10px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
#role-dialog .ef-md-eyebrow-sep{color:#c2d0d7}
#role-dialog .ef-md-fast{display:inline-flex;padding:5px 9px;background:#fff3d9;border:1px solid #f1d8a7;border-radius:7px;color:#a16c16}
#role-dialog .ef-md-standard{display:inline-flex;padding:5px 9px;background:#e0f3e7;border:1px solid #bce5cc;border-radius:7px;color:#13724a}
#role-dialog .ef-md-hero-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px}
#role-dialog .ef-md-hero-title h2{font-size:clamp(22px,3vw,30px)!important;font-weight:850!important;letter-spacing:-.04em!important;color:#153953!important;line-height:1.13!important}
#role-dialog .ef-md-tag,#role-dialog .ef-md-crop{display:inline-flex;align-items:center;padding:5px 10px;border-radius:7px;font-size:11px;font-weight:800;white-space:nowrap}
#role-dialog .ef-md-tag{background:#dceeff;color:#16619a}
#role-dialog .ef-md-crop{background:#e3f6e8;color:#217a4c}
#role-dialog .ef-md-hero-copy>p{color:#607e91!important;font-size:12px!important;line-height:1.65!important}
#role-dialog .ef-md-hero-copy>p span{color:#b0c0c9;padding:0 4px}
#role-dialog .ef-md-hero-status{max-width:225px;flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:6px;border-left:1px solid #cadbd8;padding:8px 0 8px 23px}
#role-dialog .ef-md-hero-status small{font-size:9px;letter-spacing:.075em;color:#708f9b;font-weight:800}
#role-dialog .ef-md-hero-status strong{font-size:12px;color:#966817;line-height:1.45;background:#fff4dc;padding:7px 10px;border-radius:8px;border:1px solid #efd9a9}
#role-dialog .ef-md-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:16px 0 22px}
#role-dialog .ef-md-stat{display:flex;align-items:center;gap:12px;min-height:87px;border-radius:13px;border:1px solid #dfe9ed;background:#fff;padding:14px;box-shadow:0 2px 8px #14394f05}
#role-dialog .ef-md-stat-symbol{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;background:#eef3fa;color:#32719e;font-size:20px;font-style:normal}
#role-dialog .ef-md-stat-symbol.is-green{background:#e7f7ec;color:#229359}
#role-dialog .ef-md-stat-symbol.is-blue{background:#e7f2ff;color:#237bb7}
#role-dialog .ef-md-stat-symbol.is-amber{background:#fff2dc;color:#b88721}
#role-dialog .ef-md-stat small{display:block;font-size:10px;font-weight:690;color:#7b91a0;margin-bottom:4px}
#role-dialog .ef-md-stat strong{display:block;font-weight:850;color:#153c56;font-size:20px;line-height:1.2;letter-spacing:-.025em}
#role-dialog .ef-md-stat em{font-style:normal;font-size:10px;color:#7a91a0;letter-spacing:0;font-weight:650}
#role-dialog .ef-md-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:17px;align-items:start}
#role-dialog .ef-md-primary{min-width:0;display:block!important}
#role-dialog .ef-md-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 13px}
#role-dialog .ef-md-section-kicker{display:block;letter-spacing:.095em;font-weight:850;color:#26855a;font-size:10px;margin-bottom:4px}
#role-dialog .ef-md-section-heading h3{font-size:17px!important;font-weight:850!important;color:#173b56!important;letter-spacing:-.02em!important}
#role-dialog .ef-md-section-heading p{font-size:11px!important;color:#8095a2!important;margin-top:3px!important}
#role-dialog .ef-md-count{white-space:nowrap;padding:6px 10px;border:1px solid #d9e5ed;border-radius:50px;font-size:10px;font-weight:800;color:#53778c;background:#fff}
#role-dialog .ef-md-land-list{display:grid;gap:11px}
#role-dialog .ef-md-land-card{background:#fff;border:1px solid #dae6ec;border-radius:13px;box-shadow:0 2px 9px #14375104;overflow:hidden;transition:border-color .16s,box-shadow .16s}
#role-dialog .ef-md-land-card:hover{border-color:#b4cfc7;box-shadow:0 5px 18px #1437510b}
#role-dialog .ef-md-land-main{display:flex;align-items:flex-start;gap:13px;padding:17px 17px 14px}
#role-dialog .ef-md-land-index{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#168050;background:#e9f7ed;font-size:12px;font-weight:900}
#role-dialog .ef-md-land-data{flex:1}
#role-dialog .ef-md-land-title{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:7px 9px}
#role-dialog .ef-md-land-title>strong{font-size:15px;font-weight:850;color:#193e58;letter-spacing:-.02em}
#role-dialog .ef-md-land-title .ef-badge{white-space:normal!important;font-size:10px!important;padding:5px 8px!important;border-radius:8px!important}
#role-dialog .ef-md-land-name{margin:3px 0 10px!important;font-size:12px!important;color:#58798b!important;font-weight:600!important}
#role-dialog .ef-md-land-meta{display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center;font-size:11px;color:#668192;margin:0 0 11px}
#role-dialog .ef-md-land-meta b{color:#234d66}
#role-dialog .ef-md-cross{background:#e9effd;color:#355da0;border-radius:5px;padding:3px 7px;font-weight:750}
#role-dialog .ef-md-crop-tags{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#role-dialog .ef-md-crop-tags>span{padding:8px 9px;border-radius:8px;background:#f5f9fa;border:1px solid #edf2f4;color:#335872;font-size:11px;font-weight:760;overflow-wrap:anywhere}
#role-dialog .ef-md-crop-tags small{display:block;color:#8a9fa9;font-size:9px;font-weight:780;letter-spacing:.04em;margin-bottom:4px}
#role-dialog .ef-md-land-gpx{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;margin-top:11px;padding:9px 10px;border-radius:8px;background:#f3f8fa;color:#57778c;font-size:10px;overflow-wrap:anywhere}
#role-dialog .ef-md-land-gpx>span:first-child{flex:1}
#role-dialog .ef-md-ok{color:#087747!important;font-weight:800}
#role-dialog .ef-md-pending{color:#aa741f!important;font-weight:800}
#role-dialog .ef-md-land-footer{border-top:1px solid #edf1f4;background:#fbfdfe;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#role-dialog .ef-md-land-footer>span{font-size:10px;color:#8298a7}
#role-dialog .ef-md-land-footer>span b{color:#597787;font-weight:750}
#role-dialog .ef-md-land-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
#role-dialog .ef-md-land-actions button,#role-dialog .ef-md-bottom-actions button{margin:0!important;min-height:33px!important;padding:8px 11px!important;font-weight:750!important;font-size:11px!important;border-radius:8px!important;line-height:1.2!important}
#role-dialog .ef-md-land-actions button:hover{filter:brightness(.96)}
#role-dialog .ef-md-bottom-actions{display:flex;justify-content:flex-end;margin-top:12px}
#role-dialog .ef-md-sidebar{display:grid;gap:13px}
#role-dialog .ef-md-card{background:#fff;border:1px solid #dfe8ed;border-radius:14px;padding:17px 17px 15px;box-shadow:0 2px 9px #19395105}
#role-dialog .ef-md-priority{border-color:#f0dfbb;background:#fffdf7}
#role-dialog .ef-md-card-head{display:flex;gap:10px;align-items:center;margin-bottom:15px}
#role-dialog .ef-md-icon{display:grid;place-items:center;width:34px;height:34px;background:#eaf2f9;border-radius:10px;font-size:18px;color:#537ea1;flex:none}
#role-dialog .ef-md-icon-amber{color:#b47a1b;background:#fff0ce}
#role-dialog .ef-md-icon-green{color:#148451;background:#e6f6eb}
#role-dialog .ef-md-card h4{font-size:13px!important;font-weight:850!important;color:#173c55!important}
#role-dialog .ef-md-card-head small{font-size:10px;color:#8c9296;display:block;margin-top:2px}
#role-dialog .ef-md-priority-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#987539;font-weight:680;font-size:10px}
#role-dialog .ef-md-priority-bar b{color:#855f24}
#role-dialog .ef-md-progress{height:6px;background:#f5e9d0;border-radius:99px;overflow:hidden;margin:8px 0 14px}
#role-dialog .ef-md-progress i{display:block;height:100%;border-radius:99px;background:#e7aa4a}
#role-dialog .ef-md-info-row{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);gap:9px;padding:9px 0;border-bottom:1px solid #f0ede4;align-items:start}
#role-dialog .ef-md-info-row:last-of-type{border-bottom:0}
#role-dialog .ef-md-info-row>span{font-size:10px;color:#8a8e91;font-weight:620;line-height:1.5}
#role-dialog .ef-md-info-row>strong{font-size:11px;font-weight:740;color:#37566d;line-height:1.5;overflow-wrap:anywhere}
#role-dialog .ef-md-reason{margin-top:12px;background:#fff6e5;border:1px solid #f3e3c6;border-radius:9px;padding:11px}
#role-dialog .ef-md-reason small{display:block;font-size:9px;color:#a07b39;font-weight:800;text-transform:uppercase;letter-spacing:.045em;margin-bottom:4px}
#role-dialog .ef-md-reason p{font-size:11px!important;color:#80643c!important;line-height:1.6!important}
#role-dialog .ef-md-steps{list-style:none;padding:0;margin:0;display:grid;gap:0}
#role-dialog .ef-md-steps li{position:relative;display:flex;align-items:flex-start;gap:10px;min-height:37px;color:#8195a1;font-size:11px;font-weight:700;padding-bottom:12px}
#role-dialog .ef-md-steps li:not(:last-child):before{content:"";position:absolute;left:10px;top:20px;bottom:-1px;border-left:1px dashed #d6e1e7}
#role-dialog .ef-md-step-mark{position:relative;z-index:1;width:21px;height:21px;flex:none;display:grid;place-items:center;background:#f1f4f6;border:1px solid #d9e3e8;color:#8fa2ad;border-radius:50%;font-size:12px;font-weight:850}
#role-dialog .ef-md-steps li.is-done{color:#267e51}
#role-dialog .ef-md-steps li.is-done .ef-md-step-mark{background:#e5f6ea;border-color:#abd8b9;color:#16824d}
#role-dialog .ef-md-steps li.is-current{color:#9d731f}
#role-dialog .ef-md-steps li.is-current .ef-md-step-mark{background:#fff3d8;border-color:#ecd299;color:#b47b26}
#role-dialog .ef-md-helper{display:flex;gap:10px;background:#edf6fc;border:1px solid #d6e7f2;border-radius:11px;padding:12px 13px;color:#47718c}
#role-dialog .ef-md-helper>span{flex:none;font-size:16px;color:#347eae}
#role-dialog .ef-md-helper p{font-size:10px!important;line-height:1.7!important;color:#54798f!important}
@media(max-width:980px){#role-dialog .ef-md-layout{grid-template-columns:minmax(0,1fr) 260px}#role-dialog .ef-md-hero{padding:19px 20px}#role-dialog .ef-md-crop-tags{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#role-dialog:has(.ef-ml-detail-v3){width:calc(100vw - 18px)!important;max-height:95dvh!important;border-radius:15px!important}#role-dialog .ef-ml-detail-v3{padding:14px!important}#role-dialog:has(.ef-ml-detail-v3) .role-body>h3{padding:17px 18px!important;font-size:14px!important}#role-dialog:has(.ef-ml-detail-v3)>.role-close{margin:10px 12px -44px 0!important}#role-dialog .ef-md-layout{grid-template-columns:1fr}#role-dialog .ef-md-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}#role-dialog .ef-md-helper{grid-column:1/-1}#role-dialog .ef-md-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:490px){#role-dialog .ef-md-hero{padding:15px;gap:10px;align-items:flex-start;flex-direction:column}#role-dialog .ef-md-hero-status{border-left:0;border-top:1px solid #d2e5d8;padding:10px 0 0;width:100%;max-width:none}#role-dialog .ef-md-hero-title{gap:6px}#role-dialog .ef-md-hero-title h2{font-size:23px!important;width:100%}#role-dialog .ef-md-stat{min-height:79px;padding:10px;gap:8px}#role-dialog .ef-md-stat-symbol{width:31px;height:31px;font-size:17px}#role-dialog .ef-md-stat strong{font-size:17px}#role-dialog .ef-md-stat small{font-size:9px}#role-dialog .ef-md-sidebar{grid-template-columns:1fr}#role-dialog .ef-md-land-main{padding:12px;gap:9px}#role-dialog .ef-md-land-index{width:28px;height:28px}#role-dialog .ef-md-crop-tags{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#role-dialog .ef-md-crop-tags>span{font-size:10px;padding:7px}#role-dialog .ef-md-land-title>strong{font-size:13px}#role-dialog .ef-md-land-footer{padding:10px 12px}#role-dialog .ef-md-land-actions{width:100%}#role-dialog .ef-md-land-actions button{flex:1}#role-dialog .ef-md-section-heading h3{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){#role-dialog .ef-md-land-card{transition:none}}
