/* The GovCheck agent on a public report (2026-11-11). */
.sra { margin: 1.2rem 0; padding: 1.1rem 1.2rem; border: 1px solid #d9d4fb; border-radius: 14px; background: linear-gradient(180deg, #f8f7ff 0, #fff 160px); box-shadow: 0 2px 10px rgba(75, 47, 201, .06); }
.sra__head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.sra__head h2 { margin: 0; font-size: 1.2rem; color: #0b2a45; }
.sra__head p { margin: .1rem 0 0; font-size: .84rem; color: #4b5563; }
.sra__avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: linear-gradient(135deg, #0077be, #7b4dff); color: #fff; font-weight: 800; letter-spacing: .03em; box-shadow: 0 4px 12px rgba(123, 77, 255, .3); }
.sra__live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: #4b2fc9; }
.sra__live i { width: .5rem; height: .5rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: sra-pulse 2s infinite; }
@keyframes sra-pulse { 70% { box-shadow: 0 0 0 .45rem rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.sra__pulse { animation: sra-fade 1.3s ease-in-out infinite alternate; }
@keyframes sra-fade { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sra__live i, .sra__pulse { animation: none; } }
.sra__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0; padding: 0; }
.sra-chip { display: flex; flex-direction: column; padding: .4rem .7rem; border: 1px solid #e5e9ee; border-radius: 10px; background: #fff; }
.sra-chip span { font-size: .66rem; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.sra-chip b { font-size: .84rem; color: #0b2a45; }
.sra-chip--bad { border-color: #f3c6c1; background: #fdf4f3; }
.sra-chip--bad b { color: #b42318; }
.sra-chip--ok { border-color: #bfe5cd; background: #f1faf4; }
.sra-chip--mid { border-color: #f5dfa0; background: #fffaeb; }
.sra-chip--muted b { color: #6b7280; font-weight: 600; }
.sra__ai { padding: .85rem 1rem; border-radius: 12px; background: #fff; border: 1px solid #ebe8fd; }
.sra__ai h3, .sra__box h3, .sra__ask h3 { margin: 0 0 .45rem; font-size: .95rem; color: #0b2a45; }
.sra__ai p { margin: 0 0 .4rem; font-size: .95rem; line-height: 1.55; }
.sra__ai h4 { margin: .5rem 0 .25rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: #4b2fc9; }
.sra__ai ol { margin: 0 0 .3rem; padding-left: 1.2rem; font-size: .9rem; line-height: 1.5; }
.sra__note { margin: .3rem 0 0; font-size: .74rem; color: #6b7280; }
.sra__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .6rem; margin: .8rem 0; }
.sra__box { padding: .75rem .85rem; border: 1px solid #e5e9ee; border-radius: 12px; background: #fff; font-size: .86rem; line-height: 1.5; }
.sra__box ul { margin: 0 0 .3rem; padding-left: 1.1rem; }
.sra__box p { margin: 0 0 .4rem; }
.sra__box a { font-weight: 600; font-size: .82rem; }
.sra__rain { list-style: none; padding: 0 !important; display: flex; gap: .5rem; }
.sra__rain li { flex: 1; display: flex; flex-direction: column; padding: .4rem .5rem; border-radius: 8px; background: #f2f8fd; }
.sra__rain span { font-size: .7rem; color: #6b7280; }
.sra__rain small { font-size: .7rem; color: #6b7280; }
.sra__act { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.sra__wa { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.sra__ask { padding-top: .8rem; border-top: 1px solid #ebe8fd; }
.sra__chipsq { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .5rem; }
.sra__q { padding: .3rem .7rem; border: 1px solid #d9d4fb; border-radius: 999px; background: #f8f7ff; color: #4b2fc9; font: inherit; font-size: .8rem; cursor: pointer; }
.sra__ask form { display: flex; gap: .4rem; }
.sra__ask input { flex: 1; min-width: 0; padding: .5rem .7rem; border: 1px solid #cfd8e3; border-radius: 8px; font: inherit; }
.sra__qq { margin: .6rem 0 .3rem; font-weight: 700; font-size: .86rem; color: #0b2a45; }
.sra__a { padding: .6rem .75rem; border-radius: 8px; background: #f8f7ff; font-size: .88rem; line-height: 1.55; }
/* Three columns on wide displays; the page scrolls (2026-11-11). */
.sr1 .ob-pj__kpis { display: none; }
.sr1 .ob-pj__body { padding-top: 1rem; }
.sr1__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.sr1__col { display: flex; flex-direction: column; gap: .8rem; }
.sr1__col > * { margin: 0 !important; }
.sr1 .sra { margin: 0; }
.sr1 .sra__grid { grid-template-columns: minmax(0, 1fr); }
.sr1 .gc-osm { height: 220px !important; }
.sr1 .sr-pub-list--compact .sr-pub-card__img { display: none; }
.sr1 .ob-pj__card { padding: .9rem 1rem; }
.sr1 .ob-pj__card h2 { font-size: 1.05rem; }
.sr1 .sra__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .7rem; }
.sr1 .sra__head .sra__live { grid-column: 1 / -1; margin: .4rem 0 0; }
.sr1 .sra__head h2 { font-size: 1.05rem; }

/* The header as the agent's control panel (2026-11-11). */
.srh-on { background: radial-gradient(1200px 400px at 85% -10%, rgba(123, 77, 255, .35), transparent 60%), linear-gradient(135deg, #0b2a45 0%, #0d3a63 55%, #0b2a45 100%) !important; color: #e6f0f8; min-height: 0 !important; }
.srh-on .ob-xhero__bg, .srh-on .ob-pj__media { display: none !important; }
.srh-on::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 28px 28px; }
.srh-on { position: relative; overflow: hidden; }
.srh-on .ob-pj__hero-inner { position: relative; z-index: 1; display: block !important; padding-top: 1.1rem !important; padding-bottom: 1.3rem !important; }
.srh { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: 1.6rem; align-items: start; max-width: none !important; }
.srh__main > a:first-child { display: inline-flex; margin-bottom: .6rem; border-color: rgba(255, 255, 255, .3) !important; color: #cfe3f3 !important; background: rgba(255, 255, 255, .06) !important; }
.srh__main > p { color: #8fc3ea !important; }
.srh__main .sr-pub__title { color: #fff !important; font-size: clamp(1.2rem, 1.1rem + .6vw, 1.6rem) !important; line-height: 1.3; margin: .3rem 0 .5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.srh__main .sr-pub__meta { color: #cfe3f3 !important; border-color: #4a9fd8 !important; background: rgba(255, 255, 255, .06) !important; }
.srh__main .sr-pub__meta a { color: #fff !important; }
.srh__ref { margin: .5rem 0 0; padding: .25rem .65rem; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 6px; background: none; color: #fff; font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .04em; cursor: copy; }
.srh__track { margin: 1rem 0 .9rem; max-width: 38rem; }
.srh__bar { height: .35rem; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.srh__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3ddc84, #4a9fd8); transition: width 1s ease; }
.srh__track ol { list-style: none; display: flex; justify-content: space-between; margin: .45rem 0 0; padding: 0; font-size: .78rem; color: #8fa9bf; }
.srh__track li { display: flex; align-items: center; gap: .35rem; }
.srh__track li span { display: inline-flex; align-items: center; justify-content: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: .7rem; font-weight: 700; }
.srh__track li.is-done { color: #fff; }
.srh__track li.is-done span { background: #3ddc84; color: #0b2a45; }
.srh__track li.is-now span { box-shadow: 0 0 0 .3rem rgba(61, 220, 132, .25); }
.srh__actions { display: flex !important; flex-wrap: wrap; gap: .45rem; margin: 0 !important; }
.srh__actions .btn { padding: .5rem 1rem !important; font-size: .76rem !important; box-shadow: none !important; }
.srh__actions .btn:not(:first-child) { border-color: rgba(255, 255, 255, .5) !important; color: #fff !important; background: transparent !important; }
.srh__panel { padding: 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(8px); }
.srh__live { display: flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #cfe3f3; }
.srh__ai { display: inline-flex; padding: .1rem .4rem; border-radius: 5px; background: linear-gradient(135deg, #0077be, #7b4dff); color: #fff; font-size: .68rem; }
.srh__live i { margin-left: auto; width: .5rem; height: .5rem; border-radius: 50%; background: #3ddc84; animation: sra-pulse 2s infinite; }
.srh__ring { --p: 0; display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.srh__ring b { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: radial-gradient(closest-side, #0d3a63 79%, transparent 80% 100%), conic-gradient(#f5b400 calc(var(--p) * 1%), rgba(255, 255, 255, .15) 0); color: #fff; font-size: 1.35rem; font-weight: 800; }
.srh__ring b small { font-size: .7rem; margin-left: .1rem; }
.srh__ring span { font-size: .8rem; color: #cfe3f3; }
.srh__rule { margin: 0 0 .7rem; padding: .4rem .6rem; border-radius: 8px; font-size: .78rem; }
.srh__rule--ok { background: rgba(61, 220, 132, .15); color: #c8f5da; }
.srh__rule--ko { background: rgba(231, 76, 60, .2); color: #ffd6d1; }
.srh__sig { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: 0; padding: 0; }
.srh__sig li { display: flex; flex-direction: column; padding: .45rem .55rem; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.srh__sig b { font-size: 1rem; color: #fff; }
.srh__sig span { font-size: .68rem; color: #9fbcd3; text-transform: uppercase; letter-spacing: .04em; }
.srh__sig--bad { background: rgba(231, 76, 60, .22) !important; }
.srh__sig--ok { background: rgba(61, 220, 132, .18) !important; }
.srh__sig--muted b { color: #9fbcd3; font-size: .86rem; }
@media (max-width: 860px) { .srh { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .srh__live i { animation: none; } .srh__bar i { transition: none; } }
.srh-on { height: auto !important; } .srh-on .ob-pj__hero-inner { min-height: 0 !important; }
/* One body size on the report page (owner: « certains body text are
   bigger than others »). */
.sr1 .sr1__grid .sr-pub__text, .sr1 .sr1__grid .sr-pub__text p, .sr1 .sr1__grid .sr-pub__orig, .sr1 .sr1__grid .sr-pub__orig p,
.sr1 .sr1__grid .sr-timeline, .sr1 .sr1__grid .sr-timeline p, .sr1 .sr1__grid .sr-timeline li,
.sr1 .sr1__grid .sra__ai p, .sr1 .sr1__grid .sra__ai ol, .sr1 .sr1__grid .sra__box, .sr1 .sr1__grid .sra__box p, .sr1 .sr1__grid .sra__a,
.sr1 .sr1__grid .ob-pj__facts dd, .sr1 .sr1__grid .sr-pub-card__problem, .sr1 .sr1__grid .sr-pub__privacy p, .sr1 .sr1__grid .ob-pj__card > p {
  font-size: .92rem !important; line-height: 1.55 !important;
}
.sr1 .sr1__grid .sr-timeline small, .sr1 .sr1__grid .sr-timeline time { font-size: .76rem !important; }
.srh-on, .srh-on .ob-pj__hero-inner { padding-bottom: 1.2rem !important; margin-bottom: 0 !important; }
.srh-on .ob-pj__hero-inner > :not(.ob-pj__copy) { display: none !important; }

/* No flash of the old design on report and project pages (2026-11-11,
   owner: « briefly I see the old design »): the header is dark from the
   first paint with nothing old in it, and the page below waits; both show
   once the agent has drawn them (body.srh-ready), or as they are after 4 s
   or if the agent fails (srh-off). */
:is(.ob-pj__hero, .sr-pub__hero):not(.srh-off) { background: radial-gradient(1200px 400px at 85% -10%, rgba(123, 77, 255, .35), transparent 60%), linear-gradient(135deg, #0b2a45 0%, #0d3a63 55%, #0b2a45 100%) !important; }
:is(.ob-pj__hero, .sr-pub__hero):not(.srh-off) :is(.ob-xhero__bg, .ob-pj__media) { display: none !important; }
:is(.ob-pj__hero, .sr-pub__hero):not(.srh-on):not(.srh-off) { min-height: 430px; }
:is(.ob-pj__hero, .sr-pub__hero):not(.srh-on):not(.srh-off) > *, body:not(.srh-ready) .ob-pj__body { visibility: hidden; animation: srh-reveal 0s linear 4s forwards; }
@keyframes srh-reveal { to { visibility: visible; } }
