/* Components (#84, ADR 0013): plain HTML plus these classes. Every colour, size and
   duration comes from tokens.css or theme.css; TestComponentsReadTokens fails on a literal
   colour or an unknown token here. /_design shows each component in light and dark. Phone width
   first: the layout is one column, and wider screens only get a wider measure. */

/* Inter 5.3.0, variable (weights 100–900), Latin subset: covers ã, õ, ç, é. Self-hosted
   (ADR 0007); licence in vendor/inter-LICENSE.txt. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("vendor/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-base);
  font-weight: var(--weight-regular);
}
.theme-light, .theme-dark { background: var(--color-bg); color: var(--color-ink); }
h1, h2, h3 { line-height: var(--leading-tight); font-weight: var(--weight-bold); margin: 0 0 var(--space-3); }
h1 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.num, time { font-variant-numeric: tabular-nums; }
.muted { color: var(--color-muted); }

/* Header and footer */
.top { background: var(--color-card); border-bottom: 1px solid var(--color-line); }
.top-in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  max-width: var(--size-page); margin: 0 auto; padding: var(--space-3) var(--space-4);
}
/* The map, /favoritos, and the login or the account (#118). The current page's link reads as
   text, as the breadcrumbs' last step does. */
.top-link {
  display: inline-flex; align-items: center; min-height: var(--size-target); padding: 0 var(--space-2);
  font-weight: var(--weight-medium); white-space: nowrap;
}
.top-link[aria-current="page"] { color: var(--color-ink); text-decoration: none; }
.brand {
  display: inline-block; color: var(--color-ink); text-decoration: none;
  font-weight: var(--weight-bold); font-size: var(--text-lg); letter-spacing: -0.01em;
}
.brand span { color: var(--color-accent); }
.foot {
  max-width: var(--size-page); margin: var(--space-6) auto 0; padding: var(--space-5) var(--space-4);
  border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: var(--text-sm);
}
.foot p:last-child { margin: 0; }

main { max-width: var(--size-page); margin: 0 auto; padding: var(--space-5) var(--space-4); }

/* Buttons */
button { font: inherit; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--size-target); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md); border: 1px solid var(--color-field);
  background: var(--color-card); color: var(--color-ink);
  font: inherit; font-weight: var(--weight-medium); text-decoration: none; cursor: pointer;
  transition: background-color var(--motion-fast) var(--motion-easing),
    border-color var(--motion-fast) var(--motion-easing);
}
.btn:hover { border-color: var(--color-ink); }
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { border-color: var(--color-ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

/* Inputs and the search box */
.field { display: block; margin: 0 0 var(--space-4); }
.field-label { display: block; font-weight: var(--weight-medium); margin-bottom: var(--space-1); }
.field-hint { display: block; color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-1); }
.field-error { display: block; color: var(--color-error); font-size: var(--text-sm); margin-top: var(--space-1); }
.input {
  display: block; width: 100%; min-height: var(--size-target); padding: var(--space-2) var(--space-3);
  font: inherit; color: var(--color-ink); background: var(--color-card);
  border: 1px solid var(--color-field); border-radius: var(--radius-sm);
}
.input::placeholder { color: var(--color-muted); opacity: 1; }
.input[aria-invalid="true"] { border-color: var(--color-error); border-width: 2px; }
.search { display: flex; gap: var(--space-2); margin: 0 0 var(--space-4); }
.search .input { flex: 1; min-width: 0; }

/* Chips: filters that are on or off; aria-pressed carries the state, and a check mark shows it
   besides the colour. */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.chip {
  display: inline-flex; align-items: center; min-height: var(--size-chip); padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill); border: 1px solid var(--color-field);
  background: var(--color-card); color: var(--color-ink);
  font: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer;
  transition: background-color var(--motion-fast) var(--motion-easing);
}
.chip[aria-pressed="true"] { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent); }
.chip[aria-pressed="true"]::before { content: "✓"; margin-right: var(--space-1); }

/* Cards and the property list item */
.card {
  background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: var(--space-4); margin: 0 0 var(--space-4);
}
.items { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.item { position: relative; }
.item h3 { font-size: var(--text-base); margin: 0 0 var(--space-1); }
.item h3 a { color: var(--color-ink); text-decoration: none; }
.item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); }
.item h3 a:focus-visible { outline: none; }
.item h3 a:focus-visible::after { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.item-place { color: var(--color-muted); font-size: var(--text-sm); margin: 0 0 var(--space-1); }
.item-price { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-1); }
.item-price .num { font-size: var(--text-lg); font-weight: var(--weight-bold); }
.item-meta { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
.badge {
  display: inline-block; padding: 2px var(--space-2); border-radius: var(--radius-pill);
  background: var(--color-accent-soft); color: var(--color-accent);
  font-size: var(--text-sm); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums;
}

/* Notices: a neutral one (no longer available) and an error. Red is for errors only. */
.notice {
  border: 1px solid var(--color-field); border-left-width: 4px; border-radius: var(--radius-sm);
  background: var(--color-card); padding: var(--space-3) var(--space-4); font-weight: var(--weight-medium);
}
.notice-error { border-color: var(--color-error); color: var(--color-error); }
.notice-ok { border-color: var(--color-accent); }

/* The property page and its definition list */
.where { color: var(--color-muted); margin: 0 0 var(--space-1); }
.facts { margin: 0 0 var(--space-4); padding: var(--space-1) var(--space-4); }
.facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--color-muted); }
.facts dd { margin: 0; font-weight: var(--weight-medium); text-align: right; font-variant-numeric: tabular-nums; }
.facts .price { font-size: var(--text-price); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.facts .discount { color: var(--color-accent); font-weight: var(--weight-bold); }
.address { font-weight: var(--weight-medium); }
.description { color: var(--color-muted); }
/* The detail read: its facts sit inside the card, without a frame of their own. */
.detail .facts { padding: 0; margin: 0 0 var(--space-3); }
.detail-name { font-weight: var(--weight-medium); margin: 0 0 var(--space-1); }
.detail-text { margin: 0 0 var(--space-3); overflow-wrap: anywhere; }
.detail-label { display: block; font-weight: var(--weight-bold); }
.detail-source { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
/* Photos: the first large as the cover, the rest in a strip that scrolls sideways. Boxes are
   4:3 before the photo arrives, and photos of another shape are cropped to fill them. */
.photos { margin: 0 0 var(--space-4); }
.photo { display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--color-line); }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.photo-strip {
  display: flex; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-2) 0 0;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.photo-strip li { flex: 0 0 40%; scroll-snap-align: start; }
@media (min-width: 40rem) { .photo-strip li { flex-basis: 24%; } }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0 0 var(--space-5); }
section { margin: 0 0 var(--space-5); }

/* History: newest first, on a rail. Drops in the accent, rises in ink. */
.history { list-style: none; margin: 0; padding: 0 0 0 var(--space-4); border-left: 2px solid var(--color-line); }
.history li { position: relative; padding: 0 0 var(--space-4); }
.history li::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-4) - 6px); top: 0.45em;
  width: 10px; height: 10px; border-radius: var(--radius-pill);
  background: var(--color-card); border: 2px solid var(--color-field);
}
.history time { display: block; color: var(--color-muted); font-size: var(--text-sm); }
.history b { font-weight: var(--weight-bold); }
.history span { display: block; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.history .down, .item-meta .down { color: var(--color-accent); font-weight: var(--weight-medium); }
.history .up, .item-meta .up { color: var(--color-ink); font-weight: var(--weight-medium); }

/* Page lead and breadcrumbs */
.lead { color: var(--color-muted); font-size: var(--text-lg); }
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); list-style: none;
  padding: 0; margin: 0 0 var(--space-3); color: var(--color-muted); font-size: var(--text-sm);
}
.crumbs li + li::before { content: "›"; margin-right: var(--space-2); }
.crumbs a { color: var(--color-muted); }
.crumbs [aria-current="page"] { color: var(--color-ink); }

/* Places: states, cities or districts with their counts, in as many columns as fit. */
.places {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 var(--space-4);
  list-style: none; padding: 0; margin: 0 0 var(--space-4);
}
.places li {
  display: flex; align-items: center; gap: var(--space-2); min-height: var(--size-target);
  border-bottom: 1px solid var(--color-line);
}
.places a { flex: 1; min-width: 0; padding: var(--space-2) 0; overflow-wrap: anywhere; font-weight: var(--weight-medium); }
.places-where, .places-count { color: var(--color-muted); font-size: var(--text-sm); }

/* A list page's filters: a plain GET form in a disclosure, two fields a row on a phone. */
.filters { margin: 0 0 var(--space-4); }
.filters-box { padding: 0; }
.filters-box > summary {
  display: flex; align-items: center; min-height: var(--size-target); padding: var(--space-2) var(--space-4);
  font-weight: var(--weight-medium); cursor: pointer; list-style: none; border-radius: var(--radius-md);
}
.filters-box > summary::-webkit-details-marker { display: none; }
.filters-box > summary::after { content: "▾"; margin-left: auto; color: var(--color-muted); }
.filters-box[open] > summary::after { content: "▴"; }
.filters-box[open] > summary { border-bottom: 1px solid var(--color-line); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.filters-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-3);
  padding: var(--space-4) var(--space-4) 0;
}
.filters-grid .field { margin-bottom: var(--space-3); }
.filters-box .chips { padding: 0 var(--space-4); }
.filters-box .actions { padding: 0 var(--space-4) var(--space-4); margin: 0; }
select.input { cursor: pointer; }

/* A filter chip that is a checkbox, for forms that work without JS: the box shows the state,
   the chip's colour repeats it. */
.chip-check { gap: var(--space-2); }
.chip-check input { margin: 0; accent-color: var(--color-accent); }
.chip-check:has(input:checked) { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent); }
.chip-check:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.chip-check input:focus-visible { outline: none; }

/* Results */
.results-count { color: var(--color-muted); font-weight: var(--weight-medium); }
.btn-more { width: 100%; }

/* The map page (#99): the map on top and the list below on a phone; side by side, the list on
   the left, on wide screens. MapLibre draws the basemap in the map-* tokens (mapstyle.json). */
.map-page { max-width: none; padding: 0; }
.map-view { position: relative; height: 55dvh; min-height: 18rem; background: var(--color-map-land); }
.map { width: 100%; height: 100%; } /* MapLibre makes it position: relative */
.map-side { max-width: var(--size-page); margin: 0 auto; padding: var(--space-4); }
.map-title { font-size: var(--text-xl); margin-bottom: var(--space-1); }
.map-hint { font-size: var(--text-sm); }
@media (min-width: 64rem) {
  .map-page { display: grid; grid-template-columns: minmax(22rem, 28rem) 1fr; align-items: start; }
  .map-view { order: 2; position: sticky; top: 0; height: 100dvh; }
  .map-side { order: 1; margin: 0; }
}

/* Map pins: a city's count in the accent; a group of cities (zoomed out) as an outlined pill. The
   selected pin is larger and ringed in pin-outline, so it shows on pale parks too. Pins are
   24 px targets at least (WCAG 2.2, 2.5.8). */
.map-pin {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--space-6); min-height: var(--space-6); padding: 0 var(--space-2);
  border-radius: var(--radius-pill); border: 2px solid var(--color-on-accent);
  background: var(--color-accent); color: var(--color-on-accent); box-shadow: var(--shadow-card);
  font: inherit; font-size: var(--text-sm); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums;
  line-height: 1; cursor: pointer;
}
.map-pin-cluster { background: var(--color-card); color: var(--color-accent); border-color: var(--color-accent); }
.map-pin[aria-pressed="true"] {
  min-height: var(--size-chip); padding: 0 var(--space-3); font-size: var(--text-base);
  outline: 3px solid var(--color-pin-outline); outline-offset: 0; z-index: 1;
}
.map-pin:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* Map controls: "Buscar nesta área" floats over the top of the map; MapLibre's zoom buttons and
   attribution take the card's colours. */
.map-control { box-shadow: var(--shadow-card); border-radius: var(--radius-pill); border-color: var(--color-line); }
.map-search-area { position: absolute; top: var(--space-3); left: 50%; translate: -50% 0; z-index: 2; white-space: nowrap; }
.map .maplibregl-ctrl-group { background: var(--color-card); box-shadow: var(--shadow-card); border-radius: var(--radius-sm); }
.map .maplibregl-ctrl-group button { width: var(--size-target); height: var(--size-target); }
.map .maplibregl-ctrl-group button + button { border-top: 1px solid var(--color-line); }
.map .maplibregl-ctrl.maplibregl-ctrl-attrib { background: var(--color-card); color: var(--color-muted); font-size: var(--text-sm); }
.map .maplibregl-ctrl-attrib a { color: var(--color-ink); }
/* The zoom icons are masks painted in ink, so they follow a forced .theme-dark or .theme-light
   like text does; MapLibre's own are fixed-colour images chosen by the system scheme (#106). In
   forced colours, the system's button text colour paints them. */
.map .maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon,
.map .maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
  background-image: none; background-color: var(--color-ink);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.map .maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon { -webkit-mask-image: url(icons/zoom-in.svg); mask-image: url(icons/zoom-in.svg); }
.map .maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon { -webkit-mask-image: url(icons/zoom-out.svg); mask-image: url(icons/zoom-out.svg); }
@media (forced-colors: active) {
  .map .maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon,
  .map .maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon { forced-color-adjust: none; background-color: ButtonText; }
}

/* The summary card of the selected city, above its properties. */
.map-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-1); }
.map-card-count { color: var(--color-muted); font-weight: var(--weight-medium); }
.map-card .actions { margin: 0; }
.map-area-count { font-size: var(--text-lg); margin-bottom: var(--space-1); }

/* Prose: long texts such as the privacy policy, terms and credits. Numbered sections, lists and
   a table that turns into one card per row on a phone, each cell under its column's name
   (data-label), so nothing scrolls sideways at 412 px. */
.prose h2 { font-size: var(--text-lg); margin-top: var(--space-6); }
.prose ul { padding-left: var(--space-5); margin: 0 0 var(--space-4); }
.prose li { margin: 0 0 var(--space-2); }
.prose-meta { color: var(--color-muted); font-size: var(--text-sm); }
.prose-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-4); font-size: var(--text-sm); }
.prose-table th, .prose-table td { text-align: left; vertical-align: top; padding: var(--space-2) var(--space-3); }
.prose-table thead th { color: var(--color-muted); font-weight: var(--weight-medium); border-bottom: 1px solid var(--color-field); }
.prose-table tbody tr { border-bottom: 1px solid var(--color-line); }
@media (max-width: 40rem) {
  .prose-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose-table, .prose-table tbody, .prose-table tr, .prose-table td { display: block; }
  .prose-table tbody tr {
    background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius-md);
    padding: var(--space-2) 0; margin: 0 0 var(--space-3);
  }
  .prose-table td { padding: var(--space-1) var(--space-3); }
  .prose-table td::before {
    content: attr(data-label); display: block;
    color: var(--color-muted); font-weight: var(--weight-medium);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important; animation-duration: 0s !important;
    animation-iteration-count: 1 !important; scroll-behavior: auto !important;
  }
}

/* The account pages (#118): a narrow column of forms. */
.narrow { max-width: var(--size-narrow); }
.narrow form { margin: 0 0 var(--space-4); }
.btn-block { width: 100%; }
/* "ou" between the login methods. */
.login-or { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-4) 0 var(--space-3); color: var(--color-muted); font-size: var(--text-sm); }
.login-or::before, .login-or::after { content: ""; flex: 1; border-top: 1px solid var(--color-line); }
.btn-danger { border-color: var(--color-error); color: var(--color-error); }
.btn-danger:hover { border-color: var(--color-ink); }
.btn-link { display: inline-flex; align-items: center; min-height: var(--size-target); }
.card-danger { border-color: var(--color-error); }
/* The six-digit code: large, spaced digits that the phone's keypad fills. */
.input-code {
  font-size: var(--text-xl); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums;
  letter-spacing: 0.3em; text-align: center;
}
.fieldset { border: 0; padding: 0; margin: 0 0 var(--space-4); min-width: 0; }
/* Checkboxes and radio buttons, one per line, each with its label and an optional hint. */
.choices { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.choice {
  display: flex; align-items: flex-start; gap: var(--space-3);
  min-height: var(--size-target); padding: var(--space-2) 0; cursor: pointer;
}
.choice input { flex: none; width: var(--space-5); height: var(--space-5); margin: 0; accent-color: var(--color-accent); }
.choice-label { display: block; }
.choice .field-hint { margin-top: 0; }
/* The sign-up consent (#132), on the code step and in the "Entrar com Google" form. */
.consent { margin-bottom: var(--space-3); }

/* Header links: the map, /favoritos and the account, side by side. */
.top-nav { display: flex; align-items: center; gap: var(--space-1); }
/* A phone's width holds the brand and all three links ("Mapa", "Favoritos", "Minha conta") on
   one line with narrower link padding; narrower still, the links go under the brand. */
@media (max-width: 30rem) {
  .top-in { flex-wrap: wrap; row-gap: 0; }
  .top-nav { margin-right: calc(-1 * var(--space-1)); }
  .top-link { padding: 0 var(--space-1); }
}

/* Bookmarks (#119): "Favoritar" toggles a property's bookmark. The same HTML for every viewer;
   bookmarks.js shows it once it knows where bookmarks are kept (data-bookmarks-ready) and sets
   aria-pressed. Off is an outlined heart, on a filled one in the accent: the shape changes too,
   not only the colour. The icon is a mask painted with a token, as the map's zoom icons. */
.bookmark { display: none; }
[data-bookmarks-ready] .bookmark { display: inline-flex; }
.bookmark {
  align-items: center; justify-content: center;
  width: var(--size-target); height: var(--size-target); padding: 0;
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer;
}
.item > .bookmark { position: absolute; top: var(--space-2); right: var(--space-2); z-index: 1; }
.item > .bookmark + .item-place, .item > .bookmark + .item-place + h3 { padding-right: var(--size-target); }
.bookmark:hover .bookmark-icon { background-color: var(--color-ink); }
.bookmark-icon {
  display: block; flex: none; width: var(--space-5); height: var(--space-5); background-color: var(--color-muted);
  -webkit-mask: url(icons/heart.svg) center / contain no-repeat; mask: url(icons/heart.svg) center / contain no-repeat;
}
.bookmark[aria-pressed="true"] .bookmark-icon,
.bookmark[aria-pressed="true"]:hover .bookmark-icon {
  background-color: var(--color-accent);
  -webkit-mask-image: url(icons/heart-filled.svg); mask-image: url(icons/heart-filled.svg);
}
.bookmark-wide { width: auto; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-field); background: var(--color-card); margin: 0 0 var(--space-4); }
.bookmark-wide[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-accent-soft); color: var(--color-accent); }
@media (forced-colors: active) {
  .bookmark-icon, .bookmark:hover .bookmark-icon, .bookmark[aria-pressed="true"] .bookmark-icon { forced-color-adjust: none; background-color: ButtonText; }
}
/* What changed in a bookmark since the last visit to /favoritos. */
.bookmark-news { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; font-weight: var(--weight-medium); }
/* A short message from bookmarks.js, over the bottom of the page. */
.toast {
  position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 10;
  max-width: var(--size-narrow); margin: 0 auto; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md); background: var(--color-ink); color: var(--color-bg);
  box-shadow: var(--shadow-card); font-weight: var(--weight-medium);
}
.toast[hidden] { display: none; }
