/* The MVP prototype (README 224, ai-mvp.js): with ?mvp the final assistant is gone and the MVP's AI chat sits at the bottom right.
   Its look is the AI case's MVP chat (site/app/work/fennia-b2b-ai/fennia-b2b-ai.css .scd-*, .mvc-*), which takes the final
   assistant's frame: the blue band with its pale wash, squircle corners 28.8 and 24.8, the white body padded 24, chips 12 round. */

/* None of the final assistant (Janne, 10 November 2026: "mvp doesnt have it"; "in mvp we have only ai chat at the right bottom") */
html.mvp .aid-launch, html.mvp .aid, html.mvp .aid-tip, html.mvp .aim, html.mvp .ais-bar, html.mvp .aio-quick,
html.mvp li:has(> a[href="#/conversations"]), html.mvp a[href="#/conversations"], html.mvp .aiw, html.mvp .aiw-scrim { display: none !important; }

.mvc-root { font-family: "Fennia Sans", system-ui, sans-serif; color: #333333; }
.mvc-launch { position: fixed; right: 24px; bottom: 24px; z-index: 90; padding: 4px; border: 0; border-radius: 16px; corner-shape: superellipse(1.5);
  background: linear-gradient(120deg, #CBD8FC 0%, #D3D7FB 30%, #DCD4F8 55%, #E7D6F2 75%, #CFDAFC 100%);
  box-shadow: 0 0 0 1px rgb(120 140 210 / 0.18), 0 2px 8px rgb(0 0 0 / 0.06), 0 12px 32px rgb(0 0 0 / 0.12); cursor: pointer; font: inherit; }
.mvc-launch[hidden] { display: none; }
.mvc-launch-in { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 12px; corner-shape: superellipse(1); background: #FFFFFF; color: #061A44; font-size: 16px; line-height: 24px; }
.mvc-launch:hover .mvc-launch-in { background: #F6F8FF; }
.mvc-launch:active { transform: scale(0.97); }

.mvc-panel { position: fixed; right: 16px; bottom: 16px; z-index: 91; display: flex; flex-direction: column; width: 400px; max-width: calc(100vw - 32px);
  height: min(600px, calc(100dvh - 32px)); padding: 4px; box-sizing: border-box; border-radius: 28.8px; corner-shape: superellipse(2);
  background-image: linear-gradient(rgba(246, 248, 255, 0.92) 0%, rgba(236, 241, 255, 0.55) 22%, rgba(255, 255, 255, 0) 55%), linear-gradient(120deg, #C7D4FC 0%, #D0D3FB 30%, #D9CEF7 55%, #E6D2F0 75%, #C9D6FC 100%);
  box-shadow: 0 0 0 1px rgb(120 140 210 / 0.18), 0 2px 8px rgb(0 0 0 / 0.06), 0 12px 32px rgb(0 0 0 / 0.12);
  animation: mvc-up 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.mvc-panel[hidden] { display: none; }
@keyframes mvc-up { from { opacity: 0; transform: translateY(24px); } }
.mvc-head { display: flex; align-items: center; gap: 8px; height: 52px; padding: 8px 4px 6px 10px; box-sizing: border-box; color: #061A44; }
.mvc-mk { display: grid; place-items: center; width: 36px; height: 36px; }
.mvc-name { flex: 1 1 auto; margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; }
.mvc-x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 12px; corner-shape: superellipse(1); background: #FFFFFF; box-shadow: inset 0 0 0 1px #B8EABB; color: #00700B; cursor: pointer; }
.mvc-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 24px; overflow-y: auto; border-radius: 24.8px 24.8px 0 0; corner-shape: superellipse(2); background: #FFFFFF; }
.mvc-body p { margin: 0; font-size: 16px; line-height: 24px; }
.mvc-opts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mvc-chip { min-height: 32px; padding: 4px 10px; border: 0; border-radius: 12px; corner-shape: superellipse(1); background: #E6FAE7; box-shadow: inset 0 0 0 1px #B8EABB; color: #333333; font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; }
.mvc-chip:hover { background: #D5F7D7; }
.mvc-chip:disabled { opacity: 0.5; cursor: default; }
.mvc-me { align-self: flex-end; max-width: 80%; padding: 8px 12px; border-radius: 10px; corner-shape: superellipse(1); background: #F4F7FF; font-size: 16px; line-height: 24px; }
.mvc-ans { display: flex; flex-direction: column; gap: 12px; animation: mvc-in 320ms ease both; }
@keyframes mvc-in { from { opacity: 0; transform: translateY(6px); } }
.mvc-ans ul, .mvc-ans ol { margin: 0; padding-left: 20px; }
.mvc-src { font-size: 14px !important; line-height: 20px !important; }
.mvc-src a { color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
.mvc-note { font-size: 14px !important; line-height: 20px !important; color: #5C5C5C; }
.mvc-thumbs { display: flex; gap: 4px; margin-left: -8px; }
.mvc-thumb { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: #333333; cursor: pointer; }
.mvc-thumb:hover { background: #F2F3F5; }
.mvc-thumb.is-on { background: #E6FAE7; color: #00700B; }
.mvc-dots { display: flex; gap: 6px; padding: 6px 0; }
.mvc-dots i { width: 8px; height: 8px; border-radius: 50%; background: #9AA3B5; animation: mvc-dot 1s ease-in-out infinite; }
.mvc-dots i:nth-child(2) { animation-delay: 0.15s; }
.mvc-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes mvc-dot { 50% { opacity: 0.3; transform: translateY(-2px); } }
.mvc-foot { display: flex; flex-direction: column; margin: 0; padding: 0 24px 12px; border-radius: 0 0 24.8px 24.8px; corner-shape: superellipse(2); background: #FFFFFF; }
.mvc-comp { display: flex; align-items: flex-end; gap: 8px; min-height: 48px; padding: 8px 8px 8px 12px; box-sizing: border-box; border-radius: 12px; corner-shape: superellipse(1); box-shadow: 0 0 0 2px #8ADC94; }
.mvc-comp textarea { flex: 1 1 auto; min-height: 24px; max-height: 120px; padding: 4px 0; border: 0; outline: 0; resize: none; background: none; color: #333333; font: inherit; font-size: 16px; line-height: 24px; }
.mvc-comp textarea::placeholder { color: #6B6B6B; }
.mvc-comp:focus-within { box-shadow: 0 0 0 2px #008A28; }
.mvc-send { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: #F2F3F5; color: #333333; cursor: pointer; }
.mvc-fine { margin: 0; padding: 8px 4px 0; text-align: center; font-size: 16px; line-height: 24px; }
.mvc-root button:focus-visible, .mvc-root a:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mvc-panel, .mvc-ans { animation: none; } .mvc-dots i { animation: none; } }
