/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Admin — dark studio, matches the public site                        ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

.admin-shell[b-k0n7q3xytz] {
    min-height: 100vh;
    background: #07090f;
    color: #e7eaf0;
}

.admin-header[b-k0n7q3xytz] {
    background: #0a0d14;
    border-bottom: 1px solid #1f2533;
    position: sticky;
    top: 0;
    z-index: 10;
}

[b-k0n7q3xytz] .admin-nav-link {
    color: #8a93a5;
    text-decoration: none;
    padding: .25rem .5rem;
    border-radius: .25rem;
    transition: background .15s, color .15s;
}

[b-k0n7q3xytz] .admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #e7eaf0;
}

[b-k0n7q3xytz] .admin-nav-link.active {
    background: rgba(77, 140, 255, 0.12);
    color: #4d8cff;
    font-weight: 600;
}

[b-k0n7q3xytz] .admin-brand {
    color: #e7eaf0;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
}

[b-k0n7q3xytz] .admin-brand i {
    color: #4d8cff;
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Dashboard                                                           ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] .dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

[b-k0n7q3xytz] .dash-stat {
    background: #11151f;
    border: 1px solid #1f2533;
    border-radius: .65rem;
    padding: 1rem 1.1rem;
}

[b-k0n7q3xytz] .dash-stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: #e7eaf0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

[b-k0n7q3xytz] .dash-stat-label {
    color: #8a93a5;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: .15rem;
}

[b-k0n7q3xytz] .dash-section {
    margin-bottom: 2.5rem;
}

[b-k0n7q3xytz] .dash-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

[b-k0n7q3xytz] .dash-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e7eaf0;
    margin: 0 0 .15rem;
    letter-spacing: -0.01em;
}

[b-k0n7q3xytz] .dash-section-sub {
    color: #8a93a5;
    font-size: .85rem;
    margin: 0;
}

[b-k0n7q3xytz] .dash-section-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}

[b-k0n7q3xytz] .dash-empty {
    background: #11151f;
    border: 1px dashed #1f2533;
    border-radius: .65rem;
    padding: 2rem;
    text-align: center;
    color: #8a93a5;
}

/* Dashboard search */
[b-k0n7q3xytz] .search-wrap {
    position: relative;
}
[b-k0n7q3xytz] .search-icon-light {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c7484;
    pointer-events: none;
    font-size: .9rem;
}
[b-k0n7q3xytz] .dash-search {
    padding-left: 2.1rem;
    min-width: 220px;
    border-radius: 999px;
    background: #11151f;
    border: 1px solid #1f2533;
    color: #e7eaf0;
}
[b-k0n7q3xytz] .dash-search::placeholder { color: #6c7484; }
[b-k0n7q3xytz] .dash-search:focus {
    background: #11151f;
    border-color: #4d8cff;
    color: #e7eaf0;
    box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.15);
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Project table                                                       ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] .dash-table-wrap {
    background: #11151f;
    border: 1px solid #1f2533;
    border-radius: .75rem;
    overflow: hidden;
}

[b-k0n7q3xytz] .dash-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

[b-k0n7q3xytz] .dash-table thead th {
    background: #0d111a;
    color: #8a93a5;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    padding: .65rem .9rem;
    border-bottom: 1px solid #1f2533;
}

[b-k0n7q3xytz] .dash-table tbody td {
    padding: .75rem .9rem;
    border-bottom: 1px solid #1f2533;
    vertical-align: middle;
    color: #e7eaf0;
}

[b-k0n7q3xytz] .dash-table tbody tr:last-child td { border-bottom: none; }

[b-k0n7q3xytz] .dash-table code {
    color: #00d4f5;
    background: rgba(0, 212, 245, 0.08);
    padding: .05rem .35rem;
    border-radius: .25rem;
}

[b-k0n7q3xytz] .dash-row {
    cursor: pointer;
    transition: background-color 100ms ease;
}
[b-k0n7q3xytz] .dash-row:hover {
    background: rgba(77, 140, 255, 0.04);
}

[b-k0n7q3xytz] .dash-icon-cell {
    width: 44px;
    height: 44px;
    border-radius: .5rem;
    background: #0a0d14;
    border: 1px solid #1f2533;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #6c7484;
}
[b-k0n7q3xytz] .dash-icon-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Toggle switch */
[b-k0n7q3xytz] .switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
}
[b-k0n7q3xytz] .switch input { opacity: 0; width: 0; height: 0; }
[b-k0n7q3xytz] .slider {
    position: absolute;
    inset: 0;
    background: #2a3142;
    border-radius: 22px;
    transition: background 150ms ease;
    cursor: pointer;
}
[b-k0n7q3xytz] .slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #e7eaf0;
    border-radius: 50%;
    transition: transform 150ms ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
[b-k0n7q3xytz] .switch input:checked + .slider {
    background: #4d8cff;
}
[b-k0n7q3xytz] .switch input:checked + .slider::before {
    transform: translateX(16px);
}

[b-k0n7q3xytz] .dash-inline-num {
    width: 60px;
    padding: .25rem .4rem;
    background: #0a0d14;
    border: 1px solid #1f2533;
    border-radius: .35rem;
    text-align: center;
    font-size: .9rem;
    color: #e7eaf0;
}
[b-k0n7q3xytz] .dash-inline-num::placeholder { color: #6c7484; }
[b-k0n7q3xytz] .dash-inline-num:focus {
    outline: none;
    border-color: #4d8cff;
    box-shadow: 0 0 0 3px rgba(77, 140, 229, .18);
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Highlight cards                                                     ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] .dash-hl-card {
    background: #11151f;
    border: 1px solid #1f2533;
    border-radius: .65rem;
    padding: 1rem;
    height: 100%;
}

[b-k0n7q3xytz] .dash-hl-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .45rem;
    background: linear-gradient(135deg, #4d8cff 0%, #00d4f5 100%);
    color: #07090f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

[b-k0n7q3xytz] .dash-hl-title {
    font-weight: 600;
    color: #e7eaf0;
    margin-bottom: .25rem;
}

[b-k0n7q3xytz] .dash-hl-desc {
    color: #8a93a5;
    font-size: .85rem;
    line-height: 1.45;
}

[b-k0n7q3xytz] .dash-hl-card code {
    color: #00d4f5;
    background: rgba(0, 212, 245, 0.08);
    padding: .05rem .35rem;
    border-radius: .25rem;
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Media upload + grid                                                 ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] .dash-upload {
    background: #11151f;
    border: 1px solid #1f2533;
    border-radius: .75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

[b-k0n7q3xytz] .dash-upload-label {
    border: 2px dashed #2a3142;
    border-radius: .65rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #e7eaf0;
    transition: border-color 150ms ease, background 150ms ease;
}
[b-k0n7q3xytz] .dash-upload-label:hover {
    border-color: #4d8cff;
    background: rgba(77, 140, 255, 0.05);
}

[b-k0n7q3xytz] .dash-upload-label > i {
    font-size: 2rem;
    color: #4d8cff;
}

[b-k0n7q3xytz] .dash-upload-input {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

[b-k0n7q3xytz] .dash-upload-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    font-size: .85rem;
    max-height: 160px;
    overflow-y: auto;
    color: #e7eaf0;
}
[b-k0n7q3xytz] .dash-upload-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .35rem 0;
    border-bottom: 1px solid #1f2533;
}

[b-k0n7q3xytz] .dash-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .85rem;
}

[b-k0n7q3xytz] .dash-media-tile {
    background: #11151f;
    border: 1px solid #1f2533;
    border-radius: .55rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

[b-k0n7q3xytz] .dash-media-thumb {
    aspect-ratio: 4 / 3;
    background: #0a0d14;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
[b-k0n7q3xytz] .dash-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
[b-k0n7q3xytz] .dash-media-icon {
    font-size: 2.5rem;
    color: #6c7484;
}
[b-k0n7q3xytz] .dash-media-body {
    padding: .5rem .65rem .65rem;
    color: #e7eaf0;
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Slide-over editor                                                   ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] .slide-over-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
    animation: fadeIn-b-k0n7q3xytz 150ms ease;
}

[b-k0n7q3xytz] .slide-over {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(720px, 100vw);
    background: #0d111a;
    color: #e7eaf0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    animation: slideIn-b-k0n7q3xytz 200ms ease;
    border-left: 1px solid #1f2533;
}

[b-k0n7q3xytz] .slide-over-narrow {
    width: min(520px, 100vw);
}

[b-k0n7q3xytz] .slide-over-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #1f2533;
    background: #0a0d14;
}

[b-k0n7q3xytz] .slide-over-head .btn-close {
    filter: invert(1) grayscale(1) brightness(1.5);
}

[b-k0n7q3xytz] .slide-over-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #0d111a;
}

[b-k0n7q3xytz] .slide-over-foot {
    border-top: 1px solid #1f2533;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    background: #0a0d14;
}

/* Slide-over form fields */
[b-k0n7q3xytz] .slide-over .form-control,
[b-k0n7q3xytz] .slide-over textarea.form-control {
    background: #11151f;
    border-color: #1f2533;
    color: #e7eaf0;
}
[b-k0n7q3xytz] .slide-over .form-control:focus {
    border-color: #4d8cff;
    box-shadow: 0 0 0 3px rgba(77, 140, 255, .18);
}
[b-k0n7q3xytz] .slide-over .form-control::placeholder { color: #6c7484; }

[b-k0n7q3xytz] .slide-over .form-label,
[b-k0n7q3xytz] .slide-over .form-check-label {
    color: #e7eaf0;
}

[b-k0n7q3xytz] .slide-over .form-text {
    color: #8a93a5;
}

[b-k0n7q3xytz] .slide-over .form-check-input {
    background-color: #11151f;
    border-color: #2a3142;
}
[b-k0n7q3xytz] .slide-over .form-check-input:checked {
    background-color: #4d8cff;
    border-color: #4d8cff;
}

[b-k0n7q3xytz] .slide-over code {
    color: #00d4f5;
    background: rgba(0, 212, 245, 0.08);
    padding: .05rem .35rem;
    border-radius: .25rem;
}

/* Contributor editor rows inside the slide-over */
[b-k0n7q3xytz] .contrib-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr auto;
    gap: .5rem;
    margin-bottom: .5rem;
    align-items: center;
}

[b-k0n7q3xytz] .quick-add-chip {
    background: #11151f;
    border-color: #2a3142;
    color: #cfd5e0;
    font-size: .78rem;
    padding: .2rem .6rem;
    border-radius: 999px;
}

[b-k0n7q3xytz] .quick-add-chip:hover {
    background: rgba(77, 140, 255, 0.15);
    border-color: #4d8cff;
    color: #e7eaf0;
}

[b-k0n7q3xytz] .tech-chip-editable {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

[b-k0n7q3xytz] .tech-chip-remove {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    opacity: 0.55;
    cursor: pointer;
    font-size: 0.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

[b-k0n7q3xytz] .tech-chip-remove:hover {
    opacity: 1;
}

@media (max-width: 540px) {
    [b-k0n7q3xytz] .contrib-row {
        grid-template-columns: 1fr auto;
    }
    [b-k0n7q3xytz] .contrib-row > input {
        grid-column: 1 / -1;
    }
    [b-k0n7q3xytz] .contrib-row > button {
        grid-column: 2 / 3;
        grid-row: 1;
    }
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Shared dark form fields (outside slide-overs)                       ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] main .form-control {
    background: #11151f;
    border-color: #1f2533;
    color: #e7eaf0;
}
[b-k0n7q3xytz] main .form-control::placeholder { color: #6c7484; }
[b-k0n7q3xytz] main .form-control:focus {
    background: #11151f;
    border-color: #4d8cff;
    color: #e7eaf0;
    box-shadow: 0 0 0 3px rgba(77, 140, 255, .18);
}
[b-k0n7q3xytz] main .form-label { color: #e7eaf0; }
[b-k0n7q3xytz] main code {
    color: #00d4f5;
    background: rgba(0, 212, 245, 0.08);
    padding: .05rem .35rem;
    border-radius: .25rem;
}

/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  Cover letter generator                                              ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

[b-k0n7q3xytz] .cl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 991px) {
    [b-k0n7q3xytz] .cl-grid { grid-template-columns: 1fr; }
}

[b-k0n7q3xytz] .cl-template {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9rem;
    line-height: 1.55;
    resize: vertical;
}

[b-k0n7q3xytz] .cl-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .85rem;
}

[b-k0n7q3xytz] .cl-sticky {
    position: sticky;
    top: 5rem;
}

[b-k0n7q3xytz] .cl-controls {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
[b-k0n7q3xytz] .cl-filename { flex: 1 1 160px; }
[b-k0n7q3xytz] .cl-download-btns {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

[b-k0n7q3xytz] .cl-paper {
    background: #fff;
    color: #1a1a1a;
    border-radius: .5rem;
    padding: 2.6rem 2.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 2.0;
    word-wrap: break-word;
    min-height: 300px;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
    /* Lining figures: keep digits at an even height so numbers don't jump. */
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1;
    text-rendering: optimizeLegibility;
}
[b-k0n7q3xytz] .cl-paper .cl-name {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .2px;
    margin: 0 0 .12rem;
    text-align: center;
}
[b-k0n7q3xytz] .cl-paper .cl-contact {
    font-size: .82rem;
    color: #555;
    margin: 0 0 1.4rem;
    text-align: center;
}
[b-k0n7q3xytz] .cl-paper p {
    margin: 0 0 .85rem;
}
[b-k0n7q3xytz] .cl-paper .cl-list {
    margin: 0 0 .85rem;
    padding-left: 1.5rem;
}
[b-k0n7q3xytz] .cl-paper .cl-list li {
    margin: 0 0 .5rem;
    padding-left: .2rem;
}

[b-k0n7q3xytz] .cl-field-empty .form-control {
    border-color: #d6a400;
    box-shadow: 0 0 0 2px rgba(214, 164, 0, .15);
}

[b-k0n7q3xytz] .cl-token {
    background: #fff3bf;
    color: #8a6d00;
    border-radius: .2rem;
    padding: 0 .2rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85em;
}

/* ── Cover-letter variant toggle (segmented control) ── */
[b-k0n7q3xytz] .cl-variant-toggle {
    display: inline-flex;
    gap: .25rem;
    padding: .25rem;
    background: #11151d;
    border: 1px solid #2d3344;
    border-radius: .5rem;
    margin-bottom: .6rem;
}
[b-k0n7q3xytz] .cl-variant-btn {
    border: 0;
    background: transparent;
    color: #aeb4c2;
    font-size: .85rem;
    font-weight: 600;
    padding: .35rem .8rem;
    border-radius: .4rem;
    cursor: pointer;
    transition: background .15s, color .15s;
}
[b-k0n7q3xytz] .cl-variant-btn:hover { color: #fff; }
[b-k0n7q3xytz] .cl-variant-btn.active {
    background: #2563eb;
    color: #fff;
}

/* ── Spell-check suggestions (themed to the dark admin panel) ── */
[b-k0n7q3xytz] .cl-spell-fixes {
    background: #1b1f2a;
    border: 1px solid #2d3344;
    border-left: 3px solid #d6a400;
    border-radius: .5rem;
    padding: .75rem .85rem;
    font-size: .875rem;
    color: #e6e8ee;
}

[b-k0n7q3xytz] .cl-spell-head {
    display: flex;
    align-items: center;
    margin-bottom: .6rem;
    color: #f1d27a;
}

[b-k0n7q3xytz] .cl-spell-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

[b-k0n7q3xytz] .cl-spell-src {
    background: #2d3344;
    color: #aeb4c2;
    border-radius: .25rem;
    padding: .1rem .4rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .3px;
}

[b-k0n7q3xytz] .cl-spell-change del { color: #ff8b8b; text-decoration-thickness: 1px; }
[b-k0n7q3xytz] .cl-spell-change strong { color: #7ee0a2; }

[b-k0n7q3xytz] .cl-spell-skip {
    background: transparent;
    border: 1px solid #3a4152;
    color: #c4c9d4;
}
[b-k0n7q3xytz] .cl-spell-skip:hover {
    background: #2d3344;
    color: #fff;
}

@keyframes fadeIn-b-k0n7q3xytz {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideIn-b-k0n7q3xytz {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout-specific styles for MainLayout live in wwwroot/app.css under the "Scene" section. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu styles live in wwwroot/app.css under the "Browser chrome" section. */
/* /Components/Shared/AiAssist.razor.rz.scp.css */
.ai-assist[b-ixnmfy2pm7] {
    display: block;
    margin-top: .35rem;
}

.ai-assist-btn[b-ixnmfy2pm7] {
    background: rgba(77, 140, 255, 0.12);
    border: 1px solid rgba(77, 140, 255, 0.35);
    color: #8fb6ff;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    padding: .25rem .55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.ai-assist-btn:hover[b-ixnmfy2pm7] {
    background: rgba(77, 140, 255, 0.22);
    color: #cfe0ff;
}

.ai-assist-panel[b-ixnmfy2pm7] {
    margin-top: .5rem;
    background: #0a0d14;
    border: 1px solid #2a3142;
    border-radius: .6rem;
    padding: .7rem .75rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.ai-assist-head[b-ixnmfy2pm7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.ai-assist-title[b-ixnmfy2pm7] {
    font-size: .78rem;
    font-weight: 600;
    color: #cfe0ff;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-transform: capitalize;
}
.ai-assist-title i[b-ixnmfy2pm7] { color: #4d8cff; }
.ai-assist-x[b-ixnmfy2pm7] {
    background: none;
    border: none;
    color: #8a93a5;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .2rem;
}
.ai-assist-x:hover[b-ixnmfy2pm7] { color: #e7eaf0; }

.ai-chips[b-ixnmfy2pm7] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .5rem;
}
.ai-chip[b-ixnmfy2pm7] {
    background: #11151f;
    border: 1px solid #2a3142;
    color: #cfd5e0;
    font-size: .72rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.ai-chip:hover:not(:disabled)[b-ixnmfy2pm7] {
    background: rgba(77, 140, 255, 0.15);
    border-color: #4d8cff;
    color: #fff;
}
.ai-chip:disabled[b-ixnmfy2pm7] { opacity: .5; cursor: default; }

.ai-input-row[b-ixnmfy2pm7] {
    display: flex;
    gap: .4rem;
}
.ai-input-row .form-control[b-ixnmfy2pm7] {
    background: #11151f;
    border-color: #2a3142;
    color: #e7eaf0;
    font-size: .82rem;
}
.ai-input-row .form-control:focus[b-ixnmfy2pm7] {
    background: #11151f;
    border-color: #4d8cff;
    color: #e7eaf0;
    box-shadow: 0 0 0 3px rgba(77, 140, 255, .18);
}
.ai-input-row .form-control[b-ixnmfy2pm7]::placeholder { color: #6c7484; }

.ai-error[b-ixnmfy2pm7] {
    margin-top: .5rem;
    color: #ff9b9b;
    font-size: .78rem;
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.25);
    border-radius: .4rem;
    padding: .35rem .5rem;
}

.ai-proposal[b-ixnmfy2pm7] {
    margin-top: .6rem;
    border-top: 1px dashed #2a3142;
    padding-top: .6rem;
}
.ai-proposal-label[b-ixnmfy2pm7] {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a93a5;
    margin-bottom: .35rem;
}
.ai-proposal-text[b-ixnmfy2pm7] {
    background: #11151f;
    border: 1px solid #2a3142;
    border-radius: .4rem;
    padding: .55rem .65rem;
    color: #e7eaf0;
    font-size: .85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    max-height: 240px;
    overflow-y: auto;
}
.ai-proposal-actions[b-ixnmfy2pm7] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .55rem;
}
