/* The pyesys.com assistant (Dec 2 2026), in the site's water palette. */
.pc-launch { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; font: 600 15px 'DM Sans', system-ui, sans-serif; color: #0A2433; background: #3FB8C9; border: 0; border-radius: 999px; padding: 13px 20px 13px 16px; cursor: pointer; box-shadow: 0 10px 30px rgba(10, 36, 51, .35); }
.pc-launch:hover { background: #5CC6D4; }
.pc-launch:focus-visible, .pc-panel button:focus-visible, .pc-input:focus-visible { outline: 3px solid #A9DDE6; outline-offset: 2px; }
.pc-launch-dot { width: 10px; height: 10px; border-radius: 50%; background: #0A2433; box-shadow: 0 0 0 3px rgba(10, 36, 51, .18); }
.pc-hidden { display: none; }

.pc-panel { position: fixed; right: 22px; bottom: 22px; z-index: 51; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100vh - 44px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 36, 51, .4); font-family: 'DM Sans', system-ui, sans-serif; color: #0F2A36; }
.pc-panel[hidden] { display: none; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; background: #0A2433; color: #fff; }
.pc-head b { display: block; font-size: 16px; }
.pc-head small { display: block; font-size: 12.5px; color: #A9DDE6; }
.pc-close { width: 34px; height: 34px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pc-close:hover { background: rgba(255, 255, 255, .22); }
.pc-head-btns { display: flex; gap: 6px; }
.pc-size { font-size: 18px; }
.pc-panel.pc-wide { width: min(780px, calc(100vw - 44px)); height: calc(100vh - 44px); }

.pc-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: #F4FAFB; }
.pc-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.pc-msg p { margin: 0 0 8px; }
.pc-msg p:last-child, .pc-msg ul:last-child { margin-bottom: 0; }
.pc-msg ul { margin: 0 0 8px; padding-left: 18px; }
.pc-msg a { color: #1A6B8A; font-weight: 600; }
.pc-assistant { align-self: flex-start; background: #fff; border: 1px solid #D6ECF0; border-bottom-left-radius: 4px; }
.pc-user { align-self: flex-end; background: #1A6B8A; color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.pc-typing { display: inline-flex; gap: 4px; padding: 14px; }
.pc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #1E93A6; animation: pc-bounce 1s infinite ease-in-out; }
.pc-typing i:nth-child(2) { animation-delay: .15s; }
.pc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pc-bounce { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .pc-typing i { animation: none; opacity: .7; } }
.pc-starters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pc-starter { font: 500 14px 'DM Sans', system-ui, sans-serif; color: #1A6B8A; background: #fff; border: 1px solid #A9DDE6; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.pc-starter:hover { background: #EAF6F8; }
.pc-error { margin: 0; font-size: 14px; color: #9B2C2C; }

.pc-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid #D6ECF0; background: #fff; }
.pc-input { flex: 1; resize: none; font: 15px/1.45 'DM Sans', system-ui, sans-serif; color: #0F2A36; border: 1px solid #D6ECF0; border-radius: 10px; padding: 10px 12px; max-height: 120px; }
.pc-send { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 10px; background: #3FB8C9; color: #0A2433; font-size: 20px; font-weight: 700; cursor: pointer; }
.pc-send:disabled { opacity: .5; cursor: default; }
.pc-note { margin: 0; padding: 0 14px 12px; font-size: 11.5px; line-height: 1.45; color: #4A6470; background: #fff; }

@media (max-width: 560px) {
  .pc-launch { right: 14px; bottom: 14px; padding: 12px 16px 12px 14px; }
  .pc-panel, .pc-panel.pc-wide { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .pc-size { display: none; }
}
