/* ⑧ 自助签到 —— 取自 origin/main about-store/* 与 kiosk/[token]/** 的 Tailwind class（spec-kiosk.md §0 色值）。所有类名 ks- 前缀。 */
.ks-gap { flex: 1; }

/* ---------- dweb · 关于本店 ---------- */
.ks-amain { flex: 1; min-height: 0; background: #F9FAFB; overflow: hidden; }
.ks-about { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.ks-ah h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; color: #0A1629; }
.ks-ah p { margin: 4px 0 0; font-size: 13px; color: #64748B; }
.ks-ag { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.ks-card { border-radius: 16px; border: 1px solid #E5E7EB; background: #fff; padding: 18px 20px; box-shadow: 0 2px 8px rgba(10, 22, 41, .04); }
.ks-store { display: flex; flex-direction: column; gap: 14px; }
.ks-row { display: flex; align-items: center; gap: 12px; }
.ks-logot { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-700); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ks-sname { display: block; font-size: 17px; color: #0A1629; }
.ks-pill { display: inline-block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; }
.ks-pill.ok { background: #DEF6F1; color: #047857; }
.ks-kv { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #1C3E60; }
.ks-kv small { font-size: 12px; color: #94A3B8; }
.ks-acol { display: flex; flex-direction: column; gap: 10px; }
.ks-sec { font-size: 12px; font-weight: 600; color: #94A3B8; letter-spacing: .02em; padding: 6px 2px 0; border-radius: 6px; }
.ks-lrow { display: flex; align-items: center; gap: 12px; }
.ks-lic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; }
.ks-lt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-lt b { font-size: 15px; color: #0A1629; }
.ks-lt small { font-size: 12.5px; line-height: 18px; color: #64748B; }
.ks-dev { display: flex; flex-direction: column; gap: 12px; }
.ks-dh { display: flex; align-items: flex-start; gap: 12px; }
.ks-chip { flex: none; font-style: normal; font-size: 11.5px; font-weight: 500; color: #64748B; background: #F1F5F9; border-radius: 999px; padding: 3px 9px; }
.ks-dact { display: flex; align-items: center; gap: 8px; padding-left: 48px; }
.ks-tog { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #1C3E60; border-radius: 8px; padding: 2px 4px; }
.ks-sw { width: 36px; height: 20px; border-radius: 999px; background: #CED5E0; position: relative; transition: background .2s; flex: none; }
.ks-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .2s; }
.ks-sw.on { background: var(--brand-500); } .ks-sw.on i { left: 18px; }
.ks-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.ks-btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.ks-btn.out { border: 1px solid #D8E0F0; background: #fff; color: #1C3E60; }
.ks-btn.pri { background: var(--brand-700); color: #fff; justify-content: center; }
.ks-hint { margin: 2px 2px 0; font-size: 12.5px; color: #64748B; }
.ks-hint a { color: var(--brand-700); font-weight: 500; }
/* 二维码弹层（about-store QR sheet） */
.ks-qrs { position: absolute; z-index: 50; left: 50%; top: 50%; translate: -50% -50%; width: 340px; border-radius: 16px; background: #fff; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 24px 60px -16px rgba(10, 22, 41, .35); animation: kt-fade .2s ease; }
.ks-qrs b { font-size: 16px; color: #0A1629; } .ks-qrs small { font-size: 12.5px; color: #64748B; }
.ks-qrs .ks-url { font-family: ui-monospace, Menlo, monospace; color: #1C3E60; }
.ks-qrs .ks-btn { width: 100%; }
/* iPad 主屏幕图标示意 */
.ks-hs { position: absolute; z-index: 45; right: 48px; bottom: 56px; width: 300px; border-radius: 24px; padding: 18px 20px 22px; background: linear-gradient(160deg, #1E3A5F, #0F766E); box-shadow: 0 24px 60px -16px rgba(10, 22, 41, .5); animation: kt-fade .3s ease; }
.ks-hs > small { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; margin-bottom: 14px; }
.ks-hsg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ks-app { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ks-app i { width: 52px; height: 52px; border-radius: 13px; opacity: .55; }
.ks-app em { font-style: normal; font-size: 10.5px; color: #fff; height: 13px; white-space: nowrap; }
.ks-app.me i { opacity: 1; background: #fff; color: #0F766E; font-style: normal; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(61, 202, 177, .8); }

/* ---------- iPad 外框（1180×820 横屏） ---------- */
.ks-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, #EEF3F2 0%, #DCE4E2 100%); display: flex; align-items: center; justify-content: center; }
.ks-ipad { width: 1212px; height: 852px; border-radius: 44px; background: #16181C; padding: 16px; box-shadow: 0 30px 60px -20px rgba(10, 22, 41, .5), inset 0 0 0 2px #2A2D33; }
.ks-screen { position: relative; width: 1180px; height: 820px; border-radius: 28px; overflow: hidden; background: #FAFCFB; color: #1C3E60; }
.ks-screen.claim { background: #F9FAFB; }

/* ---------- kiosk 外壳（kiosk-shell.tsx） ---------- */
.ks-shell { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(145deg, #E7F7EF 0%, #FAFCFB 60%); }
.ks-head { height: 88px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.ks-hl, .ks-hr { display: flex; align-items: center; gap: 10px; }
.ks-hl { gap: 12px; }
.ks-backp { height: 56px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: #fff; border: 1px solid #D8E0F0; font-size: 19px; font-weight: 600; color: #0A1629; margin-right: 4px; }
.ks-sb { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-700); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ks-sn { font-size: 19px; font-weight: 600; color: #0A1629; }
.ks-hp { position: relative; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #fff; border: 1px solid #E5E7EB; font-size: 13px; font-weight: 500; color: #64748B; white-space: nowrap; }
.ks-hp.num { font-variant-numeric: tabular-nums; }
.ks-rdot { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: #DC2626; border: 2px solid #fff; }
.ks-main { flex: 1; min-height: 0; padding: 0 40px; position: relative; }
.ks-foot { height: 64px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; font-size: 13px; color: #64748B; }
.ks-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.ks-fdot { width: 6px; height: 6px; border-radius: 50%; background: #CBD5E1; }
.ks-brand { font-size: 12px; color: #94A3B8; } .ks-brand b { color: var(--brand-500); }

/* 首页两张卡（kiosk-choose-screen.tsx） */
.ks-choose { height: 100%; display: flex; flex-direction: column; gap: 22px; padding-bottom: 36px; }
.ks-choose h2 { margin: 0; font-size: 44px; line-height: 1.15; font-weight: 700; color: #0A1629; }
.ks-cards { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ks-cc { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 16px; color: #fff; }
.ks-cc.pri { background: linear-gradient(160deg, #3DCAB1, #26A38C); box-shadow: 0 20px 40px -12px rgba(38, 163, 140, .45); }
.ks-cc.navy { background: #1C3E60; }
.ks-cic { width: 80px; height: 80px; border-radius: 22px; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.ks-cc.navy .ks-cic { background: rgba(255, 255, 255, .1); }
.ks-cc b { font-size: 40px; line-height: 1.15; font-weight: 700; }
.ks-cc p { margin: 0; flex: 1; font-size: 19px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.ks-ccta { height: 84px; border-radius: 999px; background: #fff; color: var(--brand-700); font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ks-cc.navy .ks-ccta { color: #1C3E60; }

/* 键盘（identify-by-phone.tsx） */
.ks-phone { height: 100%; display: flex; gap: 32px; padding-bottom: 24px; }
.ks-pl { width: 440px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.ks-eb { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--brand-600); }
.ks-pl h2 { margin: 0; font-size: 38px; line-height: 1.15; font-weight: 700; color: #0A1629; }
.ks-pl p { margin: 0; font-size: 16px; line-height: 1.5; color: #64748B; }
.ks-digits { margin-top: 10px; height: 112px; border-radius: 24px; border: 2px solid var(--brand-500); background: #fff; display: flex; align-items: center; justify-content: center; gap: 26px; font-family: ui-monospace, Menlo, monospace; font-size: 64px; box-shadow: 0 12px 28px -8px rgba(61, 202, 177, .3); }
.ks-digits i { font-style: normal; color: #CBD5E1; } .ks-digits b { color: var(--brand-600); font-weight: 600; }
.ks-err { height: 30px; }
.ks-cont { margin-top: auto; height: 84px; border-radius: 999px; background: #CBD5E1; color: #fff; font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s; }
.ks-cont.on { background: var(--brand-700); }
.ks-pr { flex: 1; min-width: 0; padding: 0 24px; display: flex; flex-direction: column; gap: 14px; }
.ks-keys { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.ks-key { border-radius: 22px; border: 1px solid #E5E7EB; background: #fff; font-size: 34px; font-weight: 500; color: #0A1629; display: flex; align-items: center; justify-content: center; }
.ks-key.mut { background: #F9FAFB; font-size: 18px; color: #64748B; }
.ks-key.pressed, .ks-cc.pressed, .ks-sv.pressed { transform: scale(.97); }
.ks-swalk { height: 60px; border-radius: 999px; border: 2px solid #1C3E60; font-size: 20px; font-weight: 600; color: #1C3E60; display: flex; align-items: center; justify-content: center; gap: 10px; }

/* 居中卡片（confirm / update / first-visit / staff） */
.ks-center { height: 100%; display: flex; align-items: center; justify-content: center; padding-bottom: 8px; }
.ks-ebp { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .5px; color: var(--brand-700); background: var(--brand-100); border-radius: 999px; padding: 6px 14px; }
.ks-ccard { width: 860px; border-radius: 24px; border: 1px solid #E5E7EB; background: #fff; padding: 40px 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; box-shadow: 0 24px 60px -16px rgba(10, 22, 41, .12); }
.ks-av { width: 104px; height: 104px; border-radius: 24px; font-size: 44px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ks-av.pink { background: #FCE7F3; color: #9D174D; }
.ks-ccard h2, .ks-pcard h2, .ks-scard h2 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; color: #0A1629; text-align: center; }
.ks-meta { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ks-mc { display: flex; align-items: center; gap: 12px; border-radius: 16px; background: #F9FAFB; padding: 14px 16px; }
.ks-mc small { display: block; font-size: 12px; color: #64748B; } .ks-mc b { font-size: 16px; color: #0A1629; }
.ks-mi { width: 42px; height: 42px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; }
.ks-mi.teal { background: var(--brand-100); color: var(--brand-600); } .ks-mi.amber { background: #FEF3C7; color: #B45309; } .ks-mi.info { background: #E0F2FE; color: #0369A1; }
.ks-btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ks-b2 { height: 76px; border-radius: 18px; font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ks-b2.out { background: #fff; border: 1px solid #D8E0F0; color: #1C3E60; } .ks-b2.pri { background: var(--brand-700); color: #fff; }
.ks-pcard { width: 800px; border-radius: 24px; border: 1px solid #E5E7EB; background: #fff; padding: 36px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: 0 24px 60px -16px rgba(10, 22, 41, .12); }
.ks-pcard p, .ks-scard p { margin: 0; font-size: 17px; line-height: 1.5; color: #64748B; text-align: center; }
.ks-bp { width: 100%; height: 76px; border-radius: 999px; background: var(--brand-700); color: #fff; font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; flex: none; }
.ks-bp.sm { height: 60px; font-size: 19px; }
.ks-bp.dis { background: #CBD5E1; }
.ks-bo { width: 100%; height: 60px; border-radius: 999px; background: #fff; border: 1px solid #D8E0F0; color: #1C3E60; font-size: 18px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ks-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #94A3B8; }
.ks-ok { width: 112px; height: 112px; border-radius: 28px; background: var(--brand-100); color: var(--brand-500); display: flex; align-items: center; justify-content: center; }

/* 欢迎（welcome-screen.tsx） */
.ks-wel { position: absolute; inset: 0; background: linear-gradient(145deg, #3DCAB1, #26A38C); display: flex; align-items: center; justify-content: center; }
.ks-wcard { width: 680px; border-radius: 28px; background: #fff; padding: 48px 48px 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: 0 40px 100px -28px rgba(4, 112, 86, .45); text-align: center; }
.ks-wring { width: 120px; height: 120px; border-radius: 50%; background: var(--brand-100); display: flex; align-items: center; justify-content: center; }
.ks-wdisc { width: 84px; height: 84px; border-radius: 50%; background: var(--brand-500); color: #fff; display: flex; align-items: center; justify-content: center; }
.ks-wcard h2 { margin: 0; font-size: 40px; font-weight: 700; color: #0A1629; }
.ks-wcard p { margin: 0; font-size: 18px; color: #64748B; }
.ks-wmeta { display: flex; gap: 12px; }
.ks-wm { height: 52px; padding: 0 18px; border-radius: 14px; background: #F9FAFB; border: 1px solid #E5E7EB; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #0A1629; }
.ks-ring { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--brand-500); }
.ks-tini { width: 28px; height: 28px; border-radius: 50%; background: #E0F2FE; color: #0369A1; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ks-tap { font-size: 13px; color: #94A3B8; }

/* 现场预约（kiosk-walkin-onepage.tsx） */
.ks-walk { height: 100%; display: flex; gap: 24px; padding-bottom: 20px; }
.ks-wl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ks-wl h3 { margin: 0; font-size: 24px; font-weight: 700; color: #0A1629; }
.ks-wl > p { margin: -4px 0 2px; font-size: 14px; color: #64748B; }
.ks-fd { display: flex; align-items: center; gap: 12px; border: 2px solid var(--brand-200); background: var(--brand-50); border-radius: 16px; padding: 12px 14px; color: var(--brand-700); }
.ks-fdi { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.ks-cats { display: flex; gap: 8px; }
.ks-cats span { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; font-size: 14px; font-weight: 500; color: #1C3E60; display: inline-flex; align-items: center; }
.ks-cats span.on { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.ks-svg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ks-sv { display: flex; align-items: center; gap: 12px; border: 2px solid #E5E7EB; background: #fff; border-radius: 16px; padding: 12px 14px; transition: transform .1s; }
.ks-sv.on { border-color: var(--brand-500); background: var(--brand-100); }
.ks-svi { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-100); color: var(--brand-600); display: flex; align-items: center; justify-content: center; flex: none; }
.ks-sv.on .ks-svi { border-radius: 50%; background: var(--brand-600); color: #fff; font-size: 18px; }
.ks-svt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-svt b { font-size: 16px; font-weight: 600; color: #0A1629; } .ks-svt small { font-size: 13px; color: #64748B; }
.ks-wr { width: 380px; flex: none; }
.ks-sum { background: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 32px -12px rgba(10, 22, 41, .15); border: 1px solid #E5E7EB; }
.ks-sumt { font-size: 17px; color: #0A1629; }
.ks-empty { margin: 0; font-size: 14px; color: #94A3B8; }
.ks-sel { background: var(--brand-100); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ks-sr { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #0A1629; }
.ks-num { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-600); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.ks-srt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ks-srt small { font-size: 12px; color: #64748B; }
.ks-srx { color: #94A3B8; }
.ks-tot { border-top: 1px solid rgba(15, 118, 110, .15); padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--brand-700); }
.ks-srow { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ks-srow small { width: 64px; flex: none; color: #64748B; font-size: 13px; }
.ks-sv2 { flex: 1; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #0A1629; }
.ks-sv2.g { color: var(--brand-600); }
.ks-srow a { font-size: 13px; font-weight: 600; color: var(--brand-700); border-radius: 6px; padding: 2px 4px; }
.ks-tp { border: 1px solid #E5E7EB; border-radius: 14px; overflow: hidden; }
.ks-to { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 14px; border-bottom: 1px solid #F1F5F9; }
.ks-to:last-child { border-bottom: 0; }
.ks-to b { flex: 1; color: #0A1629; font-weight: 600; }
.ks-to.on { background: var(--brand-50); }
.ks-to em { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 8px; background: #F1F5F9; color: #64748B; }
.ks-to em.g { background: #DEF6F1; color: #047857; } .ks-to em.a { background: #FEF3C7; color: #92400E; }
.ks-to.dis { opacity: .5; }
.ks-to > .lu { color: var(--brand-600); }
.ks-sum hr { width: 100%; border: 0; border-top: 1px solid #EDEFF0; margin: 0; }
.ks-in { height: 48px; border-radius: 12px; border: 1px solid #D8E0F0; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 16px; color: #0A1629; }
.ks-in > i { font-style: normal; color: #94A3B8; }
.ks-in.focus { border: 2px solid var(--brand-500); }
.ks-in .ks-caret { width: 2px; height: 22px; background: var(--brand-700); margin-left: 1px; animation: kt-blink 1s steps(1) infinite; }
.ks-names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ks-names .ks-in { font-size: 14px; }
.ks-sum .ks-bp { height: 64px; font-size: 20px; }
.ks-note { font-size: 12.5px; color: #64748B; text-align: center; }
@keyframes kt-blink { 50% { opacity: 0; } }

/* 员工签字 */
.ks-scard { width: 620px; border-radius: 24px; border: 1px solid #E5E7EB; background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px -10px rgba(10, 22, 41, .15); }
.ks-scard .ks-ebp { align-self: flex-start; }
.ks-scard h2, .ks-scard p { text-align: left; }
.ks-scard.c { align-items: center; } .ks-scard.c h2, .ks-scard.c p { text-align: center; }
.ks-srow2 { display: flex; align-items: center; gap: 12px; border-radius: 16px; border: 1px solid #E5E7EB; background: #F9FAFB; padding: 18px 20px; }
.ks-srow2 > span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ks-srow2 b { font-size: 22px; color: #0A1629; } .ks-srow2 small { font-size: 15px; color: #64748B; }
.ks-sdone { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-500); color: #fff; display: flex; align-items: center; justify-content: center; }
.ks-conf { height: 100%; display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.ks-cfh h2 { margin: 0; font-size: 30px; font-weight: 700; color: #0A1629; } .ks-cfh small { font-size: 15px; color: #64748B; }
.ks-cfb { flex: 1; min-height: 0; display: grid; grid-template-columns: 260px 1fr; gap: 16px; }
.ks-cfl, .ks-cfr { background: #fff; border: 1px solid #E5E7EB; border-radius: 18px; padding: 14px 18px; }
.ks-cfl { display: flex; align-items: center; justify-content: center; }
.ks-body { height: 280px; }
.ks-cfr b { font-size: 16px; color: #0A1629; }
.ks-ia { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.ks-ia div { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid #F1F5F9; }
.ks-ia small { font-size: 12px; color: #64748B; } .ks-ia b { font-size: 15px; font-weight: 600; }
.ks-cff { display: flex; gap: 16px; align-items: stretch; }
.ks-pad { position: relative; flex: 1; height: 132px; border-radius: 16px; border: 1.5px dashed var(--brand-200); background: #fff; display: flex; align-items: center; justify-content: center; }
.ks-pad > i { font-style: normal; font-size: 18px; color: #94A3B8; }
.ks-padc { position: absolute; right: 12px; top: 10px; font-size: 13px; color: #64748B; }
.ks-sig { width: 86%; height: 100px; }
.ks-sig path { stroke-dasharray: 1400; stroke-dashoffset: 0; }
.ks-sig.draw path { animation: ks-sig 1.2s ease-out both; }
@keyframes ks-sig { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
.ks-pads { width: 300px; flex: none; display: flex; align-items: flex-end; }

/* ---------- 认领屏（claim-grid / claim-tile / my-jobs） ---------- */
.ks-claim { position: absolute; inset: 0; padding: 28px 32px 22px; display: flex; flex-direction: column; gap: 16px; }
.ks-clh { display: flex; align-items: center; gap: 10px; }
.ks-clh h2 { margin: 0; font-size: 32px; font-weight: 700; color: #0A1629; } .ks-clh p { margin: 4px 0 0; font-size: 15px; color: #64748B; }
.ks-flt { height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; color: #1C3E60; }
.ks-flt.on { background: #0A1629; border-color: #0A1629; color: #fff; }
.ks-pend { border-radius: 18px; background: #FFFBEB; border: 1px solid #FDE68A; padding: 12px 14px; display: flex; gap: 14px; align-items: center; }
.ks-pendh { display: flex; flex-direction: column; gap: 4px; width: 170px; }
.ks-pendh b { font-size: 17px; color: #92400E; } .ks-pendh small { font-size: 12.5px; color: #92400E; opacity: .8; }
.ks-amb { position: absolute; display: none; }
.ks-pc { min-width: 212px; background: #fff; border-radius: 14px; border: 1px solid #FDE68A; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.ks-pc b { font-size: 22px; color: #0A1629; } .ks-pc span { font-size: 14px; font-weight: 600; color: #1C3E60; } .ks-pc small { font-size: 12.5px; color: #64748B; }
.ks-tiles { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 14px; align-content: start; }
.ks-tile { border-radius: 20px; border: 1px solid #E5E7EB; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ks-tile b { font-size: 30px; font-weight: 700; color: #0A1629; line-height: 1.1; }
.ks-tile.next { border-color: var(--brand-500); background: var(--brand-50); }
.ks-tile.run { border: 2px solid #7C6BC9; }
.ks-bdg { width: 60px; height: 60px; border-radius: 10px; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; flex: none; }
.ks-bdg.big { width: 52px; height: 52px; font-size: 22px; }
.ks-cap { align-self: flex-start; border-radius: 999px; padding: 3px 12px; font-size: 18px; font-weight: 600; white-space: nowrap; }
.ks-cap.next { background: #fff; border: 1px solid var(--brand-200); color: var(--brand-700); }
.ks-cap.run { background: #F4F0FD; color: #5B4BB7; }
.ks-leg { display: flex; gap: 22px; font-size: 13px; color: #64748B; }
.ks-leg span { display: inline-flex; align-items: center; gap: 6px; }
.ks-leg i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #E5E7EB; background: #fff; }
.ks-leg i.lg1 { border-color: var(--brand-500); background: var(--brand-50); } .ks-leg i.lg2 { border: 2px solid #7C6BC9; } .ks-leg i.lg3 { border: 2px solid #DC2626; background: #FEF2F2; } .ks-leg i.lg4 { border: 1px dashed #D8E0F0; background: #F9FAFB; }
.ks-mine { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ks-mh { height: 92px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 28px; background: #fff; border-bottom: 1px solid #EDEFF0; }
.ks-notme { height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid #D8E0F0; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: #1C3E60; }
.ks-mme { display: inline-flex; align-items: center; gap: 12px; } .ks-mme b { font-size: 34px; color: #0A1629; }
.ks-mb { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 360px; gap: 20px; padding: 22px 28px; }
.ks-mcol { display: flex; flex-direction: column; gap: 12px; }
.ks-msec { display: flex; align-items: baseline; gap: 6px; } .ks-msec b { font-size: 19px; color: #0A1629; } .ks-msec small { font-size: 14px; color: #94A3B8; }
.ks-job { display: flex; align-items: center; gap: 14px; border-radius: 18px; border: 1px solid #E5E7EB; background: #fff; padding: 16px 18px; }
.ks-job.run { border: 2px solid #7C6BC9; background: #FBFAFF; }
.ks-job.sm { padding: 12px 14px; }
.ks-jl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ks-jt { font-size: 20px; color: #0A1629; } .ks-job.run .ks-jt { color: #5B4BB7; font-size: 18px; }
.ks-jc { font-size: 15px; color: #64748B; }
.ks-job.sm .ks-jt { font-size: 17px; } .ks-job.sm .ks-jc { font-size: 13px; }
.ks-jb { display: flex; align-items: center; gap: 10px; }
.ks-jbtn { height: 68px; min-width: 180px; padding: 0 24px; border-radius: 999px; background: var(--brand-700); color: #fff; font-size: 22px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ks-jbtn.end { background: #7C6BC9; }
.ks-jbtn.dis { background: #CBD5E1; }
.ks-jbtn.out { height: 48px; min-width: 0; font-size: 16px; background: #fff; border: 2px solid var(--brand-500); color: var(--brand-700); }
.ks-jbtn.out.dis { border-color: #CBD5E1; color: #94A3B8; background: #fff; }
.ks-undo { font-size: 13px; font-weight: 600; color: #5B4BB7; border-radius: 999px; border: 1px solid #D4CBF9; padding: 8px 12px; white-space: nowrap; }
.ks-mnote { font-size: 13px; color: #94A3B8; }
.ks-mcol.side { background: #fff; border: 1px solid #E5E7EB; border-radius: 20px; padding: 16px; }
.ks-newj { margin-top: auto; border-radius: 16px; background: #F9FAFB; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.ks-newj b { font-size: 16px; color: #0A1629; } .ks-newj small { font-size: 13px; color: #64748B; }
.ks-newj .ks-jbtn { align-self: flex-start; margin-top: 4px; }
/* KUE-1391 不指定理疗师约好后：等理疗师接单（walkin-awaiting-therapist-screen.tsx） */
.ks-aw { width: 96px; height: 96px; border-radius: 999px; background: var(--brand-100); color: var(--brand-500); display: flex; align-items: center; justify-content: center; }
.ks-pcard p.ks-pre { white-space: pre-line; font-size: 18px; line-height: 1.6; max-width: 640px; }
.ks-job .ks-jl .ks-jc + .ks-jc { font-size: 12px; color: #64748B; }
