.excel-spreadsheet-host {
  --excel-toolbar-bg: #ffffff;
  --excel-border: #e5e7eb;
  --excel-accent: var(--color-accent, #6366f1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.excel-spreadsheet-host .fortune-container {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  height: 100% !important;
  min-height: 0;
  border: none;
  font-family: "Lexend Deca", ui-sans-serif, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.excel-spreadsheet-host .fortune-col-body,
.excel-spreadsheet-host .fortune-sheet-area,
.excel-spreadsheet-host .fortune-row-body {
  min-width: 0;
  max-width: 100%;
}

.excel-spreadsheet-host .fortune-cell-area {
  min-width: 0;
}

.excel-spreadsheet-host .fortune-workarea {
  flex-shrink: 0;
}

.excel-spreadsheet-host .fortune-sheet-container {
  flex: 1;
  min-height: 0;
  height: auto !important;
  overflow: hidden;
}

.excel-spreadsheet-host .luckysheet-sheet-area {
  flex-shrink: 0;
  border-top: 1px solid var(--excel-border);
  background: #fafafa;
}

.excel-spreadsheet-host .fortune-sheettab-button {
  border: 1px solid var(--excel-border);
  border-radius: 6px;
  background: #fff;
}

.excel-spreadsheet-host .fortune-sheettab-button:hover {
  background: #f3f4f6;
}

.excel-spreadsheet-host .fortune-stat-area {
  flex-shrink: 0;
}

.excel-spreadsheet-host .fortune-toolbar {
  border-bottom: 1px solid var(--excel-border);
  background: var(--excel-toolbar-bg);
}

.excel-spreadsheet-host .fortune-formula-bar {
  border-bottom: 1px solid var(--excel-border);
  background: #fafafa;
  flex-shrink: 0;
}

.excel-spreadsheet-host .luckysheet-cell-selected {
  border-color: var(--excel-accent) !important;
}
