` .excel-clone {
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f5f5f5;
}

.quick-access {
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: #f3f3f3;
    border-bottom: 1px solid #d9d9d9;
    height: 40px;
    gap: 8px;
}

.quick-access-btn {
    padding: 6px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 32px;
    color: #333;
}

.quick-access-btn:hover {
    background: #e5e5e5;
    border-color: #d9d9d9;
}

.quick-access-btn:active {
    background: #d9d9d9;
}

.quick-access-separator {
    width: 1px;
    height: 24px;
    background: #d9d9d9;
    margin: 0 4px;
}

.title-input {
    margin-left: 8px;
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
    height: 28px;
    font-family: inherit;
    background: white;
}

.title-input:focus {
    outline: none;
    border-color: #217346;
    box-shadow: 0 0 0 2px rgba(33, 115, 70, 0.2);
}

.ribbon {
    background: #f3f3f3;
    border-bottom: 1px solid #d9d9d9;
}

.ribbon-tabs {
    display: flex;
    background: #f3f3f3;
    padding-left: 8px;
}

.ribbon-tab {
    position: relative;
}

.ribbon-tab-button {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    position: relative;
    height: 40px;
}

.ribbon-tab-button:hover:not(.active) {
    background: #e5e5e5;
}

.ribbon-tab-button.active {
    background: white;
    color: #217346;
    font-weight: 600;
}

.ribbon-content {
    display: flex;
    padding: 8px;
    background: white;
    gap: 16px;
    min-height: 80px;
    align-items: flex-start;
    border-bottom: 1px solid #d9d9d9;
}

.ribbon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 8px;
}

.ribbon-group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #e5e5e5;
}

.ribbon-group-content {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.ribbon-group-title {
    font-size: 11px;
    color: #666;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.ribbon-button {
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    color: #333;
}

.ribbon-button.medium {
    padding: 6px;
    min-width: 32px;
    height: 32px;
}

.ribbon-button.large {
    flex-direction: column;
    padding: 8px;
    min-width: 56px;
    height: 56px;
    gap: 4px;
}

.ribbon-button:hover {
    background: #e5e5e5;
    border-color: #d9d9d9;
}

.ribbon-button:active {
    background: #d9d9d9;
}

.ribbon-button.active {
    background: #e0f0e9;
    border-color: #217346;
    color: #217346;
}

.ribbon-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ribbon-button-label {
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
    font-weight: 400;
    max-width: 52px;
    word-wrap: break-word;
}

.dropdown-arrow {
    margin-left: 4px;
    opacity: 0.7;
}

.ribbon-dropdown {
    position: relative;
    display: inline-block;
}

.ribbon-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    padding: 8px;
    left: 0;
    top: 100%;
}

.ribbon-dropdown:hover .ribbon-dropdown-content {
    display: block;
}

.ribbon-split-button {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid transparent;
}

.ribbon-split-button:hover {
    border-color: #d9d9d9;
}

.ribbon-split-button .ribbon-button {
    border-radius: 0;
    border: none;
}

.ribbon-split-button-arrow {
    padding: 0 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e5e5e5;
}

.ribbon-split-button-arrow:hover {
    background: #e5e5e5;
}

.worksheet-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: white;
}

.formula-bar {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-bottom: 1px solid #d9d9d9;
    height: 32px;
    background: #f3f3f3;
}

.cell-reference {
    font-family: 'Consolas', monospace;
    font-size: 14px;
    padding: 4px 8px;
    min-width: 60px;
    text-align: center;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-right: 8px;
}

.formula-input {
    flex: 1;
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    height: 24px;
}

.formula-input:focus {
    outline: none;
    border-color: #217346;
    box-shadow: 0 0 0 2px rgba(33, 115, 70, 0.2);
}

.command-palette {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #217346;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 20;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.command-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
}

.command-item:hover {
    background: #e0f0e9;
}

.univer-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.status-bar {
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: #f3f3f3;
    border-top: 1px solid #d9d9d9;
    font-size: 12px;
    color: #333;
    gap: 16px;
    height: 24px;
}

.status-mode {
    font-family: 'Consolas', monospace;
    font-weight: bold;
    color: #217346;
    padding: 0 4px;
}

.status-message {
    color: #666;
}

.zoom-controls {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 4px;
}

.zoom-level {
    min-width: 40px;
    text-align: center;
}

.zoom-btn {
    padding: 2px 4px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: white;
    cursor: pointer;
}

.zoom-btn:hover {
    background: #e5e5e5;
}

.sample-data-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    background: #217346;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sample-data-btn:hover {
    background: #1a5c3a;
}

