:root { --sv: #6C2BD9; --sv-dark: #4B1A9E; --sv-light: #F3EDFF; --ok: #1E9E5A; }
body { background: #F7F7FB; font-size: 15px; }
.sv-nav { background: var(--sv); } .sv-nav .nav-link, .sv-nav .navbar-brand { color: #fff !important; }
.btn-sv { background: var(--sv); color: #fff; border: 0; } .btn-sv:hover { background: var(--sv-dark); color: #fff; }
.btn-outline-sv { border: 1px solid var(--sv); color: var(--sv); } .btn-check:checked + .btn-outline-sv { background: var(--sv); color: #fff; }
.sv-card { border: 0; border-radius: 14px; box-shadow: 0 2px 10px rgba(30, 10, 80, .06); }
.sv-status { background: var(--sv-light); color: var(--sv-dark); font-weight: 500; white-space: normal; text-align: start; }
.sv-empty { background: #fff; border-radius: 14px; }
/* progress bar (CUS-040) */
.sv-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; counter-reset: s; }
.sv-steps li { flex: 1 1 120px; padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 13px; border: 1px solid #e6e1f5; }
.sv-steps li a { color: inherit; text-decoration: none; } .sv-steps li.current { border-color: var(--sv); background: var(--sv-light); font-weight: 600; }
.sv-steps li.done { border-color: var(--ok); color: var(--ok); } .sv-steps li.skipped { opacity: .55; }
/* choice cards (CUS-043) */
.sv-choice { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid #e6e1f5; border-radius: 14px; background: #fff; cursor: pointer; }
.sv-choice input { display: none; } .sv-choice .icon { font-size: 28px; } .sv-choice small { color: #666; }
.sv-choice:has(input:checked) { border-color: var(--sv); background: var(--sv-light); }
.sv-choice.disabled { opacity: .5; cursor: not-allowed; background: #f2f2f2; }
.help-i { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--sv-light); color: var(--sv); font-size: 11px; font-weight: 700; align-items: center; justify-content: center; cursor: help; }
.sv-guide { background: #fff; border: 1px dashed #c9b8f5; border-radius: 12px; padding: 12px; }
.sv-confirm { background: #fff; padding: 8px; border-radius: 10px; }
.is-invalid-field { outline: 2px solid #dc3545; } .is-valid-field { outline: 2px solid var(--ok); }
/* location chips (ORD-073) */
.sv-geo { position: relative; } .sv-geo-results { position: absolute; z-index: 20; width: 100%; max-height: 320px; overflow: auto; }
.sv-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--sv-light); color: var(--sv-dark); border-radius: 20px; padding: 4px 10px; margin: 2px; }
.sv-chip button { border: 0; background: none; color: inherit; font-weight: 700; }
.sv-posts .post { border: 2px solid #eee; border-radius: 10px; padding: 6px; cursor: pointer; background: #fff; font-size: 12px; }
.sv-posts .post.selected { border-color: var(--sv); } .sv-posts img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; }
/* price panel */
.sv-price { background: #fff; border-radius: 14px; padding: 16px; } .sv-price > div { display: flex; justify-content: space-between; padding: 4px 0; }
.sv-price .total { border-top: 1px solid #eee; margin-top: 6px; padding-top: 8px; font-weight: 700; font-size: 18px; color: var(--sv-dark); }
.sv-summary > div { background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; } .sv-summary h3 { font-size: 13px; color: #777; margin: 0 0 4px; }
.sv-summary h3 a { font-size: 12px; margin-inline-start: 8px; }
.sv-timeline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .sv-timeline li { background: #fff; border-radius: 20px; padding: 6px 14px; font-size: 13px; }
.sv-timeline li.done { background: var(--ok); color: #fff; }
.sv-kpi { background: #fff; border-radius: 14px; padding: 14px; font-size: 13px; color: #555; } .sv-kpi > span:first-child { display: block; font-size: 24px; font-weight: 700; color: #222; }
.sv-summary-line { background: var(--sv-light); color: var(--sv-dark); border-radius: 14px; padding: 16px; font-size: 18px; font-weight: 600; }
.sv-chart { display: flex; align-items: flex-end; gap: 2px; height: 160px; background: #fff; border-radius: 12px; padding: 10px; }
.sv-chart .bar { flex: 1; background: var(--sv); border-radius: 3px 3px 0 0; min-height: 2px; } .sv-chart .bar.paused { background: repeating-linear-gradient(45deg, #ccc, #ccc 3px, #eee 3px, #eee 6px); }
.sv-counter { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.sv-counter .icon { font-size: 24px; } .sv-counter .qty { width: 70px; text-align: center; } .sv-counter.disabled { opacity: .5; }
.sv-support { position: fixed; bottom: 18px; inset-inline-end: 18px; background: #25D366; color: #fff; padding: 10px 16px; border-radius: 30px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.2); z-index: 50; }
.sv-version { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 10px; margin-top: 8px; } .sv-version.accepted { border-color: var(--ok); }
.sv-frames { display: flex; gap: 8px; } .sv-frames .frame { flex: 1; background: #f4f4f4; border-radius: 8px; padding: 4px; }
.sv-frames img, .sv-frames video { width: 100%; aspect-ratio: 4/5; object-fit: cover; } .sv-frames .tall img, .sv-frames .tall video { aspect-ratio: 9/16; }
.sv-json { background: #1e1e2e; color: #e0e0f0; padding: 12px; border-radius: 8px; max-height: 400px; overflow: auto; }
@media (max-width: 576px) { .sv-steps li { flex: 1 1 45%; } .sv-nav-buttons { flex-direction: column; gap: 8px; } }
