.lr-shell{--lr-navy:#0b1220;--lr-mint:#475569;--lr-line:#dbe4ee;--lr-muted:#526176;--lr-wash:#f3f6f9;--lr-amber:#92400e;--lr-rose:#be123c;background:#fff;border:1px solid var(--lr-line);border-radius:18px;padding:20px;color:var(--lr-navy);box-shadow:0 12px 32px -24px #0b122080;font-family:var(--font,system-ui,sans-serif)}

.lr-shell *{box-sizing:border-box}
.lr-shell p{margin:0}
.lr-shell h2,.lr-shell h3,.lr-shell h4{margin:0;font-weight:700;letter-spacing:-.02em}
.lr-shell h2{font-size:25px}
.lr-shell h3{font-size:15px}
.lr-shell h4{font-size:14px;display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px}
.lr-shell h4 small{font-size:12px;letter-spacing:0;color:var(--lr-muted);font-weight:500}

.lr-header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.lr-routes{display:flex;gap:5px;flex-wrap:wrap}
.lr-route{font:600 12px/1.25 var(--font,system-ui,sans-serif);border:1px solid var(--lr-line);border-radius:6px;padding:6px 8px;background:#f8fafc;color:var(--lr-muted)}
.lr-route-active{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.lr-route:disabled{color:#64748b;cursor:not-allowed}
.lr-intro{color:var(--lr-muted);font-size:14px;padding:3px 0 16px}

.lr-fixtures{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px;margin-bottom:16px}
.lr-fixture{min-height:42px;text-align:left;background:var(--lr-wash);border:1px solid transparent;border-radius:7px;padding:9px 10px;color:#334155;font:600 12px/1.35 var(--font,system-ui,sans-serif);cursor:pointer;transition:background 160ms,border-color 160ms}
.lr-fixture:hover{border-color:#94a3b8;background:#e9eef5}
.lr-fixture[aria-pressed=true]{background:var(--lr-navy);color:#fff;border-color:var(--lr-navy)}

.lr-shell button:focus-visible,.lr-shell textarea:focus-visible,.lr-shell summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.lr-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"incoming typed" "lanes typed" "next typed";gap:0 20px;align-items:start}
.lr-typed{grid-area:typed;min-width:0}
.lr-next{grid-area:next;min-width:0}
.lr-lanes{grid-area:lanes;min-width:0}
.lr-incoming{grid-area:incoming;min-width:0;background:var(--lr-navy);border-radius:11px;padding:17px 18px;color:#fff;position:relative;margin-bottom:18px;min-height:125px}
.lr-incoming::after{content:"";position:absolute;bottom:-7px;left:28px;width:14px;height:14px;transform:rotate(45deg);background:var(--lr-navy)}
.lr-incoming h3{color:#6ee7b7;font-size:13px;margin-bottom:8px}
.lr-incoming p{font-size:15px;line-height:1.55;overflow-wrap:anywhere}

.lr-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.lr-lane{border:1px solid var(--lr-line);border-radius:8px;background:#f8fafc;min-height:132px;padding:9px 8px}
.lr-lane h3{display:flex;justify-content:space-between;gap:4px;font-size:12px;letter-spacing:0;color:var(--lr-muted)}
.lr-lane-count{font-variant-numeric:tabular-nums;font-size:12px;border-radius:4px;padding:0 5px;background:#e5eaf0;color:#475569}
.lr-lane-active.lr-lane-reply{background:#ecfdf5;border-color:#6ee7b7}
.lr-lane-active.lr-lane-human{background:#fffbeb;border-color:#fbbf24}
.lr-lane-active.lr-lane-closed{background:#f1f5f9;border-color:#94a3b8}
.lr-lane-active .lr-lane-count{background:var(--lr-navy);color:#fff}
.lr-ticket{display:grid;gap:7px;margin-top:9px;font-size:12px;line-height:1.35;animation:lr-arrive 240ms ease-out both;overflow-wrap:anywhere}
.lr-ticket strong{font-size:12px}
.lr-ticket span{color:#475569}

.lr-next{padding-top:13px}
.lr-alert{padding:9px 11px!important;background:#fff1f2;border-left:3px solid var(--lr-rose);border-radius:0 5px 5px 0;color:#9f1239;font-size:12px;font-weight:700;margin-bottom:10px!important}
.lr-first{font-size:12px;color:var(--lr-muted);margin-bottom:12px!important}
.lr-button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:9px 13px;font:650 12px/1.25 var(--font,system-ui,sans-serif);color:var(--lr-navy);cursor:pointer}
.lr-button:hover{background:#f1f5f9;border-color:#94a3b8}
.lr-button:disabled{background:#f1f5f9;color:#64748b;cursor:default}
.lr-reply-button{background:var(--lr-navy);color:#fff;border-color:var(--lr-navy);width:100%}
.lr-reply-button:hover{background:#1e293b;color:#fff}
.lr-reply{margin:0 0 10px;background:#f1f5f9;border-left-color:#64748b;font-size:14px}
.lr-stopped{font-size:12px;font-weight:650;color:#9f1239}

.lr-provider{font-size:12px;line-height:1.4;color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:5px;padding:6px 8px;margin-bottom:12px!important;overflow-wrap:anywhere}
.lr-record+.lr-record{margin-top:18px;border-top:2px solid #e2e8f0;padding-top:16px}
.lr-checks{margin-bottom:16px}
.lr-probability{display:grid;grid-template-columns:minmax(78px,1fr) minmax(40px,1.15fr) 33px;gap:9px;align-items:center;font-size:12px;margin:7px 0;line-height:1.3}
.lr-probability-name{color:#475569}
.lr-probability b{font-size:12px;font-variant-numeric:tabular-nums;text-align:right}
.lr-track{height:8px;border-radius:3px;background:#e8edf3;overflow:hidden}
.lr-fill{height:100%;width:100%;display:block;background:#64748b;transform-origin:left;transition:transform 220ms ease-out;border-radius:3px}
.lr-probability-selected .lr-fill{background:var(--lr-mint)}
.lr-probability-selected .lr-probability-name{font-weight:750;color:#065f46}
.lr-confidence{font-size:12px;color:var(--lr-muted);text-align:right;padding-top:3px}

.lr-schedule h3{font-size:13px;margin:0 0 12px}
.lr-timeline{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:0 0 12px;gap:4px}
.lr-timeline li{border-top:3px solid #cbd5e1;padding:8px 2px 6px;display:grid;gap:1px;font-size:12px;line-height:1.4}
.lr-timeline time{font-variant-numeric:tabular-nums}
.lr-timeline small{font-size:12px;color:var(--lr-muted)}
.lr-timeline .lr-step-active{border-color:var(--lr-mint);background:#ecfdf5}
.lr-preview{font-size:12px!important;color:var(--lr-muted);padding-top:8px;min-height:34px;overflow-wrap:anywhere}

.lr-details{margin-top:12px;border-color:var(--lr-line);border-radius:7px;background:#fff}
.lr-details summary{font-size:12px;padding:9px 11px;min-height:38px;font-weight:600}
.lr-details-body{padding:0 11px 12px;font-size:12px;color:#475569}
.lr-details-body p+p{margin-top:7px}
.lr-details-body pre{font-size:12px;max-height:280px;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}
.lr-paste{border-top:1px solid var(--lr-line);margin-top:20px;padding-top:15px}
.lr-paste label{font-size:12px;display:block;font-weight:650;margin-bottom:6px}
.lr-textarea{resize:vertical;width:100%;min-height:58px;border:0;box-shadow:inset 0 0 0 1px #cbd5e1;border-radius:7px;background:#f8fafc;padding:10px 12px;color:#334155;font:13px/1.4 var(--font,system-ui,sans-serif)}
.lr-muted{font-size:12px;color:var(--lr-muted);padding-top:5px}
.lr-unavailable{border:1px solid #fcd34d;background:#fffbeb;color:#78350f;font-size:13px;padding:13px!important;border-radius:7px}
.lr-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
