.hn-document-message{margin:0;color:var(--theme-muted,#5b6b61);font-size:12px;line-height:1.5}
.hn-document-text{box-sizing:border-box;max-height:65dvh;overflow:auto;margin:0;padding:16px;border:1px solid var(--theme-border,#d4dad5);border-radius:10px;background:var(--theme-raised,#f7f8f7);color:var(--theme-ink,#24342c);font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;direction:auto;text-align:start}
.hn-document-tabs{display:flex;flex-wrap:wrap;gap:6px;max-height:100px;overflow:auto}
.hn-workspace-dialog .hn-document-tabs button{min-height:34px;padding:6px 10px;font-size:12px}
.hn-workspace-dialog .hn-document-tabs button[aria-pressed=true]{border-color:var(--theme-accent,#4f8f72);background:var(--theme-hover,#e9f0eb);font-weight:700}
.hn-document-sheet{display:flex;flex-direction:column;gap:7px;min-width:0}
.hn-document-table-scroll{max-height:59dvh;overflow:auto;border:1px solid var(--theme-border,#d4dad5);border-radius:10px;background:var(--theme-surface,#fff)}
.hn-document-table{border-collapse:separate;border-spacing:0;min-width:100%;font:12px/1.4 system-ui,sans-serif;direction:ltr;text-align:start}
.hn-document-table :is(th,td){min-width:84px;max-width:280px;padding:7px 9px;border-inline-end:1px solid var(--theme-border,#d4dad5);border-block-end:1px solid var(--theme-border,#d4dad5);color:var(--theme-ink,#24342c);white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}
.hn-document-table th{min-width:38px;position:sticky;background:var(--theme-raised,#f7f8f7);font-weight:600;text-align:center}
.hn-document-table thead th{top:0;z-index:2}.hn-document-table tbody th{left:0;z-index:1}
.hn-document-table td:empty{background:var(--theme-surface,#fff)}
@media(max-width:700px){.hn-document-text{max-height:58dvh}.hn-document-table-scroll{max-height:53dvh}.hn-document-table :is(th,td){min-width:74px;padding:6px 8px}}
