.univer-exchange-link-list {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: rgba(var(--scrollbar-color), .7) transparent;
    scrollbar-gutter: auto;
    scrollbar-width: thin;
    margin-top: var(--margin-lg)
}

.univer-exchange-link-list-inner {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    flex-direction: column
}

.univer-exchange-link-list-inner-item-link {
    display: flex;
    justify-content: space-between;
    text-decoration-line: none;
    color: var(--color-black);
    padding: var(--padding-xs) var(--padding-sm);
    background-color: transparent;
    border: none;
    border-radius: var(--border-radius-base);
    outline: none;
    transition: background-color .2s
}

.univer-exchange-link-list-inner-item-link:hover {
    background-color: rgb(var(--border-color))
}

.univer-exchange-link-list-inner-item-link-content {
    display: flex;
    align-items: center;
    width: calc(100% - 48px)
}

.univer-exchange-link-list-inner-item-link-icon {
    height: 20px;
    font-size: 20px;
    display: flex
}

.univer-exchange-link-list-inner-item-link-name {
    margin-left: var(--margin-xxs);
    color: var(--color-black);
    font-size: var(--font-size-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.univer-exchange-link-list-inner-item-link-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: var(--font-size-lg);
    color: rgb(var(--text-color-secondary));
    background-color: transparent;
    border: none;
    border-radius: var(--border-radius-base);
    outline: none;
    transition: background-color .2s
}

.univer-exchange-link-list-inner-item-link-direct:hover {
    background-color: rgb(var(--bg-color-hover))
}

.univer-exchange-upload-button {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    height: 28px;
    border-width: 0;
    border-radius: 6px;
    padding: 0 var(--padding-sm);
    font-size: var(--font-size-xs);
    transition: all .15s;
    color: rgb(var(--hyacinth-500));
    background-color: transparent;
    border-color: transparent
}

.univer-exchange-upload-button:hover {
    background-color: rgb(var(--hyacinth-50))
}

.univer-exchange-upload-error {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: var(--margin-lg)
}

.univer-exchange-upload-error-tip {
    color: var(--color-black);
    font-size: var(--font-size-sm);
    padding: 0 var(--padding-lg) 0 var(--padding-sm);
    margin-bottom: var(--margin-sm)
}

.univer-exchange-upload-success {
    display: flex;
    padding: 0 var(--padding-xs) 0 var(--padding-sm);
    align-items: center;
    justify-content: space-between;
    margin-top: var(--margin-sm)
}

.univer-exchange-upload-success-tip {
    color: rgb(var(--text-color-secondary));
    font-size: var(--font-size-xs)
}

.univer-exchange-uploading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: var(--margin-lg)
}

.univer-exchange-uploading-tip {
    color: var(--color-black);
    font-size: var(--font-size-sm);
    padding: 0 var(--padding-lg) 0 var(--padding-sm)
}

.univer-exchange-uploading-progress {
    padding: 0 var(--padding-lg) 0 var(--padding-sm)
}

.univer-exchange-upload-progress {
    width: 324px;
    height: 6px;
    margin: var(--margin-base) 0 var(--margin-sm) 0;
    background-color: rgb(var(--border-color));
    border-radius: var(--border-radius-lg)
}

.univer-exchange-upload-progress-inner {
    height: 6px;
    border-radius: var(--border-radius-lg);
    transition: width .5s
}

.univer-exchange-upload-notification {
    position: fixed;
    z-index: 1000;
    bottom: 48px;
    right: 12px;
    width: 372px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--padding-xl) var(--padding-base) var(--padding-lg) var(--padding-base);
    background-color: #fff;
    border-radius: 6px;
    box-shadow: var(--box-shadow-base);
    box-sizing: border-box
}

.univer-exchange-upload-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--padding-sm) 0 6px
}

.univer-exchange-upload-notification-header-title {
    display: flex
}

.univer-exchange-upload-notification-header-icon {
    height: 24px;
    font-size: 24px
}

.univer-exchange-upload-notification-header-icon-success {
    color: rgb(var(--success-color))
}

.univer-exchange-upload-notification-header-icon-uploading {
    color: rgb(var(--info-color))
}

.univer-exchange-upload-notification-header-icon-error {
    color: rgb(var(--error-color))
}

.univer-exchange-upload-notification-header-text {
    margin-left: 6px;
    line-height: 24px;
    color: var(--color-black);
    font-size: 17px;
    font-weight: 600
}

.univer-exchange-upload-notification-header-close {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: var(--font-size-lg);
    color: rgb(var(--text-color-secondary));
    background-color: transparent;
    border: none;
    border-radius: var(--border-radius-base);
    outline: none;
    transition: background-color .2s
}

.univer-exchange-upload-notification-header-close:hover {
    background-color: rgb(var(--bg-color-hover))
}

.univer-pivot-panel {
    font-family: PingFang SC;
    font-size: 13px;
    font-style: normal
}

.univer-pivot-panel-error {
    font-size: 12px;
    color: rgb(var(--red-500));
    margin: var(--margin-xxs) 0
}

.univer-pivot-panel-scrollbar-container {
    height: 100%
}

.univer-pivot-panel-menu {
    display: inline-flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 8px;
    border: 1px solid rgb(var(--grey-200));
    background: rgb(var(--color-white));
    box-shadow: 0 4px 16px #1e222b14
}

.univer-pivot-panel-menu-wrap {
    min-width: 120px !important
}

.univer-pivot-panel-menu-item {
    display: flex;
    padding: 6px 8px;
    align-items: center;
    align-self: stretch;
    color: rgb(var(--color-black));
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer
}

.univer-pivot-panel-menu-item:hover {
    background: #1e222b0f
}

.univer-pivot-panel-wrap {
    width: 100%;
    margin-top: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    height: calc(100% - 16px);
    display: flex;
    flex-direction: column;
    scrollbar-width: none
}

.univer-pivot-panel-wrap::-webkit-scrollbar {
    display: none
}

.univer-pivot-panel-block {
    margin-bottom: 16px;
    min-height: 200px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.univer-pivot-panel-source {
    margin-bottom: 16px
}

.univer-pivot-panel-source-header {
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    margin-bottom: 8px
}

.univer-pivot-panel-source-header-label {
    float: left;
    color: rgb(var(--color-black));
    text-align: justify;
    font-style: normal;
    font-weight: 500
}

.univer-pivot-panel-source-header-desc {
    float: right;
    color: rgb(var(--grey-600));
    font-style: normal;
    font-weight: 400
}

.univer-pivot-panel-source-input {
    position: relative
}

.univer-pivot-panel-source-range-select {
    box-sizing: border-box
}

.univer-pivot-panel-source-mask {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    height: 28px;
    width: calc(100% - 22px)
}

.univer-pivot-panel-list {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 32px;
    line-height: 16px;
    padding: 8px 4px;
    border-radius: 6px;
    box-sizing: border-box
}

.univer-pivot-panel-list-drag {
    cursor: move;
    color: rgb(var(--color-black));
    font-size: 16px
}

.univer-pivot-panel-list-checkbox {
    font-size: 14px;
    color: #bcbcbc;
    width: 14px
}

.univer-pivot-panel-list-type {
    font-size: 12px;
    color: #bcbcbc;
    margin: 0 6px
}

.univer-pivot-panel-list-wrap {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgb(var(--grey-200));
    background: #fff;
    box-sizing: border-box;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 150px
}

.univer-pivot-panel-list-title {
    color: rgb(var(--color-black));
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 4px
}

.univer-pivot-panel-list-desc {
    color: rgb(var(--grey-600));
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-top: 0;
    margin-bottom: 8px
}

.univer-pivot-panel-list-content {
    flex: 1;
    display: inline-block;
    color: rgb(var(--color-black));
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px;
    display: flex
}

.univer-pivot-panel-list:hover {
    background-color: #f0f0f0;
    white-space: nowrap
}

.univer-pivot-panel-field-area {
    padding: 0 8px;
    height: 100%;
    box-sizing: border-box
}

.univer-pivot-panel-field-area-title {
    width: 100%;
    color: rgb(var(--color-black));
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 8px;
    margin-top: 0;
    display: flex
}

.univer-pivot-panel-field-area-title-icon {
    font-size: 16px;
    line-height: 16px;
    width: 16px;
    margin-right: 6px
}

.univer-pivot-panel-field-area-title-text {
    display: inline-block;
    vertical-align: top
}

.univer-pivot-panel-field-area-empty {
    display: flex;
    height: 140px;
    padding: 0 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch
}

.univer-pivot-panel-field-area-empty-icon {
    width: 32px;
    height: 32px
}

.univer-pivot-panel-field-area-empty-desc {
    color: rgb(var(--grey-600));
    text-align: center;
    font-family: PingFang SC;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px
}

.univer-pivot-panel-field-area-holder {
    width: 100%;
    height: 0px;
    border-top: 1px solid rgb(var(--primary-color))
}

.univer-pivot-panel-field-area-wrap {
    flex: 1;
    min-height: 200px;
    padding: 4px
}

.univer-pivot-panel-field-area-content {
    height: 160px;
    width: 113px;
    padding: 8px 0;
    flex-direction: column;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgb(var(--border-color));
    background: #fafafa
}

.univer-pivot-panel-field-area-content-dropping {
    border: 1px solid rgb(var(--primary-color-hover))
}

.univer-pivot-panel-field-area-placeholder {
    max-width: 118px;
    height: 1px;
    overflow: hidden
}

.univer-pivot-panel-field-area-item {
    display: flex;
    padding: 2px;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    line-height: 16px;
    border: 1px solid transparent
}

.univer-pivot-panel-field-area-item-text {
    flex: 1 0 0;
    color: #1e222b;
    font-family: PingFang SC;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    max-width: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.univer-pivot-panel-field-area-item-dragging,
.univer-pivot-panel-field-area-item:hover {
    background-color: #f0f0f0
}

.univer-pivot-panel-field-area-item-more {
    cursor: default
}

.univer-pivot-panel-field-area-group {
    display: flex;
    flex-direction: row;
    gap: 16px
}

.univer-pivot-panel-dialog-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    line-height: 20px
}

.univer-pivot-panel-dialog-title-text {
    color: rgb(var(--color-black));
    font-size: 13px;
    font-weight: 500;
    line-height: 20px
}

.univer-pivot-panel-dialog-title-desc {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    color: rgb(var(--text-color-secondary))
}

.univer-pivot-panel-dialog-input {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 20px;
    padding: 6px 10px;
    font-size: 13px;
    height: 32px;
    line-height: 20px;
    border-radius: 6px;
    box-sizing: border-box
}

.univer-pivot-panel-dialog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    margin-top: 20px
}

.univer-pivot-panel-dialog-footer-btn {
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: var(--border-radius-base);
    cursor: pointer
}

.univer-pivot-panel-dialog-footer-cancel {
    color: #7a7a7a;
    background-color: #fff;
    border: 1px solid rgb(var(--border-color))
}

.univer-pivot-panel-dialog-footer-fmt {
    display: flex;
    height: 24px;
    padding: 0 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: #fff;
    color: rgb(var(--primary-color))
}

.univer-pivot-panel-dialog-footer-control {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px
}

.univer-pivot-panel-dialog-summarize {
    display: flex;
    padding: 8px;
    width: 100%;
    align-items: flex-start;
    height: 160px
}

.univer-pivot-panel-dialog-summarize-select {
    flex: 1;
    height: 160px;
    border: 1px solid rgb(var(--border-color));
    border-radius: var(--border-radius-base)
}

.univer-pivot-panel-dialog-summarize-label {
    color: rgb(var(--color-black));
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 8px
}

.univer-pivot-panel-dialog-summarize-item {
    display: flex;
    padding: 6px 8px;
    border-radius: 6px;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-transform: capitalize
}

.univer-pivot-panel-dialog-summarize-item-icon {
    font-size: 16px;
    color: rgb(var(--success-color));
    width: 16px
}

.univer-pivot-panel-dialog-summarize-item:hover {
    background-color: rgb(var(--bg-color-hover))
}

.univer-pivot-panel-dialog-content {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.univer-pivot-dialog-range-selector-sub-title,
.univer-pivot-dialog-range-selector-sub-title-last {
    margin-bottom: var(--margin-xs);
    font-size: var(--font-size-xs);
    font-weight: 500;
    height: 20px;
    line-height: 20px
}

.univer-pivot-dialog-range-selector-sub-title-last {
    margin-top: var(--margin-lg)
}

.univer-pivot-dialog-range-selector-last {
    margin-top: var(--margin-xs)
}

.univer-pivot-dialog-range-selector-error,
.univer-pivot-dialog-range-selector-error:hover {
    border: 1px solid rgb(var(--red-400))
}

.univer-pivot-dialog-range-selector-error-text {
    height: 20px;
    line-height: 20px;
    color: rgb(var(--red-400));
    font-size: var(--font-size-xs);
    font-weight: 400
}

.univer-pivot-dialog-range-selector-footer {
    margin-top: var(--margin-lg);
    display: flex;
    justify-content: flex-end
}

.univer-pivot-dialog-range-selector-footer-confirm {
    margin-left: var(--margin-sm)
}

.univer-pivot-dialog-sort {
    display: flex
}

.univer-pivot-dialog-sort-item {
    flex: 1;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 140px;
    text-align: center;
    height: 32px;
    font-size: 13px;
    line-height: 32px;
    border-radius: 6px;
    border: 1px solid rgb(var(--grey-200))
}

.univer-pivot-dialog-sort-item:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.univer-pivot-dialog-sort-item:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none
}

.univer-pivot-dialog-sort-item-checked,
.univer-pivot-dialog-sort-item:hover {
    background-color: rgb(var(--grey-200))
}

.univer-pivot-dialog-filter {
    border: 1px solid rgb(var(--grey-200));
    margin: var(--margin-sm) 0 var(--margin-base);
    padding: var(--padding-sm);
    border-radius: var(--border-radius-lg);
    height: 300px
}

.univer-pivot-dialog-filter-scroll {
    height: 100%
}

.univer-pivot-dialog-filter-item {
    height: 28px;
    padding: 5px 4px 5px 22px;
    margin-bottom: 4px;
    font-size: 13px;
    box-sizing: border-box
}

.univer-pivot-dialog-filter-item:last-child {
    margin-bottom: 0
}

.univer-pivot-dialog-filter-item-checkbox {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.univer-pivot-dialog-filter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.univer-pivot-dialog-filter-footer-clear {
    cursor: pointer;
    font-size: 12px;
    color: rgb(var(--hyacinth-500))
}

.univer-pivot-dialog-filter-footer-group {
    display: flex;
    align-items: center
}

.univer-pivot-dialog-filter-footer-group button:last-child {
    margin-left: 8px
}

.univer-pivot-dialog-numfmt-header {
    display: flex
}

.univer-pivot-dialog-numfmt-header-back {
    font-size: var(--font-size-lg);
    font-weight: 500;
    height: 24px;
    line-height: 24px;
    margin-bottom: var(--margin-lg);
    display: flex;
    align-items: center;
    cursor: pointer
}

.univer-pivot-dialog-numfmt-header-back svg {
    margin-right: 8px
}

.univer-pivot-dialog-numfmt-sub-header {
    height: 20px;
    line-height: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-bottom: var(--margin-xs)
}

.univer-pivot-dialog-numfmt-main-select {
    width: 100%
}

.univer-pivot-dialog-numfmt-note {
    margin-top: 6px;
    font-size: 13px;
    line-height: 20px;
    color: rgba(var(--grey-600))
}

.univer-pivot-dialog-numfmt-accounting,
.univer-pivot-dialog-numfmt-currency,
.univer-pivot-dialog-numfmt-date,
.univer-pivot-dialog-numfmt-thousand {
    margin-top: 20px
}

.univer-pivot-dialog-numfmt-accounting-body,
.univer-pivot-dialog-numfmt-currency-body,
.univer-pivot-dialog-numfmt-date-body,
.univer-pivot-dialog-numfmt-thousand-body {
    margin-top: 16px
}

.univer-pivot-dialog-numfmt-sm-options-group {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.univer-pivot-dialog-numfmt-number-input {
    height: 32px;
    box-sizing: border-box
}

.univer-pivot-dialog-numfmt-main-panel {
    height: 176px;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid rgb(var(--grey-200));
    box-sizing: border-box
}

.univer-pivot-dialog-numfmt-sm-options {
    width: 136px
}

.univer-pivot-dialog-numfmt-sm-options-title {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500
}

.univer-pivot-dialog-numfmt-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--margin-lg)
}

.univer-pivot-dialog-numfmt-footer button:last-child {
    margin-left: var(--margin-sm)
}

.univer-pivot-dialog-numfmt .univer-select-single .univer-select-selector {
    height: 32px
}

.univer-pivot-dialog-numfmt .univer-select-list {
    padding: 8px;
    border-radius: 8px;
    scrollbar-color: rgba(var(--scrollbar-color), .7) transparent;
    scrollbar-gutter: auto;
    scrollbar-width: thin
}

.univer-radio-group-vertical {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    gap: var(--margin-xs)
}

.univer-univer-pivot-filter-dialog .univer-univer-dialog-title-content {
    padding: var(--padding-lg) var(--padding-lg) 0
}

.univer-univer-pivot-filter-dialog .univer-univer-dialog-content {
    padding: 0 var(--padding-lg) var(--padding-lg)
}

.univer-pointer-events-none {
    pointer-events: none
}

.univer-absolute {
    position: absolute
}

.univer-relative {
    position: relative
}

.univer-inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

.univer-my-1 {
    margin-top: .25rem;
    margin-bottom: .25rem
}

.univer-my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem
}

.univer-ml-1 {
    margin-left: .25rem
}

.univer-ml-2 {
    margin-left: .5rem
}

.univer-mr-1 {
    margin-right: .25rem
}

.univer-size-full {
    width: 100%;
    height: 100%
}

.univer-h-16 {
    height: 4rem
}

.univer-justify-center {
    justify-content: center
}

.univer-overflow-hidden {
    overflow: hidden
}

.univer-border-0 {
    border-width: 0px
}

.univer-border-b {
    border-bottom-width: 1px
}

.univer-border-b-gray-200 {
    --tw-border-opacity: 1;
    border-bottom-color: #e3e5ea;
    border-bottom-color: rgba(227, 229, 234, var(--tw-border-opacity, 1))
}

.univer-p-0 {
    padding: 0
}

.univer-text-center {
    text-align: center
}

.univer-font-medium {
    font-weight: 500
}

.dark\:univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
    --tw-bg-opacity: 1;
    background-color: #0e111e;
    background-color: rgba(14, 17, 30, var(--tw-bg-opacity, 1))
}

.univer-headfooter-dropdown-button {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgb(var(--color-white));
    cursor: pointer;
    gap: 4px;
    position: relative
}

.univer-headfooter-dropdown-button:hover {
    background-color: rgb(var(--bg-color-hover))
}

.univer-headfooter-dropdown-button:hover .univer-headfooter-dropdown-button-arrow {
    transform: rotate(180deg)
}

.univer-headfooter-dropdown-button-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--color-black))
}

.univer-headfooter-dropdown-button-arrow {
    width: 12px;
    height: 12px;
    color: rgb(var(--color-black));
    transition: transform .2s
}

.univer-headfooter-dropdown-button-active .univer-headfooter-dropdown-popup {
    display: block
}

.univer-headfooter-dropdown-popup {
    position: absolute;
    left: 0;
    padding: 8px 0;
    display: none;
    z-index: var(--z-index-popup);
    min-width: 200px
}

.univer-headfooter-dropdown-popup:hover {
    display: block
}

.univer-headfooter-dropdown-menu {
    border-radius: 8px;
    border: 1px solid rgb(var(--border-color));
    background: rgb(var(--color-white));
    box-shadow: var(--box-shadow-lg);
    padding: 8px
}

.univer-headfooter-dropdown-menu-item {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    justify-content: space-between;
    align-items: center
}

.univer-headfooter-dropdown-menu-item:hover {
    border-radius: 4px;
    background: rgb(var(--bg-color-hover))
}

.univer-headfooter-dropdown-menu-item-title {
    font-size: var(--font-size-base);
    color: rgb(var(--text-color))
}

.univer-headfooter-dropdown-menu-item-desc {
    font-size: var(--font-size-sm);
    color: rgb(var(--text-color-secondary))
}

.univer-headfooter-dropdown-hover-menu {
    border-radius: 6px;
    border: 1px solid rgb(var(--border-color));
    background: rgb(var(--color-white));
    box-shadow: var(--box-shadow-base);
    padding: 4px
}

.univer-headfooter-editor {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative
}

.univer-headfooter-editor-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgb(var(--bg-color))
}

.univer-headfooter-editor-header {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    height: 64px;
    padding-right: var(--padding-lg);
    padding-left: var(--padding-lg);
    background: rgb(var(--color-white));
    border-bottom: 1px solid rgb(var(--border-color))
}

.univer-headfooter-editor-header-title {
    margin-left: var(--margin-xs);
    font-size: var(--font-size-lg);
    font-weight: 500;
    font-style: normal;
    line-height: normal;
    color: rgb(var(--color-black))
}

.univer-headfooter-editor-header-actions {
    position: relative
}

.univer-headfooter-editor-header-actions :first-child {
    margin-right: var(--margin-xs)
}

.univer-headfooter-editor-content {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 0
}

.univer-headfooter-editor-content-preview {
    position: relative;
    overflow: hidden;
    flex: 1 1 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center
}

.univer-headfooter-editor-main {
    padding: 28px 24px;
    width: 761px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 4px 16px #1e222b14;
    margin: 20px auto
}

.univer-headfooter-editor-main-row {
    display: flex;
    width: 100%
}

.univer-headfooter-editor-main-item {
    flex: 1;
    margin: 0 4px
}

.univer-headfooter-editor-main-bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-end
}

.univer-headfooter-editor-main-input {
    flex: 1;
    position: relative;
    margin: 0 8px
}

.univer-headfooter-editor-main-grid {
    margin: 20px 8px
}

.univer-sheets-print-content-preview {
    position: relative;
    overflow: hidden;
    flex: 1 1 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column
}

.univer-sheets-print-content-preview-list {
    flex: 1 1 0;
    overflow: auto;
    scrollbar-color: rgba(115, 115, 115, .4) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin
}

.univer-sheets-print-content-preview-page {
    position: relative;
    flex: 0 0 auto;
    margin: 28px auto 0;
    background-color: rgb(var(--color-white));
    box-shadow: var(--box-shadow-lg)
}

.univer-sheets-print-content-preview-control {
    position: absolute;
    right: var(--margin-base);
    bottom: var(--margin-base);
    z-index: 100
}

.univer-sheets-print-content-preview-control-item {
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: var(--margin-xs);
    background-color: rgb(var(--color-white));
    border-radius: 50%;
    box-shadow: var(--box-shadow-base)
}

.univer-sheets-print-content-setting {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 312px;
    height: 100%;
    background: rgb(var(--color-white))
}

.univer-sheets-print-content-setting-form {
    padding: 16px
}

.univer-my-2 {
    margin-top: .5rem;
    margin-bottom: .5rem
}

.univer-mb-2 {
    margin-bottom: .5rem
}

.univer-mr-2 {
    margin-right: .5rem
}

.univer-mt-2 {
    margin-top: .5rem
}

.univer-mt-2\.5 {
    margin-top: .625rem
}

.univer-mt-4 {
    margin-top: 1rem
}

.univer-box-border {
    box-sizing: border-box
}

.univer-flex {
    display: flex
}

.univer-grid {
    display: grid
}

.univer-h-4 {
    height: 1rem
}

.univer-h-6 {
    height: 1.5rem
}

.univer-h-8 {
    height: 2rem
}

.univer-w-4 {
    width: 1rem
}

.univer-w-\[290px\] {
    width: 290px
}

.univer-w-\[var\(--radix-popper-anchor-width\)\] {
    width: var(--radix-popper-anchor-width)
}

.univer-w-full {
    width: 100%
}

.univer-flex-1 {
    flex: 1 1 0%
}

.univer-cursor-pointer {
    cursor: pointer
}

.univer-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.univer-flex-row {
    flex-direction: row
}

.univer-flex-col {
    flex-direction: column
}

.univer-items-start {
    align-items: flex-start
}

.univer-items-center {
    align-items: center
}

.univer-justify-between {
    justify-content: space-between
}

.univer-gap-1\.5 {
    gap: .375rem
}

.univer-gap-2 {
    gap: .5rem
}

.univer-rounded-md {
    border-radius: .375rem
}

.univer-border {
    border-width: 1px
}

.univer-border-solid {
    border-style: solid
}

.univer-border-gray-300 {
    --tw-border-opacity: 1;
    border-color: #cdd0d8;
    border-color: rgba(205, 208, 216, var(--tw-border-opacity, 1))
}

.univer-bg-white {
    --tw-bg-opacity: 1;
    background-color: #fff;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1))
}

.univer-p-2 {
    padding: .5rem
}

.univer-p-3 {
    padding: .75rem
}

.univer-px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.univer-px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.univer-pb-2\.5 {
    padding-bottom: .625rem
}

.univer-text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.univer-text-\[14px\] {
    font-size: 14px
}

.univer-text-base {
    font-size: 1rem;
    line-height: 1.5rem
}

.univer-text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.univer-font-light {
    font-weight: 300
}

.univer-font-normal {
    font-weight: 400
}

.univer-leading-8 {
    line-height: 2rem
}

.univer-leading-\[150\%\] {
    line-height: 150%
}

.univer-text-\[var\(--gray-600\,\#414657\)\] {
    color: #414657;
    color: var(--gray-600, #414657)
}

.univer-text-gray-600 {
    --tw-text-opacity: 1;
    color: #414657;
    color: rgba(65, 70, 87, var(--tw-text-opacity, 1))
}

.univer-text-gray-900 {
    --tw-text-opacity: 1;
    color: #0e111e;
    color: rgba(14, 17, 30, var(--tw-text-opacity, 1))
}

.univer-transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.univer-duration-200 {
    transition-duration: .2s
}

.placeholder\:univer-text-gray-400::-moz-placeholder {
    --tw-text-opacity: 1;
    color: #979dac;
    color: rgba(151, 157, 172, var(--tw-text-opacity, 1))
}

.placeholder\:univer-text-gray-400::placeholder {
    --tw-text-opacity: 1;
    color: #979dac;
    color: rgba(151, 157, 172, var(--tw-text-opacity, 1))
}

.hover\:univer-bg-gray-200:hover {
    --tw-bg-opacity: 1;
    background-color: #e3e5ea;
    background-color: rgba(227, 229, 234, var(--tw-bg-opacity, 1))
}

.focus\:univer-border-blue-500:focus {
    --tw-border-opacity: 1;
    border-color: #3f83f8;
    border-color: rgba(63, 131, 248, var(--tw-border-opacity, 1))
}

.focus\:univer-outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px
}

.focus\:univer-ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))
}

.focus\:univer-ring-blue-500\/20:focus {
    --tw-ring-color: rgba(63, 131, 248, .2)
}

.univer-chart-edit-panel-tabs {
    display: flex;
    align-items: center;
    justify-content: start
}

.univer-chart-edit-panel-tab {
    padding: var(--padding-lg) 0;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-right: 20px;
    cursor: default
}

.univer-chart-edit-panel-tab-btn {
    color: rgb(var(--text-color-secondary));
    position: relative
}

.univer-chart-edit-panel-tab-btn-active {
    color: rgb(var(--primary-color))
}

.univer-chart-edit-panel-tab-btn-active:after {
    content: "";
    width: 50%;
    height: 4px;
    border-radius: 2px;
    display: block;
    position: absolute;
    background-color: rgb(var(--primary-color));
    bottom: -8px;
    left: 50%;
    transform: translate(-50%)
}

.univer-chart-edit-panel-tab-btn:hover {
    background-color: transparent
}

.univer-chart-edit-panel h5 {
    margin: var(--margin-xs) 0 var(--margin-sm);
    font-size: var(--font-size-xs)
}

.univer-chart-edit-panel .univer-chart-edit-panel-select {
    width: 100%;
    height: 32px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: 8px;
    border-radius: var(--rounded-lg, 8px);
    border: 1px solid #e3e5ea;
    border: 1px solid var(--gray-200, #e3e5ea);
    background: #f9fafb;
    background: var(--gray-50, #f9fafb);
    cursor: default
}

.univer-chart-edit-panel .univer-chart-edit-panel-select .univer-select-selector {
    width: 100%
}

.univer-chart-edit-panel .univer-chart-edit-panel-input {
    width: 100%;
    height: 32px;
    background: #f9fafb;
    background: var(--gray-50, #f9fafb)
}

.univer-chart-edit-panel .univer-chart-edit-panel-input input {
    background-color: #f9fafb;
    background-color: var(--gray-50, #f9fafb)
}

.univer-chart-edit-panel .chart-edit-panel-label {
    font-size: var(--font-size-sm);
    color: var(--text-color)
}

.univer-chart-edit-panel .chart-edit-panel-top-gap {
    margin-top: var(--margin-xs)
}

.univer-chart-edit-panel .chart-edit-panel-top-gap-sm {
    margin-top: var(--margin-sm)
}

.univer-chart-edit-panel .chart-edit-panel-top-gap-base {
    margin-top: var(--margin-base)
}

.univer-chart-edit-panel .chart-edit-panel-row {
    display: flex;
    gap: var(--margin-sm)
}

.univer-chart-edit-panel .chart-edit-panel-row-wrap {
    flex-wrap: wrap
}

.univer-chart-edit-panel .chart-edit-panel-text-right {
    text-align: right
}

.univer-chart-edit-panel .chart-edit-panel-row-half {
    width: calc(50% - 6px);
    box-sizing: border-box
}

.univer-chart-edit-panel .univer-select-selection-overflow {
    align-items: center
}

.univer-data-tab-panel-series-select {
    display: flex;
    align-items: center
}

.univer-data-tab-panel-series-select-delete {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: var(--margin-xs);
    flex-shrink: 0
}

.univer-data-tab-panel-series-select-delete:hover {
    background: #eeeff1;
    background: var(--gray-100, #eeeff1);
    border-radius: 4px
}

.univer-data-tab-panel-add-series-btn {
    color: rgb(var(--primary-color));
    display: flex;
    align-items: center
}

.univer-data-tab-panel-add-series-btn-icon {
    font-size: 12px
}

.univer-data-tab-panel-add-series-btn-text {
    margin-left: 1.5px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%
}

.univer-data-tab-panel-colorItem {
    display: flex;
    align-items: center;
    height: 16px
}

.univer-data-tab-panel-color-option {
    height: 28px;
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center
}

.univer-data-tab-panel-chart-type-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    height: 26px
}

.univer-data-tab-panel-chart-type-option-icon {
    font-size: 16px;
    display: flex;
    align-items: center
}

.univer-data-tab-panel-chart-type-option-text {
    color: #0e111e;
    color: var(--gray-900, #0e111e);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%
}

.univer-chart-edit-panel-select {
    width: 100%;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 8px;
    border-radius: var(--rounded-lg, 8px);
    border: 1px solid #e3e5ea;
    border: 1px solid var(--gray-200, #e3e5ea);
    background: #f9fafb;
    background: var(--gray-50, #f9fafb);
    cursor: default
}

.univer-chart-edit-panel-range-selector {
    border-radius: 8px;
    border-radius: var(--rounded-lg, 8px);
    border: 1px solid #e3e5ea;
    border: 1px solid var(--gray-200, #e3e5ea);
    background: #f9fafb;
    background: var(--gray-50, #f9fafb);
    cursor: default
}

.univer-chart-edit-block-title {
    color: #0e111e;
    color: var(--gray-900, var(--gray-900, #0e111e));
    font-weight: 500;
    line-height: 150%;
    font-size: 14px;
    font-style: normal;
    margin-bottom: 8px;
    margin-top: 16px
}

.univer-chart-edit-gradient-fill {
    margin-top: 8px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    color: #0e111e;
    color: var(--gray-900, #0e111e)
}

.univer-margin-bottom-8 {
    margin-bottom: 8px
}

.univer-chart-radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.univer-color-picker-control {
    padding: 0;
    width: 100%;
    border-radius: 8px;
    border-radius: var(--rounded-lg, 8px);
    border: 1px solid #e3e5ea;
    border: 1px solid var(--gray-200, #e3e5ea);
    background: #f9fafb;
    background: var(--gray-50, #f9fafb)
}

.univer-color-picker-control-overlay {
    padding: var(--padding-base);
    font-size: var(--font-size-xs);
    background-color: rgb(var(--bg-color-secondary));
    border: 1px solid rgb(var(--border-color));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-base);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center
}

.univer-color-picker-control-overlay-default {
    width: 100%
}

.univer-color-picker-control-text {
    color: #0e111e;
    color: var(--gray-900, #0e111e);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%
}

.univer-font-format-bar {
    display: flex;
    padding: 2px 3px;
    border: 1px solid #d0d3d6;
    border-radius: 6px;
    align-items: center;
    gap: 6px;
    width: -moz-fit-content;
    width: fit-content
}

.univer-font-format-bar-item {
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px 6px
}

.univer-font-format-bar-item-active {
    background-color: #e0e9ff;
    color: #1456f0
}

.univer-font-format-bar-menu-item {
    display: flex;
    align-items: center
}

.univer-font-format-bar-item:hover {
    background-color: #eff0f1
}

.univer-font-format-bar-color-bar {
    border-radius: 6px;
    height: 4px;
    width: 1em
}

.univer-font-format-bar-color-picker-overlay {
    padding: var(--padding-base);
    font-size: var(--font-size-xs);
    background-color: rgb(var(--bg-color-secondary));
    border: 1px solid rgb(var(--border-color));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-base)
}

.univer-font-format-bar-menu-icon {
    margin-left: 4px;
    transition: transform .3s
}

.univer-font-format-bar-rotate-icon {
    transform: rotate(180deg)
}

.univer-font-format-bar-font-color-box {
    display: flex;
    flex-direction: column
}

.univer-style-tab-panel>.univer-style-tab-panel-collapse {
    background-color: #fff;
    border: none
}

.univer-style-tab-panel>.univer-style-tab-panel-collapse .rc-collapse-content {
    padding: 0
}

.univer-style-tab-panel>.univer-style-tab-panel-collapse .rc-collapse-content-box {
    margin: var(--margin-xs) 0
}

.univer-style-tab-panel-split {
    margin-bottom: var(--margin-xs)
}

.univer-style-tab-panel-select {
    width: 100%;
    height: 32px
}

.univer-style-tab-panel-font-style-bar {
    display: flex;
    align-items: center
}

.univer-style-tab-panel-font-size-bar {
    display: inline-flex;
    border: 1px solid rgb(var(--border-color));
    border-radius: 4px
}

.univer-style-tab-panel-font-size-btn {
    padding: var(--padding-xs) var(--padding-sm)
}

.univer-style-tab-panel-row-half {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0
}

.univer-style-tab-panel-block {
    padding: 0 16px 10px;
    color: #414657;
    color: var(--gray-600, #414657);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%
}

.univer-style-tab-panel-row-label {
    color: #414657;
    color: var(--gray-600, #414657);
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    font-style: normal;
    margin-bottom: 8px
}

.univer-style-tab-panel-row-half-label {
    margin-bottom: var(--margin-xs);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #414657;
    color: var(--gray-600, #414657)
}

.univer-style-tab-panel-row {
    display: flex;
    padding: 0;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: var(--margin-xs)
}

.univer-style-tab-panel-label {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    color: #414657;
    color: var(--gray-600, #414657)
}

.univer-style-tab-panel-mini-group {
    display: flex;
    padding: 12px;
    padding: var(--3, 12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    gap: var(--4, 16px);
    border-radius: 12px;
    border-radius: var(--rounded-xl, 12px);
    border: 1px solid #e3e5ea;
    border: 1px solid var(--gray-200, #e3e5ea);
    background: #fff;
    background: var(--white, #fff);
    box-shadow: 0 2px 4px #0e111e0f;
    position: relative
}

.univer-style-tab-panel-mini-group-delete {
    position: absolute;
    right: 8px;
    top: 8px
}

.univer-series-style-edit-add-data-point-btn {
    justify-self: flex-end;
    display: inline-flex;
    gap: 4px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    color: rgb(var(--primary-color));
    align-items: center
}

.univer-series-style-edit-row {
    padding: 10px 16px
}

.univer-series-style-edit-label {
    margin-bottom: var(--margin-xs)
}

.univer-series-style-edit-block-title {
    color: #0e111e;
    color: var(--gray-900, #0e111e);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 16px
}

.univer-data-points-edit-container {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.rc-collapse-motion {
    transition: height .3s, opacity .3s
}

.rc-collapse-content-hidden {
    display: none
}

.rc-collapse {
    background-color: #f7f7f7;
    border-radius: 3px;
    border: 1px solid #d9d9d9
}

.rc-collapse>.rc-collapse-item {
    border-top: 1px solid #d9d9d9
}

.rc-collapse>.rc-collapse-item:first-child {
    border-top: none
}

.rc-collapse>.rc-collapse-item>.rc-collapse-header {
    display: flex;
    align-items: center;
    line-height: 22px;
    padding: 10px 16px;
    color: #666;
    cursor: pointer
}

.rc-collapse>.rc-collapse-item>.rc-collapse-header .arrow {
    display: inline-block;
    content: " ";
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 4px solid #666;
    vertical-align: middle;
    margin-right: 8px
}

.rc-collapse>.rc-collapse-item>.rc-collapse-header .rc-collapse-extra {
    margin: 0 16px 0 auto
}

.rc-collapse>.rc-collapse-item .rc-collapse-collapsible-header {
    cursor: default
}

.rc-collapse>.rc-collapse-item .rc-collapse-collapsible-header .rc-collapse-header-text {
    cursor: pointer
}

.rc-collapse>.rc-collapse-item .rc-collapse-collapsible-header .rc-collapse-expand-icon {
    cursor: pointer
}

.rc-collapse>.rc-collapse-item .rc-collapse-collapsible-icon {
    cursor: default
}

.rc-collapse>.rc-collapse-item .rc-collapse-collapsible-icon .rc-collapse-expand-icon {
    cursor: pointer
}

.rc-collapse>.rc-collapse-item-disabled>.rc-collapse-header {
    cursor: not-allowed;
    color: #999;
    background-color: #f3f3f3
}

.rc-collapse-content {
    overflow: hidden;
    color: #666;
    padding: 0 16px;
    background-color: #fff
}

.rc-collapse-content>.rc-collapse-content-box {
    margin-top: 16px;
    margin-bottom: 16px
}

.rc-collapse-item:last-child>.rc-collapse-content {
    border-radius: 0 0 3px 3px
}

.rc-collapse>.rc-collapse-item-active>.rc-collapse-header .arrow {
    position: relative;
    top: 2px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #666;
    margin-right: 6px
}

.univer-sparkline-range-selector-wrapper {
    margin-bottom: 16px
}

.univer-sparkline-range-selector-title {
    margin-bottom: 8px;
    font-size: 13px;
    color: rgb(var(--text-color))
}

.univer-sparkline-range-selector-buttons {
    display: flex;
    justify-content: flex-end
}

.univer-sparkline-range-selector-buttons-confirm {
    margin-left: var(--margin-sm)
}

.univer-sparkline-range-selector-reset-title {
    margin-bottom: 8px;
    font-size: 13px;
    color: rgb(var(--text-color))
}

.univer-sparkline-range-selector-reset-wrapper {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgb(var(--border-color));
    display: flex;
    height: 32px;
    box-sizing: border-box;
    align-items: center;
    padding: 2px;
    margin-bottom: 16px
}

.univer-sparkline-range-selector-reset-item {
    border-radius: 2px;
    flex: 1;
    text-align: center;
    cursor: pointer;
    height: 28px;
    line-height: 28px;
    font-size: 13px
}

.univer-sparkline-range-selector-reset-item-active {
    background-color: rgb(var(--blue-200));
    color: #3f51b5
}

.univer-sparkline-input {
    width: 60px;
    margin-left: 12px;
    height: 24px
}

.univer-sparkline-panel-reset-source {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: center
}

.univer-sparkline-panel-reset-source-title {
    font-size: 14px;
    font-weight: 500
}

.univer-sparkline-panel-reset-source-icon {
    cursor: pointer
}

.univer-sparkline-panel-reset-source-icon-disable {
    cursor: not-allowed
}

.univer-sparkline-panel-reset-source-icon-disable path {
    fill: rgb(var(--grey-200))
}

.univer-sparkline-panel-header {
    height: 40px;
    box-sizing: border-box;
    display: flex;
    position: relative;
    justify-content: space-around;
    align-items: center;
    margin: 16px 0
}

.univer-sparkline-panel-header-item {
    cursor: pointer;
    color: #333;
    font-weight: 500;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 28px;
    line-height: 28px;
    height: 100%
}

.univer-sparkline-panel-header-item-active {
    color: #3f51b5
}

.univer-sparkline-panel-header-underline {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 2px;
    height: 2px;
    background-color: #3f51b5;
    transition: transform .3s ease
}

.univer-sparkline-panel-pie-title,
.univer-sparkline-panel-base-part-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500
}

.univer-sparkline-panel-base-part-content {
    margin-bottom: 20px;
    font-size: 14px
}

.univer-sparkline-panel-base-part-content-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgb(var(--border-color));
    border-radius: var(--border-radius-base);
    width: 100%
}

.univer-sparkline-panel-base-part-content-type-item {
    flex: 1;
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
    margin: 2px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.univer-sparkline-panel-base-part-content-type-item svg {
    margin-right: 4px
}

.univer-sparkline-panel-base-part-content-type-item-active,
.univer-sparkline-panel-base-part-content-type-item:hover {
    background-color: rgb(var(--grey-100))
}

.univer-sparkline-panel-base-part-content-mark {
    display: flex;
    margin-bottom: 8px;
    width: 100%;
    justify-content: space-between
}

.univer-sparkline-panel-base-part-content-mark:last-child {
    margin-bottom: 0
}

.univer-sparkline-panel-base-part-content-mark-item {
    width: 45%;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.univer-sparkline-panel-base-part-content-mark-item:hover {
    background: rgb(var(--grey-200))
}

.univer-sparkline-panel-base-part-content-mark-item-back {
    padding: 16px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid rgb(var(--grey-100));
    transform: translateY(.5px)
}

.univer-sparkline-panel-base-part-content-mark-item-icon {
    margin: 2px 2px 0 0
}

.univer-sparkline-panel-base-part-content-style {
    flex: 1;
    margin-right: 20px
}

.univer-sparkline-panel-base-part-content-style-title {
    margin-bottom: 8px
}

.univer-sparkline-panel-base-part-content-style:last-child {
    margin-right: 0
}

.univer-sparkline-panel-delete {
    display: flex;
    justify-content: space-between
}

.univer-sparkline-panel-delete button {
    width: 45%;
    height: 32px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    font-size: 14px
}

.univer-sparkline-panel-collapse {
    border: none;
    background: #fff
}

.univer-sparkline-panel-collapse-title {
    font-size: 14px;
    font-weight: 500
}

.univer-sparkline-panel-collapse .rc-collapse-content-box {
    margin-top: 0
}

.univer-sparkline-panel-collapse .rc-collapse-content {
    padding: 0
}

.univer-sparkline-panel-advance-part-compose {
    display: flex;
    justify-content: space-between
}

.univer-sparkline-panel-advance-part-compose button {
    width: 45%;
    box-sizing: border-box;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center
}

.univer-sparkline-panel-advance-part-axis-button {
    margin-bottom: 8px;
    font-size: 13px
}

.univer-sparkline-panel-advance-part-axis-button:last-child {
    margin-bottom: 0
}

.univer-sparkline-panel-advance-part-axis-color-wrapper {
    margin-bottom: 8px
}

.univer-sparkline-panel-advance-part-axis-color-title {
    font-size: 13px;
    margin-bottom: 8px
}

.univer-sparkline-panel-advance-part-extremum-custom {
    display: flex;
    align-items: center
}

.univer-sparkline-panel-advance-part-extremum-custom-title {
    font-size: 13px;
    margin: 8px 0;
    color: rgb(var(--grey-500))
}

.univer-sparkline-panel-advance-part-show-as-wrapper {
    margin-top: 12px
}

.univer-sparkline-panel-advance-part-show-as-title {
    margin-bottom: 8px;
    font-size: 13px;
    color: rgb(var(--text-color))
}

.univer-sparkline-select {
    width: 100%;
    height: 32px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: var(--rounded-lg, 8px);
    border: 1px solid var(--gray-200, #e3e5ea);
    background: var(--gray-50, #f9fafb);
    cursor: default
}

.univer-sparkline-select-part,
.univer-sparkline-select-part .univer-select-selector {
    width: 40%
}

.univer-sparkline-select .univer-select-selector {
    width: 100%
}

.univer-sparkline-select-option {
    display: flex;
    align-items: center
}

.univer-sparkline-select-option-part-first {
    width: 24px;
    height: 16px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px
}

.univer-sparkline-select-option-part-second {
    width: 24px;
    height: 16px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    margin-right: 8px
}

.univer-sparkline-advanced-disable {
    cursor: not-allowed;
    color: rgb(var(--grey-200))
}

.univer-sparkline-error {
    font-size: 12px;
    color: rgb(var(--red-500));
    margin: var(--margin-xxs) 0
}

.univer-collapse-container {
    padding: 10px 0;
    border-bottom: 1px solid #ddd
}

.univer-collapse-header {
    display: flex;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px
}

.univer-collapse-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px
}

.univer-collapse-icon path {
    fill: rgb(var(--text-color))
}

.univer-collapse-content {
    padding: 10px 0 16px;
    background-color: #fff
}

.univer-color-picker-control {
    padding: 0;
    width: 100%;
    border-radius: var(--rounded-lg, 8px);
    border: 1px solid var(--gray-200, #e3e5ea);
    background: var(--gray-50, #f9fafb)
}

.univer-color-picker-control-overlay {
    padding: var(--padding-base);
    font-size: var(--font-size-xs);
    background-color: rgb(var(--bg-color-secondary));
    border: 1px solid rgb(var(--border-color));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-base);
    display: flex;
    justify-content: center;
    box-sizing: border-box
}

.univer-color-picker-control-view-box {
    display: flex;
    align-items: center;
    height: 32px;
    line-height: 32px;
    flex: 1;
    box-sizing: border-box;
    padding: 0 var(--padding-base);
    justify-content: space-between
}

.univer-color-picker-control-view {
    width: 20px;
    height: 20px;
    border: 1px solid rgb(var(--border-color))
}

.univer-color-picker-control-text {
    color: var(--gray-900, #0e111e);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%
}

.univer-color-picker-control-arrow {
    margin-left: var(--margin-xs);
    transition: transform .3s
}

.univer-color-picker-control-rotate {
    transform: rotate(180deg)
}