@charset "UTF-8";
.applyTable {
  border-collapse: collapse;
  border-spacing: 0;
  background-color: white;
  width: 100%;
}

.applyTable th, .applyTable td {
  border-color: #cacaca;
  border-style: solid;
  border-width: 1px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  overflow: hidden;
  word-break: normal;
  text-align: center;
  vertical-align: middle;
}

.tab-pane {
  background-color: white;
  padding: 10px;
}

@media screen and (max-width: 767px) {
  .applyTable {
    width: auto !important;
  }
  .applyTable col {
    width: auto !important;
  }
  .tg-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.upload-section-tilte {
  position: relative;
}
.upload-section-tilte span {
  font-size: 17px;
  font-weight: 900;
  color: #007bff;
}

.upload-section {
  padding: 10px;
  background-color: white;
  box-shadow: 1px 1px 10px #bdbdbd;
  border-radius: 10px;
  margin: 10px 0;
}

.file-upload-input {
  display: none;
}

.file-upload-zone {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 8px;
  width: 240px;
  height: 150px;
  background-color: #ffffff;
  border-radius: 5px;
  border: 2px dashed #91aee4;
  text-transform: capitalize;
  /* box-shadow: 1px 1px 10px grey; */
  margin: 8px;
}

.file-upload__btn {
  flex-grow: 1;
  padding: 2px 7px;
  color: #000000;
  width: 100px;
  height: 35px;
  text-align: center;
  background-color: #66b3ff;
  border-radius: 3px;
  text-decoration: none;
  line-height: 2;
}

.file-upload__btn:active {
  transform: translate(0.5px, 0.5px);
}

.file-upload__name {
  flex-grow: 2;
  font-size: 14px;
  color: blue;
}

.file-upload__text-container {
  flex-grow: 6;
  /* display: flex; */
  align-items: center;
  /* justify-content: center; */
  text-align: center;
}

.file-removeBtn {
  display: none;
}

/* ---------- 通用 utilities ---------- */
.u-hidden {
  display: none;
}

.u-block {
  display: block;
}

.u-flex {
  display: flex;
}

.u-inline-block {
  display: inline-block;
}

.u-flex-center {
  display: flex;
  justify-content: center;
}

.u-flex-center-middle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.u-flex-between-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.u-flex-start {
  display: flex;
  justify-content: flex-start;
}

.u-flex-middle {
  display: flex;
  align-items: center;
}

.u-flex-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.u-flex-col-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.u-flex-1 {
  flex: 1;
}

.u-flex-1-tight {
  flex: 1 1 0;
  min-width: 0;
}

.u-flex-none {
  flex: 0 0 auto;
}

.u-flex-fill-scroll {
  flex: 1 1 auto;
  min-height: 0;
}

.u-flex-half-scroll {
  flex: 1 1 50%;
  min-height: 130px;
}

.u-flex-nowrap {
  flex-wrap: nowrap;
}

.u-gap-8 {
  gap: 8px;
}

.u-fill {
  width: 100%;
  height: 100%;
}

.u-w-full {
  width: 100%;
}

.u-h-full {
  height: 100%;
}

.u-w-0 {
  width: 0;
}

.u-h-0 {
  height: 0;
}

.u-w-0pct {
  width: 0%;
}

.u-h-300 {
  height: 300px;
}

.u-h-460 {
  height: 460px;
}

.u-h-500 {
  height: 500px;
}

.u-h-630 {
  height: 630px;
}

.u-maxw-300 {
  max-width: 300px;
}

.u-p-0 {
  padding: 0;
}

.u-p-3px {
  padding: 3px;
}

.u-pb-05rem {
  padding-bottom: 0.5rem;
}

.u-mb-0 {
  margin-bottom: 0;
}

.u-ml-5 {
  margin-left: 5px;
}

.u-mt-5 {
  margin-top: 5px;
}

.u-mr-5 {
  margin-right: 5px;
}

.u-mr-8 {
  margin-right: 8px;
}

.u-mr-10 {
  margin-right: 10px;
}

.u-pos-relative {
  position: relative;
}

.u-nowrap {
  white-space: nowrap;
}

.u-overflow-visible {
  overflow: visible;
}

.u-overflow-x-auto {
  overflow-x: auto;
}

.u-overflow-y-auto {
  overflow-y: auto;
}

.u-resize-none {
  resize: none;
}

.u-cursor-pointer {
  cursor: pointer;
}

.u-no-underline,
.u-no-underline:hover {
  text-decoration: none;
}

.u-bold {
  font-weight: bold;
}

.u-fs-larger {
  font-size: larger;
}

.u-text-left {
  text-align: left;
}

.u-text-center {
  text-align: center;
}

.u-text-right {
  text-align: right;
}

/* 文字語意色（值原樣照抄自 inline style） */
.u-text-danger {
  color: red;
}

.u-text-info {
  color: blue;
}

.u-text-notice {
  color: brown;
}

.u-text-alert {
  color: crimson;
}

.u-text-subdued {
  color: grey;
}

.u-text-hint {
  color: #9e9e9e;
}

.u-text-pending {
  color: darkgrey;
}

.u-text-primary {
  color: #007bff;
}

.u-text-secondary {
  color: #6c757d;
}

.u-text-transparent {
  color: transparent;
}

.l-step__item-text.u-text-transparent {
  color: transparent;
}

/* 帳號管理圖示狀態色 */
.u-icon-ok {
  color: #10b981;
}

.u-icon-blocked {
  color: #e11d48;
}

.u-icon-unverified {
  color: #f2612c;
}

/* 背景色 */
.u-bg-section {
  background-color: #f2f2f2;
}

.u-bg-highlight-row {
  background-color: #e5f0ff;
}

.u-bg-subtotal-row {
  background-color: rgba(130, 155, 177, 0.2);
}

.u-bg-tag {
  background-color: #e3e1e1;
}

.u-bg-table-blue {
  background-color: #c0d4e5;
}

.u-bg-light-grey {
  background: #e9ecef;
}

.u-bg-legend-blue {
  background-color: #3DB7FF;
}

.u-bg-legend-indigo {
  background-color: #4A3DFF;
}

.u-bg-legend-green {
  background-color: #00E676;
}

/* 表格欄寬（col / th） */
.u-cell-quarter {
  width: 25%;
}

.u-colw-30 {
  width: 30px;
}

.u-colw-40 {
  width: 40px;
}

.u-colw-80 {
  width: 80px;
}

.u-colw-90 {
  width: 90px;
}

.u-colw-100 {
  width: 100px;
}

.u-colw-105 {
  width: 105px;
}

.u-colw-110 {
  width: 110px;
}

.u-colw-140 {
  width: 140px;
}

.u-colw-155 {
  width: 155px;
}

.u-colw-160 {
  width: 160px;
}

.u-colw-170 {
  width: 170px;
}

.u-colw-180 {
  width: 180px;
}

.u-colw-195 {
  width: 195px;
}

.u-colw-220 {
  width: 220px;
}

.u-colw-300 {
  width: 300px;
}

.u-colw-345 {
  width: 345px;
}

.u-colw-698 {
  width: 698px;
}

/* ---------- 元件 ---------- */
.o-btn-modal {
  width: 120px;
}

.o-btn-block-lg {
  height: 50px;
  width: 100%;
}

.o-btn-accent,
.o-btn-accent:hover,
.o-btn-accent:focus,
.o-btn-accent:disabled {
  background-color: indianred;
}

.o-btn-accent--bordered,
.o-btn-accent--bordered:hover,
.o-btn-accent--bordered:focus,
.o-btn-accent--bordered:disabled {
  border-color: indianred;
}

.o-btn-cadet,
.o-btn-cadet:hover,
.o-btn-cadet:focus,
.o-btn-cadet:disabled {
  background: cadetblue;
  border: cadetblue;
}

.o-btn-step-muted,
.o-btn-step-muted:hover,
.o-btn-step-muted:focus,
.o-btn-step-muted:disabled {
  background: #979dbb;
  border: #979dbb;
}

.o-btn-inactive,
.o-btn-inactive:hover,
.o-btn-inactive:focus,
.o-btn-inactive:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  margin-right: 10px;
  cursor: not-allowed;
}

.o-btn-dim,
.o-btn-dim:disabled {
  align-items: center;
  opacity: 0.5;
}

.o-link-plain,
.o-link-plain:hover {
  padding: 0;
  text-decoration: none;
}

.o-box-title-actions {
  display: inline-block;
  padding-left: 0;
  float: right;
}

.o-field-note {
  color: #6c757d;
  display: block;
  margin-top: 5px;
}

.o-field-note-sm {
  color: #6c757d;
  display: block;
  margin-top: 2px;
}

.o-notice-strip {
  background-color: #FFE4B8;
  padding: 2px;
}

.o-highlight-card {
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background-color: blanchedalmond;
}

.o-func-group-frame {
  border-color: moccasin;
  border-width: 2px;
}

.o-layer-drag-dot {
  opacity: 0.7;
  width: 10px;
}

.o-captcha-img {
  margin-bottom: 4px;
  cursor: pointer;
}

.o-progress-slim {
  height: 10px;
}

.o-textarea-lg {
  height: 200px;
}

.o-apply-title {
  text-align: center;
  margin: 0;
}

.o-subtable-indent {
  padding-left: 50px;
}

.o-subtable-plain {
  margin: 0;
  background: white;
}

.o-attr-label {
  display: inline-block;
  width: 110px;
}

.o-scroll-box-sm {
  max-height: 220px;
  overflow: auto;
}

.o-log-pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  max-height: 320px;
  overflow: auto;
}

.o-role-scroll-list {
  height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
}

.o-mini-table-host {
  width: 100%;
}

/* 密碼欄／驗證欄位的眼睛（動作）按鈕 */
.o-input-action-host {
  padding-right: 40px;
}

.o-input-action-btn {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 0;
  z-index: 2;
}

/* 行內輸入框（申請表內混排文字用） */
.o-input-inline {
  display: inline-block;
}

.o-input-inline--sm {
  width: 80px;
}

.o-input-inline--md {
  width: 100px;
}

.o-input-inline--xl {
  width: 700px;
}

/* 儀表板統計盒 */
.o-stat-box {
  flex: 1;
  margin-right: 10px;
}

.o-stat-box--quarter {
  width: 25%;
}

.o-stat-box--half {
  width: 50%;
}

.o-stat-box--basis28 {
  flex-basis: 28%;
}

.o-stat-box--basis36 {
  flex-basis: 36%;
  margin-right: 10px;
}

.o-stat-box-grow4 {
  flex: 4;
  margin-right: 10px;
  width: 25%;
}

.o-dashboard-tab-content {
  max-height: none;
  overflow: visible;
}

.o-dashboard-empty {
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed #d2d6de;
  background-color: #fcfcfc;
  border-radius: 8px;
  margin: 0 15px 15px 15px;
}

.o-dashboard-empty-icon {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.o-dashboard-empty-title {
  color: #555;
  font-weight: bold;
  margin: 5px 0;
}

/* 圖表卡片 */
.o-chart-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.o-chart-card {
  flex: 1 1 440px;
  min-width: 0;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #ffffff;
}

.o-chart-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.o-chart-card__filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.o-chart-card__select {
  width: 7rem;
}

.o-chart-card__select--wide {
  width: 9rem;
}

.o-chart-figure {
  height: 400px;
  margin-bottom: 0;
}

.o-chart-figure-sm {
  height: 300px;
  margin-bottom: 0;
}

/* modal 尺寸／捲動 */
.o-modal-scroll {
  max-height: 800px;
  overflow-y: auto;
}

.o-modal-scroll-sm {
  max-height: 200px;
  overflow-y: auto;
}

.o-modal-scroll-md {
  max-height: 400px;
  overflow-y: auto;
}

.o-modal-scroll-lg {
  max-height: 600px;
  overflow-y: auto;
}

.o-modal-body-fixed {
  height: 400px;
}

.o-modal-dialog-wide {
  max-width: 1000px;
  overflow-x: auto;
}

.o-modal-dialog-xwide {
  max-width: 1400px;
  overflow-x: auto;
}

/* 設施選取模式按鈕（地圖點選／手繪） */
.o-mode-btn {
  flex: 1;
  padding: 12px;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.o-mode-btn--select {
  border: 2px solid #17a2b8;
  color: #17a2b8;
}

.o-mode-btn--draw {
  border: 2px solid #28a745;
  color: #28a745;
}

.o-mode-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.o-list-options-row {
  width: 100%;
  margin-top: 15px;
}

/* 上傳圖片預覽 */
.o-upload-preview-wrap {
  margin: 10px auto;
}

.o-upload-preview-img {
  height: auto;
  max-width: 100%;
}

/* 地圖比對（swipe）視窗 */
.o-map-compare {
  width: 100%;
  height: 100%;
}

.o-map-compare--left {
  background-color: black;
}

.o-map-compare--right {
  background-color: pink;
}

.o-map-compare-close {
  background-color: red;
  border-radius: 3px 0;
  left: auto;
  right: 0;
}

/* 地圖工具彈出視窗（繪製／量測／出圖等 widget box） */
.o-map-popup {
  right: 0;
  top: 0;
  display: none;
}

.o-map-popup--sm {
  width: 175px;
  max-height: 500px;
}

.o-map-popup--sm-tall {
  width: 175px;
  max-height: 600px;
}

.o-map-popup--md {
  width: 250px;
  max-height: 500px;
}

.o-map-popup--lg {
  width: 300px;
  max-height: 750px;
}

.o-map-popup--xl {
  width: 300px;
  max-height: 1200px;
}

/* 地圖區寬度不足（jmapwidget 的 _syncMapBoxMode 加上 .is-widget-docked）時，widget 預設從活動區域底部開啟、滿版寬，不放在右上角 */
.l-map.is-widget-docked .o-map-popup {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
}

/* 向上長（WidgetBoxManager 依位置與可用空間加上 .is-grow-up，一般模式與底部停靠都適用）：
   以 bottom 定位，標題列（含按鈕）排在最下方、內容在上方，展開／收合時標題列留在原位、內容往上長。
   只把標題列移到最後（order），不用 column-reverse：反轉會連內容的上下順序一起顛倒（例如塗鴉的「全部清除」跑到最上面） */
.l-map .o-map-popup.is-open.is-grow-up {
  display: flex;
  flex-direction: column;
}

.l-map .o-map-popup.is-grow-up .o-panel-header {
  order: 1;
  margin: 8px -8px -8px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: none;
  border-radius: 0 0 5px 5px;
}

/* misbox 分頁容器（GovernMap / PeopleMap 版面） */
.o-misbox-tab-content {
  background-color: rgba(255, 255, 255, 0.7);
}

.o-misbox-tab-shade {
  position: relative;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/* 即時水深儀表（SVG）：SVG 上色用 fill，CSS color 對 <path>/<text> 無效 */
.o-wl-fill-default {
  fill: #7cb5ec;
}

.o-wl-fill-white {
  fill: white;
}

.o-wl-value-text {
  font-size: 60px;
}

.o-wl-title {
  text-align: center;
  padding: 0;
  margin-bottom: 0.5rem;
}

/* ---------- 自 governlayers.html / peoplelayers.html 的 <style> 區塊移入 ---------- */
#layer_add,
#layer_upload {
  position: absolute;
  width: 0;
  right: 280px;
  top: 0px;
  height: 100%;
  transition: 0.3s;
  visibility: hidden;
  font-size: 1rem;
  border-radius: 3px 0 0 3px;
  box-shadow: -3px 0 6px -2px rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  #layer_add.is-open,
  #layer_upload.is-open {
    right: 0 !important;
    max-width: calc(100% - 75px);
  }
}
.upload {
  opacity: 0;
  /*font-size: 0;*/
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* ---------- 自 EditManualList.html / EditWaterRefund.html 的 <style> 區塊移入 ---------- */
/* 以 ID 與屬性選擇器隱藏 SID 相關欄位 */
#EditManualList_Sid,
label[for=EditManualList_Sid] {
  display: none;
}

#EditWaterRefund_Sid,
label[for=EditWaterRefund_Sid] {
  display: none;
}

/* PanelFade 淡入淡出 */
.u-fade-50 {
  transition: opacity 0.05s;
}

.u-fade-100 {
  transition: opacity 0.1s;
}

.u-fade-150 {
  transition: opacity 0.15s;
}

.u-fade-200 {
  transition: opacity 0.2s;
}

.u-fade-300 {
  transition: opacity 0.3s;
}

.u-fade-400 {
  transition: opacity 0.4s;
}

.u-fade-invisible {
  opacity: 0;
  pointer-events: none;
}

.u-fade-opaque {
  opacity: 1;
}

.u-overlay-block {
  display: block;
}

/* ---------- 版面切換頁（layout.js pageChange，目前無使用頁面，保留機制） ---------- */
.o-page-container {
  position: relative;
  overflow: hidden;
}

.o-page {
  position: absolute;
  left: 0;
  width: 100%;
  background-color: #f8f9fa;
  transition: 0.3s;
}

.o-page--front {
  z-index: 1;
}

.o-page--offright {
  left: 100%;
}

/* ---------- 拖曳中的選取／過渡控制（mapDrag.js / swipe.js） ---------- */
.u-noselect {
  -webkit-user-select: none;
  user-select: none;
}

.u-trans-none {
  transition: none;
}

.u-trans-0s {
  transition: 0s;
}

.u-trans-3s-linear {
  transition: 0.3s linear;
}

.u-trans-3s {
  transition: 0.3s;
}

/* ---------- 面板寬高檔位（jmisbox / rightbox / jtopbox / jbottombox）
   刻意用「單一 class」而非兩層 selector：
   - 對 .l-left-box / .u-fill 等基礎規則：同 specificity，本檔在整個 bundle 較晚載入而勝出
   - 對拖曳分隔線寫進 <style id="js-dynamic-styles"> 的規則：同 specificity，
     該標籤位於文件最末而由拖曳勝出（拖曳中能即時覆蓋檔位，等同原行內樣式的優先關係）
   寫成兩層 selector 會反過來壓死拖曳，切勿「加強」 ---------- */
.is-w-64 {
  width: 64px;
}

.is-w-400 {
  width: 400px;
}

.is-w-500 {
  width: 500px;
}

.is-w-550 {
  width: 550px;
}

.is-w-700 {
  width: 700px;
}

.is-w-850 {
    width: 850px;
}

.is-w-1000 {
  width: 1000px;
}

.is-w-1200 {
  width: 1200px;
}

.is-w-full {
  width: 100%;
}

.is-w-auto {
  width: auto;
}

.is-w-0 {
  width: 0;
}

.is-h-55 {
  height: 55px;
}

.is-h-64 {
  height: 64px;
}

.is-h-150 {
  height: 150px;
}

.is-h-300 {
  height: 300px;
}

.is-h-40p {
  height: 40%;
}

.is-h-full {
  height: 100%;
}

.is-h-auto {
  height: auto;
}

.is-h-0 {
  height: 0;
}

/* 地圖工具彈出視窗開啟狀態（o-map-popup 基礎為 display:none） */
.o-map-popup.is-open {
  display: block;
}

/* 暫停（WidgetBoxManager.suspend）：開啟進階定位時，塗鴉／測量仍保持開啟與互動狀態，只是先隱藏。
   權重需高於向上長的 .l-map .o-map-popup.is-open.is-grow-up（_temp-phase1.scss，較早 import，同為 4 個 class） */
.l-map .o-map-popup.is-open.is-suspended {
  display: none;
}

/* 收合（WidgetBoxManager 的收合鈕、收合中點標題列展開；塗鴉、測量、列印、進階定位共用）：只留標題列 */
.o-box--draggable.is-collapsed > :not(.o-panel-header) {
  display: none;
}

.o-box--draggable.is-collapsed:not(.ui-draggable-dragging) .o-panel-header,
.o-box--draggable.is-collapsed:not(.ui-draggable-dragging) .o-box__title {
  cursor: pointer;
}

/* 收合鈕箭頭：向下長時展開顯示向上（往上收合）、收合顯示向下（往下展開）；向上長（.is-grow-up，標題列在下）時相反 */
.o-box--draggable .o-box__collapse-icon--down,
.o-box--draggable.is-collapsed .o-box__collapse-icon--up {
  display: none;
}

.o-box--draggable.is-collapsed .o-box__collapse-icon--down {
  display: inline-block;
}

.o-box--draggable.is-grow-up .o-box__collapse-icon--up {
  display: none;
}

.o-box--draggable.is-grow-up .o-box__collapse-icon--down {
  display: inline-block;
}

.o-box--draggable.is-grow-up.is-collapsed .o-box__collapse-icon--up {
  display: inline-block;
}

.o-box--draggable.is-grow-up.is-collapsed .o-box__collapse-icon--down {
  display: none;
}

/* 標題列的收合鈕與關閉鈕之間留間距 */
.o-box--draggable .o-box__btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- 即時水深（identifybox.js cal_water_color 值域） ---------- */
.o-wl-fill-alert {
  fill: red;
}

.o-wl-fill-fullpipe {
  fill: #ff6702;
}

.o-wl-fill-halfpipe {
  fill: #ffc302;
}

.o-wl-fill-normal {
  fill: #1E90FF;
}

/* ---------- 通用 ---------- */
.u-underline {
  text-decoration: underline;
}

.u-maxw-full {
  max-width: 100%;
}

.u-h-fill-minus-100 {
  height: calc(100% - 100px);
}

.u-pointer-events-none {
  pointer-events: none;
}

.u-z-modal-front {
  z-index: 1060;
}

.u-text-link,
.u-text-link:hover {
  color: #6097fb;
}

/* ---------- 按鈕鎖定／設施模式（mapManager.js / Rain_ClearManage.js / Rain_CableAttachManage.js） ---------- */
.o-btn-locked {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.o-mode-btn--select.is-active {
  background: #17a2b8;
  color: white;
  font-weight: bold;
}

.o-mode-btn--draw.is-active {
  background: #28a745;
  color: white;
  font-weight: bold;
}

/* ---------- 套繪範圍繪製按鈕狀態機（Sewer_UserCaseApplyManage.js）
   比照 o-btn-accent 模式覆蓋 :hover/:focus/:disabled（Bootstrap .btn-* 狀態選擇器是兩層 specificity） ---------- */
.o-btn-draw-ready,
.o-btn-draw-ready:hover,
.o-btn-draw-ready:focus,
.o-btn-draw-ready:disabled {
  background-color: #007bff;
  cursor: pointer;
}

.o-btn-draw-busy,
.o-btn-draw-busy:hover,
.o-btn-draw-busy:focus,
.o-btn-draw-busy:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.o-btn-draw-finish-active,
.o-btn-draw-finish-active:hover,
.o-btn-draw-finish-active:focus,
.o-btn-draw-finish-active:disabled {
  background-color: orange;
  border-color: orange;
  cursor: pointer;
}

.o-btn-draw-finish-done,
.o-btn-draw-finish-done:hover,
.o-btn-draw-finish-done:focus,
.o-btn-draw-finish-done:disabled {
  background-color: #007bff;
  border-color: #007bff;
  cursor: not-allowed;
}

.u-opacity-0,
.u-opacity-0:disabled {
  opacity: 0;
}

/* ---------- 選單開合與釘選（jmenu.js；250px 為 menuBoxStatus.width 常數） ---------- */
.js-menu.is-menu-open {
  left: 0;
}

.js-body.is-menu-pinned {
  left: 250px;
  width: calc(100% - 250px);
}

/* ---------- RWD 語意顯示 class（純 CSS 控制）----------
   斷點與 _variables.scss 的 $bp-sm(768) / $bp-md(992) 一致；本檔不 import 變數檔，
   若調整斷點需同步修改。三段行為：<768 只顯示 mobile-only、768–992 兩者皆藏、>=992 只顯示 desktop-only。
   元素的「顯示」狀態由其自身樣式決定，本 class 只負責在對應區間隱藏（不加 !important）。 */
@media screen and (max-width: 767.98px) {
  .is-desktop-only {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .is-desktop-only,
  .is-mobile-only {
    display: none;
  }
}
@media screen and (min-width: 992px) {
  .is-mobile-only {
    display: none;
  }
}

/* ---------- 自設設施 CSP 相容屬性表格 ---------- */
.o-facility-geoai-hints {
  display: none;
  border: 1px dashed #718096;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
}

.o-facility-geoai-hints:has(.js-facility-geoai-hints:not(:empty)) {
  display: block;
}

/* GeoAI 疑義提醒：藍字為提醒項目（不阻擋送出）、紅字為必須修正項目（阻擋送出），由 drainageUserFacility.js 的 renderGeoAiHints 切換 */
.o-facility-geoai-hints__item--notice {
  color: #0b5ed7;
}

.o-facility-geoai-hints__item--blocking {
  color: #c62828;
}

.o-facility-attribute-table__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.o-facility-attribute-table__status {
  color: #5d6874;
  font-size: 0.875rem;
  white-space: nowrap;
}

.o-facility-attribute-table__status.is-error {
  color: #c62828;
}

.o-facility-attribute-table__scroll {
  width: 100%;
  max-height: 210px;
  overflow: auto;
  border: 1px solid #d8dde3;
}

.o-facility-attribute-table {
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
  background: #fff;
}

.o-facility-attribute-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  min-width: 130px;
  background: #eef2f6;
  white-space: nowrap;
}

.o-facility-attribute-table td {
  min-width: 130px;
  vertical-align: middle;
}

.o-facility-attribute-table tbody tr {
  cursor: pointer;
}

.o-facility-attribute-table tbody tr.is-saving {
  opacity: 0.65;
}

.o-facility-attribute-table__control {
  min-width: 120px;
}

.o-facility-attribute-table__readonly {
  white-space: pre-wrap;
}

.o-facility-attribute-table__empty {
  padding: 20px;
  color: #6c757d;
  text-align: center;
}

.u-hidden.u-hidden {
  display: none;
}

#floodingEvent-report {
  container-type: inline-size;
}

#floodingEvent-photo-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

#floodingEvent-photo-group .flooding-event-photo-slot {
  min-width: 0;
  container-type: inline-size;
}

@container (max-width: 475px) {
  #floodingEvent-photo-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container (max-width: 260px) {
  .flooding-event-photo-action-text {
    display: none;
  }
}

/*# sourceMappingURL=applyTable.css.map */
