/* 짭스 — 휴대폰 먼저. 근로자 = 파랑, 기업 = 초록, 중개소 = 보라. 누르는 것은 크게(48px 이상) */
:root {
  --bg: #F4F6FA; --card: #fff; --ink: #111827; --ink2: #374151; --sub: #6B7280; --line: #E5E7EB; --soft: #EEF2FF;
  --blue: #1D5CFF; --blue2: #E8EEFF; --green: #0FA968; --green2: #E3F7EE; --purple: #7048E8; --purple2: #F0EBFF;
  --red: #E5484D; --red2: #FDECEC; --amber: #B7791F; --amber2: #FFF6E0; --r: 18px; --r2: 12px;
  --sh: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans Devanagari", "Noto Sans Myanmar", "Noto Sans Khmer", "Noto Sans Sinhala", "Noto Sans Bengali", "Noto Nastaliq Urdu", "Noto Sans Lao", "Noto Sans Thai", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.55 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
body.noscroll { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
h2 { font-size: 1.45rem; } h3 { font-size: 1.12rem; } h4 { font-size: .95rem; margin: 16px 0 8px; color: var(--ink2); }
.hide { display: none !important; }
.center { text-align: center; justify-content: center; }
.hint { color: var(--sub); font-size: .9rem; margin: 6px 0; }
.pre { white-space: pre-wrap; margin: 4px 0; }
.boot { min-height: 70vh; display: grid; place-items: center; }
.spin { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: sp .8s linear infinite; margin: 30px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.shake { animation: shk .45s; } @keyframes shk { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

/* 머리줄 */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(244,246,250,.92); backdrop-filter: saturate(1.4) blur(10px); min-height: 60px; }
.top-t { flex: 1; font-size: 1.05rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-link { display: flex; }
.iconbtn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; font-size: 1.4rem; display: grid; place-items: center; flex: none; }
.iconbtn:active { background: var(--line); }
.langbtn { border: 0; background: var(--card); box-shadow: var(--sh); border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 600; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; min-height: 40px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-ico { width: 36px; height: 36px; flex: none; }
.lw { display: flex; flex-direction: column; line-height: 1.05; }
.lw b { font-size: 1.15rem; letter-spacing: -.02em; } .lw small { font-size: .62rem; color: var(--sub); font-weight: 700; letter-spacing: .18em; }
.logo.big .logo-ico { width: 64px; height: 64px; } .logo.big .lw b { font-size: 2rem; } .logo.big .lw small { font-size: .8rem; }

/* 본문 */
.wrap { max-width: 560px; margin: 0 auto; padding: 8px 16px 40px; }
.wrap.wide { max-width: 1100px; }
.wrap.has-tabs { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px; margin: 12px 0; display: block; color: inherit; }
.card h3 { margin-bottom: 10px; }
.card.warn { background: var(--amber2); box-shadow: none; border: 1px solid #F3DFAE; }
.card.small { font-size: .92rem; padding: 14px; }
.card.hello { background: linear-gradient(135deg, var(--blue2), #fff); }
.card.hello.green { background: linear-gradient(135deg, var(--green2), #fff); } .card.hello.purple { background: linear-gradient(135deg, var(--purple2), #fff); }
.card.hello p { margin: 4px 0 0; color: var(--ink2); }
.sec-t { margin: 22px 4px 4px; font-size: 1rem; color: var(--ink2); }
.empty { text-align: center; padding: 48px 16px; color: var(--sub); }
.em-ico { font-size: 3rem; margin-bottom: 8px; }
.empty .btn { margin-top: 14px; }
ul.bul { padding-left: 20px; margin: 6px 0; } ul.bul li { margin: 6px 0; }
.card ul { padding-left: 20px; margin: 6px 0; } .card li { margin: 4px 0; }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; padding: 12px 18px; min-height: 50px; font-size: 1rem; text-align: center; transition: transform .08s, filter .15s; }
.btn:active { transform: scale(.98); } .btn:disabled { opacity: .45; pointer-events: none; }
.btn.big { width: 100%; min-height: 58px; font-size: 1.08rem; margin-top: 14px; }
.btn.sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 11px; }
.btn.green { background: var(--green); } .btn.purple { background: var(--purple); } .btn.blue { background: var(--blue); } .btn.danger { background: var(--red); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost.danger { color: var(--red); background: var(--card); }
.btn.line { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px currentColor; }
.link { background: none; border: 0; color: var(--blue); padding: 10px 0; display: inline-block; font-weight: 600; }
.link.danger { color: var(--red); } .link.center { display: block; text-align: center; width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.row2 .btn { width: 100%; }

/* 입력 */
.lab { display: block; font-weight: 700; font-size: .95rem; margin: 18px 0 8px; color: var(--ink2); }
.lab em { color: var(--red); font-style: normal; } .opt { color: var(--sub); font-weight: 500; font-size: .8rem; }
.inp { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px; font: inherit; font-size: 1.02rem; color: var(--ink); min-height: 52px; outline: none; transition: border-color .15s, box-shadow .15s; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,92,255,.12); }
.inp.big { font-size: 1.25rem; min-height: 60px; letter-spacing: .02em; } .inp.sm { min-height: 40px; padding: 6px 10px; font-size: .9rem; width: auto; }
.inp.center { text-align: center; letter-spacing: .3em; }
textarea.inp { resize: vertical; min-height: 90px; line-height: 1.5; }
select.inp { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.inp:disabled { background: var(--bg); color: var(--sub); }
.pickbtn { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.pickbtn .ph { color: #9CA3AF; } .caret { color: var(--sub); }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; }
.check input, .agree input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 4px; font-size: .92rem; color: var(--ink2); }

/* 전화번호 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); padding: 4px; border-radius: 14px; margin-bottom: 10px; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.seg button { border: 0; background: transparent; border-radius: 11px; padding: 10px 6px; font-weight: 600; color: var(--sub); min-height: 44px; font-size: .92rem; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.ph-row { display: flex; gap: 8px; } .ph-row .cc { width: 42%; flex: none; }

/* PIN */
.pin { position: relative; display: flex; gap: 8px; justify-content: center; padding: 6px 0; cursor: text; }
.pin i { width: 46px; height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: .15s; }
.pin i.on::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.pin i.cur { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,92,255,.12); }
.pin input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; }
.left { text-align: center; color: var(--red); min-height: 1.4em; }

/* 고르기 단추 */
.choice { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.choice.two { grid-template-columns: 1fr 1fr; } .choice.three { grid-template-columns: repeat(3, 1fr); } .choice.four { grid-template-columns: 1fr 1fr; }
.choice.six, .choice.seven { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); } .choice.col { grid-template-columns: 1fr; }
.ch { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 8px; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.ch .ico { font-size: 1.6rem; line-height: 1; } .ch b { font-size: .95rem; } .ch small { color: var(--sub); font-size: .78rem; }
.ch.on { border-color: var(--blue); background: var(--blue2); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.green .ch.on, .sheet .green .ch.on { border-color: var(--green); background: var(--green2); color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.purple .ch.on { border-color: var(--purple); background: var(--purple2); color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }

/* 꼬리표 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .92rem; min-height: 42px; display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); }
.chip.on { background: var(--blue2); border-color: var(--blue); color: var(--blue); font-weight: 700; }
.chips.static .chip { min-height: 34px; padding: 5px 12px; }
.green .chip.on { background: var(--green2); border-color: var(--green); color: var(--green); }
.purple .chip.on { background: var(--purple2); border-color: var(--purple); color: var(--purple); }

/* 나라 */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.cbtn { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 12px; min-height: 54px; text-align: left; font-size: .95rem; }
.cbtn.on { border-color: var(--blue); background: var(--blue2); color: var(--blue); font-weight: 700; }
.cbtn.wide { grid-column: 1 / -1; justify-content: center; }
.cgrid + .inp { margin-top: 8px; }
.flag { font-size: 1.5em; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.flag.txt { font-size: .7rem; font-weight: 800; background: var(--ink); color: #fff; border-radius: 4px; padding: 2px 4px; letter-spacing: .02em; }
.birth { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }

/* 직종 고르기 판 */
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cat { position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 96px; }
.cat .ico { font-size: 2rem; } .cat b { font-size: .92rem; text-align: center; }
.cat .cnt { position: absolute; top: 6px; right: 8px; background: var(--blue); color: #fff; border-radius: 999px; font-style: normal; font-size: .75rem; min-width: 22px; height: 22px; display: grid; place-items: center; font-weight: 700; }
.back { border: 0; background: none; font-size: 1.05rem; padding: 6px 0 14px; display: flex; gap: 8px; align-items: center; }
.jobs-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 16px -18px -18px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
.jf-sel .chips { margin: 6px 0 4px; } .jf-sel .chip { min-height: 34px; padding: 4px 10px; font-size: .85rem; }
.jobsel .chips { margin-bottom: 10px; } .jobsel .btn { width: 100%; }

/* 비자 목록 */
.vl { margin-top: 10px; }
.li { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 14px 4px; text-align: left; min-height: 54px; }
.li b { width: 64px; flex: none; color: var(--blue); } .li span { flex: 1; } .li .ok { color: var(--blue); font-style: normal; font-weight: 800; }
.li-h { font-size: .8rem; color: var(--sub); font-weight: 700; padding: 14px 4px 4px; }

/* 사진 */
.photo-f { display: flex; gap: 16px; align-items: center; }
.ph-img { width: 96px; height: 96px; border-radius: 24px; background: var(--bg); display: grid; place-items: center; font-size: 2rem; overflow: hidden; flex: none; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.payrow .won, .won { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .won span { font-weight: 700; color: var(--sub); }

/* 아래에서 올라오는 판 */
.sheet-bg { position: fixed; inset: 0; z-index: 100; background: rgba(17,24,39,.45); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.sheet-bg.on { opacity: 1; }
.sheet { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(30px); transition: transform .22s; }
.sheet.wide { max-width: 760px; }
.sheet-bg.on .sheet { transform: none; }
.sh-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 6px; }
.sh-head h3 { flex: 1; font-size: 1.15rem; }
.x { border: 0; background: var(--bg); width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; flex: none; }
.sh-body { padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); overflow: auto; }
.row2.sticky { position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); background: #fff; padding: 12px 0 4px; }
.ask-msg { font-size: 1.05rem; margin: 6px 0 8px; white-space: pre-wrap; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 24px; } }

/* 알림 띠 */
.toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 14px; z-index: 200; opacity: 0; transition: .25s; max-width: calc(100vw - 32px); font-weight: 600; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
body:has(.composer) .toast { bottom: calc(230px + env(safe-area-inset-bottom)); }
.toast.on { opacity: 1; transform: translate(-50%, 0); } .toast.bad { background: var(--red); }
.notice { position: sticky; top: 0; z-index: 40; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--ink); color: #fff; font-size: .9rem; }
.notice span { flex: 1; } .notice button { background: none; border: 0; color: #fff; font-size: 1rem; }
.instbar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 45; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; font-size: .9rem; font-weight: 600; max-width: 536px; margin: 0 auto; }
.instbar span { flex: 1; } .instbar .x { width: 34px; height: 34px; }
body:not(:has(.tabs)) .instbar { bottom: calc(14px + env(safe-area-inset-bottom)); }

/* 아래 메뉴 */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--sub); font-size: .74rem; font-weight: 600; padding: 4px 2px; min-height: 56px; justify-content: center; text-align: center; line-height: 1.15; }
.tabs .ti { position: relative; font-size: 1.45rem; line-height: 1; filter: grayscale(1); opacity: .65; }
.tabs a.on { color: var(--blue); } .tabs a.on .ti { filter: none; opacity: 1; }
.tabs.green a.on { color: var(--green); } .tabs.purple a.on { color: var(--purple); }
.badge { position: absolute; top: -6px; right: -12px; background: var(--red); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; filter: none; }
@media (min-width: 700px) { .tabs { left: 50%; transform: translateX(-50%); width: 560px; bottom: 14px; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); } }

/* 첫 화면 */
.land .hero { text-align: center; padding: 26px 6px 8px; }
.land .hero h2 { margin: 18px 0 8px; font-size: 1.6rem; letter-spacing: -.02em; }
.lead { color: var(--sub); margin: 0; }
.roles { display: grid; gap: 12px; margin: 22px 0; }
.role { display: flex; align-items: center; gap: 14px; border-radius: 22px; padding: 20px 18px; background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(29,92,255,.25); min-height: 100px; }
.role.white { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.r-ico { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.9rem; flex: none; }
.role.green .r-ico { background: var(--green2); } .role.purple .r-ico { background: var(--purple2); }
.r-t { flex: 1; display: flex; flex-direction: column; } .r-t b { font-size: 1.3rem; } .r-t small { opacity: .85; font-size: .92rem; }
.role.white small { color: var(--sub); opacity: 1; }
.r-go { font-size: 2rem; opacity: .7; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: #fff; border-radius: 16px; padding: 14px 6px; text-align: center; box-shadow: var(--sh); }
.stats b { display: block; font-size: 1.4rem; color: var(--blue); } .stats small { color: var(--sub); font-size: .8rem; }
.prev { display: grid; gap: 8px; margin-top: 8px; }
.pv { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh); }
.pv > div { flex: 1; min-width: 0; } .pv small { color: var(--sub); } .pv-j { font-size: .88rem; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps li > span { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.steps b { display: block; } .steps small { color: var(--sub); }
.co-cta p { color: var(--ink2); }
.foot { text-align: center; color: var(--sub); font-size: .85rem; padding: 26px 0 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-bottom: 10px; } .foot a { color: var(--ink2); }
.codebtn { background: #111; color: #fff; border: 0; border-radius: 6px; font-size: .62rem; padding: 3px 7px; margin-left: 6px; letter-spacing: .08em; vertical-align: middle; }
.biz:empty { display: none; }

/* 언어 고르기 */
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 14px; min-height: 62px; font-size: 1.05rem; text-align: left; }
.lang.on { border-color: var(--blue); background: var(--blue2); }
@media (min-width: 640px) { .langs { grid-template-columns: repeat(3, 1fr); } }

/* 로그인·가입 */
.auth-h { text-align: center; padding: 20px 0 6px; }
.a-ico { width: 76px; height: 76px; border-radius: 24px; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 14px; }
.auth-h p { color: var(--sub); margin: 6px 0 0; }
.auth-other { display: grid; gap: 2px; text-align: center; margin-top: 10px; }
.auth.green .btn:not(.ghost):not(.line) { background: var(--green); } .auth.purple .btn:not(.ghost):not(.line) { background: var(--purple); }
.auth.green .inp:focus { border-color: var(--green); } .auth.purple .inp:focus { border-color: var(--purple); }
.back-in { margin-left: -8px; }
.prog { display: flex; gap: 6px; margin: 6px 0 10px; } .prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.prog i.on { background: var(--blue); } .auth.green .prog i.on { background: var(--green); } .auth.purple .prog i.on { background: var(--purple); }
.stepn { color: var(--blue); font-weight: 800; margin: 0; font-size: .9rem; } .auth.green .stepn { color: var(--green); } .auth.purple .stepn { color: var(--purple); }
.su-h { margin-top: 4px; font-size: 1.55rem; } .su-p { color: var(--sub); margin: 6px 0 0; }

/* 근로자 카드 */
.grid { display: grid; gap: 12px; margin-top: 10px; }
@media (min-width: 760px) { .wrap.wide .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .wrap.wide .grid { grid-template-columns: repeat(3, 1fr); } }
.wcard { position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.wc-main { display: flex; gap: 14px; padding: 16px; color: inherit; }
.wc-txt { flex: 1; min-width: 0; padding-right: 30px; }
.wc-name b { font-size: 1.08rem; } .sub { color: var(--sub); font-size: .88rem; }
.wc-line { font-size: .9rem; margin: 3px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; } .wc-line .flag { font-size: 1.1em; }
.visa { color: var(--ink); }
.vtag { font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; display: inline-block; }
.vtag.free { background: var(--green2); color: #08784A; } .vtag.permit { background: var(--amber2); color: var(--amber); } .vtag.no { background: var(--red2); color: #B42318; }
.wc-jobs { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0; } .wc-jobs span { background: var(--bg); border-radius: 8px; padding: 3px 8px; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.wc-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--sub); } .wc-meta .now { color: var(--green); font-weight: 700; }
.wc-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: .78rem; align-items: center; }
.agtag { background: var(--purple2); color: var(--purple); border-radius: 6px; padding: 2px 7px; font-weight: 700; } .selftag { background: var(--blue2); color: var(--blue); border-radius: 6px; padding: 2px 7px; font-weight: 700; }
.act { color: var(--sub); } .act.today { color: var(--green); font-weight: 700; } .abroad { color: var(--amber); font-weight: 700; }
.fav { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; color: #C0C6D0; }
.fav.on { color: var(--red); }
.btn.ghost.fav { position: static; width: 64px; font-size: 1.6rem; flex: none; }
.gone { position: absolute; inset: 0; background: rgba(255,255,255,.7); display: grid; place-items: center; font-weight: 800; color: var(--sub); border-radius: var(--r); }
.wc-ag { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; }
.av { position: relative; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #DDE6FF, #EEF2FF); display: grid; place-items: center; flex: none; font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.av-flag { position: absolute; right: -6px; bottom: -6px; font-style: normal; background: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.av-flag .flag { font-size: 1rem; } .av-flag .flag.txt { font-size: .55rem; padding: 1px 2px; }
.av.lg { width: 88px; height: 88px; border-radius: 26px; font-size: 2rem; }
.kdots { display: inline-flex; gap: 3px; vertical-align: middle; } .kdots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .kdots i.on { background: var(--blue); }

/* 찾기 조건 */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 42px; font-size: .9rem; font-weight: 600; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.fchip.on { border-color: var(--green); background: var(--green2); color: #08784A; } .fchip.clear { color: var(--red); }
.listhead { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.freeline { background: var(--green2); color: #08784A; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .9rem; margin: 6px 0 10px; }
.payline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; } .vchip { font-size: .82rem; border-radius: 8px; padding: 4px 9px; font-weight: 600; }
.vchip.free { background: var(--green2); color: #08784A; } .vchip.permit { background: var(--amber2); color: var(--amber); } .vchip.no { background: var(--red2); color: #B42318; }
.vh { margin-top: 14px; } .vh.free { color: #08784A; } .vh.permit { color: var(--amber); } .vh.no { color: #B42318; }

/* 프로필 */
.prof-h { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.prof-h h2 { font-size: 1.35rem; }
.prof-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.prof-tags .vtag { font-size: .85rem; padding: 4px 10px; }
.tag { font-size: .85rem; background: var(--bg); border-radius: 6px; padding: 4px 10px; font-weight: 600; } .tag.now { background: var(--green2); color: #08784A; }
.pr { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.pr span { color: var(--sub); } .pr b { text-align: right; }
.agbox { margin-top: 14px; background: var(--purple2); border-radius: 14px; padding: 12px 14px; color: var(--ink2); }
.agbox small { display: block; color: var(--sub); margin-top: 4px; } .ok { color: var(--green); font-weight: 700; }
.savebar { position: sticky; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 20; display: flex; gap: 10px; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 30%); }
.savebar .btn.big { margin-top: 0; flex: 1; }
@media (min-width: 700px) { .savebar { bottom: 96px; } }

/* 근로자 홈 */
.status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status.on { background: var(--green2); } .status.off { background: #F3F4F6; }
.st-t { display: flex; gap: 12px; align-items: center; } .st-t small { display: block; color: var(--sub); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sub); flex: none; } .status.on .dot { background: var(--green); box-shadow: 0 0 0 5px rgba(15,169,104,.2); }
.switch { width: 62px; height: 36px; border-radius: 999px; border: 0; background: #CBD5E1; position: relative; flex: none; transition: .2s; }
.switch i { position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--green); } .switch.on i { left: 30px; }
.mini3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.mini { background: #fff; border-radius: 16px; box-shadow: var(--sh); padding: 14px 6px; text-align: center; color: inherit; }
.mini b { display: block; font-size: 1.35rem; } .mini small { color: var(--sub); font-size: .78rem; }
.bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6E9BFF); }
.more p { margin: 10px 0; } .more .chip { min-height: 36px; padding: 5px 12px; font-size: .85rem; color: var(--blue); }
.bell { background: var(--blue2); } .bell p { margin: 4px 0 10px; color: var(--ink2); font-size: .92rem; } .bell.off { background: #F3F4F6; }
.fsec h3 { font-size: 1.05rem; }

/* 메시지 */
.threads { display: grid; gap: 2px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; margin-top: 10px; }
.th { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: inherit; border-bottom: 1px solid var(--line); }
.th:last-child { border-bottom: 0; } .th.new { background: #F7F9FF; }
.th .av { width: 52px; height: 52px; border-radius: 16px; font-size: 1.3rem; }
.th-t { flex: 1; min-width: 0; } .th-t b { display: block; } .th-t small { color: var(--sub); font-size: .8rem; }
.th-t p { margin: 2px 0 0; color: var(--sub); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th.new .th-t p { color: var(--ink); font-weight: 600; }
.th-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .th-r small { color: var(--sub); font-size: .75rem; }
.th-r .badge { position: static; }
.wrap.chat { padding-bottom: 240px; }
.chat-h { background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chat-h b { display: block; } .chat-h small { color: var(--sub); }
.chat-safe { font-size: .8rem; color: var(--amber); background: var(--amber2); border-radius: 10px; padding: 8px 12px; margin: 10px 0; }
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 18px; background: #fff; box-shadow: var(--sh); align-self: flex-start; border-bottom-left-radius: 6px; }
.bub.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.bub p { margin: 0; } .bub time { display: block; font-size: .7rem; opacity: .6; margin-top: 4px; text-align: right; }
.bub .tr { font-size: .8rem; display: inline-block; margin-top: 6px; font-weight: 700; }
.bub.me .btn { background: #fff; color: var(--blue); } .bub .btn { margin-top: 8px; }
.bub.k-offer { background: #fff; color: var(--ink); padding: 0; overflow: hidden; } .bub.me.k-offer { border: 2px solid var(--blue); }
.bub.k-offer time { padding: 0 14px 8px; color: var(--sub); }
.offer .of-h { background: var(--green2); color: #08784A; font-weight: 800; padding: 10px 14px; }
.offer .of-r { display: flex; justify-content: space-between; gap: 14px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; } .of-r span { color: var(--sub); }
.of-note { padding: 10px 14px; white-space: pre-wrap; font-size: .92rem; }
.composer { position: fixed; left: 0; right: 0; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 25; background: rgba(244,246,250,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 8px 10px; max-width: 560px; margin: 0 auto; }
@media (min-width: 700px) { .composer { bottom: 96px; border-radius: 18px; border: 1px solid var(--line); } }
.qchips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; } .qchips::-webkit-scrollbar { display: none; }
.qc { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .86rem; white-space: nowrap; min-height: 38px; }
.cbar { display: flex; gap: 8px; align-items: flex-end; }
.cbar textarea { flex: 1; border: 1.5px solid var(--line); border-radius: 18px; padding: 11px 14px; font: inherit; resize: none; min-height: 46px; max-height: 140px; outline: none; background: #fff; }
.cbar .plus { background: #fff; box-shadow: var(--sh); border-radius: 50%; }
.tmpls { display: grid; gap: 8px; } .tmpl { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; font-size: 1rem; min-height: 52px; }
.tmpl:active { border-color: var(--green); background: var(--green2); }
.menu { display: grid; gap: 0; padding: 4px 0; }
.card.menu { padding: 4px 16px; }
.menu > button, .menu > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 16px 2px; text-align: left; font-size: 1rem; color: var(--ink); min-height: 56px; width: 100%; }
.menu > :last-child { border-bottom: 0; } .menu b { color: var(--sub); font-weight: 600; font-size: .9rem; } .menu .danger { color: var(--red); }

/* 기업 이용권 */
.plan.ok { background: var(--green2); } .plan.bad { background: var(--red2); }
.plan-mini { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-mini.ok { background: var(--green2); } .plan-mini.bad { background: var(--red2); }
.bank { background: var(--bg); border-radius: 14px; padding: 12px 14px; margin-top: 14px; } .bank div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; } .bank span { color: var(--sub); }
.ps { font-size: .8rem; border-radius: 6px; padding: 2px 8px; } .ps.requested { background: var(--amber2); color: var(--amber); } .ps.paid { background: var(--green2); color: #08784A; } .ps.cancel { background: var(--bg); color: var(--sub); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .price b { font-size: 1.7rem; color: var(--green); } .price span { color: var(--sub); }
.freebox { background: var(--green2); color: #08784A; font-weight: 700; border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.hero-co { background: linear-gradient(135deg, var(--green2), #fff); } .hero-ag { background: linear-gradient(135deg, var(--purple2), #fff); }
.hero-co h2, .hero-ag h2 { font-size: 1.35rem; margin-bottom: 8px; }

/* 중개소 서류 */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.doc { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.doc img { width: 100%; height: 100%; object-fit: cover; } .doc .x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; }
.doc.add { border: 2px dashed var(--line); font-size: 2rem; color: var(--sub); cursor: pointer; display: flex; flex-direction: column; gap: 4px; } .doc.add small { font-size: .8rem; }
.vst { font-size: .78rem; border-radius: 6px; padding: 3px 8px; vertical-align: middle; } .vst.pending { background: var(--amber2); color: var(--amber); } .vst.ok { background: var(--green2); color: #08784A; } .vst.rejected { background: var(--red2); color: #B42318; }
.bad { color: var(--red); }

/* 도움말 */
.tel { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; }
.tel:last-child { border-bottom: 0; } .tel > b { font-size: 1.15rem; color: var(--red); width: 104px; flex: none; }
.tel span { flex: 1; font-weight: 600; } .tel small { display: block; font-weight: 400; color: var(--sub); font-size: .82rem; } .tel i { font-style: normal; font-size: 1.3rem; }
.big-num { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin: 4px 0; }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; } .faq summary { font-weight: 700; cursor: pointer; } .faq p { color: var(--ink2); margin: 8px 0 0; }
.guide { padding-left: 22px; } .guide li { margin: 10px 0; font-size: 1.02rem; } .ios-arrow { text-align: center; font-size: 2.4rem; color: var(--blue); animation: bob 1s infinite alternate; } @keyframes bob { to { transform: translateY(8px); } }
.warnline { background: var(--amber2); border-radius: 10px; padding: 10px 12px; }
.legal { font-size: .93rem; color: var(--ink2); } .legal h2 { font-size: 1.2rem; margin: 6px 0 12px; } .legal h3 { font-size: 1rem; margin: 18px 0 6px; } .legal hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

[dir=rtl] .wc-txt { padding-right: 0; padding-left: 30px; } [dir=rtl] .fav { right: auto; left: 8px; } [dir=rtl] .pickbtn, [dir=rtl] .li, [dir=rtl] .lang, [dir=rtl] .cbtn { text-align: right; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.wc-ag .inp.sm { min-width: 130px; }
[dir=rtl] [data-back], [dir=rtl] .back-in, [dir=rtl] .r-go { transform: scaleX(-1); }
