:root {
  --bg: #f4f7fb; --card: #fff; --ink: #14202e; --mute: #5b6b7d; --line: #dde5ee;
  --pri: #1f6feb; --pri-ink: #fff; --ok: #1a7f37; --warn: #b35900; --bad: #c62828;
  --r: 14px; --nav: 76px;
}
* { box-sizing: border-box; }
/* 14/11 bản 2: KHÔNG khoá height:100% cho body — trước đây phần đệm dưới không được tính vào
   chiều cuộn ⇒ nút «お願いする» nằm khuất dưới thanh tab, không vuốt lên được, không bấm được. */
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100dvh; }
body.noscroll { overflow: hidden; }
body {
  background: var(--bg); color: var(--ink);
  font: 19px/1.55 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom));
}
.top { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px calc(8px) ; padding-top: calc(12px + env(safe-area-inset-top));
  background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 500; }
.brand { font-size: 22px; }
.tag { color: var(--mute); font-size: 14px; }

main { padding: 12px 16px 24px; max-width: 720px; margin: 0 auto; }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--nav) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: flex; background: var(--card); border-top: 1px solid var(--line); z-index: 600; }
.tabs button { flex: 1; border: 0; background: none; font: inherit; color: var(--mute); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.tabs button span { font-size: 28px; line-height: 1; }
.tabs button i { font-style: normal; font-size: 15px; }
.tabs button.on { color: var(--pri); font-weight: 600; }

.map { height: min(46vh, 380px); min-height: 220px; border-radius: var(--r); border: 1px solid var(--line); z-index: 1; }
.map.small { height: 220px; min-height: 0; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.seg button { border: 0; background: none; padding: 8px 18px; font: inherit; font-size: 17px; cursor: pointer; }
.seg button.on { background: var(--pri); color: var(--pri-ink); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin: 10px 0; }
.job { display: flex; gap: 12px; cursor: pointer; align-items: center; }
.job img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--line); flex: none; }
.job .k { font-weight: 600; }
.job .m { color: var(--mute); font-size: 16px; }
.pill { display: inline-block; font-size: 15px; padding: 2px 8px; border-radius: 999px; background: #e8f0fe; color: var(--pri); }
.pill.taken { background: #fff4e5; color: var(--warn); }
.pill.done { background: #fff4e5; color: var(--warn); }
.pill.confirmed { background: #e6f4ea; color: var(--ok); }
.pill.cancelled { background: #eee; color: var(--mute); }

h2 { font-size: 18px; margin: 16px 0 8px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
.hint { color: var(--mute); font-size: 16px; margin: 4px 0; white-space: pre-line; }
input[type=text], input[type=email], input[type=password], textarea, select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--card); color: var(--ink); }
textarea { min-height: 72px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.chips button.on { border-color: var(--pri); background: #e8f0fe; color: var(--pri); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 12px 16px;
  font: inherit; font-weight: 600; background: var(--pri); color: var(--pri-ink); cursor: pointer; text-decoration: none; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.bad { background: var(--card); color: var(--bad); border: 1px solid #f3c7c7; }
.btn:disabled { opacity: .5; cursor: default; }
.preview { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--r); margin-top: 8px; }
.notice { background: #fff8e1; border: 1px solid #f5d98b; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 12px 0; }
.free { background: #e6f4ea; border: 1px solid #b7dfc2; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 12px 0; }

.sheet-back { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 900; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; background: var(--card); z-index: 901;
  border-radius: 18px 18px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; }
.sheet .close { float: right; border: 0; background: none; font-size: 24px; cursor: pointer; line-height: 1; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photos.one { grid-template-columns: 1fr; }
.photos.one img { aspect-ratio: 4 / 3; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--line); }
.photos figcaption { font-size: 15px; color: var(--mute); }
.chat { border: 1px solid var(--line); border-radius: 12px; padding: 8px; max-height: 240px; overflow: auto; background: var(--bg); }
.msg { margin: 4px 0; max-width: 80%; padding: 6px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); word-wrap: break-word; }
.msg.me { margin-left: auto; background: #e8f0fe; border-color: #c8dafc; }
.msg small { display: block; color: var(--mute); font-size: 13px; }
.stars button { border: 0; background: none; font-size: 28px; cursor: pointer; padding: 0 2px; filter: grayscale(1); opacity: .5; }
.stars button.on { filter: none; opacity: 1; }
.toast { font-size: 17px !important; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav) + 16px + env(safe-area-inset-bottom));
  background: #14202e; color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 1000; max-width: 90vw; font-size: 14px; }
.badge { font-size: 40px; }
.actions { display: grid; gap: 8px; margin-top: 12px; }

/* ---- bản người già (14/11): 3 bước, ô to, ít chữ ---- */
h2.step { font-size: 22px; margin: 22px 0 10px; }
h2.step:first-child { margin-top: 6px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiles button { border: 2px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px 4px; font: inherit; font-size: 17px;
  font-weight: 600; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 96px; justify-content: center; }
.tiles button span { font-size: 36px; line-height: 1.1; }
.tiles button.on { border-color: var(--pri); background: #e8f0fe; color: var(--pri); box-shadow: 0 0 0 2px var(--pri) inset; }
.safety { color: var(--warn); font-size: 16px; margin: 10px 0 0; }
.btn.big { font-size: 21px; padding: 18px 16px; border-radius: 16px; min-height: 64px; }
#go { margin-top: 22px; }
.more { margin-top: 14px; }
.more summary { cursor: pointer; color: var(--mute); font-size: 17px; padding: 6px 0; }
.more textarea { margin-top: 8px; }
.kpin { background: #fff; border: 2px solid var(--warn); border-radius: 50%; font-size: 22px; line-height: 36px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.motto { text-align: center; color: var(--mute); margin-top: 28px; font-size: 16px; }

/* ================= bản 2 (14/11 tối): 4 bước + ô «どこ？» + quét người gần ================= */
:root { --pri: #e8590c; --pri-soft: #fff1e8; --pri-line: #f6c7a8; --blue: #1f6feb; }
.top { align-items: center; }
.brand b { color: var(--pri); }
h2.step { display: flex; align-items: center; gap: 10px; }
h2.step b { width: 34px; height: 34px; border-radius: 50%; background: var(--pri); color: #fff; font-size: 19px;
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
h2.step small { font-size: 16px; font-weight: 400; color: var(--mute); }
.tiles button.on { border-color: var(--pri); background: var(--pri-soft); color: var(--pri); box-shadow: 0 0 0 2px var(--pri) inset; }
.chips button.on { border-color: var(--pri); background: var(--pri-soft); color: var(--pri); }
.chips.when { margin-top: 10px; }
.chips.when button { font-size: 17px; padding: 10px 16px; }
textarea#note { min-height: 96px; font-size: 19px; }
.pill { background: #e8f0fe; color: var(--blue); }
.seg button.on { background: var(--pri); }

/* ô ② ở đâu: hình vẽ tĩnh + 2 nút to NGAY TRONG Ô */
.placebox { position: relative; border-radius: 18px; overflow: hidden; border: 2px solid var(--line); background: #eef3ea; }
.placebox .pb-map { height: 240px; cursor: pointer; }
.placebox .pb-map > svg.mapart, .map > svg.mapart, .pk-leaf > svg.mapart { width: 100%; height: 100%; display: block; }
.pb-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.75)); pointer-events: none; }
.pb-btn { pointer-events: auto; border: 0; border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 19px; font-weight: 700;
  background: var(--pri); color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.15); cursor: pointer; min-height: 56px; }
.pb-btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.pb-btn:disabled { opacity: .7; }
.placebox.set { border-color: var(--pri); }
.placebox.set .pb-map { height: 190px; }
.pb-line { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); }
.pb-line span { flex: 1; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.pb-line .btn { padding: 8px 14px; font-size: 16px; flex: none; }

/* nút nhờ nằm CUỐI trang (16/11, anh Tường: không dính footer — kéo xuống rồi bấm); chưa chọn việc + chỗ ⇒ nhạt */
.gobar { margin: 26px 0 8px; }
.gobar #go { margin: 0; box-shadow: 0 6px 18px rgba(232,89,12,.35); transition: opacity .2s, box-shadow .2s; }
.gobar #go.dim { opacity: .5; box-shadow: none; }
#go { margin-top: 0; }

/* màn chọn chỗ toàn màn hình */
.picker { position: fixed; inset: 0; z-index: 1200; background: #fff; display: flex; flex-direction: column; }
.pk-top { display: flex; gap: 8px; align-items: center; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); }
.pk-x { border: 0; background: none; font-size: 28px; width: 44px; height: 44px; cursor: pointer; flex: none; }
/* nút ← quay lại: ô xanh đặc, dễ thấy (anh Tường 14/11) */
.picker .pk-x { background: var(--blue); color: #fff; border-radius: 12px; font-size: 26px; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(31,111,235,.35); }
.pk-search { display: flex; gap: 6px; flex: 1; min-width: 0; }
.pk-search input { flex: 1; min-width: 0; font: inherit; font-size: 18px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; }
.pk-search input:focus { outline: none; border-color: var(--pri); }
.pk-search .btn { padding: 10px 14px; flex: none; }
.pk-res { max-height: 45vh; overflow: auto; border-bottom: 1px solid var(--line); background: #fff; }
.pk-res button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 18px; padding: 14px 16px; cursor: pointer; }
.pk-head { padding: 10px 16px; color: var(--mute); font-size: 15px; }
.pk-map { position: relative; flex: 1; min-height: 0; }
.pk-leaf { position: absolute; inset: 0; }
.pk-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 46px; z-index: 500; pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.3)); }
.pk-here { position: absolute; right: 12px; bottom: 12px; z-index: 500; border: 2px solid var(--line); background: #fff; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 600; padding: 10px 16px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.pk-tip { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 500; background: rgba(20,32,46,.8); color: #fff;
  font-size: 15px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.pk-bot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.pk-addr { font-weight: 600; margin-bottom: 8px; min-height: 1.5em; font-size: 17px; }

/* «phát tín hiệu» — quét người ở gần */
.radar { position: fixed; inset: 0; z-index: 1100; background: linear-gradient(180deg, #fff7f1, #fff); overflow: auto;
  padding: calc(28px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; }
.rd-stage { position: relative; width: 220px; height: 220px; margin: 10px auto 6px; transition: all .4s; }
.rd-stage i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--pri); opacity: 0; animation: ping 2.4s ease-out infinite; }
.rd-stage i:nth-child(2) { animation-delay: .8s; } .rd-stage i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ping { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.rd-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%;
  background: var(--pri); color: #fff; font-size: 46px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(232,89,12,.4); }
.radar.found .rd-stage { width: 120px; height: 120px; }
.radar.found .rd-core { width: 64px; height: 64px; font-size: 32px; }
.rd-title { font-size: 23px; margin: 10px 0 4px; }
.rd-list { text-align: left; max-width: 560px; margin: 16px auto; display: grid; gap: 10px; }
.person { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.person .pn { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person .btn { flex: none; }
.rd-done { max-width: 560px; margin: 8px auto 0; }

/* ảnh mặt */
.face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--line); flex: none; display: inline-flex;
  align-items: center; justify-content: center; font-size: 34px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pri-line); }
.face.big { width: 88px; height: 88px; font-size: 46px; }
.me-card { display: flex; align-items: center; gap: 16px; }
.helper-card { border-color: var(--pri-line); background: #fffaf6; }
.face-row { display: flex; align-items: center; gap: 14px; margin: 10px 0; }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 12px 0 0; cursor: pointer; }
.switch input { width: 26px; height: 26px; accent-color: var(--pri); }
.whois { display: flex; align-items: center; gap: 14px; background: var(--pri-soft); border: 1px solid var(--pri-line); border-radius: 14px; padding: 12px; margin: 12px 0; }
.jicon { width: 76px; height: 76px; border-radius: 10px; background: var(--pri-soft); display: flex; align-items: center; justify-content: center; font-size: 38px; flex: none; }
.btn.big.block + .btn, .actions .btn.big { font-size: 20px; }

/* nút ngôn ngữ góc trên trái (kiểu app K1) */
.langwrap { position: relative; flex: none; }
.langbtn { display: flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 10px; font: inherit; color: var(--ink); cursor: pointer; min-height: 38px; }
.langbtn .lf, .langmenu .of { display: inline-flex; line-height: 0; }
.langbtn .lf svg { width: 20px; height: auto; display: block; border-radius: 2px; }
.langbtn .lc { font-size: 14px; font-weight: 700; }
.langbtn .lcr { font-size: 10px; color: var(--mute); }
.langmenu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(21,31,56,.18); padding: 6px; min-width: 180px; max-width: calc(100vw - 24px); overflow-y: auto; z-index: 700; }
.langmenu[hidden] { display: none; }
.langmenu button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 9px 12px;
  border-radius: 8px; font: inherit; font-size: 16px; white-space: nowrap; color: var(--ink); text-align: left; cursor: pointer; }
.langmenu button .of svg { width: 22px; height: auto; display: block; border-radius: 2px; }
.langmenu button.on { background: var(--pri-soft); color: var(--pri); font-weight: 700; }

/* 14/11 khuya: header 2 dòng (tên + khẩu hiệu) trái · ngôn ngữ phải; icon SVG; Cài đặt */
.top { justify-content: space-between; align-items: center; padding-bottom: 10px; }
.brandbox { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.brand { font-size: 22px; }
.tag { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic { display: block; width: 100%; height: 100%; }
.tiles button .ti { width: 56px; height: 56px; display: block; }
.tiles button.on .ti { transform: scale(1.06); }
.jicon { padding: 8px; }
.kpin { background: none; border: 0; box-shadow: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.rd-core { padding: 0; overflow: hidden; border: 4px solid #fff; }
.person { flex-direction: column; align-items: stretch; }
.ptop { display: flex; gap: 12px; align-items: center; }
.pn > span { font-size: 16px; }
.about { font-size: 15px; color: var(--mute); }
.nf { display: inline-flex; width: 18px; margin-right: 3px; vertical-align: -2px; } .nf svg { width: 18px; height: auto; border-radius: 2px; }
.bio { margin: 2px 0; font-size: 16px; color: var(--ink); }
.rate { font-weight: 700; color: #b8860b; font-size: 16px; } .rate small { color: var(--mute); font-weight: 400; }
.rate.new { color: var(--ok); font-weight: 600; font-size: 14px; background: #e6f4ea; padding: 1px 8px; border-radius: 999px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.grid2 select { font-size: 17px; }
#bio { min-height: 80px; }
.chips.bioex { margin-top: 8px; } .chips.bioex button { font-size: 15px; text-align: left; }
.thanks p { margin: 6px 0; }
.jtitle { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 22px; } .jti { width: 44px; height: 44px; flex: none; }

/* ===== 14/11 khuya: icon sắc nét thay emoji ===== */
.ui { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; display: inline-block; }
.btn .ui, .pb-btn .ui, .pk-here .ui { width: 1.2em; height: 1.2em; }
.btn, .pb-btn, .pk-here { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ih { display: flex; align-items: flex-start; gap: 6px; } .ih .ui { margin-top: .2em; }
h2.sec { display: flex; align-items: center; gap: 8px; margin-top: 0; font-size: 19px; } h2.sec .ui { color: var(--pri); width: 24px; height: 24px; }
.safety.ih .ui { color: var(--warn); }
.star { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.15em; }
.stars button .star { width: 34px; height: 34px; }
.rate { display: inline-flex; align-items: center; gap: 3px; }
.spin { animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
/* tab: icon nét, mờ khi không chọn, cam khi chọn */
.tabs button span { width: 28px; height: 28px; font-size: 0; display: block; }
.tabs button span .ui { width: 28px; height: 28px; vertical-align: 0; }
.tabs button.on span .ui { stroke-width: 2.4; }
/* icon việc: không nền, to, rõ */
.tiles button .ti { width: 60px; height: 60px; }
.tiles button { gap: 6px; }
.jicon { background: #fff7f0; padding: 6px; }
.kpin { filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.rd-core { background: #fff; border: 4px solid var(--pri); padding: 10px; }
/* logo + câu bên cạnh tên */
.brand { display: flex; align-items: center; gap: 7px; font-size: 21px; min-width: 0; }
.brand .logo, #logo svg { width: 28px; height: 28px; display: block; flex: none; }
#logo { flex: none; }
.brand .catch { font-size: 12.5px; font-weight: 700; color: var(--pri); background: var(--pri-soft); border-radius: 999px; padding: 2px 9px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tag { margin-top: 3px; padding-left: 35px; }
.noface { color: var(--mute); background: #eef1f5; } .noface .ui { width: 55%; height: 55%; }
.pk-pin { font-size: 0; width: 40px; height: 52px; transform: translate(-50%, -100%); }
.pk-pin svg { width: 40px; height: 52px; display: block; }
.pk-x .ui { width: 26px; height: 26px; }
.pk-search .btn { width: 52px; padding: 0; } .pk-search .btn .ui { width: 24px; height: 24px; }
.pk-res button { display: flex; align-items: center; gap: 10px; } .pk-res button .ui { color: var(--mute); }
.pk-addr { display: flex; align-items: center; gap: 6px; } .pk-addr .ui { color: var(--pri); }
.pb-line .ui { color: var(--pri); }
.placebox.area .pb-line { border-top: 0; }

/* icon 3D Codex (14/11) */
.ic3d { width: 100%; height: 100%; object-fit: contain; display: block; }
.tiles button .ti { width: 64px; height: 64px; }
.kpin .ic3d { filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
#logo img.logo, .brand img.logo { width: 30px; height: 30px; border-radius: 8px; display: block; object-fit: cover; }

/* CHIKAMAGO (14/11): logo mặt bà to bên trái, 3 dòng chữ bên phải · tab dưới = ảnh 3D màu */
.brand { align-items: center; gap: 9px; }
#logo img.logo, .brand img.logo { width: 52px; height: 52px; border-radius: 13px; }
.brand .bt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.2; }
.brand .bt b { font-size: 21px; letter-spacing: .3px; white-space: nowrap; }
.brand .catch { margin-top: 2px; max-width: 100%; }
.brand .tag { margin-top: 2px; padding-left: 0; font-size: 12px; max-width: 100%; }
.tabs button span { width: 34px; height: 34px; }
.tabs button span .ic3d { width: 34px; height: 34px; opacity: .7; filter: saturate(.7); transition: .15s; }
.tabs button.on span .ic3d { opacity: 1; filter: none; transform: scale(1.12); }
#go .goimg { width: 30px; height: 30px; vertical-align: -8px; margin-right: 2px; }

/* header 2 dòng + thanh hướng dẫn (14/11) */
.top { flex-wrap: wrap; row-gap: 8px; }
.infobar { max-width: 720px; margin: 0 auto; padding: 0 16px 20px; }
.infobtns { display: flex; gap: 6px; border-top: 1px dashed var(--line); padding-top: 12px; }
.proverb-foot { text-align: center; color: var(--mute); font-size: 14px; margin: 16px 0 0; }
.infobar button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 6px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.infobar button span .ui { width: 18px; height: 18px; color: var(--pri); display: block; }
.infobar button i { font-style: normal; white-space: nowrap; }
.infoh { display: flex; align-items: center; gap: 8px; } .infoh .ui { width: 26px; height: 26px; color: var(--pri); }
.proverb { font-size: 17px; font-weight: 700; color: var(--pri); background: var(--pri-soft); border-radius: 12px; padding: 10px 12px; margin: 8px 0 4px; }
.infolist { font-size: 19px; line-height: 1.55; padding-left: 24px; margin: 10px 0; } .infolist li { margin: 8px 0; }
.infofree { display: flex; gap: 8px; align-items: center; font-size: 16px; font-weight: 600; } .infofree .ui { width: 22px; height: 22px; color: #e11d48; flex: none; }

/* hộp xác nhận trước khi nhận việc (14/11 tối) */
.takechk { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.45; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.takechk input { width: 26px; height: 26px; flex: none; margin: 0; accent-color: var(--pri); }

/* hộp chữ thả xuống dưới header — hẹp, bo 4 góc, không che thanh tab (14/11) */
.sheet.drop { top: calc(var(--hdr, 72px) + 8px); bottom: auto; left: 16px; right: 16px; max-width: 560px;
  max-height: calc(100dvh - var(--hdr, 72px) - var(--nav) - env(safe-area-inset-bottom) - 24px);
  border-radius: 18px; padding-bottom: 18px; box-shadow: 0 12px 32px rgba(0,0,0,.18); animation: dropIn .22s ease-out; }
@keyframes dropIn { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* dòng vận hành / bảo trợ / tài trợ cuối trang (14/11) */
.credits { margin-top: 2px; font-size: 13px; color: var(--mute); display: flex; justify-content: center; align-items: center; gap: 4px; }
.credits p { margin: 0 0 2px; }
.infobar .credits button { display: inline-block; flex: none; min-height: 0; border: 0; border-radius: 0; background: none; font: inherit; font-weight: 400; color: var(--mute); padding: 4px 6px; cursor: pointer; }
.credits button i { font-style: normal; text-decoration: underline; text-underline-offset: 3px; } .credits button b { color: var(--pri); font-weight: 600; }

/* dòng giới thiệu dưới header (14/11) */
.intro { max-width: 720px; margin: 0 auto; padding: 10px 16px 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--mute); }

/* nút «Dịch» (14/11) — chữ nhỏ dưới đoạn người dùng tự gõ */
.trw { display: block; }
.trb { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 4px 8px; min-height: 32px;
  border: 0; border-radius: 8px; background: transparent; color: #1a5fb4; font-size: 14px; font-weight: 600; cursor: pointer; }
.trb svg { width: 16px; height: 16px; }
.trb:disabled { opacity: .6; }
.msg .trb { padding: 2px 0; min-height: 28px; font-size: 13px; }

/* thông báo (14/11): chấm đỏ tab «Của tôi» · gợi ý bật trong chat · hướng dẫn iPhone */
.tabs button { position: relative; }
.tabs button .dot { position: absolute; top: 4px; left: calc(50% + 10px); min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--bad); color: #fff; font: 700 12px/20px system-ui, sans-serif; text-align: center; }
.notifhint { display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 8px; padding: 8px 10px; min-height: 44px;
  border: 1px dashed var(--line); border-radius: 10px; background: #fff8e6; color: var(--ink); font-size: 15px; text-align: left; cursor: pointer; }
.notifhint svg { width: 20px; height: 20px; flex: none; }
.notifhome { background: #fff8e6; border-radius: 10px; padding: 10px 12px; font-size: 16px; line-height: 1.6; }

/* ảnh đại diện + màn cắt ảnh (14/11) */
.me-card .facebtn { margin-top: 8px; font-size: 16px; padding: 10px 14px; }
.face-wrap { flex: none; }
.unsaved { background: #fff4d6; border: 1px solid #f1c86a; color: #7a4b00; border-radius: 12px; padding: 10px 14px; font-weight: 700; margin: 10px 0; }
.btn.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 140, 60, .35); } }
.crop { position: fixed; inset: 0; z-index: 1000; background: var(--bg); overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; }
.crop h2 { margin: 4px 0 0; font-size: 22px; }
.crop-tip { margin: 0; font-size: 18px; text-align: center; max-width: 440px; }
.crop-stage { position: relative; overflow: hidden; border-radius: 16px; touch-action: none; cursor: grab; flex: none; }
.crop-stage canvas { display: block; }
.crop-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55); pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 440px; font-size: 24px; font-weight: 700; }
.crop-zoom input { flex: 1; height: 32px; accent-color: var(--pri); }
.crop-act { display: flex; gap: 12px; width: 100%; max-width: 440px; }
.crop-act .btn { flex: 1; }
.crop > .btn.block { max-width: 440px; }

/* giữ tài khoản (14/11) */
.acct input[type=email], .acct input[type=password] { width: 100%; }
/* huy hiệu «✓ SĐT đã xác minh» (16/11) — viên xanh nhỏ cạnh tên */
.vbadge { display: inline-flex; align-items: center; gap: 1px; margin-left: 4px; padding: 1px 6px 1px 3px; border-radius: 999px;
  background: #DCFCE7; color: #15803D; font-size: 13px; font-weight: 800; vertical-align: middle; white-space: nowrap; }
.vbadge .ui { width: 14px; height: 14px; }
.acct-ok { font-weight: 700; margin: 6px 0 10px; word-break: break-all; }
.acct-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; }
.acct .lnk { background: none; border: 0; padding: 6px 0; color: var(--pri); font-weight: 700; font-size: 16px; text-decoration: underline; cursor: pointer; }


/* báo cáo · chặn · xoá tài khoản (15/11 — luật Apple) */
.blkrow { justify-content: space-between; align-items: center; flex-wrap: nowrap; margin-top: 8px; }
.delacct { margin-top: 28px; border-color: #f3c7c7; }
#repTxt { margin-top: 10px; }
#repWhy { margin-top: 8px; }
.credits.legal a { color: inherit; font-size: 12px; opacity: .75; text-decoration: none; }

/* 🤝 đăng ký bảo trợ / hợp tác (16/11) */
.pcard { display: flex; gap: 12px; align-items: flex-start; }
.pcard.sample { border-style: dashed; background: #fafbfd; }
.plogo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); }
.pbody { flex: 1; min-width: 0; }
.pname { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.pacts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.pacts span { font-size: 14px; padding: 2px 8px; border-radius: 999px; background: #e6f4ea; color: var(--ok); }
.pdel { margin-top: 8px; padding: 6px 12px; font-size: 14px; }
.prow { display: flex; gap: 12px; align-items: center; }
.prow label.btn { margin: 0; }

/* bản đồ tab đi giúp: đứng yên, đổi chỗ bằng nút «Đổi» (16/11) */
.mapwrap { position: relative; }
@media (max-height: 700px) { .map { height: 34vh; min-height: 200px; } }
/* màn chọn chỗ: tra 〒 xong ⇒ bước «kéo ghim đúng nhà» trước khi chốt (16/11) */
.pk-ok.pin { background: #fff4e5; color: var(--warn); border: 2px dashed var(--warn); }
.pk-tip.hot { background: #E8590C; font-weight: 700; font-size: 16px; }
.pk-tip.shake { animation: pkshake .5s 2; }
@keyframes pkshake { 0%,100% { transform: translateX(-50%); } 25% { transform: translateX(calc(-50% - 8px)); } 75% { transform: translateX(calc(-50% + 8px)); } }

/* Lớp an toàn (16/11): câu nhắc trong chat · khung cảnh báo · cờ từng tin · dải khoá · báo cáo đè radar */
.chatsafe { font-size: 13px; color: var(--mute); margin: 4px 0 6px; }
.chatwarn { background: #fff4d6; border: 1px solid #f0c75e; color: #6b4a00; border-radius: 10px; padding: 8px 10px; font-size: 14px; margin: 6px 0; }
.msgflag { border: 0; background: none; padding: 0 2px; margin-left: 4px; color: #b0b6bf; cursor: pointer; vertical-align: middle; line-height: 1; }
.msgflag svg { width: 14px; height: 14px; }
.banbar { background: #ffe3e3; color: #8a1c1c; border-bottom: 1px solid #f5b5b5; padding: 10px 14px; font-size: 14px; }
body:has(.radar) .sheet-back { z-index: 1140; }
body:has(.radar) .sheet { z-index: 1141; }
/* «Việc giúp gần đây» — tab Đi giúp, lúc chưa chọn khu vực */
.recent { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rcrow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rcrow:last-child { border-bottom: 0; }
.rci { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.rci img, .rci svg { width: 34px; height: 34px; }
.rck { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; display: flex; flex-direction: column; }
.rck small { font-weight: 400; font-size: 12.5px; color: var(--mute); }
.rcs { flex: none; font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: #eef1f5; color: #4a5463; display: inline-flex; align-items: center; gap: 3px; }
.rcs.wait { background: #fff1e6; color: #b5480b; }
.rcs.done { background: #e6f6ec; color: #1d7a3e; }
.rcs svg { width: 13px; height: 13px; }

/* 16/11: nút «Đổi» khu vực tab đi giúp to, dễ bấm · việc VÍ DỤ mờ */
.placebox.area .pb-line .btn.chg { font-size: 19px; font-weight: 700; padding: 10px 22px; min-width: 96px; min-height: 48px; border: 2px solid var(--pri); color: var(--pri); }
.card.job.demo { border-style: dashed; }
.pill.demo { background: #eee; color: var(--mute); }
.demoh { margin: 10px 2px 4px; }

/* Thẻ việc làm lại (16/11): icon nhỏ, tên người nhờ, khi nào, khoảng cách, lời nhắn bong bóng */
.card.job { display: block; padding: 12px 14px; }
.job .jt { display: flex; align-items: center; gap: 10px; }
.job .jicon, .job img { width: 48px; height: 48px; border-radius: 12px; padding: 5px; font-size: 26px; flex: none; }
.job img { padding: 0; }
.job .jh { flex: 1; min-width: 0; }
.job .k { font-size: 19px; font-weight: 700; line-height: 1.25; }
.job .jw { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--mute); font-size: 15px; margin-top: 2px; }
.job .jw .ui { width: 1em; height: 1em; vertical-align: -2px; }
.job .jw .dot { opacity: .6; }
.job .jd { font-weight: 700; color: var(--pri); font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.job .jd .ui { width: 1em; height: 1em; }
.job .pill { font-size: 13px; padding: 1px 8px; }
.job .jn { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; background: var(--bg, #f6f3ef); border-radius: 4px 14px 14px 14px;
  padding: 8px 12px; font-size: 16px; color: var(--ink); line-height: 1.4; }
.job .jn .ui { width: 1.05em; height: 1.05em; color: var(--mute); flex: none; margin-top: 3px; }
.job .jnb { flex: 1; min-width: 0; }
.job .jn .trt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job .jn .trb { font-size: 14px; min-height: 30px; }

/* 16/11 bản 3: trạng thái + hàng nút Nhận việc · Bình luận · Dịch trên thẻ; bình luận công khai */
.job .jd { align-self: flex-start; }
.job .jfoot { margin-top: 8px; }
.job .jfoot .pill { font-size: 14px; padding: 2px 10px; display: inline-flex; align-items: center; gap: 4px; }
.job .jfoot .pill .ui { width: 1em; height: 1em; }
.job.s-taken .jfoot .pill.taken { background: #e6f4ea; color: var(--ok); font-weight: 700; }
.job.s-taken { background: #fbfdfb; }
.job .jacts { display: flex; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.job .ja { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 42px; padding: 6px 6px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.job .ja .ui { width: 1.15em; height: 1.15em; flex: none; }
.job .ja b { color: var(--pri); }
.job .ja.take { background: var(--pri); border-color: var(--pri); color: #fff; }
.job .ja.trb { margin: 0; color: #1a5fb4; flex: 0 0 auto; padding: 6px 12px; }
@media (max-width: 380px) { .job .ja { font-size: 14px; gap: 4px; } .job .jacts { gap: 5px; } }
.job .ja.trb svg { width: 1.15em; height: 1.15em; }
.cmth { margin: 18px 0 4px; font-size: 18px; }
.cmts { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.cmt { background: var(--bg); border-radius: 4px 14px 14px 14px; padding: 8px 12px; }
.cmt.me { background: #fff4ec; }
.cmeta { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.cmeta b { font-size: 15px; }
.cmeta .hint { font-size: 13px; margin: 0; }
.cmeta .otag { font-size: 12px; background: var(--pri); color: #fff; border-radius: 999px; padding: 0 7px; }
.cmeta .cdel, .cmeta .msgflag { margin-left: auto; border: 0; background: none; color: var(--mute); padding: 4px; cursor: pointer; }
.cmeta .cdel + .msgflag { margin-left: 0; }
.cmeta .cdel .ui, .cmeta .msgflag .ui { width: 16px; height: 16px; }
.cmt .ctext { font-size: 16px; line-height: 1.45; margin-top: 2px; overflow-wrap: anywhere; }
.cmt .cimg { display: block; max-width: 100%; max-height: 260px; border-radius: 10px; margin-top: 6px; object-fit: cover; }
.cmtin { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.cmtin input[type=text] { flex: 1; min-width: 0; }
.cmtin .cph { padding: 10px; flex: none; }
.cmtprev { position: relative; display: inline-block; margin-top: 8px; }
.cmtprev[hidden] { display: none; }
.cmtprev img { height: 80px; border-radius: 10px; }
.cmtprev button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #333; color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.cmtprev button .ui { width: 14px; height: 14px; }

/* 16/11: hộp quy tắc trước khi nhờ — nút «Tôi hiểu» ghim đáy, chữ cuộn phía trên */
.sheet.hasgate { display: flex; flex-direction: column; overflow: hidden; }
.sheet.hasgate .gate { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sheet.hasgate .gatebody { overflow: auto; flex: 1; min-height: 0; -webkit-overflow-scrolling: touch; }
.sheet.hasgate .gatefoot { flex: none; padding-top: 10px; border-top: 1px solid var(--line); background: var(--card); }
.sheet.hasgate .close { align-self: flex-end; }

/* 🆘 khẩn cấp: nút ấm, rõ ràng và bảng chọn mở êm */
.kindhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.kindhead h2.step { flex: 1; min-width: 0; margin: 0 0 10px; line-height: 1.25; }
.sostoggle { flex: none; min-height: 48px; margin: 0 0 10px; padding: 0 18px; border: 1px solid #efc9c5; border-radius: 12px;
  background: #fdf3f2; color: #a83232; font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.sostoggle[aria-expanded="true"] { background: #f9e5e3; color: #962b2b; border-color: #dfa9a4; }
.sostoggle.selected { color: #9f2727; border-color: #c94c47; }
.sostoggle[aria-expanded="true"].selected { background: #f7dfdd; border-color: #bd3f3a; }
.sosbox { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 12px; margin: 0 0 14px; }
.sosbox[hidden] { display: none; }
.sosbox.slim { margin: 8px 0; padding: 10px; }
.soscall { font-size: 15px; color: var(--mute); margin: 0 0 8px; line-height: 1.4; }
.sosnum { display: flex; gap: 8px; }
.sosnum .btn { flex: 1; min-height: 48px; background: var(--bad); color: #fff; font-weight: 800; font-size: 20px; padding: 6px 8px; text-decoration: none;
  flex-wrap: wrap; line-height: 1.1; row-gap: 0; }
.sosnum .btn small { flex-basis: 100%; text-align: center; font-size: 14px; font-weight: 600; opacity: .92; }
.sospanel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .22s ease, opacity .2s ease, visibility 0s linear .22s; }
.sospanel.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows .22s ease, opacity .2s ease, visibility 0s; }
.sospanel-clip { min-height: 0; overflow: hidden; }
.sospanel-card { margin: 0 0 14px; padding: 12px 10px; border-color: #f0d6d3; border-left: 3px solid #d9827b; background: #fff; }
.sospanel .tiles.sos { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0d6d3; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sospanel .tiles.sos button .soslabel { display: block; width: 100%; min-width: 0; font-size: inherit; line-height: inherit;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sospanel .tiles.sos button.on { border-color: #bd3f3a; background: #fdf0ef; color: #9f2727; box-shadow: 0 0 0 2px #bd3f3a inset; }
@media (prefers-reduced-motion: reduce) {
  .sostoggle, .sospanel, .sospanel.is-open { transition: none; }
}
.card.job.sos.s-open { border-color: #dca4a4; border-left: 4px solid #b84a4a; background: #fffafa; }
.job .sostag { color: #a43b3b; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.job .sostag .ui { width: 1.05em; height: 1.05em; }
.kpin.sos { filter: drop-shadow(0 0 0 #b84a4a); border-radius: 50%; box-shadow: 0 0 0 3px #b84a4a, 0 0 0 6px rgba(184,74,74,.24); background: #fff; animation: sosPulse 1.8s ease-in-out infinite; }
@keyframes sosPulse { 50% { box-shadow: 0 0 0 3px #b84a4a, 0 0 0 9px rgba(184,74,74,.1); } }
.sosnum .btn { flex-wrap: wrap; line-height: 1.15; row-gap: 0; } .sosnum .btn small { flex-basis: 100%; text-align: center; }

/* 18/11 lô D (1k) — 👪 Người nhà theo dõi */
.card.fam label { margin-top: 12px; }
.famrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.famrow .lnk { color: var(--bad); }
.famcode { margin: 10px 0; padding: 14px; border-radius: 14px; background: var(--pri-soft); text-align: center; }
.famcode b { display: block; font-size: 30px; letter-spacing: 4px; font-family: ui-monospace, Menlo, monospace; }
.famjoin { display: flex; gap: 8px; align-items: stretch; }
.famjoin input { flex: 1; text-transform: uppercase; letter-spacing: 2px; font-family: ui-monospace, Menlo, monospace; }
.famnote { margin: 6px 0; padding: 8px 12px; border-radius: 10px; background: #eef6ff; font-weight: 600; }
.tripnote { margin-top: 14px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line); }
.tripnote textarea { width: 100%; min-height: 64px; margin: 6px 0; }
.postfor { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--pri-soft); font-weight: 600; }
.postfor span { flex: 1; min-width: 180px; }
.pfbtn { margin: 6px 0 10px; }

/* 18/11 v3 — danh sách người xin giúp (cụ chọn 1) + so mặt khi gặp */
.apps { display: grid; gap: 12px; margin: 14px 0; }
.apps h3.sec { margin: 0; font-size: 19px; }
.apps > .hint { margin: 0; }
.person.app { flex-direction: column; align-items: stretch; gap: 10px; border-color: var(--pri-line); }
.person.app .ptop { display: flex; align-items: center; gap: 12px; cursor: pointer; border-radius: 12px; }
.person.app .ptop:focus-visible { outline: 3px solid var(--pri); outline-offset: 2px; }
.person.app .pn b { font-size: 19px; }
.person.app .more { text-decoration: underline; margin-top: 2px; }
.person.app .pmore { border-top: 1px dashed var(--line); padding-top: 8px; }
.person.app .pmore .free { margin: 6px 0 0; }
.person.app .btn.big { font-size: 19px; }
.facechk { margin: 12px 0 6px; padding: 12px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d9a4; }
.facechk p { margin: 0 0 4px; }
.facechk b { font-size: 18px; }
.person.app .row .btn.block { flex: 1 1 auto; min-width: 0; }
.person.app .row .btn.ghost { flex: none; width: 56px; }
.person.app .nm { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* chip mời cài app iPhone — chỉ web (app.js initAppChip), góc phải ngay trên thanh tab (18/11) */
.appchip { position: fixed; right: 12px; bottom: calc(var(--nav) + 12px + env(safe-area-inset-bottom)); z-index: 700;
  display: flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20, 32, 46, .16); padding: 4px 4px 4px 5px; max-width: calc(100vw - 24px); }
.appchip a { display: flex; align-items: center; gap: 7px; color: var(--pri); text-decoration: none; font-weight: 600; font-size: 15px; }
.appchip a img { border-radius: 7px; display: block; }
.appchip a i { font-style: normal; white-space: nowrap; }
.appchip button { border: 0; background: none; color: var(--mute); font-size: 20px; line-height: 1; padding: 2px 8px; cursor: pointer; }

/* màn «phát tín hiệu»: nút × góc trên phải — thoát về «Của tôi» (18/11) */
.rd-x { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 1101; }

/* 20/11: màn hẹp nút ngôn ngữ rơi xuống dòng dưới (do .top flex-wrap) — giữ 1 dòng, khẩu hiệu tự cắt «…» */
.top { flex-wrap: nowrap; }
.brandbox { flex: 1 1 auto; min-width: 0; }
.brand .bt { flex: 1 1 auto; }

/* 28/11: báo nhỏ «đang liên hệ ban ngành hướng dẫn các cụ» khi tab Đi giúp trống */
.card.waitel { background: var(--pri-soft); border: 1px solid var(--pri-line); color: #7a3a10; font-size: 15px; line-height: 1.55; padding: 12px 14px; }
