/* _content/Clai.WebApp/Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout – same as clai-webapp Layout.module.css */
.layout[b-ybo1bdkr0o] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header[b-ybo1bdkr0o] {
    background-color: #f2f2f2;
}

.header-container[b-ybo1bdkr0o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left[b-ybo1bdkr0o] {
    display: flex;
    align-items: center;
}

.header-title-container[b-ybo1bdkr0o] {
    display: flex;
    align-items: center;
    margin-left: 14px;
    text-decoration: none;
    color: inherit;
}

.header-title[b-ybo1bdkr0o] {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    display: flex;
    align-items: flex-end;
    color: #242424;
    margin: 0;
}

.header-icon[b-ybo1bdkr0o] {
    height: 32px;
    width: auto;
    margin-left: 36px;
}

.share-button-container[b-ybo1bdkr0o] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-right: 20px;
    gap: 4px;
}

.share-button[b-ybo1bdkr0o] {
    color: #ffffff;
    background: radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%);
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}

.share-button:hover[b-ybo1bdkr0o] {
    opacity: 0.95;
}

.send-to-norby-link[b-ybo1bdkr0o] {
    display: inline-flex;
    align-items: center;
}

.main-content[b-ybo1bdkr0o] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .header-title-container[b-ybo1bdkr0o] {
        margin-left: 4px;
    }

    .header-icon[b-ybo1bdkr0o] {
        margin-left: 26px;
    }

    .share-button-text[b-ybo1bdkr0o] {
        display: none;
    }
}
/* _content/Clai.WebApp/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-bj83iagbj1] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-bj83iagbj1] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-bj83iagbj1] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-bj83iagbj1] {
    font-size: 1.1rem;
}

.bi[b-bj83iagbj1] {
    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-bj83iagbj1] {
    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-bj83iagbj1] {
    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-bj83iagbj1] {
    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-bj83iagbj1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-bj83iagbj1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-bj83iagbj1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-bj83iagbj1]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-bj83iagbj1]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-bj83iagbj1]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-bj83iagbj1] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-bj83iagbj1] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-bj83iagbj1] {
        display: none;
    }

    .nav-scrollable[b-bj83iagbj1] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Clai.WebApp/Components/Pages/Chat.razor.rz.scp.css */
/* Chat – same as clai-webapp Chat.module.css + QuestionInput + Answer */
.container[b-g879zqyutp] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-root[b-g879zqyutp] {
    height: 100vh;
    flex: 1;
    display: flex;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    gap: 5px;
}

.chat-container[b-g879zqyutp] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    align-items: center;
    background: radial-gradient(108.78% 108.78% at 50.02% 19.78%, #ffffff 57.29%, #eef6fe 100%);
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.chat-top-bar[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    width: 100%;
    align-self: stretch;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: #f2f2f2;
    border-bottom: 1px solid #e0e0e0;
}

.chat-top-bar-spacer[b-g879zqyutp] {
    flex: 1;
}

.chat-top-bar-buttons[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.chat-top-bar-button[b-g879zqyutp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #323130;
    background: #f3f2f1;
    border: 1px solid #8a8886;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: none;
}

.chat-top-bar-button:hover[b-g879zqyutp] {
    background: #edebe9;
}

.chat-top-bar-icon[b-g879zqyutp] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.chat-top-bar-send-norby[b-g879zqyutp] {
    color: #ffffff;
    background: radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%);
    border: none;
}

.chat-top-bar-send-norby:hover[b-g879zqyutp] {
    opacity: 0.95;
}

.chat-empty-state[b-g879zqyutp] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chat-empty-state-title[b-g879zqyutp] {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    line-height: 24px;
    margin-top: 36px;
    margin-bottom: 0;
}

.chat-empty-state-subtitle[b-g879zqyutp] {
    margin-top: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    align-items: flex-end;
    text-align: center;
    letter-spacing: -0.01em;
    color: #616161;
}

.chat-icon[b-g879zqyutp] {
    height: 62px;
    width: auto;
}

.chat-message-stream[b-g879zqyutp] {
    flex: 1 1 auto;
    min-height: 0;
    flex-grow: 1;
    max-width: 1028px;
    width: 100%;
    overflow-y: auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    height: 100%;
}

.chat-message-user[b-g879zqyutp] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.chat-message-user-message[b-g879zqyutp] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #edf5fd;
    border-radius: 8px;
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #242424;
    order: 0;
    flex-grow: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 80%;
}

.chat-message-user-text[b-g879zqyutp] {
    display: block;
}

.chat-message-file-box[b-g879zqyutp] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #b8d4ee;
    border-radius: 999px;
    font-size: 14px;
    color: #0066b3;
    max-width: 100%;
}

.chat-message-file-icon[b-g879zqyutp] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #5a8fb4;
}

.chat-message-file-name[b-g879zqyutp] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-message-gpt[b-g879zqyutp] {
    margin-bottom: 12px;
    max-width: 80%;
    display: flex;
}

/* Answer container – same as clai-webapp Answer.module.css */
.answer-container[b-g879zqyutp] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 5px;
    background: #ffffff;
    box-shadow:
        0px 1px 2px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
}

.answer-text[b-g879zqyutp] {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #323130;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 11px;
    white-space: normal;
    word-wrap: break-word;
    max-width: 800px;
    overflow-x: auto;
}

.chat-message-error[b-g879zqyutp] {
    padding: 20px;
    border-radius: 8px;
    box-shadow:
        rgba(182, 52, 67, 1) 1px 1px 2px,
        rgba(182, 52, 67, 1) 0px 0px 1px;
    color: #242424;
    flex: none;
    order: 0;
    flex-grow: 0;
    max-width: 800px;
    margin-bottom: 12px;
}

.chat-message-error-content[b-g879zqyutp] {
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.chat-personal-rag-warning[b-g879zqyutp] {
    margin: 8px 24px 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(200, 160, 0, 0.12);
    border: 1px solid rgba(180, 140, 0, 0.4);
}

.chat-personal-rag-warning-content[b-g879zqyutp] {
    font-family: 'Segoe UI';
    font-size: 13px;
    line-height: 20px;
    color: rgba(80, 60, 0, 0.95);
}

/* Chat input – layout like reference: left icon buttons + input with right icons + gradient line */
.chat-input-wrapper[b-g879zqyutp] {
    position: sticky;
    flex: 0 0 auto;
    padding-top: 12px;
    padding-bottom: 24px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    max-width: 1028px;
    margin-bottom: 50px;
    margin-top: 8px;
}

.question-input-row[b-g879zqyutp] {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.question-input-left-buttons[b-g879zqyutp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-input-left-btn[b-g879zqyutp] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f2f1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    color: #323130;
}

.question-input-left-btn:hover[b-g879zqyutp] {
    background: #edebe9;
}

.question-input-left-btn:focus-visible[b-g879zqyutp] {
    outline: 2px solid #0f6cbd;
    outline-offset: 2px;
}

.question-input-icon[b-g879zqyutp] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.question-input-container[b-g879zqyutp] {
    flex: 1;
    min-width: 0;
    min-height: 72px;
    height: 120px;
    position: relative;
    background: #ffffff;
    box-shadow:
        0px 8px 16px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* rows="1" + ingen field-sizing: undgår ekstra lodret luft mellem ombrydningslinjer i textarea */
/* !important: sikrer line-height/padding mod senere styles (fx efter Bootstrap/bundle) */
.question-input-text-area[b-g879zqyutp] {
    flex: 1;
    width: 100%;
    min-height: 44px;
    max-height: 104px;
    line-height: 20px !important;
    margin: 0;
    padding: 8px 56px 8px 16px !important;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    background: transparent;
    resize: none;
    overflow-y: auto;
    overflow-x: hidden;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
    align-self: stretch;
}

.question-input-text-area[b-g879zqyutp]::placeholder {
    color: #9d9d9d;
}

.question-input-text-area:disabled[b-g879zqyutp] {
    opacity: 0.7;
}

.question-input-right-icons[b-g879zqyutp] {
    position: absolute;
    right: 12px;
    bottom: 14px;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.question-input-icon-btn[b-g879zqyutp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 6px;
    color: #605e5c;
    background: none;
    border: none;
}

.question-input-icon-btn:hover[b-g879zqyutp] {
    background: #f3f2f1;
    color: #323130;
}

.question-input-send-button-container[b-g879zqyutp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
}

.question-input-send-button-container:hover:not(:has(.question-input-send-button-disabled))[b-g879zqyutp] {
    background: #f3f2f1;
}

.question-input-send-button[b-g879zqyutp],
.question-input-send-button-disabled[b-g879zqyutp] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f6cbd;
}

.question-input-send-button-disabled[b-g879zqyutp] {
    color: #424242;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hide native file input completely – only the paperclip icon is used (no "Vælg fil" / "Der er ikke valgt nogen fil") */
.question-input-file-hidden[b-g879zqyutp] {
    position: fixed;
    left: -100vw;
    top: -100vh;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip-path: inset(50%);
    z-index: -1;
}

.document-pending-list[b-g879zqyutp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
}

.document-pending[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #edf5fd;
    border-radius: 8px;
    font-size: 13px;
    color: #323130;
}

.document-pending-label[b-g879zqyutp] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-pending-remove[b-g879zqyutp] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #605e5c;
    padding: 0 4px;
    line-height: 1;
}

.document-pending-remove:hover[b-g879zqyutp] {
    color: #a4262c;
}

.document-pending-clear-all[b-g879zqyutp] {
    align-self: flex-start;
    font-size: 12px;
    color: #605e5c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}

.document-pending-clear-all:hover[b-g879zqyutp] {
    color: #a4262c;
    text-decoration: underline;
}

.question-input-bottom-border[b-g879zqyutp] {
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, #8dddd8 0%, #0f6cbd 100%);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Contextual Leader link – same idea as React Answer "Read more in The Contextual Leader..." */
.contextual-leader-link[b-g879zqyutp] {
    margin-top: 8px;
    font-size: 14px;
    color: #115ea3;
    cursor: pointer;
    text-decoration: underline;
}

.contextual-leader-link:hover[b-g879zqyutp] {
    text-decoration: underline;
}

.message-feedback[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.message-feedback-btn[b-g879zqyutp] {
    font-size: 12px;
    color: #605e5c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.message-feedback-btn:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

.message-feedback-btn.report[b-g879zqyutp] {
    font-size: 11px;
    color: #a4262c;
}

.chat-history-modal-select[b-g879zqyutp] {
    width: 100%;
    margin-bottom: 16px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #8a8886;
    border-radius: 4px;
}

/* Contextual Leader panel – sidebar like React citation panel */
.contextual-leader-panel[b-g879zqyutp] {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    height: calc(100vh - 100px);
    background: #ffffff;
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.contextual-leader-panel-header[b-g879zqyutp] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid #edebe9;
}

.contextual-leader-panel-title[b-g879zqyutp] {
    font-weight: 600;
    font-size: 14px;
    color: #323130;
}

.contextual-leader-panel-close[b-g879zqyutp] {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    color: #323130;
    border-radius: 4px;
}

.contextual-leader-panel-close:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

.contextual-leader-iframe-container[b-g879zqyutp] {
    flex: 1;
    min-height: 0;
    padding: 8px;
}

.contextual-leader-iframe[b-g879zqyutp] {
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 400px;
    border: none;
    border-radius: 8px;
}

/* Chat history toolbar and panel – same idea as React ChatHistoryPanel */
.chat-history-toolbar[b-g879zqyutp] {
    display: flex;
    align-items: center;
    padding: 8px 24px;
    gap: 8px;
}

.chat-history-toolbar-button[b-g879zqyutp] {
    font-size: 14px;
    font-weight: 600;
    color: #0f6cbd;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
}

.chat-history-toolbar-button:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

/* Left sidebar wrapper – expanded or collapsed (ChatGPT-style) */
.chat-sidebar-wrapper[b-g879zqyutp] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 320px;
    width: 100%;
    height: calc(100vh - 100px);
    background: #ffffff;
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    transition: min-width 0.2s ease, max-width 0.2s ease;
}

.chat-sidebar-wrapper.collapsed[b-g879zqyutp] {
    min-width: 48px;
    max-width: 48px;
    align-items: center;
    justify-content: flex-start;
}

.chat-sidebar-expand[b-g879zqyutp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    margin-top: 8px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #605e5c;
    cursor: pointer;
}

.chat-sidebar-expand:hover[b-g879zqyutp] {
    background: #f3f2f1;
    color: #323130;
}

.chat-sidebar-expand-icon[b-g879zqyutp] {
    width: 20px;
    height: 20px;
}

.chat-sidebar-collapse[b-g879zqyutp] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    border-radius: 6px;
    color: #605e5c;
}

.chat-sidebar-collapse:hover[b-g879zqyutp] {
    background: #f3f2f1;
    color: #323130;
}

.chat-sidebar-collapse-icon[b-g879zqyutp] {
    width: 20px;
    height: 20px;
}

.chat-history-panel[b-g879zqyutp] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.chat-history-panel-new-chat[b-g879zqyutp] {
    padding: 12px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid #edebe9;
}

.chat-history-new-chat-button[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid #8a8886;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #323130;
    cursor: pointer;
    transition: background 0.15s ease;
}

.chat-history-new-chat-button:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

.chat-history-new-chat-icon[b-g879zqyutp] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.chat-history-panel-header[b-g879zqyutp] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid #edebe9;
}

.chat-history-panel-title[b-g879zqyutp] {
    font-weight: 600;
    font-size: 18px;
    color: #323130;
}

.chat-history-panel-actions[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-history-panel-action[b-g879zqyutp] {
    font-size: 12px;
    color: #605e5c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.chat-history-panel-action:hover[b-g879zqyutp] {
    background: #f3f2f1;
    border-radius: 4px;
    color: #323130;
}

.chat-history-panel-close[b-g879zqyutp] {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    color: #323130;
    border-radius: 4px;
}

.chat-history-panel-close:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

.chat-history-panel-content[b-g879zqyutp] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px;
}

.chat-history-panel-footer[b-g879zqyutp] {
    flex-shrink: 0;
    padding: 12px 16px;
    border-top: 1px solid #edebe9;
}

.chat-history-loading[b-g879zqyutp],
.chat-history-error[b-g879zqyutp],
.chat-history-empty[b-g879zqyutp] {
    font-size: 14px;
    color: #605e5c;
    padding: 16px;
    margin: 0;
}

.chat-history-error[b-g879zqyutp] {
    color: #a4262c;
}

.chat-history-list[b-g879zqyutp] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat-history-item[b-g879zqyutp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #323130;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.chat-history-item:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

.chat-history-item.selected[b-g879zqyutp] {
    background: #e6e6e6;
}

.chat-history-item-title[b-g879zqyutp] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-history-item-delete[b-g879zqyutp] {
    flex-shrink: 0;
    font-size: 12px;
    color: #a4262c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.chat-history-item-actions[b-g879zqyutp] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.chat-history-item-rename[b-g879zqyutp] {
    font-size: 12px;
    color: #0f6cbd;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.chat-history-item-rename:hover[b-g879zqyutp] {
    background: #f3f2f1;
}

.chat-history-item-edit[b-g879zqyutp] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    padding: 6px 8px;
    border: 1px solid #0f6cbd;
    border-radius: 4px;
    outline: none;
}

.chat-history-item.editing[b-g879zqyutp] {
    padding: 4px 8px;
}

.chat-history-item-delete:hover[b-g879zqyutp] {
    background: #fde7e9;
}

.chat-history-modal-overlay[b-g879zqyutp] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.chat-history-modal[b-g879zqyutp] {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
}

.chat-history-modal h2[b-g879zqyutp] {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.chat-history-modal p[b-g879zqyutp] {
    margin: 0 0 20px;
    font-size: 14px;
    color: #605e5c;
}

.chat-history-modal-actions[b-g879zqyutp] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.chat-history-modal-button[b-g879zqyutp] {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #8a8886;
    background: #fff;
    color: #323130;
}

.chat-history-modal-button.primary[b-g879zqyutp] {
    background: #0f6cbd;
    border-color: #0f6cbd;
    color: #fff;
}

.chat-history-modal-button:hover[b-g879zqyutp] {
    opacity: 0.9;
}

.citation-ref[b-g879zqyutp] {
    font-size: inherit;
    color: #0f6cbd;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 2px;
    text-decoration: underline;
    vertical-align: baseline;
}

.citation-ref:hover[b-g879zqyutp] {
    color: #115ea3;
}

.sources-link[b-g879zqyutp] {
    font-size: 12px;
    color: #0f6cbd;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
    text-decoration: underline;
}

.sources-link:hover[b-g879zqyutp] {
    text-decoration: underline;
}

.citations-panel[b-g879zqyutp] {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 420px;
    width: 100%;
    height: calc(100vh - 100px);
    background: #ffffff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.14), 0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.citations-panel-content[b-g879zqyutp] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 16px;
    font-size: 14px;
}

.citation-title[b-g879zqyutp] {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.citation-content[b-g879zqyutp] {
    margin-bottom: 12px;
    line-height: 1.5;
}

.citation-view-source[b-g879zqyutp] {
    font-size: 13px;
    color: #0f6cbd;
}

.citation-item[b-g879zqyutp] {
    margin-bottom: 8px;
}

.citation-item-btn[b-g879zqyutp] {
    font-size: 14px;
    color: #0f6cbd;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    text-align: left;
    text-decoration: underline;
}

.exec-code[b-g879zqyutp] {
    background: #f3f2f1;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 13px;
    white-space: pre-wrap;
}

/* Backdrop: hidden on desktop, shown on mobile when history panel is open */
.chat-history-backdrop[b-g879zqyutp] {
    display: none;
}

@media (max-width: 768px) {
    .chat-history-backdrop[b-g879zqyutp] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1050;
    }

    .chat-sidebar-wrapper[b-g879zqyutp] {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        min-width: 0;
        width: min(85%, 320px);
        max-width: 320px;
        z-index: 1100;
    }

    .chat-sidebar-wrapper.collapsed[b-g879zqyutp] {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        min-width: 48px;
        max-width: 48px;
        width: 48px;
        height: auto;
        z-index: 100;
    }

    .chat-container[b-g879zqyutp] {
        width: 100%;
        min-width: 0;
    }

    .chat-root[b-g879zqyutp] {
        margin-left: 12px;
        margin-right: 12px;
    }
}

@media (max-width: 480px) {
    .chat-input-wrapper[b-g879zqyutp] {
        width: 90%;
        max-width: 90%;
    }

    .chat-empty-state-title[b-g879zqyutp] {
        line-height: 36px;
    }

    .contextual-leader-panel[b-g879zqyutp] {
        max-width: 100%;
    }
}
/* _content/Clai.WebApp/Components/Pages/ClaiSettings.razor.rz.scp.css */
/* Align with Chat.razor layout and styling */
.container[b-krdgrsflm0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-root[b-krdgrsflm0] {
    flex: 1;
    display: flex;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    gap: 5px;
}

.settings-container[b-krdgrsflm0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
    background: radial-gradient(108.78% 108.78% at 50.02% 19.78%, #ffffff 57.29%, #eef6fe 100%);
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    padding: 24px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.settings-header[b-krdgrsflm0] {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.settings-title[b-krdgrsflm0] {
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #323130;
    margin: 0 0 8px;
}

.settings-description[b-krdgrsflm0] {
    font-size: 14px;
    line-height: 1.5;
    color: #616161;
    margin: 0;
}

.settings-form[b-krdgrsflm0] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-field[b-krdgrsflm0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.settings-label-row[b-krdgrsflm0] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.settings-label-row label[b-krdgrsflm0] {
    font-weight: 600;
    font-size: 14px;
    color: #323130;
    margin: 0;
}

.settings-help-btn[b-krdgrsflm0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: #f3f2f1;
    border: 1px solid #8a8886;
    border-radius: 50%;
    cursor: pointer;
    color: #0f6cbd;
}

.settings-help-btn:hover[b-krdgrsflm0] {
    background: #edebe9;
    color: #115ea3;
}

.settings-help-icon[b-krdgrsflm0] {
    width: 14px;
    height: 14px;
}

.settings-input[b-krdgrsflm0] {
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #323130;
    background: #ffffff;
    border: 1px solid #8a8886;
    border-radius: 4px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08);
}

.settings-input:focus[b-krdgrsflm0] {
    outline: none;
    border-color: #0f6cbd;
    box-shadow: 0 0 0 2px rgba(15, 108, 189, 0.2);
}

.settings-input.settings-textarea[b-krdgrsflm0] {
    min-height: 80px;
    resize: vertical;
}

.settings-input[type="number"][b-krdgrsflm0] {
    max-width: 140px;
}

/* Popover */
.settings-popover[b-krdgrsflm0] {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    z-index: 100;
    min-width: 260px;
    max-width: 360px;
    padding: 12px 32px 12px 12px;
    background: #ffffff;
    box-shadow:
        0px 4px 12px rgba(0, 0, 0, 0.15),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    border: 1px solid #edebe9;
}

.settings-popover-text[b-krdgrsflm0] {
    font-size: 13px;
    line-height: 1.5;
    color: #323130;
    margin: 0;
}

.settings-popover-close[b-krdgrsflm0] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #605e5c;
    border-radius: 4px;
}

.settings-popover-close:hover[b-krdgrsflm0] {
    background: #f3f2f1;
    color: #323130;
}

.settings-popover-overlay[b-krdgrsflm0] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 99;
}

.settings-actions[b-krdgrsflm0] {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #edebe9;
}

.settings-submit[b-krdgrsflm0] {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%);
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.14);
}

.settings-submit:hover:not(:disabled)[b-krdgrsflm0] {
    opacity: 0.95;
}

.settings-submit:disabled[b-krdgrsflm0] {
    opacity: 0.7;
    cursor: not-allowed;
}

.settings-message[b-krdgrsflm0] {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.settings-error[b-krdgrsflm0] {
    background: rgba(182, 52, 67, 0.1);
    color: #a4262c;
    box-shadow: 0px 1px 2px rgba(182, 52, 67, 0.2);
}

.settings-success[b-krdgrsflm0] {
    background: #eef6fe;
    color: #0f6cbd;
}

.settings-history[b-krdgrsflm0] {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edebe9;
}

.settings-history-title[b-krdgrsflm0] {
    font-size: 18px;
    font-weight: 600;
    color: #323130;
    margin: 0 0 8px;
}

.settings-history-intro[b-krdgrsflm0],
.settings-history-empty[b-krdgrsflm0] {
    font-size: 14px;
    color: #616161;
    margin: 0 0 12px;
}

.settings-history-list[b-krdgrsflm0] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-history-item[b-krdgrsflm0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edebe9;
    font-size: 14px;
    color: #323130;
}

.settings-history-item:last-child[b-krdgrsflm0] {
    border-bottom: none;
}

.settings-history-item-label[b-krdgrsflm0] {
    flex: 1;
    min-width: 0;
}

.settings-history-item-actions[b-krdgrsflm0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.settings-history-rename-row[b-krdgrsflm0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.settings-history-rename-input[b-krdgrsflm0] {
    flex: 1;
    min-width: 120px;
    padding: 6px 10px;
    font-size: 14px;
    font-family: inherit;
    color: #323130;
    background: #fff;
    border: 1px solid #8a8886;
    border-radius: 4px;
}

.settings-history-rename-input:focus[b-krdgrsflm0] {
    outline: none;
    border-color: #0f6cbd;
}

.settings-history-rename-btn[b-krdgrsflm0],
.settings-history-cancel-btn[b-krdgrsflm0] {
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.settings-history-rename-btn[b-krdgrsflm0] {
    font-weight: 600;
    color: #fff;
    background: #0f6cbd;
    border: 1px solid #0f6cbd;
}

.settings-history-rename-btn:hover:not(:disabled)[b-krdgrsflm0] {
    background: #115ea3;
    border-color: #115ea3;
}

.settings-history-cancel-btn[b-krdgrsflm0] {
    color: #323130;
    background: #f3f2f1;
    border: 1px solid #8a8886;
}

.settings-history-cancel-btn:hover:not(:disabled)[b-krdgrsflm0] {
    background: #edebe9;
}

.settings-history-rename-btn:disabled[b-krdgrsflm0],
.settings-history-cancel-btn:disabled[b-krdgrsflm0] {
    opacity: 0.7;
    cursor: not-allowed;
}

.settings-history-rename[b-krdgrsflm0] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #616161;
    background: #f3f2f1;
    border: 1px solid #8a8886;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
}

.settings-history-rename:hover:not(:disabled)[b-krdgrsflm0] {
    background: #edebe9;
    color: #323130;
}

.settings-history-rename:disabled[b-krdgrsflm0] {
    opacity: 0.7;
    cursor: not-allowed;
}

.settings-restore[b-krdgrsflm0] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f6cbd;
    background: #f3f2f1;
    border: 1px solid #8a8886;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
}

.settings-restore:hover:not(:disabled)[b-krdgrsflm0] {
    background: #edebe9;
}

.settings-restore:disabled[b-krdgrsflm0] {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .settings-root[b-krdgrsflm0] {
        margin-left: 10px;
        margin-right: 10px;
    }

    .settings-container[b-krdgrsflm0] {
        padding: 16px;
    }

    .settings-popover[b-krdgrsflm0] {
        max-width: calc(100vw - 32px);
    }
}
/* _content/Clai.WebApp/Components/Pages/PersonalLayerAdmin.razor.rz.scp.css */
/* Same layout and styling as ClaiSettings */
.container[b-gm8jra3n6n] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-root[b-gm8jra3n6n] {
    flex: 1;
    display: flex;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    gap: 5px;
}

.settings-container[b-gm8jra3n6n] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
    background: radial-gradient(108.78% 108.78% at 50.02% 19.78%, #ffffff 57.29%, #eef6fe 100%);
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.14),
        0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    padding: 24px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.settings-header[b-gm8jra3n6n] {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.settings-title[b-gm8jra3n6n] {
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #323130;
    margin: 0 0 8px;
}

.settings-description[b-gm8jra3n6n] {
    font-size: 14px;
    line-height: 1.5;
    color: #616161;
    margin: 0;
}

.settings-form[b-gm8jra3n6n] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-field[b-gm8jra3n6n] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.settings-label-row[b-gm8jra3n6n] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.settings-label-row label[b-gm8jra3n6n],
.settings-field > label[b-gm8jra3n6n] {
    font-weight: 600;
    font-size: 14px;
    color: #323130;
    margin: 0;
}

.settings-input[b-gm8jra3n6n] {
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #323130;
    background: #ffffff;
    border: 1px solid #8a8886;
    border-radius: 4px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08);
}

.settings-input:focus[b-gm8jra3n6n] {
    outline: none;
    border-color: #0f6cbd;
    box-shadow: 0 0 0 2px rgba(15, 108, 189, 0.2);
}

.settings-input.settings-textarea[b-gm8jra3n6n] {
    min-height: 80px;
    resize: vertical;
}

.settings-checkbox[b-gm8jra3n6n] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.settings-actions[b-gm8jra3n6n] {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #edebe9;
}

.settings-submit[b-gm8jra3n6n] {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%);
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.14);
}

.settings-submit:hover:not(:disabled)[b-gm8jra3n6n] {
    opacity: 0.95;
}

.settings-submit:disabled[b-gm8jra3n6n] {
    opacity: 0.7;
    cursor: not-allowed;
}

.settings-message[b-gm8jra3n6n] {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.settings-error[b-gm8jra3n6n] {
    background: rgba(182, 52, 67, 0.1);
    color: #a4262c;
    box-shadow: 0px 1px 2px rgba(182, 52, 67, 0.2);
}

.settings-success[b-gm8jra3n6n] {
    background: #eef6fe;
    color: #0f6cbd;
}

.settings-history[b-gm8jra3n6n] {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edebe9;
}

.settings-history-title[b-gm8jra3n6n] {
    font-size: 18px;
    font-weight: 600;
    color: #323130;
    margin: 0 0 8px;
}

.settings-history-intro[b-gm8jra3n6n],
.settings-history-empty[b-gm8jra3n6n] {
    font-size: 14px;
    color: #616161;
    margin: 0 0 12px;
}

.settings-history-list[b-gm8jra3n6n] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-history-item[b-gm8jra3n6n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edebe9;
    font-size: 14px;
    color: #323130;
}

.settings-history-item:last-child[b-gm8jra3n6n] {
    border-bottom: none;
}

.settings-history-item-label[b-gm8jra3n6n] {
    flex: 1;
    min-width: 0;
}

.settings-history-item-actions[b-gm8jra3n6n] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.settings-history-rename[b-gm8jra3n6n] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #616161;
    background: #f3f2f1;
    border: 1px solid #8a8886;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
}

.settings-history-rename:hover:not(:disabled)[b-gm8jra3n6n] {
    background: #edebe9;
    color: #323130;
}

.settings-history-rename:disabled[b-gm8jra3n6n] {
    opacity: 0.7;
    cursor: not-allowed;
}

.settings-restore[b-gm8jra3n6n] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f6cbd;
    background: #f3f2f1;
    border: 1px solid #8a8886;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
}

.settings-restore:hover:not(:disabled)[b-gm8jra3n6n] {
    background: #edebe9;
}

.settings-restore:disabled[b-gm8jra3n6n] {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .settings-root[b-gm8jra3n6n] {
        margin-left: 10px;
        margin-right: 10px;
    }

    .settings-container[b-gm8jra3n6n] {
        padding: 16px;
    }
}
