.ai-hpg-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.ai-hpg-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-hpg-header h2 {
    font-size: 2rem;
    margin: 0;
    color: #1a1a1a;
}

.ai-hpg-upload-zone {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
    margin-bottom: 30px;
}

.ai-hpg-upload-zone:hover, .ai-hpg-upload-zone.dragging {
    border-color: #007cba;
    background: #f0f7ff;
}

.upload-content i {
    font-size: 50px;
    color: #007cba;
    margin-bottom: 15px;
}

.ai-hpg-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.field-group input, .field-group select, .field-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.full-width {
    grid-column: span 2;
}

.ai-hpg-button {
    width: 100%;
    background: #007cba;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ai-hpg-button:hover {
    background: #006799;
}

.hidden { display: none; }

.results-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    gap: 10px;
}

.tab-link {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
}

.tab-link.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

#svg-plan-container {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cost-value {
    font-size: 3rem;
    font-weight: 800;
    color: #2ecc71;
    margin: 20px 0;
}
