#admin-view-releases.panel{overflow-y:auto;gap:20px}
.release-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.release-card{min-width:0;padding:20px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card)}
.release-card h3{margin:0 0 16px;font-size:16px;font-weight:600}
.release-card h4{margin:20px 0 8px;font-size:13px;font-weight:600}
.release-metadata{display:grid;gap:10px;margin:0;font-size:13px;line-height:1.6}
.release-metadata>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px}
.release-metadata dt{color:var(--text-secondary)}
.release-metadata dd{margin:0;overflow-wrap:anywhere}
.release-hash{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}
.release-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:var(--text-secondary);max-height:240px;overflow:auto}
.release-notes:empty{display:none}
.release-form{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.release-form fieldset{display:flex;flex-direction:column;gap:14px;min-width:0;margin:0;padding:0;border:0}
.release-form textarea{width:100%;min-height:150px;resize:vertical;line-height:1.6}
.release-form label{display:flex;flex-direction:column;gap:8px;font-size:13px}
.release-form .release-switch{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.release-actions{display:flex;flex-wrap:wrap;gap:10px}
#admin-console .release-form input[type="file"]{height:auto;min-height:40px;padding:8px;line-height:1.5;max-width:100%}
.release-upload-progress{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--text-secondary)}
.release-upload-progress progress{width:100%;height:8px;accent-color:var(--primary)}
#admin-release-status{margin:0;min-height:20px;overflow-wrap:anywhere}
#admin-release-status.failed{color:var(--danger)}
#admin-release-download{display:inline-flex;margin-top:14px}
.release-publish-confirmation{display:grid;gap:12px;min-width:0}
.release-publish-confirmation h4{margin:4px 0 0;font-size:13px;font-weight:600}
.release-publish-confirmation .release-metadata>div{grid-template-columns:84px minmax(0,1fr)}
.release-publish-confirmation .release-notes{max-height:200px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}
.release-publish-confirmation .meta{margin:0;font-size:12px}
@media(max-width:1200px){.release-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.release-card{padding:16px}.release-metadata>div{grid-template-columns:64px minmax(0,1fr)}.release-actions>button{flex:1}}

#admin-view-release-history.panel{gap:16px}
.release-history-toolbar,.release-history-actions-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.release-history-view-switch{display:flex;gap:4px;padding:3px;border:1px solid var(--border);border-radius:var(--radius)}
.release-history-view-switch .ghost{min-height:30px;padding:4px 10px;font-size:12px}
.release-history-view-switch .ghost.is-active{color:var(--primary);background:var(--primary-light)}
.release-history-feedback{display:flex;align-items:center;gap:12px;min-height:24px;flex-shrink:0}
.release-history-feedback .meta{margin:0;overflow-wrap:anywhere}
.release-history-feedback .failed{color:var(--danger)}
.release-history-feedback button{min-height:32px;padding:4px 12px;flex-shrink:0}
.release-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;padding-bottom:4px}
.release-history-card{display:grid;gap:12px;min-width:0;padding:20px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card)}
.release-history-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
.release-history-card-head h3{margin:0;font-size:16px;line-height:24px;font-weight:600;overflow-wrap:anywhere}
.release-history-card-head h3 .meta{font-size:12px;font-weight:400;white-space:nowrap}
.release-history-card-head .badge{flex-shrink:0}
.release-history-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--text-secondary);font-variant-numeric:tabular-nums}
.release-history-summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;min-height:63px;font-size:13px;line-height:21px;color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere}
.release-history-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--border)}
.release-history-actions .ghost{min-height:32px;padding:4px 12px;font-size:12px}
.release-history-actions .release-history-delete,.release-history-actions-inline .release-history-delete{color:var(--danger)}
.release-history-list.is-timeline{display:block;padding:0 0 4px}
.release-history-timeline{display:grid;gap:20px;margin:0;padding:0 0 0 24px;list-style:none}
.release-history-event{position:relative;overflow:visible}
.release-history-event::before{content:"";position:absolute;left:-21px;top:25px;width:9px;height:9px;border:2px solid var(--primary);border-radius:50%;background:var(--card);z-index:1}
.release-history-event:not(:last-child)::after{content:"";position:absolute;left:-16px;top:36px;bottom:-47px;width:1px;background:var(--border)}
.release-history-event-time{font-size:12px;line-height:20px;color:var(--text-secondary);font-variant-numeric:tabular-nums}
.release-history-timeline-notes{margin:0;max-height:none;overflow:visible}
.release-history-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:280px;padding:32px 16px;text-align:center;color:var(--text-tertiary)}
.release-history-empty h3{margin:0;font-size:15px;line-height:22px;color:var(--text-secondary);font-weight:500}
.release-history-empty p{margin:0;font-size:13px;line-height:20px}
.release-history-list>.skeleton-list{grid-column:1/-1}
.release-history-detail{min-width:0;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.release-history-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.release-history-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}
.release-history-policy>div{grid-template-columns:104px minmax(0,1fr)}
.release-history-full-notes{max-height:none;overflow:visible}
#admin-release-history-detail-heading{overflow-wrap:anywhere}
@media(max-width:1200px){.release-history-list,.release-history-detail-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.release-history-card{padding:16px}.release-history-summary{min-height:0}.release-history-actions>a,.release-history-actions>button{flex:1}.release-history-policy>div{grid-template-columns:92px minmax(0,1fr)}}
@media(max-width:600px){#admin-view-release-history .admin-head{flex-wrap:wrap}.release-history-toolbar{width:100%;justify-content:space-between}.release-history-detail-head{align-items:flex-start}.release-history-actions-inline{justify-content:flex-end}.release-history-timeline{padding-left:20px}.release-history-event::before{left:-19px}.release-history-event:not(:last-child)::after{left:-14px}}
