/* あそび箱：権利情報の専門ページ・簡易表示用スタイル（site.css / directory.css の変数を共用）
   状態表示は色だけに依存せず、状態名の文字を必ず併記する（設計 G11 §5）。 */
.rstate {
  display: inline-block; font-size: 11.5px; font-weight: 800; line-height: 1.5;
  border: 1.5px solid; border-radius: 999px; padding: 0 9px; white-space: nowrap;
}
.rstate-allowed { background: #dcf2e0; color: #175c2a; border-color: #7fb98a; }
.rstate-conditional { background: #fdf0c3; color: #7a5200; border-color: #d9a92c; }
.rstate-prohibited { background: #fbdcd6; color: #8c2313; border-color: #e0785f; }
.rstate-unconfirmed { background: #e9e9e9; color: #555555; border-color: #b5b5b5; }
.rstate-inquiry_required { background: #d9e8fb; color: #17457a; border-color: #7ba7dd; }
.rdate { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 3px; }
.rcond { display: block; font-size: 11.5px; line-height: 1.55; margin-top: 3px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 4px; }
.rights-table { width: 100%; min-width: 1020px; border-collapse: collapse; font-size: 12.5px; }
.rights-table th, .rights-table td {
  border: 1.5px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top;
}
.rights-table thead th { background: var(--bg); font-weight: 800; white-space: nowrap; }
.rights-table tbody th { font-weight: 800; min-width: 9em; }
.rights-table tbody tr.is-hidden { display: none; }
.rights-table .cond-cell { min-width: 16em; line-height: 1.6; }
.rights-table .ev-cell { min-width: 11em; }
.rights-table .detail-cell { min-width: 4.5em; white-space: nowrap; }
.ev-list { list-style: none; margin: 0; padding: 0; font-size: 11.5px; line-height: 1.55; }
.ev-list li { margin: 2px 0; }
.rights-filter fieldset {
  border: 1.5px solid var(--line); border-radius: 12px;
  margin: 10px 0; padding: 6px 12px 10px;
}
.rights-filter legend { font-weight: 800; font-size: 13.5px; padding: 0 6px; }
.rights-filter label { display: inline-block; margin: 2px 12px 2px 0; font-size: 14px; font-weight: 700; }
.rights-filter-count { font-weight: 800; margin-bottom: 0; }
#filter-reset {
  font: inherit; font-size: 13.5px; font-weight: 800;
  background: var(--bg-accent); color: var(--ink);
  border: 2px solid var(--line); border-radius: 999px;
  padding: 4px 14px; cursor: pointer;
}
.cond-list li { margin: 8px 0; }
/* 個別ページの簡易表示 */
.rights-summary {
  border: 2.5px solid var(--line); border-radius: 12px; background: var(--bg);
  padding: 10px 14px; font-size: 14px; margin: 12px 0;
}
.rights-summary ul { list-style: none; margin: 0 0 8px; padding: 0; }
.rights-summary li { margin: 5px 0; }
.rights-summary .rights-note { font-size: 12.5px; color: var(--ink-soft); margin: 6px 0; }
.rights-summary p { margin: 6px 0; }
