/* 台帳屋 権限チェッカー：kintone本体の見た目に干渉しないよう、すべて dcy-pc- で始まるクラス名を使う */
.dcy-pc-btn {
  height: 48px;
  padding: 0 16px;
  margin-left: 8px;
  border: 1px solid #e3e7e8;
  border-radius: 0;
  vertical-align: top;
  font-family: inherit;
  background: #f7f9fa;
  color: #1f77b4;
  font-size: 14px;
  cursor: pointer;
}
.dcy-pc-btn:hover { background: #eef3f6; }
.dcy-pc-btn[disabled] { color: #a8a8a8; cursor: not-allowed; }
.dcy-pc-btn:focus-visible, .dcy-pc-close:focus-visible, .dcy-pc-select:focus-visible { outline: 2px solid #1f77b4; outline-offset: 1px; }
.dcy-pc-primary { background: #1f77b4; border-color: #1f77b4; color: #fff; }
.dcy-pc-primary[disabled] { background: #a8cbe8; border-color: #a8cbe8; color: #fff; }
.dcy-pc-primary:hover { background: #18609a; }

.dcy-pc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
.dcy-pc-dialog {
  width: 100%;
  max-width: 1100px;
  padding: 0 0 24px;
  border-radius: 0;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.dcy-pc-dialog > :not(.dcy-pc-head) { margin-left: 24px; margin-right: 24px; }
.dcy-pc-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-left: 24px; border-bottom: 1px solid #e3e7e8; }
.dcy-pc-head h2 { margin: 0; padding: 0; border: none; font-size: 20px; font-weight: bold; line-height: 1.4; color: #333; }
.dcy-pc-close { width: 64px; height: 64px; border: none; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: #a8a8a8; }
.dcy-pc-close:hover { color: #333; }
.dcy-pc-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; margin-bottom: 8px; }
.dcy-pc-controls .dcy-pc-btn { margin-left: 0; }
.dcy-pc-select { height: 48px; min-width: 320px; max-width: 100%; padding: 0 12px; border: 1px solid #e3e7e8; border-radius: 0; background: #fff; color: #333; font-size: 14px; font-family: inherit; }
.dcy-pc-status { min-height: 20px; margin-top: 8px; margin-bottom: 8px; color: #666; font-size: 14px; }
.dcy-pc-result h3 { margin: 24px 0 8px; padding: 0; border: none; font-size: 16px; font-weight: bold; line-height: 1.4; color: #333; }
.dcy-pc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dcy-pc-table th,
.dcy-pc-table td { padding: 6px 8px; border: 1px solid #e3e7e8; text-align: left; vertical-align: top; }
.dcy-pc-table th { background: #f5f5f5; font-weight: bold; white-space: nowrap; }
.dcy-pc-yes { color: #1a7f37; text-align: center !important; }
.dcy-pc-no { color: #b0b0b0; text-align: center !important; }
.dcy-pc-empty { color: #888; text-align: center !important; }
.dcy-pc-more { margin: 24px 0 0; padding-top: 12px; border-top: 1px solid #e3e7e8; color: #666; font-size: 13px; }
.dcy-pc-more a { color: #1f77b4; }
