/* ════════ g-soms 배치 — 가람 기존 시스템(g-soms.com)과 같은 화면 구성 ════════
   정해 둔 계정으로 로그인했을 때만 (body.skin-gsoms — skin.js). 그 표시가 없으면 이 파일은 .gs-only 를 숨기는 것 말고 아무것도 안 함
   → 다른 계정 화면은 그대로. 치수 · 색은 그쪽 화면에서 읽어 온 값 (2026-11-23, 창 폭 1440 기준)
   지금 범위: PC 폭의 머리(로고 · 메뉴)와 홈. 폰 폭 · 다른 화면은 아직 원래 모양 */

.gs-only { display: none; }

@media (min-width: 861px) {
  /* 글꼴도 저쪽 것 (skin.js 가 이 배치일 때만 받아 옴) */
  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; } /* 단추 · 입력칸은 글꼴을 따로 안 물려받아서 */

  /* ── 머리: 흰 한 줄 (높이 81 + 밑줄 1). 왼쪽 로고 | 지역, 오른쪽 메뉴 · 종 · 이름 ── */
  body.skin-gsoms .top {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 0; box-sizing: border-box; height: 82px;
    padding: 10px max(12.5px, calc((100% - 1420px) / 2 + 10px)); border-bottom: 1px solid #e6e6e6; background: #fff; box-shadow: none;
  }
  body.skin-gsoms.view-home .top { position: sticky; top: 0; z-index: 30; } /* 홈에선 위에 붙어 있음 (다른 화면은 그 화면의 붙는 줄과 겹쳐서 아직 그대로 흘림) */
  body.skin-gsoms .top-logo, body.skin-gsoms .brand, body.skin-gsoms #top-notices, body.skin-gsoms #theme, body.skin-gsoms #nav { display: none; }
  body.skin-gsoms .gs-logo { display: block; flex: none; padding-top: 5px; line-height: 0; }
  body.skin-gsoms .gs-logo img { display: block; width: 246px; height: 35px; }
  body.skin-gsoms .gs-bar { display: block; flex: none; width: 2px; height: 15px; margin: 0 12px 0 5px; background: #000; }
  body.skin-gsoms .gs-region { display: block; flex: none; color: #000; font-size: 17px; font-weight: 500; line-height: 23.97px; }
  body.skin-gsoms .gs-nav { display: flex; flex: none; margin-left: auto; }
  body.skin-gsoms .gs-nav a { display: inline-block; padding: 20px 16px; color: #1a1a1a; font-size: 18px; font-weight: 700; line-height: 21px; text-decoration: none; white-space: nowrap; }
  body.skin-gsoms .gs-nav a:hover,
  body.skin-gsoms.view-list .gs-nav a[data-view="list"], body.skin-gsoms.view-ops .gs-nav a[data-view="ops"], body.skin-gsoms.view-ops-detail .gs-nav a[data-view="ops"],
  body.skin-gsoms.view-notices .gs-nav a[data-view="notices"] { color: #0d488f; }
  /* 종 · 이름 (원래 있던 것을 그쪽 모양으로) */
  body.skin-gsoms .top-actions { display: flex; flex: none; align-items: center; gap: 0; margin: 0; }
  body.skin-gsoms .who:not([hidden]) { display: flex; align-items: center; gap: 0; }
  body.skin-gsoms .who:not([hidden]) { position: relative; }
  body.skin-gsoms .alert-btn { position: relative; display: block; width: 20.8px; height: 23px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #1a1a1a; }
  body.skin-gsoms .alert-btn:focus-visible { outline: 2px solid #0d488f; outline-offset: 3px; }
  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: 20.8px; height: 19.69px; margin-top: 0.57px; 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; }
  /* 종 아래 알림 목록 (180 × 최대 140, 안에서 스크롤) */
  body.skin-gsoms .gs-alarms:not([hidden]) {
    position: absolute; top: 30px; left: -150px; 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:hover { background: #f0f0f0; }
  body.skin-gsoms .gs-alarms li.empty { color: #808080; }
  body.skin-gsoms .gs-alarms li.empty:hover { background: none; }
  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:hover { background: #6c7580; color: #fff; }
  body.skin-gsoms .gs-alarm-x svg { display: block; width: 12.6px; height: 12.6px; fill: currentColor; }
  /* 이름 — 누르면 바로 아래 로그아웃 (원래 옆에 있던 로그아웃 단추는 숨김: 아래 창이 그걸 대신 누름) */
  body.skin-gsoms #who.chip { padding: 0 0 0 15px; color: #0d488f; font-size: 18px; font-weight: 700; line-height: 21px; cursor: pointer; }
  body.skin-gsoms #who.chip:hover { color: #0d488f; text-decoration: none; }
  body.skin-gsoms #who.chip::before { display: none; }
  body.skin-gsoms #who.chip::after { color: inherit; }
  body.skin-gsoms #logout { display: none; }
  body.skin-gsoms .gs-usermenu:not([hidden]) { position: absolute; top: 28.3px; right: 0; left: 20.8px; z-index: 200; display: block; box-sizing: border-box; min-width: 84px; border: 1px solid #ddd; background: #fff; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
  body.skin-gsoms .gs-usermenu ul { margin: 0; padding: 0; list-style: none; }
  body.skin-gsoms .gs-usermenu li { padding: 5px 10px; }
  body.skin-gsoms .gs-usermenu li:hover { background: #f0f0f0; }
  body.skin-gsoms .gs-usermenu button { display: block; width: 100%; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #333; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 146.7%; letter-spacing: 0.144px; text-align: left; cursor: pointer; }

  /* ── 본문 틀: 가운데 1420, 홈은 양옆 15 ── */
  body.skin-gsoms main { max-width: 1420px; margin: 0 auto; padding: 24px 15px 64px; }
  body.skin-gsoms.view-home main { padding: 0 15px; }

  /* ── 홈: 제목 → 지도 칸(검색 · 범례가 위에 뜸) → 현장 표 + 더보기 → 공지사항 | 바로가기 → 꼬리말 ── */
  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 #home-view .home-card[style*="--i:1"] { display: none; }
  body.skin-gsoms .gs-toparea { display: block; padding: 69px 0 48px; } /* 그쪽은 머리 81 아래 70 — 여긴 머리가 밑줄까지 82 라 69 */
  body.skin-gsoms .gs-title { display: block; color: #1a1a1a; font-size: 28px; font-weight: 700; line-height: 37.24px; letter-spacing: -0.552px; }
  body.skin-gsoms .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 80px; margin: 0; }
  body.skin-gsoms #home-view .home-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; }
  /* 지도 칸 */
  body.skin-gsoms #home-view .home-card[style*="--i:0"] { grid-column: 1 / -1; margin: 10px 0 28px; } /* 위 10 = 그쪽의 (PC 에선 빈) 폰용 범례 줄 여백 */
  body.skin-gsoms #home-view .home-card[style*="--i:0"] .home-head, body.skin-gsoms #home-map-msg:empty, body.skin-gsoms #notice-msg:empty { display: none; }
  body.skin-gsoms .mini-map { flex: none; box-sizing: border-box; height: 400px; min-height: 0; 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: 20px; left: 20px; z-index: 5; display: flex; gap: 8px; box-sizing: border-box; width: 420px; 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-sido, body.skin-gsoms #home-chips { display: none; }
  body.skin-gsoms #hm-q { flex: 1; min-width: 0; box-sizing: border-box; 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; width: 54px; height: 36px; padding: 0; border: 1px solid #0d488f; border-radius: 6px; background: #0d488f; color: #fff; font-size: 14px; font-weight: 400; cursor: pointer; }
  body.skin-gsoms .gs-reset-btn { display: block; flex: none; box-sizing: border-box; width: 111px; height: 36px; padding: 7px 0; border: 1px solid #8f99a8; border-radius: 6px; background: #fff; color: #485566; font-size: 13px; font-weight: 400; white-space: nowrap; cursor: pointer; }
  body.skin-gsoms .gs-legend { position: absolute; top: 20px; right: 21px; z-index: 5; display: block; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 0 16px rgba(0, 0, 0, 0.12); }
  body.skin-gsoms .gs-legend div { display: flex; gap: 5px; height: 29px; margin-bottom: 8px; }
  body.skin-gsoms .gs-legend img { display: block; width: 25px; height: 25px; }
  body.skin-gsoms .gs-legend span { padding-top: 5px; font-size: 16px; font-weight: 600; line-height: 19px; white-space: nowrap; }
  body.skin-gsoms .gs-legend hr { height: 0; margin: 8px 0; border: 0; border-top: 1px solid #ddd; }
  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; }
  /* 지도 핀 — 저쪽 핀 그림(40×40, 아래 가운데가 현장 자리). 이름표 · 올렸을 때 커지는 것 · 물결은 없음 (mapPins.js 가 data-gs 를 붙임) */
  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; }
  /* 핀을 누르면: 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; }
  /* 현장 표: 머리 44 + 줄 43씩. 높이 180 까지만 보이고 그 안에서 스크롤(표 머리는 붙어 있음), 더보기를 누르면 580 까지
     칸 너비는 저쪽처럼 내용만큼 (글자를 줄이지 않음) — 표가 칸보다 넓어지면 아래에 가로 스크롤 */
  body.skin-gsoms .gs-list { display: block; grid-column: 1 / -1; }
  body.skin-gsoms .gs-list-scroll { max-height: 180px; overflow: auto; }
  body.skin-gsoms .gs-list.open .gs-list-scroll { max-height: 580px; }
  body.skin-gsoms .gs-list thead th { position: sticky; top: 0; z-index: 1; }
  body.skin-gsoms .gs-list table { width: 100%; border-spacing: 0; border-collapse: separate; font-size: 15px; }
  body.skin-gsoms .gs-list th { box-sizing: border-box; height: 44px; padding: 12px 16px; border: 1px solid #e2e8f0; border-right-width: 0; background: #f5f8fa; color: #333; font-weight: 600; line-height: 18px; text-align: center; white-space: nowrap; }
  body.skin-gsoms .gs-list th:last-child { border-right-width: 1px; }
  body.skin-gsoms .gs-list td { box-sizing: border-box; height: 43px; padding: 12px 8px; border-bottom: 1px solid #e2e8f0; border-left: 1px solid #e2e8f0; color: #333; line-height: 18px; text-align: center; white-space: nowrap; }
  body.skin-gsoms .gs-list td:last-child { border-right: 1px solid #e2e8f0; }
  body.skin-gsoms .gs-list td.c-addr { text-align: left; }
  body.skin-gsoms .gs-list td.c-status { font-weight: 600; }
  body.skin-gsoms .gs-list td.late { color: #eb4f4f; }
  body.skin-gsoms .gs-list tbody tr { cursor: pointer; }
  body.skin-gsoms .gs-list tbody tr:hover td { background: #f8fafc; }
  body.skin-gsoms .gs-list tr.empty td { color: #808080; cursor: default; }
  body.skin-gsoms .gs-more { box-sizing: border-box; height: 40px; padding: 10px 0; border: 1px solid #e2e8f0; border-top: 0; background: #fff; text-align: center; cursor: pointer; }
  body.skin-gsoms .gs-more button { padding: 0; border: 0; background: none; color: #000; font-size: 16px; font-weight: 700; line-height: 19px; cursor: pointer; }
  /* 공지사항 | 바로가기 */
  body.skin-gsoms #home-view .home-card[style*="--i:2"], body.skin-gsoms #home-view .home-card[style*="--i:3"] { padding-top: 70px; }
  body.skin-gsoms #home-view .home-card[style*="--i:2"] .home-head, body.skin-gsoms #home-view .home-card[style*="--i:3"] .home-head { gap: 0; margin: 0; padding: 20px 0; }
  body.skin-gsoms #home-view .home-card[style*="--i:2"] .home-head { border-bottom: 1px solid #1a1a1a; }
  body.skin-gsoms #home-view .home-head h2 { margin: 0; color: #1a1a1a; font-size: 24px; font-weight: 700; line-height: 29px; letter-spacing: 0; }
  body.skin-gsoms #home-view .home-head .btn.mini { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #1a1a1a; font-size: 0; line-height: 29px; }
  body.skin-gsoms #home-view .home-head .btn.mini::after { content: '+'; font-size: 24px; font-weight: 400; }
  body.skin-gsoms .notice-list { height: 143px; margin: 20px 0 0; overflow: hidden; }
  body.skin-gsoms .notice-list li { padding: 0 5px 16px 0; border: 0; }
  body.skin-gsoms .notice-list li.empty { color: #808080; font-size: 17px; }
  body.skin-gsoms .notice-row { gap: 15px; padding: 0; border-radius: 0; background: none; color: #1a1a1a; font-size: 17px; font-weight: 400; line-height: 20px; }
  body.skin-gsoms .notice-row:hover { background: none; text-decoration: underline; }
  body.skin-gsoms .notice-row .t { font-weight: 400; }
  body.skin-gsoms .notice-row .d { color: #666; font-size: 17px; letter-spacing: -0.5px; }
  body.skin-gsoms .links { display: flex; gap: 10px; }
  body.skin-gsoms .link-card { box-sizing: border-box; flex: none; justify-content: flex-start; gap: 15px; width: 155px; height: 154px; min-height: 0; padding: 16px 0; border: 1px solid #e6e6e6; border-radius: 8px; background: none; box-shadow: none; color: #1a1a1a; transform: none; }
  body.skin-gsoms .link-card:hover { color: #1a1a1a; transform: none; }
  body.skin-gsoms .link-card img { width: 100px; height: 81px; }
  body.skin-gsoms .link-card:nth-child(1) img { content: url("img/gsoms/link-home.png"); }
  body.skin-gsoms .link-card:nth-child(2) img { content: url("img/gsoms/link-blog.png"); }
  body.skin-gsoms .link-card b { font-size: 17px; font-weight: 600; line-height: 23.97px; }
  body.skin-gsoms .link-card small { display: none; }
  /* 꼬리말 — 모든 화면 아래 (본문 틀과 같은 1420 폭) */
  body.skin-gsoms .gs-foot { display: block; box-sizing: border-box; max-width: 1420px; margin: 0 auto; padding: 250px 0 70px; color: #4d4d4d; font-size: 13px; line-height: 18.46px; }
  body.skin-gsoms .gs-foot .copy { padding-top: 10px; }

  /* ════ 가동현황 (목록 — gsomsList.js): 길잡이 → 제목 + 밑줄 → 검색 줄 → 표(8줄) → 쪽 번호. 원래 목록은 숨김 ════ */
  body.skin-gsoms.view-list .top { position: sticky; top: 0; z-index: 30; }
  body.skin-gsoms.view-list main { padding: 0 15px; }
  body.skin-gsoms #board > :not(.gs-only):not(.msg) { display: none; }
  body.skin-gsoms .gs-page { display: block; color: #1a1a1a; font-size: 15px; line-height: normal; }
  body.skin-gsoms .gs-crumb { display: flex; align-items: center; gap: 8px; padding: 16px 16px 28px 0; color: #94a3b8; font-size: 14px; font-weight: 500; line-height: 16px; }
  body.skin-gsoms .gs-crumb a, body.skin-gsoms .gs-crumb span { color: #333; text-decoration: none; }
  body.skin-gsoms .gs-crumb svg { display: block; flex: none; width: 14px; height: 14px; margin: 1px; }
  body.skin-gsoms .gs-subtitle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #1a1a1a; }
  /* 검색 줄 */
  body.skin-gsoms .gs-search-area { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0 0 20px; }
  body.skin-gsoms .gs-search-box { display: flex; flex: 1 1 0; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
  body.skin-gsoms .gs-selects { display: flex; align-items: center; gap: 10px; }
  body.skin-gsoms .gs-selects select {
    box-sizing: border-box; height: 39px; min-height: 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: 300px; min-width: 300px; 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; 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 { flex: 0 0 auto; height: 39px; border: 1px solid #8f99a8; font-size: 13px; }
  /* 표 — 칸 너비는 저쪽 비율 고정, 넘치는 글자는 … */
  body.skin-gsoms .gs-grid table { width: 100%; table-layout: fixed; border-spacing: 0; border-collapse: separate; font-size: 15px; }
  body.skin-gsoms .gs-grid th, body.skin-gsoms .gs-grid td { box-sizing: border-box; overflow: hidden; color: #333; text-align: center; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
  body.skin-gsoms .gs-grid th { height: 44px; padding: 12px 4px; border: 1px solid #e2e8f0; border-right-width: 0; background: #f5f8fa; font-weight: 600; line-height: 18px; }
  body.skin-gsoms .gs-grid th:last-child { border-right-width: 1px; }
  body.skin-gsoms .gs-grid td { height: 47px; padding: 12px 8px; border-bottom: 1px solid #e2e8f0; border-left: 1px solid #e2e8f0; font-weight: 400; line-height: 18px; }
  body.skin-gsoms .gs-grid td:last-child { border-right: 1px solid #e2e8f0; }
  body.skin-gsoms #gs-status th:nth-child(1) { width: 3.453%; }
  body.skin-gsoms #gs-status th:nth-child(2) { width: 9.374%; }
  body.skin-gsoms #gs-status th:nth-child(3) { width: 8.439%; }
  body.skin-gsoms #gs-status th:nth-child(4), body.skin-gsoms #gs-status th:nth-child(7), body.skin-gsoms #gs-status th:nth-child(8) { width: 7.496%; }
  body.skin-gsoms #gs-status th:nth-child(5), body.skin-gsoms #gs-status th:nth-child(9) { width: 6.561%; }
  body.skin-gsoms #gs-status th:nth-child(6) { width: 22.496%; }
  body.skin-gsoms #gs-status th:nth-child(10) { width: 14.058%; }
  body.skin-gsoms #gs-status th:nth-child(11) { width: 6.568%; }
  body.skin-gsoms .gs-grid .c-ad { padding: 12px 4px; letter-spacing: -0.2px; }
  body.skin-gsoms .gs-grid td.c-addr { text-align: left; }
  body.skin-gsoms .gs-grid td.c-status { font-weight: 600; }
  body.skin-gsoms .gs-grid td.late { color: #eb4f4f; }
  body.skin-gsoms .gs-grid tr.empty td { color: #808080; }
  body.skin-gsoms .gs-grid input[type="checkbox"], body.skin-gsoms .gs-list input[type="checkbox"] { width: 18px; height: 18px; margin: 0; border-radius: 3px; vertical-align: middle; cursor: pointer; }
  body.skin-gsoms .gs-grid th input[type="checkbox"] { display: block; width: 15px; margin: 0 auto; }
  /* 열어 본 현장(열람)은 회색 — 제어방식 · 동작상태 · 교체일 칸은 색 그대로 (홈 표도) */
  body.skin-gsoms .gs-grid tr.visited td:not(.keep), body.skin-gsoms .gs-list tr.visited td:not(.keep) { color: #aaa; }
  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; cursor: pointer; }
  /* 쪽 번호 — 동그란 40 단추 */
  body.skin-gsoms .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-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-pager button:not(:disabled):not(.on):hover { background: #f1f5f9; color: #334155; }
  body.skin-gsoms .gs-pager button.on { background: #034287; color: #fff; }
  body.skin-gsoms .gs-pager button:disabled { opacity: 0.6; cursor: default; }
  body.skin-gsoms .gs-pager svg { display: block; width: 14px; height: 14px; }

  /* ════ 노면수위현황 (gsomsWater.js): 가동현황과 같은 틀 — 표 11칸(8줄씩, 줄 높이 43). 칸 너비는 저쪽 화면에서 잰 비율 ════ */
  body.skin-gsoms.view-water .top { position: sticky; top: 0; z-index: 30; }
  body.skin-gsoms.view-water main { padding: 0 15px; }
  body.skin-gsoms.view-water .gs-nav a[data-view="water"] { color: #0d488f; }
  body.skin-gsoms .gs-wl-reset { flex: 0 0 auto; }
  body.skin-gsoms .gs-wl-grid td { height: 43px; }
  body.skin-gsoms .gs-wl-grid .gs-detail-btn { line-height: normal; } /* 칸의 줄 높이(18)를 물려받으면 작은 글자 단추가 줄을 1px 밀어 올림 */
  body.skin-gsoms .gs-wl-grid th:nth-child(1), body.skin-gsoms .gs-wl-grid th:nth-child(6), body.skin-gsoms .gs-wl-grid th:nth-child(7),
  body.skin-gsoms .gs-wl-grid th:nth-child(8), body.skin-gsoms .gs-wl-grid th:nth-child(10) { width: 6.619%; }
  body.skin-gsoms .gs-wl-grid th:nth-child(2) { width: 8.424%; }
  body.skin-gsoms .gs-wl-grid th:nth-child(3) { width: 6.468%; }
  body.skin-gsoms .gs-wl-grid th:nth-child(5) { width: 8.64%; }
  body.skin-gsoms .gs-wl-grid th:nth-child(9) { width: 5.885%; }
  body.skin-gsoms .gs-wl-grid th:nth-child(11) { width: 6.705%; }

  /* ════ 공지사항 (gsomsNotice.js): 목록 = 가동현황과 같은 틀 (검색 줄 · 표 · 쪽 번호), 글 보기 = 제목 · 정보 표 · 본문 칸 · 이전글/다음글/목록. 원래 화면은 숨김 ════ */
  body.skin-gsoms.view-notices .top { position: sticky; top: 0; z-index: 30; }
  body.skin-gsoms.view-notices main { padding: 0 15px; }
  body.skin-gsoms #notices-view > :not(.gs-only) { display: none; }
  body.skin-gsoms .gs-nt-grid th:nth-child(1) { width: 5.058%; }
  body.skin-gsoms .gs-nt-grid th:nth-child(2) { width: 37.374%; }
  body.skin-gsoms .gs-nt-grid th:nth-child(3) { width: 29.05%; }
  body.skin-gsoms .gs-nt-grid th:nth-child(4) { width: 9.446%; }
  body.skin-gsoms .gs-nt-grid th:nth-child(5) { width: 13.23%; }
  body.skin-gsoms .gs-nt-grid th:nth-child(6) { width: 5.842%; }
  body.skin-gsoms .gs-nt-grid td { height: 43px; }
  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-title-link { position: relative; display: inline-block; max-width: 100%; overflow: hidden; color: #1a1a1a; text-decoration: none; text-overflow: ellipsis; vertical-align: top; }
  body.skin-gsoms .gs-title-link:hover { color: #034287; text-decoration: underline; text-underline-offset: 3px; }
  body.skin-gsoms .gs-file { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; cursor: pointer; }
  /* 글 보기 */
  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 { width: 100%; border: 1px solid #e6e6e6; border-collapse: collapse; font-size: 15px; text-align: left; }
  body.skin-gsoms .gs-detail-table th, body.skin-gsoms .gs-detail-table td { padding: 15px 20px; border: 1px solid #e6e6e6; color: #333; font-weight: 400; line-height: normal; white-space: nowrap; vertical-align: middle; }
  body.skin-gsoms .gs-detail-table th { background: #f5f8fa; font-size: 14px; font-weight: 500; }
  body.skin-gsoms .gs-detail-table .gs-files .gs-file { display: block; color: #034287; line-height: 22.5px; }
  body.skin-gsoms .gs-detail-table td.gs-detail-content { height: 500px; white-space: pre-wrap; word-break: break-word; vertical-align: top; }
  body.skin-gsoms .gs-btn-area { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; }
  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; }

  /* ════ 제품현황 (현장 상세 — gsomsDetail.js): 정보 표 → 운전모드 칸 + 값 표 → 그래프 → 현장정보(지도 | 사진) → 이슈 히스토리 → 메모. 원래 상세는 숨김 (보고서의 현장 상세는 아직 원래 화면) ════ */
  body.skin-gsoms.view-detail:not(.view-ops-detail) .top { position: sticky; top: 0; z-index: 30; }
  body.skin-gsoms.view-detail:not(.view-ops-detail) main { padding: 0 15px; }
  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 .gs-between { 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; }
  /* 정보 표 (제목 칸 20% · 값 칸 30%) */
  body.skin-gsoms .gs-info-table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: 15px; text-align: left; }
  body.skin-gsoms .gs-info-table th, body.skin-gsoms .gs-info-table td { padding: 15px 20px; border: 1px solid #e6e6e6; line-height: normal; vertical-align: middle; }
  body.skin-gsoms .gs-info-table th { width: 20%; background: #f5f8fa; color: #666; font-size: 14px; font-weight: 500; }
  body.skin-gsoms .gs-info-table td { width: 30%; color: #333; font-weight: 400; white-space: nowrap; }
  body.skin-gsoms .gs-info-table td.late { color: #eb4f4f; }
  /* 운전모드 칸(200) + 값 표 */
  body.skin-gsoms .gs-status-wrap { display: flex; gap: 16px; margin-bottom: 16px; white-space: nowrap; }
  body.skin-gsoms .gs-status-box { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 16px; box-sizing: border-box; width: 200px; padding: 12px; border: 1px solid #e6e6e6; }
  body.skin-gsoms .gs-status-box .row { display: flex; gap: 12px; font-size: 15px; font-weight: 700; line-height: 18px; }
  body.skin-gsoms .gs-status-box .row span { width: 50%; text-align: center; }
  body.skin-gsoms .gs-status-box .cmds { display: flex; gap: 12px; }
  body.skin-gsoms .gs-status-box .cmds button { min-height: 0; padding: 6px 12px; border: 0; border-radius: 16px; background: #aaa; box-shadow: none; color: #fff; font-size: 15px; font-weight: 700; line-height: 18px; cursor: pointer; }
  body.skin-gsoms .gs-status-box .cmds button.on { background: #0d488f; }
  body.skin-gsoms .gs-status-box .cmds button:disabled { background: #ccc; cursor: not-allowed; }
  body.skin-gsoms .gs-values { margin: 0; text-align: center; }
  body.skin-gsoms .gs-values th { width: 32.2%; padding: 12px 0; text-align: center; }
  body.skin-gsoms .gs-values th:last-child { width: 35.6%; }
  body.skin-gsoms .gs-values td { width: auto; padding: 12px; text-align: center; }
  /* 구역 제목 띠 */
  body.skin-gsoms .gs-bar-title { 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-legend-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 30px; margin-bottom: 8px; }
  body.skin-gsoms .gs-chart-legend { display: flex; 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; overflow: hidden; border: 1px solid #ddd; border-radius: 6px; background: #fff; }
  body.skin-gsoms .gs-zoom button { display: flex; align-items: center; justify-content: center; gap: 4px; 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 button:hover { background: #f5f5f5; }
  body.skin-gsoms .gs-zoom svg { display: block; width: 16px; height: 16px; fill: currentColor; }
  body.skin-gsoms .gs-chart { height: 400px; background: #fff; }
  /* 현장정보: 지도 | 사진 (각 460 높이) */
  body.skin-gsoms .gs-mapimg { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
  body.skin-gsoms .gs-mapimg > div { width: 50%; 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 .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 { margin-bottom: 10px; }
  body.skin-gsoms .gs-issue-sum th, body.skin-gsoms .gs-issue-sum td { width: 19.1%; text-align: center; }
  body.skin-gsoms .gs-issue-sum th:first-child { width: 29.1%; }
  body.skin-gsoms .gs-issue-sum th:last-child { width: 13.9%; }
  body.skin-gsoms .gs-issue-sum b { font-weight: 700; }
  body.skin-gsoms .gs-issue-grid th { height: 47px; border-color: #e6e6e6; color: #333; font-size: 14px; }
  body.skin-gsoms .gs-issue-grid td { height: 43px; border-color: #e6e6e6; }
  body.skin-gsoms .gs-issue-grid th:nth-child(1), body.skin-gsoms .gs-issue-grid th:nth-child(2) { width: 200px; }
  body.skin-gsoms .gs-issue-grid { margin-bottom: 0; }
  body.skin-gsoms .gs-issue-grid + .gs-bar-title { margin-top: 20px; }
  /* 메모 */
  body.skin-gsoms .gs-memo { margin-bottom: 24px; padding-top: 20px; }
  body.skin-gsoms .gs-memo-input { display: flex; align-items: flex-end; 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: 0; padding: 12px 14px; border: 2px solid #d1d9e0; border-radius: 0; background: #fff; box-shadow: none; color: #1f2937; font-size: 14px; line-height: 22.4px; resize: none; }
  body.skin-gsoms .gs-memo-input button { 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; }

  /* ════ 환경설정 (개인정보 수정 — gsomsMe.js): 이름표(174) + 입력칸 다섯 줄 → 저장. 원래 마이페이지는 숨김 ════ */
  body.skin-gsoms.view-me .top { position: sticky; top: 0; z-index: 30; }
  body.skin-gsoms.view-me main { padding: 0 15px; }
  body.skin-gsoms #me-view > :not(.gs-only) { display: none; }
  body.skin-gsoms #me-view { padding-top: 0; }
  body.skin-gsoms .gs-nav a[data-view="me"]:hover, body.skin-gsoms.view-me .gs-nav a[data-view="me"] { color: #0d488f; }
  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: 174.3px; 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; 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-form .gs-btn-area { margin-top: 20px; }
  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; }

  /* ════ 보고서 (기간별 보고서 목록 — gsomsReport.js): 제목 줄 오른쪽에 조회기간 · 초기화 · 엑셀 다운로드, 아래는 가동현황과 같은 틀 (표 10줄). 원래 운영 통계는 숨김 ════ */
  body.skin-gsoms.view-ops .top { position: sticky; top: 0; z-index: 30; }
  body.skin-gsoms.view-ops main { padding: 0 15px; }
  body.skin-gsoms #ops-view > :not(.gs-only) { display: none; }
  body.skin-gsoms .gs-datebox { display: flex; align-items: center; gap: 10px; 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: 300px; height: 38px; }
  body.skin-gsoms .gs-range input { box-sizing: border-box; width: 300px; height: 38px; min-height: 0; margin: 0; padding: 8px 40px 8px 12px; border: 1px solid #ccc; border-radius: 0; background: #fff; box-shadow: none; 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; height: 38px; min-height: 0; padding: 10px 20px; border: 1px solid #1a1a1a; border-radius: 0; background: none; box-shadow: none; color: #1a1a1a; 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-rp-grid th { height: 46px; }
  body.skin-gsoms .gs-rp-grid td { height: 45px; }
  body.skin-gsoms .gs-rp-grid th:nth-child(1) { width: 53px; }
  body.skin-gsoms .gs-rp-grid th:nth-child(2) { width: 140px; }
  body.skin-gsoms .gs-rp-grid th:nth-child(3) { width: 160px; }
  body.skin-gsoms .gs-rp-grid th:nth-child(4) { width: 200px; }
  body.skin-gsoms .gs-rp-grid th:nth-child(6) { width: 120px; }
  body.skin-gsoms .gs-rp-grid th:nth-child(7) { width: 100px; }
  body.skin-gsoms .gs-rp-grid td.left { text-align: left; }
  body.skin-gsoms .gs-rp-grid th input[type="checkbox"] { width: 18px; }
}
