.lp-meta-entry {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 0 0 32px;
    padding: 20px 22px;
    border: 1px solid #dce3e8;
    border-left: 3px solid var(--magenta);
    border-radius: 12px;
    background: #fff;
    color: var(--brand-dark);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .02);
    transition-property: border-color, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
}
.lp-meta-entry:hover,
.lp-meta-entry:focus-visible {
    outline: none;
    border-color: var(--magenta);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}
.lp-meta-entry:active {transform: scale(.96);}
.lp-meta-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: #fff7fb;
    color: var(--magenta);
}
.lp-meta-icon svg {width: 32px;height: 32px;stroke: currentColor;stroke-width: 1.8;stroke-linecap: round;stroke-linejoin: round;}
.lp-meta-copy {display: grid;gap: 3px;min-width: 0;}
.lp-meta-copy strong {font-size: 1.25rem;line-height: 1.25;text-wrap: balance;}
.lp-meta-copy > span:last-child {color: #64748b;line-height: 1.5;text-wrap: pretty;}
.lp-meta-kicker {color: var(--magenta);font-size: .72rem;font-weight: 800;letter-spacing: .08em;line-height: 1.3;text-transform: uppercase;}
.lp-meta-action,
.lp-project-open {display: inline-flex;min-height: 44px;align-items: center;gap: 7px;color: var(--brand-dark);font-size: .84rem;font-weight: 800;text-decoration: none;white-space: nowrap;}
.lp-meta-action svg,
.lp-project-open svg {width: 18px;height: 18px;stroke: currentColor;stroke-width: 2;stroke-linecap: round;stroke-linejoin: round;transition: transform 150ms ease-out;}
.lp-meta-entry:hover .lp-meta-action svg,
.lp-meta-entry:focus-visible .lp-meta-action svg,
.lp-project-open:hover svg,
.lp-project-open:focus-visible svg {transform: translateX(3px);}
.lp-bridge {margin:0 0 24px;border:1px solid #dce3e8;border-left:3px solid var(--magenta);border-radius:12px;background:#fff;color:#344653;overflow:hidden;box-shadow:0 4px 15px rgba(0,0,0,.02);}
.lp-bridge summary {display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:14px;align-items:center;min-height:72px;padding:10px 16px;box-sizing:border-box;cursor:pointer;list-style:none;}
.lp-bridge summary::-webkit-details-marker {display:none;}
.lp-bridge summary:focus-visible {outline:3px solid rgba(236,0,140,.18);outline-offset:-3px;}
.lp-bridge .lp-meta-icon {width:44px;height:44px;}
.lp-bridge .lp-meta-icon svg {width:28px;height:28px;}
.lp-summary-copy {display:grid;gap:2px;min-width:0;}
.lp-summary-copy strong {color:var(--brand-dark);font-size:.98rem;line-height:1.35;text-wrap:pretty;}
.lp-record-count {padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:.76rem;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;}
.lp-summary-chevron {width:20px;height:20px;stroke:var(--brand-dark);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform 150ms ease-out;}
.lp-bridge[open] .lp-summary-chevron {transform:rotate(180deg);}
.lp-actions {display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0;}
.lp-actions>* {max-width:100%;}
.lp-actions label {display:grid;gap:6px;flex:1;min-width:150px;}
.lp-actions button,.lp-actions a {min-height:44px;}
.lp-bridge > .lp-actions,.lp-bridge > p {margin-left:18px;margin-right:18px;}
.lp-project-open {padding:0 4px;color:var(--magenta);}
.lp-project-open:focus-visible {outline:2px solid var(--magenta);outline-offset:4px;border-radius:2px;}
.lp-app {width:100%;min-width:0;max-width:1080px;margin:auto;}
.lp-app input,.lp-app select {max-width:100%;min-width:0;}
.lp-app [hidden],.lp-bridge [hidden] {display:none !important;}
.lp-app section {margin:24px 0;padding:24px;border:1px solid #dce3e8;border-radius:14px;background:#fff;}
.lp-app h2 {font-size:1.3rem;margin:0 0 16px;}
.lp-app h3 {font-size:1.05rem;}
.lp-app textarea {width:100%;min-height:100px;font-family:monospace;resize:vertical;}
.lp-app p,.lp-app small {line-height:1.6;}
.lp-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.lp-grid label {display:grid;gap:6px;}
.lp-app output {display:block;white-space:pre-wrap;overflow-wrap:anywhere;}
.lp-app pre,.lp-app code {white-space:pre-wrap;overflow-wrap:anywhere;}
.lp-table-scroll {overflow-x:auto;}
.lp-app table {width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;}
.lp-app td,.lp-app th {text-align:left;padding:10px;border-bottom:1px solid #e5e9ec;}
.lp-record {padding:12px 0;border-bottom:1px solid #e5e9ec;}
.lp-record button {margin-right:10px;}
.lp-status {color:#8b351b;}
@media(max-width:600px){.lp-meta-entry{grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;margin-bottom:24px}.lp-meta-action{grid-column:2;min-height:40px}.lp-meta-copy strong{font-size:1.08rem}.lp-meta-copy>span:last-child{font-size:.9rem}.lp-bridge summary{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:10px 12px}.lp-record-count{grid-column:2;justify-self:start}.lp-summary-chevron{grid-column:3;grid-row:1 / span 2}.lp-grid{grid-template-columns:1fr;}.lp-app section{padding:16px;}.lp-app .tool-input,.lp-bridge .tool-select{min-width:0;width:100%;}.lp-actions{align-items:stretch}.lp-actions>*{flex-basis:100%;}.lp-bridge>.lp-actions,.lp-bridge>p{margin-left:12px;margin-right:12px;}}

@media(prefers-reduced-motion:reduce){.lp-meta-entry,.lp-meta-action svg,.lp-project-open svg,.lp-summary-chevron{transition:none}.lp-meta-entry:hover,.lp-meta-entry:focus-visible,.lp-meta-entry:active{transform:none}}

.co-protection {display:grid;gap:6px;margin-top:16px;font-size:.88rem;}
.co-protection small {color:#64748b;line-height:1.5;}

#co-constraints {margin:24px 0;}
#co-constraints summary {cursor:pointer;font-weight:600;margin-bottom:16px;}
#co-constraints label {font-size:.88rem;line-height:1.5;}

.lp-app .lp-grid + label {display:grid;gap:6px;margin-top:14px;}
@media(min-width:601px){.lp-actions label.site-file-action {display:inline-flex;flex:0 1 auto;}}
.lp-actions a {text-decoration:none;}
