
/* ElixeMarket Professional Access KYC 1.6.6
   Visual system aligned with /access/. Scoped to .em-kyc-section. */
.em-kyc-section{
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding:34px 0 78px;background:#f3f6f9;color:#102b43;font-family:Inter,Arial,sans-serif;box-sizing:border-box;
}
.em-kyc-section *{box-sizing:border-box}
.em-kyc-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.em-kyc-hero{
  position:relative;overflow:hidden;margin:0 0 18px;padding:34px 38px 32px;border-radius:22px;color:#fff;
  background:radial-gradient(circle at 84% 18%,rgba(241,177,58,.18),transparent 24%),radial-gradient(circle at 14% 0,rgba(47,128,237,.17),transparent 34%),linear-gradient(105deg,#071f3b 0%,#09284a 64%,#071c35 100%);
  box-shadow:0 18px 46px rgba(15,42,66,.16);border:1px solid rgba(255,255,255,.08)
}
.em-kyc-hero:after{content:"";position:absolute;right:-120px;bottom:-170px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(241,177,58,.14);pointer-events:none}
.em-kyc-hero-top{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.em-kyc-kicker{margin:4px 0 0;color:#f1b13a;font:800 11px/1.2 Inter,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.em-kyc-hero h1{position:relative;z-index:2;max-width:900px;margin:0 0 13px;color:#fff!important;font:800 clamp(34px,4.1vw,54px)/1.04 Inter,Arial,sans-serif!important;letter-spacing:-.035em}
.em-kyc-hero>p{position:relative;z-index:2;max-width:840px;margin:0 0 19px;color:#dbe5f3!important;font:600 16px/1.58 Inter,Arial,sans-serif!important}
.em-kyc-hero-badges{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:8px}
.em-kyc-hero-badges span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid rgba(215,185,119,.28);border-radius:999px;background:rgba(255,255,255,.07);color:#e7edf5;font:800 10px/1 Inter,Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase}
.em-kyc-language{position:relative;z-index:3;display:grid;justify-items:end;gap:6px}
.em-kyc-language>span{color:#afbed0;font:700 9px/1.2 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.em-kyc-language-buttons{display:flex;padding:3px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(3,12,24,.32);backdrop-filter:blur(8px)}
.em-kyc-lang-button{min-width:39px;height:31px;padding:0 9px;border:0!important;border-radius:999px!important;background:transparent!important;color:#b9c8d8!important;font:800 10px/1 Inter,Arial,sans-serif!important;letter-spacing:.05em;cursor:pointer;box-shadow:none!important}
.em-kyc-lang-button:hover{color:#fff!important}
.em-kyc-lang-button.is-active{background:#f1b13a!important;color:#102b43!important}
.em-kyc-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 18px}
.em-kyc-progress-step{display:flex;align-items:center;gap:9px;min-height:54px;padding:10px 12px;border:1px solid #d8e2ea;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(16,43,67,.035)}
.em-kyc-progress-step b{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:50%;background:#eef5fb;color:#0e5d91;font:900 9px/1 Inter,Arial,sans-serif}
.em-kyc-progress-step span{color:#27465f;font:800 10px/1.25 Inter,Arial,sans-serif;letter-spacing:.035em;text-transform:uppercase}
.em-kyc-form{display:grid;gap:16px;margin:0;padding:0;background:transparent}
.em-kyc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.em-kyc-form fieldset{margin:0!important;padding:23px 24px 24px!important;border:1px solid #d8e2ea!important;border-radius:16px!important;background:#fff!important;box-shadow:0 9px 26px rgba(16,43,67,.055)!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px;align-content:start;min-width:0}
.em-kyc-form fieldset.em-kyc-card-wide{grid-column:1/-1}
.em-kyc-form fieldset.em-kyc-compact-card{grid-template-columns:1fr}
.em-kyc-form legend{display:inline-flex!important;align-items:center;gap:9px;padding:0 8px!important;color:#153c59!important;-webkit-text-fill-color:#153c59!important;font:700 18px/1.25 Georgia,"Times New Roman",serif!important;letter-spacing:0!important;text-transform:none!important}
.em-kyc-legend-index{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eef5fb;color:#0e5d91;font:900 9px/1 Inter,Arial,sans-serif;letter-spacing:.02em}
.em-kyc-form label{display:grid;gap:7px;align-self:start;color:#294a62!important;-webkit-text-fill-color:#294a62!important;font:800 10px/1.3 Inter,Arial,sans-serif!important;letter-spacing:.09em;text-transform:uppercase}
.em-kyc-form label>span:not(.em-kyc-help):not(.em-kyc-file-title){color:inherit!important;-webkit-text-fill-color:inherit!important}
.em-kyc-span-full,.em-kyc-static-note,.em-kyc-file-label,.em-kyc-owner-row,.em-kyc-ownership-total,.em-kyc-review-note{grid-column:1/-1!important}
.em-kyc-form input,.em-kyc-form select,.em-kyc-form textarea{width:100%;min-height:48px;padding:10px 12px!important;border:1px solid #c8d5df!important;border-radius:10px!important;background:#fff!important;color:#12334d!important;-webkit-text-fill-color:#12334d!important;font:500 14px/1.35 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;outline:none!important;box-shadow:0 4px 14px rgba(26,61,88,.025),inset 0 1px rgba(255,255,255,.9)!important;transition:border-color .18s ease,box-shadow .18s ease}
.em-kyc-form textarea{min-height:82px;resize:vertical}
.em-kyc-form input::placeholder,.em-kyc-form textarea::placeholder{color:#8092a1!important;-webkit-text-fill-color:#8092a1!important;opacity:1}
.em-kyc-form select,.em-kyc-form select option,.em-kyc-form select optgroup{color-scheme:light;color:#12334d!important;background:#fff!important;-webkit-text-fill-color:#12334d!important}
.em-kyc-form input:hover,.em-kyc-form select:hover,.em-kyc-form textarea:hover{border-color:#abc0cf!important}
.em-kyc-form input:focus,.em-kyc-form select:focus,.em-kyc-form textarea:focus{border-color:#287cb5!important;box-shadow:0 0 0 3px rgba(40,124,181,.10),0 7px 18px rgba(28,75,109,.05)!important}
.em-kyc-static-note{position:relative;padding:13px 15px 13px 42px!important;border:1px solid #e6d29f!important;border-radius:11px!important;background:#fffaf0!important;color:#675534!important;-webkit-text-fill-color:#675534!important;font:700 12px/1.55 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.em-kyc-static-note:before{content:"i";position:absolute;left:14px;top:13px;width:18px;height:18px;border:1.5px solid #c58a20;border-radius:50%;display:grid;place-items:center;color:#a96d13;font:800 11px/1 Georgia,serif;background:#fff}
.em-kyc-file-label{padding:13px!important;border:1px dashed #9cb8cc!important;border-radius:12px!important;background:#f7fafc!important;text-transform:none!important;letter-spacing:0!important}
.em-kyc-file-title{display:block;color:#24445e!important;-webkit-text-fill-color:#24445e!important;font:800 11px/1.35 Inter,Arial,sans-serif!important;letter-spacing:.07em;text-transform:uppercase}
.em-kyc-help{display:block;margin:0 0 4px;color:#6a7f90!important;-webkit-text-fill-color:#6a7f90!important;font:600 11px/1.5 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.em-kyc-form input[type="file"]{min-height:44px;padding:8px!important;border-color:#c6d6e1!important;background:#fff!important;cursor:pointer}
.em-kyc-owner-row{display:grid;grid-template-columns:1fr 180px;gap:12px 14px;padding:15px;border:1px solid #d9e3eb;border-radius:13px;background:#fbfcfd}
.em-kyc-owner-primary{border-color:#c5d9e7;background:linear-gradient(180deg,#fff,#f7fafc)}
.em-kyc-owner-title{grid-column:1/-1;color:#153c59;font:800 11px/1.3 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.em-kyc-owner-row .em-kyc-file-label{grid-column:1/-1!important}
.em-kyc-additional-owner[style*="none"]{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
.em-kyc-ownership-total{padding:11px 13px;border:1px solid #bfd4e3;border-radius:10px;background:#eef5fb;color:#0e5d91;font:900 10px/1.3 Inter,Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase}
.em-kyc-ownership-total.is-warning{border-color:#e9c796;background:#fff7ed;color:#b45f0a}
.em-kyc-review-fieldset{padding-bottom:20px!important}
.em-kyc-review-note{display:flex;align-items:flex-start;gap:12px;padding:15px 16px;border:1px solid #b9ddcd;border-radius:12px;background:#eef8f3;color:#244f40;font:700 12px/1.58 Inter,Arial,sans-serif}
.em-kyc-review-icon{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:50%;background:#2c8b66;color:#fff;font:900 12px/1 Inter,Arial,sans-serif}
.em-kyc-full{grid-template-columns:1fr!important}
.em-kyc-full textarea{grid-column:1/-1}
.em-kyc-consent{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:start!important;gap:10px!important;padding-top:4px;color:#536a7c!important;-webkit-text-fill-color:#536a7c!important;font:600 12px/1.55 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.em-kyc-consent input{width:auto!important;min-height:0!important;margin-top:3px!important;box-shadow:none!important}
.em-kyc-actions{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:14px;align-items:center;padding:2px 0 0}
.em-kyc-primary-button{min-height:50px;padding:0 24px!important;border:1px solid #246da0!important;border-radius:10px!important;background:#0e5d91!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:800 11px/1 Inter,Arial,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 10px 24px rgba(14,93,145,.17)!important;transition:transform .18s ease,filter .18s ease}
.em-kyc-primary-button:hover{transform:translateY(-1px);filter:brightness(1.06)}
.em-kyc-primary-button:disabled{opacity:.62;cursor:not-allowed;transform:none;filter:none}
.em-kyc-message{display:none;padding:13px 15px;border:1px solid #b9ddcd;border-radius:10px;background:#eef8f3;color:#244f40;font:700 12px/1.5 Inter,Arial,sans-serif}
.em-kyc-message.is-visible{display:block}
.em-kyc-message.is-error{border-color:#efc2c2;background:#fff2f2;color:#8a2e2e}
@media(max-width:980px){
  .em-kyc-progress{grid-template-columns:repeat(3,minmax(0,1fr))}
  .em-kyc-grid{grid-template-columns:1fr}
  .em-kyc-form fieldset{grid-template-columns:1fr 1fr}
  .em-kyc-form fieldset.em-kyc-card-wide{grid-column:auto}
}
@media(max-width:680px){
  .em-kyc-section{padding:22px 0 56px}
  .em-kyc-wrap{width:min(100% - 24px,1180px)}
  .em-kyc-hero{padding:26px 20px 24px;border-radius:18px}
  .em-kyc-hero-top{display:grid;gap:15px}
  .em-kyc-language{justify-items:start}
  .em-kyc-progress{grid-template-columns:1fr 1fr;gap:7px}
  .em-kyc-progress-step{min-height:48px;padding:8px 10px}
  .em-kyc-form fieldset,.em-kyc-form fieldset.em-kyc-card-wide{grid-template-columns:1fr;padding:18px 16px 19px!important;border-radius:14px!important}
  .em-kyc-owner-row{grid-template-columns:1fr}
  .em-kyc-actions{grid-template-columns:1fr}
  .em-kyc-primary-button{width:100%}
}
@media(max-width:420px){.em-kyc-progress{grid-template-columns:1fr}.em-kyc-hero h1{font-size:32px!important}}


/* 1.6.2 - Required-field clarity + structured fiscal representation. */
.em-kyc-required-legend{margin:-6px 0 16px;padding:10px 13px;border:1px solid #d8e2ea;border-radius:10px;background:#fff;color:#627789;font:650 11px/1.45 Inter,Arial,sans-serif}
.em-kyc-form label:has(input[required])>span:first-child:after,
.em-kyc-form label:has(select[required])>span:first-child:after,
.em-kyc-form label:has(textarea[required])>span:first-child:after,
.em-kyc-form .em-kyc-visually-required .em-kyc-file-title:after{content:" *";color:#c07b12!important;-webkit-text-fill-color:#c07b12!important;font-weight:900}
.em-kyc-fiscal-rep-fieldset{border-color:#e5d2a5!important;background:linear-gradient(180deg,#fffdf8,#fff)!important}
.em-kyc-fiscal-rep-fieldset.is-active{box-shadow:0 9px 26px rgba(16,43,67,.055),inset 3px 0 0 #d79b27!important}
.em-kyc-fiscal-toggle{display:flex!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;padding:12px 14px!important;border:1px solid #d7e1e9!important;border-radius:11px!important;background:#f8fbfd!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}
.em-kyc-fiscal-toggle input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;accent-color:#0e5d91!important;box-shadow:none!important}
.em-kyc-fiscal-toggle span{color:#1d4059!important;-webkit-text-fill-color:#1d4059!important;font:800 12px/1.35 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.em-kyc-fiscal-rep-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px;padding-top:2px}
.em-kyc-fiscal-rep-fields[hidden]{display:none!important}
@media(max-width:680px){.em-kyc-fiscal-rep-fields{grid-template-columns:1fr}}


/* 1.6.3 - Optional fiscal-representation evidence */
.em-kyc-fiscal-rep-fields .em-kyc-file-label{background:#fffdf8!important;border-color:#d9c79f!important;}
.em-kyc-fiscal-rep-fields .em-kyc-file-label .em-kyc-help{color:#786a4d!important;-webkit-text-fill-color:#786a4d!important;}


/* 1.6.5 — Compact KYC form + section-heading integration. */
.em-kyc-section{padding:26px 0 54px}
.em-kyc-wrap{width:min(1210px,calc(100% - 36px))}
.em-kyc-hero{margin-bottom:13px;padding:27px 32px 25px;border-radius:18px}
.em-kyc-hero-top{margin-bottom:12px}
.em-kyc-hero h1{margin-bottom:9px;font-size:clamp(31px,3.5vw,48px)!important}
.em-kyc-hero>p{margin-bottom:14px;font-size:14px!important;line-height:1.48!important}
.em-kyc-progress{gap:7px;margin-bottom:12px}
.em-kyc-progress-step{min-height:46px;padding:8px 10px}
.em-kyc-required-legend{margin:-2px 0 12px;padding:8px 11px}
.em-kyc-form{gap:12px}
.em-kyc-grid{gap:12px}
.em-kyc-form fieldset{padding:15px 18px 17px!important;border-radius:14px!important;gap:10px 12px;box-shadow:0 6px 18px rgba(16,43,67,.045)!important}
/* Native legend placement sits on the fieldset border. Float it into the card so the title
   becomes a real internal header instead of visually hanging outside the block. */
.em-kyc-form legend{float:left!important;width:100%!important;max-width:none!important;margin:0 0 11px!important;padding:0 0 9px!important;border-bottom:1px solid #e2eaf0!important;font-size:16px!important;line-height:1.2!important}
.em-kyc-form legend + *{clear:both}
.em-kyc-legend-index{width:22px;height:22px;font-size:8px}
.em-kyc-form label{gap:5px;font-size:9px!important;line-height:1.25!important}
.em-kyc-form input,.em-kyc-form select,.em-kyc-form textarea{min-height:41px;padding:8px 10px!important;border-radius:9px!important;font-size:13px!important;line-height:1.3!important}
.em-kyc-form textarea{min-height:58px}
.em-kyc-form textarea[name="registered_address"],.em-kyc-form textarea[name="fiscal_representative_address"]{min-height:62px}
.em-kyc-form textarea[name="kyc_notes"]{min-height:58px}
.em-kyc-static-note{padding:9px 12px 9px 36px!important;font-size:11px!important;line-height:1.42!important}
.em-kyc-static-note:before{left:11px;top:9px;width:16px;height:16px;font-size:10px}
.em-kyc-file-label{padding:9px 10px!important;border-radius:10px!important}
.em-kyc-file-title{font-size:10px!important}
.em-kyc-help{margin-bottom:2px;font-size:10px!important;line-height:1.35!important}
.em-kyc-form input[type="file"]{min-height:39px;padding:6px!important}
.em-kyc-owner-row{grid-template-columns:minmax(0,1fr) 150px;gap:9px 11px;padding:11px;border-radius:11px}
.em-kyc-owner-title{font-size:10px}
.em-kyc-ownership-total{padding:8px 11px}
.em-kyc-review-fieldset{padding-bottom:15px!important}
.em-kyc-review-note{gap:9px;padding:11px 12px;font-size:11px;line-height:1.45}
.em-kyc-review-icon{width:22px;height:22px;flex-basis:22px}
.em-kyc-fiscal-toggle{padding:9px 11px!important}
.em-kyc-fiscal-rep-fields{gap:10px 12px}
.em-kyc-actions{padding-top:0}
.em-kyc-primary-button{min-height:44px}
@media(max-width:680px){
  .em-kyc-section{padding:18px 0 42px}
  .em-kyc-wrap{width:min(100% - 20px,1210px)}
  .em-kyc-hero{padding:22px 17px 20px}
  .em-kyc-form fieldset,.em-kyc-form fieldset.em-kyc-card-wide{padding:14px 13px 15px!important}
  .em-kyc-form legend{margin-bottom:9px!important;padding-bottom:8px!important}
  .em-kyc-owner-row{grid-template-columns:1fr}
}

/* 1.6.6 — Guided completion UX: pending fields stand out, completed fields recede,
   section progress is visible, and the long form remains compact. */
.em-kyc-completion-summary{
  display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr);gap:12px 18px;align-items:center;
  margin:0 0 12px;padding:11px 13px;border:1px solid #e8c989;border-radius:12px;
  background:linear-gradient(180deg,#fffaf1,#fffdf9);box-shadow:0 5px 16px rgba(114,79,21,.04)
}
.em-kyc-completion-summary>div:first-child{display:grid;gap:2px}
.em-kyc-completion-summary strong{color:#754b0a;font:900 11px/1.3 Inter,Arial,sans-serif;letter-spacing:.045em;text-transform:uppercase}
.em-kyc-completion-summary>div:first-child>span{color:#7c6a4d;font:600 10px/1.4 Inter,Arial,sans-serif}
.em-kyc-missing-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.em-kyc-missing-chips span{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border:1px solid #eccd96;border-radius:999px;background:#fff;color:#6f4b13;font:800 9px/1.2 Inter,Arial,sans-serif;letter-spacing:.02em;text-transform:none}
.em-kyc-completion-summary.is-complete{border-color:#acd6c3;background:linear-gradient(180deg,#f2fbf6,#fbfffd)}
.em-kyc-completion-summary.is-complete strong{color:#176746}
.em-kyc-completion-summary.is-complete>div:first-child>span{color:#4f7565}
.em-kyc-completion-summary.is-complete .em-kyc-missing-chips:after{content:"✓";display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#2c8b66;color:#fff;font:900 12px/1 Inter,Arial,sans-serif}

.em-kyc-progress-step{position:relative;flex-wrap:wrap;align-content:center;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.em-kyc-progress-step .em-kyc-progress-status{display:block;flex:0 0 100%;padding-left:34px;margin-top:-3px;color:#728494;font:700 8px/1.2 Inter,Arial,sans-serif;letter-spacing:.02em;text-transform:none}
.em-kyc-progress-step.has-missing{border-color:#e6c276;background:#fffaf1;box-shadow:inset 0 -2px 0 rgba(215,155,39,.12),0 5px 16px rgba(94,65,18,.035)}
.em-kyc-progress-step.has-missing b{background:#fff0ce;color:#9b6208}
.em-kyc-progress-step.has-missing .em-kyc-progress-status{color:#a06912}
.em-kyc-progress-step.is-complete{border-color:#afd8c5;background:#f5fbf8}
.em-kyc-progress-step.is-complete b{background:#dff3e9;color:#1e7653}
.em-kyc-progress-step.is-complete .em-kyc-progress-status{color:#327a5e}

/* Give every section a visible state without changing the KYC data model. */
.em-kyc-form fieldset[data-kyc-group]{position:relative;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.em-kyc-form fieldset[data-kyc-group].has-missing{border-color:#e6c989!important;box-shadow:inset 3px 0 0 #d79b27,0 6px 18px rgba(16,43,67,.045)!important}
.em-kyc-form fieldset[data-kyc-group].is-complete{border-color:#bddbce!important;box-shadow:inset 3px 0 0 #3a9a73,0 6px 18px rgba(16,43,67,.04)!important}
.em-kyc-form fieldset[data-kyc-group].has-missing legend{color:#714d16!important;-webkit-text-fill-color:#714d16!important}
.em-kyc-form fieldset[data-kyc-group].has-missing .em-kyc-legend-index{background:#fff0ce;color:#9b6208}
.em-kyc-form fieldset[data-kyc-group].is-complete legend{color:#235c48!important;-webkit-text-fill-color:#235c48!important}
.em-kyc-form fieldset[data-kyc-group].is-complete .em-kyc-legend-index{background:#dff3e9;color:#1e7653}
.em-kyc-form fieldset[data-kyc-group].is-complete legend:after{content:"Complete";margin-left:auto;padding:4px 7px;border:1px solid #b8dcca;border-radius:999px;background:#edf8f2;color:#2a7659;font:800 8px/1 Inter,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;-webkit-text-fill-color:#2a7659}
.em-kyc-section[lang="es"] .em-kyc-form fieldset[data-kyc-group].is-complete legend:after{content:"Completo"}
.em-kyc-section[lang="fr"] .em-kyc-form fieldset[data-kyc-group].is-complete legend:after{content:"Complet"}

/* Required empty fields are the primary navigation cue. */
.em-kyc-form label.is-required-missing{color:#875b16!important;-webkit-text-fill-color:#875b16!important}
.em-kyc-form label.is-required-missing input:not([type="checkbox"]):not([type="radio"]),
.em-kyc-form label.is-required-missing select,
.em-kyc-form label.is-required-missing textarea{
  border-color:#d9a64a!important;background:#fffaf1!important;
  box-shadow:inset 3px 0 0 #e3ad42,0 3px 11px rgba(112,77,21,.035)!important
}
.em-kyc-form label.is-required-missing.em-kyc-file-label{border-color:#d9a64a!important;background:#fffaf1!important;box-shadow:inset 3px 0 0 #e3ad42!important}
.em-kyc-form label.is-required-missing .em-kyc-file-title{color:#875b16!important;-webkit-text-fill-color:#875b16!important}
.em-kyc-form label.is-required-missing>span:first-child:before{content:"Required · ";color:#b2710d;font-weight:900;-webkit-text-fill-color:#b2710d}
.em-kyc-section[lang="es"] .em-kyc-form label.is-required-missing>span:first-child:before{content:"Obligatorio · "}
.em-kyc-section[lang="fr"] .em-kyc-form label.is-required-missing>span:first-child:before{content:"Obligatoire · "}

/* Completed compulsory fields become quieter and receive a small confirmation cue. */
.em-kyc-form label.is-required-complete{position:relative;color:#315d4d!important;-webkit-text-fill-color:#315d4d!important}
.em-kyc-form label.is-required-complete input:not([type="checkbox"]):not([type="radio"]),
.em-kyc-form label.is-required-complete select,
.em-kyc-form label.is-required-complete textarea{
  border-color:#b6d6c8!important;background:#fbfefc!important;box-shadow:inset 3px 0 0 #61a98b,0 2px 9px rgba(45,117,87,.025)!important
}
.em-kyc-form label.is-required-complete.em-kyc-file-label{border-color:#b6d6c8!important;background:#f7fcf9!important;box-shadow:inset 3px 0 0 #61a98b!important}
.em-kyc-form label.is-required-complete>span:first-child:before{content:"✓ ";color:#2f8a66;font-weight:900;-webkit-text-fill-color:#2f8a66}

/* Optional inputs stay neutral and visually secondary. */
.em-kyc-form label:not(.is-required-missing):not(.is-required-complete) input:not([required]):not([type="checkbox"]):not([type="radio"]),
.em-kyc-form label:not(.is-required-missing):not(.is-required-complete) select:not([required]),
.em-kyc-form label:not(.is-required-missing):not(.is-required-complete) textarea:not([required]){background:#fcfdfe!important;border-color:#d7e0e7!important}

/* Keep the guidance useful but compact on laptops/mobile. */
@media(max-width:980px){
  .em-kyc-completion-summary{grid-template-columns:1fr}
  .em-kyc-missing-chips{justify-content:flex-start}
}
@media(max-width:680px){
  .em-kyc-completion-summary{padding:10px 11px}
  .em-kyc-progress-step .em-kyc-progress-status{padding-left:31px}
  .em-kyc-form fieldset[data-kyc-group].is-complete legend:after{display:none}
}

/* V1.6.9: staged registration / full verification without hiding required server checks. */
.em-kyc-section [data-kyc-verification-panel][hidden],
.em-kyc-section [data-kyc-verification-fields][hidden],
.em-kyc-section [data-kyc-verification-step][hidden] { display:none!important; }
.em-kyc-intake-mode {display:grid;gap:12px;padding:20px 23px;border-radius:15px;border:1px solid #b8cddc;background:#f7fbff;color:#183c57;}
.em-kyc-intake-mode strong{display:block;font:700 20px/1.3 Georgia,serif;color:#113951;}
.em-kyc-intake-mode p{margin:7px 0 0;font:500 13px/1.6 Inter,Arial,sans-serif;color:#3d5a6f;}
.em-kyc-intake-mode .em-kyc-verification-toggle{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 15px;border:1px solid #d5c296;border-radius:12px;background:#fffdf6;cursor:pointer;text-transform:none;letter-spacing:0;font:800 13px/1.35 Inter,Arial,sans-serif;color:#24465f;}
.em-kyc-verification-toggle input[type="checkbox"]{width:18px;min-height:18px;height:18px;padding:0!important;margin:0;flex:0 0 18px;accent-color:#116da4;}
.em-kyc-company-advanced{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px;padding:17px;margin-top:3px;border-radius:13px;border:1px solid #d7e4ed;background:#f9fcff;}
.em-kyc-existing-doc{display:block;color:#23734f;font:700 11px/1.4 Inter,Arial,sans-serif;text-transform:none;letter-spacing:0;}
@media(max-width:680px){.em-kyc-company-advanced{grid-template-columns:1fr;padding:11px}}

/* Drop legacy step numbers from individual cards; the compact progress bar owns numbering. */
.em-kyc-section .em-kyc-form .em-kyc-legend-index{display:none!important}
