        :root {
            /* Palette from your image */
            --lime-green: #89c120;
            --dark-gray: #111111;
            --med-gray: #777777;
            --pure-white: #FFFFFF;
            --pure-black: #000000;
            
            /* Applied Variables */
            --primary: var(--lime-green);
            --text-main: var(--dark-gray);
            --text-sub: var(--med-gray);
            --bg-body: #f2f2f2; /* Light grey to help the white card pop */
            --bg-card: var(--pure-white);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center; /* Center vertically */
            align-items: center;
            overflow: hidden; /* Prevent scrolling if possible */
        }

        body {
            /* ... other styles ... */
            min-height: 100vh; /* Allow it to grow if needed */
            overflow-y: auto;  /* Allow vertical scrolling if the phone is too small */
        }

        /* Main Container - Compact to fit height */
        .container {
            width: 90%;
            max-width: 400px;
            max-height: 95vh; /* Never exceed screen height */
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Header Area */
        header {
            text-align: center;
            margin-bottom: 10px;
        }

        h1 {
            font-size: 1.2rem;
            margin: 0;
            color: var(--dark-gray);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        h1 span {
            color: var(--primary); /* Green Title */
            font-weight: 800;
        }

        .subtitle {
            font-size: 0.8rem;
            color: var(--text-sub);
            margin-top: 2px;
        }

        /* The White Card */
        .card {
            background: var(--bg-card);
            padding: 15px 20px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-top: 5px solid var(--primary); /* Green accent bar */
        }

        /* Radio Toggle */
        .radio-group {
            display: flex;
            background: #eee;
            border-radius: 6px;
            padding: 3px;
            margin-bottom: 12px;
        }

        .radio-option {
            flex: 1;
            position: relative;
        }

        .radio-option input[type="radio"] {
            display: none;
        }

        .radio-option label {
            display: block;
            text-align: center;
            padding: 8px 0;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            border-radius: 4px;
            color: var(--med-gray);
            transition: all 0.2s;
        }

        /* Active Radio State */
        .radio-option input[type="radio"]:checked + label {
            background-color: var(--dark-gray);
            color: var(--primary); /* Green text on black bg */
        }

        /* Form Fields */
        .field {
            margin-bottom: 10px;
        }

        label {
            display: block;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 3px;
        }

        .bengali {
            font-weight: normal;
            color: var(--med-gray);
            font-size: 0.75rem;
        }

        select, input {
            width: 100%;
            padding: 8px 10px; /* Smaller padding */
            border: 1px solid #ddd;
            border-radius: 6px;
            box-sizing: border-box;
            font-size: 0.95rem;
            background: #fafafa;
            outline: none;
        }

        select:focus, input:focus {
            border-color: var(--primary);
            background: #fff;
        }

        /* Narration Result Box */
        .narration-box {
            background: #f9f9f9;
            border: 1px dashed var(--med-gray);
            padding: 10px;
            border-radius: 6px;
            margin-top: 10px;
        }

        #narration {
            font-family: 'Consolas', monospace;
            font-size: 0.85rem;
            line-height: 1.3;
            color: var(--dark-gray);
            min-height: 40px; /* Compact height */
            margin: 0 0 10px 0;
        }

        /* Action Button */
        button {
            background-color: var(--primary);
            color: var(--pure-black); /* Black text on Green for contrast */
            border: none;
            padding: 10px;
            border-radius: 6px;
            width: 100%;
            font-size: 0.9rem;
            font-weight: 800;
            cursor: pointer;
            text-transform: uppercase;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: transform 0.1s;
        }

        button:active {
            transform: scale(0.98);
        }

        /* Helper to ensure text is visible on the green */
        ::selection {
            background: var(--primary);
            color: black;
        }

    
