/* Local-only candidate: shared contribution controls for cases and reviews. */
html[lang="zh-Hant"] body.quote-page .gp-community-controls {
  display: grid;
  grid-template-columns: minmax(210px, .68fr) minmax(300px, 1.3fr) minmax(128px, .42fr);
  gap: 10px;
  align-items: center;
}

html[lang="zh-Hant"] body.quote-page #project-cases .case-selector-row.gp-community-controls {
  grid-template-columns: minmax(210px, .68fr) minmax(300px, 1.3fr) minmax(128px, .42fr) !important;
}

/* Both contribution rows share one desktop measure, independent of their
   differently-sized section wrappers. */
html[lang="zh-Hant"] body.quote-page #project-cases .case-selector-row.gp-community-controls,
html[lang="zh-Hant"] body.quote-page #customer-reviews .gp-review-controls.gp-community-controls {
  width: min(1194px, 100%);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

html[lang="zh-Hant"] body.quote-page .gp-community-submit-trigger {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #2f6b48;
  border-radius: 0;
  background: #357a53;
  color: #fff;
  font: 700 16px/1.4 inherit;
  cursor: pointer;
}

html[lang="zh-Hant"] body.quote-page .gp-community-submit-trigger:hover,
html[lang="zh-Hant"] body.quote-page .gp-community-submit-trigger:focus-visible {
  border-color: #275d3e;
  background: #2f6b48;
}

html[lang="zh-Hant"] body.quote-page .gp-community-submission-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(1080px, calc(100% - 72px));
  max-width: 1080px;
  margin: 14px auto 0;
  padding: 22px;
  border: 1px solid #cfc1aa;
  background: #fffaf1;
  box-sizing: border-box;
}

html[lang="zh-Hant"] body.quote-page .gp-community-submission-panel[hidden] { display: none; }

html[lang="zh-Hant"] body.quote-page .gp-community-review-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid #357a53;
  background: #edf5ef;
  color: #244c34;
  font-size: 14px;
  line-height: 1.65;
}

html[lang="zh-Hant"] body.quote-page .gp-community-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html[lang="zh-Hant"] body.quote-page .gp-community-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

html[lang="zh-Hant"] body.quote-page .gp-community-actions button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #2f6b48;
  border-radius: 0;
  background: #357a53;
  color: #fff;
  font: 700 15px/1.35 inherit;
  cursor: pointer;
}

html[lang="zh-Hant"] body.quote-page .gp-community-actions [data-community-close] {
  border-color: #b8aa94;
  background: #fff;
  color: #41392f;
}

html[lang="zh-Hant"] body.quote-page .gp-community-status {
  margin: 0;
  color: #7b3228;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  html[lang="zh-Hant"] body.quote-page .gp-community-controls { grid-template-columns: 1fr; }
  html[lang="zh-Hant"] body.quote-page #project-cases .case-selector-row.gp-community-controls { grid-template-columns: 1fr !important; }
  html[lang="zh-Hant"] body.quote-page .gp-community-submission-panel {
    width: 100%;
    max-width: none;
    padding: 16px;
  }
  html[lang="zh-Hant"] body.quote-page .gp-community-actions { align-items: stretch; }
  html[lang="zh-Hant"] body.quote-page .gp-community-actions button { width: 100%; }
}
