div#container
{
   width: 457px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #070A18;
   background-image: url('images/ChatGPT Image 23_03_2026, 16_22_52.png');
   background-attachment: fixed;
   background-position: center center;
   background-repeat: no-repeat;
   background-size: 100% 100%;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: transparent;
}
.fsw-root {
    position: fixed;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 286px;
    max-width: calc(100vw - 20px);
    height: min(440px, calc(100vh - 34px));
    max-height: calc(100vh - 34px);
    z-index: 999999;
}
.fsw-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.fsw-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(90deg, #ff9800, #f57c00);
    color: #fff;
    flex: 0 0 auto;
}
.fsw-head img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(255,255,255,.28);
}
.fsw-head-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    min-width: 0;
}
.fsw-head-text strong {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fsw-head-text small {
    font-size: 10px;
    opacity: .96;
}
.fsw-body {
    flex: 1 1 auto;
    min-height: 0;
    background: #efefef;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.fsw-view {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.fsw-view.active {
    display: flex;
    flex-direction: column;
}
.fsw-intro {
    font-size: 11px;
    color: #4b5563;
    line-height: 1.35;
    margin-bottom: 8px;
}
.fsw-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #374151;
    flex: 0 0 auto;
}
.fsw-switch {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #e5e7eb;
    color: #111827;
    font-size: 15px;
    cursor: pointer;
    flex: 0 0 auto;
}
.fsw-history {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    padding-right: 2px;
}
.fsw-empty {
    font-size: 11px;
    color: #6b7280;
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    padding: 10px;
}
.fsw-msg {
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.04);
}
.fsw-msg.fsw-admin {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.fsw-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 5px;
}
.fsw-text {
    font-size: 12px;
    line-height: 1.38;
    color: #111827;
    white-space: pre-wrap;
    word-break: break-word;
}
.fsw-form {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 10px;
    flex: 0 0 auto;
}
.fsw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.fsw-form label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 4px 0;
}
.fsw-form input,
.fsw-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #cfd3d8;
    border-radius: 9px;
    font-size: 12px;
    font-family: inherit;
    margin: 0 0 8px 0;
    background: #fff;
}
.fsw-form textarea {
    min-height: 68px;
    max-height: 110px;
    resize: vertical;
}
.fsw-send {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff9800, #f57c00);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 12px;
    cursor: pointer;
}
.fsw-status {
    display: none;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 9px;
    border-radius: 9px;
    margin-bottom: 8px;
}
.fsw-status.fsw-ok {
    display: block;
    background: #dcfce7;
    color: #166534;
}
.fsw-status.fsw-err {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}
.fsw-hp {
    display: none !important;
}
@media (max-width: 480px) {
    .fsw-root {
        width: calc(100vw - 16px);
        height: min(440px, calc(100vh - 34px));
    }
    .fsw-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
