* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: #ffffff;
    color: #333;
    touch-action: manipulation;
}

#app {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow-y: auto;
}

.phase-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.phase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s;
}

.phase-dot.active {
    background: #333;
}

.phase-dot.completed {
    background: #666;
}

.prompt {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.option-btn {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans', sans-serif;
    color: #333;
}

.option-btn:active {
    transform: scale(0.98);
}

.option-btn.selected {
    background: #333;
    color: white;
    border-color: #333;
}

.preview {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-line;
}

.preview-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-btn {
    background: #333;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'Noto Sans', sans-serif;
    margin-top: auto;
}

.action-btn:active {
    opacity: 0.8;
}

.action-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.result {
    text-align: center;
    padding: 20px;
}

.result h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.final-email {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-line;
    text-align: left;
}

.feedback {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.feedback h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

.tone {
    background: white;
    border-left: 3px solid #333;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.feedback-section {
    margin-bottom: 16px;
}

.feedback-section:last-child {
    margin-bottom: 0;
}

.feedback-section h4 {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-section ul {
    list-style: none;
    padding-left: 0;
}

.feedback-section li {
    background: white;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
}

.feedback-section li:last-child {
    margin-bottom: 0;
}

.restart-btn {
    background: white;
    color: #333;
    border: 2px solid #333;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
}

.restart-btn:active {
    opacity: 0.8;
}

