.fast-pdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; margin: 20px 0; }
.pdf-box { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #333; }
.pdf-thumb { width: 100%; max-width: 140px; aspect-ratio: 3/4; border: 1px solid #ddd; background: #fff; display: flex; align-items: center; justify-content: center; }
.pdf-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdf-label { font-size: 13px; text-align: center; margin-top: 10px; font-weight: 500; }   .fast-image-grid {
display: grid; grid-template-columns: repeat(var(--gallery-cols, auto-fit), minmax(0, var(--gallery-min-width, 300px)));
gap: 15px;
width: 100%;
justify-content: center;
}
.image-box { width: 100%;
max-width: var(--gallery-min-width, 300px); 
display: flex;
flex-direction: column;
border: 1px solid #eee;
background: #fff;
margin: 0; }
.image-box a { 
display: block; 
line-height: 0; }
.image-box img {
width: 100%;
height: auto;
display: block;
aspect-ratio: 1/1;
object-fit: cover;
}
.image-label {
padding: 10px 8px;
text-align: center;
font-size: 14px;
background: #f9f9f9; border-top: 1px solid #eee;
color: #333; } .size-thumb  { --gallery-min-width: 150px; }
.size-medium { --gallery-min-width: 300px; }
.size-big    { --gallery-min-width: 600px; }
#fast-lightbox {
display: none;
position: fixed;
z-index: 9999;
left: 0; top: 0; width: 100%; height: 100%;
background-color: rgba(0,0,0,0.9);
align-items: center; justify-content: center;
}
.lightbox-content {
max-width: 90%; max-height: 80%;
border: 3px solid white;
}
.close, .prev, .next {
position: absolute; color: white;
font-size: 40px; font-weight: bold; cursor: pointer;
user-select: none;
}
.close { top: 20px; right: 35px; }
.prev { left: 20px; }
.next { right: 20px; }
.caption {
position: absolute; bottom: 50px;
color: #ccc; text-align: center; width: 100%;
}.vb-widget-container {
position: relative;
width: 100%;
min-height: 90px;
display: flex;
justify-content: center;
margin: 20px 0;
}
#vb-chat-icon {
cursor: pointer;
text-align: center;
position: relative;
z-index: 100;
}
#vb-chat-icon img, .vb-default-icon {
width: 70px;
height: 70px;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: transform 0.2s;
}
.vb-default-icon {
background: #0073aa;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 35px;
}
#vb-chat-icon:hover img {
transform: scale(1.05);
}
.vb-icon-label {
display: block;
margin-top: 5px;
background: #444;
color: #fff;
padding: 2px 10px;
border-radius: 12px;
font-size: 13px;
font-weight: bold;
} #vb-chat-window {
position: fixed; 
bottom: 20px;
width: 350px;
height: 500px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
display: flex;
flex-direction: column;
z-index: 99999;
overflow: hidden;
}
.vb-pos-left { left: 20px; right: auto; }
.vb-pos-right { right: 20px; left: auto; }
#vb-chat-window.vb-expanded {
width: 600px;
height: 700px;
max-width: 90vw;
max-height: 90vh;
z-index: 999999 !important;
}       .et_pb_column:has(#vb-chat-window.vb-pos-left),
.et_pb_widget_area:has(#vb-chat-window.vb-pos-left),
.et_pb_widget:has(#vb-chat-window.vb-pos-left),
aside:has(#vb-chat-window.vb-pos-left),
.et_pb_section:has(#vb-chat-window.vb-pos-left) {
z-index: 990 !important; isolation: auto !important; }
.vb-hidden { display: none !important; }
.vb-chat-header {
background: #23282d;
color: #fff;
padding: 12px 15px;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
}
.vb-controls button {
background: none;
border: none;
color: #fff;
font-size: 16px;
cursor: pointer;
margin-left: 8px;
}
#vb-chat-messages {
flex: 1;
padding: 15px;
background: #f1f1f1;
overflow-y: auto;
font-size: 14px;
line-height: 1.5;
} @media screen and (max-width: 480px) { #vb-chat-window {
width: 92vw !important; left: 4vw !important; right: 4vw !important;
height: 75vh !important; bottom: 10px !important; box-shadow: 0 0 20px rgba(0,0,0,0.4) !important;
} #vb-chat-window.vb-expanded {
width: 100vw !important;
height: 80vh !important;
max-width: 100vw !important;
max-height: 100vh !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
border-radius: 0 !important; } .vb-message {
max-width: 90% !important; }
}  .markdown-body p { 
margin: 0 0 2px 0 !important; }
.markdown-body strong { 
color: #0073aa; 
margin: 0px 0 0px 0px !important; }
.markdown-body h1, 
.markdown-body h2, 
.markdown-body h3 { 
font-size: 1.1em; 
margin: 6px 0 2px 0 !important; font-weight: bold; 
}
.markdown-body ul, 
.markdown-body ol {
margin: 0px 0 0px 0px !important; padding-left: 0 !important;
list-style-type: disc !important;
}
.markdown-body li { 
margin-bottom: 0 !important; } .markdown-body a {
color: #1d2327 !important; text-decoration: none !important; transition: color 0.2s ease; } .markdown-body a:hover {
color: #3c434a !important; text-decoration: underline !important; } .markdown-body *:last-child {
margin-bottom: 0 !important;
}
.vb-message {
margin-bottom: 15px;
padding: 10px 14px;
border-radius: 18px;
max-width: 85%;
word-wrap: break-word;
}
.vb-bot {
background: #fff;
border-bottom-left-radius: 2px;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.vb-user {
background: #0073aa;
color: #fff;
border-bottom-right-radius: 2px;
margin-left: auto;
}
.vb-chat-input {
padding: 10px;
background: #fff;
border-top: 1px solid #ddd;
display: flex; position: relative !important;
z-index: 9998 !important; 
}
#vb-user-input {
flex: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px; pointer-events: auto !important;
user-select: text !important;
-webkit-user-select: text !important;  position: relative !important;
z-index: 9999999 !important;
}
#vb-send-btn {
margin-left: 8px;
background: #0073aa;
color: white;
border: none;
border-radius: 4px;
width: 40px;
cursor: pointer;
}
.vb-loading {
padding: 5px 15px;
background: #f1f1f1;
color: #888;
font-size: 20px;
font-weight: bold;
}
.vb-dots span { animation: blink 1.4s infinite both; }
.vb-dots span:nth-child(2) { animation-delay: .2s; }
.vb-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0% { opacity: .2; } 20% { opacity: 1; } 100% { opacity: .2; } } .vb-bot.markdown-body a {
color: #555; text-decoration: underline;
transition: color 0.2s ease-in-out;
}
.vb-bot.markdown-body a:hover {
color: #222; text-decoration: none;
}