.excel-viewer-page { width: min(1240px, calc(100% - 36px)); margin: 30px auto 72px; color: #292637; }
.excel-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; color: #625d70; font-size: .88rem; font-weight: 650; text-decoration: none; }
.excel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.excel-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.055em; line-height: 1.1; }
.excel-heading p { max-width: 720px; margin: 9px 0 0; color: #6c6878; line-height: 1.55; }
.excel-heading .excel-eyebrow { margin: 0 0 7px; color: #6246b5; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.excel-privacy { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #dce9df; border-radius: 999px; background: #f5fbf6; color: #347148; font-size: .8rem; font-weight: 700; }
.excel-privacy span { color: #3aa66b; font-size: .7rem; }
.excel-drop-zone { display: grid; justify-items: center; gap: 10px; min-height: 330px; padding: 38px 22px; border: 1.5px dashed #c9c3d7; border-radius: 18px; background: linear-gradient(145deg, #fff, #f8f6fc); text-align: center; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.excel-drop-zone.is-dragging { border-color: #7256c5; background: #f1edfb; box-shadow: inset 0 0 0 3px #7256c51c; }
.excel-upload-mark { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #e2dcef; border-radius: 19px; background: #f2eef9; color: #6045b4; }
.excel-upload-mark svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.excel-drop-zone h2 { margin: 2px 0 0; font-size: 1.27rem; letter-spacing: -.025em; }
.excel-drop-zone p { margin: 0; color: #6e697b; font-size: .93rem; }
.excel-choose-button { min-width: 174px; margin-top: 7px; }
.excel-import-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 7px; }
.excel-import-actions .excel-choose-button { margin-top: 0; }
.excel-limit { color: #777283; font-size: .77rem; }
.excel-status { min-height: 0; margin: 0; color: #5c566b; font-size: .88rem; line-height: 1.5; }
.excel-status:not(:empty) { margin: 12px 2px 18px; padding: 11px 14px; border: 1px solid #e4e0eb; border-radius: 10px; background: #fff; }
.excel-status.is-error { border-color: #f0c9cc; background: #fff7f7; color: #a52331; }
.excel-workspace { margin-top: 24px; border: 1px solid #e1deea; border-radius: 17px; background: #fff; box-shadow: 0 8px 26px #241d3610; }
.excel-workbook-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #ece9f1; }
.excel-file-heading { display: flex; min-width: 0; align-items: center; gap: 11px; }
.excel-file-icon { display: grid; width: 39px; height: 43px; flex: 0 0 auto; place-items: center; border: 1px solid #d9eadf; border-radius: 7px; background: #f3fbf5; color: #26804a; font-size: 1rem; font-weight: 850; }
.excel-file-heading h2 { overflow: hidden; margin: 0; color: #302c3a; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.excel-file-heading p { margin: 4px 0 0; color: #777283; font-size: .75rem; }
.excel-workbook-header > .button { flex: 0 0 auto; min-height: 39px; padding: 7px 11px; font-size: .81rem; }
.excel-viewer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 0; }
.excel-sheet-panel { min-width: 0; }
.excel-sheet-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 12px 14px 0; border-bottom: 1px solid #e9e6ef; scrollbar-width: thin; }
.excel-sheet-tab { min-width: max-content; padding: 9px 13px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #686376; font: inherit; font-size: .82rem; cursor: pointer; }
.excel-sheet-tab:hover { color: #50389f; }
.excel-sheet-tab[aria-selected="true"] { border-bottom-color: #6045b4; color: #49349a; font-weight: 750; }
.excel-grid-toolbar { display: flex; justify-content: flex-end; padding: 12px 14px; }
.excel-search { display: flex; width: min(100%, 390px); align-items: center; gap: 8px; min-height: 39px; padding: 0 10px; border: 1px solid #dedbe6; border-radius: 9px; color: #777283; }
.excel-search > span:first-child { font-size: 1.35rem; line-height: 1; }
.excel-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #302c3a; font: inherit; font-size: .81rem; }
.excel-search input::placeholder { color: #9994a3; }
.excel-match-status { flex: 0 0 auto; font-size: .69rem; white-space: nowrap; }
.excel-grid-scroll { max-height: 560px; overflow: auto; border-top: 1px solid #e7e4ec; border-bottom: 1px solid #e7e4ec; }
.excel-grid { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; color: #383444; font-size: .78rem; }
.excel-grid th, .excel-grid td { height: 35px; border-right: 1px solid #eceaf0; border-bottom: 1px solid #eceaf0; }
.excel-grid thead th { position: sticky; z-index: 2; top: 0; background: #f7f6fa; color: #5e596a; font-size: .72rem; font-weight: 700; text-align: center; }
.excel-grid .excel-row-heading { position: sticky; z-index: 3; left: 0; min-width: 48px; background: #f2f0f6; }
.excel-grid .excel-column-heading { min-width: 120px; max-width: 220px; }
.excel-grid .excel-row-number { position: sticky; z-index: 1; left: 0; width: 48px; background: #f7f6fa; color: #787384; font-size: .7rem; font-weight: 600; text-align: center; }
.excel-grid td { min-width: 120px; max-width: 220px; padding: 0; background: #fff; }
.excel-cell { display: block; overflow: hidden; width: 100%; height: 34px; padding: 0 9px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.excel-cell:hover { background: #f6f3fb; }
.excel-cell:focus-visible { position: relative; z-index: 1; outline: 2px solid #7056c2; outline-offset: -2px; }
.excel-cell.is-match { background: #fff4ca; }
.excel-grid-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 11px 14px; }
.excel-page-control { display: flex; align-items: center; gap: 9px; color: #706b7b; font-size: .72rem; }
.excel-page-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #e2dfea; border-radius: 7px; background: #fff; color: #524d5e; font-size: .9rem; }
.excel-page-button:disabled { opacity: .4; cursor: default; }
.excel-cell-panel { position: sticky; top: 12px; min-height: 260px; padding: 18px 16px; border-left: 1px solid #ece9f1; background: #fcfbfd; }
.excel-cell-panel-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #e9e6ef; }
.excel-detail-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #f0ecf8; color: #5b41ad; font-size: .86rem; font-weight: 800; }
.excel-cell-panel-heading p { margin: 0 0 2px; color: #777283; font-size: .69rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.excel-cell-panel-heading h2 { margin: 0; color: #302c3a; font-size: .94rem; }
.excel-cell-details { display: grid; gap: 7px; padding: 16px 0; overflow-wrap: anywhere; }
.excel-detail-address { color: #5e596a; font-size: .75rem; font-weight: 700; }
.excel-detail-value { color: #292637; font-size: .91rem; font-weight: 650; line-height: 1.45; white-space: pre-wrap; }
.excel-detail-label { margin-top: 6px; color: #797486; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.excel-detail-formula { display: block; padding: 9px; border: 1px solid #e9e6ef; border-radius: 7px; background: #fff; color: #544f60; font-size: .73rem; white-space: pre-wrap; }
.excel-inspector-empty { margin: 2px 0; color: #7a7586; font-size: .8rem; line-height: 1.55; }
.excel-read-only-note { display: flex; align-items: flex-start; gap: 7px; margin: 0; padding-top: 12px; border-top: 1px solid #e9e6ef; color: #777283; font-size: .7rem; line-height: 1.5; }
.excel-read-only-note span { color: #6246b5; font-size: .9rem; }
.excel-help { max-width: 850px; margin: 26px 0 0; padding: 18px 20px; border: 1px solid #e7e3ed; border-radius: 13px; background: #fff; }
.excel-help h2 { margin: 0 0 6px; font-size: .96rem; }
.excel-help p { margin: 0; color: #6f6a7b; font-size: .82rem; line-height: 1.6; }
@media (max-width: 840px) { .excel-viewer-layout { grid-template-columns: minmax(0, 1fr); } .excel-cell-panel { position: static; min-height: 0; border-top: 1px solid #ece9f1; border-left: 0; } }
@media (max-width: 600px) { .excel-viewer-page { width: min(100% - 24px, 1240px); margin-top: 20px; } .excel-heading { display: block; } .excel-privacy { margin-top: 14px; } .excel-drop-zone { min-height: 295px; padding: 28px 15px; } .excel-workbook-header { align-items: flex-start; padding: 12px; } .excel-file-heading { max-width: calc(100% - 112px); } .excel-workbook-header > .button { padding: 7px 8px; } .excel-grid-toolbar { justify-content: stretch; padding: 10px; } .excel-search { width: 100%; } .excel-grid-scroll { max-height: 62vh; } .excel-grid-pagination { display: grid; } }
