/* ===================== มุมมองลูกค้า (มือถือ) #/app ===================== */
body.simple { background: #e2e8f0; }
body.simple #hdr, body.simple #banners, body.simple:not(.sx-wide) #linePrev { display: none !important; }
body.simple #main { padding: 0; }
.sx { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #f1f5f9; padding: 8px 0 96px; position: relative; color: #0f172a; }
.sx-top { padding: 12px 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sx-top b { font-size: 13px; color: #64748b; font-weight: 500; display: block; }
.sx-top h1 { font-size: 21px; font-weight: 700; margin: 0; }
.sx-tb { display: flex; gap: 8px; }
.sx-av { width: 42px; height: 42px; border-radius: 50%; background: #12112b; color: #e6c895; display: grid; place-items: center; font-weight: 700; text-decoration: none; flex: none; }
.sx-av.sx-call { background: #dcfce7; color: #15803d; font-size: 18px; }
.sx-av.big { width: 52px; height: 52px; font-size: 20px; }
.sx-demo { margin: 10px 16px 0; font-size: 12px; background: #ede9fe; color: #5b21b6; border-radius: 10px; padding: 6px 12px; }
.sx-hero { margin: 16px 16px 0; border-radius: 24px; padding: 20px; color: #fff; position: relative; overflow: hidden; }
.sx-hero:after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.sx-ok { background: linear-gradient(150deg, #16a34a, #15803d 60%, #166534); box-shadow: 0 10px 30px rgba(22, 163, 74, .3); }
.sx-warn { background: linear-gradient(150deg, #f59e0b, #d97706 60%, #b45309); box-shadow: 0 10px 30px rgba(217, 119, 6, .3); }
.sx-fire { background: linear-gradient(150deg, #ef4444, #dc2626 60%, #991b1b); box-shadow: 0 10px 30px rgba(220, 38, 38, .4); animation: sxPulse 1.2s ease-in-out infinite; }
.sx-off { background: linear-gradient(150deg, #64748b, #475569); }
@keyframes sxPulse { 50% { filter: brightness(1.15); } }
.sx-site { font-size: 14px; opacity: .95; display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 1; }
.sx-pill { background: rgba(255, 255, 255, .2); color: #fff; border: 0; padding: 3px 11px; border-radius: 99px; font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.sx-st { display: flex; align-items: center; gap: 16px; margin: 16px 0 6px; position: relative; z-index: 1; }
.sx-ring { width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); flex: none; }
.sx-ring svg { width: 40px; }
.sx-st h2 { font-size: 31px; line-height: 1.1; margin: 0; color: #fff; }
.sx-st p { font-size: 14px; opacity: .92; margin: 2px 0 0; }
.sx-live { font-size: 12px; opacity: .85; margin-top: 8px; position: relative; z-index: 1; }
.sx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 16px 0; }
.sx-t { background: #fff; border-radius: 18px; padding: 13px 8px; text-align: center; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
.sx-t .ic { font-size: 23px; }
.sx-t b { display: block; font-size: 13px; margin-top: 3px; }
.sx-t small { display: block; font-size: 11.5px; font-weight: 600; }
.sx-t em { display: block; font-style: normal; font-size: 11px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-t-ok small { color: #16a34a; }
.sx-t-bad small { color: #d97706; }
.sx-t-fire small { color: #dc2626; }
.sx-t-run small { color: #2563eb; }
.sx-t-na small { color: #94a3b8; }
.sx-t-fire { box-shadow: 0 0 0 2px #ef4444; }
.sx-t-bad { box-shadow: 0 0 0 2px #fbbf24; }
.sx h3 { font-size: 15px; margin: 18px 20px 8px; display: flex; justify-content: space-between; align-items: baseline; }
.sx h3 a { font-size: 12.5px; color: #2563eb; font-weight: 500; text-decoration: none; }
.sx-card { background: #fff; border-radius: 16px; margin: 0 16px 8px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 2px 8px rgba(15, 23, 42, .05); color: inherit; text-decoration: none; }
.sx-card[data-site] { cursor: pointer; }
.sx-card.on { box-shadow: 0 0 0 2px #93c5fd; }
.sx-dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; flex: none; background: #f1f5f9; }
.sx-s-ok { background: #dcfce7; }
.sx-s-warn, .sx-d-TROUBLE, .sx-d-SUPERVISORY { background: #fef3c7; }
.sx-s-fire, .sx-d-FIRE { background: #fee2e2; }
.sx-s-off { background: #e2e8f0; }
.sx-d-PUMP { background: #e0f2fe; }
.sx-tx { min-width: 0; flex: 1; }
.sx-tx b { font-size: 14px; display: block; }
.sx-tx span { font-size: 12px; color: #64748b; display: block; overflow: hidden; text-overflow: ellipsis; }
.sx-tx .sx-sn { color: #94a3b8; font-size: 11px; }
.sx-r { margin-left: auto; font-size: 11.5px; color: #94a3b8; white-space: nowrap; }
.sx-ack { margin-left: auto; background: #dc2626; color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; flex: none; }
.sx-ack:disabled { opacity: .5; }
.sx-me { margin-top: 16px; }
.sx-btn { display: block; margin: 12px 16px 0; height: 50px; line-height: 50px; text-align: center; border-radius: 14px; background: #12112b; color: #fff; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; width: calc(100% - 32px); cursor: pointer; }
.sx-btn.ghost { background: #fff; color: #b91c1c; box-shadow: inset 0 0 0 1px #fecaca; }
.sx-tip { margin: 12px 16px 0; background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13px; color: #475569; }
.sx-tip b { display: block; color: #0f172a; margin-bottom: 2px; }
.sx-empty { padding: 60px 20px; text-align: center; color: #64748b; }
.sx-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; height: 70px; background: #fff; border-top: 1px solid #e2e8f0; display: flex; justify-content: space-around; padding: 8px 0 env(safe-area-inset-bottom); z-index: 20; }
.sx-nav a { text-align: center; font-size: 11.5px; color: #94a3b8; text-decoration: none; position: relative; min-width: 70px; }
.sx-nav a i { font-style: normal; display: block; font-size: 21px; }
.sx-nav a.on { color: #16a34a; font-weight: 600; }
.sx-b { position: absolute; top: -2px; left: 50%; margin-left: 6px; background: #dc2626; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 0 6px; line-height: 17px; }

/* หน้าจอเต็มเมื่อเกิดเพลิงไหม้ */
#sxFire { position: fixed; inset: 0; z-index: 1000; background: radial-gradient(circle at 50% 28%, #ef4444, #b91c1c 55%, #7f1d1d); color: #fff; text-align: center; padding: 30px 22px; overflow-y: auto; }
#sxFire > * { max-width: 440px; margin-left: auto; margin-right: auto; }
.sx-fl { width: 110px; height: 110px; margin: 10px auto; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 54px; box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 30px rgba(255, 255, 255, .05); animation: sxBeat 1s ease-in-out infinite; }
@keyframes sxBeat { 50% { transform: scale(1.08); } }
#sxFire h1 { font-size: 42px; margin: 6px auto 0; color: #fff; }
.sx-en { font-size: 13px; letter-spacing: 4px; opacity: .85; }
.sx-fs { margin-top: 12px; font-size: 19px; font-weight: 700; }
.sx-fz { font-size: 15px; opacity: .95; }
.sx-tm { display: inline-block; margin-top: 10px; background: rgba(0, 0, 0, .22); padding: 4px 14px; border-radius: 99px; font-size: 13px; }
.sx-plan { height: 170px; margin-top: 14px; border-radius: 16px; border: 3px solid rgba(255, 255, 255, .55); background-color: #fff; background-size: 260%; background-repeat: no-repeat; position: relative; }
.sx-plan i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #dc2626; border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(220, 38, 38, .3); }
.sx-fb1 { display: block; width: 100%; margin-top: 16px; height: 58px; border-radius: 16px; border: 0; background: #fff; color: #b91c1c; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.sx-fb1:disabled { opacity: .6; }
.sx-fnote { margin-top: 16px; background: rgba(0, 0, 0, .2); border-radius: 12px; padding: 10px; font-size: 14px; }
.sx-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.sx-f2 a { height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-weight: 600; font-size: 14.5px; color: #fff; text-decoration: none; }
.sx-ff { margin-top: 18px; font-size: 12px; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .sx-fire, .sx-fl { animation: none; } }

/* การ์ด LINE ในเดโม (มุมมองวิศวกร) */
#linePrev .lp-card { background: #fff; border-radius: 14px; overflow: hidden; width: 250px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); color: #111; }
#linePrev .lp-ch { background: #dc2626; color: #fff; padding: 9px 12px; }
#linePrev .lp-ch b { display: block; font-size: 14px; }
#linePrev .lp-ch span { font-size: 11px; opacity: .9; }
#linePrev .lp-cb { padding: 9px 12px 4px; font-size: 12.5px; }
#linePrev .lp-cb > b { font-size: 14px; display: block; }
#linePrev .lp-kv span { color: #6b7280; display: inline-block; width: 58px; }
#linePrev .lp-w { color: #b91c1c; font-weight: 600; margin-top: 5px; font-size: 12px; }
#linePrev .lp-cf { padding: 6px 10px 10px; display: grid; gap: 6px; }
#linePrev .lp-b1, #linePrev .lp-b2 { height: 32px; border-radius: 8px; border: 0; font: inherit; font-size: 13px; font-weight: 600; display: grid; place-items: center; text-decoration: none; cursor: pointer; }
#linePrev .lp-b1 { background: #dc2626; color: #fff; }
#linePrev .lp-b2 { background: #f3f4f6; color: #111; }

/* ปุ่มดูผังบนการ์ดสถานะ */
.sx-live { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sx-planbtn { background: rgba(255, 255, 255, .22); color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sx-ev { cursor: pointer; }
/* หน้าผังอาคาร */
.sx-ph { display: flex; align-items: center; gap: 12px; padding: 12px 16px 6px; }
.sx-ph b { display: block; font-size: 19px; }
.sx-ph span { font-size: 12.5px; color: #64748b; }
.sx-back { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 24px; text-decoration: none; color: #0f172a; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); flex: none; }
.sx-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 16px 8px; scrollbar-width: none; }
.sx-tabs button { flex: none; border: 0; background: #fff; border-radius: 99px; padding: 6px 14px; font: inherit; font-size: 13px; color: #475569; box-shadow: 0 1px 4px rgba(15, 23, 42, .08); cursor: pointer; }
.sx-tabs button.on { background: #12112b; color: #fff; }
.sx-pv { height: calc(100vh - 290px); min-height: 300px; margin: 0 16px; border-radius: 18px; border: 0; box-shadow: 0 2px 10px rgba(15, 23, 42, .08); }
.sx-leg { display: flex; gap: 14px; justify-content: center; margin: 10px 16px 0; font-size: 12.5px; color: #475569; }
.sx-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.sx-leg .ok { background: #16a34a; } .sx-leg .warn { background: #f59e0b; } .sx-leg .fire { background: #dc2626; }
.sx-hint { text-align: center; font-size: 11.5px; color: #94a3b8; margin-top: 4px; }
.sxz { cursor: pointer; }
.sxz .h { fill: transparent; }
.sxz .c { stroke: #fff; }
.sxz text { font-weight: 700; fill: #0f172a; stroke: #fff; paint-order: stroke; }
.sxz-ok .c { fill: #16a34a; }
.sxz-warn .c { fill: #f59e0b; } .sxz-warn .h { fill: rgba(245, 158, 11, .25); }
.sxz-off .c { fill: #94a3b8; }
.sxz-fire .c { fill: #dc2626; } .sxz-fire .h { fill: rgba(220, 38, 38, .3); animation: sxHalo 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sxz-fire text { fill: #b91c1c; }
@keyframes sxHalo { 50% { transform: scale(1.5); opacity: .4; } }
.sxz.sel .c { stroke: #1d4ed8; }
.sxz.sel .h { fill: rgba(29, 78, 216, .2); }
.sxr rect { fill: rgba(22, 163, 74, .12); stroke: #16a34a; stroke-width: 3; }
.sxr.sxz-warn rect { fill: rgba(245, 158, 11, .18); stroke: #f59e0b; }
.sxr.sxz-fire rect { fill: rgba(220, 38, 38, .2); stroke: #dc2626; }
.sxr text { stroke-width: 6; }
.sx-zs { position: fixed; left: 50%; transform: translateX(-50%); bottom: 78px; width: calc(100% - 24px); max-width: 456px; background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 -6px 30px rgba(15, 23, 42, .2); z-index: 30; border-top: 6px solid #16a34a; animation: sxUp .2s ease-out; }
.sx-zs-warn { border-top-color: #f59e0b; } .sx-zs-fire { border-top-color: #dc2626; } .sx-zs-off { border-top-color: #94a3b8; }
@keyframes sxUp { from { transform: translate(-50%, 30px); opacity: 0; } }
.sx-x { position: absolute; right: 12px; top: 10px; border: 0; background: #f1f5f9; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; }
.sx-zh { display: flex; gap: 12px; align-items: center; padding-right: 36px; }
.sx-zn { min-width: 40px; height: 40px; border-radius: 12px; background: #12112b; color: #fff; display: grid; place-items: center; font-weight: 700; padding: 0 6px; }
.sx-zh b { display: block; font-size: 16px; }
.sx-zh span { font-size: 13px; color: #64748b; }
.sx-ze { margin-top: 10px; background: #fef2f2; border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.sx-ze span { display: block; color: #64748b; font-size: 12px; }
.sx-zd { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sx-zd span { background: #f1f5f9; border-radius: 99px; padding: 3px 10px; font-size: 12px; color: #475569; }
.sx-zack { background: #dc2626 !important; color: #fff !important; height: 50px !important; margin-top: 12px !important; font-size: 16px !important; }

/* ปุ่มลอยกลับหน้าลูกค้า (บัญชีมุมมองลูกค้าที่เข้าไปหน้าวิศวกร) */
#backApp { position: fixed; right: 16px; bottom: 18px; z-index: 900; background: #16a34a; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 99px; box-shadow: 0 8px 24px rgba(22, 163, 74, .4); }
#backApp.hidden { display: none; }

/* ===================== จอคอมเฝ้าระวัง (#/app บนจอกว้าง ≥ 1100px) ===================== */
body.sx-wide { background: #0f1424; }
body.sx-wide .sx { max-width: none; background: #0f1424; padding: 0; color: #e2e8f0; }
body.sx-wide .sx-nav { display: none; }
body.sx-wide #linePrev { z-index: 1001; }   /* เดโม: เห็นการ์ด LINE เด้งทับหน้าจอแดง */
.sxd { min-height: 100vh; display: flex; flex-direction: column; padding: 18px 28px 14px; gap: 16px; }
.sxd-top { display: flex; align-items: center; gap: 24px; }
.sxd-brand { flex: 1; }
.sxd-brand b { display: block; font-size: 22px; color: #fff; }
.sxd-brand span { font-size: 14px; color: #94a3b8; }
.sxd-clock { text-align: center; }
.sxd-clock b { display: block; font-size: 40px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.05; }
.sxd-clock span { font-size: 14px; color: #94a3b8; }
.sxd-act { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.sxd-act button, .sxd-act > a:not(.sx-av) { background: #1e2640; color: #e2e8f0; border: 1px solid #2d3858; border-radius: 12px; height: 42px; padding: 0 16px; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; display: grid; place-items: center; }
.sxd-act button:hover, .sxd-act > a:hover { background: #283252; }
.sxd .sx-demo { margin: 0; }
.sxd-arm { display: flex; align-items: center; justify-content: center; gap: 14px; background: #2563eb; color: #fff; border: 0; border-radius: 16px; padding: 16px; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; animation: sxPulse 1.6s ease-in-out infinite; }
.sxd-arm span { font-size: 14px; font-weight: 400; opacity: .9; }
.sxd-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.sxd-sum { border-radius: 24px; padding: 26px 30px; color: #fff; display: flex; align-items: center; gap: 24px; }
.sxd-sum .sx-ring { width: 96px; height: 96px; font-size: 44px; }
.sxd-sum h2 { font-size: 46px; margin: 0; color: #fff; line-height: 1.1; }
.sxd-sum p { margin: 4px 0 0; font-size: 17px; opacity: .92; }
.sxd-cnt { margin-left: auto; display: flex; gap: 10px; }
.sxd-cnt span { background: rgba(0, 0, 0, .18); border-radius: 14px; padding: 8px 14px; text-align: center; font-size: 13px; min-width: 76px; }
.sxd-cnt b { display: block; font-size: 26px; }
.sxd-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-top: 18px; }
.sxd-site { background: #fff; color: #0f172a; border-radius: 20px; padding: 18px; border-top: 8px solid #16a34a; display: flex; flex-direction: column; gap: 14px; }
.sxd-site.sxd-warn { border-top-color: #f59e0b; }
.sxd-site.sxd-fire { border-top-color: #dc2626; box-shadow: 0 0 0 3px #ef4444, 0 0 30px rgba(239, 68, 68, .5); animation: sxPulse 1.2s ease-in-out infinite; }
.sxd-site.sxd-off { border-top-color: #64748b; }
.sxd-sh { display: flex; gap: 12px; align-items: center; }
.sxd-sh > span { font-size: 28px; }
.sxd-sh b { display: block; font-size: 18px; }
.sxd-sh em { font-style: normal; font-size: 13.5px; color: #64748b; }
.sxd-sys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sxd-sys > div { background: #f1f5f9; border-radius: 12px; padding: 8px 6px; text-align: center; }
.sxd-sys i { font-style: normal; font-size: 20px; display: block; }
.sxd-sys b { display: block; font-size: 13px; }
.sxd-sys small { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sxd-sys .sx-t-ok small { color: #16a34a; } .sxd-sys .sx-t-bad small { color: #d97706; } .sxd-sys .sx-t-fire small { color: #dc2626; } .sxd-sys .sx-t-run small { color: #2563eb; } .sxd-sys .sx-t-na small { color: #94a3b8; }
.sxd-sf { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; }
.sxd-sf a { background: #12112b; color: #fff; border-radius: 10px; padding: 7px 12px; text-decoration: none; font-size: 13px; }
.sxd-side { background: #161d33; border-radius: 20px; padding: 6px 0 12px; max-height: calc(100vh - 170px); overflow-y: auto; }
.sxd-side h3 { color: #e2e8f0; }
.sxd-side h3 a { color: #93c5fd; }
.sxd-side .sx-card { margin: 0 12px 8px; }
.sxd-foot { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; }
#sxdWl { color: #4ade80; }
@media (min-width: 1100px) {
  #sxFire { padding-top: 40px; }
  #sxFire > * { max-width: 760px; }
  #sxFire h1 { font-size: 72px; text-align: center; }
  .sx-fs { font-size: 28px; } .sx-fz { font-size: 20px; }
  .sx-plan { height: 340px; background-size: 200%; }
  .sx-fb1 { height: 72px; font-size: 24px; }
}
#linePrev .lp-bubble a { display: block; color: #1d4ed8; word-break: break-all; margin-top: 2px; }
.sxd-side .sx-card { color: #0f172a; }

/* ปุ่มทดสอบ Alarm (เดโม) */
.sx-test { margin: 12px 16px 0; }
.sx-tbtn { background: #7c3aed; color: #fff; border: 0; border-radius: 14px; height: 46px; padding: 0 18px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; width: 100%; }
.sx-tbtn.reset { background: #0f766e; }
.sx-tbtn:disabled { opacity: .5; }
.sxd-act .sx-tbtn { width: auto; height: 42px; font-size: 14px; }

/* ผังอาคารบนจอคอม */
body.sx-wideplan .sx { max-width: 1600px; padding-bottom: 16px; }
body.sx-wideplan .sx-nav { display: none; }
body.sx-wideplan .sx-pv { height: calc(100vh - 170px); }
body.sx-wideplan .sx-zs { left: auto; right: 32px; bottom: 32px; transform: none; width: 400px; animation: none; }

/* จอคอม: หน้าเหตุการณ์ / บัญชี */
.sxd-page { flex: 1; }
.sxd-pt { font-size: 26px; color: #fff; margin: 4px 0 4px; }
.sxd-page .sx-card { color: #0f172a; margin-left: 0; margin-right: 0; }
.sxd-page h3 { color: #e2e8f0; margin-left: 4px; margin-right: 4px; }
.sxd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sxd-cols > section { background: #161d33; border-radius: 20px; padding: 4px 14px 14px; }
.sxd-cols .sx-test { margin: 12px 0 0; }
.sxd-pg-me { max-width: 560px; }
.sxd-pg-me .sx-btn { margin-left: 0; margin-right: 0; width: 100%; }
.sxd-pg-me .sx-tip { margin-left: 0; margin-right: 0; }
.tx-prev { background: #f6f7f9; border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; font-size: 13px; margin: 0 0 10px; color: #1f2329; }
#nTx input { width: 100%; box-sizing: border-box; } #nTx label { display: block; }
.pick-wrap { position: relative; border: 1px solid #e4e7ec; border-radius: 10px; overflow: hidden; cursor: crosshair; max-height: 55vh; } .pick-wrap img { width: 100%; display: block; } .pick-wrap i { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #dc2626; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(220, 38, 38, .3); pointer-events: none; } .pick-wrap i.hidden { display: none; }
