.office-preview { position:relative; overflow:auto; }
.fv-document-scroll { min-height:100%; padding:24px; background:#dfe3e9; }
.fv-document { box-sizing:border-box; max-width:800px; min-height:100%; margin:0 auto; padding:42px 48px;
  background:#fff; color:#243047; box-shadow:0 3px 20px #17233818; font:15px/1.7 system-ui,sans-serif;
  overflow-wrap:anywhere; user-select:text; }
.fv-document :is(h1,h2,h3,h4,h5,h6) { color:#142b4c; line-height:1.3; margin:1.4em 0 .6em; font-weight:700; }
.fv-document > :first-child { margin-top:0; }
.fv-document h1 { font-size:28px; } .fv-document h2 { font-size:23px; } .fv-document h3 { font-size:19px; }
.fv-document p { margin:0 0 .9em; }
.fv-document :is(ul,ol) { padding-left:1.6em; margin:.7em 0; }
.fv-document table { width:100%; border-collapse:collapse; font-size:14px; margin:20px 0; table-layout:fixed; }
.fv-document :is(td,th) { padding:9px 12px; border:1px solid #d9e1ec; vertical-align:top; }
.fv-document tr:first-child { background:#eef3fa; }
.fv-document td p:last-child { margin:0; }
.fv-document img { max-width:100%; height:auto; }
.fv-document a { color:#1460b7; text-decoration:underline; }
.fv-document blockquote { border-left:3px solid #98b8e3; padding-left:16px; margin:16px 0; color:#57657a; }
.fv-workbook { position:absolute; inset:0; display:flex; flex-direction:column; background:#fff; color:#253147; }
.fv-sheet-tabs { flex-shrink:0; display:flex; gap:6px; overflow-x:auto; padding:10px 12px; background:#edf2f8; border-bottom:1px solid #d7e0eb; }
.fv-sheet-tab { flex-shrink:0; padding:7px 14px; border:1px solid transparent; border-radius:7px;
  background:transparent; color:#53637a; font:600 13px/1.4 system-ui,sans-serif; cursor:pointer; }
.fv-sheet-tab:hover { background:#dfe8f3; }
.fv-sheet-tab[aria-selected="true"] { background:#fff; color:#125bab; border-color:#c6d8ee; box-shadow:0 1px 3px #1d477412; }
.fv-sheet-scroll { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; user-select:text; }
.fv-grid { border-collapse:separate; border-spacing:0; width:max-content; min-width:100%; table-layout:fixed; font:13px/1.5 system-ui,sans-serif; }
.fv-grid :is(th,td) { box-sizing:border-box; padding:7px 12px; min-width:110px; max-width:360px;
  border-right:1px solid #e1e7ef; border-bottom:1px solid #e1e7ef; white-space:pre-wrap; overflow-wrap:anywhere; vertical-align:top; }
.fv-grid thead th { position:sticky; top:0; z-index:2; background:#f0f4f9; color:#68788f; font-size:11px; font-weight:600; text-align:center; }
.fv-grid tbody th { position:sticky; left:0; z-index:1; background:#f5f7fb; color:#8190a3; font-size:11px; font-weight:400; text-align:center; }
.fv-grid tr > :first-child { min-width:44px; width:44px; max-width:44px; }
.fv-grid thead th:first-child { left:0; z-index:3; }
.fv-grid tbody tr:nth-child(even) td { background:#fafbfd; }
.fv-grid tbody tr:hover td { background:#f1f6fe; }
.fv-grid a { color:#1460b7; text-decoration:underline; }
.fv-grid .fv-number { text-align:right; font-variant-numeric:tabular-nums; }
.fv-office-status { flex-shrink:0; padding:9px 12px; border-top:1px solid #d7e0eb; background:#f5f7fb; color:#68788f; font:11px/1.5 system-ui,sans-serif; }
.fv-sheet-more { display:block; margin:14px auto; border:1px solid #c6d8ee; border-radius:7px; padding:8px 16px; background:#edf4ff; color:#125bab; cursor:pointer; }
.fv-sheet-more[hidden] { display:none; }
.fv-office-error { padding:28px; font-size:14px; line-height:1.6; color:var(--ink); }
@media(max-width:699px) {
  .fv-document-scroll { padding:10px; }
  .fv-document { padding:24px 18px; font-size:14px; }
  .fv-document h1 { font-size:23px; } .fv-document h2 { font-size:20px; }
  .fv-document :is(th,td) { padding:6px; font-size:12px; }
  .fv-sheet-tab { min-height:38px; }
  .fv-office-status { padding-bottom:max(9px,env(safe-area-inset-bottom)); }
}
