/* ════════ g-soms 배치의 폰 폭 — 가람 기존 시스템(g-soms.com)의 폰 화면과 같은 구성 ════════
   정해 둔 계정으로 로그인했을 때만 (body.skin-gsoms — skin.js), 창 폭 860 이하에서만. 그보다 넓으면 gsoms.css (PC 화면)
   → 다른 계정의 폰 화면(mobile.css)은 그대로. 치수 · 색은 그쪽 화면을 폭 390 으로 재서 읽어 온 값 (2026-11-25)
   저쪽은 폭에 따라 몇 단계로 바뀜: 767 이하 폰 배치 · 576 이하 검색 줄 세로 · 430 이하 글자가 한 단계 작아지고 아래 막대(이전/다음/새로고침/홈)가 나옴
   여기선 860 이하를 한 묶음(저쪽 576 이하 모양)으로 하고, 430 이하만 따로 맞춤 (맨 아래) */

@media screen and (max-width: 860px) {
  body.skin-gsoms {
    background: #fff; color: #1a1a1a;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  }
  body.skin-gsoms button, body.skin-gsoms input, body.skin-gsoms select, body.skin-gsoms textarea { font-family: inherit; }

  /* ── 머리: 위에 붙은 흰 한 줄 (45 + 밑줄 1). 왼쪽 작은 로고 · 지역, 오른쪽 종 · 이름 · 메뉴 단추 ── */
  body.skin-gsoms .top {
    position: fixed; top: 0; right: 0; left: 0; z-index: 110; display: flex; flex-wrap: nowrap; align-items: center; gap: 0; box-sizing: border-box; height: 46px;
    padding: 10px; border-bottom: 1px solid #e6e6e6; background: #fff; box-shadow: none;
  }
  body.skin-gsoms .top-logo, body.skin-gsoms .brand, body.skin-gsoms #top-notices, body.skin-gsoms #theme, body.skin-gsoms #nav,
  body.skin-gsoms .gs-logo, body.skin-gsoms .gs-bar, body.skin-gsoms .gs-nav { display: none; }
  body.skin-gsoms .gs-moblogo { display: block; flex: none; margin-right: 10px; line-height: 0; }
  body.skin-gsoms .gs-moblogo img { display: block; width: auto; height: 25px; }
  body.skin-gsoms .gs-region { display: block; flex: none; color: #000; font-size: 17px; font-weight: 500; line-height: 141.2%; white-space: nowrap; }
  body.skin-gsoms .top-actions { display: flex; flex: none; align-items: center; gap: 0; margin: 0 0 0 auto; }
  body.skin-gsoms .who:not([hidden]) { position: static; display: flex; align-items: center; gap: 15px; }
  body.skin-gsoms .alert-box { position: static; height: 19px; }
  body.skin-gsoms .alert-btn { position: relative; display: block; width: 16px; height: 16px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #1a1a1a; }
  body.skin-gsoms .alert-btn svg, body.skin-gsoms .alert-btn .alert-text, body.skin-gsoms .alert-btn .alert-dot, body.skin-gsoms .alerts { display: none; }
  body.skin-gsoms .alert-btn .gs-bell { display: block; width: 16px; height: 15.2px; margin-top: 0.4px; fill: currentColor; stroke: none; }
  body.skin-gsoms .gs-alarm-dot:not([hidden]) { position: absolute; top: -4px; right: -4px; display: block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
  body.skin-gsoms .gs-m-name { display: block; color: #1a1a1a; font-size: 15px; font-weight: 400; line-height: 18px; white-space: nowrap; }
  body.skin-gsoms .gs-m-bar { display: block; width: 16px; height: 18px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #000; cursor: pointer; }
  body.skin-gsoms .gs-m-bar svg { display: block; width: 16px; height: 10.8px; margin-top: 2.6px; fill: currentColor; }
  /* 종 아래 알림 목록 — 머리 줄 기준으로 오른쪽에서 260 자리 (180 × 최대 140, 안에서 스크롤) */
  body.skin-gsoms .gs-alarms:not([hidden]) {
    position: absolute; top: 40px; left: calc(100vw - 260px); z-index: 200; display: block; box-sizing: border-box; width: 180px; max-height: 140px; padding: 4px; overflow: hidden auto;
    border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  body.skin-gsoms .gs-alarms ul { margin: 0; padding: 0; list-style: none; }
  body.skin-gsoms .gs-alarms li { display: flex; align-items: center; gap: 4px; box-sizing: border-box; width: 100%; padding: 4px; border-radius: 4px; color: #1a1a1a; font-size: 15px; font-weight: 400; line-height: 18px; }
  body.skin-gsoms .gs-alarms li.empty { color: #808080; }
  body.skin-gsoms .gs-alarm-msg { flex: 1 1 0; min-width: 0; overflow: hidden; color: #1a1a1a; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
  body.skin-gsoms .gs-alarm-x { display: inline-grid; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #6c7580; cursor: pointer; }
  body.skin-gsoms .gs-alarm-x svg { display: block; width: 12.6px; height: 12.6px; fill: currentColor; }

  /* ── 메뉴 단추를 누르면: 회색으로 덮고 오른쪽 80% 흰 판 — 이름 · 닫기, 메뉴 여섯 줄, 맨 아래 로그아웃 ── */
  body.skin-gsoms .gs-m-menu:not([hidden]) { position: fixed; top: 0; right: 0; z-index: 10000; display: block; width: 100%; height: 100%; background: #666; font-size: 15px; line-height: normal; }
  body.skin-gsoms .gs-m-menu .box { position: absolute; top: 0; right: 0; width: 80%; height: 100%; background: #fff; box-shadow: -4px 0 16px rgba(0, 0, 0, 0.25); }
  body.skin-gsoms .gs-m-menu .head { display: flex; align-items: center; justify-content: space-between; padding: 20px; background: rgba(13, 72, 143, 0.1); }
  body.skin-gsoms .gs-m-menu h3 { margin: 0; color: #1a1a1a; font-size: 16px; font-weight: 700; line-height: 19px; letter-spacing: normal; }
  body.skin-gsoms #gs-m-close { display: block; width: 16px; height: 18px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #000; cursor: pointer; }
  body.skin-gsoms #gs-m-close svg { display: block; width: 12.6px; height: 12.6px; margin: 1.7px; fill: currentColor; }
  body.skin-gsoms .gs-m-menu nav { display: flex; flex-direction: column; align-items: baseline; }
  body.skin-gsoms .gs-m-menu nav a { display: block; box-sizing: border-box; width: 100%; padding: 16px; border-bottom: 1px solid #e6e6e6; color: #333; font-size: 16px; font-weight: 600; line-height: 19px; text-decoration: none; }
  body.skin-gsoms #gs-m-logout {
    position: absolute; bottom: 0; display: flex; gap: 10px; align-items: flex-start; justify-content: flex-end; box-sizing: border-box; width: 100%; min-height: 0; padding: 16px;
    border: 0; border-radius: 0; background: none; box-shadow: none; color: #333; font-size: 16px; font-weight: 600; line-height: 19px; cursor: pointer;
  }
  body.skin-gsoms #gs-m-logout svg { display: block; flex: none; }

  /* ── 본문 틀: 머리 아래(45)부터, 양옆 15 ── */
  body.skin-gsoms main { max-width: none; margin: 0; padding: 45px 15px 0; }
  body.skin-gsoms.view-detail:not(.view-ops-detail) main { padding-bottom: 0; }
  body.skin-gsoms .gs-page { display: block; color: #1a1a1a; font-size: 15px; line-height: normal; }
  body.skin-gsoms .gs-crumb { display: none; }
  body.skin-gsoms .gs-toparea { display: block; padding: 30px 0 20px; }
  body.skin-gsoms .gs-title { display: block; color: #1a1a1a; font-size: 20px; font-weight: 700; line-height: 133.4%; letter-spacing: -0.552px; }
  body.skin-gsoms .gs-subtitle { display: flex; flex-flow: column wrap; align-items: flex-start; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #1a1a1a; }
  /* 꼬리말 — 홈엔 없음 */
  body.skin-gsoms .gs-foot { display: block; padding: 60px 15px 70px; color: #4d4d4d; font-size: 13px; font-weight: 400; line-height: 142.9%; }
  body.skin-gsoms .gs-foot .copy { padding-top: 10px; }
  body.skin-gsoms.view-home .gs-foot { display: none; }
  /* 원래 화면들은 숨김 (PC 폭과 같음) */
  body.skin-gsoms #board > :not(.gs-only):not(.msg), body.skin-gsoms #notices-view > :not(.gs-only), body.skin-gsoms #me-view > :not(.gs-only), body.skin-gsoms #ops-view > :not(.gs-only),
  body.skin-gsoms.view-detail:not(.view-ops-detail) #detail > :not(.gs-only):not(dialog) { display: none; }
  body.skin-gsoms.view-ops-detail #gs-detail { display: none; }
  body.skin-gsoms #me-view { padding-top: 0; }
  body.skin-gsoms #board-msg:empty { display: none; }
  body.skin-gsoms .gs-st-error { color: #eb4f4f; }
  body.skin-gsoms .gs-st-on { color: #1b9c75; }
  body.skin-gsoms .gs-st-done { color: #3b5fa6; }
  body.skin-gsoms .gs-st-off { color: #808080; }

  /* ════ 홈: 제목 → 범례(오른쪽, 가로 한 줄) → 지도 칸(화면 아래까지, 검색이 위에 뜸). 현장 표 · 공지사항 · 바로가기는 폰에 없음 ════ */
  body.skin-gsoms #home-view { max-width: none; margin: 0; padding-top: 0; font-size: 15px; line-height: normal; }
  body.skin-gsoms #home-ticker, body.skin-gsoms .home-hero, body.skin-gsoms #m-attention, body.skin-gsoms #m-nearby, body.skin-gsoms .home-foot,
  body.skin-gsoms #gs-list, body.skin-gsoms #home-view .home-card:not([style*="--i:0"]), body.skin-gsoms .gs-legend, body.skin-gsoms #hm-sido, body.skin-gsoms #home-chips,
  body.skin-gsoms #home-view .home-card[style*="--i:0"] .home-head, body.skin-gsoms #home-map-msg:empty { display: none; }
  body.skin-gsoms .gs-m-legend { display: flex; justify-content: flex-end; margin-bottom: 10px; }
  body.skin-gsoms .gs-m-legend .in { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 0 16px rgba(0, 0, 0, 0.12); }
  body.skin-gsoms .gs-m-legend span { display: flex; align-items: center; height: 29px; }
  body.skin-gsoms .gs-m-legend img { display: block; align-self: flex-start; width: 25px; height: 25px; }
  body.skin-gsoms .gs-m-legend b { font-size: 16px; font-weight: 600; white-space: nowrap; }
  body.skin-gsoms .gs-m-legend hr { width: 0; height: 0; margin: 8px 0; border: 0; border-top: 1px solid #ddd; }
  body.skin-gsoms .home-grid { display: block; margin: 0; }
  body.skin-gsoms #home-view .home-card[style*="--i:0"] { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; }
  body.skin-gsoms .mini-map {
    box-sizing: border-box; height: calc(100vh - 266.56px); height: calc(100svh - 266.56px); min-height: 0; /* 저쪽: 화면 높이 − 머리 45 − 221.56 */
    border: 3px solid #f3f3f3; border-radius: 8px; background: #ccc; box-shadow: none;
  }
  body.skin-gsoms .mini-map-canvas img[src*="/tile/"] { filter: none; }
  body.skin-gsoms .mini-search {
    top: 12px; right: 12px; left: 12px; z-index: 5; display: flex; gap: 8px; box-sizing: border-box; width: auto; height: 54px; padding: 8px;
    border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  body.skin-gsoms #hm-q { flex: 1; box-sizing: border-box; width: 100%; min-width: 0; height: 36px; min-height: 0; padding: 0 10px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; box-shadow: none; color: #000; font-size: 14px; }
  body.skin-gsoms .gs-search-btn { display: block; flex: none; box-sizing: border-box; height: 36px; min-height: 0; padding: 0 14px; border: 1px solid #0d488f; border-radius: 6px; background: #0d488f; box-shadow: none; color: #fff; font-size: 14px; font-weight: 400; cursor: pointer; }
  body.skin-gsoms .gs-reset-btn { display: block; flex: none; box-sizing: border-box; height: 36px; min-height: 0; padding: 7px 12px; border: 1px solid #8f99a8; border-radius: 6px; background: #fff; box-shadow: none; color: #485566; font-size: 13px; font-weight: 400; white-space: nowrap; cursor: pointer; }
  /* 지도 핀 — 저쪽 핀 그림 (PC 폭과 같음) */
  body.skin-gsoms .pin-layer > .mk { width: 40px; height: 40px; }
  body.skin-gsoms .mk::before { content: none; }
  body.skin-gsoms .mk .pin { width: 40px; height: 40px; background: url("img/gsoms/marker-off.svg") center / 40px 40px no-repeat; transition: none; }
  body.skin-gsoms .mk[data-gs="error"] .pin { background-image: url("img/gsoms/marker-error.svg"); }
  body.skin-gsoms .mk[data-gs="on"] .pin { background-image: url("img/gsoms/marker-on.svg"); }
  body.skin-gsoms .mk[data-gs="done"] .pin { background-image: url("img/gsoms/marker-done.svg"); }
  body.skin-gsoms .mk:hover .pin { transform: none; }
  body.skin-gsoms .mk .pin svg, body.skin-gsoms .mk .label, body.skin-gsoms .far .mk:hover .label, body.skin-gsoms .far .mk:focus-visible .label { display: none; }
  /* 핀을 누르면 (576 보다 넓을 때): PC 폭과 같은 300 폭 흰 상자 */
  body.skin-gsoms .gs-infobox-wrap { padding-bottom: 40px; }
  body.skin-gsoms .gs-infobox { position: relative; box-sizing: border-box; width: 300px; padding: 20px; border-radius: 6px; background: #fff; box-shadow: 0 0 16px rgba(0, 0, 0, 0.12); color: #1a1a1a; font-size: 15px; line-height: normal; text-align: left; white-space: normal; }
  body.skin-gsoms .gs-infobox-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 16px; height: 23px; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #666; cursor: pointer; }
  body.skin-gsoms .gs-infobox-close svg { display: block; width: 12.6px; height: 12.6px; fill: currentColor; }
  body.skin-gsoms .gs-infobox .deviceid { margin: 0 0 6px; color: #4d4d4d; font-size: 13px; font-weight: 400; }
  body.skin-gsoms .gs-infobox .addr { margin: 0 0 16px; color: #1a1a1a; font-size: 14px; font-weight: 500; word-break: keep-all; }
  body.skin-gsoms .gs-infobox .gs-go { display: block; box-sizing: border-box; width: 100%; padding: 8px 10px; border: 1px solid #2b5e9d; border-radius: 999px; color: #0d488f; font-size: 14px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; }
  /* 핀을 누르면 (576 이하): 화면 아래에서 올라오는 창 — 닫기 · 기기번호 · 주소 · 설치일 · "제품현황" · 값 네 줄 (mapPins.js) */
  body.skin-gsoms .gs-m-pop {
    position: fixed; bottom: 0; left: 50%; z-index: 9999; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; width: 85%; padding: 16px;
    border: 1px solid #ccc; border-radius: 13px; background: #fff; box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2); color: #1a1a1a; font-size: 15px; line-height: normal;
    opacity: 0; visibility: hidden; transform: translate(-50%); transition: 0.4s ease-in-out;
  }
  body.skin-gsoms .gs-m-pop.active { bottom: 84px; opacity: 1; visibility: visible; }
  body.skin-gsoms .gs-m-pop .close { position: absolute; top: 15px; right: 15px; display: block; width: 16px; height: 18px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #000; cursor: pointer; }
  body.skin-gsoms .gs-m-pop .close svg { display: block; width: 12.6px; height: 12.6px; margin: 1.7px; fill: currentColor; }
  body.skin-gsoms .gs-m-pop .go { display: block; box-sizing: border-box; width: 100%; min-height: 0; margin-top: 10px; padding: 5px 10px; border: 1px solid #2b5e9d; border-radius: 999px; background: none; box-shadow: none; color: #0d488f; font-size: 16px; font-weight: 600; line-height: normal; text-align: center; text-decoration: none; cursor: pointer; }

  /* ════ 카드 (가동현황 · 보고서 · 공지사항 목록 · 제품현황 정보 · 핀 아래 창이 같이 씀): 머리(기기번호 · 주소 · 날짜 줄) + 밑줄 + 값 줄들 ════ */
  body.skin-gsoms .gs-m-cards { display: block; }
  body.skin-gsoms .gs-m-cards ul { margin: 0; padding: 0; list-style: none; }
  body.skin-gsoms .gs-m-cards li { position: relative; margin-bottom: 16px; padding: 20px; border-radius: 8px; background: #f1f5f8; }
  body.skin-gsoms .gs-m-cards li:last-child { margin-bottom: 0; }
  body.skin-gsoms .gs-m-cards li.empty { color: #808080; text-align: center; }
  body.skin-gsoms .gs-m-all { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
  body.skin-gsoms .gs-m-all input, body.skin-gsoms .gs-m-cards li input[type="checkbox"] { display: block; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; border-radius: 3px; accent-color: #034287; cursor: pointer; }
  body.skin-gsoms .gs-m-cards .head, body.skin-gsoms .gs-m-pop .head { margin-bottom: 12px; }
  body.skin-gsoms .gs-m-cards .head.flex { display: flex; align-items: center; justify-content: space-between; }
  body.skin-gsoms .gs-m-cards .head.flex > span { color: #666; font-size: 14px; font-weight: 400; }
  body.skin-gsoms .gs-m-cards .deviceid, body.skin-gsoms .gs-m-pop .deviceid { padding-bottom: 6px; color: #4d4d4d; font-weight: 400; }
  body.skin-gsoms .gs-m-cards .addr, body.skin-gsoms .gs-m-pop .addr { color: #1a1a1a; font-size: 16px; font-weight: 500; }
  body.skin-gsoms .gs-m-cards .date, body.skin-gsoms .gs-m-pop .date { padding-top: 10px; font-size: 14px; }
  body.skin-gsoms .gs-m-cards .body, body.skin-gsoms .gs-m-pop .body { padding-top: 10px; border-top: 1px solid #e6e6e6; }
  body.skin-gsoms .gs-m-cards .cell, body.skin-gsoms .gs-m-pop .cell { margin-bottom: 1px; }
  body.skin-gsoms .gs-m-cards .cell > div, body.skin-gsoms .gs-m-pop .cell > div { line-height: 1.5; }
  body.skin-gsoms .gs-m-cards .tit, body.skin-gsoms .gs-m-pop .tit { color: #1a1a1a; font-size: 14px; font-weight: 600; vertical-align: middle; }
  body.skin-gsoms .gs-m-cards .txt, body.skin-gsoms .gs-m-pop .txt { padding-left: 4px; color: #666; vertical-align: middle; }
  body.skin-gsoms .gs-m-cards .txt.late, body.skin-gsoms .gs-m-pop .txt.late { color: #eb4f4f; }
  body.skin-gsoms .gs-m-cards .status .txt, body.skin-gsoms .gs-m-pop .status .txt { display: inline-block; font-weight: 700; }
  body.skin-gsoms .gs-m-cards .txt.gs-st-error, body.skin-gsoms .gs-m-pop .txt.gs-st-error, body.skin-gsoms .gs-m-cards .tit.gs-st-error { color: #eb4f4f; }
  body.skin-gsoms .gs-m-cards .txt.gs-st-on, body.skin-gsoms .gs-m-pop .txt.gs-st-on, body.skin-gsoms .gs-m-cards .tit.gs-st-on { color: #1b9c75; }
  body.skin-gsoms .gs-m-cards .txt.gs-st-done, body.skin-gsoms .gs-m-pop .txt.gs-st-done, body.skin-gsoms .gs-m-cards .tit.gs-st-done { color: #3b5fa6; }
  body.skin-gsoms .gs-m-cards .txt.gs-st-off, body.skin-gsoms .gs-m-pop .txt.gs-st-off, body.skin-gsoms .gs-m-cards .tit.gs-st-off { color: #808080; }
  /* 표 대신 카드를 보임 (제품현황의 이슈 히스토리 표는 폰에서도 표) */
  body.skin-gsoms #gs-status .gs-grid > table, body.skin-gsoms #gs-report .gs-grid > table, body.skin-gsoms #gs-nt-list .gs-grid > table,
  body.skin-gsoms #gs-water-page .gs-grid > table, body.skin-gsoms #gs-water-page .gs-pager { display: none; } /* 노면수위현황은 폰에서 쪽 번호 없이 전부 */
  /* 쪽 번호 (목록): 32 동그라미, 맨 앞 · 맨 뒤 단추 없음, 지금 쪽은 옅은 초록 */
  body.skin-gsoms #gs-status .gs-pager, body.skin-gsoms #gs-report .gs-pager { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; height: 48px; margin-top: 16px; padding: 8px 4px; border: 0; border-radius: 6px; background: #fff; }
  body.skin-gsoms #gs-status .gs-pager button, body.skin-gsoms #gs-report .gs-pager button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 32px; min-width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #64748b; font-size: 12px; font-weight: 400; line-height: 1; cursor: pointer; }
  body.skin-gsoms #gs-status .gs-pager button:first-child, body.skin-gsoms #gs-status .gs-pager button:last-child,
  body.skin-gsoms #gs-report .gs-pager button:first-child, body.skin-gsoms #gs-report .gs-pager button:last-child, body.skin-gsoms #gs-nt-list .gs-pager { display: none; }
  body.skin-gsoms #gs-status .gs-pager button.on, body.skin-gsoms #gs-report .gs-pager button.on { background: #ecfdf5; color: #047857; }
  body.skin-gsoms .gs-pager button:disabled { opacity: 0.6; cursor: default; }
  body.skin-gsoms .gs-pager svg { display: block; width: 14px; height: 14px; }

  /* ════ 검색 줄 (가동현황 · 보고서 · 공지사항): 고르는 칸 · 검색어 · 단추가 한 줄씩 가득 ════ */
  body.skin-gsoms .gs-search-area { display: block; margin: 0; padding: 0 0 20px; }
  body.skin-gsoms .gs-search-box { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 5px; }
  body.skin-gsoms .gs-selects { display: flex; flex-direction: column; align-items: baseline; gap: 10px; width: 100%; }
  body.skin-gsoms .gs-selects select {
    box-sizing: border-box; width: 100% !important; height: 39px; min-height: 0; margin: 0; padding: 0 40px 0 12px; border: 1px solid #cbd5e1; border-radius: 0; box-shadow: 0 1px 2px rgba(18, 18, 23, 0.05);
    background: #fff url("img/gsoms/chevron-down.svg") right 13px center / 14px 14px no-repeat; color: #334155; font-size: 16px; font-weight: 400; line-height: normal;
    appearance: none; -webkit-appearance: none; cursor: pointer;
  }
  body.skin-gsoms .gs-selects select.placeholder { color: #64748b; }
  body.skin-gsoms .gs-selects select:disabled { opacity: 1; background-color: #e2e8f0; cursor: default; }
  body.skin-gsoms .gs-q { box-sizing: border-box; width: 100%; min-width: 0; height: 39px; min-height: 0; margin: 0; padding: 10px 15px; border: 1px solid #ccc; border-radius: 0; background: #fff; box-shadow: none; color: #000; font-size: 15px; }
  body.skin-gsoms .gs-dark-btn { box-sizing: border-box; width: 100%; height: 38px; min-height: 0; padding: 11px 20px; border: 0; border-radius: 0; background: #1a1a1a; box-shadow: none; color: #fff; font-size: 13.3333px; font-weight: 400; line-height: normal; white-space: nowrap; cursor: pointer; }
  body.skin-gsoms .gs-visit-reset { height: 39px; margin-top: 10px; border: 1px solid #8f99a8; font-size: 13px; }

  /* ════ 가동현황 카드: 왼쪽 위 체크 · 오른쪽 위 화살표(상세로), 머리 = 기기번호 (시리얼) · 주소 · 설치일 · 모델명 · 제어방식 ════ */
  body.skin-gsoms #gs-st-cards > li:not(.empty) { padding-left: 34px; }
  body.skin-gsoms .gs-m-cards .pick { position: absolute; top: 20px; left: 9px; display: flex; cursor: pointer; }
  body.skin-gsoms .gs-m-cards .arrow { float: right; display: block; width: 16px; height: 19px; color: #1a1a1a; }
  body.skin-gsoms .gs-m-cards .arrow svg { display: block; width: 16px; height: 14px; margin-top: 1px; fill: currentColor; }
  body.skin-gsoms #gs-st-cards .head { cursor: pointer; }
  /* 열어 본 현장(열람): 머리 글자만 회색 */
  body.skin-gsoms #gs-st-cards li.visited .head div, body.skin-gsoms #gs-wl-cards li.visited .head div { color: #aaa; }
  /* 노면수위현황 카드: 체크 없이 화살표 · 머리 · 값 네 줄 */
  body.skin-gsoms #gs-wl-cards .head { cursor: pointer; }
  body.skin-gsoms .gs-wl-reset { margin-top: 10px; }

  /* ════ 보고서 (기간별 보고서): 제목 아래 조회기간 · 초기화 · 엑셀 다운로드가 한 줄씩, 카드 = [체크 | 정보 | 상세보기] ════ */
  body.skin-gsoms .gs-datebox { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; color: #1a1a1a; font-size: 16px; font-weight: 600; line-height: 19px; }
  body.skin-gsoms .gs-datebox label { white-space: nowrap; }
  body.skin-gsoms .gs-range { position: relative; display: block; width: 100%; height: 38px; }
  body.skin-gsoms .gs-range input { box-sizing: border-box; width: 100%; height: 38px; min-height: 0; margin: 0; padding: 8px 40px 8px 12px; border: 1px solid #ccc; border-radius: 0; background: #fff; box-shadow: 0 1px 2px rgba(18, 18, 23, 0.05); color: #334155; font-size: 16px; font-weight: 400; cursor: pointer; }
  body.skin-gsoms .gs-range svg { position: absolute; top: 50%; right: 13px; width: 14px; height: 14px; margin-top: -7px; color: #94a3b8; pointer-events: none; }
  body.skin-gsoms .gs-line-btn { box-sizing: border-box; width: 100%; height: 38px; min-height: 0; padding: 10px 20px; border: 1px solid #1a1a1a; border-radius: 0; background: #1a1a1a; box-shadow: none; color: #fff; font-size: 14px; font-weight: 400; line-height: 16px; white-space: nowrap; cursor: pointer; }
  body.skin-gsoms .gs-line-btn:disabled { opacity: 0.6; cursor: default; }
  body.skin-gsoms .gs-m-cards ul.period > li:not(.empty) { padding: 0; }
  body.skin-gsoms .gs-m-cards .prow { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 20px; }
  body.skin-gsoms .gs-m-cards .prow .chk { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
  body.skin-gsoms .gs-m-cards .prow .txt { padding-left: 0; color: #666; font-size: 13px; }
  body.skin-gsoms .gs-m-cards .prow .addr { margin-top: 5px; color: #191919; font-size: 14px; font-weight: 600; }
  body.skin-gsoms .gs-m-cards .prow .tit { font-size: 13px; }
  body.skin-gsoms .gs-detail-btn { padding: 6px 10px; border-radius: 8px; background: #0d488f; color: #fff; font-size: 12px; font-weight: 400; text-decoration: none; white-space: nowrap; cursor: pointer; }
  body.skin-gsoms #gs-rp-cards li.visited .info div, body.skin-gsoms #gs-rp-cards li.visited .info span { color: #aaa; }

  /* ════ 공지사항: 목록 = 글 카드(공지 표시 · 제목 · 날짜 | 조회수 · 작성자 · 첨부) 전부, 글 보기 = 줄글 + 아래 붙은 이전글/다음글/목록 ════ */
  body.skin-gsoms #gs-nt-cards a { display: block; color: #1a1a1a; text-decoration: none; }
  body.skin-gsoms .gs-noti-tag { display: inline-block; padding: 5px 10px; border: 1px solid #034287; border-radius: 999px; color: #034287; font-size: 14px; font-weight: 700; line-height: normal; }
  body.skin-gsoms #gs-nt-cards .addr { margin-top: 10px; }
  body.skin-gsoms #gs-nt-cards .file { color: #1a1a1a; font-size: 15px; }
  body.skin-gsoms .gs-nt-tag:not([hidden]) { display: inline-block; margin-bottom: 16px; padding: 5px 10px; border: 1px solid #034287; border-radius: 999px; color: #034287; font-size: 14px; font-weight: 700; }
  body.skin-gsoms .gs-detail-title { margin-bottom: 32px; color: #1a1a1a; font-size: 24px; font-weight: 600; line-height: 133.4%; letter-spacing: -0.552px; }
  body.skin-gsoms .gs-detail-title b { font-weight: 900; }
  body.skin-gsoms .gs-detail-table { display: none; }
  body.skin-gsoms .gs-m-post { display: block; padding-top: 12px; border-top: 1px solid #e6e6e6; color: #666; }
  body.skin-gsoms .gs-m-post .r { margin-bottom: 8px; }
  body.skin-gsoms .gs-m-post .r.file { display: flex; align-items: center; gap: 5px; }
  body.skin-gsoms .gs-m-post .gs-files { display: flex; flex-direction: column; gap: 5px; }
  body.skin-gsoms .gs-file { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #034287; font-size: inherit; font-weight: inherit; line-height: 1.5; text-align: left; text-decoration: underline; cursor: pointer; }
  body.skin-gsoms .gs-m-post .content { padding: 24px 0; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; color: #1a1a1a; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
  body.skin-gsoms .gs-btn-area { position: sticky; bottom: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 20px; padding: 10px 0; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  body.skin-gsoms .gs-btn-area a, body.skin-gsoms .gs-btn-area button { display: flex; align-items: center; gap: 5px; box-sizing: border-box; height: 38px; min-height: 0; padding: 10px 16px; border: 1px solid #b3b3b3; border-radius: 0; background: none; box-shadow: none; color: #333; font-size: 14px; font-weight: 600; line-height: normal; text-decoration: none; cursor: pointer; }
  body.skin-gsoms .gs-btn-area .blue { border-color: #034287; color: #034287; }
  body.skin-gsoms .gs-btn-area button:disabled { opacity: 0.5; cursor: default; }
  body.skin-gsoms .gs-btn-area svg { display: block; width: 12px; height: 12px; fill: currentColor; }
  body.skin-gsoms .gs-btn-area .prev svg { transform: rotate(90deg); }
  body.skin-gsoms .gs-btn-area .next svg { transform: rotate(-90deg); }
  body.skin-gsoms .gs-missing { padding: 40px 0; color: #808080; }

  /* ════ 제품현황 (현장 상세): 제목 | 목록 → 정보 카드 → 운전모드 단추 줄 → 그래프(800 폭, 옆으로 밀어 봄) → 지도 · 사진(위아래) → 이슈 히스토리 → 메모 ════ */
  body.skin-gsoms #gs-detail .gs-subtitle { flex-direction: row; justify-content: space-between; }
  body.skin-gsoms .gs-golist { padding: 7px 15px; border-radius: 8px; background: #1a1a1a; color: #fff; font-size: 15px; font-weight: 400; line-height: 18px; text-decoration: none; cursor: pointer; }
  body.skin-gsoms #gs-d-body > .gs-info-table:not(.gs-issue-sum), body.skin-gsoms .gs-status-wrap { display: none; }
  body.skin-gsoms .gs-m-cards li.statusui { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
  body.skin-gsoms .gs-m-cards .mode { display: flex; align-items: center; gap: 8px; font-weight: 600; line-height: 18px; }
  body.skin-gsoms .gs-m-cards .cmds { display: flex; gap: 8px; }
  body.skin-gsoms .gs-m-cards .cmds button { min-height: 0; padding: 6px 12px; border: 0; border-radius: 16px; background: #aaa; box-shadow: none; color: #fff; font-size: 13.3333px; font-weight: 600; line-height: 16px; cursor: pointer; }
  body.skin-gsoms .gs-m-cards .cmds button.on { background: #0d488f; }
  body.skin-gsoms .gs-m-cards .cmds button:disabled { cursor: not-allowed; }
  body.skin-gsoms .gs-bar-title { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; margin-bottom: 20px; padding: 15px 20px; border: 1px solid #e6e6e6; background: #f5f8fa; color: #1a1a1a; font-size: 15px; font-weight: 400; line-height: 18px; }
  body.skin-gsoms .gs-chart-box { margin: 50px 0 30px; }
  body.skin-gsoms .gs-chart-scroll { width: 100%; overflow-x: auto; }
  body.skin-gsoms .gs-legend-bar { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
  body.skin-gsoms .gs-chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: #333; font-size: 12px; line-height: 14px; }
  body.skin-gsoms .gs-chart-legend span { display: flex; align-items: center; gap: 6px; }
  body.skin-gsoms .gs-chart-legend i { display: block; width: 16px; height: 3px; border-radius: 2px; background: #1e88e5; }
  body.skin-gsoms .gs-chart-legend i.absorb { background: #fb8c00; }
  body.skin-gsoms .gs-zoom { display: flex; box-sizing: border-box; width: 100%; overflow: hidden; border: 1px solid #ddd; border-radius: 6px; background: #fff; }
  body.skin-gsoms .gs-zoom button { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 4px; min-width: 28px; height: 28px; min-height: 0; padding: 0 10px; border: 0; border-right: 1px solid #ddd; border-radius: 0; background: none; box-shadow: none; color: #555; font-size: 12px; font-weight: 400; white-space: nowrap; cursor: pointer; }
  body.skin-gsoms .gs-zoom button:last-child { border-right: 0; }
  body.skin-gsoms .gs-zoom svg { display: block; width: 16px; height: 16px; fill: currentColor; }
  body.skin-gsoms .gs-chart { width: 800px; height: 400px; background: #fff; }
  body.skin-gsoms .gs-mapimg { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 20px; }
  body.skin-gsoms .gs-mapimg > div { width: 100%; min-width: 0; }
  body.skin-gsoms .gs-mapimg .box { position: relative; display: grid; place-items: center; height: 460px; overflow: hidden; background: #eee; color: #666; font-size: 15px; }
  body.skin-gsoms .gs-mapimg > div:first-child .box { height: 320px; }
  body.skin-gsoms .gs-mapimg .box p { margin: 0; }
  body.skin-gsoms #gs-d-map { position: absolute; inset: 0; }
  body.skin-gsoms #gs-d-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  body.skin-gsoms .gs-mapimg [hidden] { display: none; }
  body.skin-gsoms .gs-mapimg .cap { margin: 0; padding-top: 15px; color: #333; font-size: 16px; font-weight: 600; line-height: 19px; text-align: center; }
  /* 이슈 히스토리: 건수 표 + 목록 표 (둘 다 폰에서도 표) */
  body.skin-gsoms .gs-issue-sum { width: 100%; margin: 0 0 10px; border-collapse: collapse; font-size: 15px; text-align: left; }
  body.skin-gsoms .gs-issue-sum th, body.skin-gsoms .gs-issue-sum td { padding: 15px 20px; border: 1px solid #e6e6e6; line-height: normal; text-align: center; vertical-align: middle; }
  body.skin-gsoms .gs-issue-sum th { background: #f5f8fa; color: #666; font-size: 14px; font-weight: 500; }
  body.skin-gsoms .gs-issue-sum td { color: #333; font-weight: 400; white-space: nowrap; }
  body.skin-gsoms .gs-issue-sum b { font-weight: 700; }
  body.skin-gsoms .gs-issue-grid { overflow-x: auto; }
  body.skin-gsoms .gs-issue-grid table { width: 100%; border-spacing: 0; border-collapse: separate; font-size: 15px; }
  body.skin-gsoms .gs-issue-grid th, body.skin-gsoms .gs-issue-grid td { box-sizing: border-box; overflow: hidden; color: #333; text-align: center; white-space: nowrap; vertical-align: middle; }
  body.skin-gsoms .gs-issue-grid th { height: 47px; padding: 15px 20px; border: 1px solid #e6e6e6; border-right-width: 0; background: #f5f8fa; font-size: 14px; font-weight: 600; line-height: 16px; }
  body.skin-gsoms .gs-issue-grid th:last-child { border-right-width: 1px; }
  body.skin-gsoms .gs-issue-grid td { height: 43px; padding: 12px 8px; border-bottom: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; font-weight: 400; line-height: 18px; }
  body.skin-gsoms .gs-issue-grid td:last-child { border-right: 1px solid #e6e6e6; }
  body.skin-gsoms .gs-issue-grid tr.empty td { color: #808080; }
  body.skin-gsoms .gs-issue-grid .gs-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; height: 57px; padding: 8px 16px; border: 1px solid #e2e8f0; border-top: 0; background: #fff; }
  body.skin-gsoms .gs-issue-grid .gs-pager button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 40px; min-width: 40px; height: 40px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #64748b; font-size: 13.3333px; font-weight: 400; line-height: 1; cursor: pointer; }
  body.skin-gsoms .gs-issue-grid .gs-pager button.on { background: #034287; color: #fff; }
  body.skin-gsoms .gs-issue-grid + .gs-bar-title { margin-top: 24px; }
  /* 메모: 입력칸 위 · 등록 단추 아래 오른쪽 */
  body.skin-gsoms .gs-memo { margin-bottom: 24px; padding-top: 20px; }
  body.skin-gsoms .gs-memo-input { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e8edf3; }
  body.skin-gsoms .gs-memo-input textarea { flex: 1; box-sizing: border-box; min-height: 80px; margin: 0; padding: 12px 14px; border: 2px solid #d1d9e0; border-radius: 0; background: transparent; box-shadow: none; color: #1f2937; font-size: 14px; line-height: 1.6; resize: none; }
  body.skin-gsoms .gs-memo-input button { align-self: flex-end; min-height: 0; padding: 8px 16px; border: 0; border-radius: 6px; background: #0d488f; box-shadow: none; color: #fff; font-size: 13px; font-weight: 600; line-height: 15px; white-space: nowrap; cursor: pointer; }
  body.skin-gsoms .gs-memo-input button:disabled { background: #c9d4df; cursor: not-allowed; }
  body.skin-gsoms .gs-memo-empty { margin: 0; padding: 32px 0; border: 1px solid #e8edf3; border-radius: 8px; background: #f8fafc; color: #64748b; font-size: 14px; line-height: 16px; text-align: center; }
  body.skin-gsoms .gs-memo-list { margin: 0; padding: 0; list-style: none; }
  body.skin-gsoms .gs-memo-list li { padding: 16px 20px; border: 1px solid #e8edf3; border-radius: 8px; background: #f8fafc; color: #1f2937; font-size: 14px; line-height: 22.4px; white-space: pre-wrap; }

  /* ════ 환경설정 (개인정보 수정): 이름표 + 입력칸 다섯, 저장은 아래에 붙어 있음 ════ */
  body.skin-gsoms #gs-me-form { margin: 0; padding: 0; }
  body.skin-gsoms .gs-form .row { display: flex; align-items: center; margin-bottom: 20px; }
  body.skin-gsoms .gs-form label { flex: none; box-sizing: border-box; width: 200px; padding-top: 5px; color: #333; font-size: 16px; font-weight: 600; line-height: 24px; }
  body.skin-gsoms .gs-form input { flex: 1; box-sizing: border-box; width: 100%; min-width: 0; height: 39px; min-height: 0; margin: 0; padding: 10px 15px; border: 1px solid #ccc; border-radius: 0; background: #fff; box-shadow: none; color: #000; font-size: 15px; }
  body.skin-gsoms .gs-form-msg { margin: 0; color: #eb4f4f; font-size: 14px; line-height: 20px; }
  body.skin-gsoms .gs-form-msg:empty { display: none; }
  body.skin-gsoms .gs-btn-area .gs-black-btn { justify-content: center; width: 180px; height: 41px; padding: 10px 20px; border: 0; background: #1a1a1a; color: #fff; font-size: 14px; font-weight: 400; line-height: 21px; letter-spacing: 0.08px; }
  body.skin-gsoms .gs-dialog { box-sizing: border-box; width: 420px; max-width: calc(100vw - 32px); padding: 28px; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); color: #1a1a1a; }
  body.skin-gsoms .gs-dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
  body.skin-gsoms .gs-dialog h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 26px; }
  body.skin-gsoms .gs-dialog p { margin: 0 0 16px; color: #333; font-size: 15px; line-height: 22px; word-break: keep-all; }
  body.skin-gsoms .gs-dialog input { box-sizing: border-box; width: 100%; height: 39px; min-height: 0; margin: 0 0 8px; padding: 10px 15px; border: 1px solid #ccc; border-radius: 0; background: #fff; box-shadow: none; color: #000; font-size: 15px; }
  body.skin-gsoms .gs-dialog .btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
  body.skin-gsoms .gs-dialog .btns button { height: 38px; min-height: 0; padding: 0 20px; border: 1px solid #b3b3b3; border-radius: 0; background: #fff; box-shadow: none; color: #333; font-size: 14px; font-weight: 600; cursor: pointer; }
  body.skin-gsoms .gs-dialog .btns button.dark { border-color: #1a1a1a; background: #1a1a1a; color: #fff; }
}

/* ── 430 이하 (대부분의 폰): 저쪽이 글자 · 여백을 한 단계 줄이고 아래 막대를 보이는 폭 ── */
@media screen and (max-width: 430px) {
  body.skin-gsoms .gs-region { padding-left: 9px; font-size: 14px; }
  body.skin-gsoms .gs-toparea { padding: 20px 0; }
  body.skin-gsoms .gs-m-legend .in { padding: 5px; }
  body.skin-gsoms .gs-m-legend span { height: 26px; }
  body.skin-gsoms .gs-m-legend img { width: 22px; height: 22px; }
  body.skin-gsoms .gs-m-legend b { font-size: 14px; }
  body.skin-gsoms .gs-m-cards .deviceid, body.skin-gsoms .gs-m-pop .deviceid, body.skin-gsoms .gs-m-cards .addr, body.skin-gsoms .gs-m-pop .addr, body.skin-gsoms .gs-m-pop .go { font-size: 14px; }
  body.skin-gsoms .gs-m-cards .date, body.skin-gsoms .gs-m-pop .date { font-size: 12px; }
  body.skin-gsoms .gs-m-cards .tit, body.skin-gsoms .gs-m-pop .tit, body.skin-gsoms .gs-m-cards .txt, body.skin-gsoms .gs-m-pop .txt { font-size: 13px; }
  body.skin-gsoms .gs-bar-title { flex-direction: column; align-items: baseline; gap: 10px; }
  body.skin-gsoms .gs-issue-sum th, body.skin-gsoms .gs-issue-sum td { padding: 10px 13px; }
  body.skin-gsoms .gs-issue-grid th { height: 37px; padding: 10px 13px; }
  body.skin-gsoms .gs-mapimg .box:has(#gs-d-photo:not([hidden])) { height: auto; }
  body.skin-gsoms #gs-d-photo { position: static; height: 200px; }
  body.skin-gsoms .gs-form .row { flex-direction: column; gap: 10px; }
  body.skin-gsoms .gs-form label { width: 100%; }
  body.skin-gsoms .gs-form input { flex: none; }
  /* 화면 아래 붙은 막대: 이전 · 다음 · 새로고침 · 홈 */
  body.skin-gsoms .gs-m-navi { position: fixed; bottom: 0; left: 0; z-index: 100; display: block; box-sizing: border-box; width: 100%; height: 73px; border-top: 1px solid #e6e6e6; background: #fff; box-shadow: 0 0 25px rgba(0, 0, 0, 0.08); }
  body.skin-gsoms .gs-m-navi nav { height: 100%; }
  body.skin-gsoms .gs-m-navi ul { display: flex; align-items: center; justify-content: space-between; height: 100%; margin: 0; padding: 0; list-style: none; }
  body.skin-gsoms .gs-m-navi li { width: 25%; height: 100%; }
  body.skin-gsoms .gs-m-navi a, body.skin-gsoms .gs-m-navi button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: none; box-shadow: none; color: #1a1a1a; font-size: 15px; font-weight: 500; line-height: 18px; text-decoration: none; cursor: pointer;
  }
  body.skin-gsoms .gs-m-navi svg { display: block; flex: none; }
}
