        :root {
            --primary-color: #667eea;
            --primary-dark: #5568d3;
            --secondary-color: #764ba2;
            --success-color: #48bb78;
            --error-color: #f56565;
            --bg-light: #f7fafc;
            --bg-dark: #1a202c;
            --text-light: #2d3748;
            --text-dark: #e2e8f0;
            --border-light: #e2e8f0;
            --border-dark: #4a5568;
            --card-light: #ffffff;
            --card-dark: #2d3748;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            background: var(--bg-light);
            color: var(--text-light);
            min-height: 100vh;
            transition: background 0.3s, color 0.3s;
        }
        
        body.dark-mode {
            background: var(--bg-dark);
            color: var(--text-dark);
        }
        
        .navbar {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 1rem 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .navbar-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .navbar h1 {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .navbar-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .theme-toggle {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.3s;
        }
        
        .theme-toggle:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .logout-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: background 0.3s;
        }
        
        .logout-btn:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .container {
            max-width: 800px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        .card {
            background: var(--card-light);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }
        
        body.dark-mode .card {
            background: var(--card-dark);
        }
        
        .card h2 {
            margin-bottom: 1.5rem;
            color: var(--primary-color);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        
        .form-group input {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--border-light);
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        body.dark-mode .form-group input {
            background: var(--bg-dark);
            border-color: var(--border-dark);
            color: var(--text-dark);
        }
        
        .form-group input:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        
        .btn {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }
        
        .btn:active {
            transform: translateY(0);
        }
        
        .alert {
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
        }
        
        .alert-error {
            background: #fed7d7;
            color: #742a2a;
            border: 1px solid #fc8181;
        }
        
        .alert-success {
            background: #c6f6d5;
            color: #22543d;
            border: 1px solid #68d391;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .info-item {
            padding: 1rem;
            background: var(--bg-light);
            border-radius: 8px;
        }
        
        body.dark-mode .info-item {
            background: var(--bg-dark);
        }
        
        .info-item label {
            display: block;
            font-size: 0.85rem;
            color: #718096;
            margin-bottom: 0.25rem;
        }
        
        .info-item .value {
            font-weight: 600;
            font-size: 1.1rem;
        }
        
        .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        .badge-success {
            background: #c6f6d5;
            color: #22543d;
        }
        
        .badge-warning {
            background: #feebc8;
            color: #7c2d12;
        }
        
        @media (max-width: 768px) {
            .navbar-content {
                flex-direction: column;
                gap: 1rem;
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Shared BlahBlah.com visual system */
        :root {
            --primary-color: #1779ba;
            --primary-dark: #116395;
            --secondary-color: #ef493f;
            --success-color: #48bb78;
            --error-color: #ef493f;
            --bg-light: #fffaf0;
            --bg-dark: #171717;
            --text-light: #151515;
            --text-dark: #fffaf0;
            --border-light: #151515;
            --border-dark: #f6f0e5;
            --card-light: #ffffff;
            --card-dark: #252525;
            --yellow: #ffd83d;
            --red: #ef493f;
            --ink: #151515;
            --paper: #fffaf0;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: var(--paper);
            color: var(--ink);
        }

        body.dark-mode {
            background: var(--bg-dark);
            color: var(--text-dark);
            color-scheme: dark;
        }

        .navbar {
            padding: .55rem 1.25rem;
            background: var(--paper);
            color: var(--ink);
            border-top: .35rem solid var(--ink);
            border-bottom: 3px solid var(--ink);
            box-shadow: none;
        }

        body.dark-mode .navbar {
            background: #202020;
            color: var(--text-dark);
            border-color: var(--yellow);
        }

        .navbar-content { max-width: 1120px; gap: 1rem; }

        .brand {
            color: inherit;
            font-size: clamp(1.55rem, 4vw, 2.05rem);
            font-weight: 900;
            letter-spacing: -.055em;
            text-decoration: none;
            white-space: nowrap;
        }

        .brand span { color: var(--red); }

        .navbar-actions { flex-wrap: wrap; justify-content: flex-end; gap: .7rem; font-weight: 800; }
        .navbar-actions .site-link { color: inherit; text-underline-offset: 3px; }

        .theme-toggle, .logout-btn {
            padding: .48rem .78rem;
            color: #fff;
            background: var(--ink);
            border: 2px solid var(--ink);
            border-radius: 0;
            box-shadow: 3px 3px 0 var(--yellow);
            font-weight: 900;
        }

        .theme-toggle:hover, .logout-btn:hover { background: var(--primary-color); }
        .logout-btn { background: var(--red); box-shadow: 3px 3px 0 var(--ink); }
        body.dark-mode .theme-toggle { border-color: var(--paper); }

        .container {
            max-width: 920px;
            margin: 1.25rem auto 2rem;
            padding: 0 1.25rem;
        }

        .card {
            padding: clamp(1.25rem, 4vw, 2rem);
            margin-bottom: 1.25rem;
            background: var(--card-light);
            border: 3px solid var(--ink);
            border-radius: 0;
            box-shadow: 7px 7px 0 var(--yellow);
        }

        .card:nth-of-type(even) { box-shadow: 7px 7px 0 var(--red); }

        body.dark-mode .card {
            background: var(--card-dark);
            border-color: var(--border-dark);
        }

        .card h2 {
            margin-bottom: 1rem;
            color: inherit;
            font-size: clamp(1.75rem, 4vw, 2.45rem);
            line-height: 1;
            letter-spacing: -.045em;
        }

        .form-group { margin-bottom: 1rem; }
        .form-group input {
            padding: .8rem .85rem;
            color: var(--ink);
            background: #fffefb;
            border: 2px solid #817b71;
            border-radius: 0;
        }

        body.dark-mode .form-group input { background: #181818; color: var(--text-dark); border-color: #aaa49a; }
        .form-group input:focus { outline: 3px solid var(--yellow); border-color: var(--ink); }

        .btn {
            padding: .75rem 1rem;
            background: var(--primary-color);
            border: 3px solid var(--ink);
            border-radius: 0;
            box-shadow: 4px 4px 0 var(--ink);
            font-weight: 900;
        }

        .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

        .info-item {
            padding: .85rem;
            background: #fff5c4;
            border: 2px solid var(--ink);
            border-radius: 0;
        }

        body.dark-mode .info-item { background: #181818; border-color: #aaa49a; }
        body.dark-mode .info-item label { color: #c9c2b7; }

        .badge { border: 1px solid currentColor; border-radius: 999px; }
        .alert { border: 2px solid var(--ink); border-radius: 0; }

        .portal-footer {
            padding: 1rem 1.25rem;
            color: #fff;
            background: var(--ink);
            text-align: center;
            font-size: .85rem;
        }

        .portal-footer a { margin: 0 .45rem; color: inherit; }

        .flush-form { margin: 0; }
        .password-toggle-button { margin-top: .5rem; padding: .45rem .75rem; cursor: pointer; font: inherit; }
        .center-link { text-align: center; }
        .center-link a { color: var(--primary-color); text-decoration: none; }
        .center-link-spacious { margin-top: 1.5rem; }
        .verification-resend { margin-top: 1rem; }
        .verification-resend p { margin-bottom: .75rem; }
        .account-create-link { margin-top: .75rem; }
        .center-link .strong-link { font-weight: 600; }
        .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

        @media (max-width: 768px) {
            .navbar-content { align-items: flex-start; }
            .navbar-actions { justify-content: center; }
            .container { margin-top: .9rem; }
            .card { box-shadow: 5px 5px 0 var(--yellow); }
        }
    
