.page-surface-roughness-guide .hero-note {
            gap: 8px;
        }
        .page-surface-roughness-guide .tool-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 12px;
            align-items: end;
        }
        .page-surface-roughness-guide .result-card,
        .page-surface-roughness-guide .mini-card {
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 12px;
            background: transparent;
        }
        .page-surface-roughness-guide .result-value {
            font-size: 1.8rem;
            font-weight: 700;
            line-height: 1.15;
        }
        .page-surface-roughness-guide .result-label,
        .page-surface-roughness-guide .note-text {
            opacity: 0.78;
        }
        .page-surface-roughness-guide table td,
        .page-surface-roughness-guide table th {
            text-align: left;
            vertical-align: top;
        }
        .page-surface-roughness-guide .task-table td:nth-child(2),
        .page-surface-roughness-guide .task-table td:nth-child(3),
        .page-surface-roughness-guide .task-table th:nth-child(2),
        .page-surface-roughness-guide .task-table th:nth-child(3) {
            white-space: nowrap;
        }
        .page-surface-roughness-guide .pill {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(0, 135, 110, 0.16);
            border: 1px solid rgba(0, 135, 110, 0.35);
            font-size: 0.92rem;
            font-weight: 600;
        }
        .page-surface-roughness-guide .two-col {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 14px;
        }
        .page-surface-roughness-guide ul.tight-list {
            margin: 0;
            padding-left: 18px;
        }
        .page-surface-roughness-guide .formula-box {
            font-family: Consolas, "Courier New", monospace;
            padding: 10px 12px;
            border-radius: 8px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.12);
        }
        .page-surface-roughness-guide .symbol-card {
            display: grid;
            grid-template-columns: minmax(240px, 360px) 1fr;
            gap: 16px;
            align-items: center;
        }
        .page-surface-roughness-guide .symbol-svg {
            width: 100%;
            height: auto;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background: rgba(255,255,255,0.03);
        }
        .page-surface-roughness-guide .compact-list {
            margin: 0;
            padding-left: 18px;
        }
        /* Mobile: tables fit the grid item width and wrap their text instead of overflowing */
        @media (max-width: 768px) {
            .page-surface-roughness-guide .grid_items > .grid_item { min-width: 0; max-width: 100%; }
            .page-surface-roughness-guide .grid_item table { width: 100%; max-width: 100%; min-width: 0; table-layout: auto; }
            .page-surface-roughness-guide .grid_item th,
            .page-surface-roughness-guide .grid_item td { white-space: normal; overflow-wrap: anywhere; word-break: normal; padding: 6px 8px; }
        }
