.project-tabs { gap: 26px; }
.project-tabs a { padding: 0 2px 16px; color: var(--panel-muted); text-decoration: none; font-size: 12px; border-bottom: 2px solid transparent; }
.project-tabs a:hover { color: var(--panel-accent); }
.project-tabs a[aria-current="page"] { color: #bb0842; border-color: var(--panel-accent); font-weight: 500; }
.details-heading { margin: 26px 0 20px; }
.details-heading h2 { margin-bottom: 8px; }
.details-heading p, .section-intro { color: var(--panel-muted); font-size: 12px; line-height: 1.8; margin-bottom: 0; }
.details-table { margin: 0; min-width: 580px; }
.details-table th { background: #fbfbfa; padding: 15px 24px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--panel-muted); font-weight: 500; }
.details-table td { padding: 21px 24px; border-color: var(--panel-line); font-size: 12px; }
.details-table tbody tr:last-child td { border-bottom: 0; }
.details-table tbody tr:hover { background: #fdfcfb; }
.prompt-list { min-width: 1000px; }
.prompt-list td:first-child { width: 34%; min-width: 280px; }
.prompt-list td:not(:first-child), .prompt-list th:not(:first-child) { text-align: center; min-width: 110px; }
.prompt-list td:not(:first-child) .prompt-link { font-size: 16px; font-weight: 500; color: var(--panel-accent); }
.prompt-link { display: block; line-height: 1.8; color: #23252d; text-decoration: none; overflow-wrap: anywhere; }
.prompt-link:hover { color: var(--panel-accent); text-decoration: underline; }
.date-cell { white-space: nowrap; }
.detail-subtext { font-size: 10px; line-height: 1.7; color: var(--panel-muted); }
.answers-table { min-width: 830px; }
.answers-table .project-open { white-space: nowrap; }
.prompt-question { padding: 25px 28px; margin-bottom: 26px; background: #fff; border-left: 3px solid #cf0849; }
.prompt-question .eyebrow { font-size: 9px; margin-bottom: 10px; }
.prompt-question p { font-size: 16px; line-height: 1.8; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-metadata { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 0 0 28px; }
.answer-metadata dt { font-size: 10px; color: var(--panel-muted); font-weight: 400; margin-bottom: 7px; }
.answer-metadata dd { font-size: 12px; margin: 0; overflow-wrap: anywhere; line-height: 1.7; }
.answer-jumps { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.answer-jumps a { font-size: 11px; padding: 9px 13px; background: #fff; border: 1px solid var(--panel-line); border-radius: 6px; text-decoration: none; }
.answer-jumps a:hover { color: var(--panel-accent); border-color: #e5a8bb; }
.answer-section { padding: 30px; margin-bottom: 22px; scroll-margin-top: 24px; }
.answer-section h2 { margin-bottom: 12px; font-size: 21px; }
.response-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.95; color: #30323a; margin-top: 12px; }
.section-empty { margin: 10px 0 0; color: var(--panel-muted); font-size: 12px; line-height: 1.8; }
.mention-list { margin-top: 18px; }
.mention-item { border-top: 1px solid var(--panel-line); padding: 20px 0; }
.mention-item:last-child { padding-bottom: 0; }
.mention-heading { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.mention-heading h3 { font-size: 14px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.mention-item blockquote { margin: 14px 0 0; padding: 0 0 0 16px; border-left: 2px solid #e8d5dc; color: #585962; line-height: 1.9; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-list { margin: 20px 0 0; padding-left: 24px; }
.source-list li { padding: 17px 0 19px 10px; border-top: 1px solid var(--panel-line); }
.source-list li::marker { color: #878790; font-size: 11px; }
.source-list li:last-child { padding-bottom: 0; }
.source-domain { font-size: 10px; font-weight: 500; color: var(--panel-muted); margin-bottom: 7px; overflow-wrap: anywhere; }
.source-url { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; text-decoration: none; }
.source-url[href]:hover { color: var(--panel-accent); text-decoration: underline; }
.source-address { font-size: 10px; line-height: 1.8; color: var(--panel-muted); overflow-wrap: anywhere; margin-top: 5px; }
.source-anchor { font-size: 11px; color: var(--panel-muted); margin: 9px 0 0; overflow-wrap: anywhere; line-height: 1.8; }
@media(max-width:1000px) {
  .answer-metadata { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .details-table th, .details-table td { padding: 15px 18px; }
  .prompt-question { padding: 20px; }
  .prompt-question p { font-size: 14px; }
  .answer-metadata { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .answer-section { padding: 22px 20px; }
  .response-text { font-size: 13px; line-height: 1.9; }
  .answer-jumps { gap: 7px; }
  .answer-jumps a { font-size: 10px; padding: 8px 10px; }
  .topbar nav { line-height: 2; overflow-wrap: anywhere; }
  .source-list { padding-left: 17px; }
}
.presence-filters { padding: 24px; margin-bottom: 22px; }
.presence-brands { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--panel-line); min-width: 0; }
.presence-brands legend { font-size: 11px; font-weight: 500; margin-bottom: 13px; }
.presence-brand-options { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.presence-brand-option { display: flex; gap: 9px; align-items: center; cursor: pointer; font-size: 12px; overflow-wrap: anywhere; }
.presence-brand-option .form-check-input { flex-shrink: 0; margin: 0; }
.presence-filter-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 18px; }
.presence-filter-grid > div { min-width: 0; }
.presence-filter-grid .form-label { font-size: 10px; color: var(--panel-muted); }
.presence-filter-grid .form-control, .presence-filter-grid .form-select { font-size: 11px; min-height: 40px; border-color: #dbdbd7; }
.presence-prompt-filter { grid-row: span 2; }
.presence-prompt-filter select { min-height: 122px; }
.filter-help { margin: 8px 0 0; font-size: 10px; line-height: 1.7; color: var(--panel-muted); }
.presence-filter-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.presence-filter-actions .btn { font-size: 12px; }
.presence-explanation { margin: 0 0 24px; max-width: 940px; }
.presence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.presence-quadrant { overflow: hidden; }
.presence-quadrant-heading { padding: 24px; border-bottom: 1px solid var(--panel-line); }
.presence-quadrant-heading .eyebrow { font-size: 9px; margin-bottom: 9px; }
.presence-quadrant-heading h2 { font-size: 21px; margin-bottom: 9px; }
.presence-quadrant-heading p { font-size: 11px; color: var(--panel-muted); line-height: 1.8; margin: 0; }
.presence-rows { list-style: none; padding: 0; margin: 0; }
.presence-rows li + li { border-top: 1px solid var(--panel-line); }
.presence-answer-link { display: block; padding: 20px 24px; text-decoration: none; }
.presence-answer-link:hover { background: #fcfafb; color: inherit; }
.presence-answer-link:focus-visible { outline-offset: -4px; }
.presence-row-top { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.presence-row-top strong { font-weight: 500; overflow-wrap: anywhere; }
.presence-row-top > span { color: var(--panel-accent); }
.presence-answer-link p { margin: 9px 0 12px; font-size: 11px; line-height: 1.8; color: #555761; overflow-wrap: anywhere; }
.presence-row-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; color: var(--panel-muted); font-size: 9px; }
.presence-empty { padding: 30px 24px; margin: 0; color: var(--panel-muted); font-size: 11px; line-height: 1.8; }
.presence-no-results { grid-column: 1 / -1; }
.presence-unknown { margin-top: 26px; }
@media(max-width:1000px) {
  .presence-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .presence-prompt-filter { grid-column: 1 / -1; grid-row: auto; }
}
@media(max-width:700px) {
  .presence-grid { grid-template-columns: 1fr; gap: 16px; }
  .presence-filters { padding: 20px; }
  .presence-quadrant-heading { padding: 20px; }
  .presence-answer-link { padding: 18px 20px; }
  .presence-filter-actions .btn { width: 100%; }
}
.presence-matrix { display: grid; grid-template-columns: 90px minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto minmax(240px,auto) minmax(240px,auto); grid-template-areas: "corner absent present" "linked q1 q2" "unlinked q3 q4"; margin-top: 26px; }
.matrix-axis-corner { grid-area: corner; align-self: end; padding: 0 12px 14px 0; color: var(--panel-muted); font-size: 9px; line-height: 1.8; }
.matrix-x-label { text-align: center; font-size: 11px; font-weight: 500; padding: 14px 10px; color: #454752; }
.matrix-x-absent { grid-area: absent; }
.matrix-x-present { grid-area: present; }
.matrix-y-label { display: flex; align-items: center; justify-content: center; padding: 15px 12px 15px 0; font-size: 11px; line-height: 1.7; font-weight: 500; text-align: center; color: #454752; }
.matrix-y-present { grid-area: linked; }
.matrix-y-absent { grid-area: unlinked; }
.matrix-cell { min-width: 0; padding: 24px; background: #fff; border: 0; border-radius: 0; }
.matrix-cell-1 { grid-area: q1; border-top: 1px solid #d5d5d4; border-left: 1px solid #d5d5d4; border-right: 2px solid #656670; border-bottom: 2px solid #656670; }
.matrix-cell-2 { grid-area: q2; border-top: 1px solid #d5d5d4; border-right: 1px solid #d5d5d4; border-bottom: 2px solid #656670; background: #fffafb; }
.matrix-cell-3 { grid-area: q3; border-left: 1px solid #d5d5d4; border-bottom: 1px solid #d5d5d4; border-right: 2px solid #656670; background: #fafaf9; }
.matrix-cell-4 { grid-area: q4; border-right: 1px solid #d5d5d4; border-bottom: 1px solid #d5d5d4; }
.matrix-cell-heading h2 { font-size: 17px; margin: 0 0 7px; letter-spacing: -.03em; }
.matrix-cell-heading p { font-size: 10px; color: var(--panel-muted); line-height: 1.8; margin: 0; }
.matrix-points { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.matrix-point { max-width: 100%; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.matrix-brand-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 10px; border-radius: 18px; border: 1px solid #e5c6d0; background: #fff; font-size: 11px; color: #84203f; text-decoration: none; overflow-wrap: anywhere; }
.matrix-brand-chip:hover { color: #a6083d; background: #fcecf1; border-color: #cf0849; }
.matrix-brand-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #cf0849; }
.matrix-point-details { font-size: 10px; color: var(--panel-muted); max-width: 100%; }
.matrix-point-details summary { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border: 1px solid #c7c7cd; border-radius: 50%; list-style: none; }
.matrix-point-details summary::-webkit-details-marker { display: none; }
.matrix-point-details[open] { flex-basis: 100%; }
.matrix-point-details > div { margin: 9px 0 4px; padding: 10px; background: #f1f1ef; border-radius: 5px; line-height: 1.8; overflow-wrap: anywhere; }
.matrix-point-details p { margin: 0 0 6px; }
.matrix-point-details span { font-size: 9px; }
.matrix-empty { font-size: 11px; color: var(--panel-muted); line-height: 1.8; margin: 30px 0 0; }
.matrix-no-results { grid-area: 2 / 2 / 4 / 4; padding: 35px; border: 1px solid var(--panel-line); background: #fff; }
@media(max-width:700px) {
  .presence-matrix { grid-template-columns: 57px minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto minmax(220px,auto) minmax(220px,auto); }
  .matrix-axis-corner { font-size: 8px; padding-right: 5px; }
  .matrix-x-label { font-size: 9px; padding: 10px 6px; line-height: 1.6; }
  .matrix-y-label { font-size: 9px; padding: 10px 7px 10px 0; }
  .matrix-cell { padding: 16px 10px; }
  .matrix-cell-heading h2 { font-size: 13px; line-height: 1.4; }
  .matrix-cell-heading p { font-size: 9px; }
  .matrix-points { gap: 9px; margin-top: 18px; }
  .matrix-brand-chip { font-size: 9px; padding: 6px 7px; gap: 4px; }
  .matrix-brand-chip > span:last-child { display: none; }
  .matrix-point-details summary { width: 17px; height: 17px; }
  .matrix-empty { font-size: 9px; margin-top: 24px; }
}
