/* /Components/CoachResultDisplay.razor.rz.scp.css */
/* Results Section */
.results-section[b-u95mle1bn0] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-card[b-u95mle1bn0] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.result-card.featured[b-u95mle1bn0] {
    border: 2px solid #3b82f6;
    background: linear-gradient(to bottom right, #eff6ff, white);
}

.result-card h2[b-u95mle1bn0] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.result-description[b-u95mle1bn0] {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.result-text[b-u95mle1bn0] {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 1rem;
}

.copy-button[b-u95mle1bn0] {
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.copy-button:hover[b-u95mle1bn0] {
    background: #e5e7eb;
}

/* Variants */
.variant[b-u95mle1bn0] {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.variant:last-child[b-u95mle1bn0] {
    margin-bottom: 0;
}

.variant strong[b-u95mle1bn0] {
    color: #374151;
}

.variant p[b-u95mle1bn0] {
    margin: 0.5rem 0 0 0;
    color: #1f2937;
}

/* Feedback */
.feedback-list[b-u95mle1bn0] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feedback-item[b-u95mle1bn0] {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.feedback-header[b-u95mle1bn0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.why-matters[b-u95mle1bn0] {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.quick-rule[b-u95mle1bn0] {
    color: #059669;
    font-weight: 500;
    margin: 0.5rem 0;
}

.example[b-u95mle1bn0] {
    display: block;
    background: #1f2937;
    color: #e5e7eb;
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Tags */
.tag[b-u95mle1bn0] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.large[b-u95mle1bn0] {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.tag-cloud[b-u95mle1bn0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Phrase Table */
.phrase-table[b-u95mle1bn0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.phrase-table th[b-u95mle1bn0],
.phrase-table td[b-u95mle1bn0] {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.phrase-table th[b-u95mle1bn0] {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

.phrase-table tbody tr:hover[b-u95mle1bn0] {
    background: #f9fafb;
}

.pattern[b-u95mle1bn0] {
    display: inline-block;
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.25rem;
    padding: 0.2rem 0.4rem;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
}

/* Register Note */
.register-note[b-u95mle1bn0] {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #92400e;
    font-size: 0.9rem;
}

/* Alternative Interpretation */
.alternative-section[b-u95mle1bn0] {
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.alternative-section summary[b-u95mle1bn0] {
    cursor: pointer;
    color: #1d4ed8;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.alternative-section summary:hover[b-u95mle1bn0] {
    background: #eff6ff;
}

.alternative-content[b-u95mle1bn0] {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.alternative-explanation[b-u95mle1bn0] {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.interpretation-options[b-u95mle1bn0] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.interpretation[b-u95mle1bn0] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.interpretation-label[b-u95mle1bn0] {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
}

.alternative-text[b-u95mle1bn0] {
    margin-top: 1rem;
}

.alternative-text .result-text[b-u95mle1bn0] {
    margin-top: 0.5rem;
    background: white;
}

/* Result metadata (model + tokens) */
.result-meta[b-u95mle1bn0] {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
    margin-top: 0.5rem;
}

/* Copy Feedback Toast */
.copy-feedback[b-u95mle1bn0] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1f2937;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeInUp-b-u95mle1bn0 0.2s ease-out;
}

@keyframes fadeInUp-b-u95mle1bn0 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .phrase-table[b-u95mle1bn0] {
        font-size: 0.8rem;
    }
    
    .phrase-table th[b-u95mle1bn0],
    .phrase-table td[b-u95mle1bn0] {
        padding: 0.5rem;
    }
}

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-v8q5m4zhkd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-v8q5m4zhkd] {
    flex: 1;
}

.sidebar[b-v8q5m4zhkd] {
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    min-height: 100vh;
}

.top-row[b-v8q5m4zhkd] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-v8q5m4zhkd]  a, .top-row[b-v8q5m4zhkd]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-v8q5m4zhkd]  a:hover, .top-row[b-v8q5m4zhkd]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-v8q5m4zhkd]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-v8q5m4zhkd] {
        justify-content: space-between;
    }

    .top-row[b-v8q5m4zhkd]  a, .top-row[b-v8q5m4zhkd]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-v8q5m4zhkd] {
        flex-direction: row;
    }

    .sidebar[b-v8q5m4zhkd] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-v8q5m4zhkd] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-v8q5m4zhkd]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-v8q5m4zhkd], article[b-v8q5m4zhkd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-d13n4iuesv] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-d13n4iuesv] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-d13n4iuesv] {
    font-size: 1.1rem;
}

.bi[b-d13n4iuesv] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-d13n4iuesv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-d13n4iuesv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-d13n4iuesv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-d13n4iuesv] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-d13n4iuesv] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-d13n4iuesv] {
        padding-bottom: 1rem;
    }

    .nav-item[b-d13n4iuesv]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-d13n4iuesv]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-d13n4iuesv]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Auth section */
.auth-section[b-d13n4iuesv] {
    margin-top: auto;
}

.auth-divider[b-d13n4iuesv] {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 0.25rem 0;
}

.user-info[b-d13n4iuesv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #d7d7d7;
}

.user-avatar[b-d13n4iuesv] {
    font-size: 1.2rem;
}

.user-name[b-d13n4iuesv] {
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.auth-link[b-d13n4iuesv] {
    color: #93c5fd !important;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    height: auto !important;
    line-height: normal !important;
}

.auth-link:hover[b-d13n4iuesv] {
    color: #bfdbfe !important;
    text-decoration: underline;
}

.sign-in-label[b-d13n4iuesv] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.15rem;
}

.provider-link[b-d13n4iuesv] {
    color: #d7d7d7 !important;
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.provider-link:hover[b-d13n4iuesv] {
    background-color: rgba(255,255,255,0.1);
    color: white !important;
}

/* Dev-only section */
.dev-section[b-d13n4iuesv] {
    margin-top: auto;
}

.dev-divider[b-d13n4iuesv] {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 0.25rem 0;
}

.dev-clear-btn[b-d13n4iuesv] {
    color: #fca5a5 !important;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    font-size: 0.9rem;
    width: 100%;
    padding: 0 0.5rem;
    text-align: left;
}

.dev-clear-btn:hover:not(:disabled)[b-d13n4iuesv] {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fecaca !important;
}

.dev-clear-btn:disabled[b-d13n4iuesv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.clear-message[b-d13n4iuesv] {
    font-size: 0.75rem;
    color: #d1d5db;
    padding: 0.25rem 0.5rem;
}

@media (min-width: 641px) {
    .navbar-toggler[b-d13n4iuesv] {
        display: none;
    }

    .collapse[b-d13n4iuesv] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-d13n4iuesv] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/About.razor.rz.scp.css */
.about-container[b-9vogku456o] {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.about-header[b-9vogku456o] {
    text-align: center;
    margin-bottom: 2rem;
}

.about-header h1[b-9vogku456o] {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.about-section[b-9vogku456o] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.about-section h2[b-9vogku456o] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

.about-section p[b-9vogku456o] {
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.about-section p:last-child[b-9vogku456o] {
    margin-bottom: 0;
}

.about-section ul[b-9vogku456o] {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
    color: #4b5563;
}

.about-section li[b-9vogku456o] {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.about-section li strong[b-9vogku456o] {
    color: #374151;
}

.about-section a[b-9vogku456o] {
    color: #1d4ed8;
    text-decoration: none;
}

.about-section a:hover[b-9vogku456o] {
    text-decoration: underline;
}

/* Delete Data Section */
.delete-data-section[b-9vogku456o] {
    margin-top: 1rem;
}

.delete-data-btn[b-9vogku456o] {
    padding: 0.65rem 1.5rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.delete-data-btn:hover:not(:disabled)[b-9vogku456o] {
    background: #b91c1c;
}

.delete-data-btn.disabled[b-9vogku456o],
.delete-data-btn:disabled[b-9vogku456o] {
    background: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}

.delete-hint[b-9vogku456o] {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

.delete-confirm[b-9vogku456o] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
}

.confirm-warning[b-9vogku456o] {
    color: #991b1b;
    margin: 0 0 1rem 0 !important;
}

.confirm-actions[b-9vogku456o] {
    display: flex;
    gap: 0.75rem;
}

.confirm-delete-btn[b-9vogku456o] {
    padding: 0.5rem 1.25rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.confirm-delete-btn:hover:not(:disabled)[b-9vogku456o] {
    background: #b91c1c;
}

.confirm-delete-btn:disabled[b-9vogku456o] {
    opacity: 0.6;
    cursor: not-allowed;
}

.confirm-cancel-btn[b-9vogku456o] {
    padding: 0.5rem 1.25rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.confirm-cancel-btn:hover:not(:disabled)[b-9vogku456o] {
    background: #e5e7eb;
}

.delete-feedback[b-9vogku456o] {
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #d1fae5;
    color: #065f46;
}

.delete-feedback.error[b-9vogku456o] {
    background: #fee2e2;
    color: #991b1b;
}

.about-footer[b-9vogku456o] {
    text-align: center;
    margin-top: 2rem;
}

.back-link[b-9vogku456o] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.back-link:hover[b-9vogku456o] {
    background: #e5e7eb;
}

/* /Pages/Coach.razor.rz.scp.css */
/* Writing Coach Page Styles */

.coach-container[b-opmyi8fc2d] {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.coach-header[b-opmyi8fc2d] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container[b-opmyi8fc2d] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.logo-icon[b-opmyi8fc2d] {
    font-size: 2rem;
    opacity: 0.9;
}

.coach-header h1[b-opmyi8fc2d] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.subtitle[b-opmyi8fc2d] {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

/* Instructions Banner */
.instructions-banner[b-opmyi8fc2d] {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.instructions-quick[b-opmyi8fc2d] {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.instructions-quick strong[b-opmyi8fc2d] {
    color: #1d4ed8;
}

.instructions-details[b-opmyi8fc2d] {
    margin-top: 0.75rem;
}

.instructions-details summary[b-opmyi8fc2d] {
    cursor: pointer;
    color: #1d4ed8;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.instructions-details summary:hover[b-opmyi8fc2d] {
    text-decoration: underline;
}

.instructions-content[b-opmyi8fc2d] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dbeafe;
    font-size: 0.9rem;
    color: #4b5563;
}

.instructions-content p[b-opmyi8fc2d] {
    margin: 0 0 0.75rem 0;
}

.instructions-content ul[b-opmyi8fc2d] {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

.instructions-content li[b-opmyi8fc2d] {
    margin-bottom: 0.4rem;
}

.instructions-content li strong[b-opmyi8fc2d] {
    color: #374151;
}

/* Input Section */
.input-section[b-opmyi8fc2d] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-group[b-opmyi8fc2d] {
    margin-bottom: 1rem;
}

.form-group label[b-opmyi8fc2d] {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

textarea[b-opmyi8fc2d] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}

textarea:focus[b-opmyi8fc2d] {
    outline: none;
    border-color: #3b82f6;
}

textarea:disabled[b-opmyi8fc2d] {
    background-color: #f9fafb;
}

.char-count[b-opmyi8fc2d] {
    text-align: right;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.options-row[b-opmyi8fc2d] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

select[b-opmyi8fc2d] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

select:focus[b-opmyi8fc2d] {
    outline: none;
    border-color: #3b82f6;
}

select:disabled[b-opmyi8fc2d] {
    background-color: #f9fafb;
    cursor: not-allowed;
}

.coach-button[b-opmyi8fc2d] {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.coach-button:hover:not(:disabled)[b-opmyi8fc2d] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.coach-button:disabled[b-opmyi8fc2d] {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner[b-opmyi8fc2d] {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-opmyi8fc2d 0.8s linear infinite;
}

@keyframes spin-b-opmyi8fc2d {
    to { transform: rotate(360deg); }
}

.error-message[b-opmyi8fc2d] {
    margin-top: 1rem;
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

/* Rate-limit banner — amber, distinct from errors */
.rate-limit-banner[b-opmyi8fc2d] {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.rate-limit-icon[b-opmyi8fc2d] {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rate-limit-text[b-opmyi8fc2d] {
    color: #92400e;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rate-limit-text strong[b-opmyi8fc2d] {
    color: #78350f;
}

.rate-limit-text a[b-opmyi8fc2d] {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
}

/* Auth nudge — subtle blue banner after results */
.auth-nudge[b-opmyi8fc2d] {
    margin-bottom: 1.5rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e40af;
    font-size: 0.95rem;
}

.auth-nudge a[b-opmyi8fc2d] {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
}

/* Char count warning */
.char-count-warn[b-opmyi8fc2d] {
    color: #d97706;
}

/* Model selector info */
.model-info[b-opmyi8fc2d] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 640px) {
    .coach-header h1[b-opmyi8fc2d] {
        font-size: 1.75rem;
    }
    
    .options-row[b-opmyi8fc2d] {
        grid-template-columns: 1fr 1fr;
    }
}
/* /Pages/History.razor.rz.scp.css */
/* History Page Styles */

.history-container[b-ohmmlcqb8u] {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header[b-ohmmlcqb8u] {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1[b-ohmmlcqb8u] {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
}

.subtitle[b-ohmmlcqb8u] {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* Loading & Empty States */
.loading-state[b-ohmmlcqb8u] {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading-state .spinner[b-ohmmlcqb8u] {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-ohmmlcqb8u 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin-b-ohmmlcqb8u {
    to { transform: rotate(360deg); }
}

.empty-state[b-ohmmlcqb8u] {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.empty-icon[b-ohmmlcqb8u] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h2[b-ohmmlcqb8u] {
    margin: 0 0 0.5rem;
    color: #374151;
}

.empty-state p[b-ohmmlcqb8u] {
    color: #6b7280;
}

.empty-state a[b-ohmmlcqb8u] {
    color: #3b82f6;
    text-decoration: underline;
}

/* Auth CTA buttons */
.auth-cta[b-ohmmlcqb8u] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1.5rem;
}

.cta-btn[b-ohmmlcqb8u] {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    color: white !important;
    transition: opacity 0.2s;
    min-width: 220px;
    text-align: center;
}

.cta-btn:hover[b-ohmmlcqb8u] {
    opacity: 0.9;
}

.cta-btn.github[b-ohmmlcqb8u] {
    background: #24292e;
}

.cta-btn.microsoft[b-ohmmlcqb8u] {
    background: #0078d4;
}

.cta-btn.google[b-ohmmlcqb8u] {
    background: #ea4335;
}

.error-message[b-ohmmlcqb8u] {
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

/* Session List */
.session-list[b-ohmmlcqb8u] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.session-card[b-ohmmlcqb8u] {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.session-card:hover[b-ohmmlcqb8u] {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.session-card.selected[b-ohmmlcqb8u] {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.15);
}

.session-header[b-ohmmlcqb8u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.session-date[b-ohmmlcqb8u] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.session-badges[b-ohmmlcqb8u] {
    display: flex;
    gap: 0.5rem;
}

.badge[b-ohmmlcqb8u] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.level[b-ohmmlcqb8u] {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge.model[b-ohmmlcqb8u] {
    background: #f3e8ff;
    color: #7c3aed;
}

.session-preview[b-ohmmlcqb8u] {
    font-size: 0.95rem;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.session-meta[b-ohmmlcqb8u] {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Session Detail */
.session-detail[b-ohmmlcqb8u] {
    margin-top: 1rem;
}

.detail-header[b-ohmmlcqb8u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.detail-header h2[b-ohmmlcqb8u] {
    margin: 0;
    font-size: 1.4rem;
    color: #1a1a2e;
}

.close-button[b-ohmmlcqb8u] {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: #6b7280;
    transition: background 0.2s;
}

.close-button:hover[b-ohmmlcqb8u] {
    background: #e5e7eb;
}

.original-text-card[b-ohmmlcqb8u] {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.original-text-card h3[b-ohmmlcqb8u] {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #374151;
}

.original-text[b-ohmmlcqb8u] {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    line-height: 1.6;
    white-space: pre-wrap;
    border-left: 4px solid #f59e0b;
}

/* Responsive */
@media (max-width: 640px) {
    .session-header[b-ohmmlcqb8u] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* /Pages/Phrases.razor.rz.scp.css */
/* Phrases Page Styles */

.phrases-container[b-x32hip90ab] {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header[b-x32hip90ab] {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1[b-x32hip90ab] {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
}

.subtitle[b-x32hip90ab] {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* Filter Bar */
.filter-bar[b-x32hip90ab] {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-end;
}

.filter-group label[b-x32hip90ab] {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.level-toggles[b-x32hip90ab],
.status-toggles[b-x32hip90ab],
.tag-toggles[b-x32hip90ab] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.level-btn[b-x32hip90ab],
.status-btn[b-x32hip90ab],
.tag-btn[b-x32hip90ab] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
}

.level-btn:hover[b-x32hip90ab],
.status-btn:hover[b-x32hip90ab],
.tag-btn:hover[b-x32hip90ab] {
    border-color: #93c5fd;
    color: #3b82f6;
}

.level-btn.active[b-x32hip90ab],
.status-btn.active[b-x32hip90ab],
.tag-btn.active[b-x32hip90ab] {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.status-btn.favorite.active[b-x32hip90ab] {
    background: #f59e0b;
    border-color: #f59e0b;
}

/* Search */
.search-group[b-x32hip90ab] {
    flex: 1;
    min-width: 180px;
}

.search-input[b-x32hip90ab] {
    width: 100%;
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #374151;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus[b-x32hip90ab] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.search-input[b-x32hip90ab]::placeholder {
    color: #9ca3af;
}

/* Loading & Empty States */
.loading-state[b-x32hip90ab] {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading-state .spinner[b-x32hip90ab] {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-x32hip90ab 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin-b-x32hip90ab {
    to { transform: rotate(360deg); }
}

.empty-state[b-x32hip90ab] {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.empty-icon[b-x32hip90ab] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h2[b-x32hip90ab] {
    margin: 0 0 0.5rem;
    color: #374151;
}

.empty-state p[b-x32hip90ab] {
    color: #6b7280;
}

.empty-state a[b-x32hip90ab] {
    color: #3b82f6;
    text-decoration: underline;
}

/* Auth CTA buttons */
.auth-cta[b-x32hip90ab] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1.5rem;
}

.cta-btn[b-x32hip90ab] {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    color: white !important;
    transition: opacity 0.2s;
    min-width: 220px;
    text-align: center;
}

.cta-btn:hover[b-x32hip90ab] {
    opacity: 0.9;
}

.cta-btn.github[b-x32hip90ab] {
    background: #24292e;
}

.cta-btn.microsoft[b-x32hip90ab] {
    background: #0078d4;
}

.cta-btn.google[b-x32hip90ab] {
    background: #ea4335;
}

.error-message[b-x32hip90ab] {
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    margin-bottom: 1rem;
}

/* Phrase Count */
.phrase-count[b-x32hip90ab] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.filter-info[b-x32hip90ab] {
    color: #9ca3af;
}

/* Phrase Cards — dense layout */
.phrase-cards[b-x32hip90ab] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phrase-card[b-x32hip90ab] {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s;
}

.phrase-card:hover[b-x32hip90ab] {
    border-color: #93c5fd;
}

.phrase-card.learned[b-x32hip90ab] {
    border-color: #86efac;
    background: linear-gradient(to right, #f0fdf4, white);
}

.phrase-card.favorited[b-x32hip90ab] {
    border-left: 4px solid #f59e0b;
}

.phrase-card.learned.favorited[b-x32hip90ab] {
    border-left: 4px solid #f59e0b;
}

/* Top row: phrase text left, date + star right */
.card-top-row[b-x32hip90ab] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.2rem;
}

.phrase-text[b-x32hip90ab] {
    font-size: 1rem;
    color: #1f2937;
    flex: 1;
    min-width: 0;
}

.phrase-text strong[b-x32hip90ab] {
    color: #1a1a2e;
}

.pattern[b-x32hip90ab] {
    display: inline-block;
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin-left: 0.5rem;
    padding: 0.1rem 0.35rem;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
}

.card-top-right[b-x32hip90ab] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.phrase-date[b-x32hip90ab] {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
    padding-top: 0.15rem;
}

/* Star button */
.star-btn[b-x32hip90ab] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #d1d5db;
    padding: 0;
    line-height: 1;
    transition: color 0.15s, transform 0.15s;
}

.star-btn:hover[b-x32hip90ab] {
    color: #f59e0b;
    transform: scale(1.15);
}

.star-btn.active[b-x32hip90ab] {
    color: #f59e0b;
}

.phrase-translation[b-x32hip90ab] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

/* Bottom row: tags/details left, action button right */
.card-bottom-row[b-x32hip90ab] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.phrase-details[b-x32hip90ab] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.detail-item[b-x32hip90ab] {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.detail-item.grammar[b-x32hip90ab] {
    background: #fef3c7;
    color: #92400e;
}

.detail-item.notes[b-x32hip90ab] {
    background: #f3f4f6;
    color: #4b5563;
}

.tag[b-x32hip90ab] {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge[b-x32hip90ab] {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.level[b-x32hip90ab] {
    background: #dbeafe;
    color: #1d4ed8;
}

.phrase-action[b-x32hip90ab] {
    flex-shrink: 0;
}

.action-btn[b-x32hip90ab] {
    padding: 0.35rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.action-btn:hover:not(:disabled)[b-x32hip90ab] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.action-btn:disabled[b-x32hip90ab] {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.mark-learned[b-x32hip90ab] {
    color: #059669;
    border-color: #86efac;
}

.action-btn.mark-learned:hover:not(:disabled)[b-x32hip90ab] {
    background: #f0fdf4;
}

.action-btn.mark-learning[b-x32hip90ab] {
    color: #3b82f6;
    border-color: #93c5fd;
}

.action-btn.mark-learning:hover:not(:disabled)[b-x32hip90ab] {
    background: #eff6ff;
}

/* Responsive */
@media (max-width: 640px) {
    .filter-bar[b-x32hip90ab] {
        flex-direction: column;
        gap: 1rem;
    }

    .pattern[b-x32hip90ab] {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .card-top-row[b-x32hip90ab] {
        flex-direction: column;
        gap: 0.25rem;
    }

    .card-bottom-row[b-x32hip90ab] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .phrase-action[b-x32hip90ab] {
        align-self: flex-end;
    }
}
