/* Benalmádena Abierta · refinamiento de las vistas React existentes.
   Cargar después de app.css. Alcance exclusivo: .ba-refined #root.
   No modifica contenido, orden editorial, estados hidden ni comportamiento.
   Unidades rem para respetar A+; contraste mediante los controles existentes. */
.ba-refined #root {
  --rf-ink: #15344b;
  --rf-muted: #486173;
  --rf-blue: #075581;
  --rf-line: #dbe6ed;
  --rf-soft: #f3f7fa;
  --rf-paper: #fff;
  --rf-shadow: 0 4px 18px rgb(21 52 75 / 5%);
  --ink: var(--rf-ink);
  --muted: var(--rf-muted);
  --teal: var(--rf-blue);
  --line: var(--rf-line);
  --soft: #edf5fa;
  --paper: var(--rf-soft);
  color: var(--rf-ink);
  background: var(--rf-soft);
  font: 1rem/1.65 Arial, Helvetica, sans-serif;
}
.ba-refined #root main { padding-top: 2rem; padding-bottom: 3rem; min-width: 0; }
.ba-refined #root :is(p, li, dd) { text-align: left; }
.ba-refined #root :is(h1, h2, h3) { color: var(--rf-ink); text-wrap: pretty; }
.ba-refined #root :is(.eyebrow, .ac-eyebrow) { color: var(--rf-blue); font-size: .875rem; line-height: 1.5; letter-spacing: .065em; }
.ba-refined #root :is(.meta, .card-published, .filter-count, .source-line, figcaption) { font-size: .875rem; line-height: 1.6; color: var(--rf-muted); }
.ba-refined #root .standfirst { font-size: 1.2rem; line-height: 1.65; color: var(--rf-muted); }
.ba-refined #root :is(.source-link, .archive-link, .event-correction, .business-correction) { color: var(--rf-blue); font-size: 1rem; text-decoration: underline; text-underline-offset: .2em; }
.ba-refined #root :is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--rf-blue); outline-offset: 4px; }
.ba-refined #root :is(.button, .outline, .ac-button) { min-height: 2.8rem; padding: .7rem 1rem; border-radius: .5rem; font: 700 1rem/1.45 Arial, Helvetica, sans-serif; text-align: center; }
.ba-refined #root .button { background: var(--rf-blue); color: #fff; }
.ba-refined #root .outline { border: 1px solid #b5cddb; background: var(--rf-paper); color: var(--rf-blue); }
.ba-refined #root :is(.button, .outline, .ac-button):hover:not(:disabled) { box-shadow: 0 2px 9px rgb(21 52 75 / 9%); }
.ba-refined #root :is(.back, .text-button) { min-height: 2.75rem; font-size: .9375rem; color: var(--rf-blue); }
.ba-refined #root .section-title { gap: 1rem; margin-top: 2rem; margin-bottom: 1.3rem; }
.ba-refined #root .section-title h2 { font: 600 clamp(1.65rem, 2.6vw, 2.1rem)/1.2 Georgia, serif; margin: .35rem 0; }
.ba-refined #root .section-title > span { font-size: .875rem; color: var(--rf-muted); }

/* Encabezados y listados: la información breve sigue visible en móvil. */
.ba-refined #root :is(main > .section-heading, .agenda-page > .section-heading, .employment-intro) {
  background: var(--rf-paper); border: 1px solid var(--rf-line); border-left: 5px solid var(--rf-blue);
  border-radius: 1rem; padding: 2rem 2.5rem; margin: 0 0 1.75rem; box-shadow: var(--rf-shadow);
}
.ba-refined #root :is(.section-heading h1, .community-page > h1, .form-page > h1, .employment-intro h1) {
  font: 600 clamp(2.4rem, 4.5vw, 4rem)/1.1 Georgia, serif; letter-spacing: -.035em; margin: .6rem 0 1rem;
}
.ba-refined #root .municipal-intro { font-size: 1.0625rem; color: var(--rf-muted); line-height: 1.7; }
.ba-refined #root :is(.community-page, .agenda-page) { padding: .5rem 0 2rem; }
.ba-refined #root .community-page > :is(.standfirst, .archive-note) { max-width: 76ch; }
.ba-refined #root .topics { padding: .35rem 0 1.75rem; gap: .6rem; font-size: .875rem; }
.ba-refined #root .topics button { font-size: .9375rem; min-height: 2.5rem; padding: .5rem .85rem; background: var(--rf-paper); border-color: #b9cfdd; }
.ba-refined #root .topics button.chosen { background: var(--rf-blue); color: #fff; border-color: var(--rf-blue); }
.ba-refined #root .cards-grid { gap: 1.5rem; align-items: stretch; }
.ba-refined #root .cards-grid .news-card { min-width: 0; padding: 0; background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: .75rem; box-shadow: var(--rf-shadow); }
.ba-refined #root .cards-grid .news-card > a { height: 100%; }
.ba-refined #root .cards-grid :is(.news-card img, .photo-placeholder) { border-radius: .7rem .7rem 0 0; }
.ba-refined #root .cards-grid .card-text { padding: 1.2rem 1.35rem 1.4rem; }
.ba-refined #root .cards-grid .news-card h2 { font: 600 1.55rem/1.24 Georgia, serif; margin: .6rem 0 .8rem; }
.ba-refined #root .cards-grid .news-card p:not([hidden]) { display: block; font-size: 1rem; line-height: 1.65; margin: 0 0 .9rem; color: var(--rf-muted); }
.ba-refined #root .cards-grid :is(.eyebrow, .meta, .card-published) { font-size: .875rem; }
.ba-refined #root :is(.archive-filters, .news-archive-filters, .employment-toolbar, .event-filters) {
  background: #eaf2f7; border: 1px solid var(--rf-line); border-radius: .75rem; padding: 1.3rem; gap: 1rem; margin: 1.5rem 0;
}
.ba-refined #root :is(.archive-filters, .news-archive-filters, .employment-toolbar, .event-filters) label { font-size: 1rem; font-weight: 600; }
.ba-refined #root :is(.archive-note, .employment-validity) { font-size: 1rem; line-height: 1.65; }
.ba-refined #root :is(.search, .employment-search) { min-width: 0; }
.ba-refined #root :is(.search input, .archive-filters input, .archive-filters select, .news-archive-filters input, .news-archive-filters select, .event-filters input:not([type="checkbox"]), .event-filters select, .employment-search input) {
  min-width: 0; min-height: 2.8rem; padding: .7rem .8rem; border: 1px solid #a9c1d1; border-radius: .45rem; background: var(--rf-paper); color: var(--rf-ink); font: 1rem/1.45 Arial, sans-serif;
}

/* Artículos: una columna de lectura, créditos y comprobaciones separados. */
.ba-refined #root .article-page { max-width: 66rem; margin: 0 auto; padding: 2rem 3rem 3rem; background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: 1rem; box-shadow: var(--rf-shadow); }
.ba-refined #root .article-page > h1 { font: 600 clamp(2.25rem, 4.2vw, 3.8rem)/1.1 Georgia, serif; letter-spacing: -.035em; margin: .9rem 0 1.2rem; }
.ba-refined #root .article-page > .eyebrow { margin-top: .75rem; }
.ba-refined #root .article-page .kind:not([hidden]) { display: inline-block; font-size: .875rem; line-height: 1.5; letter-spacing: 0; }
.ba-refined #root .article-page > .standfirst { max-width: 70ch; margin-bottom: 1.5rem; }
.ba-refined #root .byline { gap: .85rem; padding: 1.1rem 0; border-top-color: var(--rf-line); }
.ba-refined #root .byline strong { font-size: 1rem; }
.ba-refined #root .byline span { font-size: .875rem; line-height: 1.6; }
.ba-refined #root .article-page > figure { margin: 1.5rem 0 2rem; }
.ba-refined #root .article-page > figure > img { border-radius: .75rem; }
.ba-refined #root .article-page figcaption { padding: .75rem 0 0; line-height: 1.6; }
.ba-refined #root .article-page figcaption a { color: var(--rf-blue); text-decoration: underline; text-underline-offset: .2em; }
.ba-refined #root .reading { max-width: 46.25rem; min-width: 0; }
.ba-refined #root .reading > p, .ba-refined #root .reading .reportage-section > p { font: 1.25rem/1.85 Georgia, serif; color: var(--rf-ink); margin: 1.3rem 0; text-align: left; }
.ba-refined #root .reportage-section h2 { font: 600 1.85rem/1.25 Georgia, serif; margin: 2rem 0 1rem; }
.ba-refined #root .article-comments-link:not([hidden]) { display: inline-block; min-height: 2.75rem; font-size: 1rem; color: var(--rf-blue); text-decoration: underline; text-underline-offset: .2em; }
.ba-refined #root :is(.context, .editorial-disclosure, .article-update-history) { background: var(--rf-soft); border: 1px solid var(--rf-line); border-left: 4px solid var(--rf-blue); border-radius: .75rem; padding: 1.4rem 1.5rem; }
.ba-refined #root :is(.context p, .editorial-disclosure, .article-update-history p) { font-size: 1rem; line-height: 1.7; }
.ba-refined #root .article-update-badge { font-size: .875rem; }
.ba-refined #root .article-update-badge > span { border-radius: .4rem; }
.ba-refined #root .article-update-history :is(time, .article-update-origin) { font-size: .875rem; }
.ba-refined #root .sources { padding: 1.4rem 1.5rem; background: var(--rf-soft); border: 1px solid var(--rf-line); border-radius: .75rem; margin: 2rem 0; }
.ba-refined #root .sources h3 { font: 600 1.6rem/1.25 Georgia, serif; margin: 0 0 1rem; }
.ba-refined #root .sources > a:not([hidden]) { display: block; padding: .85rem 0; color: var(--rf-blue); font-size: 1rem; line-height: 1.55; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.ba-refined #root .sources > a + a { border-top: 1px solid var(--rf-line); }
.ba-refined #root .sources small:not([hidden]) { display: block; font-size: .875rem; color: var(--rf-muted); text-decoration: none; }
.ba-refined #root .observer-note { margin: 2.5rem 0; padding: 1.65rem; background: #edf5fa; border: 1px solid #c8dce8; border-top: 4px solid #b58b26; border-radius: .85rem; }
.ba-refined #root .observer-heading h2 { font: 600 2.1rem/1.17 Georgia, serif; margin: .65rem 0; }
.ba-refined #root .observer-heading > p { font-size: .875rem; }
.ba-refined #root .observer-note > section { margin-top: 1.2rem; padding: 1.2rem 1.3rem; border: 1px solid var(--rf-line); border-radius: .6rem; background: var(--rf-paper); }
.ba-refined #root .observer-note > section h3 { font: 600 1.4rem/1.3 Georgia, serif; margin: 0 0 .7rem; }
.ba-refined #root .reading .observer-note p { font: 1rem/1.75 Arial, sans-serif; color: var(--rf-ink); }
.ba-refined #root .observer-evidence :is(summary, ul), .ba-refined #root .observer-corrections p { font-size: 1rem; line-height: 1.65; }
.ba-refined #root :is(.observer-evidence, .correction) summary { min-height: 2.75rem; padding-top: .35rem; }
.ba-refined #root .editorial-seal { border-radius: .5rem; }
.ba-refined #root .editorial-seal > span:last-child { font-size: .875rem; }
.ba-refined #root .editorial-seal small { font-size: .875rem; line-height: 1.4; }
.ba-refined #root .correction { padding: 1.1rem 0 0; margin-top: 1.5rem; font-size: 1rem; border-color: var(--rf-line); }

/* Compartir: se conservan todos los destinos y los estados deshabilitados. */
.ba-refined #root .article-share { background: var(--rf-soft); border-color: var(--rf-line); border-radius: .75rem; padding: 1rem; }
.ba-refined #root .article-share-heading > strong { font-size: 1rem; color: var(--rf-ink); }
.ba-refined #root .article-share-action { border-color: #bdcfdb; border-radius: .5rem; background: var(--rf-paper); box-shadow: none; min-height: 3.5rem; }
.ba-refined #root .article-share-label > strong { font-size: .9375rem; line-height: 1.35; }
.ba-refined #root .article-share-label > small { font-size: .875rem; color: var(--rf-muted); line-height: 1.4; }
.ba-refined #root .article-share-image-shortcut { font-size: .9375rem; min-height: 2.75rem; }
.ba-refined #root .article-share--compact .article-share-action { padding: .6rem; min-height: 3.4rem; }
.ba-refined #root .article-share--compact .article-share-label > strong { font-size: .9375rem; }
.ba-refined #root .article-share-status { font-size: .875rem; line-height: 1.5; }

/* Participación: opinión y hechos mantienen sus avisos y controles propios. */
.ba-refined #root :is(.comments-block, .credibility-panel) { background: var(--rf-paper); border: 1px solid var(--rf-line); border-top: 4px solid var(--rf-blue); border-radius: .85rem; box-shadow: var(--rf-shadow); padding: 1.6rem; margin: 2rem 0; font-size: 1rem; }
.ba-refined #root .comments-block { --ac-ink: var(--rf-ink); --ac-muted: var(--rf-muted); --ac-blue: var(--rf-blue); --ac-line: var(--rf-line); }
.ba-refined #root :is(.ac-heading, .ac-comment header) { max-width: none; width: auto; padding: 0; margin-left: 0; margin-right: 0; }
.ba-refined #root :is(.ac-heading h2, .credibility-panel h2) { font: 600 1.85rem/1.2 Georgia, serif; margin: .5rem 0 .8rem; }
.ba-refined #root .reading .credibility-panel p { font: 1rem/1.65 Arial, sans-serif; }
.ba-refined #root :is(.ac-count, .ac-comment time, .ac-form-meta, .ac-form-heading p, .ac-rules, .confidence-row, .credibility-average > span, .reading .credibility-panel .meta) { font-size: .875rem; line-height: 1.6; }
.ba-refined #root .ac-comment { background: var(--rf-soft); border: 1px solid var(--rf-line); border-radius: .65rem; padding: 1.15rem; }
.ba-refined #root .ac-comment > p { font: 1rem/1.75 Arial, sans-serif; }
.ba-refined #root :is(.ac-form, .ac-access) { padding: 1.25rem; border-color: var(--rf-line); border-radius: .65rem; background: var(--rf-soft); }
.ba-refined #root .ac-form textarea { font-size: 1rem; border-color: #a9c1d1; }
.ba-refined #root .ac-form > .ac-consent { font-size: 1rem; }
.ba-refined #root .credibility-average strong { font-size: 2.6rem; color: var(--rf-blue); }
.ba-refined #root .confidence-row > small { font-size: .875rem; color: var(--rf-muted); }
.ba-refined #root .confidence-vote legend { font-size: 1rem; }
.ba-refined #root .confidence-vote label { border-color: #b5cbd9; border-radius: .5rem; padding: .8rem .35rem; }
.ba-refined #root .confidence-vote label.selected { border-color: var(--rf-blue); padding: calc(.8rem - 1px) calc(.35rem - 1px); }
.ba-refined #root .confidence-vote .vote-number { font-size: 1.45rem; }
.ba-refined #root .confidence-vote .vote-label { font-size: .875rem; line-height: 1.4; }
.ba-refined #root .confidence-vote label:has(input:focus-visible) { outline: 3px solid var(--rf-blue); outline-offset: 3px; }

/* Negocios: identidad completa, imágenes sin recortar y contacto legible. */
.ba-refined #root .business-detail { margin-top: 0; }
.ba-refined #root .business-hero { background: var(--rf-paper); border-color: var(--rf-line); border-left: 5px solid var(--rf-blue); box-shadow: var(--rf-shadow); border-radius: 1rem; padding: 2rem; gap: 2rem; }
.ba-refined #root .business-intro h1 { color: var(--rf-ink); font: 600 clamp(2.3rem, 4.2vw, 3.6rem)/1.1 Georgia, serif; letter-spacing: -.035em; }
.ba-refined #root .business-intro .business-tagline { font-size: 1.25rem; }
.ba-refined #root .business-intro > p { font-size: 1rem; color: var(--rf-muted); }
.ba-refined #root .business-identity { border-color: var(--rf-line); border-radius: .7rem; }
.ba-refined #root .business-identity > img { object-fit: contain; }
.ba-refined #root :is(.business-identity figcaption, .business-story-photo figcaption, .business-hero-actions > span, .business-publication) { font-size: .875rem; line-height: 1.6; color: var(--rf-muted); }
.ba-refined #root .business-story { padding: 1.6rem 1.8rem; background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: .85rem; box-shadow: var(--rf-shadow); }
.ba-refined #root :is(.business-services h2, .business-story-copy h2, .business-contact h2) { font: 600 1.8rem/1.25 Georgia, serif; color: var(--rf-ink); }
.ba-refined #root .business-services li { font-size: 1rem; padding: .6rem .8rem; border-color: var(--rf-line); border-radius: .5rem; }
.ba-refined #root .business-story-copy > p { font: 1.2rem/1.85 Georgia, serif; color: var(--rf-ink); }
.ba-refined #root .business-story-photo > img { object-fit: contain; border-radius: .7rem; background: var(--rf-soft); }
.ba-refined #root .business-contact { background: var(--rf-paper); border-color: var(--rf-line); border-top: 4px solid var(--rf-blue); border-radius: .85rem; box-shadow: var(--rf-shadow); padding: 1.5rem; }
.ba-refined #root .business-contact > p, .ba-refined #root .business-contact dl { font-size: 1rem; color: var(--rf-muted); line-height: 1.65; }
.ba-refined #root :is(.business-primary, .business-web, .business-email) { font-size: 1rem; min-height: 2.9rem; border-radius: .5rem; }
.ba-refined #root .business-primary { background: var(--rf-blue); }
.ba-refined #root .business-contact-actions a small, .ba-refined #root .business-contact .business-contact-note { font-size: .875rem; }
.ba-refined #root .business-publication summary { min-height: 2.75rem; font-size: 1rem; }
.ba-refined #root .business-publication a { color: var(--rf-blue); text-decoration: underline; text-underline-offset: .2em; }

/* Agenda, plenos y servicios: tarjetas útiles, fechas y acciones claras. */
.ba-refined #root .agenda-layout { gap: 1.5rem; }
.ba-refined #root .calendar-panel { background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: .85rem; box-shadow: var(--rf-shadow); padding: 1.25rem; }
.ba-refined #root .calendar-heading h2 { font: 600 1.5rem/1.25 Georgia, serif; margin: 0 0 1rem; }
.ba-refined #root .calendar-nav { gap: .5rem; }
.ba-refined #root .calendar-nav button { font-size: .875rem; min-height: 2.75rem; padding: .5rem; border-radius: .45rem; background: var(--rf-soft); color: var(--rf-blue); }
.ba-refined #root .calendar-grid { gap: .25rem; margin: 1rem 0; }
.ba-refined #root .calendar-grid button { min-height: 2.75rem; height: auto; padding: .6rem .15rem; font-size: 1rem; border-radius: .4rem; }
.ba-refined #root .calendar-grid .selected-day { background: var(--rf-blue); color: #fff; }
.ba-refined #root .calendar-grid .week-day { font-size: .875rem; }
.ba-refined #root .calendar-grid small { font-size: .875rem; }
.ba-refined #root .calendar-panel .agenda-reference:not([hidden]) { display: block; margin-top: 1.5rem; border-top: 1px solid var(--rf-line); padding-top: 1rem; }
.ba-refined #root .agenda-reference :is(p, a) { font-size: 1rem; }
.ba-refined #root .event-filters { margin-top: 0; }
.ba-refined #root .event-card { margin: 0 0 1.25rem; padding: 1.5rem; border: 1px solid var(--rf-line); border-radius: .85rem; background: var(--rf-paper); box-shadow: var(--rf-shadow); }
.ba-refined #root .event-card h3 { font: 600 1.8rem/1.25 Georgia, serif; margin: .8rem 0; }
.ba-refined #root .event-when { color: var(--rf-blue); font-size: 1.0625rem; font-weight: 700; }
.ba-refined #root .event-card :is(p, dl) { font-size: 1rem; line-height: 1.65; }
.ba-refined #root .event-card .meta { font-size: .875rem; }
.ba-refined #root .event-card dl { background: var(--rf-soft); border-radius: .5rem; padding: 1rem; grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr); }
.ba-refined #root .event-free { font-size: .875rem; }
.ba-refined #root .service-grid { gap: 1.2rem; }
.ba-refined #root .service-grid article { background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: .85rem; box-shadow: var(--rf-shadow); padding: 1.5rem; }
.ba-refined #root .service-symbol:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .7rem; background: #edf5fa; color: var(--rf-blue); }
.ba-refined #root .service-grid .webcam-service { grid-template-columns: 2.75rem minmax(0, 1fr) auto; }
.ba-refined #root .service-grid h3 { font: 600 1.55rem/1.25 Georgia, serif; }
.ba-refined #root .service-grid :is(p, .button) { font-size: 1rem; line-height: 1.6; }
.ba-refined #root .service-grid .meta { font-size: .875rem; }
.ba-refined #root .webcam-options a { padding: 1rem; font-size: 1rem; border-radius: .6rem; background: var(--rf-soft); border-color: var(--rf-line); }
.ba-refined #root .civic-lead { background: var(--rf-paper); border: 1px solid var(--rf-line); border-top: 4px solid var(--rf-blue); border-radius: .85rem; box-shadow: var(--rf-shadow); padding: 1.75rem; }
.ba-refined #root .civic-lead h2 { font: 600 1.9rem/1.2 Georgia, serif; }
.ba-refined #root .civic-lead h3 { font: 600 1.55rem/1.25 Georgia, serif; }
.ba-refined #root .civic-lead p { font-size: 1rem; }
.ba-refined #root .plenary-countdown { background: #eaf3f9; border-color: #c6dce9; border-radius: .85rem; padding: 1.6rem; }
.ba-refined #root .plenary-countdown-copy h2 { font-size: 1.7rem; }
.ba-refined #root .plenary-countdown-copy p { font-size: 1rem; }
.ba-refined #root :is(.plenary-countdown-copy p span, .plenary-countdown-links, .plenary-countdown-digits span) { font-size: .875rem; }
.ba-refined #root .plenary-countdown-digits strong { font-size: 2rem; }
.ba-refined #root .plenary-list:not([hidden]) { display: grid; gap: 1rem; }
.ba-refined #root .plenary-row { padding: 1.4rem 1.5rem; background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: .75rem; box-shadow: var(--rf-shadow); }
.ba-refined #root .plenary-row strong { font: 600 1.5rem/1.3 Georgia, serif; font-variant-numeric: tabular-nums; color: var(--rf-blue); }
.ba-refined #root .plenary-row span { font-size: .9375rem; }
.ba-refined #root .club-card { padding: 1.4rem; border: 1px solid var(--rf-line); border-radius: .75rem; background: var(--rf-paper); box-shadow: var(--rf-shadow); }
.ba-refined #root .club-card h3 { font: 600 1.5rem/1.25 Georgia, serif; }
.ba-refined #root .club-card a { color: var(--rf-blue); font-size: 1rem; text-decoration: underline; text-underline-offset: .2em; }

/* Empleo, criterio y formularios: conservar información y estados reales. */
.ba-refined #root .employment-page { padding-top: .5rem; }
.ba-refined #root .employment-intro { gap: 2rem; }
.ba-refined #root .employment-guide { background: var(--rf-soft); border-color: var(--rf-line); border-top-color: #b58b26; border-radius: .75rem; padding: 1.4rem; }
.ba-refined #root .employment-guide h2 { font: 600 1.75rem/1.25 Georgia, serif; }
.ba-refined #root :is(.employment-guide p, .employment-listing p, .employment-source p, .employment-news-grid p, .employment-empty p) { font-size: 1rem; line-height: 1.7; }
.ba-refined #root :is(.employment-small, .employment-results-count, .employment-listing time, .employment-kind, .employment-byline, .employment-section-heading > span) { font-size: .875rem; line-height: 1.6; }
.ba-refined #root .employment-section-heading { border-top: 1px solid var(--rf-line); padding-top: 1.6rem; margin-top: 2rem; }
.ba-refined #root .employment-section-heading h2 { font: 600 1.9rem/1.22 Georgia, serif; }
.ba-refined #root .employment-filters button { font-size: 1rem; min-height: 2.8rem; border-radius: .5rem; }
.ba-refined #root .employment-filters button span { font-size: .875rem; }
.ba-refined #root :is(.employment-listing, .employment-source, .employment-news-grid > article, .employment-empty) { border: 1px solid var(--rf-line); background: var(--rf-paper); border-radius: .75rem; box-shadow: var(--rf-shadow); padding: 1.5rem; }
.ba-refined #root .employment-listing { border-top: 4px solid var(--rf-blue); }
.ba-refined #root .employment-listing.employment-seeker { border-top-color: #b58b26; }
.ba-refined #root :is(.employment-listing, .employment-source, .employment-news-grid > article, .employment-empty) h3 { font: 600 1.7rem/1.25 Georgia, serif; }
.ba-refined #root :is(.employment-read, .employment-source > a) { font-size: 1rem; }
.ba-refined #root .employment-news-grid .eyebrow { font-size: .875rem; }
.ba-refined #root .form-page { max-width: 58rem; background: var(--rf-paper); border: 1px solid var(--rf-line); border-radius: 1rem; box-shadow: var(--rf-shadow); padding: 2rem 2.5rem; }
.ba-refined #root .form-page .panel { box-shadow: none; background: var(--rf-soft); }
.ba-refined #root .panel { border: 1px solid var(--rf-line); border-radius: .75rem; padding: 1.6rem; background: var(--rf-paper); box-shadow: var(--rf-shadow); }
.ba-refined #root .panel h2 { font: 600 1.8rem/1.25 Georgia, serif; }
.ba-refined #root :is(.panel p, .form-page label, .employment-fields label, .employment-fields > p) { font-size: 1rem; line-height: 1.65; }
.ba-refined #root :is(.form-page input:not([type="checkbox"]):not([type="radio"]), .form-page select, .form-page textarea, .correction input:not([type="checkbox"]), .correction textarea) { font: 1rem/1.6 Arial, sans-serif; min-height: 2.8rem; border: 1px solid #aac2d1; border-radius: .5rem; padding: .75rem .85rem; background: var(--rf-paper); color: var(--rf-ink); }
.ba-refined #root .form-page .check { font-size: 1rem; gap: .7rem; align-items: flex-start; }
.ba-refined #root .employment-fields { border-color: var(--rf-line); border-radius: .75rem; padding: 1.3rem; }
.ba-refined #root .employment-fields label small { font-size: .875rem; }
.ba-refined #root .form-page.prose > p { font-size: 1.125rem; line-height: 1.8; max-width: 74ch; }
.ba-refined #root .form-page.prose > h2 { font: 600 1.8rem/1.25 Georgia, serif; margin: 2rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--rf-line); }
.ba-refined #root .editorial-method { max-width: 62rem; margin: auto; }
.ba-refined #root .editorial-method > p { font-size: 1.0625rem; line-height: 1.8; max-width: 76ch; }
.ba-refined #root .editorial-method > h2 { font: 600 1.85rem/1.25 Georgia, serif; margin: 2rem 0 1rem; }
.ba-refined #root .seal-guide { gap: 1rem; margin: 2rem 0; }
.ba-refined #root .seal-guide > article { padding: 1.4rem; border: 1px solid var(--rf-line); border-radius: .75rem; background: var(--rf-paper); box-shadow: var(--rf-shadow); }
.ba-refined #root .seal-guide p { font-size: 1rem; line-height: 1.7; }

/* Accesibilidad: A+ hereda rem; contraste no depende de la sombra. */
html.ba-contrast .ba-refined #root { --rf-ink: #102b3e; --rf-muted: #183d55; --rf-blue: #06456b; --rf-line: #829ba9; --rf-soft: #edf3f7; --rf-shadow: none; }
html.ba-contrast .ba-refined #root :is(.outline, .article-share-action, .confidence-vote label, input, select, textarea) { border-color: #648197; }
html.ba-contrast .ba-refined #root :is(.observer-note, .employment-guide) { border-top-color: #76570e; }

@media (max-width: 1000px) {
  .ba-refined #root .article-page { padding: 1.8rem 2rem 2.5rem; }
  .ba-refined #root .employment-intro { grid-template-columns: 1fr; }
  .ba-refined #root .news-archive-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-refined #root .news-archive-filters label:last-of-type { grid-column: 1 / -1; }
  .ba-refined #root .business-content-layout { gap: 1.5rem; grid-template-columns: minmax(0, 1fr) 18rem; }
  .ba-refined #root .business-story { padding: 1.4rem; }
  .ba-refined #root .plenary-row { align-items: flex-start; }
}
@media (max-width: 700px) {
  .ba-refined #root main { padding-top: 1.3rem; }
  .ba-refined #root :is(main > .section-heading, .agenda-page > .section-heading, .employment-intro, .form-page) { padding: 1.4rem 1.2rem; }
  .ba-refined #root :is(.section-heading h1, .community-page > h1, .form-page > h1, .employment-intro h1) { font-size: clamp(2.1rem, 7.5vw, 2.8rem); }
  .ba-refined #root .section-heading .search { margin-top: 1rem; width: 100%; }
  .ba-refined #root .section-title { align-items: flex-start; flex-wrap: wrap; }
  .ba-refined #root .standfirst { font-size: 1.125rem; }
  .ba-refined #root .cards-grid { gap: 1.15rem; }
  .ba-refined #root .cards-grid .news-card > a:not([hidden]) { display: block; }
  .ba-refined #root .cards-grid :is(.news-card img, .photo-placeholder) { height: 12.5rem; width: 100%; }
  .ba-refined #root .cards-grid .card-text { padding: 1rem 1.15rem 1.2rem; }
  .ba-refined #root .cards-grid .news-card h2 { font-size: 1.5rem; }
  .ba-refined #root .cards-grid .news-card p:not([hidden]) { display: block; }
  .ba-refined #root .article-page { padding: 1.35rem 1.15rem 2rem; border-radius: .8rem; }
  .ba-refined #root .article-page > h1 { font-size: clamp(2.05rem, 7.5vw, 2.7rem); }
  .ba-refined #root .article-page .kind { margin: .5rem 0 0; padding: 0; border-left: 0; }
  .ba-refined #root .article-page .byline { align-items: flex-start; }
  .ba-refined #root .reading > p, .ba-refined #root .reading .reportage-section > p { font-size: 1.125rem; line-height: 1.8; }
  .ba-refined #root :is(.observer-note, .sources, .context, .article-update-history, .comments-block, .credibility-panel) { padding: 1.15rem; }
  .ba-refined #root .observer-note > section { padding: 1rem; }
  .ba-refined #root .observer-heading h2 { font-size: 1.8rem; }
  .ba-refined #root .article-share { padding: .8rem; }
  .ba-refined #root :is(.article-share-actions, .article-share--compact .article-share-actions) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .ba-refined #root .article-share-action:nth-child(-n+3), .ba-refined #root .article-share-link { grid-column: auto; }
  .ba-refined #root .article-share-image { grid-column: 1 / -1; }
  .ba-refined #root .article-share-action { padding: .65rem .5rem; gap: .45rem; }
  .ba-refined #root .article-share-label > strong { font-size: .875rem; }
  .ba-refined #root .article-share-label > small { font-size: .875rem; }
  .ba-refined #root .ac-heading { flex-wrap: wrap; gap: .75rem; }
  .ba-refined #root :is(.ac-form, .ac-access) { padding: 1rem; }
  .ba-refined #root .confidence-vote > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-refined #root .business-hero { grid-template-columns: 1fr; padding: 1.35rem; gap: 1.35rem; }
  .ba-refined #root .business-content-layout:not([hidden]) { display: flex; flex-direction: column; gap: 1.25rem; }
  .ba-refined #root .business-story { width: 100%; padding: 1.25rem; }
  .ba-refined #root .business-contact { position: static; width: 100%; padding: 1.3rem; }
  .ba-refined #root .business-story-copy > p { font-size: 1.125rem; }
  .ba-refined #root .agenda-layout { grid-template-columns: 1fr; }
  .ba-refined #root .calendar-panel { position: static; }
  .ba-refined #root .calendar-panel .agenda-reference:not([hidden]) { display: block; }
  .ba-refined #root .event-filters { grid-template-columns: 1fr; padding: 1rem; }
  .ba-refined #root .event-card { padding: 1.2rem; }
  .ba-refined #root .event-card h3 { font-size: 1.6rem; }
  .ba-refined #root .service-grid article { padding: 1.3rem; }
  .ba-refined #root .service-grid .webcam-service { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .ba-refined #root .civic-lead { grid-template-columns: 1fr; padding: 1.3rem; }
  .ba-refined #root .civic-lead > div + div { border-left: 0; border-top: 1px solid var(--rf-line); padding: 1.2rem 0 0; }
  .ba-refined #root .plenary-countdown { grid-template-columns: 1fr; padding: 1.3rem; }
  .ba-refined #root .plenary-row:not([hidden]) { display: block; padding: 1.2rem; }
  .ba-refined #root .plenary-row .share { margin-top: 1rem; }
  .ba-refined #root .employment-toolbar { align-items: stretch; flex-direction: column; padding: 1rem; }
  .ba-refined #root .employment-search { width: 100%; }
  .ba-refined #root :is(.employment-listings, .employment-source-grid, .employment-news-grid, .employment-field-grid) { grid-template-columns: 1fr; }
  .ba-refined #root :is(.employment-listing, .employment-source, .employment-news-grid > article, .employment-empty, .panel, .seal-guide > article) { padding: 1.2rem; }
  .ba-refined #root .employment-section-heading { align-items: flex-start; flex-direction: column; }
  .ba-refined #root .employment-section-heading > span { white-space: normal; }
}
@media (max-width: 420px) {
  .ba-refined #root .news-archive-filters { grid-template-columns: 1fr; }
  .ba-refined #root .news-archive-filters label { grid-column: auto; }
  .ba-refined #root .event-card dl { grid-template-columns: 1fr; gap: .25rem; }
  .ba-refined #root .event-card dd { margin-bottom: .65rem; }
  .ba-refined #root .business-contact-actions { grid-template-columns: 1fr; }
  .ba-refined #root .article-share-icon { flex-basis: 1.4rem; width: 1.4rem; }
  .ba-refined #root .article-share-icon svg { width: 1.3rem; height: 1.3rem; }
}
@media (forced-colors: active) {
  .ba-refined #root :is(.news-card, .article-page, .business-hero, .business-story, .business-contact, .event-card, .plenary-row, .service-grid article, .club-card, .employment-listing, .employment-source, .panel, .form-page, .comments-block, .credibility-panel) { border-color: CanvasText; box-shadow: none; }
  .ba-refined #root :is(.calendar-grid .selected-day, .topics button.chosen, .employment-filters button[aria-pressed="true"]) { color: HighlightText; background: Highlight; }
}
