/* 휴대폰 나의방 · 달력 · 미달 진단 · 업체 관리 · 보조 화면과 전체 메뉴(시안 `docs/design/mobile-2026-11-01`) — 전부 @media (max-width: 1023px) 안에 쓴다.
   시안의 인라인 style 을 옮긴 규칙과, PC 폼 · 글을 그대로 쓰는 화면(업체 수정 · 계산 방법 · 약관)의 카드 모양을 둔다. */
@media (max-width: 1023px) {
  body.m-ok .m-ml-auto { margin-left: auto; }
  body.m-ok .m-ink { color: var(--m-c-ink); }
  body.m-ok .m-wn { color: var(--m-c-warn); font-weight: 700; }
  body.m-ok button.m-btn { font-family: inherit; cursor: pointer; }
  body.m-ok .m-page [hidden] { display: none !important; }
  body.m-ok .m-badge-xs { height: 18px; font-size: 11px; }
  body.m-ok .m-ic-navy { background: var(--m-c-navy); }
  body.m-ok .m-ic-warn { background: var(--m-c-warn); }
  body.m-ok .m-ab-login { min-height: 40px; }
  .m-ev-rgst { background: var(--m-ev-rgst); }
  .m-ev-begin { background: var(--m-ev-begin); }
  .m-ev-close { background: var(--m-ev-close); }
  .m-ev-openg { background: var(--m-ev-openg); }
  .m-ev-etc { background: var(--m-ev-etc); }

  /* 자비 안내 카드 — 하단 막대가 펼쳐져 있으면 그 위(기본 자리는 javi.css) */
  body:has(.m-stack:not([hidden])) .javi-bubble.is-card { bottom: calc(var(--m-tabbar) + var(--m-stackbar) + var(--m-sab) + 8px); }

  /* 전체 메뉴 */
  .m-menu-b { gap: 6px; }
  .m-menu-guest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 2px 0 8px; }
  .m-menu-who { display: flex; align-items: center; gap: 10px; padding: 4px 0 8px; min-width: 0; }
  .m-menu-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--m-c-navy-100); color: var(--m-c-navy); font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .m-menu-whot { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
  .m-why-b { gap: 0; }

  /* 나의방 */
  body.pg-room .m-nc-top { flex-wrap: nowrap; }
  body.pg-room .m-nc-dl { flex: none; }
  body.pg-room .m-nc-dls { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-room .m-nc-ab { flex: none; margin-left: auto; }
  body.pg-room .m-nc-name, body.pg-room .m-nc-meta { overflow-wrap: anywhere; }
  body.pg-room .m-nc-elig { cursor: pointer; font-family: inherit; font-size: 14px; color: var(--m-c-ink); width: 100%; text-align: left; }
  body.pg-room .m-nc-static { cursor: default; }
  body.pg-room .m-nc-rm { display: contents; }
  body.pg-room .m-cal-day { gap: 4px; }
  body.pg-room .m-cal-none { margin: 8px 0 2px; }
  body.pg-room .m-cal-up { padding-top: 4px; }

  /* 미달 진단 */
  body.pg-diag .m-diag-in { gap: 12px; padding-top: 16px; }
  body.pg-diag .m-scr-h { padding: 0; }
  body.pg-diag .m-ferr { margin-top: -4px; }
  body.pg-diag .m-meta-lock { display: inline-flex; align-items: center; gap: 6px; }
  body.pg-diag .m-diag-ex { align-self: flex-start; padding: 0; font-family: inherit; cursor: pointer; }
  body.pg-diag .m-diag-corp { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
  body.pg-diag .m-diag-corp span { font-weight: 500; color: var(--m-c-slate-600); }
  body.pg-diag .m-v-me { color: var(--m-c-navy); }
  body.pg-diag .m-v-med { color: var(--m-c-slate-700); }
  body.pg-diag .m-ev { font-family: inherit; cursor: pointer; text-align: left; }
  body.pg-diag .m-lb-med { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--m-c-slate-600); }
  body.pg-diag .m-lb-med i { width: 2px; height: 12px; background: var(--m-c-slate-500); }
  body.pg-diag .m-track-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  body.pg-diag .m-bar-me { fill: var(--m-c-navy); }
  body.pg-diag .m-bar-low { fill: #c5ccd6; }
  body.pg-diag .m-bar-med { stroke: var(--m-c-slate-500); stroke-width: 2; }
  body.pg-diag .m-ax0 { left: 0; }
  body.pg-diag .m-ax5 { left: 25%; }
  body.pg-diag .m-ax10 { left: 50%; }
  body.pg-diag .m-ax15 { left: 75%; }
  body.pg-diag .m-ax20 { left: 100%; }
  body.pg-diag .m-vt-above { color: var(--m-c-warn); }
  body.pg-diag .m-vt-below { color: var(--m-c-ok); }
  body.pg-diag .m-vt-note { color: var(--m-c-slate-600); font-weight: 600; }
  body.pg-diag .m-diag-lic { gap: 4px; }
  body.pg-diag .m-diag-licn { font-size: 22px; font-weight: 700; }
  body.pg-diag .m-diag-licnone { color: var(--m-c-slate-600); }
  body.pg-diag .m-diag-lic .m-sub { font-size: 14px; text-wrap: pretty; }
  body.pg-diag .m-diag-guide { padding-top: 2px; padding-bottom: 4px; }
  body.pg-diag .m-fold { border-top: 0; }
  body.pg-diag .m-fold > button { font-family: inherit; cursor: pointer; }
  body.pg-diag .m-ev-b p { margin: 0; font-size: 15px; line-height: 1.65; }

  /* 업체 관리 */
  body.pg-co .m-confirm { margin-top: 12px; }
  body.pg-co .m-confirm form { display: block; }
  body.pg-co .m-co-delnote { color: var(--m-c-slate-700); }
  body.pg-co .m-co-foot-note { margin: 0; }

  /* 업체 추가 · 수정 — PC 폼을 그대로 쓰고 시안의 카드로 보인다 */
  body.pg-coedit .main-co { max-width: 720px; padding: 12px calc(12px + var(--m-sar)) 16px calc(12px + var(--m-sal)); gap: 12px; }
  body.pg-coedit .co-head-text { display: none; }
  body.pg-coedit .co-edit-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
  body.pg-coedit .co-form { display: flex; flex-direction: column; gap: 12px; }
  body.pg-coedit .co-grid, body.pg-coedit .co-block { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--m-c-surface); border: 1px solid var(--m-c-line); border-radius: var(--m-r-xl); }
  body.pg-coedit .co-field { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: none; }
  body.pg-coedit .co-field > .co-label, body.pg-coedit .m-co-lb { font-size: 14px; font-weight: 700; color: var(--m-c-slate-700); }
  body.pg-coedit .m-co-lb { display: block; margin-bottom: 6px; }
  body.pg-coedit .co-block > .co-label { font-size: 17px; font-weight: 800; color: var(--m-c-ink); }
  body.pg-coedit .inp, body.pg-coedit .select { width: 100%; max-width: none; height: 50px; padding: 0 12px; border: 1.5px solid var(--m-c-line-strong); border-radius: 12px; background: var(--m-c-surface); font-size: 16px; text-align: left; }
  body.pg-coedit .co-lic-pick { height: 50px; }
  .lic-panel { inset: 0; left: 0 !important; top: 0 !important; width: auto; max-height: none; border: 0; border-radius: 0; padding: calc(10px + var(--m-sat)) 12px calc(10px + var(--m-sab)); }
  .lic-panel-h { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 17px; }
  .lic-panel-x { width: 44px; height: 44px; border: 0; background: transparent; font-size: 16px; }
  .lic-panel-q { height: 50px; font-size: 16px; border-radius: 12px; }
  .lic-panel-list { flex: 1; }
  .lic-panel-item { min-height: 48px; font-size: 16px; }
  body.pg-coedit .inp.err { border-color: var(--m-c-risk); }
  body.pg-coedit [data-amount] { text-align: right; font-variant-numeric: tabular-nums; }
  body.pg-coedit .co-eok { font-size: 13px; text-align: right; }
  body.pg-coedit .errtxt { font-size: 13.5px; font-weight: 600; }
  body.pg-coedit .co-lic-table, body.pg-coedit .co-lic-table tbody { display: block; width: 100%; }
  body.pg-coedit .co-lic-table tbody { counter-reset: lic; }
  body.pg-coedit .co-lic-table thead { display: none; }
  body.pg-coedit .co-lic-table tr { counter-increment: lic; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--m-c-line); border-radius: 12px; background: var(--m-c-surface-2); }
  body.pg-coedit .co-lic-table tr::before { content: "면허 " counter(lic); grid-column: 1; grid-row: 1; align-self: center; font-size: 14px; font-weight: 700; color: var(--m-c-slate-600); }
  body.pg-coedit .co-lic-table td { display: block; min-width: 0; padding: 0; }
  body.pg-coedit .co-lic-table td:nth-child(1), body.pg-coedit .co-lic-table td:nth-child(4), body.pg-coedit .co-lic-table td:nth-child(5) { grid-column: 1 / -1; }
  body.pg-coedit .co-lic-table td.co-cell-x { grid-column: 2; grid-row: 1; justify-self: end; }
  body.pg-coedit .tbtn-x { width: 44px; height: 44px; margin: -8px -8px -8px 0; color: var(--m-c-slate-500); }
  body.pg-coedit .co-start { width: 100%; min-height: 44px; justify-content: center; border: 1px solid var(--m-c-line-strong); border-radius: 10px; background: var(--m-c-surface); font-size: 15px; font-weight: 700; color: var(--m-c-ink); }
  body.pg-coedit .co-region-pick { display: flex; flex-wrap: wrap; gap: 10px; }
  body.pg-coedit .co-region-pick .m-co-lb-half { flex: 1 1 calc(50% - 5px); margin: 0 0 -4px; }
  body.pg-coedit .co-sel { flex: 1 1 calc(50% - 5px); min-width: 0; width: auto; }
  body.pg-coedit [data-region-add] { flex: 1 1 100%; height: auto; min-height: 44px; }
  body.pg-coedit .co-block:has([data-chip]) .m-co-noreg { display: none; }
  body.pg-coedit .co-foot { position: fixed; left: 0; right: 0; bottom: calc(var(--m-tabbar) + var(--m-sab)); z-index: 44; display: flex; align-items: center; gap: 8px; height: var(--m-stackbar); margin: 0; padding: 0 calc(12px + var(--m-sar)) 0 calc(12px + var(--m-sal)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--m-c-line); }
  html.m-kb-open body.pg-coedit .co-foot { bottom: 0; }
  body.pg-coedit .co-foot .errtxt { flex: 1; min-width: 0; font-size: 13px; }
  body.pg-coedit .co-foot .btn { flex: none; height: 44px; }
  body.pg-coedit .co-foot > .btn:first-of-type:not(:only-of-type) { margin-left: auto; }

  /* 계산 방법 */
  body.pg-aux .main-method { max-width: 720px; margin: 0 auto; padding: 12px calc(12px + var(--m-sar)) 16px calc(12px + var(--m-sal)); gap: 12px; }
  body.pg-aux .method-head { gap: 8px; padding: 4px 2px 0; }
  body.pg-aux .method-title { font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }
  body.pg-aux .method-lead { margin: 0; font-size: 14px; line-height: 1.55; color: var(--m-c-slate-600); text-wrap: pretty; }
  body.pg-aux .method-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.pg-aux .method-num { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px; border: 1px solid var(--m-c-line); border-radius: 12px; background: var(--m-c-surface); }
  body.pg-aux .method-num > .sub:first-child { font-size: 13px; font-weight: 700; color: var(--m-c-ink); }
  body.pg-aux .method-num > b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--m-c-navy); overflow-wrap: anywhere; }
  body.pg-aux .method-num > b.is-ok { color: var(--m-c-ok); }
  body.pg-aux .method-num > .sub:last-child { font-size: 12px; line-height: 1.45; }
  body.pg-aux .method-card { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--m-c-line); border-radius: var(--m-r-xl); background: var(--m-c-surface); }
  body.pg-aux .method-limit { border-color: #efc995; background: #fffaf2; }
  body.pg-aux .method-h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
  body.pg-aux .method-card-head { display: flex; flex-direction: column; gap: 6px; }
  body.pg-aux .method-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--m-c-slate-700); }
  body.pg-aux .method-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--m-c-line); }
  body.pg-aux .method-step:last-child { border-bottom: 0; padding-bottom: 0; }
  body.pg-aux .method-step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--m-c-navy); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  body.pg-aux .method-step b { display: block; margin-bottom: 2px; font-size: 15.5px; }
  body.pg-aux .method-formula { margin-top: 8px; padding: 12px; border: 1px solid var(--m-c-navy-100); border-radius: 10px; background: var(--m-c-navy-50); font-size: 14px; line-height: 1.75; color: var(--m-c-navy); overflow-wrap: anywhere; word-break: normal; }

  /* 준비 중 · 오류 */
  body.pg-aux .m-data-h { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--m-c-slate-600); }
  body.pg-aux .m-tooltabs .m-chip { font-size: 14px; }

  /* 약관 */
  body.pg-aux .main-doc { max-width: 34em; margin: 0 auto; padding: 12px calc(12px + var(--m-sar)) 16px calc(12px + var(--m-sal)); gap: 18px; }
  body.pg-aux .doc-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
  body.pg-aux .doc-meta { font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-aux .doc-toc { padding: 4px 14px; border: 1px solid var(--m-c-line); border-radius: var(--m-r-xl); background: var(--m-c-surface); }
  body.pg-aux .doc-toc-label { display: none; }
  body.pg-aux .doc-toc-list { margin: 0; padding: 0; list-style: none; columns: auto; display: flex; flex-direction: column; }
  body.pg-aux .doc-toc-list li { margin: 0; border-bottom: 1px solid var(--m-c-line); }
  body.pg-aux .doc-toc-list li:last-child { border-bottom: 0; }
  body.pg-aux .doc-toc-list a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--m-c-ink); }
  body.pg-aux .doc-body { display: flex; flex-direction: column; gap: 18px; }
  body.pg-aux .doc-article { scroll-margin-top: calc(var(--m-appbar) + var(--m-sat) + 12px); }
  body.pg-aux .doc-heading { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
  body.pg-aux .doc-article p { margin: 0 0 6px; font-size: 15.5px; line-height: 1.8; text-wrap: pretty; }
}

/* 알림 설정(시안 `이츠자비스 모바일 알림 설정`) */
@media (max-width: 1023px) {
  body.pg-alerts .m-page .al-off, body.pg-alerts .m-page .al-wait { display: flex; flex-direction: column; gap: 12px; }
  body.pg-alerts .m-page .al-off[hidden], body.pg-alerts .m-page .al-wait[hidden] { display: none; }
  body.pg-alerts .m-page .al-code { padding: 12px; border-radius: 10px; }
  body.pg-alerts .m-page .al-code b { font-size: 26px; }
  body.pg-alerts .m-page .al-note { border-radius: 12px; padding: 12px; font-size: 14.5px; line-height: 1.5; }
  body.pg-alerts .m-page .al-acts { gap: 8px; }
  body.pg-alerts .al-item { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 12px; border-bottom: 1px solid var(--m-c-line); }
  body.pg-alerts .al-item:last-child { border-bottom: 0; padding-bottom: 0; }
  body.pg-alerts .al-tgl { width: 100%; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; padding-top: 6px; }
  body.pg-alerts .al-tgl i { margin-top: 2px; }
  body.pg-alerts .m-page .al-t b { font-size: 15.5px; font-weight: 700; }
  body.pg-alerts .m-page .al-t .m-sub { font-weight: 500; text-wrap: pretty; }
  body.pg-alerts .al-leads { display: flex; gap: 6px; flex-wrap: wrap; }
  body.pg-alerts .al-leads[hidden] { display: none; }
  body.pg-alerts .m-page .al-msg { border-radius: 12px; }
  body.pg-alerts .m-page .al-go { padding: 7px 10px; border-radius: 8px; }
  body.pg-alerts .m-page .al-log > div { gap: 2px 10px; padding: 10px 0; }
  body.pg-alerts .al-toast { bottom: calc(var(--m-tabbar) + var(--m-sab) + 12px); border-radius: 10px; }
}

/* 개찰 상세(시안 `이츠자비스 모바일 개찰 상세`) — 막대 · 표시선 · 비고 칩은 app.css .pg-op 를 같이 쓴다 */
@media (max-width: 1023px) {
  body.pg-op .m-page .op-mh { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px 0; }
  body.pg-op .m-page .op-mh h1 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; text-wrap: pretty; }
  body.pg-op .m-page .op-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-msum-card { overflow: hidden; }
  body.pg-op .m-page .op-msum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--m-c-line); }
  body.pg-op .m-page .op-msum > div { background: var(--m-c-surface); padding: 10px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  body.pg-op .m-page .op-msum span { font-size: 12.5px; color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-msum b { font-size: 16px; font-weight: 800; }
  body.pg-op .m-page .op-msum small { font-size: 12px; color: var(--m-c-slate-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-op .m-page .op-msum .hl b { color: var(--m-c-navy); }
  body.pg-op .m-page .op-mmine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--m-c-navy); background: var(--m-c-navy-50); }
  body.pg-op .m-page .op-mmine .who { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
  body.pg-op .m-page .op-mmine .who span { font-size: 12.5px; font-weight: 800; color: var(--m-c-navy); }
  body.pg-op .m-page .op-mmine .who b { font-size: 16px; }
  body.pg-op .m-page .op-mmine .v { display: flex; flex-direction: column; gap: 1px; }
  body.pg-op .m-page .op-mmine .v span { font-size: 12px; color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-mmine .v b { font-size: 15px; font-weight: 800; }
  body.pg-op .m-page .op-mrp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.pg-op .m-page .op-mrp > div { border: 1px solid var(--m-c-line); border-radius: 10px; padding: 7px 8px; display: flex; flex-direction: column; gap: 1px; }
  body.pg-op .m-page .op-mrp > div.dr { border-color: var(--m-c-navy); background: var(--m-c-navy-50); }
  body.pg-op .m-page .op-mrp .no { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-mrp .dr .no { color: var(--m-c-navy); }
  body.pg-op .m-page .op-mrp b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
  body.pg-op .m-page .op-mrp small { font-size: 11.5px; color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-m0 { margin: 0; }
  body.pg-op .m-page .op-hist { height: 110px; gap: 1px; }
  body.pg-op .m-page .op-axis { font-size: 11.5px; }
  body.pg-op .m-page .op-legend { gap: 6px 12px; font-size: 12.5px; }
  body.pg-op .m-page .op-mform { margin: 0; }
  body.pg-op .m-page .op-msearch { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--m-c-line-strong); border-radius: 12px; font: inherit; font-size: 16px; outline: 0; }
  body.pg-op .m-page .op-mlist { display: flex; flex-direction: column; }
  body.pg-op .m-page .op-mrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--m-c-line); }
  body.pg-op .m-page .op-mrow .rk { grid-row: 1 / 3; font-size: 15px; font-weight: 800; text-align: center; color: var(--m-c-slate-700); }
  body.pg-op .m-page .op-mrow .nm { font-size: 14.5px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-op .m-page .op-mrow .rt { font-size: 14.5px; font-weight: 800; text-align: right; }
  body.pg-op .m-page .op-mrow .bz { font-size: 12.5px; color: var(--m-c-slate-600); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-op .m-page .op-mrow .df { font-size: 12.5px; text-align: right; color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-mrow.first { background: var(--m-c-ok-bg); }
  body.pg-op .m-page .op-mrow.me { background: var(--m-c-navy-50); }
  body.pg-op .m-page .op-mrow.below .rt { color: var(--m-c-slate-600); }
  body.pg-op .m-page .op-msep { padding: 8px 6px; background: var(--m-c-risk-bg); color: var(--m-c-risk); font-size: 12.5px; font-weight: 800; }
  body.pg-op .m-page .op-rm { height: 18px; padding: 0 5px; margin-right: 4px; font-size: 11px; }
  body.pg-op .m-page .op-me { margin-right: 5px; vertical-align: 1px; }
  body.pg-op .m-page .op-empty { padding: 22px 14px; text-align: center; color: var(--m-c-slate-600); font-size: 14.5px; background: var(--m-c-surface-2); border-radius: 12px; text-wrap: pretty; }
}

/* 지난 개찰 검색(시안 `이츠자비스 모바일 지난 개찰 검색`) — 배지 · 내 업체 순위는 app.css .pg-os 를 같이 쓴다 */
@media (max-width: 1023px) {
  body.pg-os .os-mh { display: flex; flex-direction: column; gap: 2px; padding: 2px 2px 0; }
  body.pg-os .os-mh h1 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
  body.pg-os .os-mh span { font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-os .m-page form.m-search { margin: 0; }
  body.pg-os .os-oc { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--m-c-line); border-radius: 14px; background: var(--m-c-surface); text-decoration: none; color: var(--m-c-ink); }
  body.pg-os .os-oc-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-os .os-oc-top b { color: var(--m-c-ink); }
  body.pg-os .os-oc-name { font-size: 16px; font-weight: 700; line-height: 1.4; text-wrap: pretty; }
  body.pg-os .os-oc-meta { font-size: 12.5px; color: var(--m-c-slate-600); }
  body.pg-os .os-oc-num { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; padding-top: 6px; border-top: 1px solid var(--m-c-line); }
  body.pg-os .os-oc-num > span { display: flex; flex-direction: column; min-width: 0; }
  body.pg-os .os-oc-num > span > span { font-size: 12px; color: var(--m-c-slate-600); }
  body.pg-os .os-oc-num b { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-os .os-oc-num small { font-size: 12px; color: var(--m-c-slate-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-os .os-me { height: 22px; font-size: 12.5px; }
  body.pg-os .os-mempty { padding: 28px 16px; text-align: center; color: var(--m-c-slate-600); }
  body.pg-os .os-m0 { margin: 0; }
  body.pg-os .os-ck input:checked + .m-chip { background: var(--m-c-navy); border-color: var(--m-c-navy); color: #fff; }
  body.pg-os .os-ck input:focus-visible + .m-chip { outline: 2px solid var(--m-c-navy); outline-offset: 2px; }
  body.pg-os .os-dates { display: flex; align-items: center; gap: 6px; }
  body.pg-os .os-dates[hidden] { display: none; }
  body.pg-os .os-dates input { flex: 1; min-width: 0; height: 40px; padding: 0 8px; border: 1px solid var(--m-c-line-strong); border-radius: 10px; font: inherit; font-size: 15px; }
  body.pg-os form.m-sheet { margin: 0; }
}

/* 발주처별 사정률 통계(시안 `이츠자비스 모바일 발주처 사정률`) — 분포 막대 · 색은 app.css .pg-ar 를 같이 쓴다 */
@media (max-width: 1023px) {
  body.pg-ar .ar-mh { display: flex; flex-direction: column; gap: 2px; padding: 2px 2px 0; }
  body.pg-ar .ar-mh h1 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
  body.pg-ar .ar-mh span { font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-ar .m-page form.m-search { margin: 0; }
  body.pg-ar .ar-mpick { display: flex; flex-direction: column; gap: 2px; padding: 2px 2px 0; }
  body.pg-ar .ar-mpick b { font-size: 18px; font-weight: 800; }
  body.pg-ar .ar-mpick span { font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-ar .ar-mwarn { padding: 10px 12px; border-radius: 12px; border: 1px solid #efc995; background: var(--m-c-warn-bg); color: #6b3606; font-size: 13.5px; font-weight: 600; }
  body.pg-ar .ar-msum-card { overflow: hidden; }
  body.pg-ar .ar-msum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--m-c-line); }
  body.pg-ar .ar-msum > div { background: var(--m-c-surface); padding: 10px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  body.pg-ar .ar-msum span { font-size: 12.5px; color: var(--m-c-slate-600); }
  body.pg-ar .ar-msum b { font-size: 16px; font-weight: 800; }
  body.pg-ar .ar-msum small { font-size: 12px; color: var(--m-c-slate-600); }
  body.pg-ar .ar-msum .hl b { color: var(--m-c-navy); }
  body.pg-ar .m-page .ar-hist { height: 120px; gap: 1px; }
  body.pg-ar .m-page .ar-bin .ag { width: 70%; }
  body.pg-ar .m-page .ar-axis { font-size: 11.5px; }
  body.pg-ar .m-page .ar-legend { gap: 6px 12px; font-size: 12.5px; }
  body.pg-ar .ar-mmon { display: flex; flex-direction: column; }
  body.pg-ar .ar-mmon > div { display: grid; grid-template-columns: 44px minmax(0, 1fr) 58px 34px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--m-c-line); font-size: 13.5px; }
  body.pg-ar .ar-mmon > div:last-child { border-bottom: 0; }
  body.pg-ar .ar-mmon i { display: block; width: 4%; height: 10px; border-radius: 5px; background: var(--m-c-navy); }
  body.pg-ar .ar-mmon i.none { background: var(--m-c-muted-bg); }
  body.pg-ar .ar-mmon b { text-align: right; }
  body.pg-ar .ar-mmon small { text-align: right; color: var(--m-c-slate-600); }
  body.pg-ar .ar-mrow { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 2px; border-bottom: 1px solid var(--m-c-line); text-decoration: none; color: var(--m-c-ink); text-align: left; }
  body.pg-ar .ar-mrow:last-child { border-bottom: 0; }
  body.pg-ar .ar-mrow .t, body.pg-ar .ar-mrow .v { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--m-c-slate-600); }
  body.pg-ar .ar-mrow .n { font-size: 14.5px; font-weight: 700; }
  body.pg-ar .ar-mrow .v b { color: var(--m-c-ink); font-size: 14.5px; }
  body.pg-ar .ar-mtop { display: flex; flex-direction: column; }
  body.pg-ar .ar-mtop a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 2px; border-bottom: 1px solid var(--m-c-line); text-decoration: none; color: var(--m-c-ink); }
  body.pg-ar .ar-mtop a:last-child { border-bottom: 0; }
  body.pg-ar .ar-mtop .nm { font-size: 14.5px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.pg-ar .ar-mtop .mn { font-size: 14.5px; font-weight: 800; text-align: right; }
  body.pg-ar .ar-mtop .sb { font-size: 12.5px; color: var(--m-c-slate-600); }
  body.pg-ar .ar-mtop .df { font-size: 12.5px; text-align: right; }
  body.pg-ar .ar-mnone { padding: 28px 16px; text-align: center; color: var(--m-c-slate-600); }
  body.pg-ar .ar-m0 { margin: 0; }
}

/* 내 정보(시안 `이츠자비스 모바일 내 정보`) */
@media (max-width: 1023px) {
  body.pg-account .ac-m-acct { display: flex; flex-direction: column; }
  body.pg-account .ac-m-acct > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--m-c-line); }
  body.pg-account .ac-m-acct > div:first-child { padding-top: 0; }
  body.pg-account .ac-m-acct > div:last-child { border-bottom: 0; padding-bottom: 0; }
  body.pg-account .ac-k { font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-account .ac-m-acct b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
  body.pg-account .ac-m0 { margin: 0; }
  body.pg-account .ac-err { font-size: 13.5px; font-weight: 600; color: var(--m-c-risk); }
  body.pg-account .ac-rule { font-size: 13px; color: var(--m-c-slate-600); }
  body.pg-account .ac-rule.is-ok { font-weight: 600; color: var(--m-c-ok); }
  body.pg-account .ac-m-eye { width: 44px; height: 44px; }
  body.pg-account .ac-m-ok { background: var(--m-c-ok-bg); border: 1px solid #b9dcc8; color: #14553a; }
  body.pg-account .ac-ic-ok { background: var(--m-c-ok); }
  body.pg-account .ac-ic-warn { background: var(--m-c-warn); }
  body.pg-account .ac-toast { bottom: calc(var(--m-tabbar) + var(--m-sab) + 12px); border-radius: 999px; }
}

/* 맞춤 공고 저장(시안 `이츠자비스 모바일 맞춤 공고 저장`) — 카드 · 안내 띠 · 저장 창을 아래 시트로 */
@media (max-width: 1023px) {
  body.m-ok .sv-m-head { display: flex; align-items: center; gap: 10px; }
  body.m-ok .sv-m0 { margin: 0; }
  body.m-ok .sv-m-foot { margin: 0 2px; }
  body.m-ok .sv-m-p { margin: 0; font-size: 14.5px; color: var(--m-c-slate-700); text-wrap: pretty; }
  body.m-ok .sv-pill { font-size: 13px; }
  body.m-ok .sv-hits { font-size: 14px; }
  body.m-ok .sv-hits b { font-size: 15.5px; }
  body.m-ok .sv-m-tgl { width: 100%; flex-direction: row-reverse; justify-content: space-between; }
  body.m-ok .sv-m-acts { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding-top: 10px; border-top: 1px solid var(--m-c-line); }
  body.m-ok .sv-m-acts form { margin: 0; display: flex; }
  body.m-ok .sv-m-note { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--m-c-navy-100); background: var(--m-c-navy-50); font-size: 14px; line-height: 1.5; }
  body.m-ok .sv-m-note[hidden] { display: none; }
  body.m-ok .sv-m-row { display: flex; gap: 8px; }
  body.m-ok .sv-toast { bottom: calc(var(--m-tabbar) + var(--m-sab) + 12px); border-radius: 999px; white-space: nowrap; max-width: calc(100% - 32px); }
  body.m-ok .sv-band { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; border-radius: 12px; font-size: 14px; }
  /* 저장 창 → 아래 시트 */
  body.m-ok .sv-bg { align-items: flex-end; padding: 0; z-index: 90; }
  body.m-ok .sv-dlg { width: 100%; max-width: 720px; max-height: 88vh; max-height: 88dvh; border-radius: 18px 18px 0 0; }
  body.m-ok .sv-dlg-h { padding: 8px 4px 8px 16px; }
  body.m-ok .sv-dlg-h h2 { font-size: 17px; }
  body.m-ok .sv-x { width: var(--m-tap); height: var(--m-tap); }
  body.m-ok .sv-dlg-b { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px; gap: 16px; }
  body.m-ok .sv-dlg .input { height: 50px; border-radius: 12px; font-size: 16px; }
  body.m-ok .sv-amt { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
  body.m-ok .sv-amt .input { width: 100%; }
  body.m-ok .sv-tilde { display: none; }
  body.m-ok .sv-chip { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 14.5px; }
  body.m-ok .sv-dlg-f { padding: 12px 16px calc(12px + var(--m-sab)); border-radius: 0; background: var(--m-c-surface); }
  body.m-ok .sv-dlg-f .btn { min-height: var(--m-tap); }
  body.m-ok .sv-cancel { display: none; }
  body.m-ok .sv-dlg-f .btn-primary { flex: 1; }
  body.m-ok .sv-danger { color: var(--m-c-risk); }
  body.m-ok.sv-open { overflow: hidden; }
}
@media (max-width: 1023px) { body.m-ok .m-fgroup[hidden] { display: none; } }

/* 업체 재무 · 신용(시안 `이츠자비스 업체 재무 · 신용`) — 휴대폰 */
@media (max-width: 1023px) {
  body.pg-coedit .co-fin-h h3 { font-size: 17px; font-weight: 800; }
  body.pg-coedit .co-fin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 0; border: 0; background: transparent; }
  body.pg-coedit .co-fin-note { font-size: 13px; }
  body.pg-coedit [data-fin-debt], body.pg-coedit [data-fin-liq] { text-align: right; font-variant-numeric: tabular-nums; }
  body.pg-coedit .co-pf input { width: 20px; height: 20px; }
  body.pg-co .co-fin-box { margin-top: 2px; }
}
