/* LRob Email Toolkit — frontend form styles. Docs: docs/forms.md */

.lrob-etk-form {
    --lrob-etk-cf-font:        inherit;
    --lrob-etk-cf-font-size:   var(--wp--preset--font-size--medium, 1rem);
    --lrob-etk-cf-radius:      8px;
    --lrob-etk-cf-spacing:     1rem;
    --lrob-etk-cf-accent:      var(--wp--preset--color--primary, #2563eb);
    /* Fixed light default — theme base color clashes on dark accents. */
    --lrob-etk-cf-accent-fg:   #fff;
    --lrob-etk-cf-border:      var(--wp--preset--color--tertiary, #cbd5e1);
    --lrob-etk-cf-border-focus: var(--lrob-etk-cf-accent);
    --lrob-etk-cf-bg:          var(--wp--preset--color--base, #fff);
    /* inherit — contrast preset is FSE-wide, not context-aware */
    --lrob-etk-cf-fg:          inherit;
    /* contrast hook: inputs sit on --cf-bg (light), so needs light-content text */
    --lrob-etk-cf-input-fg:    var(--wp--preset--color--contrast, #0f172a);
    --lrob-etk-cf-muted:       #64748b;
    --lrob-etk-cf-error:       #b91c1c;
    --lrob-etk-cf-error-bg:    #fef2f2;
    --lrob-etk-cf-success-bg:  #ecfdf5;
    --lrob-etk-cf-success-fg:  #065f46;
    --lrob-etk-cf-success-size: .95em;
    --lrob-etk-cf-shadow-focus: 0 0 0 3px color-mix(in srgb, var(--lrob-etk-cf-accent) 22%, transparent);
    --lrob-etk-cf-shadow:        0 1px 0 rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.08);
    --lrob-etk-cf-shadow-hover:  0 2px 4px rgba(0,0,0,.06), 0 6px 12px rgba(0,0,0,.10);
    --lrob-etk-cf-shadow-menu:   0 6px 16px rgba(0,0,0,.12);
    --lrob-etk-cf-trans:       180ms cubic-bezier(.2,.7,.2,1);
    /* Themeable chrome (presets/knobs override; defaults = no visible change). */
    --lrob-etk-cf-border-width: 1px;
    --lrob-etk-cf-btn-bg:       var(--lrob-etk-cf-accent);
    --lrob-etk-cf-btn-radius:   var(--lrob-etk-cf-radius);
    /* form-bg / -border are intentionally left UNSET so the frontend falls
     * back to transparent and the admin editor falls back to its card chrome.
     * form-pad DOES have a floor (1rem): with no colour scheme chosen nothing
     * set it, and the fields sat flush against the form edge. */
    --lrob-etk-cf-label-font:   var(--lrob-etk-cf-font);
    --lrob-etk-cf-label-weight: 600;
    --lrob-etk-cf-label-style:  normal;

    font-family: var(--lrob-etk-cf-font);
    font-size: var(--lrob-etk-cf-font-size);
    color: var(--lrob-etk-cf-fg);
    display: block;
    position: relative;
    max-width: 100%;
    background: var(--lrob-etk-cf-form-bg, transparent);
    border: 1px solid var(--lrob-etk-cf-form-border, transparent);
    border-radius: var(--lrob-etk-cf-radius);
    padding: var(--lrob-etk-cf-form-pad, 1rem);
}

.lrob-etk-form *, .lrob-etk-form *::before, .lrob-etk-form *::after {
    box-sizing: border-box;
}

/* Theme isolation. The form lands inside themes that style bare tags —
 * `label { margin-bottom }`, `input { margin: 0 0 30px; cursor: pointer }`,
 * `button[type=submit] { background: transparent; text-transform: uppercase }`,
 * `button[type=submit] span { display: block }` — and any property this sheet
 * leaves undeclared is theirs. So every control below declares everything a
 * theme commonly sets, at a specificity above tag + attribute + pseudo-class
 * rules: `.lrob-etk-form button.lrob-etk-form-submit` outranks
 * `button[type=submit]:hover`, `.lrob-etk-form input:focus` outranks
 * `input[type=text]:focus`. Page-level choices still flow in — the font,
 * the text colour, the FSE palette — through inheritance and the var
 * fallbacks above; that is the "follow the theme" default. A style setting
 * replaces the var, so it wins over the theme by construction. */

.lrob-etk-form .lrob-etk-form-body {
    display: grid;
    gap: var(--lrob-etk-cf-spacing);
}

.lrob-etk-form .lrob-etk-form-row {
    display: grid;
    gap: var(--lrob-etk-cf-spacing);
    grid-template-columns: 1fr;
}
.lrob-etk-form .lrob-etk-form-row[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.lrob-etk-form .lrob-etk-form-row[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.lrob-etk-form .lrob-etk-form-row[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) {
    .lrob-etk-form .lrob-etk-form-row[data-cols] {
        grid-template-columns: 1fr;
    }
}
.lrob-etk-form .lrob-etk-form-col {
    display: flex;
    flex-direction: column;
    gap: var(--lrob-etk-cf-spacing);
    min-width: 0;
}

/* Field wrapper */
.lrob-etk-form-field {
    display: flex;
    flex-direction: column;
    gap: .35em;
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.lrob-etk-form .lrob-etk-form-label {
    display: block;
    margin: 0;
    padding: 0;
    font-family: var(--lrob-etk-cf-label-font, var(--lrob-etk-cf-font));
    font-weight: var(--lrob-etk-cf-label-weight, 600);
    font-style: var(--lrob-etk-cf-label-style, normal);
    font-size: .95em;
    line-height: 1.3;
    color: var(--lrob-etk-cf-fg);
    text-transform: none;
    letter-spacing: normal;
}

.lrob-etk-form-required {
    color: var(--lrob-etk-cf-error);
    font-weight: 700;
    margin-left: .15em;
}

.lrob-etk-form .lrob-etk-form-helper {
    margin: 0;
    padding: 0;
    color: var(--lrob-etk-cf-muted);
    font-size: .82em;
    line-height: 1.4;
}

.lrob-etk-form .lrob-etk-form-error {
    margin: 0;
    padding: 0;
    color: var(--lrob-etk-cf-error);
    font-size: .82em;
    line-height: 1.4;
    font-weight: 500;
}

/* Inputs */
.lrob-etk-form input[type="text"],
.lrob-etk-form input[type="email"],
.lrob-etk-form input[type="tel"],
.lrob-etk-form input[type="number"],
.lrob-etk-form input[type="date"],
.lrob-etk-form select,
.lrob-etk-form textarea {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    float: none;
    margin: 0;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    text-align: start;
    color: var(--lrob-etk-cf-input-fg);
    background: var(--lrob-etk-cf-bg);
    border: var(--lrob-etk-cf-border-width) solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius);
    box-shadow: none;
    outline: 0;
    padding: var(--lrob-etk-cf-field-pad, .65em .85em);
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 2.5em;
    line-height: 1.4;
    opacity: 1;
    cursor: text;
    transition: border-color var(--lrob-etk-cf-trans), box-shadow var(--lrob-etk-cf-trans), background-color var(--lrob-etk-cf-trans);
}

.lrob-etk-form select {
    cursor: pointer;
}

.lrob-etk-form textarea {
    resize: vertical;
    min-height: 6em;
}

/* Background and colour repeated here: a theme's `input:focus` rule sits at
   (0,2,0), above the base rule, and typically swaps both. */
.lrob-etk-form input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form select:focus,
.lrob-etk-form textarea:focus {
    outline: 0;
    background: var(--lrob-etk-cf-bg);
    color: var(--lrob-etk-cf-input-fg);
    border-color: var(--lrob-etk-cf-border-focus);
    box-shadow: var(--lrob-etk-cf-shadow-focus);
}

.lrob-etk-form input::placeholder,
.lrob-etk-form textarea::placeholder {
    color: var(--lrob-etk-cf-muted);
    opacity: .8;
}

/* Field-level error state */
.lrob-etk-form-field.is-invalid input,
.lrob-etk-form-field.is-invalid select,
.lrob-etk-form-field.is-invalid textarea {
    border-color: var(--lrob-etk-cf-error);
    background: var(--lrob-etk-cf-error-bg);
}

.lrob-etk-form-field.is-invalid .lrob-etk-form-error {
    display: block;
}

/* Options (radio / checkbox group) */
.lrob-etk-form-options {
    display: flex;
    flex-direction: column;
    gap: .35em;
}

.lrob-etk-form .lrob-etk-form-option,
.lrob-etk-form .lrob-etk-form-checkbox-inline {
    display: inline-flex;
    align-items: flex-start;
    gap: .55em;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.35;
    padding: .25em 0;
    text-transform: none;
}

.lrob-etk-form .lrob-etk-form-option input,
.lrob-etk-form .lrob-etk-form-checkbox-inline input {
    appearance: auto;
    -webkit-appearance: auto;
    margin: .2em 0 0 0;
    width: 1em;
    height: 1em;
    min-height: 0;
    accent-color: var(--lrob-etk-cf-accent);
    flex: 0 0 auto;
}

/* Submit */
.lrob-etk-form-field--submit {
    margin-top: .25em;
}

.lrob-etk-form-field--submit.is-align-left  { align-items: flex-start; }
.lrob-etk-form-field--submit.is-align-center{ align-items: center; }
.lrob-etk-form-field--submit.is-align-right { align-items: flex-end; }
.lrob-etk-form-field--submit.is-align-stretch .lrob-etk-form-submit { width: 100%; }

/* inline-flex + gap: the label and the spinner are flex items, so a theme
   turning `button span` into blocks can't push the spinner onto its own line. */
.lrob-etk-form button.lrob-etk-form-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    min-height: 0;
    height: auto;
    max-width: 100%;
    background: var(--lrob-etk-cf-btn-bg);
    color: var(--lrob-etk-cf-accent-fg);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    padding: var(--lrob-etk-cf-btn-pad, .8em 1.6em);
    border-radius: var(--lrob-etk-cf-btn-radius);
    cursor: pointer;
    opacity: 1;
    transition: transform var(--lrob-etk-cf-trans), opacity var(--lrob-etk-cf-trans), filter var(--lrob-etk-cf-trans), box-shadow var(--lrob-etk-cf-trans);
    box-shadow: var(--lrob-etk-cf-shadow);
}

.lrob-etk-form button.lrob-etk-form-submit:hover {
    /* No transform: a control that shifts as the cursor approaches makes
       itself harder to hit. Depth and brightness carry the hover instead. */
    background: var(--lrob-etk-cf-btn-bg);
    color: var(--lrob-etk-cf-accent-fg);
    filter: brightness(1.05);
    box-shadow: var(--lrob-etk-cf-shadow-hover);
}

.lrob-etk-form button.lrob-etk-form-submit:focus {
    outline: 0;
    box-shadow: var(--lrob-etk-cf-shadow-focus), var(--lrob-etk-cf-shadow);
}

.lrob-etk-form button.lrob-etk-form-submit:active {
    transform: translateY(0);
}

.lrob-etk-form button.lrob-etk-form-submit[disabled],
.lrob-etk-form button.lrob-etk-form-submit.is-busy {
    opacity: .7;
    cursor: progress;
    transform: none;
    filter: none;
}

.lrob-etk-form .lrob-etk-form-submit-spinner {
    display: none;
    flex: 0 0 auto;
    width: .9em;
    height: .9em;
    margin: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: lrob-etk-cf-spin .7s linear infinite;
}

.lrob-etk-form .lrob-etk-form-submit.is-busy .lrob-etk-form-submit-spinner {
    display: inline-block;
}

@keyframes lrob-etk-cf-spin { to { transform: rotate(360deg); } }

/* Status banner below the form (under the submit button) */
.lrob-etk-form-status {
    border-radius: var(--lrob-etk-cf-radius);
    padding: .8em 1em;
    margin-top: var(--lrob-etk-cf-spacing);
    font-size: var(--lrob-etk-cf-success-size, .95em);
    line-height: 1.45;
    border: 1px solid transparent;
    animation: lrob-etk-cf-slide-in var(--lrob-etk-cf-reveal-dur, 500ms) cubic-bezier(.2,.7,.2,1) both;
}

.lrob-etk-form-status.is-success {
    background: var(--lrob-etk-cf-success-bg);
    color: var(--lrob-etk-cf-success-fg);
    border-color: color-mix(in srgb, var(--lrob-etk-cf-success-fg) 18%, transparent);
}

.lrob-etk-form-status.is-error {
    background: var(--lrob-etk-cf-error-bg);
    color: var(--lrob-etk-cf-error);
    border-color: color-mix(in srgb, var(--lrob-etk-cf-error) 25%, transparent);
}

@keyframes lrob-etk-cf-slide-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes lrob-etk-cf-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Reveal style + speed for the status banner. Duration is a var so it can be
 * set per form; 500ms is the floor at which the motion is actually readable. */
.lrob-etk-form[data-etk-success="none"] .lrob-etk-form-status  { animation: none; }
.lrob-etk-form[data-etk-success="fade"] .lrob-etk-form-status  { animation: lrob-etk-cf-fade-in var(--lrob-etk-cf-reveal-dur, 500ms) ease-out both; }
.lrob-etk-form[data-etk-success="slide"] .lrob-etk-form-status { animation: lrob-etk-cf-slide-in var(--lrob-etk-cf-reveal-dur, 500ms) cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
    .lrob-etk-form .lrob-etk-form-status { animation: none; }
}

/* Hide the whole form body after a successful send so the user doesn't accidentally
 * spam by clicking again. The status banner remains. */
.lrob-etk-form.is-sent .lrob-etk-form-body { display: none; }

/* Honeypot hard hide (also hidden inline by PHP) */
.lrob-etk-cf-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Editor parity: placeholder for the embed block when no form is selected */
.lrob-etk-cf-placeholder {
    font-family: -apple-system, system-ui, sans-serif;
    border-radius: var(--lrob-etk-cf-radius);
}

/* Presets are now data-driven: StylePresets → StyleResolver emits the
 * resolved --lrob-etk-cf-* vars inline on the <form>. No per-preset CSS. */

/* Homemade challenge — self-contained so it renders identically inside
 * .lrob-etk-form, the editor preview, AND the captcha-settings preview
 * (which has no .lrob-etk-form input scope). */
.lrob-etk-cf-challenge {
    display: flex;
    flex-direction: column;
    gap: .35em;
}
.lrob-etk-cf-challenge .lrob-etk-cf-label {
    display: block;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: .95em;
    line-height: 1.3;
    color: var(--lrob-etk-cf-fg);
    text-transform: none;
    letter-spacing: normal;
}
.lrob-etk-cf-challenge input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    margin: 0;
    font: inherit;
    text-transform: none;
    color: var(--lrob-etk-cf-input-fg);
    background: var(--lrob-etk-cf-bg);
    border: 1px solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius);
    box-shadow: none;
    outline: 0;
    padding: .5em .7em;
    width: auto;
    max-width: 7em;
    height: auto;
    line-height: 1.4;
    cursor: text;
}
.lrob-etk-cf-challenge .lrob-etk-cf-helper {
    margin: 0;
    padding: 0;
    font-size: .82em;
    line-height: 1.4;
    color: var(--lrob-etk-cf-muted);
}
.lrob-etk-cf-challenge .lrob-etk-cf-error {
    margin: 0;
    padding: 0;
    font-size: .82em;
    line-height: 1.4;
    color: var(--lrob-etk-cf-error);
}

/* Captcha injected into WP-native forms (comments / login / register /
 * lost-password) via WpHooks — a .lrob-etk-form host with breathing room
 * from the surrounding form fields + submit button. */
.lrob-etk-captcha-wrap {
    margin: 1em 0;
}
.lrob-etk-captcha-wrap--lost-password,
.lrob-etk-captcha-wrap--registration,
.lrob-etk-captcha-wrap--login {
    margin-bottom: 1.25em;
}

/* ---------- Image-recognition challenge ----------
 *
 * 6 radio inputs presented as small SVG tiles. The native radio is
 * visually hidden but keyboard-reachable; the SVG tile carries the
 * visible state via :checked + :focus-visible. Tiles have a fixed size
 * so the picker stays compact regardless of the surrounding form width.
 */
.lrob-etk-cf-challenge--image .lrob-etk-cf-image-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lrob-etk-cf-image-option {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius);
    background: var(--lrob-etk-cf-bg);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    margin: 0;
    /* Picto sits on --cf-bg (same as inputs) → use the contrast-guaranteed
     * input fg, not --cf-fg (inherit), which goes white on a dark-themed page. */
    color: var(--lrob-etk-cf-input-fg);
}
.lrob-etk-cf-image-option:hover {
    border-color: var(--lrob-etk-cf-accent);
    background: color-mix(in srgb, var(--lrob-etk-cf-accent) 4%, var(--lrob-etk-cf-bg));
}
.lrob-etk-cf-image-option input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.lrob-etk-cf-image-option:has(input[type="radio"]:checked) {
    border-color: var(--lrob-etk-cf-accent);
    border-width: 2px;
    background: color-mix(in srgb, var(--lrob-etk-cf-accent) 8%, transparent);
    color: var(--lrob-etk-cf-accent);
}
.lrob-etk-cf-image-option:has(input[type="radio"]:focus-visible) {
    box-shadow: var(--lrob-etk-cf-shadow-focus);
    outline: none;
}
.lrob-etk-cf-image-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lrob-etk-cf-image-svg svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* hCaptcha iframe doesn't shrink — allow horizontal scroll rather than overflow. */
.lrob-etk-form .lrob-etk-form-field--challenge {
    overflow-x: auto;
    max-width: 100%;
}
.lrob-etk-form .lrob-etk-cf-hcaptcha .h-captcha {
    min-width: 303px;
}

/* wp-login is ~270px; scale down full-size widgets to fit. */
.lrob-etk-captcha-wrap--narrow .lrob-etk-form-field--challenge {
    overflow: hidden;
}
.lrob-etk-captcha-wrap--narrow .h-captcha:not([data-size="compact"]),
.lrob-etk-captcha-wrap--narrow .g-recaptcha:not([data-size="compact"]),
.lrob-etk-captcha-wrap--narrow .cf-turnstile:not([data-size="compact"]) {
    transform: scale(0.88);
    transform-origin: top left;
}
.lrob-etk-captcha-wrap--narrow .h-captcha[data-size="compact"],
.lrob-etk-captcha-wrap--narrow .g-recaptcha[data-size="compact"],
.lrob-etk-captcha-wrap--narrow .cf-turnstile[data-size="compact"] {
    margin: 0 auto;
}

.lrob-etk-form .lrob-etk-form-captcha-align {
    display: flex;
    flex-direction: column;
}
.lrob-etk-form .lrob-etk-form-captcha-align.is-align-left   { align-items: flex-start; }
.lrob-etk-form .lrob-etk-form-captcha-align.is-align-center { align-items: center; }
.lrob-etk-form .lrob-etk-form-captcha-align.is-align-right  { align-items: flex-end; }

/* --- Phone country picker --- */
.lrob-etk-form .lrob-etk-form-phone {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    background: var(--lrob-etk-cf-bg);
    color: var(--lrob-etk-cf-input-fg);
    border: 1px solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius);
    overflow: visible; /* menu must spill out */
    transition: border-color var(--lrob-etk-cf-trans), box-shadow var(--lrob-etk-cf-trans);
}
.lrob-etk-form .lrob-etk-form-phone:focus-within {
    border-color: var(--lrob-etk-cf-border-focus);
    box-shadow: var(--lrob-etk-cf-shadow-focus);
}
.lrob-etk-form .lrob-etk-form-phone-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    margin: 0;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius) 0 0 var(--lrob-etk-cf-radius);
    cursor: pointer;
    font: inherit;
    color: var(--lrob-etk-cf-input-fg);
    line-height: 1;
}
.lrob-etk-form .lrob-etk-form-phone-trigger:hover { background: color-mix(in srgb, currentColor 6%, transparent); }
.lrob-etk-form .lrob-etk-form-phone-flag {
    font-size: 18px;
    line-height: 1;
    /* Disable WP emoji-img replacement so flags render as OS glyphs. */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lrob-etk-form .lrob-etk-form-phone-dial {
    font-size: 13px;
    opacity: 0.8;
}
.lrob-etk-form .lrob-etk-form-phone-caret {
    font-size: 16px;
    width: 16px;
    height: 16px;
    opacity: 0.6;
}
.lrob-etk-form .lrob-etk-form-phone input[type="tel"] {
    flex: 1;
    border: 0;
    outline: 0;
    box-shadow: none;
    padding: 8px 10px;
    min-width: 0;
    background: transparent;
    color: var(--lrob-etk-cf-input-fg);
    border-radius: 0 var(--lrob-etk-cf-radius) var(--lrob-etk-cf-radius) 0;
}
.lrob-etk-form .lrob-etk-form-phone-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 280px;
    max-width: 360px;
    max-height: 320px;
    background: var(--lrob-etk-cf-bg);
    color: var(--lrob-etk-cf-input-fg);
    border: 1px solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius);
    box-shadow: var(--lrob-etk-cf-shadow-menu);
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.lrob-etk-form .lrob-etk-form-phone-menu[hidden] { display: none; }
.lrob-etk-form .lrob-etk-form-phone-search {
    border: 0;
    border-bottom: 1px solid var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius) var(--lrob-etk-cf-radius) 0 0;
    padding: 8px 10px;
    outline: 0;
    font: inherit;
    color: var(--lrob-etk-cf-input-fg);
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}
.lrob-etk-form .lrob-etk-form-phone-list {
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    flex: 1;
}
.lrob-etk-form .lrob-etk-form-phone-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 6px 12px;
    list-style: none;
    cursor: pointer;
}
.lrob-etk-form .lrob-etk-form-phone-list li:hover,
.lrob-etk-form .lrob-etk-form-phone-list li:focus {
    background: color-mix(in srgb, currentColor 8%, transparent);
}
.lrob-etk-form .lrob-etk-form-phone-list-flag {
    font-size: 18px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lrob-etk-form .lrob-etk-form-phone-list-name {
    flex: 1;
    color: var(--lrob-etk-cf-input-fg);
}
.lrob-etk-form .lrob-etk-form-phone-list-dial {
    opacity: 0.65;
    font-size: 12px;
}

/* --- File upload --- */
.lrob-etk-form .lrob-etk-form-file {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.lrob-etk-form .lrob-etk-form-file-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    color: inherit;
    border: 1px dashed var(--lrob-etk-cf-border);
    border-radius: var(--lrob-etk-cf-radius);
    cursor: pointer;
    font: inherit;
    line-height: 1.2;
    transition: background var(--lrob-etk-cf-trans), border-color var(--lrob-etk-cf-trans);
}
.lrob-etk-form .lrob-etk-form-file-trigger:hover {
    background: color-mix(in srgb, currentColor 14%, transparent);
    border-color: var(--lrob-etk-cf-border-focus);
}
.lrob-etk-form .lrob-etk-form-file-trigger .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}
.lrob-etk-form .lrob-etk-form-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lrob-etk-form .lrob-etk-form-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: color-mix(in srgb, currentColor 5%, transparent);
    border-radius: var(--lrob-etk-cf-radius);
    font-size: 0.92em;
}
.lrob-etk-form .lrob-etk-form-file-item.is-invalid {
    background: var(--lrob-etk-cf-error-bg);
    color: var(--lrob-etk-cf-error);
}
.lrob-etk-form .lrob-etk-form-file-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lrob-etk-form .lrob-etk-form-file-item-size {
    opacity: 0.65;
    font-size: 0.85em;
}
.lrob-etk-form .lrob-etk-form-file-hint {
    margin: 0;
    font-size: 0.82em;
    opacity: 0.7;
}

/* ---------------------------------------------------------------------------
   Effects — driven by data attributes rather than vars, because the values are
   behaviours ("lift") not lengths. Emitted by StyleResolver::form_attributes().
   Deliberately few and coherent: a contact form gets noisy fast.
   Every variant keeps a visible focus indicator, and all motion is opt-out via
   prefers-reduced-motion.
   --------------------------------------------------------------------------- */

/* Placeholder colour falls back to the muted token when unset. */
.lrob-etk-form input::placeholder,
.lrob-etk-form textarea::placeholder {
    color: var(--lrob-etk-cf-placeholder, var(--lrob-etk-cf-muted));
}

/* Focused field ------------------------------------------------------------ */
.lrob-etk-form[data-etk-focus="none"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="none"] select:focus,
.lrob-etk-form[data-etk-focus="none"] textarea:focus {
    /* "None" removes the glow, never the indicator — the border still moves. */
    box-shadow: none;
}
.lrob-etk-form[data-etk-focus="ring"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="ring"] select:focus,
.lrob-etk-form[data-etk-focus="ring"] textarea:focus {
    /* Ring width follows the glow knob (capped so it stays a ring, not a
       cloud) — every focus mode responds to the same control. */
    box-shadow: 0 0 0 min(var(--lrob-etk-cf-focus-glow, 18px), 6px)
                color-mix(in srgb, var(--lrob-etk-cf-accent) 28%, transparent);
}
.lrob-etk-form[data-etk-focus="glow"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="glow"] select:focus,
.lrob-etk-form[data-etk-focus="glow"] textarea:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lrob-etk-cf-accent) 22%, transparent),
                0 4px 14px color-mix(in srgb, var(--lrob-etk-cf-accent) 30%, transparent);
}

/* Field hover -------------------------------------------------------------- */
.lrob-etk-form[data-etk-field="tint"] input:not([type="checkbox"]):not([type="radio"]):hover:not(:focus),
.lrob-etk-form[data-etk-field="tint"] select:hover:not(:focus),
.lrob-etk-form[data-etk-field="tint"] textarea:hover:not(:focus) {
    border-color: color-mix(in srgb, var(--lrob-etk-cf-accent) 45%, var(--lrob-etk-cf-border));
}
.lrob-etk-form[data-etk-field="fill"] input:not([type="checkbox"]):not([type="radio"]):hover:not(:focus),
.lrob-etk-form[data-etk-field="fill"] select:hover:not(:focus),
.lrob-etk-form[data-etk-field="fill"] textarea:hover:not(:focus) {
    border-color: color-mix(in srgb, var(--lrob-etk-cf-accent) 45%, var(--lrob-etk-cf-border));
    background: color-mix(in srgb, var(--lrob-etk-cf-accent) 7%, var(--lrob-etk-cf-bg));
}

/* Button hover ------------------------------------------------------------- */
.lrob-etk-form[data-etk-button] .lrob-etk-form-submit {
    transition: transform var(--lrob-etk-cf-trans), box-shadow var(--lrob-etk-cf-trans),
                background-color var(--lrob-etk-cf-trans);
}
.lrob-etk-form[data-etk-button="deepen"] .lrob-etk-form-submit:hover:not([disabled]) {
    box-shadow: 0 4px 10px rgba(0,0,0,.14), 0 12px 26px rgba(0,0,0,.16);
    filter: brightness(1.08);
}
.lrob-etk-form[data-etk-button="outline"] .lrob-etk-form-submit:hover:not([disabled]) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lrob-etk-cf-btn-bg) 35%, transparent);
}
.lrob-etk-form[data-etk-button="scale"] .lrob-etk-form-submit:hover:not([disabled]) {
    transform: scale(1.03);
}
.lrob-etk-form[data-etk-button="scale"] .lrob-etk-form-submit:active:not([disabled]) {
    transform: none;
}

/* --- Shadows: resting depth, its own axis ---------------------------------
   Not an "effect" — effects are interaction (focus, hover). Form, field and
   button each take None / Soft / Medium / Strong / Accent glow. The field and
   button shadows were hardcoded before this. */
.lrob-etk-form[data-etk-shadow="none"]   { box-shadow: none; }
.lrob-etk-form[data-etk-shadow="soft"]   { box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .06); }
.lrob-etk-form[data-etk-shadow="medium"] { box-shadow: 0 2px 4px rgba(0, 0, 0, .07), 0 10px 28px rgba(0, 0, 0, .10); }
.lrob-etk-form[data-etk-shadow="strong"] { box-shadow: 0 2px 6px rgba(0, 0, 0, .08), 0 14px 40px rgba(0, 0, 0, .14); }
.lrob-etk-form[data-etk-shadow="glow"] {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lrob-etk-cf-accent) 35%, transparent),
                0 8px 34px color-mix(in srgb, var(--lrob-etk-cf-accent) 30%, transparent);
}

/* Fields — no resting shadow before; :focus still wins via the focus rules. */
.lrob-etk-form[data-etk-fieldshade="soft"] input:not([type="checkbox"]):not([type="radio"]):not(:focus),
.lrob-etk-form[data-etk-fieldshade="soft"] select:not(:focus),
.lrob-etk-form[data-etk-fieldshade="soft"] textarea:not(:focus) {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.lrob-etk-form[data-etk-fieldshade="medium"] input:not([type="checkbox"]):not([type="radio"]):not(:focus),
.lrob-etk-form[data-etk-fieldshade="medium"] select:not(:focus),
.lrob-etk-form[data-etk-fieldshade="medium"] textarea:not(:focus) {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 10px rgba(0, 0, 0, .06);
}
.lrob-etk-form[data-etk-fieldshade="strong"] input:not([type="checkbox"]):not([type="radio"]):not(:focus),
.lrob-etk-form[data-etk-fieldshade="strong"] select:not(:focus),
.lrob-etk-form[data-etk-fieldshade="strong"] textarea:not(:focus) {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 8px 20px rgba(0, 0, 0, .10);
}
.lrob-etk-form[data-etk-fieldshade="glow"] input:not([type="checkbox"]):not([type="radio"]):not(:focus),
.lrob-etk-form[data-etk-fieldshade="glow"] select:not(:focus),
.lrob-etk-form[data-etk-fieldshade="glow"] textarea:not(:focus) {
    box-shadow: 0 0 12px color-mix(in srgb, var(--lrob-etk-cf-accent) 25%, transparent);
}
.lrob-etk-form[data-etk-fieldshade="none"] input:not([type="checkbox"]):not([type="radio"]):not(:focus),
.lrob-etk-form[data-etk-fieldshade="none"] select:not(:focus),
.lrob-etk-form[data-etk-fieldshade="none"] textarea:not(:focus) {
    box-shadow: none;
}

/* Button — was an unconditional var; now selectable, same default. */
.lrob-etk-form[data-etk-btnshade="none"]   .lrob-etk-form-submit { box-shadow: none; }
.lrob-etk-form[data-etk-btnshade="soft"]   .lrob-etk-form-submit { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.08); }
.lrob-etk-form[data-etk-btnshade="medium"] .lrob-etk-form-submit { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 6px 16px rgba(0,0,0,.12); }
.lrob-etk-form[data-etk-btnshade="strong"] .lrob-etk-form-submit { box-shadow: 0 3px 6px rgba(0,0,0,.10), 0 12px 28px rgba(0,0,0,.18); }
.lrob-etk-form[data-etk-btnshade="glow"]   .lrob-etk-form-submit {
    box-shadow: 0 4px 20px color-mix(in srgb, var(--lrob-etk-cf-btn-bg) 55%, transparent);
}

/* Anyone who asks for less motion gets none of the movement — the colour and
   shadow cues survive, so no effect becomes invisible. */
@media (prefers-reduced-motion: reduce) {
    .lrob-etk-form[data-etk-button="scale"] .lrob-etk-form-submit:hover:not([disabled]) {
        transform: none;
    }
    .lrob-etk-form[data-etk-button] .lrob-etk-form-submit,
    .lrob-etk-form input,
    .lrob-etk-form select,
    .lrob-etk-form textarea {
        transition: none;
    }
}

/* ---------------------------------------------------------------------------
   Celebratory reveals + button micro-interactions.
   All CSS-only (no libraries), all decoration on ::before/::after so no markup
   changes, all scoped to .is-success so an *error* never gets confetti.
   Every one is neutralised under prefers-reduced-motion at the end of the file.
   --------------------------------------------------------------------------- */

.lrob-etk-form-status { position: relative; }

/* Pop — overshoot scale. */
@keyframes lrob-etk-cf-pop {
    0%   { opacity: 0; transform: scale(.92) translateY(4px); }
    60%  { opacity: 1; transform: scale(1.02) translateY(0); }
    100% { opacity: 1; transform: scale(1); }
}
.lrob-etk-form[data-etk-success="pop"] .lrob-etk-form-status {
    animation: lrob-etk-cf-pop var(--lrob-etk-cf-reveal-dur, 500ms) cubic-bezier(.34,1.56,.64,1) both;
}

/* Checkmark — a drawn tick badge ahead of the message. Two strokes rotated
   into an L, revealed by animating their length. */
.lrob-etk-form[data-etk-success="check"] .lrob-etk-form-status {
    animation: lrob-etk-cf-fade-in var(--lrob-etk-cf-reveal-dur, 500ms) ease-out both;
}
.lrob-etk-form[data-etk-success="check"] .lrob-etk-form-status.is-success {
    padding-left: 2.9em;
}
.lrob-etk-form[data-etk-success="check"] .lrob-etk-form-status.is-success::before {
    content: "";
    position: absolute;
    left: 1em;
    top: 50%;
    width: .5em;
    height: .95em;
    margin-top: -.55em;
    border: solid var(--lrob-etk-cf-success-fg);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    animation: lrob-etk-cf-check var(--lrob-etk-cf-reveal-dur, 500ms) cubic-bezier(.34,1.56,.64,1) both;
    animation-delay: calc(var(--lrob-etk-cf-reveal-dur, 500ms) * .35);
}
@keyframes lrob-etk-cf-check {
    0%   { transform: rotate(45deg) scale(0); opacity: 0; }
    70%  { transform: rotate(45deg) scale(1.15); opacity: 1; }
    100% { transform: rotate(45deg) scale(1); opacity: 1; }
}

/* Confetti — a single pseudo-element sprayed into many dots via box-shadow,
   drifting up and fading. Cheap, no markup, no library. */
.lrob-etk-form[data-etk-success="confetti"] .lrob-etk-form-status {
    animation: lrob-etk-cf-pop var(--lrob-etk-cf-reveal-dur, 500ms) cubic-bezier(.34,1.56,.64,1) both;
}
/* Button: ripple — a disc expanding from the centre on hover. */
.lrob-etk-form[data-etk-button="ripple"] .lrob-etk-form-submit,
.lrob-etk-form[data-etk-button="shine"] .lrob-etk-form-submit {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.lrob-etk-form[data-etk-button="ripple"] .lrob-etk-form-submit::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: .18;
    transform: translate(-50%, -50%);
    transition: width 520ms ease-out, height 520ms ease-out;
    z-index: -1;
}
.lrob-etk-form[data-etk-button="ripple"] .lrob-etk-form-submit:hover:not([disabled])::after {
    width: 260%;
    height: 260%;
}

/* Button: shine — a highlight sweeping across on hover. */
.lrob-etk-form[data-etk-button="shine"] .lrob-etk-form-submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
    transform: translateX(-120%);
    z-index: -1;
}
.lrob-etk-form[data-etk-button="shine"] .lrob-etk-form-submit:hover:not([disabled])::after {
    animation: lrob-etk-cf-shine 750ms ease-out;
}
@keyframes lrob-etk-cf-shine {
    to { transform: translateX(120%); }
}

/* Button: pulse — a breathing halo while hovered. */
@keyframes lrob-etk-cf-pulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lrob-etk-cf-btn-bg) 55%, transparent); }
    70%  { box-shadow: 0 0 0 12px color-mix(in srgb, var(--lrob-etk-cf-btn-bg) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lrob-etk-cf-btn-bg) 0%, transparent); }
}
.lrob-etk-form[data-etk-button="pulse"] .lrob-etk-form-submit:hover:not([disabled]) {
    animation: lrob-etk-cf-pulse 1400ms ease-out infinite;
}

/* Nobody who asked for reduced motion gets any of the above. The success
   colours and the checkmark still show — they carry the meaning; only the
   movement goes. */
@media (prefers-reduced-motion: reduce) {
    .lrob-etk-form[data-etk-success="pop"] .lrob-etk-form-status,
    .lrob-etk-form[data-etk-success="check"] .lrob-etk-form-status,
    .lrob-etk-form[data-etk-success="confetti"] .lrob-etk-form-status {
        animation: none;
    }
    .lrob-etk-form[data-etk-success="check"] .lrob-etk-form-status.is-success::before {
        animation: none;
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }
    .lrob-etk-form[data-etk-success="confetti"] .lrob-etk-form-status.is-success::after { display: none; }
    .lrob-etk-form[data-etk-button="ripple"] .lrob-etk-form-submit::after { transition: none; }
    .lrob-etk-form[data-etk-button="shine"] .lrob-etk-form-submit:hover:not([disabled])::after { animation: none; }
    .lrob-etk-form[data-etk-button="pulse"] .lrob-etk-form-submit:hover:not([disabled]) { animation: none; }
}

/* Rocket — launches up and away, leaving the message behind. */
.lrob-etk-form[data-etk-success="rocket"] .lrob-etk-form-status {
    animation: lrob-etk-cf-fade-in var(--lrob-etk-cf-reveal-dur, 500ms) ease-out both;
}
.lrob-etk-form[data-etk-success="rocket"] .lrob-etk-form-status.is-success {
    padding-left: 3.1em;
}
.lrob-etk-form[data-etk-success="rocket"] .lrob-etk-form-status.is-success::before {
    content: "🚀";
    position: absolute;
    left: .9em;
    top: 50%;
    font-size: 2.6em;
    line-height: 1;
    margin-top: -.5em;
    transform-origin: 50% 60%;
    /* linear: an easing curve is re-applied to EVERY keyframe segment, so a
       many-step path like this one stutters at each hop. The spacing between
       steps carries the acceleration instead. */
    animation: lrob-etk-cf-rocket calc(var(--lrob-etk-cf-reveal-dur, 500ms) * 3) linear both;
    animation-delay: calc(var(--lrob-etk-cf-reveal-dur, 500ms) * .45);
}
/* Smoke: one element sprayed into puffs, blurred, expanding as it trails. */
.lrob-etk-form[data-etk-success="rocket"] .lrob-etk-form-status.is-success::after {
    content: "";
    position: absolute;
    left: 1.9em;
    top: 62%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    filter: blur(3px);
    box-shadow:
        0 0 0 rgba(148,163,184,.85), -14px 8px 0 -1px rgba(148,163,184,.7),
        -30px 18px 0 -2px rgba(148,163,184,.55), -46px 30px 0 -3px rgba(148,163,184,.4),
        -60px 44px 0 -4px rgba(148,163,184,.25);
    animation: lrob-etk-cf-smoke calc(var(--lrob-etk-cf-reveal-dur, 500ms) * 3) ease-out both;
    animation-delay: calc(var(--lrob-etk-cf-reveal-dur, 500ms) * .5);
}
/* A gravity turn: climb vertically, then arc over to the right, with the nose
   following the path throughout. The 🚀 glyph already points up-right, so
   -45deg aims it straight up and +40deg lays it over to the right — the old
   -42deg at the end pointed it backwards, which is why it read as a crash. */
@keyframes lrob-etk-cf-rocket {
    0%   { opacity: 0; transform: translate(0, 24px) rotate(-45deg) scale(.5); }
    8%   { opacity: 1; transform: translate(0, 6px) rotate(-45deg) scale(1); }
    20%  { opacity: 1; transform: translate(0, 0) rotate(-45deg) scale(1); }
    30%  { opacity: 1; transform: translate(0, -24px) rotate(-45deg) scale(1); }
    42%  { opacity: 1; transform: translate(4px, -64px) rotate(-42deg) scale(.97); }
    54%  { opacity: 1; transform: translate(20px, -106px) rotate(-32deg) scale(.93); }
    66%  { opacity: 1; transform: translate(52px, -144px) rotate(-18deg) scale(.87); }
    78%  { opacity: 1; transform: translate(106px, -174px) rotate(2deg) scale(.79); }
    90%  { opacity: .9; transform: translate(186px, -194px) rotate(24deg) scale(.7); }
    100% { opacity: 0; transform: translate(300px, -208px) rotate(40deg) scale(.6); }
}
/* Exhaust hangs where the rocket was and drifts, rather than chasing it. */
@keyframes lrob-etk-cf-smoke {
    0%   { opacity: 0; transform: translate(0, 14px) scale(.35); }
    18%  { opacity: .95; transform: translate(0, 2px) scale(.9); }
    50%  { opacity: .6; transform: translate(10px, -26px) scale(1.7); }
    100% { opacity: 0; transform: translate(46px, -74px) scale(2.9); }
}

/* Letter — an envelope lifting off and flying away, message settling in.
   This is also the DEFAULT reveal, hence the :not() arm on each selector. */
.lrob-etk-form[data-etk-success="letter"] .lrob-etk-form-status,
.lrob-etk-form:not([data-etk-success]) .lrob-etk-form-status {
    animation: lrob-etk-cf-fade-in var(--lrob-etk-cf-reveal-dur, 500ms) ease-out both;
}
.lrob-etk-form[data-etk-success="letter"] .lrob-etk-form-status.is-success,
.lrob-etk-form:not([data-etk-success]) .lrob-etk-form-status.is-success {
    padding-left: 3.1em;
}
.lrob-etk-form[data-etk-success="letter"] .lrob-etk-form-status.is-success::before,
.lrob-etk-form:not([data-etk-success]) .lrob-etk-form-status.is-success::before {
    content: "✉️";
    position: absolute;
    left: .9em;
    top: 50%;
    font-size: 2.3em;
    line-height: 1;
    margin-top: -.5em;
    transform-origin: 50% 60%;
    animation: lrob-etk-cf-letter calc(var(--lrob-etk-cf-reveal-dur, 500ms) * 2.8) cubic-bezier(.4,.02,.6,1) both;
    animation-delay: calc(var(--lrob-etk-cf-reveal-dur, 500ms) * .35);
}
/* Wobble on the way up, then sail off shrinking into the distance. */
@keyframes lrob-etk-cf-letter {
    0%   { opacity: 0; transform: translate(-10px, 22px) rotate(-14deg) scale(.5); }
    16%  { opacity: 1; transform: translate(0, 2px) rotate(-4deg) scale(1.06); }
    28%  { opacity: 1; transform: translate(2px, 6px) rotate(6deg) scale(1); }
    40%  { opacity: 1; transform: translate(-2px, -4px) rotate(-8deg) scale(1.04); }
    52%  { opacity: 1; transform: translate(6px, -14px) rotate(4deg) scale(1); }
    100% { opacity: 0; transform: translate(210px, -120px) rotate(24deg) scale(.28); }
}

/* --- What happens to the form after a successful send ---------------------
   Hiding the body has always been the behaviour; `keep` restores it and
   `takeover` turns the message into a panel occupying the space the form
   left, so the celebration has somewhere to happen. */
.lrob-etk-form[data-etk-sent="keep"].is-sent .lrob-etk-form-body {
    display: grid;
}
.lrob-etk-form:not([data-etk-sent="keep"]).is-sent .lrob-etk-form-status {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 8em;
    padding: 2.4em 1.6em;
    font-size: 1.12em;
    margin-top: 0;
}
/* Centre the decoration above the text rather than floating at the left edge.
   Only the ICON reveals get this: confetti and fireworks use ::before as a
   particle layer, and making that static would collapse the burst. */
.lrob-etk-form:not([data-etk-sent="keep"]).is-sent .lrob-etk-form-status.is-success {
    flex-direction: column;
    gap: .6em;
    padding-left: 1.6em;
}
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="check"].is-sent .lrob-etk-form-status.is-success::before {
    position: static;
    margin: 0;
    font-size: 2.2em;
}
/* The flying icons get bigger in the panel, but stay anchored to the LEFT of
   the message — that's where they launch from. Centring them (position:static
   in the flex column) put them above the text, so the flight started from the
   middle for no reason. The checkmark above is a static badge, so it centres. */
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="rocket"].is-sent .lrob-etk-form-status.is-success,
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="letter"].is-sent .lrob-etk-form-status.is-success,
.lrob-etk-form:not([data-etk-sent="keep"]):not([data-etk-success]).is-sent .lrob-etk-form-status.is-success {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding-left: 4.4em;
}
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="rocket"].is-sent .lrob-etk-form-status.is-success::before,
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="letter"].is-sent .lrob-etk-form-status.is-success::before,
.lrob-etk-form:not([data-etk-sent="keep"]):not([data-etk-success]).is-sent .lrob-etk-form-status.is-success::before {
    font-size: 3.2em;
    left: .5em;
}
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="confetti"].is-sent .lrob-etk-form-status.is-success::after,
.lrob-etk-form:not([data-etk-sent="keep"])[data-etk-success="confetti"].is-sent .lrob-etk-form-status.is-success::before {
    top: 1.6em;
}

@media (prefers-reduced-motion: reduce) {
    .lrob-etk-form[data-etk-success="rocket"] .lrob-etk-form-status.is-success::before,
    .lrob-etk-form[data-etk-success="letter"] .lrob-etk-form-status.is-success::before {
        /* Keep the icon, drop the flight. */
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Fireworks and the second confetti layer are pure motion — nothing is
       lost by dropping them entirely. */
    .lrob-etk-form[data-etk-success="fireworks"] .lrob-etk-form-status,
    .lrob-etk-form[data-etk-success="fireworks"] .lrob-etk-form-status.is-success::before,
    .lrob-etk-form[data-etk-success="fireworks"] .lrob-etk-form-status.is-success::after,
    .lrob-etk-form[data-etk-success="confetti"] .lrob-etk-form-status.is-success::before {
        animation: none;
    }
    .lrob-etk-form[data-etk-success="fireworks"] .lrob-etk-form-status.is-success::before,
    .lrob-etk-form[data-etk-success="fireworks"] .lrob-etk-form-status.is-success::after,
    .lrob-etk-form[data-etk-success="confetti"] .lrob-etk-form-status.is-success::before { display: none; }
    /* Default reveal is now the letter: keep its envelope, drop the flight. */
    .lrob-etk-form:not([data-etk-success]) .lrob-etk-form-status.is-success::before {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Rocket exhaust is pure motion. */
    .lrob-etk-form[data-etk-success="rocket"] .lrob-etk-form-status.is-success::after { display: none; }
}

/* --- Particle bursts (confetti / fireworks) -------------------------------
   Spawned by assets/js/form-effects.js. One keyframe, read through per-piece
   custom properties, so every piece flies its own arc — a box-shadow swarm
   shares one transform and can only ever move as a rigid bar. */
.lrob-etk-form[data-etk-success="confetti"] .lrob-etk-form-status,
.lrob-etk-form[data-etk-success="fireworks"] .lrob-etk-form-status {
    animation: lrob-etk-cf-pop var(--lrob-etk-cf-reveal-dur, 500ms) cubic-bezier(.34,1.56,.64,1) both;
    overflow: visible;
}

.lrob-etk-cf-particle {
    position: absolute;
    left: 50%;
    top: 45%;
    width: var(--w, 8px);
    height: var(--h, 12px);
    background: var(--c, #f43f5e);
    border-radius: 1px;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
    /* linear: the keyframe spacing is the physics. An easing curve would
       smooth out exactly the acceleration that reads as gravity. */
    animation: lrob-etk-cf-particle-fall var(--dur, 1800ms) linear var(--delay, 0ms) both;
}

/* Rise fast, decelerate to an apex, then accelerate down past the start. */
@keyframes lrob-etk-cf-particle-fall {
    0%   { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    6%   { opacity: 1; }
    18%  { transform: translate(calc(var(--dx) * .18), calc(var(--up) * .62)) rotate(calc(var(--rot) * .18)); }
    32%  { transform: translate(calc(var(--dx) * .30), var(--up)) rotate(calc(var(--rot) * .32)); }
    46%  { transform: translate(calc(var(--dx) * .42), calc(var(--up) * .80)) rotate(calc(var(--rot) * .46)); }
    64%  { transform: translate(calc(var(--dx) * .60), calc(var(--up) * .10)) rotate(calc(var(--rot) * .64)); }
    82%  { opacity: 1; transform: translate(calc(var(--dx) * .80), calc(var(--dy) * .48)) rotate(calc(var(--rot) * .82)); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}

/* Fireworks: straight radial expansion, no fall. */
.lrob-etk-cf-particle.is-fireworks {
    border-radius: 50%;
    animation-name: lrob-etk-cf-particle-burst;
}
@keyframes lrob-etk-cf-particle-burst {
    0%   { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0deg); }
    10%  { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); }
}

@media (prefers-reduced-motion: reduce) {
    .lrob-etk-cf-particle { display: none; }
}

/* Firework shell: the climb before the detonation. Trailing spark via a soft
   shadow below it, so it reads as motion rather than a floating dot. */
.lrob-etk-cf-shell {
    position: absolute;
    top: 45%;
    width: 3px;
    height: 10px;
    margin-left: -1px;
    border-radius: 2px;
    background: var(--c, #fbbf24);
    box-shadow: 0 8px 10px -3px var(--c, #fbbf24);
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
    animation: lrob-etk-cf-shell-rise var(--dur, 750ms) cubic-bezier(.15,.6,.35,1) var(--delay, 0ms) both;
}
@keyframes lrob-etk-cf-shell-rise {
    0%   { opacity: 0; transform: translateY(70px) scaleY(.5); }
    12%  { opacity: 1; }
    82%  { opacity: 1; }
    /* Fades out at the top: the shell "becomes" the burst that starts there. */
    100% { opacity: 0; transform: translateY(var(--apex, -90px)) scaleY(1.15); }
}
@media (prefers-reduced-motion: reduce) {
    .lrob-etk-cf-shell { display: none; }
}

/* --- Funky effects --------------------------------------------------------
   Animated colour cycles. box-shadow can't be hue-rotated without filter
   (which would drag every child with it), so the colours are stepped through
   as explicit keyframe stops. All disabled under prefers-reduced-motion at the
   bottom of this file. */

@keyframes lrob-etk-cf-rgb {
    0%   { box-shadow: 0 0 0 3px rgba(255, 0, 128, .45), 0 0 18px rgba(255, 0, 128, .40); }
    25%  { box-shadow: 0 0 0 3px rgba(140, 0, 255, .45), 0 0 18px rgba(140, 0, 255, .40); }
    50%  { box-shadow: 0 0 0 3px rgba(0, 200, 255, .45), 0 0 18px rgba(0, 200, 255, .40); }
    75%  { box-shadow: 0 0 0 3px rgba(60, 255, 120, .45), 0 0 18px rgba(60, 255, 120, .40); }
    100% { box-shadow: 0 0 0 3px rgba(255, 0, 128, .45), 0 0 18px rgba(255, 0, 128, .40); }
}
.lrob-etk-form[data-etk-focus="rainbow"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="rainbow"] select:focus,
.lrob-etk-form[data-etk-focus="rainbow"] textarea:focus {
    animation: lrob-etk-cf-rgb 3s linear infinite;
}

/* Field hover: a soft accent halo that doesn't move anything. */
.lrob-etk-form[data-etk-field="halo"] input:not([type="checkbox"]):not([type="radio"]):hover:not(:focus),
.lrob-etk-form[data-etk-field="halo"] select:hover:not(:focus),
.lrob-etk-form[data-etk-field="halo"] textarea:hover:not(:focus) {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lrob-etk-cf-accent) 14%, transparent),
                0 0 16px color-mix(in srgb, var(--lrob-etk-cf-accent) 22%, transparent);
    border-color: color-mix(in srgb, var(--lrob-etk-cf-accent) 55%, var(--lrob-etk-cf-border));
}

/* Button: full rainbow cycle, and a squash-and-stretch jelly. */
.lrob-etk-form[data-etk-button="rainbow"] .lrob-etk-form-submit:hover:not([disabled]) {
    animation: lrob-etk-cf-rgb 2.2s linear infinite;
}
@keyframes lrob-etk-cf-jelly {
    0%   { transform: scale(1, 1); }
    25%  { transform: scale(1.12, .88); }
    45%  { transform: scale(.92, 1.08); }
    65%  { transform: scale(1.05, .96); }
    82%  { transform: scale(.98, 1.02); }
    100% { transform: scale(1, 1); }
}
.lrob-etk-form[data-etk-button="jelly"] .lrob-etk-form-submit:hover:not([disabled]) {
    animation: lrob-etk-cf-jelly 700ms ease-out;
}

/* Ambient form atmosphere — always on, no interaction needed. */
@keyframes lrob-etk-cf-aurora {
    0%   { box-shadow: 0 8px 40px -8px rgba(56, 189, 248, .55), 0 -6px 34px -10px rgba(168, 85, 247, .45); }
    33%  { box-shadow: 0 8px 40px -8px rgba(168, 85, 247, .55), 0 -6px 34px -10px rgba(52, 211, 153, .45); }
    66%  { box-shadow: 0 8px 40px -8px rgba(52, 211, 153, .55), 0 -6px 34px -10px rgba(56, 189, 248, .45); }
    100% { box-shadow: 0 8px 40px -8px rgba(56, 189, 248, .55), 0 -6px 34px -10px rgba(168, 85, 247, .45); }
}
.lrob-etk-form[data-etk-formfx="aurora"] { animation: lrob-etk-cf-aurora 9s ease-in-out infinite; }
.lrob-etk-form[data-etk-formfx="rgb"]    { animation: lrob-etk-cf-rgb 4.5s linear infinite; }

}

@media (prefers-reduced-motion: reduce) {
    /* Every one of these is a loop — nothing is lost by stopping them, but a
       focused field must keep an indicator, so it falls back to a static ring. */
    .lrob-etk-form[data-etk-formfx],
    .lrob-etk-form[data-etk-formfx]::after,
    .lrob-etk-form[data-etk-button="rainbow"] .lrob-etk-form-submit:hover:not([disabled]),
    .lrob-etk-form[data-etk-button="jelly"] .lrob-etk-form-submit:hover:not([disabled]) {
        animation: none;
    }
    .lrob-etk-form[data-etk-focus="rainbow"] input:focus,
    .lrob-etk-form[data-etk-focus="rainbow"] select:focus,
    .lrob-etk-form[data-etk-focus="rainbow"] textarea:focus {
        animation: none;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--lrob-etk-cf-accent) 28%, transparent);
    }
}

/* --- Animated effect engine ----------------------------------------------
   One vocabulary shared by the focused field and the form ambience, tuned by
   per-target vars: focus/ambience each own a glow size and a tempo.
   Keyframes read a local --etk-fx-glow alias that each rule points at the
   right one, since a keyframe cannot know which element it was applied to.

   @property is what lets a conic gradient actually ROTATE — an angle in a
   custom property is otherwise an unanimatable string. Where it's
   unsupported the gradient simply stands still, which still looks deliberate.
   ------------------------------------------------------------------------- */
@property --lrob-etk-cf-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes lrob-etk-cf-spin { to { --lrob-etk-cf-angle: 360deg; } }

/* The rotating ring itself. Masked to the border box so the middle stays
   transparent — a plain conic-gradient behind the form would flood it. */
.lrob-etk-form[data-etk-formfx="rgb"],
.lrob-etk-form[data-etk-formfx="plasma"] {
    position: relative;
    isolation: isolate;
}
.lrob-etk-form[data-etk-formfx="rgb"],
.lrob-etk-form[data-etk-formfx="plasma"] {
    /* The ring IS the border while it's on — otherwise you see both. */
    border-color: transparent;
}
.lrob-etk-form[data-etk-formfx="rgb"]::before,
.lrob-etk-form[data-etk-formfx="plasma"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--lrob-etk-cf-ring-width, 3px);
    pointer-events: none;
    z-index: 1;
    background: conic-gradient(from var(--lrob-etk-cf-angle),
        #ff0080, #7c3aed, #22d3ee, #34d399, #fbbf24, #ff5f1f, #ff0080);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    animation: lrob-etk-cf-spin var(--lrob-etk-cf-form-speed, 4.5s) linear infinite;
}
.lrob-etk-form[data-etk-formfx="plasma"]::before {
    filter: blur(6px) saturate(1.4);
    padding: calc(var(--lrob-etk-cf-ring-width, 3px) + 2px);
}

/* Same ring on the focused field. Inputs can't carry pseudo-elements, so the
   gradient rides the element's own border box via a two-layer background. */
.lrob-etk-form[data-etk-focus="rgb"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="rgb"] select:focus,
.lrob-etk-form[data-etk-focus="rgb"] textarea:focus,
.lrob-etk-form[data-etk-focus="plasma"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="plasma"] select:focus,
.lrob-etk-form[data-etk-focus="plasma"] textarea:focus {
    border-color: transparent;
    background-image:
        linear-gradient(var(--lrob-etk-cf-bg), var(--lrob-etk-cf-bg)),
        conic-gradient(from var(--lrob-etk-cf-angle),
            #ff0080, #7c3aed, #22d3ee, #34d399, #fbbf24, #ff5f1f, #ff0080);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-width: max(var(--lrob-etk-cf-border-width), var(--lrob-etk-cf-ring-width, 2px));
    box-shadow: 0 0 var(--lrob-etk-cf-focus-glow, 18px) color-mix(in srgb, var(--lrob-etk-cf-accent) 35%, transparent);
    animation: lrob-etk-cf-spin var(--lrob-etk-cf-focus-speed, 4.5s) linear infinite;
}

/* Steady accent glow, and a slow breathing version of it. */
.lrob-etk-form[data-etk-focus="glow"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="glow"] select:focus,
.lrob-etk-form[data-etk-focus="glow"] textarea:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lrob-etk-cf-accent) 22%, transparent),
                0 4px var(--lrob-etk-cf-focus-glow, 18px) color-mix(in srgb, var(--lrob-etk-cf-accent) 30%, transparent);
}
@keyframes lrob-etk-cf-breathe-fx {
    0%, 100% { box-shadow: 0 0 var(--etk-fx-glow, 18px) color-mix(in srgb, var(--lrob-etk-cf-accent) 14%, transparent); }
    50%      { box-shadow: 0 0 var(--etk-fx-glow, 18px) color-mix(in srgb, var(--lrob-etk-cf-accent) 48%, transparent); }
}
.lrob-etk-form[data-etk-focus="breathe"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="breathe"] select:focus,
.lrob-etk-form[data-etk-focus="breathe"] textarea:focus {
    --etk-fx-glow: var(--lrob-etk-cf-focus-glow, 18px);
    animation: lrob-etk-cf-breathe-fx var(--lrob-etk-cf-focus-speed, 4.5s) ease-in-out infinite;
}
/* Form-scale breathe/ember animate an OVERLAY'S OPACITY, not the shadow.
   box-shadow is not compositor-friendly: animating it repaints the element
   every frame, which is visibly choppy across a whole form. Opacity is
   composited, so the same look runs smooth. */
.lrob-etk-form[data-etk-formfx="breathe"],
.lrob-etk-form[data-etk-formfx="ember"] { position: relative; }

.lrob-etk-form[data-etk-formfx="breathe"]::after,
.lrob-etk-form[data-etk-formfx="ember"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    /* Above the background, not behind it: -1 sank the glow under the admin
       card's opaque background. Transparent box + outside-drawn shadow, so
       nothing is covered. */
    z-index: 1;
    opacity: .25;
    will-change: opacity;
    animation: lrob-etk-cf-pulse-opacity var(--lrob-etk-cf-form-speed, 4.5s) ease-in-out infinite;
}
.lrob-etk-form[data-etk-formfx="breathe"]::after {
    box-shadow: 0 0 var(--lrob-etk-cf-form-glow, 18px) color-mix(in srgb, var(--lrob-etk-cf-accent) 55%, transparent);
}
.lrob-etk-form[data-etk-formfx="ember"]::after {
    box-shadow: 0 0 var(--lrob-etk-cf-form-glow, 18px) rgba(251, 146, 60, .75),
                0 0 calc(var(--lrob-etk-cf-form-glow, 18px) * 2) rgba(239, 68, 68, .45);
}
@keyframes lrob-etk-cf-pulse-opacity {
    0%, 100% { opacity: .22; }
    50%      { opacity: 1; }
}

/* Ember: warm, uneven, fire-like. */
@keyframes lrob-etk-cf-ember {
    0%   { box-shadow: 0 0 var(--etk-fx-glow, 18px) rgba(251, 146, 60, .50), 0 0 calc(var(--etk-fx-glow, 18px) * 2) rgba(239, 68, 68, .20); }
    35%  { box-shadow: 0 0 var(--etk-fx-glow, 18px) rgba(251, 191, 36, .70), 0 0 calc(var(--etk-fx-glow, 18px) * 2) rgba(239, 68, 68, .38); }
    60%  { box-shadow: 0 0 var(--etk-fx-glow, 18px) rgba(239, 68, 68, .60), 0 0 calc(var(--etk-fx-glow, 18px) * 2) rgba(251, 146, 60, .28); }
    100% { box-shadow: 0 0 var(--etk-fx-glow, 18px) rgba(251, 146, 60, .50), 0 0 calc(var(--etk-fx-glow, 18px) * 2) rgba(239, 68, 68, .20); }
}
.lrob-etk-form[data-etk-formfx="ember"],
.lrob-etk-form[data-etk-focus="ember"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="ember"] select:focus,
.lrob-etk-form[data-etk-focus="ember"] textarea:focus {
    animation: lrob-etk-cf-ember var(--lrob-etk-cf-focus-speed, 4.5s) ease-in-out infinite;
}

/* Aurora + rainbow fade now honour the shared speed + glow vars. */
.lrob-etk-form[data-etk-formfx="aurora"],
.lrob-etk-form[data-etk-focus="aurora"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="aurora"] select:focus,
.lrob-etk-form[data-etk-focus="aurora"] textarea:focus {
    animation: lrob-etk-cf-aurora var(--lrob-etk-cf-focus-speed, 9s) ease-in-out infinite;
}
.lrob-etk-form[data-etk-formfx="rainbow"],
.lrob-etk-form[data-etk-focus="rainbow"] input:not([type="checkbox"]):not([type="radio"]):focus,
.lrob-etk-form[data-etk-focus="rainbow"] select:focus,
.lrob-etk-form[data-etk-focus="rainbow"] textarea:focus {
    animation: lrob-etk-cf-rgb var(--lrob-etk-cf-focus-speed, 3s) linear infinite;
}
.lrob-etk-form[data-etk-formfx="glow"] {
    box-shadow: 0 4px var(--lrob-etk-cf-form-glow, 18px) color-mix(in srgb, var(--lrob-etk-cf-accent) 28%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .lrob-etk-form[data-etk-formfx]::before,
    .lrob-etk-form[data-etk-focus="rgb"] input:focus,
    .lrob-etk-form[data-etk-focus="plasma"] input:focus,
    .lrob-etk-form[data-etk-focus="ember"] input:focus,
    .lrob-etk-form[data-etk-focus="breathe"] input:focus,
    .lrob-etk-form[data-etk-focus="aurora"] input:focus {
        animation: none;
    }
}

/* ---- Conversation thread (renders in the form's place, inherits its vars) ---- */
.lrob-etk-thread {
    display: flex;
    flex-direction: column;
    gap: var(--lrob-etk-cf-spacing);
}
.lrob-etk-thread-head { margin: 0; }
.lrob-etk-thread-title {
    margin: 0 0 .25em;
    font-size: 1.35em;
    line-height: 1.25;
    color: var(--lrob-etk-cf-fg);
}
.lrob-etk-thread-sub {
    margin: 0;
    font-size: .9em;
    color: var(--lrob-etk-cf-muted);
}
.lrob-etk-thread-messages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
/* Mail-style thread: stacked messages separated by rules; the site's replies
   are indented with an accent rule, like a quoted reply in a mail client. */
.lrob-etk-thread-msg {
    padding: calc(var(--lrob-etk-cf-spacing) * .9) 0;
    border-top: var(--lrob-etk-cf-border-width) solid var(--lrob-etk-cf-border);
    color: var(--lrob-etk-cf-fg);
    font-size: .95em;
    line-height: 1.55;
}
.lrob-etk-thread-msg:first-child { border-top: 0; padding-top: 0; }
.lrob-etk-thread-msg--admin {
    margin-left: clamp(1rem, 6%, 2.5rem);
    padding-left: 1em;
    border-left: 3px solid var(--lrob-etk-cf-accent);
}
.lrob-etk-thread-msg-meta {
    display: block;
    margin-bottom: .4em;
    font-size: .82em;
    color: var(--lrob-etk-cf-muted);
}
.lrob-etk-thread-msg-meta strong { color: var(--lrob-etk-cf-fg); }
.lrob-etk-thread-msg-body { overflow-wrap: anywhere; }
.lrob-etk-thread-msg-body > :first-child { margin-top: 0; }
.lrob-etk-thread-msg-body > :last-child { margin-bottom: 0; }
.lrob-etk-thread-msg-body a { color: var(--lrob-etk-cf-accent); }
.lrob-etk-thread-values {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(100px, 160px) minmax(0, 1fr);
    gap: .35em 1em;
}
.lrob-etk-thread-values dt { color: var(--lrob-etk-cf-muted); font-weight: var(--lrob-etk-cf-label-weight, 600); font-size: .9em; }
.lrob-etk-thread-values dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .lrob-etk-thread-values { grid-template-columns: 1fr; gap: .15em 0; }
    .lrob-etk-thread-values dd { margin-bottom: .5em; }
}
.lrob-etk-thread-reply {
    display: flex;
    flex-direction: column;
    gap: var(--lrob-etk-cf-spacing);
    padding-top: var(--lrob-etk-cf-spacing);
    border-top: var(--lrob-etk-cf-border-width) solid var(--lrob-etk-cf-border);
}
