:root { --ink: #222; --muted: #666; --line: #ddd; --accent: #a85a00; --error: #a4161a; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; color: var(--ink); background: #fff; }
main { padding: 16px; max-width: 960px; margin: 0 auto; }
main.narrow { max-width: 560px; }
a { color: var(--accent); }
h1 { font-size: 1.5rem; margin: 0 0 12px; }
h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.brand-group { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
/* FEAT-023-R13: the current project next to the brand, cut short on a phone. */
.project-name { display: inline-block; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); vertical-align: bottom; }
.project-menu { position: relative; min-width: 0; }
.project-menu summary { cursor: pointer; list-style: none; }
.project-menu summary::-webkit-details-marker { display: none; }
.project-menu summary::after { content: " BE"; }
.project-menu-items { left: 0; right: auto; }
.project-menu-items .current { font-weight: 700; }
/* FEAT-006-R06: the original and the translations of a card. */
.text-choices { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.text-choices .chosen { font-weight: 700; text-decoration: none; color: var(--ink); }
.translation-title { font-weight: 600; }
.muted { color: var(--muted); }
/* ADR-029: Bootstrap's primary colour is the app's accent. */
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: #8a4a00; --bs-btn-hover-border-color: #8a4a00; --bs-btn-active-bg: #6f3b00; --bs-btn-active-border-color: #6f3b00; --bs-btn-disabled-bg: var(--accent); --bs-btn-disabled-border-color: var(--accent); }
.form-range::-webkit-slider-thumb { background-color: var(--accent); }
.form-range::-moz-range-thumb { background-color: var(--accent); }
.form-range:focus::-webkit-slider-thumb, .form-control:focus { box-shadow: 0 0 0 0.25rem rgba(168, 90, 0, 0.25); }
.form-control:focus { border-color: #d4a46a; }
/* FEAT-008: amenity icons, AI marks and the assessment. */
.amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px; padding: 0; }
.amenities li { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); cursor: help; }
.amenities li.from-ai { border-style: dashed; }
.ai-mark { margin-left: 6px; padding: 0 4px; border: 1px solid var(--line); border-radius: 4px; font-size: 0.7rem; font-weight: 600; color: var(--muted); vertical-align: middle; }
.assessment { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.assessment-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.assessment-head h2 { margin: 0 0 8px; font-size: 1.1rem; }
.advice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 8px 10px; border-radius: 6px; background: #f6f1ea; }
.advice-negotiate { background: #eaf6ec; }
.advice-wait { background: #fdf3e2; }
.advice-reasons { margin: 6px 0 8px; }
.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 24px; }
.assess-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.assess-start .form-select { width: auto; }
.assess-choice { width: 100%; }
.assess-photos { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; margin: 0; padding: 0; border: 0; }
.assess-photos legend { width: 100%; margin-bottom: 4px; }
.assess-photo { position: relative; cursor: pointer; }
.assess-photo input { position: absolute; top: 4px; left: 4px; }
.assess-photo img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 4px; }
.estimate { margin-top: 10px; padding: 10px; border: 1px dashed var(--accent); border-radius: 6px; }
.assess-earlier { margin-top: 8px; }
/* FEAT-007-R13: the member's sliders. */
.my-ratings { margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.my-rating { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(140px, 2fr) 72px minmax(140px, 2fr); gap: 4px 12px; align-items: center; margin-bottom: 8px; }
.my-rating .form-label { margin: 0; }
.my-rating output { font-weight: 600; text-align: center; }
.my-ratings .save-state { margin-left: 12px; color: var(--muted); }
@media (max-width: 600px) {
  .my-rating { grid-template-columns: 1fr 72px; }
  .my-rating .form-range, .my-rating .form-control { grid-column: 1 / -1; }
}
/* ADR-028: the card. One column on a phone; on a wide screen the head spreads out and the body has two columns. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
main.listing { max-width: 1180px; margin: 0 auto; padding: 16px; }
.listing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 24px; }
.listing-head h1 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.listing-title { flex: 1 1 320px; min-width: 0; }
.listing-address { margin: 4px 0 0; color: var(--muted); }
.listing-price { text-align: right; }
.listing-price .price { margin: 0; font-size: 1.75rem; font-weight: 700; white-space: nowrap; }
.price-line { margin: 0; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; color: var(--muted); }
.highlights { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0; padding: 0; }
.highlights li { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.highlights .icon { grid-row: span 2; color: var(--accent); }
.highlight-value { font-weight: 600; overflow-wrap: anywhere; }
.highlight-label { font-size: 0.8rem; color: var(--muted); }
.listing-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 32px; align-items: start; }
.listing-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin: 8px 0; }
.listing-meta .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.listing-meta .labels { margin: 0; align-items: center; justify-content: flex-end; }
.status-menu, .label-add { position: relative; }
.status-menu summary, .label-add summary { cursor: pointer; list-style: none; }
.status-menu summary::-webkit-details-marker, .label-add summary::-webkit-details-marker { display: none; }
.status-menu summary { text-decoration: underline dotted; }
.status-menu summary::after { content: " \25BE"; }
.status-menu .menu-items { left: 0; right: auto; }
.status-menu .current { font-weight: 700; }
.label-add-items { width: min(320px, 90vw); white-space: normal; }
.label-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.label-choices form { margin: 0; }
.label-choices .label-chip { border: 0; cursor: pointer; }
.market-strip { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.market-strip div { display: flex; flex-direction: column; }
.market-strip dt { font-size: 0.8rem; color: var(--muted); }
.market-strip dd { margin: 0; }
.market-strip dd.down { color: #166534; }
.market-strip dd.up { color: var(--error); }
.portal-link { margin: 0 0 6px; }
.listing-photos .gallery { margin: 0; }
.listing-photos .gallery-main img { aspect-ratio: 3 / 2; }
.listing-photos .gallery-strip .photo { width: 64px; }
.listing-text h2 { margin-top: 0; }
.text-body { position: relative; overflow: hidden; }
.text-body.clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.added { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 24px; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.tabs a[aria-selected="true"] { border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { padding-top: 8px; }
.feature-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.feature-chips li { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; }
@media (min-width: 960px) {
  .listing-body { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
  .listing-price { padding-top: 4px; }
}
@media (max-width: 600px) {
  .listing-price { text-align: left; }
  .price-line { justify-content: flex-start; }
}
main.sign-in { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; max-width: 360px; }
main.sign-in h1 { text-align: center; }
main.sign-in form, main.sign-in .error { align-self: stretch; }
.button, button, select, input, textarea { font: inherit; min-height: 44px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 6px; background: #fff; color: var(--accent); text-decoration: none; cursor: pointer; }
.button.danger { border-color: var(--error); background: var(--error); color: #fff; }
.button.wide { width: 100%; margin-bottom: 12px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.sort a { display: inline-block; padding: 10px 6px; }
.sort a.active { font-weight: 700; }
.properties { width: 100%; border-collapse: collapse; }
.property { display: flex; gap: 12px; }
.property-text { flex: 1; min-width: 0; }
.cover { flex: none; display: block; width: 120px; height: 90px; background: #eee; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.source { display: inline-flex; align-items: center; vertical-align: middle; margin-right: 6px; }
.source img { display: block; width: 20px; height: 20px; }
.title { font-weight: 400; overflow-wrap: anywhere; }
.title.unread { font-weight: 700; }
.properties th { padding: 8px 12px 8px 0; text-align: left; font-weight: 600; color: var(--muted); white-space: nowrap; }
.properties td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.properties .meta { color: var(--muted); white-space: nowrap; }
.home-row .property { padding-left: 32px; }
.home-row .cover { width: 72px; height: 54px; }
.kind { font-weight: 600; color: var(--ink); }
.homes { width: 100%; border-collapse: collapse; margin: 8px 0; }
.homes th, .homes td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); text-align: left; }
.homes th { color: var(--muted); font-weight: 600; border-top: 0; }
.archived { font-weight: 600; color: var(--ink); }
.filter { width: min(360px, calc(100% - 32px)); padding: 16px; border: 1px solid var(--line); border-radius: 6px; }
.filter h2 { margin: 0; }
.stack label.check { flex-direction: row; align-items: center; gap: 8px; }
.stack label.check input { width: 20px; min-height: 20px; }
@media (max-width: 600px) {
  .properties, .properties tbody, .properties tr { display: block; }
  .properties thead { display: none; }
  .properties tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .properties td { padding: 0; border: 0; }
  .properties .meta { display: block; margin-top: 4px; }
  .properties .meta::before { content: attr(data-label) ": "; }
  .cover { width: 88px; height: 66px; }
}
.facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; color: var(--muted); }
.properties tbody tr.shaded { background: #f1f2f4; }
.with-icon { display: flex; align-items: center; gap: 10px; }
.first-property { padding: 16px; border: 1px solid var(--line); border-radius: 6px; }
.first-property h2 { margin-top: 0; }
.summary { margin: 6px 0 0; color: var(--accent); font-style: italic; }
.summary::before { content: "\1F4AC\00A0"; font-style: normal; }
.filter-type { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.characteristics { font-size: 0.875em; }
.price { color: var(--ink); font-weight: 600; }
.pending { color: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.stack label { display: flex; flex-direction: column; gap: 4px; }
.stack input, .stack textarea { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.hint { color: var(--muted); }
.error { padding: 12px; margin-bottom: 12px; border: 1px solid var(--error); border-radius: 6px; color: var(--error); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.advertiser { font-weight: 600; color: var(--ink); }
.advertiser.owner { padding: 0 8px; background: #166534; color: #fff; }
.labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.label { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; color: #222; overflow-wrap: anywhere; }
.label-remove { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.inline-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.inline-form input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.label-rows { display: grid; grid-template-columns: minmax(0, max-content) repeat(4, max-content); column-gap: 12px; list-style: none; margin: 0; padding: 0; }
.label-row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.label-row > .label { justify-self: start; }
.link-button { min-height: 0; padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; }
.color-pick { display: inline-flex; align-items: center; gap: 6px; }
.color-pick input { width: 36px; min-height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.label-actions { display: inline-flex; gap: 4px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; }
.icon-button:disabled { opacity: 0.4; cursor: default; }
.site-nav { display: inline-flex; flex-wrap: wrap; gap: 12px; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.user-menu { position: relative; }
.user-menu summary { cursor: pointer; list-style: none; font-weight: 600; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary::after { content: " \25BE"; }
.menu-items { position: absolute; right: 0; top: 100%; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 6px; padding: 10px 14px; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.menu-items a, .menu-items .link-button { color: var(--ink); text-decoration: none; }
.menu-items a:hover, .menu-items .link-button:hover { text-decoration: underline; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 12px 0; }
.photo { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
[hidden] { display: none !important; }
.photo-viewer { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 8px; background: rgba(0, 0, 0, 0.9); cursor: zoom-out; }
.photo-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-arrow { position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(64px, 14vw, 200px); padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.35); font-size: clamp(64px, 8vw, 112px); line-height: 1; cursor: pointer; }
.viewer-arrow:hover, .viewer-arrow:focus-visible { color: rgba(255, 255, 255, 0.6); outline: none; }
.viewer-previous { left: 0; }
.viewer-next { right: 0; }
body.viewing-photo { overflow: hidden; }
.description { white-space: pre-line; }
.actions { list-style: none; margin: 0; padding: 0; }
.actions li { padding: 6px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.action-at { color: var(--muted); margin-right: 8px; }
.decision { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.ratings-section .score-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.score { font-size: 1.6rem; }
.incomplete { padding: 0 8px; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent); font-size: 0.875em; }
.incomplete-mark { color: var(--accent); }
.not-rated { margin: 0 0 8px; padding-left: 20px; color: var(--muted); font-size: 0.875em; }
.radar { display: block; width: 100%; max-width: 440px; height: auto; margin: 8px auto; }
.radar-ring { fill: none; stroke: var(--line); }
.radar-axis { stroke: var(--line); }
.radar-values { fill: rgba(168, 90, 0, 0.25); stroke: var(--accent); stroke-width: 2; }
.radar-member { fill: none; stroke-width: 2; }
.radar-label { font-size: 12px; fill: var(--ink); }
.radar-label.unrated { fill: var(--muted); font-style: italic; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0 0 12px; padding: 0; }
.radar-legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.swatch.average { background: rgba(168, 90, 0, 0.25); border: 2px solid var(--accent); }
.rating-bars { display: grid; gap: 6px; margin: 8px 0; }
.rating-bar { display: grid; grid-template-columns: minmax(0, 10em) 1fr 3em; gap: 8px; align-items: center; }
.rating-bar .bar { height: 12px; background: #f1f2f4; border-radius: 6px; overflow: hidden; }
.rating-bar .bar span { display: block; height: 100%; background: var(--accent); }
.table-scroll { overflow-x: auto; }
.rating-matrix { border-collapse: collapse; width: 100%; }
.rating-matrix th, .rating-matrix td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.rating-matrix thead th { border-top: 0; color: var(--muted); font-weight: 600; }
.rating-matrix tbody th { font-weight: 400; }
.rating-matrix tbody th small { display: block; }
.rating-matrix td { white-space: nowrap; }
.rating-matrix input[type=text] { width: 8em; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.rating-matrix .average { font-weight: 600; }
.divergent { margin-left: 6px; padding: 0 6px; background: var(--error); color: #fff; border-radius: 6px; font-size: 0.75em; }
.comments { list-style: none; margin: 0 0 12px; padding: 0; }
.comments li { padding: 8px 0; border-top: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.criteria-rows { list-style: none; margin: 0; padding: 0; }
.criterion-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.criterion-text { flex: 1 1 14em; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.criterion-text .hint { flex-basis: 100%; font-size: 0.875em; }
.weight { color: var(--muted); font-size: 0.875em; }
.stack select { padding: 8px; border: 1px solid var(--line); border-radius: 6px; }

.listing-controls { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }
.inline-label { display: inline-flex; align-items: center; gap: 6px; }
.inline-form select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.stack select { width: 100%; }
.gallery { margin: 12px 0; }
.gallery-stage { position: relative; background: #111; border-radius: 6px; overflow: hidden; touch-action: pan-y; }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.gallery-arrow { position: absolute; top: 0; bottom: 0; width: 56px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.7); font-size: 48px; cursor: pointer; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { color: #fff; }
.gallery-previous { left: 0; }
.gallery-next { right: 0; }
.gallery-counter, .viewer-counter { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.875em; }
.gallery-strip { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.gallery-strip .photo { flex: none; width: 88px; cursor: pointer; }
.gallery-strip .photo img { border-radius: 4px; }
.gallery-strip .photo[aria-current="true"] img { outline: 3px solid var(--accent); outline-offset: -3px; }
.viewer-full { position: absolute; top: 8px; right: 8px; z-index: 2; min-width: 44px; padding: 0; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 24px; border-radius: 6px; cursor: pointer; }
.price-change.down { color: #166534; }
.price-change.up { color: var(--error); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-history { border-collapse: collapse; width: 100%; }
.price-history th, .price-history td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); text-align: left; }
.price-history thead th { border-top: 0; color: var(--muted); font-weight: 600; }
.member-scores { display: block; color: var(--muted); font-size: 0.8em; }
.member-scores span + span::before { content: " · "; }
@media (max-width: 600px) {
  .rating-matrix input[type=text] { width: 6em; }
  .gallery-arrow { width: 44px; font-size: 40px; }
}

.link-table { border-collapse: collapse; width: 100%; }
.link-table th, .link-table td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
.link-table thead th { border-top: 0; color: var(--muted); font-weight: 600; }
.link-table tr.differs td { background: #fff7e6; }
.primary-mark, .lowest-mark { margin-left: 6px; padding: 0 6px; border-radius: 6px; font-size: 0.75em; }
.primary-mark { background: var(--ink); color: #fff; }
.lowest-mark { background: #166534; color: #fff; }
.link-actions { display: flex; gap: 10px; }
.spread { font-weight: 600; }
.score-value { display: inline-block; min-width: 2.4em; padding: 0 6px; border-radius: 6px; text-align: center; }
.merge { margin: 12px 0; }
.merge summary { display: inline; }
.inline-form input[type=url] { flex: 1 1 16em; }
