:root {
    --fs-primary: #2c7744;
    --fs-secondary: #f0fdf4;
    --fs-border: #d1d5db;
    --fs-text: #374151;
    --fs-danger: #dc2626;
    --fs-warning: #d97706;
}

.fs-calculator {
    background: #fff;
    border: 1px solid var(--fs-border);
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    font-family: inherit;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.fs-calculator h3 { margin-top: 0; color: var(--fs-primary); border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.fs-group { margin-bottom: 15px; }
.fs-label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--fs-text); }
.fs-input, .fs-select {
    width: 100%; padding: 10px; border: 1px solid var(--fs-border); border-radius: 6px; font-size: 16px; box-sizing: border-box;
}
.fs-btn {
    background: var(--fs-primary); color: #fff; border: none; padding: 12px 20px; border-radius: 6px; cursor: pointer; width: 100%; font-size: 16px; font-weight: bold; transition: background 0.3s;
}
.fs-btn:hover { background: #1e5631; }

.fs-result {
    margin-top: 20px; padding: 15px; background: var(--fs-secondary); border-radius: 6px; display: none; border-left: 4px solid var(--fs-primary);
}
.fs-result.active { display: block; animation: fsFadeIn 0.5s; }
.fs-alert-mild { border-color: var(--fs-warning); background: #fffbeb; }
.fs-alert-severe { border-color: var(--fs-danger); background: #fef2f2; }

/* Grid & Related */
.fs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.fs-card { border: 1px solid var(--fs-border); padding: 20px; border-radius: 8px; text-align: center; background: white; transition: transform 0.2s; }
.fs-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.fs-card h4 { margin: 10px 0; }
.fs-card a { text-decoration: none; color: var(--fs-primary); font-weight: bold; }

.fs-related { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
.fs-related h4 { font-size: 1.2rem; margin-bottom: 10px; }
.fs-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fs-related li a { background: #f3f4f6; padding: 5px 15px; border-radius: 20px; text-decoration: none; color: var(--fs-text); font-size: 0.9rem; }
.fs-related li a:hover { background: var(--fs-primary); color: #fff; }

@keyframes fsFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }