/* Sellvio Support – pages shown to customers (embedded form, ticket list, rating, confirmation).
   Root: .sv – dark like sellvio.com by default, .sv.light for sites with a light background. */
@import url('fonts.css');

.sv {
  --sv-accent: #65A3EA;
  --sv-accent-deep: color-mix(in srgb, var(--sv-accent) 62%, #10294f);
  --sv-accent-light: color-mix(in srgb, var(--sv-accent) 70%, #ffffff);
  --sv-radius: 12px;
  --sv-ink: #EDEFF7;
  --sv-strong: #ffffff;
  --sv-muted: rgba(237,239,247,.66);
  --sv-line: rgba(255,255,255,.12);
  --sv-surface: rgba(255,255,255,.04);
  --sv-field: rgba(255,255,255,.06);
  --sv-field-line: rgba(255,255,255,.14);
  --sv-placeholder: rgba(237,239,247,.38);
  --sv-hover: rgba(255,255,255,.06);
  --sv-danger: #F2717B;
  --sv-link: var(--sv-accent-light);
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.5; color: var(--sv-ink);
}
.sv.light {
  --sv-ink: #1D2340;
  --sv-strong: #1D2340;
  --sv-muted: rgba(29,35,64,.66);
  --sv-line: rgba(29,35,64,.14);
  --sv-surface: rgba(255,255,255,.92);
  --sv-field: rgba(255,255,255,.92);
  --sv-field-line: rgba(29,35,64,.18);
  --sv-placeholder: rgba(29,35,64,.4);
  --sv-hover: rgba(29,35,64,.05);
  --sv-danger: #C2364A;
  --sv-link: var(--sv-accent-deep);
  color-scheme: light;
}
html, body { margin: 0; padding: 0; background: transparent; }
.sv * { box-sizing: border-box; }
.sv { padding: 2px; max-width: 760px; }
/* Embedded in a page, the host's container sets the width. */
.sv.embed:not(.page) { max-width: none; }
.sv h1 { font-family: 'Sora', 'Inter', sans-serif; font-size: 1.4rem; line-height: 1.25; margin: 0 0 14px; font-weight: 600; color: var(--sv-strong); }
.sv h2 { font-family: 'Sora', 'Inter', sans-serif; font-size: 1.08rem; margin: 0 0 4px; font-weight: 600; color: var(--sv-strong); }
.sv p { margin: 0 0 12px; }
.sv a { color: var(--sv-link); }
.sv .muted { color: var(--sv-muted); }
.sv .small { font-size: .87rem; }
.sv :focus-visible { outline: 2px solid var(--sv-accent-light); outline-offset: 2px; }

/* Pages opened from an e-mail stand on their own: full Sellvio backdrop and logo. */
body:has(.sv.page) { min-height: 100vh; background:
    radial-gradient(1000px 500px at 85% -5%, rgba(124,200,245,.30), transparent 60%),
    radial-gradient(800px 460px at 0% 40%, rgba(180,140,242,.28), transparent 60%),
    linear-gradient(170deg, #2E2568 0%, #221B4A 45%, #131029 100%) fixed; background-color: #131029; }
.sv.page { margin: 0 auto; padding: 48px 18px; max-width: 560px; }
.sv.page .logo { display: block; height: 40px; width: auto; margin: 0 0 28px; }
.sv.page .panel { background: rgba(14,12,32,.55); border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; padding: 28px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

.sv label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: color-mix(in srgb, var(--sv-ink) 82%, transparent); }
.sv input[type=text], .sv input[type=email], .sv select, .sv textarea {
  width: 100%; padding: .8rem 1.1rem; border: 1px solid var(--sv-field-line); border-radius: var(--sv-radius); background: var(--sv-field); color: var(--sv-ink); font: inherit; font-size: .925rem; outline: none; }
.sv input::placeholder, .sv textarea::placeholder { color: var(--sv-placeholder); }
.sv input:focus, .sv select:focus, .sv textarea:focus { border-color: var(--sv-accent-light); }
.sv:not(.light) select, .sv:not(.light) select option { background-color: #1a1735; color: var(--sv-ink); }
/* our own arrow, kept well clear of the right edge */
.sv select { appearance: none; -webkit-appearance: none; padding-right: 2.9rem; background-repeat: no-repeat; background-position: right 1.05rem center; background-size: 1rem 1rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDEFF7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); }
.sv.light select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D2340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); }
.sv textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.sv input[type=file] { color: var(--sv-muted); font: inherit; max-width: 100%; }
.sv input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 10px; padding: 5px 14px; border-radius: 9999px; border: 1px solid var(--sv-field-line); background: transparent; color: var(--sv-ink); cursor: pointer; }
.sv input[type=radio], .sv input[type=checkbox] { accent-color: var(--sv-accent); }
.sv .field { margin-bottom: 16px; }
.sv .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 16px; }
.sv .hint { color: var(--sv-muted); font-size: .85rem; margin-top: 5px; }
.sv .err { color: var(--sv-danger); font-size: .87rem; margin-top: 4px; }
.sv .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sv .btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.6rem; border-radius: 9999px; border: 1px solid transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  background: linear-gradient(135deg, var(--sv-accent) 0%, var(--sv-accent-deep) 100%);
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--sv-accent) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.18); text-shadow: 0 1px 1px rgba(20,40,80,.35); }
.sv .btn:hover { filter: brightness(1.08); }
.sv .btn.ghost { background: transparent; box-shadow: none; text-shadow: none; color: var(--sv-ink); border-color: color-mix(in srgb, var(--sv-ink) 30%, transparent); }
.sv .btn.ghost:hover { background: var(--sv-hover); filter: none; }
.sv .btn[disabled] { opacity: .6; cursor: default; }
.sv .notice { border: 1px solid var(--sv-line); border-radius: var(--sv-radius); padding: 18px 20px; background: var(--sv-surface); }
.sv .notice.bad { border-color: color-mix(in srgb, var(--sv-danger) 50%, transparent); }
.sv.page .notice { border: 0; padding: 0; background: none; }

.sv .bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sv .tabs { display: flex; gap: 6px; }
.sv .tabs a { padding: .45rem 1.1rem; border-radius: 9999px; color: var(--sv-muted); text-decoration: none; border: 1px solid var(--sv-line); font-size: .87rem; font-weight: 600; }
.sv .tabs a.on { background: linear-gradient(135deg, var(--sv-accent), var(--sv-accent-deep)); color: #fff; border-color: transparent; }
.sv .list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--sv-line); border-radius: var(--sv-radius); background: var(--sv-surface); overflow: hidden; }
.sv .list li + li { border-top: 1px solid var(--sv-line); }
.sv .list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 13px 18px; color: inherit; text-decoration: none; }
.sv .list a:hover { background: var(--sv-hover); }
.sv .list .subject { font-weight: 600; color: var(--sv-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv .list .meta { color: var(--sv-muted); font-size: .87rem; }
.sv .list .when { color: var(--sv-muted); font-size: .87rem; text-align: right; white-space: nowrap; }
.sv .pill { display: inline-block; padding: 1px 10px; border-radius: 9999px; font-size: .78rem; font-weight: 600; border: 1px solid var(--sv-line); color: var(--sv-muted); white-space: nowrap; }
.sv .pill.pending { border-color: color-mix(in srgb, #F5C36B 55%, transparent); color: color-mix(in srgb, #F5C36B 70%, var(--sv-ink)); background: color-mix(in srgb, #F5C36B 12%, transparent); }
.sv .pill.open { border-color: color-mix(in srgb, var(--sv-accent) 50%, transparent); color: var(--sv-link); background: color-mix(in srgb, var(--sv-accent) 13%, transparent); }
.sv .empty { padding: 30px 16px; text-align: center; color: var(--sv-muted); border: 1px dashed var(--sv-line); border-radius: var(--sv-radius); }

.sv .thread { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.sv .msg { border: 1px solid var(--sv-line); border-radius: var(--sv-radius); background: var(--sv-surface); overflow: hidden; }
.sv .msg.agent { border-color: color-mix(in srgb, var(--sv-accent) 40%, transparent); background: color-mix(in srgb, var(--sv-accent) 8%, var(--sv-surface)); }
.sv .msg header { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; font-size: .87rem; border-bottom: 1px solid var(--sv-line); }
.sv .msg header strong { font-weight: 600; color: var(--sv-strong); }
.sv .msg header time { color: var(--sv-muted); white-space: nowrap; }
.sv .msg .body { padding: 13px 16px; overflow-wrap: anywhere; overflow-x: auto; }
.sv .msg .body > :last-child { margin-bottom: 0; }
.sv .msg .body img { max-width: 100%; height: auto; }
.sv .msg .body blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--sv-line); color: var(--sv-muted); }
.sv .files { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 13px; }
.sv .file { padding: 4px 12px; border: 1px solid var(--sv-line); border-radius: 9999px; font-size: .87rem; text-decoration: none; color: var(--sv-ink); }

.sv .scores { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 18px; padding: 0; border: 0; }
.sv .scores label { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid var(--sv-field-line); border-radius: var(--sv-radius); font-weight: 500; font-size: 1rem; cursor: pointer; margin: 0; background: var(--sv-field); color: var(--sv-ink); }
.sv .scores label:has(input:checked) { border-color: var(--sv-accent-light); box-shadow: inset 0 0 0 1px var(--sv-accent-light); background: color-mix(in srgb, var(--sv-accent) 14%, transparent); }
.sv .stars { color: #F5C36B; letter-spacing: 2px; }
.sv .stars .off { color: color-mix(in srgb, var(--sv-ink) 22%, transparent); }

/* ---------- Public front page ---------- */
.sv.page.home { max-width: 720px; padding-top: 28px; }
.sv.home .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 56px; }
.sv.home .top .logo { margin: 0; }
.sv.home .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sv-accent-light); margin-bottom: 10px; }
.sv.home h1.hero { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.2; margin: 0 0 12px; }
.sv.home .lead { font-size: 1.08rem; color: var(--sv-muted); max-width: 56ch; margin-bottom: 30px; }
.sv.home .foot { margin: 22px 2px 0; font-size: .9rem; color: var(--sv-muted); }


/* ---------- Customer sign-in with a one-time code ---------- */
.sv.page.home.narrow { max-width: 520px; }
.sv .pin { font-size: 1.7rem; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; padding: .7rem .5rem .7rem 1rem; }
.sv .linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--sv-link); text-decoration: underline; cursor: pointer; }
.sv.home .who { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.sv.home .top .actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Customer pages inside the sellvio.com header and footer ---------- */
body.site { min-height: 100vh; display: flex; flex-direction: column; }
body.site, body.site:has(.sv.page) { background: #0E0C20; }
body.site .site-main { flex: 1 0 auto; display: flex; flex-direction: column; }
body.site .site-hero { flex: 1 0 auto; padding: 7.5rem 0 5rem; }
/* the drifting dot grid of the sellvio.com hero */
body.site .site-hero.dots::before { mask-image: radial-gradient(85% 75% at 50% 30%, black, transparent); -webkit-mask-image: radial-gradient(85% 75% at 50% 30%, black, transparent); }
body.site .sv.page, body.site .sv.page.home { padding-top: 0; padding-bottom: 0; }
/* the same content width as sellvio.com: max-w-7xl with its side padding */
body.site .sv.page.home, body.site .sv.page.home.narrow { max-width: 80rem; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 1024px) { body.site .sv.page.home, body.site .sv.page.home.narrow { padding-left: 2rem; padding-right: 2rem; } }
body.site .sv .split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { body.site .sv .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4rem; align-items: center; } }
body.site .sv.home h1.hero { font-size: clamp(2.1rem, 4.4vw, 3rem); }
body.site .sv.home .lead { font-size: 1.12rem; }
body.site .sv .pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
body.site .sv .pagehead h1.hero { margin: 0; }
body.site footer .ft-country-menu { z-index: 80; }
@media (max-width: 640px) { body.site .site-hero { padding-top: 6.5rem; } }
body.site .lang-fab { bottom: 4.5rem; }
@media (max-width: 640px) { body.site .lang-fab { bottom: 4.25rem; } }

/* ---------- Topic tiles on the customer home page ---------- */
/* Cards in the manner of the "platform that works for you" section of sellvio.com: a tinted panel with an
   illustrated, moving scene, the name and a line of text, centred. */
.sv .topic-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 14px; }
.sv .topic-tile { --fc: #65A3EA; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 22px 26px; min-height: 250px;
  border-radius: 1rem; text-decoration: none; color: var(--sv-text, #EDEFF7);
  background: rgba(255,255,255,.045); border: 1px solid color-mix(in srgb, var(--fc) 38%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.sv .topic-tile:hover, .sv .topic-tile:focus-visible { transform: translateY(-5px); text-decoration: none; background: rgba(255,255,255,.07);
  border-color: color-mix(in srgb, var(--fc) 75%, transparent); box-shadow: 0 24px 48px -22px rgba(0,0,0,.6), 0 0 0 1px color-mix(in srgb, var(--fc) 14%, transparent); }
.sv .topic-tile .ico { display: flex; align-items: center; justify-content: center; width: 8.5rem; height: 5.5rem; border-radius: 1rem; margin-bottom: 12px;
  color: var(--fc); background: color-mix(in srgb, var(--fc) 15%, transparent); transition: transform .25s ease; }
.sv .topic-tile:hover .ico, .sv .topic-tile:focus-visible .ico { transform: rotate(-2deg) scale(1.05); }
.sv .topic-tile .ico svg { width: 7.5rem; height: 5rem; overflow: visible; }
.sv .topic-tile .t { font-family: 'Sora', 'Inter', sans-serif; font-weight: 600; font-size: 1.05rem; color: #fff; line-height: 1.3; }
.sv .topic-tile .d { font-size: .88rem; line-height: 1.55; color: var(--sv-muted, rgba(237,239,247,.7)); }
/* the five tints of the site's cards, in turn */
.sv .topic-tile:nth-child(5n+1) { --fc: #7CC8F5; }
.sv .topic-tile:nth-child(5n+2) { --fc: #65A3EA; }
.sv .topic-tile:nth-child(5n+3) { --fc: #8B7CF0; }
.sv .topic-tile:nth-child(5n+4) { --fc: #B48CF2; }
.sv .topic-tile:nth-child(5n+5) { --fc: #8FC0F2; }
.sv .topic-tile.other { background: transparent; border-style: dashed; }
.sv .backlink { margin: -14px 0 18px; font-size: .9rem; }

/* ---------- The moving parts of the icon scenes ---------- */
.sv .ia [class^="ia-"], .sv .ia [class*=" ia-"] { transform-box: fill-box; transform-origin: center; }
.sv .ia-spark { animation: ia-spark 2.4s ease-in-out infinite; }
.sv .ia-pop { transform-origin: 20% 100% !important; animation: ia-pop 4.2s ease-in-out infinite; }
.sv .ia-answer { transform-origin: 80% 100% !important; animation: ia-answer 4.2s ease-in-out infinite; }
.sv .ia-pop2 { animation: ia-pop2 3.6s ease-in-out infinite; }
.sv .ia-dot { animation: ia-dot 1.4s ease-in-out infinite; }
.sv .ia-d2 { animation-delay: .18s; }
.sv .ia-d3 { animation-delay: .36s; }
.sv .ia-d4 { animation-delay: .54s; }
.sv .ia-crawl { animation: ia-crawl 5s ease-in-out infinite; }
.sv .ia-lens { animation: ia-lens 5s ease-in-out infinite; }
.sv .ia-line { stroke-dasharray: 26; stroke-dashoffset: 26; animation: ia-draw 4.6s ease-in-out infinite; }
.sv .ia-l2 { animation-delay: .35s; }
.sv .ia-l3 { animation-delay: .7s; }
.sv .ia-coin { animation: ia-coin 3s ease-in-out infinite; }
.sv .ia-glow { opacity: 0; animation: ia-glow 3s ease-in-out infinite; }
.sv .ia-rays { animation: ia-rays 3s ease-in-out infinite; }
.sv .ia-turn { animation: ia-spin 9s linear infinite; }
.sv .ia-turn-rev { animation: ia-spin 6s linear infinite reverse; }
.sv .ia-spin { animation: ia-spin 1.3s linear infinite; }
.sv .ia-drop { animation: ia-drop 3.6s ease-in infinite; }
.sv .ia-late { animation-delay: .5s; }
.sv .ia-road { animation: ia-road .9s linear infinite; }
.sv .ia-drive { animation: ia-drive 1.6s ease-in-out infinite; }
.sv .ia-speed { animation: ia-speed 1.1s linear infinite; }
.sv .ia-tilt { animation: ia-tilt 4s ease-in-out infinite; }
.sv .ia-wave { opacity: 0; animation: ia-wave 2.2s ease-out infinite; }
.sv .ia-wave.ia-d2 { animation-delay: .3s; }
.sv .ia-wave.ia-d3 { animation-delay: .6s; }
.sv .ia-bob { animation: ia-bob 2.8s ease-in-out infinite; }
.sv .ia-slide { animation: ia-slide 3.4s ease-in-out infinite; }
.sv .ia-slide.ia-rev { animation-direction: reverse; }
.sv .ia-shackle { transform-origin: 100% 100% !important; animation: ia-shackle 4s ease-in-out infinite; }
.sv .ia-type { opacity: 0; animation: ia-type 4s steps(1) infinite; }
.sv .ia-type.ia-d2 { animation-delay: .35s; }
.sv .ia-type.ia-d3 { animation-delay: .7s; }
.sv .ia-type.ia-d4 { animation-delay: 1.05s; }
.sv .ia-connect { animation: ia-connect 3.4s ease-in-out infinite; }
.sv .ia-flap { transform-origin: 50% 0 !important; animation: ia-flap 3.6s ease-in-out infinite; }
.sv .ia-meridian { animation: ia-meridian 4s ease-in-out infinite; }
.sv .ia-link { stroke-dasharray: 4 4; animation: ia-road 1.2s linear infinite reverse; }
.sv .ia-stroke { stroke-dasharray: 80; stroke-dashoffset: 80; animation: ia-stroke 4.4s ease-in-out infinite; }
.sv .ia-brush { animation: ia-brush 4.4s ease-in-out infinite; }
.sv .ia-swatch { animation: ia-swatch 3s ease-in-out infinite; }
.sv .ia-swatch.ia-d2 { animation-delay: .25s; }
.sv .ia-swatch.ia-d3 { animation-delay: .5s; }
@keyframes ia-spin { to { transform: rotate(360deg); } }
@keyframes ia-spark { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(90deg); } }
@keyframes ia-pop { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 24% { transform: scale(1); } }
@keyframes ia-answer { 0%, 26% { opacity: 0; transform: scale(.5); } 38%, 88% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes ia-pop2 { 0%, 14% { opacity: 0; transform: scale(.5); } 26%, 80% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes ia-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3.5px); opacity: 1; } }
@keyframes ia-crawl { 0%, 100% { transform: translate(-6px, 4px) rotate(-70deg); } 25% { transform: translate(2px, -3px) rotate(10deg); } 50% { transform: translate(8px, 5px) rotate(110deg); } 75% { transform: translate(0, 8px) rotate(200deg); } }
@keyframes ia-lens { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-9px, -4px); } 60% { transform: translate(-3px, 5px); } }
@keyframes ia-draw { 0%, 8% { stroke-dashoffset: 26; } 32%, 84% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 26; } }
@keyframes ia-coin { 0%, 10% { opacity: 0; transform: translateY(-8px); } 25% { opacity: 1; transform: translateY(0); } 55% { opacity: 1; transform: translateY(20px); } 68%, 100% { opacity: 0; transform: translateY(22px); } }
@keyframes ia-glow { 0%, 100% { opacity: 0; } 50% { opacity: .32; } }
@keyframes ia-rays { 0%, 100% { opacity: .15; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes ia-drop { 0%, 12% { opacity: 0; transform: translateY(-26px); } 30%, 80% { opacity: 1; transform: translateY(0); } 92%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes ia-road { to { stroke-dashoffset: -16; } }
@keyframes ia-drive { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes ia-speed { 0% { opacity: 0; transform: translateX(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(-6px); } }
@keyframes ia-tilt { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg) translateY(-2px); } }
@keyframes ia-wave { 0% { opacity: 0; transform: translateX(-4px); } 35% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateX(3px); } }
@keyframes ia-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes ia-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes ia-shackle { 0%, 55%, 100% { transform: translateY(0) rotate(0); } 20%, 38% { transform: translateY(-5px) rotate(16deg); } }
@keyframes ia-type { 0%, 8% { opacity: 0; } 12%, 80% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes ia-connect { 0%, 100% { transform: translateX(-9px); } 40%, 72% { transform: translateX(9px); } }
@keyframes ia-flap { 0%, 55%, 100% { transform: scaleY(1); } 22%, 36% { transform: scaleY(-.6); } }
@keyframes ia-meridian { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.12); } }
@keyframes ia-stroke { 0%, 8% { stroke-dashoffset: 80; } 50%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 80; } }
@keyframes ia-brush { 0%, 8%, 100% { transform: translate(-8px, 6px); } 50%, 86% { transform: translate(2px, -3px); } }
@keyframes ia-swatch { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.28); } }
@media (prefers-reduced-motion: reduce) {
  .sv .ia * { animation: none !important; }
  .sv .ia-line, .sv .ia-stroke { stroke-dashoffset: 0; }
  .sv .ia-glow { opacity: .2; }
  .sv .ia-wave, .sv .ia-type { opacity: 1; }
  .sv .topic-tile, .sv .topic-tile .ico { transition: none; }
  .sv .topic-tile:hover, .sv .topic-tile:hover .ico { transform: none; }
}

/* ---------- Light mode of the customer pages (html.light, the switch of sellvio.com) ---------- */
.light body.site, .light body.site:has(.sv.page) { background: #EEF1F9; }
.light .sv.page .panel { background: rgba(255,255,255,.86); border-color: rgba(29,35,64,.12); box-shadow: 0 18px 40px -26px rgba(29,35,64,.35); }
.light .sv.home .eyebrow { color: #3F7CC4; }
.light .sv .topic-tile { background: rgba(255,255,255,.82); color: #1D2340; border-color: color-mix(in srgb, var(--fc) 45%, transparent); }
.light .sv .topic-tile:hover, .light .sv .topic-tile:focus-visible { background: #fff; box-shadow: 0 24px 44px -24px rgba(29,35,64,.35); }
.light .sv .topic-tile .t { color: #1D2340; }
.light .sv .topic-tile .d { color: rgba(29,35,64,.68); }
.light .sv .topic-tile.other { background: transparent; }
/* the pastel tints are unreadable on a light ground: deeper ones of the same hues */
.light .sv .topic-tile:nth-child(5n+1) { --fc: #2E8FC4; }
.light .sv .topic-tile:nth-child(5n+2) { --fc: #3F7CC4; }
.light .sv .topic-tile:nth-child(5n+3) { --fc: #6253C9; }
.light .sv .topic-tile:nth-child(5n+4) { --fc: #8A55D6; }
.light .sv .topic-tile:nth-child(5n+5) { --fc: #4C8CDB; }
.light .sv .ia [fill^="rgba(255,255,255"] { fill: color-mix(in srgb, var(--fc, #3F7CC4) 16%, transparent); }

/* ---------- Sign-in code: six separate boxes ---------- */
.sv .otp { display: flex; gap: 10px; justify-content: center; max-width: 26rem; margin: 0 auto; }
.sv .pin-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.sv .otp input { width: 100%; min-width: 0; aspect-ratio: 5 / 6; max-height: 4.4rem; padding: 0; text-align: center; font-size: 1.8rem; font-weight: 600; font-variant-numeric: tabular-nums;
  font-family: 'Sora', 'Inter', sans-serif; border-radius: .85rem; caret-color: var(--sv-accent-light); }
.sv .otp input:nth-child(4) { margin-left: 12px; }
.sv .otp input:focus { border-color: var(--sv-accent-light); box-shadow: 0 0 0 3px rgba(101,163,234,.28); }
.sv .otp input.filled { border-color: rgba(101,163,234,.6); }
.sv .pin.enhanced { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 420px) { .sv .otp { gap: 6px; } .sv .otp input { font-size: 1.4rem; } .sv .otp input:nth-child(4) { margin-left: 6px; } }

/* "We sent the code to …": after a second it lights up once, so the eye lands on it */
.sv .lead.attn { transform-origin: left center; animation: sv-attn 1.6s cubic-bezier(.2,.7,.2,1) 1s both; }
@keyframes sv-attn {
  0% { transform: none; color: inherit; text-shadow: none; }
  22% { transform: translateX(10px) scale(1.035); color: var(--sv-accent-light, #65A3EA); text-shadow: 0 0 22px rgba(101,163,234,.55); }
  45% { transform: translateX(0) scale(1); }
  62% { transform: translateX(5px) scale(1.015); color: var(--sv-accent-light, #65A3EA); text-shadow: 0 0 14px rgba(101,163,234,.4); }
  100% { transform: none; color: inherit; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .sv .lead.attn { animation: none; } }

/* ---------- The small editor of the message field ---------- */
.sv .rte { border: 1px solid var(--sv-field-line); border-radius: var(--sv-radius); background: var(--sv-field); overflow: hidden; transition: border-color .2s; }
.sv .rte:focus-within { border-color: var(--sv-accent-light); }
.sv .rte.bad { border-color: #F2717B; }
.sv .rte-bar { display: flex; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--sv-field-line); background: color-mix(in srgb, var(--sv-ink) 4%, transparent); }
.sv .rte-btn { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: .5rem; background: transparent; color: color-mix(in srgb, var(--sv-ink) 75%, transparent); cursor: pointer; }
.sv .rte-btn:hover { background: color-mix(in srgb, var(--sv-ink) 10%, transparent); color: var(--sv-ink); }
.sv .rte-btn.on { background: color-mix(in srgb, var(--sv-accent) 28%, transparent); color: var(--sv-ink); }
.sv .rte-btn svg { width: 1.15rem; height: 1.15rem; }
.sv .rte-page { min-height: 160px; max-height: 60vh; overflow-y: auto; padding: .8rem 1.1rem; color: var(--sv-ink); font-size: .925rem; line-height: 1.55; outline: none; overflow-wrap: anywhere; }
.sv .rte-page p { margin: 0 0 .45em; }
.sv .rte-page ul, .sv .rte-page ol { margin: 0 0 .45em; padding-left: 1.5em; }
.sv .rte-page img { display: block; max-width: 100%; max-height: 320px; height: auto; margin: .5em 0; border-radius: .5rem; border: 1px solid var(--sv-field-line); }
.sv .rte-note { color: var(--sv-muted); font-size: .85rem; margin-top: 5px; min-height: 1.2em; }
.sv .rte-note.warn { color: #F2717B; }
.sv .rte-page ul { list-style: disc outside; }
.sv .rte-page ol { list-style: decimal outside; }
.sv .rte-page li { display: list-item; }
.sv .rte-page.empty::before { content: attr(data-ph); color: var(--sv-placeholder); pointer-events: none; float: left; height: 0; }
.sv .body .ext-img { display: inline-block; padding: 2px 10px; border-radius: 9999px; border: 1px dashed var(--sv-field-line); color: var(--sv-muted); font-size: .78rem; }
