        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Accessibility: visible keyboard focus ring */
        :focus-visible {
            outline: 2px solid #4a90d9;
            outline-offset: 2px;
            border-radius: 4px;
        }
        button:focus-visible, a:focus-visible, [data-action]:focus-visible {
            outline: 3px solid #4a90d9;
            outline-offset: 3px;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #1a1a2e;
            background: #ffffff;
            overflow-x: hidden;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #1a3a5c 0%, #2d5f8a 40%, #4a90d9 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 50%;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 50%;
        }

        .hero-content {
            text-align: center;
            padding: 40px 20px;
            max-width: 800px;
            z-index: 1;
        }

        .hero-logo {
            width: 120px;
            height: 120px;
            border-radius: 28px;
            margin-bottom: 32px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            border: 3px solid rgba(255, 255, 255, 0.2);
        }

        .hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -1px;
            line-height: 1.1;
        }

        .hero .tagline {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 40px;
            font-weight: 300;
            line-height: 1.6;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #ffffff;
            color: #1a3a5c;
            padding: 16px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
        }

        .btn-primary svg {
            width: 24px;
            height: 24px;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: transparent;
            color: #ffffff;
            padding: 16px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            border: 2px solid rgba(255, 255, 255, 0.4);
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.7);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        .scroll-indicator svg {
            width: 32px;
            height: 32px;
            color: rgba(255, 255, 255, 0.5);
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-10px); }
            60% { transform: translateX(-50%) translateY(-5px); }
        }

        /* Features Section */
        .features {
            padding: 100px 20px;
            background: #f8fafc;
        }

        .section-title {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #1a1a2e;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .section-title p {
            font-size: 1.15rem;
            color: #636e72;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 36px 28px;
            transition: all 0.3s ease;
            border: 1px solid #edf2f7;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 28px;
        }

        .feature-icon.blue { background: linear-gradient(135deg, #4a90d9, #357abd); }
        .feature-icon.green { background: linear-gradient(135deg, #27ae60, #219a52); }
        .feature-icon.orange { background: linear-gradient(135deg, #e67e22, #d35400); }
        .feature-icon.purple { background: linear-gradient(135deg, #8e44ad, #7d3c98); }
        .feature-icon.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
        .feature-icon.teal { background: linear-gradient(135deg, #00b894, #00a381); }

        .feature-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #1a1a2e;
        }

        .feature-card p {
            color: #636e72;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        /* Estimates Section */
        .estimates {
            padding: 100px 20px;
            background: #ffffff;
        }

        .estimate-types {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .estimate-item {
            text-align: center;
            padding: 32px 20px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f8fafc, #edf2f7);
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .estimate-item:hover {
            background: linear-gradient(135deg, #ebf5ff, #dbeafe);
            border-color: #93c5fd;
            transform: translateY(-2px);
        }

        .estimate-item .icon {
            font-size: 40px;
            margin-bottom: 16px;
            display: block;
        }

        .estimate-item h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 8px;
        }

        .estimate-item p {
            font-size: 0.85rem;
            color: #636e72;
            line-height: 1.5;
        }

        /* Stats Section */
        .stats {
            padding: 80px 20px;
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 2.8rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .stat-item p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 400;
        }

        /* Community Section */
        .community {
            padding: 100px 20px;
            background: #f8fafc;
        }

        .community-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 28px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .community-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 32px;
            border: 1px solid #edf2f7;
            transition: all 0.3s ease;
        }

        .community-card:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
        }

        .community-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #1a1a2e;
        }

        .community-card p {
            color: #636e72;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .community-card .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .badge.chat { background: #e3f2fd; color: #1565c0; }
        .badge.jobs { background: #e8f5e9; color: #2e7d32; }
        .badge.market { background: #fff3e0; color: #e65100; }

        /* Languages Section */
        .languages {
            padding: 80px 20px;
            background: #ffffff;
        }

        .lang-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .lang-chip {
            padding: 10px 24px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #2d3436;
            transition: all 0.3s ease;
        }

        .lang-chip {
            cursor: pointer;
        }
        .lang-chip:hover {
            background: #ebf5ff;
            border-color: #93c5fd;
        }
        .lang-chip.active {
            background: #1a3a5c;
            color: #fff;
            border-color: #1a3a5c;
        }

        /* CTA Section */
        .cta-section {
            padding: 100px 20px;
            text-align: center;
            background: linear-gradient(135deg, #1a3a5c 0%, #4a90d9 100%);
        }

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        footer {
            background: #0f1923;
            padding: 60px 20px 40px;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-content {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
        }

        .footer-brand h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .footer-brand p {
            line-height: 1.7;
            font-size: 0.9rem;
        }

        .footer-links h4 {
            font-size: 0.9rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-links a {
            display: block;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            margin-bottom: 10px;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #4a90d9;
        }

        .footer-bottom {
            max-width: 1000px;
            margin: 40px auto 0;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
            font-size: 0.85rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2rem;
            }

            .hero .tagline {
                font-size: 1.05rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .cta-section h2 {
                font-size: 1.8rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .stat-item h3 {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* ── Chat Widget ── */
        .chat-bubble {
            position: fixed;
            bottom: 28px;
            right: 28px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1a3a5c, #4a90d9);
            color: #fff;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(26,58,92,0.4);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .chat-bubble:hover {
            transform: scale(1.08);
            box-shadow: 0 6px 28px rgba(26,58,92,0.5);
        }
        .chat-bubble svg { width: 28px; height: 28px; }
        .chat-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #e74c3c;
            border: 2px solid #fff;
            display: none;
        }

        .chat-window {
            position: fixed;
            bottom: 100px;
            right: 28px;
            width: 360px;
            max-height: 500px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.18);
            z-index: 9999;
            display: none;
            flex-direction: column;
        }
        .chat-window.open { display: flex; }
        .chat-window.mobile-open {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100%; height: 100%;
            max-height: none;
            border-radius: 0;
            box-shadow: none;
            z-index: 99999;
            display: flex;
            flex-direction: column;
        }

        .chat-header {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            color: #fff;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .chat-header h4 { margin: 0; font-size: 1rem; font-weight: 600; }
        .chat-header .close-btn {
            background: none;
            border: none;
            color: rgba(255,255,255,0.7);
            cursor: pointer;
            font-size: 1.8rem;
            padding: 8px 12px;
            min-width: 44px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .chat-header .close-btn:hover { color: #fff; }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 14px;
            max-height: 320px;
            min-height: 200px;
            background: #f8fafc;
        }
        .chat-msg {
            margin-bottom: 10px;
            max-width: 85%;
            padding: 10px 14px;
            border-radius: 14px;
            font-size: 0.9rem;
            line-height: 1.4;
            word-wrap: break-word;
        }
        .chat-msg.visitor {
            background: #e3f2fd;
            color: #1a1a2e;
            margin-left: auto;
            border-bottom-right-radius: 4px;
        }
        .chat-msg.admin {
            background: #fff;
            color: #1a1a2e;
            border: 1px solid #e2e8f0;
            border-bottom-left-radius: 4px;
        }
        .chat-msg .msg-name {
            font-size: 0.75rem;
            font-weight: 600;
            color: #636e72;
            margin-bottom: 3px;
        }
        .chat-msg .msg-time {
            font-size: 0.7rem;
            color: #b2bec3;
            margin-top: 4px;
            text-align: right;
        }

        .chat-name-form {
            padding: 20px;
            text-align: center;
        }
        .chat-name-form p {
            font-size: 0.95rem;
            color: #2d3436;
            margin-bottom: 12px;
        }
        .chat-name-form input {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #dfe6e9;
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
            margin-bottom: 10px;
        }
        .chat-name-form input:focus { border-color: #4a90d9; }
        .chat-name-form button {
            width: 100%;
            padding: 10px;
            background: linear-gradient(135deg, #1a3a5c, #4a90d9);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
        }

        .chat-input-bar {
            display: flex;
            padding: 10px;
            border-top: 1px solid #edf2f7;
            background: #fff;
        }
        .chat-input-bar input {
            flex: 1;
            padding: 10px 14px;
            border: 1px solid #dfe6e9;
            border-radius: 8px;
            font-size: 0.9rem;
            outline: none;
        }
        .chat-input-bar input:focus { border-color: #4a90d9; }
        .chat-input-bar button {
            margin-left: 8px;
            padding: 10px 18px;
            background: #1a3a5c;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
        }

        /* Mobile chat fullscreen */
        body.chat-fullscreen { overflow: hidden !important; }
        .chat-window.mobile-open .chat-header { flex: 0 0 auto; }
        .chat-window.mobile-open .chat-messages { flex: 1; max-height: none; min-height: 0; overflow-y: auto; }
        .chat-window.mobile-open .chat-input-bar { flex: 0 0 auto; }
        .chat-window.mobile-open .chat-name-form[style*="block"] { flex: 1; display: flex; flex-direction: column; justify-content: center; }
        @media (max-width: 480px) {
            .chat-bubble { bottom: 16px; right: 16px; }
        }
        .chat-input-bar button:hover { background: #2d5f8a; }

        /* Typing indicator — dots animated by JS setInterval (see app.js _typingDotsPhase) */
        .typing-dots {
            display: inline-block;
            min-width: 1.4em;
            text-align: left;
            margin-left: 2px;
        }

        /* removed duplicate mobile override */

        /* ── Site Popup (visitor) ──
           z-index must exceed .admin-panel-overlay (10000) so admin's Preview
           button can show the popup on top of the panel it was launched from. */
        .site-popup-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.55);
            z-index: 20000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: sitePopupFadeIn 0.25s ease-out;
        }
        @keyframes sitePopupFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        /* Sized to mirror mobile app dialog_site_popup.xml — width ~340px, radius 20px, no page-level padding.
           Header/body/divider/footer paddings match the Android layout in dp (1dp ≈ 1px on the web preview). */
        .site-popup-modal {
            background: #fff;
            border-radius: 20px;
            max-width: 360px;
            width: 100%;
            max-height: 82vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 60px rgba(0,0,0,0.35);
            position: relative;
            overflow: hidden;
            animation: sitePopupScaleIn 0.25s ease-out;
        }
        @keyframes sitePopupScaleIn {
            from { transform: scale(0.92); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        /* Gradient header (matches dialog_site_popup_header.xml): 135° indigo gradient, icon+title+X */
        .site-popup-header {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            padding: 18px 12px 18px 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
        }
        .site-popup-icon {
            font-size: 26px;
            line-height: 1;
            flex-shrink: 0;
        }
        .site-popup-title {
            margin: 0;
            flex: 1;
            font-size: 17px;
            font-weight: 700;
            color: #fff;
            line-height: 1.25;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .site-popup-close {
            width: 32px; height: 32px;
            background: transparent;
            border: none;
            color: #fff;
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            border-radius: 16px;
            flex-shrink: 0;
        }
        .site-popup-close:hover { background: rgba(255,255,255,0.15); }
        #sitePopupImage {
            display: none;
            width: 100%;
            height: auto;
            max-height: 320px;
            object-fit: contain;   /* keep aspect ratio, never crop */
            background: #f1f5f9;
            flex-shrink: 0;
        }
        .site-popup-body {
            padding: 22px 24px;
            font-size: 15px;         /* 15sp on mobile */
            line-height: 1.5;         /* lineSpacingMultiplier 1.5 */
            color: #2d3436;
            overflow-y: auto;
            flex: 1 1 auto;           /* fill remaining vertical space, scroll if needed */
            min-height: 0;            /* required so flex child can shrink under content */
            white-space: pre-wrap;
            word-break: break-word;
        }
        .site-popup-divider {
            height: 1px;
            background: #EEF2F7;
            flex-shrink: 0;
        }
        .site-popup-actions {
            padding: 14px 20px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-shrink: 0;
        }
        .site-popup-hide-today {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #6b7280;
            cursor: pointer;
            flex: 1;
        }
        .site-popup-hide-today input {
            cursor: pointer;
            accent-color: #1a3a5c;
        }
        .site-popup-ok {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            color: #fff;
            border: none;
            border-radius: 12px;
            padding: 12px 28px;
            min-width: 100px;
            min-height: 44px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
        }
        .site-popup-ok:hover { filter: brightness(1.08); }

        /* ── Admin Chat Panel ── */
        .admin-panel-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: #f0f4f8;
            z-index: 10000;
            flex-direction: column;
        }
        .admin-panel-overlay.open { display: flex; }

        .admin-panel-header {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            color: #fff;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        }
        .admin-panel-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
        .admin-panel-header .close-admin {
            background: rgba(255,255,255,0.15);
            border: none;
            color: #fff;
            font-size: 0.9rem;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }
        .admin-panel-header .close-admin:hover { background: rgba(255,255,255,0.25); }

        .admin-panel-body {
            flex: 1;
            display: flex;
            overflow: hidden;
        }

        .admin-session-list {
            width: 320px;
            min-width: 320px;
            background: #fff;
            border-right: 1px solid #e2e8f0;
            overflow-y: auto;
        }
        .admin-session-item {
            padding: 14px 18px;
            border-bottom: 1px solid #f0f4f8;
            cursor: pointer;
            transition: background 0.2s;
        }
        .admin-session-item:hover { background: #f8fafc; }
        .admin-session-item.active { background: #e3f2fd; border-left: 3px solid #4a90d9; }
        .admin-session-item .session-name {
            font-weight: 600;
            font-size: 0.95rem;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .admin-session-item .session-name .online-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #b2bec3;
            flex-shrink: 0;
        }
        .admin-session-item .session-name .online-dot.online { background: #27ae60; }
        .admin-session-item .session-preview {
            font-size: 0.82rem;
            color: #636e72;
            margin-top: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .admin-session-item .session-meta {
            font-size: 0.72rem;
            color: #b2bec3;
            margin-top: 4px;
            display: flex;
            gap: 10px;
        }

        .admin-chat-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: #f8fafc;
        }
        .admin-chat-header-bar {
            padding: 14px 20px;
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            font-size: 0.95rem;
            color: #1a3a5c;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .admin-chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px 20px;
        }
        .admin-chat-messages .chat-msg { max-width: 70%; }
        .admin-chat-empty {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #b2bec3;
            font-size: 1rem;
        }
        .admin-chat-input-bar {
            display: flex;
            padding: 12px 16px;
            border-top: 1px solid #e2e8f0;
            background: #fff;
        }
        .admin-chat-input-bar input {
            flex: 1;
            padding: 12px 16px;
            border: 1px solid #dfe6e9;
            border-radius: 10px;
            font-size: 0.95rem;
            outline: none;
        }
        .admin-chat-input-bar input:focus { border-color: #4a90d9; }
        .admin-chat-input-bar button {
            margin-left: 10px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #1a3a5c, #4a90d9);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
        }
        .admin-chat-input-bar button:hover { background: #2d5f8a; }

        .admin-no-sessions {
            padding: 40px 20px;
            text-align: center;
            color: #b2bec3;
            font-size: 0.95rem;
        }

        @media (max-width: 768px) {
            .admin-session-list { width: 100%; min-width: unset; }
            .admin-panel-body { flex-direction: column; }
            .admin-chat-area { display: none; }
            .admin-panel-body.chat-active .admin-session-list { display: none; }
            .admin-panel-body.chat-active .admin-chat-area { display: flex; }
            .admin-back-btn { display: inline-block !important; }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        .admin-tab {
            background: rgba(255,255,255,0.15);
            border: none;
            color: rgba(255,255,255,0.7);
            padding: 6px 16px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .admin-tab.active {
            background: rgba(255,255,255,0.3);
            color: #fff;
        }
        .admin-tab:hover { background: rgba(255,255,255,0.25); }
        /* Mobile: tabs row scrolls horizontally with drag/swipe */
        .admin-tabs-scroll {
            display: flex;
            gap: 4px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            scroll-behavior: smooth;
            cursor: grab;
            -webkit-user-select: none;
            user-select: none;
            min-width: 0;
            flex: 1 1 auto;
        }
        .admin-tabs-scroll::-webkit-scrollbar { display: none; }
        .admin-tabs-scroll.dragging { cursor: grabbing; scroll-behavior: auto; }
        .contact-category {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            background: #e8f5e9;
            color: #2e7d32;
        }
        .contact-detail-block {
            background: #fff;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            border: 1px solid #e2e8f0;
        }
        .contact-detail-block h4 {
            font-size: 0.8rem;
            color: #636e72;
            margin-bottom: 6px;
            text-transform: uppercase;
        }
        .contact-detail-block p {
            font-size: 0.95rem;
            color: #1a1a2e;
            line-height: 1.6;
            white-space: pre-wrap;
        }
        .contact-reply-item {
            background: #e3f2fd;
            border-radius: 10px;
            padding: 10px 14px;
            margin-bottom: 8px;
            max-width: 85%;
            margin-left: auto;
        }
        .contact-reply-item .reply-time {
            font-size: 0.7rem;
            color: #b2bec3;
            text-align: right;
            margin-top: 4px;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 16px clamp(12px, 3vw, 40px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: clamp(8px, 1.5vw, 16px);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: rgba(26, 58, 92, 0.95);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            padding: 12px clamp(12px, 3vw, 40px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-brand {
            font-size: clamp(0.95rem, 1.6vw, 1.2rem);
            font-weight: 700;
            color: #ffffff;
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nav-links {
            display: flex;
            gap: clamp(10px, 2vw, 32px);
            list-style: none;
            flex-wrap: nowrap;
            min-width: 0;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: clamp(0.72rem, 1.05vw, 0.9rem);
            font-weight: 500;
            transition: color 0.3s;
            white-space: nowrap;
        }

        .nav-links a:hover {
            color: #ffffff;
        }

        /* Auth button in navbar */
        .nav-auth {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 16px;
        }
        .nav-auth-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 7px clamp(10px, 1.5vw, 16px);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 20px;
            background: rgba(255,255,255,0.1);
            color: #fff;
            font-size: clamp(0.75rem, 1vw, 0.85rem);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .nav-auth-btn:hover {
            background: rgba(255,255,255,0.2);
            border-color: rgba(255,255,255,0.5);
        }
        .nav-auth-btn img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }
        .nav-auth-btn svg {
            width: 16px;
            height: 16px;
        }
        .nav-user-name {
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .nav-logout-btn {
            padding: 6px 12px;
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 16px;
            background: transparent;
            color: rgba(255,255,255,0.7);
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        .nav-logout-btn:hover {
            background: rgba(255,0,0,0.15);
            border-color: rgba(255,100,100,0.4);
            color: #ff9999;
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 12px 20px;
            }
            .nav-links {
                display: none;
            }
            .nav-user-name {
                display: none;
            }
        }

        /* Country grid cards */
        .country-card {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 14px 16px;
            text-decoration: none;
            color: #1a3a5c;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .country-card:hover {
            border-color: #4a90d9;
            background: #f0f7ff;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(74,144,217,0.15);
        }
        .country-card .flag {
            font-size: 1.6rem;
            line-height: 1;
            flex-shrink: 0;
        }
        .country-card .ct-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
        .country-card .ct-country {
            font-weight: 700;
            font-size: 0.95rem;
            line-height: 1.2;
        }
        .country-card .ct-app {
            font-weight: 500;
            font-size: 0.78rem;
            color: #4a5568;
            line-height: 1.3;
            word-break: break-word;
        }

/* ══════════════════════════════════════════════ */
/* 금속창호 글로벌 네트워크 (SPA fragment)         */
/* ══════════════════════════════════════════════ */
body.network-mode { overflow-x: hidden; }
body.network-mode > section:not(#network),
body.network-mode > .hero,
body.network-mode > footer { display: none !important; }

#network {
    min-height: 100vh;
    background: #f8fafc;
}
.network-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5f8a 100%);
    padding: 78px 20px 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.network-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.network-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}
.network-subnav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.network-subnav button {
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 22px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.15s;
}
.network-subnav button:hover { background: #eff6ff; border-color: #93c5fd; }
.network-subnav button.active {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
}
.network-country-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.network-country-bar select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    background: #fff;
    min-width: 200px;
}
.net-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.net-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 16px 18px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
}
/* Left accent stripe (blue) that grows on hover */
.net-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1a3a5c 0%, #4a90d9 100%);
    opacity: 0.85;
    transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Top-right corner accent glow */
.net-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.10) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.35s ease;
}
.net-card:hover {
    border-color: #4a90d9;
    box-shadow:
        0 10px 30px -8px rgba(26, 58, 92, 0.18),
        0 4px 12px -2px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(74, 144, 217, 0.25);
    transform: translateY(-3px);
}
.net-card:hover::before { width: 6px; }
.net-card:hover::after { transform: scale(1.4); }
.net-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
    position: relative;
    z-index: 1;
}
.net-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.08);
    letter-spacing: 0.02em;
}
.net-time {
    color: #94a3b8;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}
.net-card-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.net-card-body {
    color: #475569;
    font-size: 0.87rem;
    margin-bottom: 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.net-card-footer {
    color: #1a3a5c;
    font-size: 0.8rem;
    font-weight: 700;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}
.net-card-footer::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.2);
    transition: transform 0.2s;
}
.net-card:hover .net-card-footer::before {
    transform: scale(1.3);
    background: #1a3a5c;
    box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.3);
}
/* Make cards fill available height for consistent rows */
.net-grid { grid-auto-rows: 1fr; }
.net-card { display: flex; flex-direction: column; }
.net-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
    display: block;
}
@media (max-width: 600px) {
    .network-header h2 { font-size: 1.3rem !important; }
    .network-body { padding: 16px 12px 40px; }
    .net-grid { grid-template-columns: 1fr; }
}

/* Network detail overlay (modal) */
.net-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: netFadeIn 0.2s ease;
}
@keyframes netFadeIn { from { opacity: 0; } to { opacity: 1; } }
.net-detail-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 24px;
    animation: netSlideUp 0.25s ease;
}
@keyframes netSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.net-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.net-detail-title {
    font-size: 1.4rem;
    color: #1a3a5c;
    margin: 0 0 16px;
    line-height: 1.3;
    word-break: break-word;
}
.net-detail-images {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.net-detail-images img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    background: #0f172a;
    cursor: zoom-in;
    transition: transform 0.15s;
    display: block;
}
.net-detail-images img:hover { transform: scale(1.005); }
.net-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
    animation: netFadeIn 0.15s;
}
.net-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.net-detail-body { display: flex; flex-direction: column; gap: 14px; }
.net-detail-section h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin: 0 0 4px;
    font-weight: 700;
}
.net-detail-section p {
    color: #1e293b;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-wrap;
    word-break: break-word;
}
.net-detail-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 600px) {
    .net-detail-modal { padding: 18px 16px; max-height: 95vh; }
    .net-detail-title { font-size: 1.15rem; }
}

/* Network mode: navbar merges into network header (no white gap, no boundary) */
body.network-mode #navbar,
body.network-mode #navbar.scrolled {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5f8a 100%) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 0 !important;
}
body.network-mode #network { padding-top: 0; }
body.network-mode .network-header {
    box-shadow: none;
    border-top: 0;
    margin-top: 0;
    padding-top: 72px;
}

/* Sharper thumbnails: prefer high-quality scaling for photo content */
.net-thumb, .net-detail-images img, .net-lightbox img {
    image-rendering: auto;
    image-rendering: high-quality;
}

/* Card body decoration — subtle inner texture and dividers */
.net-card-body {
    padding: 4px 10px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    border-left: 2px solid #e2e8f0;
    margin-left: -4px;
    position: relative;
}
.net-card-body::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 6px;
    font-size: 2rem;
    color: #cbd5e1;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: 700;
}
.net-card-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #4a90d9 0%, #1a3a5c 100%);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: -1px;
}
/* Give thumbnails a subtle frame */
.net-thumb {
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) inset, 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Detail modal enhancement */
.net-detail-modal {
    border: 1px solid #cbd5e1;
    box-shadow:
        0 25px 70px rgba(15, 23, 42, 0.35),
        0 10px 25px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(74, 144, 217, 0.15) inset;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    position: relative;
    overflow: hidden;
}
/* Top colored strip on modal (matches card left stripe) */
.net-detail-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1a3a5c 0%, #4a90d9 50%, #1a3a5c 100%);
    z-index: 2;
}
/* Corner glow */
.net-detail-modal::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.net-detail-header {
    position: relative;
    z-index: 1;
    padding-top: 4px;
}
.net-detail-title {
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
    padding-left: 12px;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #4a90d9, #1a3a5c) 1;
}
.net-detail-body {
    position: relative;
    z-index: 1;
    gap: 0 !important;
}
.net-detail-section {
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-left: 3px solid #4a90d9;
    margin-bottom: 10px;
    transition: all 0.2s;
    position: relative;
}
.net-detail-section:hover {
    border-color: #cbd5e1;
    border-left-color: #1a3a5c;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.06);
    transform: translateX(2px);
}
.net-detail-section h4 {
    color: #4a90d9 !important;
    font-size: 0.7rem !important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.net-detail-section h4::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #4a90d9;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.25);
}
.net-detail-section p {
    font-size: 1rem !important;
    color: #0f172a !important;
    padding-left: 10px;
    border-left: 1px dashed #cbd5e1;
}
.net-detail-footer {
    background: linear-gradient(180deg, transparent 0%, #f8fafc 100%);
    margin: 16px -24px -24px;
    padding: 16px 24px !important;
    border-top: 2px solid #e2e8f0 !important;
    position: relative;
    z-index: 1;
}
.net-detail-footer a {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.2s;
}
.net-detail-footer a:hover {
    border-color: #4a90d9;
    color: #1a3a5c !important;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.15);
    transform: translateX(-2px);
}
/* Category-based badge accent (dynamic later via JS-added class if needed) */

/* Contact CTA buttons on card */
.net-contact-strip { display: flex; gap: 8px; margin: 8px 0 4px; position: relative; z-index: 2; }
.net-contact-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px; text-decoration: none;
    font-size: 0.95rem; background: #f1f5f9; border: 1px solid #cbd5e1; transition: all 0.15s;
}
.net-contact-btn:hover { transform: translateY(-2px); background: #dbeafe; border-color: #4a90d9; box-shadow: 0 4px 8px rgba(74,144,217,0.2); }
.net-contact-btn.phone:hover { background: #d1fae5; border-color: #10b981; }
.net-contact-btn.email:hover { background: #fef3c7; border-color: #f59e0b; }
.net-contact-btn.whatsapp:hover { background: #d1fae5; border-color: #25d366; }
.net-contact-btn.web:hover { background: #ede9fe; border-color: #8b5cf6; }
/* Big CTA row in detail modal */
.net-detail-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 18px; position: relative; z-index: 1; }
.net-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-radius: 10px; text-decoration: none;
    font-weight: 700; font-size: 0.95rem; border: 1px solid; transition: all 0.15s;
}
.net-cta span { font-size: 1.15rem; }
.net-cta.phone    { background: #ecfdf5; color: #065f46; border-color: #6ee7b7; }
.net-cta.email    { background: #fffbeb; color: #92400e; border-color: #fcd34d; }
.net-cta.whatsapp { background: #d1fae5; color: #064e3b; border-color: #34d399; }
.net-cta.web      { background: #f5f3ff; color: #5b21b6; border-color: #a78bfa; }
.net-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,23,42,0.12); filter: brightness(0.97); }
/* Translate button */
.net-translate-btn {
    background: linear-gradient(135deg, #4a90d9, #1a3a5c); color: #fff; border: none;
    padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 0.85rem;
    cursor: pointer; box-shadow: 0 2px 6px rgba(74,144,217,0.3); transition: all 0.15s;
}
.net-translate-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(74,144,217,0.4); }
.net-translate-btn:disabled { opacity: 0.6; cursor: wait; }
/* Search bar */
.network-search-bar {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.network-search-bar input {
    flex: 1; min-width: 200px; padding: 8px 12px;
    border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.95rem; outline: none; transition: all 0.15s;
}
.network-search-bar input:focus { border-color: #4a90d9; box-shadow: 0 0 0 3px rgba(74,144,217,0.15); }
.network-search-bar select, .network-search-bar button {
    padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 6px;
    background: #fff; font-size: 0.9rem; cursor: pointer; color: #1a3a5c; font-weight: 600;
}
.network-search-bar button:hover { border-color: #4a90d9; background: #eff6ff; }
.net-country-chip {
    padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 20px;
    background: #fff; cursor: pointer; font-size: 0.85rem; font-weight: 500; color: #475569; transition: all 0.15s;
}
.net-country-chip:hover { border-color: #4a90d9; }
.net-country-chip.active {
    background: linear-gradient(135deg, #1a3a5c, #4a90d9); color: #fff;
    border-color: #1a3a5c; box-shadow: 0 2px 8px rgba(26,58,92,0.25);
}

/* Fix long-email overflow in CTA row */
.net-detail-cta { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.net-cta {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.net-cta > :not(span) { min-width: 0; }
/* Ensure text after emoji truncates gracefully */
.net-cta {
    white-space: nowrap;
    text-overflow: ellipsis;
}
