/* 2026-10-12 시안 적용(운송팀 최수아) — 도착관리 휴대폰 첫 화면 (시안 Mobile.dc.html '도착' 탭)
   ① 위 속탭(도착조회·거래처조회·택배조회) = 알약 모양 — 모든 직원에게 보임(모양만, 누르면 가는 곳은 그대로)
   ② 운영현황 권한이 있는 사람에게만: 목록 위에 '오늘 도착 운임' 카드(접을 수 있음) + 미인수·미수 줄 (arrivals-mobile.js)
   값은 공용 단계(글자 12·13·14·16·28 / 간격 4배수 / 모서리 8·12·16·알약 / 움직임 120·200ms 한 곡선 / 판은 옅은 선).
   되돌리기: arrivals.html·driver.html 에서 이 css 와 arrivals-mobile.js 줄을 지우면 이전 모습. */
#mArrHome{display:none}   /* PC 폭에서는 절대 안 보임(휴대폰 폭에서만 아래 규칙으로 켜짐) */
@media (max-width:760px){
  /* ── ① 알약 속탭 (shared-nav.js 가 만든 .m-subnav 를 모양만 바꿈 — 도착관리·거래처조회·택배조회 화면 공통) ── */
  html body.has-m-subnav:not(.yj-embed)>.m-subnav{gap:8px!important;padding-bottom:4px!important}
  html body.has-m-subnav:not(.yj-embed)>.m-subnav a{height:34px!important;padding:0 16px!important;border-radius:999px!important;background:transparent!important;
    box-shadow:inset 0 0 0 1px #d5dbe4!important;color:#5b6b86!important;font-size:13px!important;font-weight:600!important;
    transition:background-color 120ms cubic-bezier(.2,.7,.2,1),color 120ms cubic-bezier(.2,.7,.2,1)!important}
  html body.has-m-subnav:not(.yj-embed)>.m-subnav a.on{background:#151d2e!important;box-shadow:none!important;color:#fff!important}
  html body.has-m-subnav:not(.yj-embed)>.m-subnav a:not(.on):active{background:#eef1f5!important}

  /* ── ② 오늘 도착 운임 카드 + 미인수·미수 줄 (운영현황 권한만 · 목록 바로 위) ── */
  html body.yj-p-arrivals:not(.arrival-partners-active) #mArrHome:not([hidden]):not(.ah-q){display:block;margin:0 0 12px}
  html body #mArr{scroll-margin-top:calc(var(--yj-top,0px) + 132px)}
  #mArrHome .ah-card{padding:16px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px rgba(17,24,39,.08);color:#151d2e;font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;animation:ahFade 200ms cubic-bezier(.2,.7,.2,1)}
  @keyframes ahFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
  html body #mArrHome button.ah-head{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:24px!important;margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#5b6b86!important;font:600 12px/1.3 Pretendard,-apple-system,sans-serif!important;text-align:left!important}
  #mArrHome .ah-chev{flex:none;width:16px;height:16px;color:#a3aec0;transition:transform 200ms cubic-bezier(.2,.7,.2,1)}
  #mArrHome.ah-off .ah-chev{transform:rotate(-90deg)}
  #mArrHome .ah-big{display:flex;align-items:baseline;gap:8px;margin-top:4px;min-height:34px}
  #mArrHome .ah-big b{font-size:28px;font-weight:700;letter-spacing:-.3px;line-height:1.2}
  #mArrHome .ah-big b small{margin-left:2px;font-size:22px;font-weight:700}
  #mArrHome .ah-big span{font-size:13px;color:#5b6b86}
  #mArrHome .ah-sub{margin-top:4px;font-size:12px;color:#5b6b86}
  #mArrHome .ah-more{display:flex;flex-direction:column;gap:16px;margin-top:16px}
  #mArrHome.ah-off .ah-more{display:none}
  #mArrHome .ah-split{display:flex;height:8px;border-radius:4px;overflow:hidden;background:#e7ebf2}
  #mArrHome .ah-split i{display:block;height:100%}
  #mArrHome .ah-splitn{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;font-weight:600}
  #mArrHome .ah-terms{display:flex;flex-direction:column;gap:8px}
  #mArrHome .ah-t{display:grid;grid-template-columns:40px minmax(0,1fr) 64px;gap:8px;align-items:center}
  #mArrHome .ah-t>span:first-child{font-size:13px;font-weight:600}
  #mArrHome .ah-t>span:nth-child(2){height:8px;border-radius:4px;background:#e7ebf2;overflow:hidden}
  #mArrHome .ah-t>span:nth-child(2) i{display:block;height:100%;border-radius:4px;background:#5b6b86;transition:width 320ms cubic-bezier(.2,.7,.2,1)}
  #mArrHome .ah-t>span:last-child{text-align:right;font-size:13px;font-weight:600}
  html body #mArrHome button.ah-retry{display:inline!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#26314a!important;font:600 12px/1.3 Pretendard,-apple-system,sans-serif!important;text-decoration:underline}
  #mArrHome .ah-rows{margin-top:12px;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px rgba(17,24,39,.08)}
  #mArrHome.ah-off .ah-rows{display:none}
  html body #mArrHome button.ah-row{display:flex!important;align-items:center!important;gap:8px!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:52px!important;margin:0!important;padding:0 16px!important;
    border:0!important;border-bottom:1px solid #e7ebf2!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#151d2e!important;
    font:600 16px/1.3 Pretendard,-apple-system,sans-serif!important;text-align:left!important;-webkit-tap-highlight-color:transparent}
  html body #mArrHome button.ah-row:last-child{border-bottom:0!important}
  html body #mArrHome button.ah-row:active{background:#f5f6f8!important}
  #mArrHome .ah-row b{margin-left:auto;font-size:16px;font-weight:700}
  #mArrHome .ah-row b.warn{color:#b45309}
  #mArrHome .ah-row svg{flex:none;width:16px;height:16px;color:#a3aec0}
  html body #mArrHome button.ah-row.on{background:#f5f6f8!important}
}
@media (prefers-reduced-motion:reduce){#mArrHome .ah-card{animation:none}}
