.fund-boss-entry {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px;
  padding: 7px 14px; border: 1px solid #b9c9bc; border-radius: 5px;
  color: #216b42; background: #f7fcf8; text-decoration: none; font-size: 13px; white-space: nowrap;
}
.fund-boss-entry:hover { background: #eaf5ed; border-color: #217346; }
html.board-fund-phone-redirect { visibility: hidden; }
@media (max-width: 767px), (pointer: coarse) and (max-height: 599px) {
  .fund-boss-entry { display: none; }
}
.board-fund-boss-mode {
  --excel-top: 211px; --excel-green: #217346; --excel-line: #d9d9d9;
  --bg: #fff; --panel: #fff; --text: #222; --muted: #666; --border: #d9d9d9;
  margin: 0; padding: var(--excel-top) 0 35px; background: #fff; color: #222;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 12px; color-scheme: light;
}
body.board-fund-boss-mode::before { display: none; }
.fund-excel-chrome {
  position: fixed; z-index: 100; inset: 0 0 auto; width: 100%; color: #242424;
  background: #f3f3f3; font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  box-shadow: 0 1px 0 #b4b4b4; font-size: 12px; line-height: normal;
}
.fund-excel-chrome *, .fund-excel-statusbar * { box-sizing: border-box; }
.fund-excel-titlebar { height: 34px; display: flex; align-items: center; background: #217346; color: #fff; padding: 0 16px; gap: 20px; }
.fund-excel-quick { display: flex; gap: 17px; align-items: center; width: 270px; flex-shrink: 0; font-size: 17px; }
.fund-excel-logo { font-family: Arial, sans-serif; font-size: 19px; font-weight: 700; }
.fund-excel-autosave { font-size: 11px; opacity: .9; white-space: nowrap; }
.fund-excel-autosave span { display: inline-block; border: 1px solid #a8cdb8; border-radius: 10px; padding: 1px 10px; }
.fund-excel-filename { flex: 1; text-align: center; font-size: 12px; white-space: nowrap; }
.fund-excel-filename span { color: #d2e6d9; }
.fund-excel-return { width: 270px; text-align: right; color: #fff; text-decoration: none; font-size: 12px; white-space: nowrap; }
.fund-excel-return:hover { text-decoration: underline; }
.fund-excel-tabs { display: flex; height: 31px; align-items: stretch; gap: 0; border-bottom: 1px solid #ddd; }
.fund-excel-tabs > span { display: grid; place-items: center; padding: 0 17px; white-space: nowrap; }
.fund-excel-tabs .is-active { color: #217346; background: #fff; font-weight: 600; border-bottom: 2px solid #217346; }
.fund-excel-tabs .fund-excel-file-tab { padding: 0 23px; color: #fff; background: #217346; }
.fund-excel-tabs .fund-excel-search { margin-left: auto; padding-right: 30px; color: #777; }
.fund-excel-ribbon { height: 91px; display: flex; padding: 6px 8px 2px; gap: 0; overflow: hidden; background: #f7f7f7; }
.fund-excel-ribbon-group { flex-shrink: 0; position: relative; border-right: 1px solid #d8d8d8; padding: 0 12px 17px; }
.fund-excel-group-label { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; color: #777; font-size: 11px; }
.fund-excel-ribbon-tools { display: flex; gap: 12px; height: 56px; align-items: center; }
.fund-excel-paste { font-size: 34px; color: #ba9d56; line-height: 1; text-align: center; }
.fund-excel-paste small { display: block; font-size: 11px; color: #333; margin-top: 4px; }
.fund-excel-tool-stack { display: grid; gap: 5px; color: #555; font-size: 11px; }
.fund-excel-font-pickers, .fund-excel-font-tools, .fund-excel-align-tools, .fund-excel-number-tools { display: flex; align-items: center; height: 26px; gap: 14px; }
.fund-excel-font-pickers { gap: 6px; }
.fund-excel-font-pickers > span { background: #fff; border: 1px solid #ccc; width: 116px; padding: 3px 7px; }
.fund-excel-font-pickers > span:nth-child(2) { width: 46px; }
.fund-excel-font-pickers i { float: right; font-style: normal; color: #777; }
.fund-excel-font-pickers > b { font-family: Arial, sans-serif; font-size: 14px; font-weight: 400; }
.fund-excel-font-pickers sup { font-size: 9px; }
.fund-excel-font-tools { gap: 19px; padding-left: 6px; font-family: Arial, sans-serif; font-size: 15px; }
.fund-excel-fill { border-bottom: 3px solid #f3cf3c; line-height: 18px; }
.fund-excel-font-color { border-bottom: 3px solid #c93636; line-height: 18px; }
.fund-excel-align-tools { gap: 13px; font-size: 15px; }
.fund-excel-align-tools span:last-child { font-size: 11px; min-width: 92px; }
.fund-excel-number-picker { border: 1px solid #ccc; background: #fff; padding: 4px 6px; margin: 1px 0 4px; width: 150px; }
.fund-excel-number-picker span { float: right; }
.fund-excel-number-tools { gap: 12px; height: 24px; }
.fund-excel-style-tools { display: flex; align-items: center; height: 56px; gap: 15px; }
.fund-excel-style-tools > span { text-align: center; }
.fund-excel-style-tools b { display: block; font-size: 26px; color: #538e69; font-family: Arial, sans-serif; font-weight: 400; }
.fund-excel-style-tools small { display: block; font-size: 11px; margin-top: 5px; white-space: nowrap; }
.fund-excel-formula { height: 31px; display: flex; align-items: center; padding: 3px 5px; gap: 7px; border-top: 1px solid #ddd; border-bottom: 1px solid #ccc; background: #eee; }
.fund-excel-name-box { width: 94px; flex-shrink: 0; height: 24px; border: 1px solid #c9c9c9; background: #fff; padding: 3px 8px; }
.fund-excel-formula-tools { width: 87px; color: #777; font: 15px Georgia, serif; white-space: nowrap; }
.fund-excel-formula output { display: block; flex: 1; height: 24px; min-width: 0; padding: 3px 10px; border: 1px solid #c9c9c9; background: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fund-excel-columns { height: 24px; display: grid; grid-template-columns: 34px repeat(16,minmax(0,1fr)); background: #f3f3f3; }
.fund-excel-columns > span { border-right: 1px solid #ccc; text-align: center; line-height: 24px; font: 12px/24px Arial, sans-serif; }
.fund-excel-columns > span:nth-child(2) { background: #e3f0e8; color: #217346; border-bottom: 2px solid #217346; }
.fund-excel-columns .fund-excel-corner { color: #aaa; }
.fund-excel-row-numbers { position: absolute; left: 0; top: var(--excel-top); width: 34px; height: calc(100% - var(--excel-top) - 35px); overflow: hidden; background: #f4f4f4; border-right: 1px solid #bbb; user-select: none; }
.fund-excel-row-numbers span { display: block; height: 24px; box-sizing: border-box; border-bottom: 1px solid #ddd; text-align: center; font: 11px/24px Arial, sans-serif; color: #555; }
.board-fund-boss-mode { position: relative; min-height: 100vh; box-sizing: border-box; }
.board-fund-boss-mode .board-fund-page {
  --fund-ink: #222; --fund-muted: #666; --fund-border: #d9d9d9; --fund-border-strong: #bfbfbf;
  --fund-panel: #fff; --fund-soft: #f4f4f4; --fund-blue: #217346; --fund-blue-soft: #e9f4ed;
  width: calc(100% - 34px); max-width: none; margin: 0 0 0 34px; padding: 24px 24px 48px;
  gap: 0; border-radius: 0; box-shadow: none; min-height: calc(100vh - var(--excel-top) - 35px);
  background: linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px),#fff;
  background-size: 100% 24px,calc((100vw - 34px) / 16) 100%;
  font-size: 12px;
}
.board-fund-boss-mode .fund-toolbar { border: 1px solid #aaa; border-top: 2px solid #217346; padding: 10px 13px; border-radius: 0; box-shadow: none; gap: 14px; min-height: 64px; }
.board-fund-boss-mode .fund-title-block h1 { color: #222; font-size: 17px; font-weight: 600; }
.board-fund-boss-mode .fund-title-meta { font-size: 11px; margin-top: 4px; gap: 5px 12px; }
.board-fund-boss-mode .fund-title-meta span + span::before { margin-right: 12px; }
.board-fund-boss-mode .fund-controls { gap: 12px; }
.board-fund-boss-mode .fund-segmented { border-radius: 2px; padding: 0; border: 1px solid #bcbcbc; background: #fafafa; }
.board-fund-boss-mode .fund-segment { padding: 5px 13px; min-height: 29px; border-radius: 0; font-size: 12px; }
.board-fund-boss-mode .fund-segment.active { background: #e5f0e8; color: #217346; box-shadow: inset 0 -2px #217346; }
.board-fund-boss-mode :is(.fund-favorites-button,.fund-date-control select,.fund-search,.fund-back-button,.fund-time-pill) { border: 1px solid #bbb; border-radius: 2px; background: #fff; box-shadow: none; font-size: 12px; }
.board-fund-boss-mode .fund-favorites-button { color: #333; padding: 5px 12px; min-height: 30px; }
.board-fund-boss-mode .fund-date-control { font-size: 12px; gap: 8px; }
.board-fund-boss-mode .fund-date-control select { min-height: 30px; padding: 4px 7px; }
.board-fund-boss-mode .fund-status { background: transparent; border: 0; padding: 0; font-size: 11px; }
.board-fund-boss-mode .fund-summary { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 23px 0; border: 1px solid #b7b7b7; background: #fff; }
.board-fund-boss-mode .fund-summary-item { border: 0; border-right: 1px solid #b7b7b7; box-shadow: none; background: #fff; border-radius: 0; padding: 9px 14px; min-height: 65px; }
.board-fund-boss-mode .fund-summary-item:last-child { border-right: 0; }
.board-fund-boss-mode .fund-summary-item::before { display: none; }
.board-fund-boss-mode .fund-summary-label { font-size: 11px; color: #777; }
.board-fund-boss-mode .fund-summary-value { font-size: 19px; line-height: 1.5; font-family: Calibri,"Microsoft YaHei",sans-serif; }
.board-fund-boss-mode .fund-panel-head { padding: 11px 14px; border-bottom: 1px solid #ddd; }
.board-fund-boss-mode .fund-panel-head h2 { color: #222; font-size: 14px; font-weight: 600; }
.board-fund-boss-mode .fund-panel-meta { font-size: 11px; }
.board-fund-boss-mode .fund-chart-panel { border: 1px solid #b5b5b5; box-shadow: none; border-radius: 0; }
.board-fund-boss-mode .fund-chart { height: clamp(420px,calc(100vh - 475px),640px); }
.board-fund-boss-mode .fund-chart-scroll { background: #fff; }
.board-fund-boss-mode .fund-search { min-height: 31px; }
.board-fund-boss-mode .fund-search input { font-size: 12px; color: #333; }
.board-fund-boss-mode .fund-table-panel { border: 1px solid #aaa; border-radius: 0; box-shadow: none; }
.board-fund-boss-mode :is(.fund-table th,.fund-table td) { border-right: 1px solid #d9d9d9; border-bottom: 1px solid #ddd; font-size: 12px; padding: 7px 13px; }
.board-fund-boss-mode .fund-table thead th { background: #e9f1ec; color: #333; }
.board-fund-boss-mode .fund-table tbody tr:nth-child(even) { background: #fafafa; }
.board-fund-boss-mode .fund-daily-ranking-shell { margin: 0; }
.board-fund-boss-mode .fund-daily-ranking { margin: 0; border: 1px solid #aaa; border-radius: 0; background: #fff; box-shadow: none; padding: 16px; }
.board-fund-boss-mode .fund-daily-ranking-copy h2 { font-size: 17px; }
.board-fund-boss-mode .fund-daily-ranking-kicker { background: #e9f1ec; color: #217346; border: 0; border-radius: 0; letter-spacing: 0; }
.board-fund-boss-mode :is(.fund-daily-category,.fund-daily-period,.fund-daily-rank-box,.fund-daily-history-link,.fund-daily-ranking-as-of) { border-radius: 0; box-shadow: none; }
.board-fund-boss-mode .fund-daily-table td { border: 1px solid #ddd; }
.board-fund-boss-mode .fund-daily-category-head { background: #e9f1ec; }
.board-fund-boss-mode .fund-stock-modal,.board-fund-boss-mode .fund-favorites-modal { z-index: 200; }
.board-fund-boss-mode :is(.fund-stock-modal-panel,.fund-favorites-modal-panel) { border-radius: 2px; border-top: 3px solid #217346; }
.board-fund-boss-mode[data-boss-sheet="intraday"] :is(.fund-table-panel,.fund-daily-ranking-shell),
.board-fund-boss-mode[data-boss-sheet="details"] :is(.fund-chart-panel,.fund-daily-ranking-shell),
.board-fund-boss-mode[data-boss-sheet="history"] :is(.fund-chart-panel,.fund-summary,.fund-table-panel) { display: none; }
.board-fund-boss-mode[data-boss-sheet="details"] .fund-table-panel { display: block; margin-top: 0; }
.board-fund-boss-mode[data-boss-sheet="history"] .fund-daily-ranking-shell { margin-top: 24px; }
.fund-excel-statusbar { position: fixed; inset: auto 0 0; z-index: 100; height: 35px; display: flex; align-items: center; gap: 0; background: #f3f3f3; border-top: 1px solid #c6c6c6; color: #555; font: 11px "Segoe UI","Microsoft YaHei",sans-serif; }
.fund-excel-ready { padding: 0 20px; }
.fund-excel-sheets { display: flex; align-items: stretch; height: 34px; border-left: 1px solid #ccc; }
.fund-excel-sheets button { margin: 0; padding: 0 25px; border: 0; border-right: 1px solid #d7d7d7; background: #eee; color: #666; font: inherit; font-size: 12px; cursor: pointer; }
.fund-excel-sheets button[aria-pressed="true"] { background: #fff; color: #217346; font-weight: 600; box-shadow: inset 0 -3px #217346; }
.fund-excel-zoom { margin-left: auto; padding-right: 20px; color: #666; white-space: nowrap; }
@media (max-width: 1100px) {
  .fund-excel-edit-group { display: none; }
  .fund-excel-quick,.fund-excel-return { width: 210px; }
  .fund-excel-ribbon-group { padding-inline: 9px; }
  .fund-excel-styles-group { flex: 1; }
}
@media (max-width: 800px) {
  .fund-excel-quick { width: 75px; }
  .fund-excel-autosave,.fund-excel-quick > span:nth-child(4),.fund-excel-search,.fund-excel-styles-group,.fund-excel-tabs > span:nth-child(n+7) { display: none; }
  .fund-excel-return { width: 130px; font-size: 11px; }
  .fund-excel-tabs > span { padding: 0 12px; }
  .fund-excel-number-group { display: none; }
  .board-fund-boss-mode .board-fund-page { padding: 14px 10px 35px; }
  .board-fund-boss-mode .fund-toolbar { flex-wrap: wrap; }
  .board-fund-boss-mode .fund-controls { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
  .board-fund-boss-mode .fund-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .board-fund-boss-mode .fund-summary-item { border-bottom: 1px solid #ddd; }
  .fund-excel-zoom { display: none; }
  .fund-excel-sheets button { padding-inline: 18px; }
}
