<div class="ukc-code-env-file">
<div class="env">
<div class="hd"><span class="nm"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="1"/><path d="M8 11V8a4 4 0 0 1 8 0v3"/></svg><span>.env.local</span></span><span class="cnt">4 of 5 set</span><button class="tb" type="button"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="8" y="8" width="12" height="12" rx="1"/><path d="M16 8V4H4v12h4"/></svg>Copy names</button></div>
<ol class="rows">
<li class="cm"># Halden, test mode</li>
<li class="kv">
<input class="r" type="checkbox" id="ukc-code-env-file-key">
<code><span class="key">HALDEN_API_KEY</span>=<span class="mask"><span aria-hidden="true">••••••••</span><span class="sr">hidden, ends in </span>4f9c</span><span class="real">hld_test_8Kq2Vn5x4f9c</span></code>
<label class="eye" for="ukc-code-env-file-key"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 3l18 18"/><path d="M10.6 5.1Q11.3 5 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.2 4.2M6.6 6.6C3.8 8.4 2 12 2 12s3.5 7 10 7c1.9 0 3.6-.6 5-1.5"/><path d="M9.9 9.9a3 3 0 0 0 4.2 4.2"/></svg><span class="sr">Show HALDEN_API_KEY</span></label>
</li>
<li class="kv"><code><span class="key">HALDEN_ENV</span>=test</code></li>
<li class="kv">
<input class="r" type="checkbox" id="ukc-code-env-file-db" checked>
<code><span class="key">DB_PASSWORD</span>=<span class="mask"><span aria-hidden="true">••••••••••••</span><span class="sr">hidden</span></span><span class="real">local-dev-only</span></code>
<label class="eye" for="ukc-code-env-file-db"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 3l18 18"/><path d="M10.6 5.1Q11.3 5 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.2 4.2M6.6 6.6C3.8 8.4 2 12 2 12s3.5 7 10 7c1.9 0 3.6-.6 5-1.5"/><path d="M9.9 9.9a3 3 0 0 0 4.2 4.2"/></svg><span class="sr">Show DB_PASSWORD</span></label>
</li>
<li class="gap"></li>
<li class="cm"># Webhooks</li>
<li class="kv miss"><code><span class="key">HALDEN_WEBHOOK_SECRET</span>=</code><p class="hint"><span class="warn"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg>Empty</span> Webhook checks fail until this is set. Copy it from Settings, then Webhooks.</p></li>
</ol>
</div>
</div>
.ukc-code-env-file { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-code-env-file *, .ukc-code-env-file *::before, .ukc-code-env-file *::after { box-sizing: border-box; }
.ukc-code-env-file :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-code-env-file :where(ul, ol) { padding: 0; list-style: none; }
.ukc-code-env-file :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-code-env-file :where(a) { color: inherit; }
.ukc-code-env-file svg { flex: none; }
.ukc-code-env-file .sr { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ukc-code-env-file .r { position: absolute; opacity: 0; pointer-events: none; }
.ukc-code-env-file { container-type: inline-size; inline-size: 100%; }
.ukc-code-env-file .env { position: relative; max-width: 520px; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-lg); overflow: hidden; background: var(--uk-surface); box-shadow: var(--uk-card-shadow); }
.ukc-code-env-file .hd { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 14px; border-bottom: 1px solid var(--uk-line); background: var(--uk-paper); }
.ukc-code-env-file .nm { display: inline-flex; flex: 1; align-items: center; gap: 7px; min-width: 0; font: 600 13px/1.5 var(--uk-font-mono, ui-monospace, monospace); }
.ukc-code-env-file .nm svg { color: var(--uk-muted); }
.ukc-code-env-file .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ukc-code-env-file .cnt { color: var(--uk-muted); font-size: 12px; white-space: nowrap; }
.ukc-code-env-file .tb { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 10px; border: 1px solid var(--uk-line); border-radius: var(--uk-radius-sm); background: var(--uk-paper); color: var(--uk-ink); font-size: 12px; font-weight: 500; line-height: 1.4; cursor: pointer; transition: border-color var(--uk-motion-duration) var(--uk-motion-ease), background-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-code-env-file .tb:hover { border-color: var(--line-strong); }
.ukc-code-env-file .tb:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-code-env-file .rows { padding: 10px 0 12px; counter-reset: ln; font: 12.5px/1.8 var(--uk-font-mono, ui-monospace, monospace); }
.ukc-code-env-file .rows > li { display: grid; grid-template-columns: 4ch minmax(0, 1fr) auto; align-items: center; column-gap: 1.6ch; min-height: 1.8em; padding-right: 10px; }
.ukc-code-env-file .rows > li::before { counter-increment: ln; content: counter(ln); color: color-mix(in srgb, var(--uk-ink) 40%, var(--uk-surface)); text-align: right; user-select: none; }
.ukc-code-env-file .cm { color: var(--uk-muted); font-style: italic; }
.ukc-code-env-file .kv code { font: inherit; overflow-wrap: anywhere; }
.ukc-code-env-file .key { color: color-mix(in srgb, var(--uk-accent) 60%, var(--uk-ink)); font-weight: 600; }
.ukc-code-env-file .mask { display: inline-block; color: var(--uk-muted); white-space: nowrap; }
.ukc-code-env-file .real { display: none; background: var(--tint); color: color-mix(in srgb, var(--accent-deep) 60%, var(--uk-ink)); }
.ukc-code-env-file .r:checked ~ code .mask { display: none; }
.ukc-code-env-file .r:checked ~ code .real { display: inline-block; }
.ukc-code-env-file .eye { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--uk-radius-sm); color: var(--uk-muted); cursor: pointer; transition: background-color var(--uk-motion-duration) var(--uk-motion-ease), color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-code-env-file .eye:hover { background: var(--ink-soft); color: var(--uk-ink); }
.ukc-code-env-file .eye svg + svg { display: none; }
.ukc-code-env-file .r:checked ~ .eye svg { display: none; }
.ukc-code-env-file .r:checked ~ .eye svg + svg { display: block; }
.ukc-code-env-file .r:checked ~ .eye { background: var(--ink-soft); color: var(--uk-ink); }
.ukc-code-env-file .r:focus-visible ~ .eye { outline: 2px solid var(--uk-accent); outline-offset: 1px; }
.ukc-code-env-file .miss { padding-block: 2px 6px; background: var(--high-tint); }
.ukc-code-env-file .warn { display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; padding: 0 7px; border-radius: var(--uk-radius-sm); background: var(--uk-highlight); color: color-mix(in srgb, var(--uk-ink) 15%, black); font: 600 11px/1.7 var(--uk-font-body, system-ui, sans-serif); vertical-align: 1px; }
.ukc-code-env-file .hint { grid-column: 2 / -1; color: var(--uk-ink); font: 12.5px/1.5 var(--uk-font-body, system-ui, sans-serif); }
@container (max-width: 360px) { .ukc-code-env-file .cnt { display: none; } .ukc-code-env-file .rows > li { grid-template-columns: 3ch minmax(0, 1fr) auto; column-gap: 1.2ch; } }