* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #202124;
}

body {
    padding: 32px 16px;
}

.chatfes-app {
    width: min(760px, 100%);
    margin: 0 auto;
}

header {
    margin-bottom: 6px;
}
header {
    display: flex;
    align-items: center;
}

header img {
    position:relative;
    top:-15px;
    width: 160px;
    margin-right: 20px;
}

.header-content {
    flex: 1;
    text-align: right;

}
header h1 {
    margin: 0 0 6px;
    font-size: 44px;
}

header p {
    margin: 0;
    color: #5f6368;
    font-size: 22px;
}

.panel {
    background: #fff;
    border: 1px solid #d9dce1;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

label {
    display: block;
    margin: 0 0 7px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    margin: 0 0 18px;
    padding: 11px 12px;
    border: 1px solid #c7cbd1;
    border-radius: 6px;
    background: #fff;
    color: #202124;
    font: inherit;
}

textarea {
    resize: vertical;
    font-family: Consolas, "Courier New", monospace;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #5f6368;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 2px 0 22px;
}

button {
    min-width: 100px;
    padding: 10px 18px;
    border: 1px solid #303134;
    border-radius: 6px;
    background: #303134;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

.status {
    min-height: 22px;
    margin-top: 4px;
    color: #5f6368;
    font-size: 14px;
}
.jfes-settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f8f8f8;
    max-width: 320px;
}

.jfes-settings-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 4px;
}

.jfes-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jfes-setting label {
    font-weight: 500;
}

.jfes-setting select {
    min-width: 150px;
    padding: 6px 8px;
    font-size: 1em;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: white;
}
.jfes-panels {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.jfes-settings,
.jfes-docs {
    padding: 16px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f8f8f8;
    box-sizing: border-box;
}

.jfes-settings {
    width: 320px;
}

.jfes-docs {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 20px;
}

.jfes-settings-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
}

.jfes-docs a {
    display: block;
    padding: 8px 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: white;
    color: inherit;
    text-decoration: none;
}

.jfes-docs a:hover {
    text-decoration: underline;
}
.actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(1);
}

.silo-status {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9em;
    opacity: 0.7;
}