body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333333;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
main {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
header {
    border-bottom: 2px solid #333333;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
h1 {
    margin: 0;
    font-size: 1.8rem;
}
.section-block {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group-inline {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
.form-group-inline input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}
.form-group-inline label {
    margin-bottom: 0;
    cursor: pointer;
}
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
input[type="text"], input[type="number"], textarea, select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #767676;
    border-radius: 4px;
    font-size: 1rem;
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
button {
    background-color: #005a9c;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
button:hover, button:focus {
    background-color: #004471;
    outline: 2px solid #333333;
}
button.toggle-btn {
    background-color: #333333;
    margin-bottom: 15px;
}
button.toggle-btn:hover, button.toggle-btn:focus {
    background-color: #111111;
}
.hidden {
    display: none !important;
}
ol.chat-log {
    list-style: none;
    padding: 0;
    margin: 0;
}
ol.chat-log li {
    border-bottom: 1px dashed #cccccc;
    padding: 15px 0;
}
.turn-header {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #555555;
}
.turn-header-reasoning {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #8c6b00;
}
.turn-content-user {
    white-space: pre-wrap;
    margin: 0 0 15px 0;
}
.turn-content-assistant {
    white-space: pre-wrap;
    margin: 0 0 15px 0;
}
.turn-content-reasoning {
    white-space: pre-wrap;
    margin: 0 0 15px 0;
    padding: 10px;
    background-color: #fffdf0;
    border-left: 4px solid #e6b800;
    font-style: italic;
}
.status-msg {
    font-weight: bold;
    color: #005a9c;
    margin-top: 10px;
}
