.lf-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}
.lf-eyebrow{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--primary,#173c64)}
.lf-lede{max-width:65ch}.lf-bar{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.lf-bar button[aria-pressed="true"]{background:#173c64;color:white}
.lf-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:20px}
.lf-steps{display:flex;flex-direction:column;gap:12px}.lf-item{padding:18px;background:var(--surface,#fff);border:1px solid #ccd6df;border-radius:12px;min-width:0}
.lf-item h3{margin:8px 0;font-size:1.08rem}.lf-item p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.lf-meta{font-size:.84rem;color:#43536a;display:flex;gap:9px;flex-wrap:wrap}.lf-tag{padding:3px 8px;border-radius:5px;background:#edf2f6;color:#243c54;font-size:.8rem;font-weight:700}
.lf-due{color:#87321e;font-weight:700}.lf-form{display:grid;gap:14px}.lf-form .lf-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lf-form label{display:grid;gap:6px;font-weight:700}.lf-form input,.lf-form textarea,.lf-form select{width:100%;min-width:0}
.lf-form textarea{min-height:100px}.lf-form .lf-check{display:flex;align-items:flex-start;gap:10px;font-weight:500}
.lf-check input{width:20px;min-width:20px;height:20px}.lf-form fieldset{border:1px solid #c9d4df;border-radius:10px;padding:16px;min-width:0}
.lf-form legend{font-weight:800;padding:0 6px}.lf-status{padding:12px 15px;background:#eff5f8;color:#193953;border-radius:8px;margin:12px 0}
.lf-status:empty{display:none}.lf-error{background:#fff0eb;color:#7b2712}.lf-preview{display:block;max-width:100%;max-height:850px;object-fit:contain;margin:auto}
.lf-source{white-space:pre-wrap;overflow-wrap:anywhere;max-height:450px;overflow:auto;background:#f4f7fa;padding:15px;color:#243c54}
.lf-comments{display:grid;gap:10px}.lf-comment{background:#f1f5f8;padding:14px;border-radius:10px}.lf-comment p{white-space:pre-wrap;overflow-wrap:anywhere}
.lf-empty{padding:25px;background:#f2f6f9;border-radius:12px}.lf-filters{display:flex;gap:12px;flex-wrap:wrap}.lf-filters label{display:grid;gap:5px;flex:1;min-width:160px}
.lf-small{font-size:.85rem;color:#43536a}.lf-danger{color:#8b241a;border-color:#c38983}.lf-progress{height:8px;width:100%;accent-color:#173c64}
.lf-root button,.lf-root a.button{min-height:44px}.lf-root details{margin:14px 0}.lf-root summary{cursor:pointer;font-weight:700;padding:10px 0}
.lf-root h2{font-size:1.35rem}.lf-root :focus-visible{outline:3px solid #b17900;outline-offset:3px}
@media(max-width:700px){.lf-grid,.lf-form .lf-pair{grid-template-columns:1fr}.lf-head{gap:12px}.lf-item{padding:14px}.lf-bar>*{max-width:100%}.lf-root h2{font-size:1.2rem}.lf-filters label{min-width:130px}}
