/* Ax Engineering Toolkit - Conveyor Calculator */
:root {
    --ax-primary: #0d6efd;
    --ax-success: #198754;
    --ax-warning: #fd7e14;
    --ax-dark: #1f2937;
    --ax-muted: #6b7280;
    --ax-border: #e5e7eb;
    --ax-bg: #f5f7fa;
    --ax-radius: 14px;
}

body {
    background: var(--ax-bg);
}

.ax-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.ax-title {
    color: var(--ax-dark);
    font-weight: 700;
}

.ax-subtitle {
    color: var(--ax-muted);
}

.ax-section,
.ax-result-card,
.ax-summary-card {
    background: #fff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.ax-section {
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.ax-section-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    color: var(--ax-muted);
    margin-bottom: 1rem;
}

.ax-result-card {
    padding: 1.25rem;
    height: 100%;
    border-top: 4px solid var(--ax-primary);
}

.ax-result-card.ax-green { border-top-color: var(--ax-success); }
.ax-result-card.ax-orange { border-top-color: var(--ax-warning); }

.ax-result-label {
    color: var(--ax-muted);
    font-size: .85rem;
    margin-bottom: .35rem;
}

.ax-result-value {
    color: var(--ax-dark);
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1.1;
    font-weight: 750;
}

.ax-result-unit {
    color: var(--ax-muted);
    font-size: .85rem;
}

.ax-material-info {
    background: #f8fafc;
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .85rem;
    color: var(--ax-muted);
}

.ax-summary-card {
    padding: 1.25rem;
}

.ax-summary {
    color: #374151;
    line-height: 1.65;
}

.ax-badge {
    font-size: .72rem;
    border: 1px solid var(--ax-border);
    color: var(--ax-muted);
    background: #fff;
    padding: .35rem .55rem;
    border-radius: 999px;
}

.ax-secondary-value {
    font-weight: 700;
    color: var(--ax-dark);
}

.ax-disclaimer {
    color: var(--ax-muted);
    font-size: .75rem;
    line-height: 1.5;
}

.form-label {
    font-weight: 600;
    font-size: .88rem;
}

@media print {
    body { background: #fff !important; }
    .ax-page { max-width: none; padding: 0; }
    .no-print { display: none !important; }
    .ax-section, .ax-result-card, .ax-summary-card {
        box-shadow: none !important;
        break-inside: avoid;
    }
}
