        :root {
            --bg-main: #f9fafb;
            --bg-card: #ffffff;
            --text-dark: #111827;
            --text-muted: #4b5563;
            --primary: #00766c;
            --primary-hover: #005a52;
            --primary-light: #e0f2f1;
            
            --accent: #f97316;
            --border-light: #e5e7eb;
        }

        html {
            scroll-padding-top: 80px;
            scroll-behavior: smooth;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            line-height: 1.6;
        }
        .top-navbar {
            position: sticky;
            top: 0;
            display: flex;
            justify-content: center;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border-light);
            padding: 0.75rem 1.5rem;
            flex-shrink: 0;
            width: 100%;
            z-index: 100;
        }

        .nav-container {
            width: 100%;
            max-width: 1200px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-left-bar {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-dark);
            padding: 0.25rem;
        }

        .panel-title {
            text-decoration: none;
            color: var(--text-dark);
            font-size: 1.8rem;
            letter-spacing: -0.5px;
            white-space: nowrap;
            display: flex;
            align-items: center;
        }

        .app-top-menu {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.9rem;
            font-weight: 500;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .app-top-menu a {
            text-decoration: none;
            color: var(--text-muted);
            transition: color 0.2s;
            white-space: nowrap;
        }
        
        .app-top-menu a:hover {
            color: var(--primary);
        }

        .app-top-menu a.support-link {
            background-color: var(--primary-light);
            color: var(--primary);
            padding: 0.35rem 0.8rem;
            border-radius: 999px;
            font-weight: 600;
        }
        .app-top-menu a.support-link:hover {
            background-color: var(--primary);
            color: #ffffff;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: nowrap; 
        }

        /* --- BUTTONS --- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            text-align: center;
            white-space: nowrap;
        }

        .btn-primary { background: var(--primary); color: white; }
        .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

        .btn-outline {
            background: transparent;
            color: var(--text-dark);
            border: 1px solid var(--border-light);
        }
        .btn-outline:hover {
            background: var(--bg-main);
        }

        .btn-large {
            font-size: 1.15rem;
            padding: 1.1rem 2.5rem;
            border-radius: 12px;
        }

        /* --- CUSTOM LANGUAGE SELECTOR UI ---
           Same control as the one in the workspace: a compact code button with
           the full language list beneath it. --- */
        .custom-lang-selector {
            position: relative;
            display: inline-block;
        }
        .lang-selector-btn {
            height: 36px;
            min-width: 48px;
            padding: 0 0.55rem;
            background-color: var(--bg-main);
            border: 1px solid var(--border-light);
            border-radius: 7px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
            transition: background-color 0.15s ease, color 0.15s ease;
        }
        .lang-selector-btn:hover {
            background-color: var(--border-light);
            color: var(--text-dark);
        }
        .lang-selector-menu {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            right: 0;
            background-color: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: 11px;
            box-shadow: 0 24px 48px -20px rgba(17, 24, 39, 0.38);
            list-style: none;
            padding: 0.3rem;
            margin: 0;
            z-index: 1000;
            min-width: 190px;
            max-height: 300px;
            overflow-y: auto;
        }
        .lang-selector-menu.show {
            display: block;
        }
        .lang-selector-menu li {
            padding: 0.5rem 0.65rem;
            font-size: 0.88rem;
            border-radius: 7px;
            cursor: pointer;
            color: var(--text-muted);
            transition: background 0.15s ease, color 0.15s ease;
            white-space: nowrap;
        }
        .lang-selector-menu li:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        .lang-selector-menu li.is-current {
            color: var(--primary);
            font-weight: 700;
        }
        .how-it-works-section {
            background: var(--bg-main);
            padding: 5rem 1.5rem;
            border-top: 1px solid var(--border-light);
        }

        .how-it-works-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .how-it-works-container > h2 {
            text-align: center;
            font-size: 2.2rem;
            margin-bottom: 3rem;
            letter-spacing: -0.5px;
        }

        .how-cards-wrapper {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
        }

        .how-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
        }

        .how-card h3 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
            line-height: 1.3;
            text-align: center;
        }

        .how-card .sub-text {
            font-size: 0.9rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 1rem;
            text-align: center; 
        }

        .how-card .desc-text {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-top: 1rem;
        }

        .image-container {
            width: 100%;
            margin: 1.5rem 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            border: 1px solid var(--border-light);
        }
        
        .image-container img {
            width: 100%;
            height: auto;
            display: block;
        }
        /* --- FOOTER & MODAL --- */
        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem;
            padding: 3rem 1.5rem;
            background: var(--bg-card);
            border-top: 1px solid var(--border-light);
        }
        
        .footer-links a, .footer-links button {
            text-decoration: none;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        
        .footer-links a:hover, .footer-links button:hover {
            color: var(--primary);
        }


@media (max-width: 900px) {
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .app-top-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border-light); flex-direction: column; align-items: stretch; padding: 1rem; z-index: 1000; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
  .app-top-menu.active { display: flex !important; }
  .app-top-menu a { display: block; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-light); }
  .app-top-menu li:last-child a { border-bottom: none; }
  .app-top-menu a.support-link { border-radius: 0; background: transparent; padding: 0.75rem 1rem; }
  .top-navbar { padding: 0.5rem 1.5rem; }
  .nav-left-bar { gap: 0.75rem; }
  .how-cards-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-navbar { padding: 0.5rem 1rem; }
  .nav-container { flex-wrap: nowrap; justify-content: space-between; }
  .panel-title { font-size: 1.4rem; }
  .header-actions { gap: 0.4rem; }
  .btn-primary { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
}

/* --- GUIDE ARTICLE --- */
.guide-main { flex: 1; }
.guide-wrap { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.guide-wrap h1 { font-size: 2.3rem; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 1rem; }
.guide-lead { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.guide-wrap h2 { font-size: 1.55rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.3px; }
.guide-wrap h3 { font-size: 1.15rem; margin: 1.5rem 0 0.4rem; color: var(--primary); }
.guide-wrap p { margin-bottom: 1rem; color: #1f2937; font-size: 1.05rem; }
.guide-wrap ul, .guide-wrap ol { margin: 0 0 1.25rem 1.4rem; }
.guide-wrap li { margin-bottom: 0.5rem; font-size: 1.05rem; color: #1f2937; }
.guide-wrap a { color: var(--primary); }
.guide-wrap a.btn-primary { color: #fff; }
.guide-wrap .image-container { margin: 1.75rem 0; }
.guide-wrap figcaption { font-size: 0.85rem; color: var(--text-muted); padding: 0.5rem 0.75rem; background: var(--bg-card); }
.callout { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.callout p { margin: 0; color: var(--text-dark); }
.callout.warn { background: #fff7ed; border-left-color: var(--accent); }
.guide-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.97rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }
.guide-table th, .guide-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.guide-table th { background: var(--primary-light); color: var(--primary); }
.table-scroll { overflow-x: auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.9rem; }
.faq-item h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.faq-item p { margin: 0; }
.guide-related { background: var(--bg-card); border-top: 1px solid var(--border-light); padding: 3rem 1.5rem; }
.guide-related-inner { max-width: 1000px; margin: 0 auto; }
.guide-related h2 { text-align: center; font-size: 1.6rem; margin-bottom: 1.5rem; }
.guide-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.guide-link-card { display: block; text-decoration: none; background: var(--bg-main); border: 1px solid var(--border-light); border-radius: 12px; padding: 1.1rem 1.25rem; color: var(--primary); font-weight: 700; line-height: 1.35; transition: transform .15s, box-shadow .15s; }
.guide-link-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(0,0,0,.12); }
.guide-cta { text-align: center; background: var(--primary-light); padding: 3rem 1.5rem; }
.guide-cta h2 { font-size: 1.7rem; margin-bottom: 1.25rem; }
.guide-cta p { color: var(--text-muted); margin-bottom: 1.25rem; }
.guide-card-link { display: inline-block; margin-top: 1rem; color: var(--primary); font-weight: 700; text-decoration: none; }
.guide-card-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .guide-wrap h1 { font-size: 1.8rem; } .guide-wrap h2 { font-size: 1.35rem; } }
