
/* eFarming V2 · UX compact 2026 / Informasi Permohonan + Lahan & Data Tanam */
#role-dialog:has(.ef-registration-wizard){
  position:fixed!important;inset:12px 12px 12px clamp(220px,17.8vw,270px)!important;
  width:auto!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:auto!important;
  border:1px solid #dce7ed!important;border-radius:20px!important;
  background:#f4f8fb!important;box-shadow:0 28px 65px #0b27472a!important;
}
#role-dialog:has(.ef-registration-wizard)::backdrop{background:#071c2c42;backdrop-filter:blur(2px)}
#role-dialog:has(.ef-registration-wizard) .role-body{padding:0 24px!important;max-width:none!important;overflow:visible!important}
#role-dialog:has(.ef-registration-wizard) .role-body>h3{display:none!important}
#role-dialog:has(.ef-registration-wizard) .role-head{position:sticky;top:0;z-index:55;background:#f4f8fbef;min-height:38px;padding:10px 24px!important;border-bottom:0;backdrop-filter:blur(16px)}
#role-dialog:has(.ef-registration-wizard) .role-head h3{font-size:11px;color:#788e9c;font-weight:700;}
#role-dialog:has(.ef-registration-wizard) .role-head button{background:white;border:1px solid #e0e8ed;border-radius:9px;color:#45606f}
.ef-registration-wizard{color:#162e49!important;font-family:inherit;font-size:13px}
.ef-registration-wizard .ef-registration-intro{display:flex;align-items:center;gap:13px;margin:0!important;padding:7px 4px 16px!important;justify-content:flex-start!important}
.ef-registration-intro .ef-new-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#dff4e8;color:#108543}
.ef-new-icon svg{width:26px;height:26px}
.ef-new-title{min-width:0;flex:1}.ef-registration-intro .ef-new-title h2{margin:2px 0 1px;font-size:23px;letter-spacing:-.035em;font-weight:800;line-height:1.15;color:#133751}
.ef-registration-intro .ef-wizard-kicker{color:#1d9060;font-size:9px;letter-spacing:.11em}
.ef-registration-intro .ef-new-title p{margin:4px 0 0;max-width:none;text-align:left!important;font-size:11px!important;color:#6e8798}
.ef-new-mode{white-space:nowrap;padding:8px 10px;border:1px solid #d7e7dc;background:#eef9f1;color:#238253;font-size:10px;font-weight:800;border-radius:10px}
.ef-registration-wizard .ef-registration-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important;padding:10px!important;border:1px solid #e0e8ef!important;border-radius:14px!important;background:#fff!important}
.ef-registration-wizard .ef-registration-tabs button{min-height:57px!important;border:1px solid #e4ebf1!important;padding:8px 10px!important;background:#fff!important;border-radius:10px!important;gap:10px!important;color:#587083!important;box-shadow:none!important}
.ef-registration-wizard .ef-registration-tabs button[aria-current="step"]{background:#eef9f1!important;border-color:#86cba1!important;color:#176341!important}
.ef-registration-wizard .ef-registration-tabs button>span{flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:50%!important;background:#e7eff5!important;color:#315678!important;font-size:12px!important}
.ef-registration-wizard .ef-registration-tabs button[aria-current="step"]>span{background:#078344!important;color:#fff!important}
.ef-registration-tabs button strong{font-size:11px!important;color:inherit!important;line-height:1.3}.ef-registration-tabs button small{font-size:9px!important;color:#8b9dab!important;margin-top:2px!important}
.ef-registration-wizard .ef-registration-context{display:none!important}
.ef-registration-wizard .ef-registration-section{margin:0!important;border-radius:15px!important;padding:20px 22px!important;background:#fff!important;border:1px solid #dfe8ee!important;box-shadow:0 3px 18px #1c41530b!important}
.ef-registration-wizard .ef-registration-section-head{margin:0 0 15px!important;gap:12px!important;padding:0 0 13px!important;border-bottom:1px solid #edf1f4!important}
.ef-registration-wizard .ef-registration-section-head h3{color:#183d56!important;font-size:18px!important;font-weight:800!important;margin:0 0 3px!important;letter-spacing:-.02em}
.ef-registration-wizard .ef-registration-section-head p{font-size:11px!important;color:#70879a!important;line-height:1.5}
.ef-registration-wizard .ef-registration-section-head>span{padding:7px 10px!important;background:#e6f7ee!important;color:#178853!important;letter-spacing:.04em!important;font-weight:900!important;border-radius:8px!important}
/* Step 1: narrow choice cards + executive style context pane */
#ef-reg-mitra .ef-compact-step1-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:15px}
.ef-compact-step1-inputs{display:grid;gap:0;min-width:0}
.ef-compact-step1-inputs>.ef-choice-step,.ef-compact-step1-inputs>[data-registration-type-cards],.ef-compact-step1-inputs>[data-mitra-cards]{display:block!important;min-width:0;margin:0!important;padding:11px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #e9eff2!important;border-radius:0!important;box-shadow:none!important}
.ef-compact-step1-inputs .ef-choice-step{display:grid!important;grid-template-columns:154px minmax(0,1fr);gap:10px!important;align-items:center;}
.ef-compact-step1-inputs .ef-choice-step h3{grid-column:1!important;margin:0!important;font-size:11px!important;line-height:1.4!important;font-weight:800!important;color:#1d3850!important}
.ef-compact-step1-inputs .ef-choice-step>.ef-note{grid-column:1!important;grid-row:2;margin:0!important;color:#8296a1!important;font-size:9px!important;line-height:1.45!important;max-height:35px;overflow:hidden}
.ef-compact-step1-inputs .ef-choice-cards{grid-column:2!important;grid-row:1/span 2;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%;margin:0!important}
.ef-compact-step1-inputs .ef-choice-card{position:relative;display:grid!important;grid-template-columns:32px 1fr;grid-template-rows:auto auto;gap:2px 8px!important;align-items:center;min-width:0;min-height:64px!important;padding:10px!important;border:1px solid #dbe5eb!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.ef-compact-step1-inputs .ef-choice-card:has(input:checked){background:#e9f8ee!important;border-color:#24a265!important;box-shadow:inset 0 0 0 1px #24a26520!important}
.ef-compact-step1-inputs .ef-choice-card .ef-choice-icon{grid-column:1;grid-row:1/span 2;width:31px!important;height:31px!important;padding:7px!important;margin:0!important;background:#e8f5ee!important;border-radius:8px!important;color:#137a4c!important}
.ef-compact-step1-inputs .ef-choice-card .ef-choice-icon svg{width:17px!important;height:17px!important}
.ef-compact-step1-inputs .ef-choice-card strong{font-size:11px!important;line-height:1.2!important;color:#153e5b!important;margin:0!important}
.ef-compact-step1-inputs .ef-choice-card small{grid-column:2;font-size:9px!important;line-height:1.35!important;margin:0!important;color:#758c9b!important}
.ef-compact-step1-inputs .ef-choice-meta{display:none!important}
.ef-compact-step1-inputs .ef-choice-selected{position:absolute!important;top:8px!important;right:8px!important;width:17px!important;height:17px!important;border-radius:50%!important;overflow:hidden!important;font-size:10px!important;display:none!important;text-indent:-100px!important;background:#0b995a!important;color:#fff!important}
.ef-compact-step1-inputs .ef-choice-card:has(input:checked) .ef-choice-selected{display:grid!important;place-items:center!important;text-indent:0!important}
.ef-compact-step1-inputs [data-crop-purpose-hint]{display:none!important}
.ef-compact-step1-inputs .ef-mitra-step{display:grid!important;grid-template-columns:154px minmax(0,1fr)!important;gap:4px 10px!important;align-items:center!important;padding:11px 0!important;margin:0!important;background:transparent!important;border:0!important;border-bottom:1px solid #e9eff2!important}
.ef-compact-step1-inputs .ef-mitra-step h3{grid-column:1!important;grid-row:1;font-size:11px!important;font-weight:800!important;margin:0!important;color:#193d54!important}
.ef-compact-step1-inputs .ef-mitra-step>p{grid-column:1!important;grid-row:2;font-size:9px!important;color:#80939d!important;line-height:1.45!important;margin:0!important}
.ef-compact-step1-inputs .ef-mitra-cards{grid-column:2!important;grid-row:1/span 2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
.ef-compact-step1-inputs .ef-mitra-card,.ef-compact-step1-inputs .ef-mitra-card:has(input:checked){min-width:0!important;min-height:74px!important;padding:9px 8px!important;border-radius:10px!important;border:1px solid #dae4ea!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;background:#fff!important}
.ef-compact-step1-inputs .ef-mitra-card:has(input:checked){border-color:#23a263!important;background:#eaf8ee!important}
.ef-compact-step1-inputs .ef-mitra-icon{width:24px!important;height:24px!important;min-width:24px!important;padding:5px!important;border-radius:7px!important;margin:0!important;background:#eaf6ef!important;color:#168452!important}
.ef-compact-step1-inputs .ef-mitra-card strong{font-size:10px!important;margin:0!important;color:#163a50!important}
.ef-compact-step1-inputs .ef-mitra-card small{font-size:9px!important;max-height:28px;overflow:hidden;color:#81949d!important;line-height:1.4!important}
.ef-compact-step1-inputs .ef-mitra-selected{font-size:0!important;position:absolute!important;right:9px;top:9px;width:14px;height:14px!important;border-radius:50%;background:#099954;color:#fff}
.ef-compact-step1-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 0 6px}
.ef-compact-step1-meta label{margin:0!important;color:#33556c!important;font-size:10px!important;font-weight:800!important}
.ef-compact-step1-meta select,.ef-compact-step1-meta input{margin-top:6px!important;min-height:39px!important;border-radius:9px!important;color:#1a4554!important;font-size:11px!important}
.ef-compact-notes{display:block;padding:5px 0 0;font-size:11px;font-weight:800;color:#285069}
.ef-compact-notes span{font-weight:400;color:#8b9aa4}
.ef-compact-notes textarea{display:block;width:100%;min-height:57px!important;max-height:90px;margin-top:6px;padding:10px!important;resize:vertical;border:1px solid #dbe6eb;border-radius:10px;font:inherit;font-size:11px;font-weight:400;box-sizing:border-box;color:#25475b;background:#fff}
.ef-compact-notes textarea:focus{outline:2px solid #4db97b}
.ef-compact-support{display:flex;align-items:center;gap:7px;font-size:10px;color:#486c8b;margin:12px 0 0;padding:9px 12px;background:#eef5fc;border-radius:8px}
.ef-compact-support svg{width:17px;height:17px;color:#238ac9}
.ef-compact-sidecard{position:sticky;top:15px;background:#fff;border:1px solid #dce6e9;border-radius:15px;overflow:hidden;box-shadow:0 4px 14px #0e3b5210}
.ef-side-head{display:flex;align-items:center;gap:10px;padding:15px 14px;background:linear-gradient(120deg,#eef9f1,#f5fbf7)}
.ef-side-head>svg{width:29px;height:29px;color:#07864a}
.ef-side-head strong{font-size:12px;color:#153b56}.ef-side-head small{display:block;font-size:10px;color:#64869a;margin-top:3px}
.ef-side-rows{padding:5px 12px}.ef-side-rows>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:11px 1px;border-bottom:1px solid #edf1f3;font-size:10px;color:#547284}
.ef-side-rows b{color:#1b3a57;text-align:right;font-size:11px;max-width:60%;overflow-wrap:anywhere}
.ef-side-rows b.ef-pending{color:#8093a0;font-weight:500}.ef-side-status{padding:3px 8px;background:#fff4dd;color:#b4760c;border-radius:6px}
.ef-side-next{display:flex;gap:10px;align-items:center;margin:12px;padding:13px 11px;background:#fff6e7;border-radius:10px}
.ef-side-next>span{display:grid;place-items:center;flex:0 0 27px;height:27px;background:#ffecc3;color:#cb8b0a;border-radius:8px;font-size:19px}
.ef-side-next b{font-size:11px;color:#344455}.ef-side-next small{display:block;font-size:9px;line-height:1.4;color:#668093;margin-top:3px}
/* Step 2: area summary and four-up crop defaults */
.ef-compact-area-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 13px;border:1px solid #d9eee1;border-radius:11px;background:#eaf8ee;overflow:hidden}
.ef-compact-area-bar>div{display:grid;gap:2px;padding:11px 15px;min-width:0}
.ef-compact-area-bar>div+div{border-left:1px solid #cee7d5}
.ef-compact-area-bar small{font-size:9px;color:#5b8974;letter-spacing:.04em;font-weight:700}.ef-compact-area-bar strong{font-size:17px;line-height:1.2;color:#143e50;overflow-wrap:anywhere}
#ef-reg-lahan>.ef-form{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px 12px!important;align-items:start}
#ef-reg-lahan>.ef-form>label:not(.ef-span){grid-column:span 1;min-width:0;font-size:10px;font-weight:700;color:#31556b}
#ef-reg-lahan>.ef-form>label:has([name="landId"]),#ef-reg-lahan>.ef-form>[data-application-partner]{grid-column:span 2}
#ef-reg-lahan>.ef-form :is(input,select){min-height:39px!important;font-size:11px!important;max-width:100%}
#ef-reg-lahan .ef-crop-divider{display:flex!important;justify-content:space-between;align-items:center;gap:10px!important;margin:5px 0 0!important;padding:14px 0 0!important;border-top:1px solid #e9f0f3}
#ef-reg-lahan .ef-crop-divider>div{display:grid;gap:2px}
#ef-reg-lahan .ef-crop-divider strong{font-size:13px!important;color:#203e53}
#ef-reg-lahan .ef-crop-divider strong span{font-size:10px;font-weight:500;color:#8797a1}
#ef-reg-lahan .ef-crop-divider small{font-size:10px;color:#7e949f}
#ef-reg-lahan .ef-default-chip{display:block!important;font-size:9px!important;font-weight:700!important;color:#168752!important;background:#e8f7ed!important;padding:6px 8px!important;border-radius:8px!important;white-space:nowrap}
#ef-reg-lahan [data-ml-picker]{grid-column:1/-1!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#ef-reg-lahan .ef-ml-head{margin-bottom:8px!important;padding:0!important;gap:9px!important}
#ef-reg-lahan .ef-ml-head strong{font-size:14px;color:#173d54}.ef-ml-head p{font-size:10px!important;color:#8396a3!important;margin:3px 0!important}
#ef-reg-lahan .ef-ml-overview{border:1px solid #dbe9e1!important;border-radius:10px!important;padding:9px 12px!important;background:#f7fcf8!important;gap:9px!important}
#ef-reg-lahan .ef-ml-summary{font-size:11px!important;gap:10px!important}
#ef-reg-lahan .ef-ml-summary strong{font-size:12px!important}
#ef-reg-lahan .ef-ml-overview-kicker{display:none!important}
#ef-reg-lahan .ef-ml-primary{font-size:10px!important}
#ef-reg-lahan [data-ml-panel]{min-height:37px!important;padding:9px 12px!important;background:#fff!important;color:#13834a!important;border:1px solid #20a15c!important;border-radius:9px!important;font-size:11px!important;font-weight:800!important;white-space:nowrap}
#ef-reg-lahan .ef-ml-picked-shell{border:0!important;background:transparent!important;padding:0!important;margin-top:10px!important;box-shadow:none!important}
#ef-reg-lahan .ef-ml-picked-head{display:flex!important;justify-content:space-between!important;padding:6px 3px!important;align-items:center!important}
#ef-reg-lahan .ef-ml-picked-head strong{font-size:12px!important}.ef-ml-picked-head span{font-size:10px!important;color:#8c9ba5!important}
#ef-reg-lahan .ef-ml-selected{display:grid!important;gap:6px!important}
#ef-reg-lahan .ef-ml-option{padding:10px 12px!important;background:#fff!important;border:1px solid #dce6ec!important;border-radius:9px!important;box-shadow:none!important;margin:0!important}
#ef-reg-lahan .ef-ml-option:has(input:checked){background:#f7fcf9!important;border-color:#cbe7d5!important}
#ef-reg-lahan .ef-ml-option-top{display:flex!important;align-items:center!important;gap:8px!important;justify-content:space-between!important}
#ef-reg-lahan .ef-ml-checkline{flex:1!important;align-items:center!important;gap:10px!important}
#ef-reg-lahan .ef-ml-row-body{display:grid!important;gap:3px!important;min-width:0!important}
#ef-reg-lahan .ef-ml-row-body b{font-size:11px!important;color:#153a58!important}
#ef-reg-lahan .ef-ml-meta{font-size:10px!important;color:#5c788b!important}
#ef-reg-lahan .ef-ml-edit{font-size:10px!important;min-height:33px!important;padding:6px 10px!important;border:1px solid #badad2!important;background:white!important;color:#127b56!important;border-radius:8px!important;white-space:nowrap!important}
#ef-reg-lahan .ef-ml-preview{margin:5px 0 0 33px!important;padding:4px 9px!important;border-radius:6px!important;background:#e7f6ec!important;color:#277b50!important;font-size:10px!important;width:fit-content}
#ef-reg-lahan .ef-ml-options{margin:9px 0 0!important;padding:11px!important;background:#f2f8f5!important;border:1px solid #dbece0!important;border-radius:9px!important}
#ef-reg-lahan .ef-ml-options-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
#ef-reg-lahan .ef-ml-field{min-width:0!important;font-size:10px!important}
#ef-reg-lahan .ef-ml-catalog{border:1px solid #dce7ec!important;border-radius:12px!important;padding:15px!important;margin-top:10px!important;background:#fff!important}
#ef-reg-lahan [data-ml-consent]{margin:13px 0!important;font-size:10px!important;line-height:1.5!important}
#ef-reg-lahan .ef-ml-icon{width:30px;height:30px!important}
/* Bottom bar */
.ef-registration-wizard .ef-wizard-footer{z-index:50!important;position:sticky!important;bottom:0!important;background:#f4f8fbee!important;border-top:1px solid #e1e9f0!important;backdrop-filter:blur(14px);margin:14px -24px 0!important;padding:13px 24px!important;box-shadow:0 -6px 18px #143a5207!important}
.ef-registration-wizard .ef-wizard-footer .ef-act{background:#078a45!important;border-color:#078a45!important;padding:10px 17px!important;border-radius:9px!important;min-height:40px!important;font-size:11px!important}
.ef-registration-wizard .ef-wizard-footer .ef-wizard-back{min-height:39px!important;padding:8px 13px!important;border-radius:9px!important;font-size:11px!important}
.ef-registration-wizard .ef-wizard-footer [data-registration-progress]{font-size:10px!important;color:#78909f!important}
@media(max-width:1150px){#role-dialog:has(.ef-registration-wizard){inset:8px 8px 8px 190px!important}#ef-reg-mitra .ef-compact-step1-layout{grid-template-columns:minmax(0,1fr) 218px}.ef-compact-step1-inputs .ef-choice-step,.ef-compact-step1-inputs .ef-mitra-step{grid-template-columns:120px minmax(0,1fr)!important}}
@media(max-width:920px){#role-dialog:has(.ef-registration-wizard){inset:8px!important}#role-dialog:has(.ef-registration-wizard) .role-body{padding:0 14px!important}#ef-reg-mitra .ef-compact-step1-layout{grid-template-columns:minmax(0,1fr) 220px}#ef-reg-lahan>.ef-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}#ef-reg-lahan .ef-ml-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){#role-dialog:has(.ef-registration-wizard){inset:0!important;border-radius:0!important}#role-dialog:has(.ef-registration-wizard) .role-body{padding:0 12px!important}.ef-new-mode{display:none}.ef-registration-intro .ef-new-title h2{font-size:18px}.ef-registration-wizard .ef-registration-tabs{padding:6px!important;gap:5px!important}.ef-registration-wizard .ef-registration-tabs button{min-height:52px!important;padding:7px 5px!important;gap:5px!important;flex-direction:row!important}.ef-registration-wizard .ef-registration-tabs button>span{width:23px!important;flex-basis:23px!important;height:23px!important;font-size:10px!important}.ef-registration-tabs button strong{font-size:9px!important}.ef-registration-tabs button small{display:none!important}.ef-registration-wizard .ef-registration-section{padding:14px!important}.ef-registration-wizard .ef-registration-section-head{gap:8px!important}.ef-registration-wizard .ef-registration-section-head h3{font-size:15px!important}#ef-reg-mitra .ef-compact-step1-layout{display:flex;flex-direction:column}.ef-compact-step1-inputs{width:100%}.ef-compact-step1-inputs .ef-choice-step,.ef-compact-step1-inputs .ef-mitra-step{display:block!important}.ef-compact-step1-inputs .ef-choice-step h3,.ef-compact-step1-inputs .ef-mitra-step h3{margin-bottom:4px!important}.ef-compact-step1-inputs .ef-choice-step>.ef-note,.ef-compact-step1-inputs .ef-mitra-step>p{display:none!important}.ef-compact-step1-inputs .ef-choice-cards,.ef-compact-step1-inputs .ef-mitra-cards{margin-top:8px!important}.ef-compact-step1-inputs .ef-choice-card{min-height:68px!important}.ef-compact-step1-inputs .ef-mitra-card,.ef-compact-step1-inputs .ef-mitra-card:has(input:checked){min-height:73px!important}.ef-compact-sidecard{width:100%;position:static}.ef-side-rows{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ef-side-rows>div{display:grid;padding:7px;gap:3px;border-bottom:0;background:#f6f9fa;border-radius:7px}.ef-side-rows b{text-align:left;font-size:10px;max-width:none}.ef-side-next{margin:8px}.ef-compact-area-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-compact-area-bar>div:last-child{grid-column:span 2;border-top:1px solid #cfe8d5;border-left:0}.ef-compact-area-bar strong{font-size:14px}#ef-reg-lahan>.ef-form{gap:9px!important}#ef-reg-lahan>.ef-form>label:has([name="landId"]),#ef-reg-lahan>.ef-form>[data-application-partner]{grid-column:1/-1}#ef-reg-lahan .ef-crop-divider{display:block!important}#ef-reg-lahan .ef-default-chip{width:fit-content;margin-top:8px}#ef-reg-lahan .ef-ml-overview{display:block!important}#ef-reg-lahan .ef-ml-overview [data-ml-panel]{margin-top:10px!important;width:100%}#ef-reg-lahan .ef-ml-picked-head{display:block!important}#ef-reg-lahan .ef-ml-picked-head span{display:block!important;margin-top:4px}#ef-reg-lahan .ef-ml-option-top{align-items:flex-start!important}#ef-reg-lahan .ef-ml-edit{font-size:9px!important}#ef-reg-lahan .ef-ml-options-grid{grid-template-columns:1fr!important}#ef-reg-lahan .ef-ml-preview{margin-left:5px!important}.ef-registration-wizard .ef-wizard-footer{margin:10px -12px 0!important;padding:10px 12px!important;gap:6px!important;flex-wrap:wrap!important}.ef-registration-wizard .ef-wizard-footer [data-registration-progress]{display:none!important}.ef-registration-wizard .ef-wizard-footer button{min-width:0!important;flex:1 1 auto!important;font-size:10px!important;padding:9px 8px!important}}

/* Compact UX refinements after visual inspection */
#role-dialog:has(.ef-registration-wizard){height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overflow-x:hidden!important}
.ef-compact-step1-inputs{grid-template-columns:minmax(0,1fr)!important}
.ef-compact-step1-inputs>.ef-choice-step,.ef-compact-step1-inputs>[data-registration-type-cards],.ef-compact-step1-inputs>[data-mitra-cards],.ef-compact-step1-inputs>.ef-compact-step1-meta,.ef-compact-step1-inputs>.ef-compact-notes,.ef-compact-step1-inputs>.ef-compact-support{grid-column:1/-1!important;min-width:0!important}
.ef-compact-step1-inputs>.ef-choice-step,.ef-compact-step1-inputs [data-registration-type-cards]>.ef-choice-step{grid-template-columns:145px minmax(0,1fr)!important;}
.ef-compact-step1-inputs [data-registration-type-cards]>.ef-choice-step{display:grid!important;gap:10px!important;align-items:center!important}
.ef-compact-step1-inputs [data-registration-type-cards]>.ef-choice-step h3{grid-column:1!important;grid-row:1!important}
.ef-compact-step1-inputs [data-registration-type-cards]>.ef-choice-step>.ef-note{grid-column:1!important;grid-row:2!important}
.ef-compact-step1-inputs [data-registration-type-cards]>.ef-choice-step .ef-choice-cards{grid-column:2!important;grid-row:1/span 2!important}
.ef-compact-step1-inputs [data-mitra-cards]>.ef-mitra-step{grid-template-columns:145px minmax(0,1fr)!important}
.ef-compact-step1-inputs .ef-choice-step{background:transparent!important;border:0!important;border-bottom:1px solid #e8eef2!important;padding:11px 0!important;box-shadow:none!important}
@media(max-width:650px){#role-dialog:has(.ef-registration-wizard){height:100dvh!important;max-height:100dvh!important}.ef-compact-step1-inputs [data-registration-type-cards]>.ef-choice-step{display:block!important}.ef-compact-step1-inputs [data-mitra-cards]>.ef-mitra-step{display:block!important}}

/* Make full-width supporting fields span the 4-column grid; prevent thin mobile columns */
#ef-reg-lahan>.ef-form>[data-mitra-details],
#ef-reg-lahan>.ef-form>[data-ts-afdeling-note],
#ef-reg-lahan>.ef-form>[data-company-help],
#ef-reg-lahan>.ef-form>.ef-form-divider,
#ef-reg-lahan>.ef-form>[data-nursery-fields],
#ef-reg-lahan>.ef-form>[data-ml-picker]{grid-column:1/-1!important;min-width:0!important}
#ef-reg-lahan [data-mitra-details]{margin:0!important;padding:9px 11px!important;background:#f8fbf9!important;border:1px solid #e2ece5!important;border-radius:9px!important}
#ef-reg-lahan [data-mitra-details] .ef-note{font-size:10px!important;line-height:1.45!important;margin:3px 0 7px!important}
#ef-reg-lahan [data-mitra-details] :is(label,select){max-width:100%;min-width:0;box-sizing:border-box}
#ef-reg-lahan [data-mitra-details] .ef-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#ef-reg-lahan .ef-crop-divider{grid-column:1/-1!important;min-width:0!important}
#ef-reg-lahan .ef-ml-option .ef-ml-row-body{min-width:0!important}
#ef-reg-lahan .ef-ml-summary{display:flex!important;align-items:center;flex-wrap:wrap!important;gap:15px!important}
@media(max-width:650px){#ef-reg-lahan>.ef-form>[data-mitra-details]{grid-column:1/-1!important;width:100%!important;box-sizing:border-box!important;max-width:100%!important}#ef-reg-lahan [data-mitra-details] .ef-form{grid-template-columns:1fr!important}#ef-reg-lahan .ef-crop-divider{grid-column:1/-1!important}#ef-reg-lahan>.ef-form>[data-ml-picker]{grid-column:1/-1!important}}

#role-dialog:has(.ef-registration-wizard) .ef-compact-step1-inputs .ef-choice-card:has(input:checked),
#role-dialog:has(.ef-registration-wizard) .ef-compact-step1-inputs .ef-mitra-card:has(input:checked){border-color:#199456!important;background:#eef9f2!important;box-shadow:inset 0 0 0 1px #21a66530!important}
#role-dialog:has(.ef-registration-wizard) :is(.ef-choice-card,.ef-mitra-card) input[type="radio"]{accent-color:#128851!important}
