.lf-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.lf-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 960px;
    background: #f0eefa;
    padding: 24px 0 24px;
}
.lf-header {
    background: #1a0050;
    border-radius: 8px 8px 0 0;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lf-header__title { color: #fff; font-size: 16px; font-weight: 700; }
.lf-header__sub { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 2px; }
.lf-status {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 20px;
}
.lf-status--active { background: rgba(34,197,94,0.15); color: #16a34a; }
.lf-status--inactive { background: rgba(124,58,237,0.2); color: #7c3aed; }
.lf-status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lf-body {
    display: flex; gap: 20px;
    background: #f0eefa;
    padding: 20px 0 0;
    align-items: flex-start;
}
.lf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lf-sidebar { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.lf-notice {
    display: flex; align-items: center; gap: 10px;
    background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
    padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 4px;
}
.lf-card {
    background: #fff;
    border: 1px solid rgba(100,50,180,0.12);
    border-radius: 12px; overflow: hidden;
}
.lf-card__header { padding: 20px 22px 0; }
.lf-card__header h2 { font-size: 16px; font-weight: 700; color: #1a0050; margin-bottom: 6px; }
.lf-card__header h3 { font-size: 14px; font-weight: 700; color: #1a0050; margin-bottom: 10px; }
.lf-card__header p { font-size: 13px; color: #6b5e8a; line-height: 1.6; }
.lf-card__header p a { color: #7c3aed; }
.lf-card__header p code {
    background: #f0eefa; padding: 1px 5px; border-radius: 4px;
    font-size: 11px; color: #7c3aed; font-family: monospace;
}
.lf-card__body { padding: 18px 22px; }
.lf-card__footer {
    padding: 14px 22px;
    background: #faf8ff;
    border-top: 1px solid rgba(100,50,180,0.08);
}
.lf-field { margin-bottom: 20px; }
.lf-field:last-child { margin-bottom: 0; }
.lf-field label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #2d1b69; margin-bottom: 5px;
}
.lf-hint { font-size: 12px; color: #7c6fa0; margin-bottom: 8px; line-height: 1.5; }
.lf-hint code {
    background: #f0eefa; padding: 1px 5px; border-radius: 4px;
    font-size: 11px; color: #7c3aed; font-family: monospace;
}
.lf-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; font-family: monospace; }
.lf-badge--head { background: #ede9fe; color: #6d28d9; }
.lf-badge--body { background: #fce7f3; color: #be185d; }
.lf-field textarea {
    width: 100%; background: #faf8ff;
    border: 1.5px solid rgba(124,58,237,0.2);
    border-radius: 8px; color: #1e1b4b;
    font-family: "Courier New", monospace;
    font-size: 12px; line-height: 1.6; padding: 10px 12px; resize: vertical;
}
.lf-field textarea:focus {
    outline: none; border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.lf-field textarea::placeholder { color: #c4b5fd; }
.lf-preview {
    margin-top: 8px; background: #faf8ff;
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 6px; padding: 10px 12px;
}
.lf-preview span {
    display: block; font-size: 11px; color: #9c8ab5;
    margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em;
}
.lf-preview code {
    display: block; font-size: 11px; color: #7c3aed;
    word-break: break-all; white-space: pre-wrap; font-family: monospace;
}
.lf-btn,
.lf-btn.button,
.lf-btn.button-primary {
    background: #7c3aed !important;
    border-color: #6d28d9 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 9px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    cursor: pointer;
}
.lf-btn:hover,
.lf-btn.button:hover,
.lf-btn.button-primary:hover {
    background: #6d28d9 !important;
    border-color: #5b21b6 !important;
}
.lf-promo {
    background-color: #4c1d95 !important;
    border-radius: 12px;
    padding: 20px;
    border: none;
}
.lf-promo__eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: rgba(255,255,255,0.6) !important; margin-bottom: 8px;
}
.lf-promo__heading {
    font-size: 15px; font-weight: 700; color: #fff !important;
    margin-bottom: 10px; line-height: 1.35;
}
.lf-promo__body {
    font-size: 13px; color: rgba(255,255,255,0.75) !important;
    line-height: 1.55; margin-bottom: 14px;
}
.lf-promo__link {
    display: inline-block; background: #fff; color: #7c3aed !important;
    font-size: 13px; font-weight: 600; padding: 7px 16px;
    border-radius: 6px; text-decoration: none;
}
.lf-promo__link:hover { background: #ede9fe; }
.lf-card--links ul { list-style: none; padding: 0; }
.lf-card--links li { margin-bottom: 8px; }
.lf-card--links li:last-child { margin-bottom: 0; }
.lf-card--links a { color: #7c3aed; font-size: 13px; text-decoration: none; font-weight: 500; }
.lf-card--links a:hover { text-decoration: underline; }
.lf-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 6px; overflow: hidden; }
.lf-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }