/* Satnam Siri WaheGuru Sahib Ji */

.ef-main { padding-top: 24px; padding-bottom: 60px; }
.ef-main [hidden] { display: none !important; }
.ef-main svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ef-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ef-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ef-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.ef-ic svg { width: 24px; height: 24px; }
.ef-head-text { min-width: 0; }
.ef-head h1 { font-size: 1.5rem; letter-spacing: -.02em; margin: 0; }
.ef-tagline { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: var(--bg-3); }
.pill svg { width: 14px; height: 14px; }
.pill-client { color: var(--teal-ink); border-color: color-mix(in srgb, var(--c-teal) 40%, var(--border)); margin-left: auto; }

.ef-tabs { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; width: 100%; max-width: 360px; margin: 0 0 14px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
.ef-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 10px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .88rem; font-weight: 700; }
.ef-tab svg { width: 16px; height: 16px; }
.ef-tab:hover { color: var(--text); }
.ef-tab.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.ef-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.ef-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ef-panel { display: flex; flex-direction: column; gap: 14px; padding: 0; }

.ef-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); min-width: 0; }
.ef-step { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.ef-num { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .78rem; font-weight: 800; flex: none; }
.ef-step h2 { font-size: 1rem; margin: 0; }

.ef-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-width: 260px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.ef-seg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 6px; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .82rem; font-weight: 600; }
.ef-seg-btn svg { width: 15px; height: 15px; }
.ef-seg-btn:hover { color: var(--text); }
.ef-seg-btn.is-on { background: var(--bg-2); color: var(--accent); border-color: var(--border); box-shadow: var(--shadow-sm); }

.ef-drop { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; padding: 26px 16px; border: 2px dashed var(--border); border-radius: 14px; background: var(--bg); color: var(--muted); }
.ef-drop.is-over { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.ef-drop-ic { width: 32px; height: 32px; color: var(--accent); }
.ef-drop strong { color: var(--text); font-size: .95rem; }
.ef-drop-note { margin: 0; font-size: .76rem; color: var(--faint); }
.ef-drop-note code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95em; }
.ef-link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

.ef-filecard { display: flex; align-items: center; gap: 11px; margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-3); flex-wrap: wrap; }
.ef-file-ic { width: 40px; height: 46px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .62rem; font-weight: 800; letter-spacing: .03em; flex: none; overflow: hidden; }
.ef-file-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; flex: 1 1 140px; }
.ef-file-meta strong { font-size: .9rem; overflow-wrap: anywhere; }
.ef-file-meta span { font-size: .78rem; color: var(--muted); }
.ef-file-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.ef-area { width: 100%; min-height: 128px; resize: vertical; border: 1px solid var(--border); border-radius: 10px; padding: 10px; outline: 0; background: var(--bg); color: var(--text); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.55; }
.ef-area-sm { min-height: 84px; }
.ef-area:focus { border-color: var(--accent); }
.ef-area::placeholder { color: var(--faint); }
.ef-paste { margin-top: 12px; }
.ef-paste label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }

.ef-pwrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.ef-pwfield { min-width: 0; }
.ef-pwfield label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; }
.ef-pwinput { position: relative; }
.ef-pwinput input { width: 100%; padding: 9px 38px 9px 11px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: .88rem; }
.ef-pwinput input:focus { outline: 0; border-color: var(--accent); }
.ef-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); border-radius: 7px; }
.ef-eye:hover { color: var(--accent); }
.ef-eye svg { width: 17px; height: 17px; }
.ef-gen { align-self: end; height: 38px; white-space: nowrap; }

.ef-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.ef-meter i { height: 6px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--border-2); }
.ef-meter.s1 i:nth-child(-n+1), .ef-meter.s2 i:nth-child(-n+2), .ef-meter.s3 i:nth-child(-n+3),
.ef-meter.s4 i:nth-child(-n+4), .ef-meter.s5 i { border-color: transparent; }
.ef-meter.s1 i:nth-child(-n+1) { background: var(--c-red); }
.ef-meter.s2 i:nth-child(-n+2) { background: var(--c-amber); }
.ef-meter.s3 i:nth-child(-n+3) { background: var(--c-amber); }
.ef-meter.s4 i:nth-child(-n+4) { background: var(--ok); }
.ef-meter.s5 i { background: var(--ok); }
.ef-strength { min-height: 1.3em; margin: 6px 0 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.ef-strength.is-weak { color: var(--red-ink); }
.ef-strength.is-fair { color: var(--amber-ink); }
.ef-strength.is-good { color: var(--ok-ink); }

.ef-warn { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 11px 13px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c-amber) 45%, var(--border)); background: color-mix(in srgb, var(--c-amber) 9%, transparent); font-size: .84rem; line-height: 1.55; color: var(--text); }
.ef-warn svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--amber-ink); }
.ef-warn strong { color: var(--amber-ink); }

.ef-primary { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 1rem; font-weight: 700; cursor: pointer; }
.ef-primary svg { width: 19px; height: 19px; }
.ef-primary:hover:not(:disabled) { filter: brightness(1.08); }
.ef-primary:disabled { opacity: .5; cursor: not-allowed; }
.ef-primary.is-busy { opacity: .8; cursor: progress; }
.ef-primary-note { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

.ef-other { margin-top: 14px; border-top: 1px solid var(--border-2); padding-top: 12px; }
.ef-other summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--accent); }
.ef-other-row { display: flex; align-items: center; gap: 12px; margin-top: 11px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-3); flex-wrap: wrap; }
.ef-other-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ef-other-btn { flex: none; }
.ef-other-text strong { font-size: .87rem; }
.ef-other-text span { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.ef-hint { margin: 11px 2px 0; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.ef-hint code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95em; background: var(--bg-3); border: 1px solid var(--border); border-radius: 5px; padding: 1px 4px; }

.ef-out { margin-top: 12px; padding: 11px 13px; border-radius: 12px; font-size: .85rem; line-height: 1.55; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); }
.ef-out.is-ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--border)); background: var(--ok-soft); color: var(--ok-ink); }
.ef-out.is-bad { border-color: color-mix(in srgb, var(--c-red) 45%, var(--border)); background: color-mix(in srgb, var(--c-red) 9%, transparent); color: var(--red-ink); }
.ef-out ul { margin: 6px 0 0; padding-left: 18px; }
.ef-out code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95em; overflow-wrap: anywhere; }

.ef-rail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }
.ef-railcard { padding: 14px; }
.ef-railhead { display: flex; align-items: center; gap: 7px; font-size: .92rem; margin: 0 0 10px; }
.ef-railhead svg { width: 17px; height: 17px; color: var(--accent); }
.ef-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ef-facts li { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.ef-facts svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--ok-ink); }
.ef-tech { margin-top: 12px; border-top: 1px solid var(--border-2); padding-top: 10px; }
.ef-tech summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--accent); }
.ef-tech ul { margin: 9px 0 0; padding-left: 17px; display: flex; flex-direction: column; gap: 5px; }
.ef-tech li { font-size: .78rem; color: var(--muted); line-height: 1.5; }

.ef-sizes { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ef-sizes th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.ef-sizes th:last-child, .ef-sizes td:last-child { text-align: right; }
.ef-sizes td { padding: 7px 0; border-bottom: 1px solid var(--border-2); color: var(--muted); }
.ef-sizes tr:last-child td { border-bottom: 0; }
.ef-sizes .is-pick td { color: var(--accent); font-weight: 700; }
.ef-sizes .is-toobig td:last-child { color: var(--amber-ink); }
.ef-sizes-empty { color: var(--faint) !important; font-style: italic; }
.ef-advice:empty { display: none; }
.ef-advice { margin: 11px 0 0; padding: 9px 11px; border-radius: 10px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--border)); color: var(--ok-ink); font-size: .79rem; line-height: 1.55; }
.ef-advice.is-warn { background: color-mix(in srgb, var(--c-amber) 10%, transparent); border-color: color-mix(in srgb, var(--c-amber) 42%, var(--border)); color: var(--amber-ink); }

.ef-field-inline { display: flex; align-items: center; gap: 9px; margin-top: 10px; font-size: .84rem; flex-wrap: wrap; }
.ef-field-inline > span { flex: none; }
.ef-field-inline input, .ef-field-inline select { flex: 1 1 200px; min-width: 0; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: .84rem; }
.ef-field-inline input:focus, .ef-field-inline select:focus { outline: 0; border-color: var(--accent); }

.ef-mini { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text); font-size: .79rem; font-weight: 600; }
.ef-mini svg { width: 14px; height: 14px; color: var(--muted); }
.ef-mini:hover:not(:disabled), .ef-mini:hover:not(:disabled) svg { border-color: var(--accent); color: var(--accent); }
.ef-mini:disabled { opacity: .45; cursor: not-allowed; }

.ef-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.ef-foot svg { width: 15px; height: 15px; flex: none; }

@media (max-width: 900px) {
  .ef-layout { grid-template-columns: minmax(0, 1fr); }
  .ef-rail { position: static; }
}

@media (max-width: 560px) {
  .ef-head h1 { font-size: 1.25rem; }
  .pill-client { margin-left: 0; }
  .ef-card { padding: 13px; }
  .ef-pwrow { grid-template-columns: minmax(0, 1fr); }
  .ef-gen { width: 100%; justify-content: center; }
  .ef-other-btn { flex: 1 1 100%; justify-content: center; padding: 10px; }
  .ef-field-inline { flex-direction: column; align-items: stretch; gap: 5px; }
  .ef-field-inline > span { font-weight: 600; }
  .ef-field-inline input, .ef-field-inline select { flex: none; width: 100%; }
  .ef-file-actions { width: 100%; }
  .ef-file-actions .ef-mini { flex: 1 1 auto; justify-content: center; }
  .ef-tabs { max-width: none; }
  .ef-drop { padding: 20px 12px; }
  .ef-primary { font-size: .92rem; padding: 13px 12px; }
}
/* webk · v0.1.0 */
