/* 网站发帖 (account-post-new.js): the form for every 同城信息 kind. Phone first (375 px), two columns from 720 px. */
.pn-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 14px 0; }
.pn-kinds .btn { justify-content: center; min-height: 48px; display: inline-flex; align-items: center; text-align: center; line-height: 1.25; padding-left: 8px; padding-right: 8px; }
.pn-form h1 { margin-top: 4px; }
.pn-sec { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.pn-sec h2 { margin-bottom: 8px; }
.pn-field { margin: 10px 0; }
.pn-field[hidden] { display: none; }
.pn-field > label, .pn-multi legend { display: block; font-weight: 600; margin-bottom: 4px; }
.pn-field input:not([type=checkbox]), .pn-field select, .pn-field textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; min-height: 44px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.pn-field textarea { min-height: 140px; resize: vertical; }
.pn-field select[multiple] { min-height: 150px; padding: 6px; }
.pn-field input:focus, .pn-field select:focus, .pn-field textarea:focus { outline: 2px solid var(--brand, #1F6F5C); outline-offset: 1px; }
.pn-field [aria-invalid="true"] { border-color: var(--danger, #c0392b); } /* 新用户走查第 8 条: the first field not filled in */
.pn-miss { margin: 4px 0 0; }
.pn-bool label { display: flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 500; }
.pn-bool input, .pn-checks input { width: 20px; height: 20px; }
.pn-multi { border: 0; padding: 0; }
.pn-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pn-checks label { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.pn-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.req { color: #b42318; }
.pn-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.pn-photos:empty { display: none; }
.pn-photo { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f2f4f4; }
.pn-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pn-photo.busy img { opacity: .45; }
.pn-cover, .pn-wait { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: .78rem; padding: 2px 7px; border-radius: 8px; }
.pn-del { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.pn-add { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; }
.pn-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.pn-done .notice { margin-top: 12px; }
@media (min-width: 720px) {
  .pn-row { grid-template-columns: 1fr 1fr; }
  .pn-photos { grid-template-columns: repeat(5, 1fr); }
  .pn-form #pn-send { max-width: 320px; }
}
.pn-ai { background: #f6faf8; border: 1px solid #d6e9e0; border-radius: 12px; padding: 12px; margin: 10px 0 14px; }
.pn-ai label { display: block; font-weight: 600; margin-bottom: 6px; }
.pn-ai textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.pn-ai-out { display: grid; gap: 8px; }
.pn-ai-opt { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.pn-ai-opt p { margin: 4px 0 8px; white-space: pre-line; }
