.officeViewer { width: 100%; min-width: 0; max-height: 65vh; padding: 16px; overflow: auto; }
.wordPage { color: #172638; background: #fff; padding: 28px; overflow-wrap: anywhere; line-height: 1.6; }
.wordPage h1, .wordPage h2, .wordPage h3, .wordPage h4, .wordPage p { color: inherit; }
.wordPage table, .sheetGrid table { border-collapse: collapse; width: auto; min-width: 100%; }
.wordPage td, .wordPage th, .sheetGrid td, .sheetGrid th { border: 1px solid #b7c4d2; padding: 7px 10px; }
.officeControls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.officeControls select { width: auto; max-width: 100%; margin: 0; }
.officeControls button { font-size: 12px; padding: 7px 10px; }
.sheetGrid { max-height: 48vh; overflow: auto; background: #fff; color: #172638; }
.sheetGrid th { background: #e6edf5; color: #172638; font-weight: 600; }
.sheetGrid thead th { position: sticky; top: 0; }
.sheetGrid td { white-space: pre-wrap; min-width: 100px; max-width: 360px; overflow-wrap: anywhere; }
