/* 已提交頁：在共用 collect/style.css 之上補版面 */
.submitted-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding-top: 2px;
}

.submitted-head-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.submitted-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #4a3020;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: left;
  border: none;
  padding: 0;
}

.submitted-head .back-link {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid #a69076;
  border-radius: 4px;
  color: #4a3020;
  background: #f5ebe0;
}

.submitted-head .back-link:hover {
  background: #ebe0d0;
}

.submitted-head #refreshBtn {
  flex-shrink: 0;
  margin-top: 2px;
}

.submitted-sub {
  margin: 0 0 14px;
}

.submitted-list .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed #c9b896;
  font-size: 14px;
  color: #3d3228;
}

.submitted-list .row:first-child {
  border-top: none;
}

.submitted-list .name,
.submitted-list .name-spouse {
  font-weight: 700;
  color: #4a3020;
}

/* 譜例：已故者僅顯示姓名，外側方框標示 */
.submitted-list .name-deceased {
  display: inline-block;
  vertical-align: baseline;
  line-height: 1.35;
}
.submitted-list .name-deceased-inner {
  display: inline-block;
  border: 2px solid #4a3020;
  padding: 3px 10px;
  border-radius: 2px;
  box-sizing: border-box;
  font-weight: 700;
  color: #2c2416;
  background: rgba(255, 252, 245, 0.6);
}

.submitted-list .empty {
  color: #6b5c4a;
  padding: 12px 0;
  font-size: 14px;
}

.submitted-list .group {
  margin-top: 18px;
}

.submitted-list .group:first-child {
  margin-top: 0;
}
