/* BabylonCare — معالج الإعداد الأول (Setup Wizard). واجهة ملء الشاشة: خلفية متدرّجة متحركة، بطاقة زجاجية، شريط خطوات جانبي، انتقالات
   بين الخطوات، رسوم متحركة للنجاح. لا أنماط مضمَّنة (CSP): كل شيء بأصناف؛ الأبعاد الديناميكية عبر CSSOM من setup.js. */

.sw { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 18px; overflow: hidden; font-family: inherit; color: var(--ink);
  background: linear-gradient(155deg, #3d74ff 0%, #6b5cf0 52%, #a35bea 100%); animation: swFade .5s ease both; }
.sw[hidden] { display: none; }
.sw.is-closing { animation: swOut .45s ease forwards; pointer-events: none; }
@keyframes swFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes swOut { to { opacity: 0; transform: scale(1.03); } }

/* خلفية حيّة */
.sw-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; pointer-events: none; }
.sw-blob.b1 { width: 460px; height: 460px; background: #7aa2ff; top: -140px; inset-inline-start: -120px; animation: swFloat1 16s ease-in-out infinite; }
.sw-blob.b2 { width: 520px; height: 520px; background: #c07cf2; bottom: -200px; inset-inline-end: -140px; animation: swFloat2 19s ease-in-out infinite; }
.sw-blob.b3 { width: 320px; height: 320px; background: #38d5e0; top: 40%; inset-inline-start: 38%; opacity: .28; animation: swFloat3 22s ease-in-out infinite; }
@keyframes swFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(90px, 70px) scale(1.15); } }
@keyframes swFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-80px, -60px) scale(1.12); } }
@keyframes swFloat3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-60px, 50px); } }
.sw-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); background-size: 34px 34px; opacity: .35; pointer-events: none; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%); }

/* الغلاف */
.sw-shell { position: relative; width: min(1000px, 100%); height: min(660px, 100%); display: grid; grid-template-columns: 270px 1fr; border-radius: 34px; overflow: hidden;
  background: var(--surface-solid, #fff); box-shadow: 0 50px 120px -40px rgba(20, 16, 80, .65), 0 0 0 1px rgba(255, 255, 255, .25); animation: swPop .7s cubic-bezier(.2, .9, .25, 1.05) .12s both; }
@keyframes swPop { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }

/* الشريط الجانبي */
.sw-rail { position: relative; padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 22px; color: #fff; overflow: hidden;
  background: linear-gradient(170deg, #2f6bff 0%, #5a54f0 60%, #8a5cf0 100%); }
.sw-rail::before { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 68%); top: -90px; inset-inline-end: -90px; }
.sw-brand { position: relative; display: flex; align-items: center; gap: 12px; }
.sw-brand-mark { width: 46px; height: 46px; border-radius: 15px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.sw-brand-mark img { width: 30px; height: 30px; }
.sw-brand b { display: block; font-size: 17px; font-weight: 800; }
.sw-brand small { display: block; opacity: .82; font-size: 12px; font-weight: 600; }
.sw-steps { position: relative; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.sw-steps::before { content: ''; position: absolute; inset-inline-start: 19px; top: 22px; bottom: 22px; width: 2px; background: rgba(255, 255, 255, .22); border-radius: 2px; }
.sw-step { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 16px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .72); transition: color .25s, background .25s; }
.sw-step i { position: relative; flex: none; width: 28px; height: 28px; margin-inline-start: 6px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800;
  background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .35); transition: background .3s, border-color .3s, transform .3s; }
.sw-step.is-active { color: #fff; background: rgba(255, 255, 255, .14); }
.sw-step.is-active i { background: #fff; color: var(--brand, #2f6bff); border-color: #fff; transform: scale(1.12); }
.sw-step.is-active i::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: swRing 1.8s ease-out infinite; }
@keyframes swRing { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.sw-step.is-done { color: #fff; }
.sw-step.is-done i { background: #35d07f; border-color: #35d07f; color: #fff; }
.sw-rail-foot { position: relative; margin-top: auto; font-size: 12px; font-weight: 600; opacity: .85; line-height: 1.7; }

/* اللوحة */
.sw-pane { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--surface-solid, #fff); }
.sw-progress { height: 4px; background: var(--line, #e9ebf4); }
.sw-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f6bff, #8a5cf0); border-radius: 0 4px 4px 0; transition: width .6s cubic-bezier(.3, .8, .3, 1); }
.sw-head { padding: 26px 34px 6px; }
.sw-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: 0; }
.sw-head p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; line-height: 1.7; }
.sw-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 34px 10px; scrollbar-width: thin; }
.sw-view { animation: swInNext .45s cubic-bezier(.25, .85, .3, 1) both; }
.sw-view.is-prev { animation-name: swInPrev; }
@keyframes swInNext { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes swInPrev { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
.sw-foot { display: flex; align-items: center; gap: 10px; padding: 14px 34px 22px; border-top: 1px solid var(--line, #e9ebf4); }
.sw-foot .grow { flex: 1; }
.sw-foot .btn { min-height: 46px; padding-inline: 22px; font-size: 15px; font-weight: 800; border-radius: 16px; }
.sw-foot .btn-primary { box-shadow: var(--brand-glow); }
.sw-foot .btn-primary:not(:disabled):hover { transform: translateY(-1px); }
.sw-foot .btn-primary:disabled { opacity: .45; box-shadow: none; }
.sw-skip { background: none; border: 0; color: var(--ink-soft); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 8px 10px; border-radius: 10px; }
.sw-skip:hover { color: var(--ink); background: var(--hover); }
.sw-msg { min-height: 20px; padding: 0 34px; font-size: 13.5px; font-weight: 700; }
.sw-msg.error { color: var(--danger, #d4325c); }
.sw-msg.ok { color: var(--ok, #23893f); }

/* الترحيب */
.sw-hero { text-align: center; padding: 18px 0 0; }
.sw-hero-logo { position: relative; width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 34px; display: grid; place-items: center; background: linear-gradient(145deg, #eef2ff, #fff); box-shadow: 0 24px 50px -22px rgba(47, 107, 255, .65); animation: swBob 3.2s ease-in-out infinite; }
.sw-hero-logo::before, .sw-hero-logo::after { content: ''; position: absolute; inset: -10px; border-radius: 42px; border: 2px solid rgba(47, 107, 255, .28); animation: swRing 2.6s ease-out infinite; }
.sw-hero-logo::after { animation-delay: 1.3s; }
.sw-hero-logo img { width: 70px; height: 70px; }
@keyframes swBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.sw-hero h3 { margin: 0; font-size: 30px; font-weight: 800; }
.sw-hero h3 span { background: linear-gradient(90deg, #2f6bff, #8a5cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-hero p { margin: 10px auto 0; max-width: 520px; color: var(--ink-soft); font-size: 15.5px; font-weight: 500; line-height: 1.85; }
.sw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.sw-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--accent-soft, #eef2ff); color: var(--brand-dark, #2459e0); font-size: 13.5px; font-weight: 800; opacity: 0; animation: swChip .5s ease forwards; }
.sw-chip:nth-child(1) { animation-delay: .25s; } .sw-chip:nth-child(2) { animation-delay: .4s; } .sw-chip:nth-child(3) { animation-delay: .55s; } .sw-chip:nth-child(4) { animation-delay: .7s; } .sw-chip:nth-child(5) { animation-delay: .85s; }
@keyframes swChip { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }

/* حقول */
.sw-field { display: grid; gap: 7px; margin-bottom: 16px; }
.sw-field > span { font-size: 13.5px; font-weight: 800; }
.sw-field > span em { color: var(--danger-solid, #e5446d); font-style: normal; }
.sw-field input, .sw-field textarea { font: inherit; font-size: 15.5px; font-weight: 600; padding: 12px 16px; min-height: 48px; border-radius: 16px; border: 1.5px solid var(--line2, #dde1ee); background: var(--field, #f6f7fc); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
.sw-field input:focus, .sw-field textarea:focus { outline: none; border-color: var(--brand); background: var(--field-focus, #fff); box-shadow: 0 0 0 4px var(--focus-ring); }
.sw-field small { color: var(--ink-faint); font-size: 12.5px; font-weight: 600; }
.sw-field input[dir="ltr"] { text-align: left; }
.sw-split { display: grid; grid-template-columns: 1fr 250px; gap: 22px; align-items: start; }

/* رفع الصورة */
.sw-drop { position: relative; display: grid; place-items: center; gap: 6px; text-align: center; padding: 18px; border-radius: 22px; border: 2px dashed var(--line2, #dde1ee); background: var(--field, #f6f7fc); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; min-height: 132px; }
.sw-drop:hover, .sw-drop.is-over { border-color: var(--brand); background: var(--accent-soft, #eef2ff); transform: translateY(-1px); }
.sw-drop b { font-size: 14px; font-weight: 800; }
.sw-drop small { color: var(--ink-faint); font-size: 12.5px; font-weight: 600; }
.sw-drop .sw-drop-ic { font-size: 30px; }
.sw-drop-thumb { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); animation: swPopIn .4s ease; }
@keyframes swPopIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.sw-link { background: none; border: 0; color: var(--danger, #d4325c); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; padding: 2px 4px; }

/* معاينة الوصل */
.sw-receipt { position: sticky; top: 0; padding: 18px 16px 16px; border-radius: 24px; background: var(--surface-2, #f6f7fc); border: 1px solid var(--line); text-align: center; box-shadow: 0 22px 44px -30px rgba(40, 50, 110, .5); }
.sw-receipt-logo { width: 78px; height: 78px; margin: 0 auto 10px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(145deg, #4d82ff, #8a5cf0); color: #fff; font-size: 28px; font-weight: 800; overflow: hidden; transition: transform .3s; }
.sw-receipt-logo img { width: 100%; height: 100%; object-fit: cover; }
.sw-receipt b { display: block; font-size: 17px; font-weight: 800; min-height: 26px; word-break: break-word; }
.sw-receipt small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 12.5px; font-weight: 600; direction: ltr; min-height: 18px; }
.sw-receipt hr { border: 0; border-top: 1.5px dashed var(--line2); margin: 14px 0 10px; }
.sw-receipt-line { height: 8px; border-radius: 4px; background: var(--line); margin: 7px auto; }
.sw-receipt-line.w1 { width: 80%; } .sw-receipt-line.w2 { width: 62%; } .sw-receipt-line.w3 { width: 72%; }
.sw-receipt-stamp { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 10px; border: 2px solid var(--ok, #23893f); color: var(--ok, #23893f); font-size: 12px; font-weight: 800; transform: rotate(-6deg); }

/* الضمان */
.sw-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.sw-preset { font: inherit; font-size: 13.5px; font-weight: 800; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--surface-solid, #fff); color: var(--ink); cursor: pointer; transition: all .2s; }
.sw-preset:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-1px); }
.sw-preset.is-on { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: var(--brand-glow); }
.sw-wlist { display: grid; gap: 10px; }
.sw-wrow { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: var(--field, #f6f7fc); border: 1.5px solid var(--line); animation: swRowIn .35s ease both; }
@keyframes swRowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sw-wrow input[type="text"] { font: inherit; font-size: 15px; font-weight: 700; border: 0; background: transparent; color: var(--ink); min-height: 40px; padding: 0 8px; width: 100%; }
.sw-wrow input[type="text"]:focus { outline: none; }
.sw-stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-solid, #fff); border: 1.5px solid var(--line2); border-radius: 14px; padding: 3px; }
.sw-stepper button { width: 34px; height: 34px; border-radius: 11px; border: 0; background: var(--accent-soft); color: var(--brand-dark); font-size: 18px; font-weight: 800; cursor: pointer; line-height: 1; }
.sw-stepper button:hover { background: var(--brand); color: #fff; }
.sw-stepper output { min-width: 62px; text-align: center; font-size: 14px; font-weight: 800; }
.sw-x { width: 36px; height: 36px; border-radius: 12px; border: 0; background: transparent; color: var(--ink-faint); font-size: 18px; cursor: pointer; }
.sw-x:hover { background: var(--danger-bg); color: var(--danger); }
.sw-add { margin-top: 12px; font: inherit; font-size: 14px; font-weight: 800; padding: 11px 18px; border-radius: 16px; border: 2px dashed var(--line2); background: transparent; color: var(--brand-dark); cursor: pointer; width: 100%; transition: all .2s; }
.sw-add:hover { border-color: var(--brand); background: var(--accent-soft); }
.sw-note { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--accent-soft, #eef2ff); color: var(--brand-dark); font-size: 13px; font-weight: 700; line-height: 1.8; }

/* التوصيل */
.sw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sw-card { position: relative; text-align: start; font: inherit; padding: 20px 18px 18px; border-radius: 24px; border: 2px solid var(--line2); background: var(--surface-solid, #fff); color: var(--ink); cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; display: grid; gap: 6px; }
.sw-card:hover:not([disabled]) { transform: translateY(-3px); box-shadow: 0 22px 36px -26px rgba(40, 50, 110, .55); }
.sw-card.is-on { border-color: var(--brand); background: var(--accent-soft, #eef2ff); box-shadow: 0 0 0 4px var(--focus-ring); }
.sw-card[disabled] { opacity: .5; cursor: not-allowed; }
.sw-card .sw-card-ic { font-size: 34px; }
.sw-card b { font-size: 16px; font-weight: 800; }
.sw-card small { color: var(--ink-soft); font-size: 13px; font-weight: 600; line-height: 1.7; }
.sw-card .sw-tick { position: absolute; top: 14px; inset-inline-end: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.sw-card.is-on .sw-tick { transform: scale(1); }
.sw-prefix { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border-radius: 20px; background: var(--field); border: 1.5px solid var(--line); }
.sw-prefix label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 800; }
.sw-prefix input { font: inherit; font-weight: 800; font-size: 15px; width: 96px; min-height: 42px; padding: 0 12px; border-radius: 13px; border: 1.5px solid var(--line2); background: var(--surface-solid, #fff); color: var(--ink); direction: ltr; text-align: center; text-transform: uppercase; }
.sw-prefix input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--focus-ring); }
.sw-prefix .sw-prev { margin-inline-start: auto; padding: 8px 14px; border-radius: 13px; background: var(--surface-solid, #fff); border: 1.5px dashed var(--line2); font-weight: 800; direction: ltr; font-size: 14px; }
.sw-cos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sw-cos span { padding: 3px 10px; border-radius: 999px; background: var(--surface-3, #eef0f8); font-size: 12px; font-weight: 700; }

/* تيليجرام */
.sw-tg { display: grid; gap: 10px; margin-bottom: 14px; }
.sw-tg li { list-style: none; display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--field); font-size: 13.5px; font-weight: 600; line-height: 1.8; }
.sw-tg li::before { counter-increment: tgn; content: counter(tgn); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.sw-tg { counter-reset: tgn; padding: 0; margin: 0 0 14px; }
.sw-tg code { background: var(--surface-3); padding: 1px 7px; border-radius: 7px; font-size: 12.5px; direction: ltr; display: inline-block; }
.sw-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.sw-row .sw-field { flex: 1; min-width: 200px; margin-bottom: 0; }
.sw-btn2 { font: inherit; font-size: 14px; font-weight: 800; min-height: 48px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--brand); background: var(--accent-soft); color: var(--brand-dark); cursor: pointer; transition: all .2s; white-space: nowrap; }
.sw-btn2:hover:not(:disabled) { background: var(--brand); color: #fff; transform: translateY(-1px); }
.sw-btn2:disabled { opacity: .5; cursor: progress; }
.sw-found { margin-top: 12px; display: grid; gap: 8px; animation: swRowIn .35s ease both; }
.sw-found .sw-bot { padding: 10px 14px; border-radius: 14px; background: var(--ok-bg, #eaf8ee); color: var(--ok, #23893f); font-weight: 800; font-size: 13.5px; }
.sw-chat { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; border: 2px solid var(--line2); background: var(--surface-solid, #fff); font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; text-align: start; width: 100%; transition: all .2s; }
.sw-chat:hover { border-color: var(--brand); }
.sw-chat.is-on { border-color: var(--brand); background: var(--accent-soft); box-shadow: 0 0 0 4px var(--focus-ring); }
.sw-chat small { margin-inline-start: auto; color: var(--ink-faint); font-weight: 700; }
.sw-sent { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 16px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-weight: 800; font-size: 13.5px; animation: swPopIn .4s ease; }

/* النهاية */
.sw-done { text-align: center; padding-top: 4px; }
.sw-check { width: 118px; height: 118px; margin: 4px auto 14px; }
.sw-check circle { fill: none; stroke: #35d07f; stroke-width: 6; stroke-dasharray: 340; stroke-dashoffset: 340; animation: swDraw .9s ease .1s forwards; transform-origin: center; }
.sw-check path { fill: none; stroke: #35d07f; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: swDraw .6s ease .85s forwards; }
@keyframes swDraw { to { stroke-dashoffset: 0; } }
.sw-done h3 { margin: 0; font-size: 28px; font-weight: 800; }
.sw-done > p { color: var(--ink-soft); font-size: 15px; font-weight: 500; margin: 8px 0 18px; }
.sw-sum { display: grid; gap: 8px; text-align: start; max-width: 520px; margin: 0 auto; padding: 0; list-style: none; }
.sw-sum li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 16px; background: var(--field); font-size: 14px; font-weight: 700; opacity: 0; animation: swChip .45s ease forwards; }
.sw-sum li:nth-child(1) { animation-delay: .9s; } .sw-sum li:nth-child(2) { animation-delay: 1.05s; } .sw-sum li:nth-child(3) { animation-delay: 1.2s; } .sw-sum li:nth-child(4) { animation-delay: 1.35s; } .sw-sum li:nth-child(5) { animation-delay: 1.5s; }
.sw-sum li i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 13px; font-weight: 800; flex: none; }
.sw-sum li.is-skip i { background: var(--ink-faint); }
.sw-sum li small { margin-inline-start: auto; color: var(--ink-soft); font-weight: 700; }
.sw-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* هاتف */
@media (max-width: 820px) {
  .sw { padding: 0; }
  .sw-shell { width: 100%; height: 100%; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sw-rail { flex-direction: row; align-items: center; padding: 12px 16px; gap: 14px; }
  .sw-brand small, .sw-rail-foot { display: none; }
  .sw-steps { display: flex; gap: 4px; margin: 0 0 0 auto; }
  .sw-steps::before { display: none; }
  .sw-step { padding: 0; background: none !important; }
  .sw-step span { display: none; }
  .sw-step i { margin: 0; width: 24px; height: 24px; font-size: 11px; }
  .sw-head { padding: 18px 20px 4px; } .sw-head h2 { font-size: 21px; }
  .sw-body { padding: 10px 20px; } .sw-foot { padding: 12px 20px 18px; } .sw-msg { padding: 0 20px; }
  .sw-split { grid-template-columns: 1fr; } .sw-receipt { display: none; }
  .sw-cards { grid-template-columns: 1fr; }
  .sw-hero h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .sw *, .sw { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.sw-chatrow { margin-top: 16px; }
.sw-found + .sw-chatrow { margin-top: 14px; }
