.lct-public-shell,
.lct-public-shell * { box-sizing: border-box; }

.lct-public-shell {
    --lct-primary: #2159a8;
    --lct-primary-dark: #17437f;
    --lct-accent: #54cf72;
    --lct-text: #202b38;
    --lct-muted: #667085;
    --lct-border: #dce3eb;
    --lct-soft: #f6f8fb;
    width: min(900px, calc(100% - 32px));
    margin: 40px auto;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--lct-border);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
    color: var(--lct-text);
    font-family: inherit;
}

.lct-public-shell h2 { margin: 8px 0 6px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.lct-public-shell h3 { margin: 4px 0 8px; font-size: clamp(23px, 3vw, 32px); line-height: 1.2; }
.lct-intro, .lct-step-heading p { margin: 0; color: var(--lct-muted); }
.lct-public-badge { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #edf3ff; color: var(--lct-primary); font-weight: 700; font-size: 14px; }

.lct-progress { margin: 28px 0 34px; }
.lct-progress-bar { height: 9px; overflow: hidden; background: #edf1f5; border-radius: 999px; }
.lct-progress-bar span { display: block; width: 33.333%; height: 100%; background: linear-gradient(90deg, var(--lct-primary), var(--lct-accent)); border-radius: inherit; transition: width .28s ease; }
.lct-progress-text { margin-top: 9px; text-align: right; color: var(--lct-muted); font-size: 14px; }

.lct-step { animation: lctFade .25s ease; }
@keyframes lctFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lct-step-kicker { color: var(--lct-primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lct-step-heading { margin-bottom: 26px; }

.lct-grid-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lct-field-full { grid-column: 1 / -1; }
.lct-field label, .lct-choice-group legend { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.lct-field input, .lct-field select, .lct-field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--lct-border); border-radius: 10px;
    background: #fff; color: var(--lct-text); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.lct-field textarea { resize: vertical; }
.lct-field input:focus, .lct-field select:focus, .lct-field textarea:focus { border-color: var(--lct-primary); box-shadow: 0 0 0 4px rgba(33, 89, 168, .1); }
.lct-field .is-invalid { border-color: #d92d20; }

.lct-choice-group { margin: 28px 0 0; padding: 0; border: 0; }
.lct-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.lct-choices label { cursor: pointer; }
.lct-choices input { position: absolute; opacity: 0; pointer-events: none; }
.lct-choices span { display: flex; align-items: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--lct-border); border-radius: 10px; background: #fff; transition: .2s; }
.lct-choices input:checked + span { border-color: var(--lct-primary); background: #edf3ff; color: var(--lct-primary-dark); box-shadow: 0 0 0 2px rgba(33, 89, 168, .1); }
.lct-choices-state { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lct-choices-state span { display: block; min-height: 92px; }
.lct-choices-state strong, .lct-choices-state small { display: block; }
.lct-choices-state small { margin-top: 5px; color: var(--lct-muted); line-height: 1.35; }

.lct-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.lct-actions-end { justify-content: flex-end; }
.lct-btn { min-height: 50px; padding: 12px 24px; border: 0; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; transition: transform .15s, background .15s, opacity .15s; }
.lct-btn:hover { transform: translateY(-1px); }
.lct-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.lct-btn-primary { background: var(--lct-primary); color: #fff; }
.lct-btn-primary:hover { background: var(--lct-primary-dark); }
.lct-btn-secondary { background: #eef2f6; color: var(--lct-text); }

.lct-upload { display: grid; place-items: center; min-height: 180px; padding: 24px; border: 2px dashed #b8c4d2; border-radius: 14px; background: var(--lct-soft); text-align: center; cursor: pointer; transition: .2s; }
.lct-upload:hover { border-color: var(--lct-primary); background: #f1f6ff; }
.lct-upload-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; background: var(--lct-primary); color: #fff; font-size: 28px; line-height: 1; }
.lct-upload strong, .lct-upload small { display: block; }
.lct-upload small { margin-top: 4px; color: var(--lct-muted); }
.lct-file-input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important; }
.lct-photo-preview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.lct-photo-item { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #eef2f6; }
.lct-photo-item img { width: 100%; height: 100%; object-fit: cover; }

.lct-privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; color: var(--lct-muted); font-size: 14px; line-height: 1.45; }
.lct-privacy input { margin-top: 3px; }
.lct-form-message { min-height: 24px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.lct-form-message.is-error { color: #b42318; }
.lct-form-message.is-warning { color: #b54708; }
.lct-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lct-success { padding: 28px 0 10px; text-align: center; animation: lctFade .3s ease; }
.lct-success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #eaf9ee; color: #239b47; font-size: 38px; font-weight: 900; }
.lct-success p { color: var(--lct-muted); }
.lct-reference { display: inline-block; padding: 10px 14px; border-radius: 8px; background: var(--lct-soft); color: var(--lct-text) !important; }

@media (max-width: 720px) {
    .lct-public-shell { width: calc(100% - 20px); margin: 20px auto; padding: 24px 18px; border-radius: 14px; }
    .lct-grid-fields, .lct-choices-state { grid-template-columns: 1fr; }
    .lct-field-full { grid-column: auto; }
    .lct-actions { flex-direction: column-reverse; }
    .lct-btn { width: 100%; }
    .lct-photo-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
