/* 補充樣式（1.2.0）：文字完整顯示、輸入框自動長高、客戶資訊可點選修改 */
textarea.ag { min-height: 6.5em; line-height: 1.55; overflow-y: hidden; resize: none; }
.dialog textarea.ag { min-height: 9em; }
.dialog [data-sum].ag { min-height: 4.8em; }
.dialog { max-height: 88vh; overflow-y: auto; }

.pf .hv, .pf .im, .pf .sumv, .dv {
  white-space: pre-wrap !important; overflow: visible !important; text-overflow: clip !important;
  -webkit-line-clamp: unset !important; line-clamp: unset !important; max-height: none !important;
  display: block !important; overflow-wrap: anywhere; word-break: break-word;
}
.pf .item { align-items: flex-start !important; }
.pf .grow { min-width: 0; }

.pf button.he, .pf button.sum {
  font: inherit; color: inherit; background: none; border: 0; margin: 0; width: 100%;
  text-align: left; cursor: pointer; -webkit-tap-highlight-color: rgba(14,100,100,.12);
}
.pf button.he { display: flex !important; align-items: flex-start !important; gap: .9em; padding: .55em 0; border-radius: 8px; }
.pf button.he .hd { flex: 0 0 auto; }
.pf button.he .hv { flex: 1 1 auto; min-width: 0; }
.pf button.he:active, .pf button.sum:active { background: rgba(14,100,100,.08); }
.pf button.sum { display: block; background: rgba(14,100,100,.07); border-radius: 10px; padding: .6em .8em; margin: .35em 0 .4em; }
.pf .sumk { display: block; font-size: .78em; font-weight: 700; color: #0E6464; margin-bottom: .2em; }
.pf .nb { display: inline-block; font-size: .72em; color: #0E6464; border: 1px solid rgba(14,100,100,.4); border-radius: 999px; padding: 0 .55em; margin-left: .5em; vertical-align: .1em; }
.pf .hist + .hist { margin-top: .4em; }
