/* Стили страницы «air_curtains_quality». Вынесены из <style> в шаблоне без правки правил.
 * Ссылка стоит ровно там, где стоял блок: порядок в каскаде сохранён. */

* { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
            background: var(--brand-bg); color: var(--slate-900); line-height: 1.6; padding: 24px 20px 60px;
        }
        .container { max-width: 1080px; margin: 0 auto; }
        .page-header { text-align: center; margin-bottom: 20px; }
        .page-header h1 { color: var(--brand-ink-title); font-size: 2rem; margin-bottom: 6px; }
        .page-header .subtitle { color: var(--slate-500); font-size: 1rem; }
        .section {
            background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px;
            margin-bottom: 16px; padding: 18px 22px 22px;
        }
        .section h2 { font-size: 1.05rem; font-weight: 600; color: var(--brand-ink-heading); margin-bottom: 14px; }
        .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
        .card {
            border: 1px solid var(--slate-200); border-radius: 10px; padding: 14px 16px; background: var(--brand-bg-soft);
        }
        .card .card-value { font-size: 1.7rem; font-weight: 700; color: var(--green-800); }
        .card .card-label { font-size: 12.5px; color: var(--slate-500); margin-top: 2px; }
        table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
        th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--brand-line); }
        th { color: var(--slate-500); font-weight: 600; font-size: 12px; }
        .bar-track { background: var(--brand-line); border-radius: 4px; height: 8px; min-width: 90px; }
        .bar-fill { background: var(--amber-600); border-radius: 4px; height: 8px; }
        .bar-fill.good { background: var(--brand); }
        .muted { color: var(--slate-400); }
        .pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
        .pill.ok { background: var(--emerald-50); color: var(--emerald-800); }
        .pill.bad { background: var(--red-100); color: var(--red-800); }
        button {
            padding: 10px 18px; border: none; border-radius: 8px; font-size: 14px;
            font-weight: 600; cursor: pointer; background: var(--slate-200); color: var(--slate-700);
        }
        button:hover { background: var(--slate-300); }
        button:disabled { opacity: 0.6; cursor: not-allowed; }
        .hint { font-size: 12.5px; color: var(--slate-500); margin-top: 6px; }
        .empty-note { color: var(--slate-400); font-size: 13.5px; }
