.project-new-review-panel {
  min-width: 0;
  width: 100%;
}

#projectNewReviewHost { min-width: 0; }

.project-new-review-shell {
  color: #24352d;
  font-size: .86rem;
}

.project-new-review-heading,
.project-new-review-list-head,
.project-new-review-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.project-new-review-heading { margin: 0 0 18px; }
.project-new-review-heading .eyebrow,
.project-new-review-detail-head .eyebrow {
  color: #6c7f70;
  letter-spacing: .1em;
  font-size: .66rem;
  font-weight: 800;
  margin: 0 0 7px;
}
.project-new-review-heading h3,
.project-new-review-detail-head h3 {
  margin: 0 0 4px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.project-new-review-heading h3 { font-size: 1.42rem; }
.project-new-review-heading p:not(.eyebrow) { margin: 0; color: #617268; }
.project-new-review-heading > button { white-space: nowrap; }

.project-new-review-source-note {
  margin: 0 0 16px;
  padding: 10px 13px;
  border-left: 3px solid #6d9a7c;
  border-radius: 0 8px 8px 0;
  background: #edf5ee;
  color: #355744;
  line-height: 1.55;
}

.project-new-review-feedback {
  padding: 10px 12px;
  margin: 0 0 14px;
  border-radius: 8px;
  line-height: 1.5;
}
.project-new-review-feedback.is-success { background: #e5f4ea; color: #245837; }
.project-new-review-feedback.is-warning { background: #fff0c8; color: #65430d; }
.project-new-review-feedback.is-error { background: #fdebe8; color: #893b31; }
.project-new-review-feedback.is-info { background: #e8f0f3; color: #355a68; }

.project-new-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .9fr);
  align-items: start;
  gap: 16px;
}

.project-new-review-list,
.project-new-review-detail {
  min-width: 0;
  border: 1px solid #dce4dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(33, 53, 42, .04);
}

.project-new-review-list { overflow: hidden; }
.project-new-review-list-head {
  align-items: center;
  padding: 14px 15px;
  border-bottom: 1px solid #e4eae4;
}
.project-new-review-list-head strong { font-size: .95rem; }
.project-new-review-list-head strong span {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  border-radius: 20px;
  background: #e5f0e8;
  color: #385c43;
  font-size: .72rem;
}
.project-new-review-list-head small { color: #60746a; }

.project-new-review-filters { display: flex; gap: 5px; }
.project-new-review-filters button {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 6px 9px;
  background: transparent;
  color: #5d7062;
  font: inherit;
  font-size: .74rem;
  cursor: pointer;
}
.project-new-review-filters button:hover,
.project-new-review-filters button[aria-pressed="true"] {
  border-color: #b4cfba;
  background: #edf5ef;
  color: #265637;
}

.project-new-review-columns,
.project-new-review-row {
  display: grid;
  grid-template-columns: minmax(65px, .7fr) minmax(110px, 1.8fr) minmax(58px, .75fr) minmax(85px, 1fr) minmax(84px, .9fr);
  align-items: center;
  gap: 10px;
}
.project-new-review-columns {
  padding: 10px 14px;
  background: #f7f9f6;
  border-bottom: 1px solid #e4eae4;
  color: #687c6e;
  font-size: .68rem;
  font-weight: 800;
}
.project-new-review-row {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid #edf0ec;
  background: #fff;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.project-new-review-row:last-child { border-bottom: 0; }
.project-new-review-row:hover { background: #f5faf5; }
.project-new-review-row.is-selected { background: #ecf5ef; box-shadow: inset 3px 0 0 #3e7a51; }
.project-new-review-row > * { min-width: 0; overflow-wrap: anywhere; }
.project-new-review-row strong { font-size: .81rem; }
.project-new-review-badge {
  display: inline-block;
  max-width: 100%;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.project-new-review-badge.is-success { background: #ddf2e2; color: #24623b; }
.project-new-review-badge.is-warning { background: #fff0c2; color: #795011; }
.project-new-review-badge.is-muted { background: #eceeea; color: #5b6860; }

.project-new-review-detail { padding: 18px; }
.project-new-review-detail-head { margin-bottom: 16px; }
.project-new-review-detail-head h3 { font-size: 1.1rem; }
.project-new-review-detail-head .project-new-review-badge { flex: none; }
.project-new-review-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: #e6ebe5;
  border: 1px solid #e6ebe5;
  border-radius: 8px;
  overflow: hidden;
}
.project-new-review-facts div { min-width: 0; padding: 9px 10px; background: #fff; }
.project-new-review-facts dt {
  margin-bottom: 3px;
  color: #738076;
  font-size: .67rem;
  font-weight: 700;
}
.project-new-review-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.project-new-review-personnel-note { color: #6c766d; font-size: .72rem; line-height: 1.5; }
.project-new-review-checks { margin-top: 15px; }
.project-new-review-checks h4 { margin: 0 0 9px; font-size: .88rem; }
.project-new-review-checks > p:last-child { margin: 9px 0 0; color: #7b714e; font-size: .7rem; line-height: 1.5; }
.project-new-review-check-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.project-new-review-check-list li,
.project-new-review-check-warning,
.project-new-review-check-ok {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  line-height: 1.5;
}
.project-new-review-check-list .is-warning,
.project-new-review-check-warning { background: #fff1ca; color: #684812; }
.project-new-review-check-list .is-ok,
.project-new-review-check-ok { background: #e8f4e8; color: #2f6140; }
.project-new-review-result { margin: 0 0 14px; padding: 13px; border-radius: 8px; }
.project-new-review-result strong { font-size: .88rem; }
.project-new-review-result p { margin: 5px 0 0; line-height: 1.5; }
.project-new-review-result button { margin-top: 10px; }
.project-new-review-result.is-success { background: #e6f5e9; color: #285f3b; }
.project-new-review-result.is-warning { background: #fff0c8; color: #6d4a13; }
.project-new-review-result.is-muted { background: #f0f2ee; color: #4f6154; }
.project-new-review-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.project-new-review-actions button:disabled { cursor: not-allowed; opacity: .5; }
.project-new-review-mobile-note { display: none; }
body[data-interface-surface="mobile-app"] .project-new-review-actions { display: none !important; }
body[data-interface-surface="mobile-app"] .project-new-review-mobile-note { display: block; color: #6d4a13; background: #fff2ce; border-radius: 7px; padding: 10px 12px; }
.project-new-review-empty { margin: 0; padding: 18px; color: #6e7b70; line-height: 1.55; }
.project-new-review-detail > .project-new-review-empty { padding: 4px 0; }
.project-new-review-shell button:focus-visible { outline: 2px solid #255f39; outline-offset: 2px; }

@media (max-width: 1160px) {
  .project-new-review-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .project-new-review-heading { align-items: stretch; }
  .project-new-review-heading h3 { font-size: 1.15rem; }
  .project-new-review-heading > button { align-self: flex-start; }
  .project-new-review-columns { display: none; }
  .project-new-review-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 13px 14px;
  }
  .project-new-review-row > *::before {
    content: attr(data-label) "　";
    color: #738278;
    font-size: .66rem;
    font-weight: 650;
  }
  .project-new-review-row strong { grid-column: 1 / -1; grid-row: 1; font-size: .88rem; }
  .project-new-review-row strong::before { content: none; }
  .project-new-review-row .project-new-review-badge { grid-column: 2; grid-row: 2; }
  .project-new-review-row .project-new-review-badge::before { content: none; }
  .project-new-review-row span[data-label="部門"] { grid-column: 1; grid-row: 3; }
  .project-new-review-row span[data-label="Schedule 狀態"] { grid-column: 2; grid-row: 3; }
  .project-new-review-detail { padding: 15px; }
  .project-new-review-actions { display: none !important; }
  .project-new-review-mobile-note { display: block; color: #6d4a13; background: #fff2ce; border-radius: 7px; padding: 10px 12px; }
}

@media (max-width: 420px) {
  .project-new-review-heading { flex-direction: column; gap: 10px; }
  .project-new-review-facts { grid-template-columns: minmax(0, 1fr); }
}
