.meeting-issue-heading { display:flex; align-items:baseline; flex-wrap:wrap; column-gap:6px; row-gap:4px; min-width:0; }
.meeting-issue-heading > strong { min-width:0; overflow-wrap:anywhere; }
.meeting-issue-heading .meeting-attachment-entry { flex:none; margin-left:0; }
.meeting-attachment-entry { display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:26px; padding:2px 7px; margin-left:6px; border:1px solid #c8e2e3; border-radius:var(--radius-sm,8px); color:#176e77; background:#edf7f7; font-size:.86em; font-weight:700; line-height:1.35; vertical-align:middle; white-space:nowrap; }
.meeting-attachment-entry:hover { color:#115762; border-color:#80b9be; background:#dff1f1; }
.meeting-attachment-entry svg { flex:none; width:1.1em; height:1.1em; }
.meeting-attachments-scroll-lock { overflow:hidden !important; overscroll-behavior:none; }
.meeting-attachments-dialog { width:min(1440px,94vw); height:min(900px,92dvh); max-width:94vw; max-height:92dvh; padding:0; margin:auto; border:1px solid var(--line-strong,#c7d4df); border-radius:var(--radius-lg,18px); color:var(--ink,#182536); background:var(--surface,#fff); box-shadow:var(--shadow-lg); overflow:hidden; font:calc(14px * var(--portal-font-scale,1))/1.55 var(--font-ui,system-ui); overscroll-behavior:contain; }
.meeting-attachments-dialog[open] { display:flex; flex-direction:column; }
.meeting-attachments-dialog::backdrop { background:rgba(12,30,43,.58); }
.meeting-attachments-dialog button,.meeting-attachments-dialog a { font-size:1em; }
.meeting-attachments-dialog :is(button,a):focus-visible { outline:2px solid var(--teal,#168a82); outline-offset:2px; }
.meeting-attachments-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:18px 22px 16px; border-bottom:1px solid var(--line,#dfe7ee); background:var(--surface,#fff); }
.meeting-attachments-header > div { min-width:0; }
.meeting-attachments-kicker { color:#387580; font-size:.86em; font-weight:700; }
.meeting-attachments-header h2 { margin:4px 0; overflow:hidden; font-size:1.35em; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.meeting-attachments-header p { margin:0; color:var(--muted,#718096); font-size:.86em; }
.meeting-attachments-header > button { flex:none; }
.meeting-attachments-header kbd { margin-left:5px; font-size:.8em; }
.meeting-attachments-body { display:grid; grid-template-columns:minmax(210px,250px) minmax(0,1fr); flex:1; min-height:0; }
.meeting-attachments-rail { display:flex; flex-direction:column; min-height:0; padding:14px; border-right:1px solid var(--line,#dfe7ee); background:var(--surface-soft,#f8fafc); }
.meeting-attachments-count { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 2px 12px; color:var(--ink-soft,#425166); font-size:.9em; }
.meeting-attachments-count b { color:#176e77; }
.meeting-attachments-thumbnails { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; }
.meeting-attachment-thumbnail { display:flex; align-items:center; gap:10px; width:100%; min-width:0; margin-bottom:8px; padding:9px; border:1px solid var(--line,#dfe7ee); border-radius:var(--radius-sm,8px); color:var(--ink-soft,#425166); background:var(--surface,#fff); text-align:left; }
.meeting-attachment-thumbnail.is-selected { border-color:#20858e; box-shadow:inset 3px 0 #20858e; background:#ecf7f7; }
.meeting-attachment-thumb-image { display:grid; flex:none; place-items:center; width:58px; height:54px; overflow:hidden; border-radius:5px; color:#476775; background:#e7eef2; font-size:.82em; }
.meeting-attachment-thumb-image img { width:100%; height:100%; object-fit:cover; }
.meeting-attachment-thumb-copy { display:flex; flex-direction:column; min-width:0; gap:4px; }
.meeting-attachment-thumb-copy b { display:-webkit-box; overflow:hidden; font-size:.88em; line-height:1.4; overflow-wrap:anywhere; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.meeting-attachment-thumb-copy small { display:block; overflow:hidden; color:var(--muted,#718096); font-size:.8em; text-overflow:ellipsis; white-space:nowrap; }
.meeting-attachments-pages { display:flex; align-items:center; justify-content:space-between; flex:none; gap:5px; padding-top:12px; font-size:.8em; }
.meeting-attachments-pages button { min-height:30px; padding:4px 6px; }
.meeting-attachments-viewer { display:flex; flex-direction:column; min-width:0; min-height:0; background:#f2f5f7; }
.meeting-attachments-toolbar { display:flex; align-items:center; justify-content:space-between; flex:none; gap:10px; padding:9px 16px; border-bottom:1px solid var(--line,#dfe7ee); background:var(--surface-soft,#f8fafc); }
.meeting-attachments-toolbar > span { color:var(--ink-soft,#425166); font-variant-numeric:tabular-nums; }
.meeting-attachments-toolbar > div { display:flex; gap:7px; }
.meeting-attachments-toolbar button { min-height:32px; padding:4px 10px; }
.meeting-attachments-media { position:relative; display:flex; align-items:center; justify-content:center; flex:1; min-width:0; min-height:0; padding:16px; overflow:auto; overscroll-behavior:contain; }
.meeting-attachments-media > :is(img,video) { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.meeting-attachments-media > img { width:100%; height:100%; }
.meeting-attachments-media > video { width:100%; height:100%; background:#14232b; }
.meeting-attachments-media.is-zoomed { display:block; }
.meeting-attachments-media.is-zoomed > img { width:auto; height:auto; max-width:none; max-height:none; min-width:100%; object-fit:initial; }
.meeting-attachments-media-error { position:absolute; bottom:10px; left:16px; right:16px; margin:0; padding:12px; border:1px solid #e3c68c; border-radius:var(--radius-sm,8px); color:#735119; background:#fff5e5; }
.meeting-attachments-file-info { display:flex; align-items:center; justify-content:space-between; flex:none; gap:16px; padding:13px 18px; border-top:1px solid var(--line,#dfe7ee); background:var(--surface,#fff); }
.meeting-attachments-file-info > div:first-child { min-width:0; }
.meeting-attachments-file-info b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.meeting-attachments-file-info p { margin:4px 0 0; max-height:3.1em; overflow:auto; color:var(--ink-soft,#425166); font-size:.9em; overflow-wrap:anywhere; }
.meeting-attachments-file-info small { display:block; margin-top:5px; color:var(--muted,#718096); font-size:.8em; }
.meeting-attachments-file-actions { display:flex; align-items:center; gap:12px; flex:none; }
.meeting-attachments-original,.meeting-attachments-empty { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; padding:32px; text-align:center; }
.meeting-attachments-original { max-width:640px; }
.meeting-attachments-original b { overflow-wrap:anywhere; }
.meeting-attachments-original p,.meeting-attachments-empty p { margin:0 0 8px; color:var(--ink-soft,#425166); }
.meeting-attachments-empty { flex:1; }
body.projecting .meeting-attachments-dialog { font-size:calc(17px * var(--portal-font-scale,1)); }
@media (max-height:720px) { .meeting-attachments-header { padding:12px 18px; } .meeting-attachments-file-info { padding:9px 14px; } }
@media (max-width:1280px) { .meeting-attachments-body { grid-template-columns:220px minmax(0,1fr); } .meeting-attachments-file-actions { gap:8px; } }
@media print { .meeting-attachment-entry,.meeting-attachments-dialog { display:none !important; } }
