/* View-specific layout and small reusable utilities. */
.flush { margin: 0; }
.prewrap { white-space: pre-wrap; }
.align-center { align-items: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form input.visually-hidden { width: 1px; height: 1px; min-width: 0; }
.listing-summary { gap: 6px; }
.modal-actions { justify-content: flex-end; margin-top: 18px; gap: 8px; }
.modal-form { display: grid; gap: 14px; }
.modal-form label { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  border: 1px solid #bdd3e1;
  border-radius: 7px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  outline: none;
}
.modal-form textarea { resize: vertical; line-height: 1.6; }
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(8, 118, 187, .12); }
.form-error { min-height: 20px; margin: -8px 0 0; color: var(--red); font-size: 12px; }
.confirm-text { margin: 0; white-space: pre-wrap; }
.filter-error { margin-bottom: 12px; }
.filter-help { margin-top: 6px; }
.detail-title { margin-bottom: 6px; }
.detail-condition { gap: 16px; align-items: baseline; margin: 14px 0; }
.detail-actions { margin-top: 18px; }
.page-heading-row { margin-bottom: 16px; }
.compact-card { padding: 14px 16px; }
.grow-form { flex: 1; }
.search-input, .response-input, .admin-text-input { flex: 1; min-width: 150px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font: inherit; }
.content-list { margin-top: 14px; }
.want-card { display: block; text-decoration: none; color: inherit; }
.want-card:hover { text-decoration: none; }
.item-heading { font-size: 16px; font-weight: 600; }
.item-meta { margin: 6px 0; }
.item-description { margin: 0 0 8px; }
.detail-meta-row { margin-top: 12px; }
.detail-description { margin: 14px 0 0; }
.heading-count { font-size: 13px; font-weight: 400; }
.response-form { margin-top: 14px; }
.response-input { min-width: 160px; padding: 10px 12px; border-radius: 10px; }
.profile-summary { gap: 18px; }
.profile-meta { margin: 4px 0 0; }
.profile-bio { margin: 8px 0 0; }
.section-title { margin: 20px 0 14px; }
.polish-help { margin: -8px 0 14px; }
.verification-required { max-width: 560px; margin: 40px auto; text-align: center; }
.centered-actions { justify-content: center; }
.compact-meta { margin: 3px 0 0; }
.single-column-form { grid-template-columns: 1fr; }
.profile-name-row { align-items: center; }
.profile-name-row h2 { margin: 0; }
.profile-joined { margin: 3px 0 0; }
.profile-unit { margin: 2px 0 0; }
.verification-icon { font-size: 24px; }
.verification-copy { margin: 2px 0 0; }
.avatar-editor { gap: 16px; align-items: center; }
.avatar-help { margin: 6px 0 0; }
.security-form { grid-template-columns: 1fr; max-width: 420px; }
.security-form .mail-captcha input { flex-basis: 100%; max-width: none; }
.listing-search { margin-bottom: 18px; }
.listing-search label { display: block; margin-bottom: 8px; font-weight: 600; }
.listing-search .search-input { flex: 1; min-width: 0; }
.contact-cleanup { gap: 12px; flex-wrap: wrap; }
.contact-cleanup p { margin: 0; }
.contact-cleanup input, .contact-select input { width: 18px; height: 18px; accent-color: #0875bf; }
.contact-select { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13px; }
.email-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.email-code-row .btn { white-space: nowrap; }
@media (max-width: 480px) { .email-code-row { grid-template-columns: 1fr; } }
.verification-status { margin-bottom: 18px; }
.verification-card { margin-top: 16px; }
.student-card-image { max-width: 320px; border-radius: 10px; border: 1px solid var(--line); }
.is-busy { pointer-events: none; opacity: .7; }
.messages-heading { margin: 0; }
.message-toolbar, .message-meta { flex-wrap: wrap; }
.message-toolbar > .row { flex-wrap: wrap; }
.message-unread { background: #f3f9fd; border-radius: 9px; padding-left: 10px; }
.admin-card-plain { padding: 0; }
.check-row { align-items: center; }
.check-row input { width: auto; }
.cleanup-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; margin-bottom: 12px; }
.cleanup-toolbar p { margin: 2px 0 0; }
.cleanup-toolbar .check-row { font-size: 13px; color: var(--ink-2); }
.select-cell { width: 52px; text-align: center; }
.select-cell input { width: 16px; height: 16px; accent-color: var(--orange); }
.expandable-text { min-width: 0; max-width: 100%; }
.clamp-text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.expand-text-button { display: block; margin-top: 3px; color: var(--orange-dark); }
.expandable-text.expanded .expandable-copy {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.report-detail { margin-top: 4px; }
.report-review-table .reporter-cell { min-width: 120px; }
.report-review-table .report-target-cell { min-width: 105px; }
.report-review-table .report-reason-cell { min-width: 300px; }
.report-review-table .report-action-cell { min-width: 180px; }
.report-review-table .report-action-cell .row { flex-wrap: wrap; }
.report-history-card { display: grid; gap: 12px; }
.report-history-head { gap: 12px; align-items: flex-start; }
.report-history-head .tag { margin-left: 8px; }
.report-history-copy { display: grid; gap: 4px; min-width: 0; }
.report-history-copy > strong { font-size: 13px; color: var(--muted); }
.report-history-actions { padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 680px) {
  .cleanup-toolbar { align-items: flex-start; flex-direction: column; }
  .cleanup-toolbar > .row { flex-wrap: wrap; }
}
.announcement-field { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.announcement-content-input,
.announcement-color-select {
  width: 100%;
  border: 1px solid #bdd3e1;
  border-radius: 6px;
  background-color: #fff;
  color: var(--ink-2);
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.announcement-content-input { min-height: 112px; padding: 10px 11px; line-height: 1.6; resize: vertical; }
.announcement-color-select {
  max-width: 240px;
  min-height: 40px;
  padding: 8px 36px 8px 11px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2338566b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}
.announcement-content-input:hover,
.announcement-color-select:hover { border-color: #7eafca; }
.announcement-content-input:focus,
.announcement-color-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(8, 118, 187, .12);
}
.section-rule { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
.form-row-end { align-items: flex-end; flex-wrap: wrap; }
.backup-result { margin-left: 10px; }
.verification-top { align-items: flex-start; }
.verification-photo-wrap { text-align: center; }
.verification-photo { width: 150px; height: 100px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); background: #eee; }
.verification-photo-empty { width: 150px; height: 100px; border-radius: 9px; border: 1px dashed var(--line); display: grid; place-items: center; background: #f8fbfd; }
.verification-photo-note { margin: 4px 0 0; }
.verification-actions { margin-top: 14px; }
.reject-reason { margin: 6px 0 0; color: var(--red); }
.table-primary-cell { align-items: center; flex-wrap: nowrap; }
.table-image { width: 32px; height: 42px; object-fit: cover; border-radius: 4px; }
.admin-field-fixed { flex: 0 0 200px; }
.admin-field-grow { flex: 1; min-width: 150px; }
.admin-label { display: block; margin-bottom: 4px; }
.admin-input { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font: inherit; }
.tag-roomy { padding: 6px 12px; }
.remove-inline { border: 0; background: transparent; color: var(--red); cursor: pointer; padding: 0 0 0 6px; }
.unit-form { align-items: flex-end; flex-wrap: wrap; }
.admin-help { margin: 10px 0 0; }
.unit-campus { margin-bottom: 12px; }
.unit-college { margin: 5px 0 5px 18px; }
.unit-department { margin: 4px 0 4px 20px; }
.unit-major { margin: 3px 0 0 20px; }
.unit-empty { margin-left: 20px; }
.unit-empty-college { margin-left: 18px; }
.word-list { margin-top: 14px; }
.table-scroll { padding: 0; overflow-x: auto; }
.nowrap { white-space: nowrap; }
.empty-table { padding: 16px; }
.comment-actions { display: flex; gap: 12px; margin-top: 5px; }
.danger-text { color: var(--red); }

/* 发布质量提示、联系记录和本地分享卡片。 */
.publish-quality { padding: 12px 14px; border-left: 3px solid #88c9ed; background: #f2faff; line-height: 1.8; }
.my-listing-head-actions { flex-wrap: wrap; justify-content: flex-end; }
.batch-shared h2, .batch-picker h2 { margin: 0 0 12px; }
.batch-picker { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; }
.batch-picker p { margin: 0; }
.batch-picker .btn { flex: none; }
.batch-items { display: grid; gap: 14px; }
.batch-item { min-width: 0; }
.batch-item-head { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 14px; }
.batch-item-head img { width: 88px; height: 112px; flex: none; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #f3f8fc; }
.batch-item-head > div { min-width: 0; flex: 1; }
.batch-item-head h3 { margin: 2px 0 4px; }
.batch-item-head p { overflow-wrap: anywhere; margin: 0 0 9px; }
.batch-item-state { display: inline-block; font-size: 13px; color: var(--ink-2); }
.batch-item.is-published { background: #f5fbf8; }
.batch-item.is-published .batch-item-state { color: #08764d; font-weight: 600; }
.batch-item-form { margin-bottom: 12px; }
.batch-extra { border-top: 1px solid var(--line); padding-top: 12px; }
.batch-extra summary { color: var(--ink-2); cursor: pointer; font-weight: 600; }
.batch-extra .form { margin-top: 14px; }
.batch-submit-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.batch-submit-bar p { margin: 4px 0 0; }
.batch-submit-bar .btn { flex: none; }
.batch-submit-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; max-width: 520px; }
.batch-submit-actions p { flex-basis: 100%; text-align: right; }
@media (max-width: 600px) {
  .my-listing-head-actions { justify-content: flex-start; width: 100%; }
  .my-listing-head-actions .btn { flex: 1 1 auto; text-align: center; }
  .batch-picker, .batch-submit-bar { align-items: stretch; flex-direction: column; }
  .batch-picker .btn, .batch-submit-bar .btn { width: 100%; }
  .batch-submit-actions { width: 100%; }
  .batch-submit-actions p { text-align: left; }
  .batch-item-head { gap: 10px; }
  .batch-item-head img { width: 72px; height: 94px; }
  .batch-item-head .batch-remove { flex: none; }
}
.listing-options { flex-wrap: wrap; }
.listing-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.switch-option { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: #f9fcff; font-weight: 400; }
.switch-copy { display: grid; gap: 4px; min-width: 0; }
.switch-copy strong { color: var(--ink); font-size: 15px; }
.switch-copy small { color: var(--muted); font-size: 12px; line-height: 1.55; font-weight: 400; }
.switch-control, .form label.switch-control { position: relative; display: inline-flex; flex-direction: row; flex: 0 0 58px; width: 58px; height: 34px; padding: 0; cursor: pointer; }
.switch-control input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { display: block; width: 100%; height: 100%; border: 1px solid #a8bfd0; border-radius: 999px; background: #fff; box-shadow: inset 0 1px 2px rgba(16, 53, 83, .08); transition: background .18s, border-color .18s; }
.switch-track::after { content: ''; display: block; width: 26px; height: 26px; margin: 3px; border-radius: 50%; background: #fff; border: 1px solid #a8bfd0; box-shadow: 0 1px 3px rgba(12, 45, 73, .2); transition: transform .18s, border-color .18s; }
.switch-control input:checked + .switch-track { background: #0879d5; border-color: #0879d5; }
.switch-control input:checked + .switch-track::after { transform: translateX(24px); border-color: #fff; }
.switch-control input:focus-visible + .switch-track { outline: 3px solid #78bfff; outline-offset: 3px; }
.contact-record h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.contact-record > .row { flex-wrap: wrap; gap: 10px; }
.contact-values { padding: 12px 16px; border-radius: 8px; background: #f2faff; }
.contact-values p { display: flex; gap: 16px; margin: 5px 0; overflow-wrap: anywhere; }
.contact-values strong { flex: 0 0 120px; font-weight: 500; }
.ops-section { margin-top: 14px; }
.mail-queue-card { width: 100%; }
.mail-queue-card .table-scroll { margin-top: 10px; }
.mail-cleanup { align-items: center; flex-wrap: wrap; margin: 12px 0; }
.mail-cleanup label { margin-right: auto; cursor: pointer; }
.mail-queue-card td .btn { margin: 2px; }
.admin-listings-scroll { overflow-x: auto; }
.admin-listings-scroll table { min-width: 780px; }
.admin-listing-swipe-hint { display: none; }
@media (max-width: 720px) { .admin-listing-swipe-hint { display: block; margin: -2px 0 8px; } }
.ops-section .table-scroll { margin-top: 10px; }
.duplicate-user { border-top: 1px solid var(--line); padding: 16px 0; }
.duplicate-user h3 { margin: 0 0 10px; font-size: 1.05rem; }
.duplicate-group { margin: 8px 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.duplicate-group summary { cursor: pointer; font-weight: 600; }
.duplicate-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; margin-top: 12px; }
.duplicate-item { display: flex; gap: 12px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.duplicate-item > div { min-width: 0; overflow-wrap: anywhere; }
.duplicate-item p { margin: 4px 0; }
.duplicate-cover { width: 72px; height: 92px; flex: none; object-fit: cover; border-radius: 6px; }
.duplicate-description { max-height: 3.5em; overflow: hidden; font-size: .9rem; }
.ops-mail-summary { flex-wrap: wrap; margin: 10px 0 14px; }
.ops-error { display: block; max-width: 300px; color: var(--red); overflow-wrap: anywhere; margin-bottom: 6px; }
.backup-notice { margin-bottom: 12px; border-left: 3px solid #88c9ed; background: #f2faff; }
.backup-notice p { margin: 5px 0 0; line-height: 1.7; }
.backup-pending { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.backup-name { min-width: 260px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.backup-actions { min-width: 250px; }
.backup-actions .btn { margin: 2px; }
.backup-cleanup { align-items: center; flex-wrap: wrap; margin: 14px 0; }
.backup-cleanup label { margin-right: auto; cursor: pointer; }
.email-notice-settings { margin-top: 8px; }
.email-notice-settings h3 { margin-bottom: 4px; }
.email-notice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.email-notice-grid .switch-option { min-height: 104px; }
.switch-group-tag { color: var(--orange-dark); font-size: 11px; font-weight: 600; }
.email-test-section { margin-top: 24px; }
.email-test-section h3 { margin-bottom: 12px; }
.email-test-section label { display: grid; gap: 5px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.email-test-section .admin-input, .email-test-section .btn { height: 44px; }
.email-save-actions { margin-top: 20px; }
.email-test-section .grow { max-width: 100%; }
.admin-category-select { appearance: none; width: 100%; min-height: 40px; padding: 8px 36px 8px 11px; border: 1px solid #bdd3e1; border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2338566b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink-2); font: inherit; cursor: pointer; }
.admin-category-select:hover { border-color: #7eafca; }
.admin-category-select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(8, 118, 187, .12); }
@media (max-width: 980px) and (min-width: 681px) {
  .email-notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .backup-pending { align-items: flex-start; flex-direction: column; }
  .backup-actions { min-width: 0; }
  .listing-options { grid-template-columns: 1fr; }
  .email-notice-grid { grid-template-columns: 1fr; }
}
.contact-values span { min-width: 0; }
.contact-actions { margin-top: 16px; flex-wrap: wrap; }
.share-actions { flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 10px; }
.share-qr-wrap { text-align: center; }
.share-qr-wrap img { max-width: 100%; height: auto; }
.share-card-preview { display: block; max-width: 100%; max-height: 65vh; width: auto; margin: 0 auto; border-radius: 8px; }
.publish-draft-note { margin: 2px 0 0; }
.docs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.docs-menu-toggle.btn { display: none; }
.docs-head #docs-refresh { flex: none; white-space: nowrap; }
.docs-layout { display: grid; grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr); align-items: stretch; gap: 18px; min-width: 0; height: max(320px, calc(100dvh - 300px)); }
@media (min-width: 761px) { main:has(.docs-layout) { margin-bottom: 0; } }
.docs-sidebar, .docs-content { min-width: 0; border: 1px solid var(--docs-border); border-radius: var(--radius); background: var(--docs-sidebar-bg); box-shadow: var(--shadow); }
.docs-sidebar { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 15px 11px; }
.docs-group, .docs-admin-group { border-bottom: 1px solid var(--docs-border); padding: 5px 0; }
.docs-group:last-child, .docs-admin-group:last-child { border-bottom: 0; }
.docs-group summary, .docs-admin-group > summary { cursor: pointer; color: var(--ink); font-weight: 700; padding: 7px 8px; }
.docs-admin-group > summary { color: var(--orange-dark); }
.docs-admin-group .docs-group { margin-left: 8px; }
.docs-links { display: grid; gap: 2px; margin: 5px 0 8px; }
.docs-links a { display: block; padding: 8px 11px; border-radius: 7px; color: var(--ink-2); overflow-wrap: anywhere; }
.docs-links a:hover, .docs-links a.active { background: var(--orange-soft); color: var(--orange-dark); text-decoration: none; }
.docs-links a.active { font-weight: 700; }
.docs-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(18px, 3vw, 34px); background: var(--docs-content-bg); overflow-wrap: anywhere; }
.docs-content h1 { padding-bottom: 12px; border-bottom: 1px solid var(--docs-border); }
.docs-content h2 { margin-top: 30px; padding-bottom: 7px; border-bottom: 1px solid var(--docs-border); }
.docs-content h3 { margin-top: 22px; }
.docs-content p, .docs-content li { line-height: 1.85; }
.docs-content ul, .docs-content ol { padding-left: 1.6em; margin: 8px 0 18px; }
.docs-content blockquote { margin: 14px 0; padding: 8px 15px; border-left: 3px solid var(--orange); background: var(--orange-soft); color: var(--ink-2); }
.docs-content pre { overflow: auto; padding: 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--docs-border); }
.docs-content code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.docs-content :not(pre) > code { padding: 1px 4px; border-radius: 4px; background: var(--bg); }
.docs-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 14px 0; }
.docs-content th, .docs-content td { border: 1px solid var(--docs-border); padding: 7px 10px; }
.docs-content img { max-width: 100%; height: auto; }
@media (max-width: 760px) {
  .docs-head { align-items: center; }
  .docs-menu-toggle.btn { display: inline-flex; margin: 0 0 12px; }
  .docs-layout { display: block; height: auto; }
  .docs-sidebar { display: none; max-height: min(60dvh, 480px); margin-bottom: 12px; }
  .docs-sidebar.open { display: block; }
  .docs-content { min-height: 300px; overflow-y: visible; }
}
.share-link-input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font: inherit; }
.flaws-heading { margin-top: 20px; }
@media (max-width: 600px) {
  .contact-values p { display: block; }
  .contact-values strong { display: block; }
  .contact-record .contact-actions .btn { flex: 1 1 auto; }
}
/* 求购页面：卡片列表、详情、我的求购管理。 */
.want-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.want-public-filters { display: flex; gap: 12px; flex: 1 1 auto; }
.want-public-filters label { display: grid; gap: 6px; min-width: 180px; color: var(--muted, #66849b); font-size: 14px; }
.want-toolbar .sorts { margin-left: auto; }
.want-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.want-card { display: flex; min-width: 0; flex-direction: column; padding: 0; overflow: hidden; }
.want-card-main { display: block; padding: 20px; color: inherit; text-decoration: none; flex: 1; }
.want-card-main:hover { text-decoration: none; }
.want-card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.want-card-title-row > .tag { flex: none; white-space: nowrap; }
.my-want-main .want-card-title-row { justify-content: flex-start; flex-wrap: wrap; }
.want-card-metrics { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.want-card-metrics > span { display: inline-flex; align-items: center; }
.want-card-metrics .listing-view-count { margin: 0; padding: 0; }
.want-card-title-row h2 { margin: 0; color: var(--navy, #073b60); font-size: 20px; overflow-wrap: anywhere; }
.want-card-meta { margin: 10px 0; color: var(--muted, #66849b); font-size: 14px; }
.want-card-description { display: -webkit-box; margin: 0; color: var(--text, #23475e); line-height: 1.65; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.want-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line, #d3e6f2); }
.want-card-publisher { display: inline-flex; min-width: 0; align-items: center; gap: 8px; color: var(--muted, #66849b); font-size: 13px; }
.want-card-publisher > span:last-child { overflow-wrap: anywhere; }
.want-detail-layout { max-width: 1050px; margin: 0 auto; }
.want-detail-main { padding: clamp(20px, 4vw, 38px); }
.want-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.want-detail-heading h1 { margin: 12px 0 0; overflow-wrap: anywhere; }
.want-detail-author { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.want-detail-author p { margin: 4px 0 0; }
.want-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 24px; }
.want-facts > div { min-width: 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-soft, #f2f8fc); }
.want-facts dt { margin-bottom: 5px; color: var(--muted, #66849b); font-size: 13px; }
.want-facts dd { margin: 0; color: var(--navy, #073b60); overflow-wrap: anywhere; }
.want-detail-main > h2 { margin-bottom: 8px; font-size: 18px; }
.want-detail-description { min-height: 72px; line-height: 1.8; overflow-wrap: anywhere; }
.want-detail-actions { flex-wrap: wrap; margin-top: 18px; }
.my-want-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); gap: 12px; margin: 18px 0; }
.my-want-summary .my-listing-stat { min-width: 0; }
.my-want-list { display: grid; gap: 14px; }
.my-want-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; }
.my-want-main { flex: 1 1 auto; min-width: 0; }
.my-want-title { color: var(--navy, #073b60); font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.my-want-description { max-width: 100%; margin: 10px 0; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.my-want-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted, #66849b); font-size: 13px; }
.my-want-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 260px; }
.want-form-card { max-width: 980px; margin: 0 auto; }

@media (max-width: 760px) {
  .want-toolbar { align-items: stretch; }
  .want-public-filters { flex-basis: 100%; }
  .want-public-filters label { min-width: 0; flex: 1 1 0; }
  .want-toolbar .sorts { margin-left: 0; }
  .want-card-main { padding: 16px; }
  .want-card-title-row h2 { font-size: 18px; }
  .want-detail-main { padding: 18px; }
  .want-detail-heading { flex-direction: column; gap: 8px; }
  .want-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-want-card { flex-direction: column; }
  .my-want-actions { max-width: none; justify-content: flex-start; }
}

@media (max-width: 420px) {
  .want-public-filters { flex-direction: column; }
  .want-facts { grid-template-columns: minmax(0, 1fr); }
  .want-card-footer { align-items: flex-start; flex-direction: column; }
  .want-detail-actions .btn { flex: 1 1 auto; }
}
