html,
body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
.chat-html,
.chat-body {
height: 100%;
width: 100%;
}
.chat-body {
margin: 0;
background: #ffffff;
color: #1b1b1b;
font-family: "Fira Sans", "Space Grotesk", "Montserrat", sans-serif;
font-size: 14pt;
display: block;
overflow: auto;
}
.chat-shell {
min-height: 100%;
padding: 32px 24px;
box-sizing: border-box;
display: flex;
justify-content: center;
}
.chat-panel {
width: min(100%, max(70%, 1000pt));
display: flex;
flex-direction: column;
gap: 16px;
min-height: 0;
}
.chat-header {
display: flex;
flex-direction: column;
gap: 4px;
}
.chat-title {
margin: 0;
font-size: 20pt;
font-weight: 600;
}
.chat-subtitle {
font-size: 10pt;
text-transform: uppercase;
letter-spacing: 1px;
color: #6b6b6b;
}
.chat-container {
display: flex;
flex-direction: column;
gap: 16px;
min-height: 0;
flex: 1;
}
.chat-messages {
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
padding-right: 4px;
flex: 1;
}
.chat-message {
width: 100%;
border-radius: 14px;
padding: 12px 14px;
box-sizing: border-box;
border: 1px solid #e2e2e2;
background: #fafafa;
display: flex;
flex-direction: column;
gap: 6px;
}
.chat-message--user {
background: #eef4ff;
border-color: #d5e2ff;
}
.chat-message--assistant {
background: #f7f2ff;
border-color: #e5d7ff;
}
.chat-message--system {
background: #f8f8f8;
border-color: #dddddd;
}
.chat-message__role {
font-size: 9pt;
text-transform: uppercase;
letter-spacing: 1px;
color: #6b6b6b;
}
.chat-message__content {
white-space: pre-wrap;
line-height: 1.45;
}
.chat-message__status {
font-size: 9pt;
color: #9aa0a6;
}
.chat-message__status--pending {
color: #9aa0a6;
}
.chat-message__status--cancelled {
color: #c0392b;
}
.chat-message__status--hidden {
display: none;
}
.chat-input-area {
display: flex;
flex-direction: column;
gap: 6px;
}
.chat-input {
width: 100%;
min-height: 120px;
padding: 12px 14px;
border-radius: 12px;
border: 1px solid #d4d4d4;
font-size: 14pt;
font-family: inherit;
resize: vertical;
box-sizing: border-box;
}
.chat-input:disabled {
background: #f2f2f2;
color: #8a8a8a;
}
.chat-status-label {
font-size: 15pt;
color: #4b4b4b;
}
body {
display: flex;
align-items: center;
justify-content: center;
font-family: "Georgia", "Times New Roman", serif;
color: #f7f4ef;
background: url("/static/images/skeleton.webp") top center / cover no-repeat;
}
.login-card,
.welcome-card {
background: rgba(10, 10, 10, 0.65);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 16px;
padding: 28px 32px;
width: min(360px, 90vw);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
backdrop-filter: blur(2px);
}
.login-card h1,
.welcome-card h1 {
margin: 0 0 16px;
font-size: 28px;
letter-spacing: 0.5px;
}
.field {
display: block;
margin-bottom: 16px;
}
.label {
display: block;
margin-bottom: 6px;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
color: #e6e0d7;
}
input[type="password"] {
width: 100%;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 10px 12px;
background: rgba(255, 255, 255, 0.08);
color: #fff;
font-size: 16px;
box-sizing: border-box;
}
button {
width: 100%;
border: none;
border-radius: 8px;
padding: 12px;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.5px;
background: #f0c986;
color: #1c1200;
cursor: pointer;
}
button:hover {
background: #f3d6a4;
}
.error {
margin: 0 0 12px;
color: #ff6b6b;
font-weight: 600;
}
.mild-warning {
margin: 0 0 12px;
color: white;
font-weight: 200;
}
.index-html,
.index-body {
height: 100%;
width: 100%;
overflow: auto;
}
.index-body {
margin: 0;
display: block;
min-height: 100%;
color: #f5f5f5;
font-family: "Fira Sans", "Space Grotesk", "Montserrat", sans-serif;
background:
radial-gradient(circle at 20% 20%, rgba(66, 90, 120, 0.35), transparent 55%),
radial-gradient(circle at 80% 0%, rgba(120, 70, 130, 0.25), transparent 50%),
linear-gradient(145deg, #0b0f15 0%, #0f141c 45%, #151a22 100%);
}
.index-shell {
min-height: 100%;
padding: 28px 32px 56px;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 48px;
}
.top-panel {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 18px 28px;
background: rgba(17, 21, 29, 0.92);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 18px;
box-shadow:
0 16px 40px rgba(0, 0, 0, 0.45),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
backdrop-filter: blur(8px);
animation: index-rise 0.55s ease-out both;
}
.top-panel__left {
display: flex;
align-items: center;
gap: 28px;
flex-wrap: wrap;
}
.top-panel__brand {
font-family: "Space Grotesk", "Fira Sans", sans-serif;
font-size: 20px;
font-weight: 700;
letter-spacing: 0.6px;
color: #ffffff;
text-decoration: none;
}
.top-panel__nav {
display: flex;
gap: 14px;
flex-wrap: wrap;
}
.top-panel__link {
color: #f5f5f5;
text-decoration: none;
font-size: 14px;
letter-spacing: 0.6px;
text-transform: uppercase;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid transparent;
transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.top-panel__link:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.18);
transform: translateY(-1px);
}
.top-panel__right {
display: flex;
align-items: center;
gap: 12px;
padding: 6px 12px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.top-panel__user-label {
font-size: 12px;
letter-spacing: 0.6px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.7);
}
.top-panel__user-name {
font-size: 14px;
font-weight: 600;
letter-spacing: 0.4px;
color: #ffffff;
padding: 6px 12px;
border-radius: 999px;
background: rgba(77, 118, 255, 0.28);
border: 1px solid rgba(110, 146, 255, 0.4);
}
.index-main {
display: flex;
flex-direction: column;
gap: 40px;
max-width: 1100px;
width: 100%;
margin: 0 auto;
animation: index-fade 0.6s ease-out both;
animation-delay: 0.1s;
}
.index-hero {
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px 28px;
background: rgba(20, 24, 32, 0.75);
border-radius: 22px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}
.index-hero__eyebrow {
margin: 0;
font-size: 13px;
letter-spacing: 1.6px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.7);
}
.index-hero__title {
margin: 0;
font-size: clamp(32px, 4vw, 44px);
font-weight: 700;
letter-spacing: 0.3px;
}
.index-hero__subtitle {
margin: 0;
font-size: 16px;
max-width: 680px;
color: rgba(255, 255, 255, 0.78);
}
.index-hero__actions {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-top: 6px;
}
.index-hero__button {
text-decoration: none;
color: #0b0f15;
background: linear-gradient(135deg, #f0d27a 0%, #f8b46f 100%);
padding: 12px 22px;
border-radius: 999px;
font-weight: 600;
letter-spacing: 0.3px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.index-hero__button:hover {
transform: translateY(-2px);
box-shadow: 0 14px 24px rgba(0, 0, 0, 0.38);
}
.index-hero__ghost {
text-decoration: none;
color: #f5f5f5;
padding: 12px 20px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.06);
letter-spacing: 0.3px;
transition: border-color 0.2s ease, background 0.2s ease;
}
.index-hero__ghost:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.3);
}
.index-grid {
display: grid;
gap: 18px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.index-card {
padding: 20px 22px;
background: rgba(18, 22, 30, 0.78);
border-radius: 18px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
gap: 12px;
animation: index-fade 0.6s ease-out both;
}
.index-card__title {
margin: 0;
font-size: 18px;
font-weight: 600;
}
.index-card__text {
margin: 0;
font-size: 14px;
line-height: 1.6;
color: rgba(255, 255, 255, 0.75);
}
.index-card__link {
color: #ffffff;
text-decoration: none;
font-size: 14px;
letter-spacing: 0.3px;
padding: 8px 12px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.12);
width: fit-content;
transition: background 0.2s ease, border-color 0.2s ease;
}
.index-card__link:hover {
background: rgba(255, 255, 255, 0.14);
border-color: rgba(255, 255, 255, 0.2);
}
@keyframes index-rise {
from {
opacity: 0;
transform: translateY(-16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes index-fade {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 720px) {
.index-shell {
padding: 20px 18px 36px;
}
.top-panel {
align-items: flex-start;
flex-direction: column;
}
.top-panel__right {
width: 100%;
justify-content: space-between;
}
.index-hero {
padding: 20px;
}
}