.share-icon { width:36px; height:36px; padding:7px; display:inline-flex; justify-content:center; align-items:center; flex-shrink:0; }
.share-icon svg,.share-detail-actions svg,.share-create-form svg { width:18px; height:18px; flex-shrink:0; }
.share-admin-dialog { width:min(780px,calc(100vw - 36px)); max-height:calc(100dvh - 36px); padding:0; border:1px solid var(--line,#d6e2dc); border-radius:6px; color:var(--text,#203d36); background:var(--panel,#fff); font-family:Inter,"Segoe UI",system-ui,sans-serif; letter-spacing:0; }
.share-admin-dialog::backdrop { background:#18392c70; }
.share-admin-dialog>header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 22px; border-bottom:1px solid var(--line,#d6e2dc); position:sticky; top:0; background:white; z-index:2; }
.share-admin-dialog h2 { font-size:19px; margin:0; overflow-wrap:anywhere; }
.share-admin-body { padding:20px 22px; }
.share-create-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.share-create-form label,.share-link-field { display:flex; flex-direction:column; gap:6px; font-size:13px; min-width:0; }
.share-create-form input,.share-create-form textarea,.share-link-field input { width:100%; min-width:0; box-sizing:border-box; }
.share-wide { grid-column:1/-1; }
.share-create-form .share-check { flex-direction:row; align-items:center; line-height:1.6; }
.share-check input { width:17px; height:17px; flex-shrink:0; }
.share-create-form footer { display:flex; justify-content:flex-end; border-top:1px solid var(--line); padding-top:16px; }
.share-create-form footer button { display:flex; align-items:center; gap:8px; }
.share-selected { display:flex; flex-direction:column; gap:6px; padding-bottom:16px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.share-selected span,.share-note { font-size:13px; color:var(--muted,#697970); }
.share-error { color:#a34232; min-height:18px; font-size:13px; overflow-wrap:anywhere; }
.share-link-field { margin-bottom:18px; }
.share-detail-meta { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:13px; margin-bottom:18px; }
.share-state { display:inline-block; font-size:12px; padding:4px 7px; border-radius:3px; background:#fff3d9; color:#865a14; line-height:1.5; }
.share-state.ready { background:#e5f3ea; color:#256541; }
.share-detail-data { display:grid; grid-template-columns:180px minmax(0,1fr); gap:10px 16px; margin:18px 0; font-size:13px; }
.share-detail-data dt { color:var(--muted,#697970); }
.share-detail-data dd { margin:0; overflow-wrap:anywhere; }
.share-detail-actions { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.share-detail-actions button { display:inline-flex; align-items:center; gap:7px; }
.share-admin-body h3 { font-size:15px; border-top:1px solid var(--line); padding-top:18px; }
.share-event-list { max-height:260px; overflow:auto; }
.share-event-list>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; border-bottom:1px solid var(--line); padding:10px 0; font-size:12px; }
.share-event-list span { color:var(--muted); }
.share-event-list strong { overflow-wrap:anywhere; min-width:0; max-width:100%; }
#archiveSharesView { display:flex; flex-direction:column; min-height:480px; height:calc(100dvh - 235px); gap:12px; }
.share-history-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.share-history-head h2 { margin:0; font-size:22px; }
.share-history-filters { display:flex; align-items:flex-end; gap:12px; }
.share-history-filters label { display:flex; flex-direction:column; gap:5px; font-size:13px; width:min(400px,100%); }
.share-history-table { flex:1; min-height:0; overflow:auto; border:1px solid var(--line); }
.share-history-table table { width:100%; min-width:940px; border-collapse:collapse; table-layout:fixed; font-size:12px; }
.share-history-table th,.share-history-table td { text-align:left; padding:10px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; vertical-align:middle; }
.share-history-table th { position:sticky; top:0; background:#edf4f0; z-index:1; }
.share-history-table th:first-child { width:23%; }.share-history-table th:nth-child(2) { width:22%; }.share-history-table th:nth-child(3) { width:13%; }.share-history-table th:last-child { width:62px; }
.share-history-table small { display:block; color:var(--muted); margin-top:6px; font-size:11px; }
.share-history-pager { display:flex; justify-content:space-between; gap:12px; font-size:12px; align-items:center; }
.share-history-pager>div { display:flex; gap:6px; }
@media(max-width:600px) { .share-create-form { grid-template-columns:minmax(0,1fr); }.share-detail-data { grid-template-columns:minmax(0,1fr); gap:5px; }.share-detail-data dd { margin-bottom:10px; }.share-admin-body { padding:16px; } }
