/*
 * Signed-in areas and sign-in pages: the app shell (sidebar, top bar,
 * content), the shared components every dashboard, account and control-panel
 * page uses, and the split sign-in layout. Loaded after theme.css, so these
 * rules win; site.css (public pages) comes last.
 */

/* Shell ------------------------------------------------------------------------ */

.app { background: #f6f8f7; min-height: 100vh; }
.app .alerts { margin-bottom: 1.5rem; }

.app-side { position: fixed; inset: 0 auto 0 0; width: 268px; z-index: 40; display: flex; flex-direction: column; background: var(--color-surface); border-right: 1px solid var(--color-border); overflow-y: auto; }
.app-side__top { padding: 1.25rem 1rem .75rem; display: grid; gap: 1rem; }
.app-side__brand { display: inline-flex; padding: .25rem .5rem; }
.app-side__brand img { height: 21px; width: auto; display: block; }

.app-team { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border: 1px solid var(--color-border); border-radius: 14px; color: var(--color-ink); }
.app-team:hover { border-color: #c9d3cd; text-decoration: none; }
.app-team__mark { width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--color-panel); color: var(--color-ink); display: grid; place-items: center; font-weight: 700; flex: none; }
.app-team__mark--ink { background: var(--color-ink); color: #fff; }
.app-team__mark .icon { width: 18px; height: 18px; }
.app-team__text { display: grid; min-width: 0; line-height: 1.25; }
.app-team__text strong { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-team__text small { color: var(--color-muted); font-size: .8rem; }

.app-nav { padding: .25rem 1rem 1rem; flex: 1; }
.app-nav__group { font-size: .78rem; font-weight: 600; color: #8a908c; margin: 1.1rem .7rem .35rem; }
.app-nav__list, .app .sidebar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; position: static; }
.app-nav__list--foot { margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid var(--color-border); }
.app-nav__link { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 10px; color: #3c3f3d; font-weight: 500; font-size: .95rem; }
.app-nav__link .icon { color: #7b827e; flex: none; }
.app-nav__link:hover { background: var(--color-panel); color: var(--color-ink); text-decoration: none; }
.app-nav__link.sidebar__link--active { background: var(--color-ink); color: #fff; }
.app-nav__link.sidebar__link--active .icon { color: var(--color-green); }

.app-side__bottom { padding: 1rem; display: grid; gap: .75rem; border-top: 1px solid var(--color-border); }
.trial-card { background: var(--color-panel); border-radius: 14px; padding: .95rem 1rem; }
.trial-card__title { font-weight: 600; font-size: .92rem; margin: 0 0 .25rem; color: var(--color-ink); }
.trial-card__text { font-size: .84rem; color: var(--color-muted); margin: 0 0 .6rem; line-height: 1.45; }
.trial-card__link { font-size: .88rem; font-weight: 600; }

.app-user { position: relative; }
.app-user__summary { display: flex; align-items: center; gap: .65rem; padding: .5rem; border-radius: 12px; cursor: pointer; list-style: none; }
.app-user__summary::-webkit-details-marker { display: none; }
.app-user__summary:hover, .app-user[open] .app-user__summary { background: var(--color-panel); }
details.app-user[open] > summary { margin-bottom: 0; }
.app-user__avatar { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.app-user__text { display: grid; min-width: 0; line-height: 1.25; }
.app-user__text strong { font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user__text small { font-size: .8rem; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user__menu { position: absolute; bottom: calc(100% + .4rem); left: 0; right: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: .4rem; box-shadow: 0 18px 40px -24px rgba(27, 26, 31, .4); display: grid; gap: .1rem; }
.app-user__link, .app-user .nav__link { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .55rem .65rem; border-radius: 10px; color: var(--color-ink); font: inherit; font-size: .92rem; background: none; border: 0; cursor: pointer; text-align: left; }
.app-user__link:hover { background: var(--color-panel); text-decoration: none; }
.app-user__link .icon { color: #7b827e; }
.app-user .nav__form { margin: 0; }

.app-main { margin-left: 268px; min-height: 100vh; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: .75rem; padding: .9rem 2.5rem 0; }
.app-top__burger, .app-top__brand { display: none; }
.app-top__spacer { flex: 1; }
.app-top__help { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: var(--radius-pill); color: var(--color-muted); font-size: .9rem; font-weight: 500; }
.app-top__help:hover { background: var(--color-surface); color: var(--color-ink); text-decoration: none; }
.app-content { width: 100%; max-width: 1200px; padding: 1rem 2.5rem 4rem; flex: 1; }
.app-scrim { position: fixed; inset: 0; background: rgba(27, 26, 31, .35); z-index: 35; }

/* Page structure ----------------------------------------------------------------- */

.app .page__header, .page-head-row { margin-bottom: 1.75rem; }
.page-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.page-head-row .page__header { margin-bottom: 0; }
.app .page__crumb { font-size: .9rem; margin: 0 0 .6rem; }
.app .page__crumb a { color: var(--color-muted); font-weight: 500; }
.app .page__crumb a::before { content: "\2190\00a0"; }
.app .page__title, .card--auth h1 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; color: var(--color-ink); margin: 0 0 .4rem; }
.app .page__lead { font-size: 1.05rem; color: var(--color-muted); max-width: 68ch; margin: 0; }
.app .page__text { color: var(--color-muted); }

.section, .app .section { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 1.5rem 1.6rem; margin: 0 0 1.25rem; box-shadow: none; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.section__head .section__title { margin: 0; }
.section__head .section__text { margin: .2rem 0 0; }
.section__title, .app .section__title { font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; color: var(--color-ink); margin: 0 0 .5rem; }
.app h3.section__title { font-size: 1rem; margin-top: 1.25rem; }
.section__text, .app .section__text { color: var(--color-muted); margin: 0 0 1rem; max-width: 72ch; }
.section--highlight { border-color: var(--color-ink); box-shadow: 0 0 0 3px rgba(0, 168, 84, .12); }
.section--muted { background: var(--color-panel); border-color: transparent; }
details.section > summary { font-weight: 600; color: var(--color-ink); display: flex; align-items: center; justify-content: space-between; }
details.section > summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
details.section[open] > summary::after { transform: rotate(-135deg); }

.grid-2 { display: grid; gap: 1.25rem; }
.grid-2 > .section { margin: 0; }

/* Key figures ------------------------------------------------------------------- */

.tiles, .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.tile, .stat { display: grid; gap: .35rem; padding: 1.2rem 1.3rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; color: var(--color-ink); }
.tile:hover, .stat:hover { border-color: #c9d3cd; text-decoration: none; }
.tile__label, .stat__label { font-size: .9rem; color: var(--color-muted); text-transform: none; letter-spacing: 0; }
.tile__value { font-size: 2.1rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.tile__value small { font-size: .95rem; font-weight: 500; color: var(--color-muted); letter-spacing: 0; }
.tile__foot { font-size: .85rem; color: var(--color-muted); }
.stat { border-left-width: 1px; position: relative; padding-left: 1.6rem; }
.stat::before { content: ""; position: absolute; left: 1rem; top: 1.45rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--color-border); }
.stat--ok::before { background: var(--color-green); }
.stat--warn::before { background: #e3a008; }
.stat--fail::before { background: var(--color-danger); }
.stat__value { font-size: 1.25rem; font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.app .card { border-radius: 18px; padding: 1.3rem 1.4rem; }
.card--link { display: grid; gap: .35rem; align-content: start; }
.card--link:hover { border-color: var(--color-ink); transform: none; }
.card__title { font-size: 1.05rem; font-weight: 600; color: var(--color-ink); margin: 0; }
.card__text { color: var(--color-muted); font-size: .92rem; margin: 0; }
.card__icon { width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--color-panel); color: var(--color-ink); display: grid; place-items: center; margin-bottom: .5rem; }

/* Step list for getting started ------------------------------------------------- */

.setup { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: setup; }
.setup__item { counter-increment: setup; display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--color-border); border-radius: 14px; }
.setup__item::before { content: counter(setup); width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9rem; background: var(--color-panel); color: var(--color-ink); }
.setup__item--done::before { content: "\2713"; background: var(--color-ink); color: #fff; }
.setup__item strong { display: block; color: var(--color-ink); font-weight: 600; }
.setup__item span { color: var(--color-muted); font-size: .92rem; }

/* Forms --------------------------------------------------------------------------- */

.form { gap: 1.1rem; }
.field { gap: .4rem; }
.field__label { font-weight: 600; font-size: .92rem; color: var(--color-ink); }
.field__input { min-height: 2.85rem; padding: .6rem .85rem; border: 1px solid #d6dfd9; border-radius: 12px; background: var(--color-surface); transition: border-color .15s, box-shadow .15s; }
textarea.field__input { min-height: 7rem; line-height: 1.5; }
select.field__input { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a5f5c' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field__input:hover { border-color: #b9c5bd; }
.field__input:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 3px rgba(0, 168, 84, .18); }
.field__hint { font-size: .86rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--color-ink); width: 1.05rem; height: 1.05rem; }
.form--inline { gap: .75rem; }

.btn { min-height: 2.6rem; padding: .55rem 1.15rem; border-radius: var(--radius-pill); font-weight: 600; border-color: #d6dfd9; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--color-panel); border-color: #c4cfc8; }
.btn--primary { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.btn--primary:hover { background: #2f2e35; border-color: #2f2e35; color: #fff; }
.btn--small { min-height: 2.1rem; padding: .3rem .85rem; font-size: .86rem; }
.btn--large { min-height: 3.1rem; padding: .75rem 1.5rem; font-size: 1.02rem; }
.btn--danger { color: var(--color-danger); border-color: #f2cfca; background: var(--color-surface); }
.btn--danger:hover { background: var(--color-danger-bg); border-color: #e9b1aa; color: var(--color-danger); }
.btn--link { min-height: 0; border-color: transparent; background: none; }
.btn--link:hover { background: none; border-color: transparent; }
.btn .icon { width: 18px; height: 18px; }

.copy-field { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.copy-field code { font-family: var(--font-mono); font-size: .9rem; padding: .6rem .9rem; background: var(--color-panel); border: 1px solid var(--color-border); border-radius: 12px; word-break: break-all; }
.secret { padding: .6rem .9rem; border-radius: 12px; }

/* Feedback ------------------------------------------------------------------------ */

.alert { border-radius: 14px; padding: .85rem 1.1rem; font-size: .95rem; border: 1px solid transparent; }
.alert--success { background: #e7f6ee; border-color: #c6e9d5; color: #0f5c39; }
.alert--info { background: #eef5f0; border-color: #d5e6da; color: #1d4a33; }
.alert--warning { background: #fdf4dd; border-color: #f3dfa5; color: #6e4a00; }
.alert--danger { background: #fdecea; border-color: #f5c9c3; color: #96241c; }
.alert a { font-weight: 600; color: inherit; text-decoration: underline; }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; font-size: .8rem; font-weight: 600; border-radius: var(--radius-pill); background: #eef1ef; color: #4f5551; white-space: nowrap; }
.badge::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; opacity: .55; }
.badge--on { background: #e3f4ea; color: #13774a; }
.badge--on::before { background: var(--color-green); opacity: 1; }
.badge--off, .badge--warn { background: #fdf1d6; color: #8a5a00; }
.badge--fail { background: #fde7e4; color: #c22c22; }

.tag { font-family: inherit; font-size: .8rem; font-weight: 500; padding: .2rem .6rem; border-radius: var(--radius-pill); background: var(--color-panel); color: var(--color-ink); }

.empty { text-align: center; padding: 2.5rem 1.5rem; }
.empty__title { font-size: 1.1rem; font-weight: 600; color: var(--color-ink); margin: 0 0 .35rem; }
.empty__text { color: var(--color-muted); margin: 0 auto 1.25rem; max-width: 46ch; }

/* Tables ------------------------------------------------------------------------- */

.table-wrap { border: 1px solid var(--color-border); border-radius: 14px; margin: 0 0 1rem; background: var(--color-surface); }
.table { font-size: .93rem; }
.table th, .table td { padding: .8rem 1rem; border-bottom: 1px solid #edf1ee; vertical-align: middle; }
.table thead th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .84rem; font-weight: 600; color: var(--color-muted); border-bottom-color: var(--color-border); }
.table tbody tr:hover { background: #fafcfb; }
.table td:last-child { text-align: right; }
.table--checks td:last-child, .table--data td:last-child { text-align: left; }
.table .num, .table--data td.num { text-align: right; }
.table .actions__form + .actions__form { margin-left: .35rem; }
.table code { font-size: .85rem; background: var(--color-panel); padding: .15rem .45rem; border-radius: 6px; }

.datalist { border-radius: 14px; }
.datalist__row { padding: .85rem 1.1rem; }

.log { border-radius: 12px; background: var(--color-panel); }

/* Tabs as a segmented control ------------------------------------------------------- */

.app .tabs { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; margin: 0 0 1.25rem; border: 0; border-radius: var(--radius-pill); background: #e9efeb; }
.app .tabs__tab { padding: .45rem 1rem; border: 0; margin: 0; border-radius: var(--radius-pill); color: #4f5551; font-weight: 500; font-size: .92rem; }
.app .tabs__tab:hover { color: var(--color-ink); text-decoration: none; }
.app .tabs__tab--active { background: var(--color-surface); color: var(--color-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(27, 26, 31, .08); }

/* Dashboard pieces ------------------------------------------------------------------ */

.source-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.source-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: .5rem; padding: 1.3rem 1.35rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; color: var(--color-ink); }
.source-card:hover { border-color: var(--color-ink); text-decoration: none; }
.source-card__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.source-card__mark { width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--color-panel); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.source-card__name { font-size: 1.1rem; font-weight: 600; margin: .35rem 0 0; }
.source-card__text { color: var(--color-muted); font-size: .9rem; margin: 0; }
.source-card__cat { font-size: .82rem; color: var(--color-muted); }
.source-card__foot { margin-top: .5rem; font-weight: 600; font-size: .9rem; color: var(--color-primary); }

.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .2rem .75rem; max-height: 19rem; overflow: auto; padding: .25rem; }
label.check { padding: .35rem .45rem; border-radius: 8px; }
label.check:hover { background: var(--color-panel); }
.report-form__group { margin: 0 0 1.5rem; }
.report-form__group legend { font-size: 1rem; color: var(--color-ink); margin-bottom: .6rem; }
.field-picker { gap: 1.25rem; }
.field-picker h3 { font-size: .88rem; font-weight: 600; color: var(--color-muted); }
.field-picker > div { border: 1px solid var(--color-border); border-radius: 14px; padding: .9rem; }

.guideline-list__item { padding: 1.1rem 0; }
.guideline-list__item:first-child { padding-top: 0; }

.code-list { columns: 2; list-style: none; padding: 0; }
.code-list__item { font-family: var(--font-mono); padding: .4rem .7rem; background: var(--color-panel); border-radius: 8px; break-inside: avoid; }

/* Sign-in pages --------------------------------------------------------------------- */

.auth { display: grid; min-height: 100vh; background: var(--color-surface); }
.auth__main { display: flex; justify-content: center; padding: 2.5rem 1.25rem; }
.auth__inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; }
.auth__brand { margin: 0 0 3rem; }
.auth__brand img { height: 24px; width: auto; }
.auth .card--auth { max-width: none; border: 0; padding: 0; background: none; border-radius: 0; flex: 1; }
.card--auth h1 { margin-bottom: .5rem; }
.card--auth .page__lead, .card--auth > p:first-of-type { color: var(--color-muted); }
.card--auth .form { margin-top: 1.5rem; }
.card--auth .btn--primary { min-height: 3rem; }
.card--auth .links { margin-top: 1.5rem; font-size: .95rem; }
.auth__legal { display: flex; gap: 1.25rem; margin: 3rem 0 0; font-size: .85rem; }
.auth__legal a { color: var(--color-muted); }
.auth__aside { display: none; background: var(--color-ink); color: #e7ece8; padding: 3rem; }
.auth__aside-inner { max-width: 470px; margin: auto; display: grid; gap: 2rem; }
.auth__quote { font-size: 1.85rem; line-height: 1.15; letter-spacing: -.03em; font-weight: 700; color: #fff; margin: 0; }
.auth__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.auth__points li { padding-left: 1.5rem; position: relative; }
.auth__points li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--color-green); }

.convo.convo--dark { background: #26252b; border-color: rgba(255, 255, 255, .08); color: #fff; }
.convo.convo--dark .convo__q { background: rgba(255, 255, 255, .08); color: #fff; }
.convo.convo--dark .convo__used { color: #a9b0ab; }
.convo.convo--dark .convo__used b, .convo.convo--dark .convo__a { color: #fff; }
.convo.convo--dark .compare__track { background: rgba(255, 255, 255, .1); }
.convo.convo--dark .compare__track i { background: #fff; }
.convo.convo--dark .compare__row--best .compare__track i { background: var(--color-green); }
.convo.convo--dark .compare__row { color: #e7ece8; }

/* Plain pages on the dashboard host (errors, maintenance, consent) ------------------- */

.layout--default { background: #f6f8f7; }
.layout--default .site-header--app { background: transparent; border: 0; }
.layout--default .layout__main { max-width: 760px; padding: 4rem 1.5rem; }
.page--error, .page--maintenance { text-align: center; }
.page--error .page__title, .page--maintenance .page__title { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.035em; }

/* Small screens --------------------------------------------------------------------- */

@media (max-width: 999px) {
  .app-side { transform: translateX(-100%); transition: transform .2s ease; box-shadow: none; }
  .drawer-open .app-side { transform: none; box-shadow: 0 0 60px rgba(27, 26, 31, .25); }
  .app-main { margin-left: 0; }
  .app-top { padding: .75rem 1.1rem; background: var(--color-surface); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 30; }
  .app-top__burger, .app-top__brand { display: inline-flex; }
  .app-top__brand img { height: 19px; width: auto; }
  .app-top__help span { display: none; }
  .app-content { padding: 1.5rem 1.1rem 3rem; }
  .section, .app .section { padding: 1.2rem; border-radius: 16px; }
  .table td:last-child { text-align: left; }
}
@media (min-width: 1000px) {
  .app-scrim { display: none !important; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .auth__aside { display: flex; }
  .auth__main { padding: 2.5rem 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .app-side { transition: none; }
}
.app .form > .btn, .app .form > button { align-self: flex-start; }
.page--error .actions, .page--error .links { justify-content: center; }
.app .form--inline > .btn, .app .form--inline > button { align-self: flex-end; }
@media (max-width: 640px) {
  .tiles, .stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
  .tile__value { font-size: 1.7rem; }
  .setup__item { grid-template-columns: auto 1fr; }
  .setup__item > .btn, .setup__item > .badge { grid-column: 2; justify-self: start; }
  .copy-field code { font-size: .82rem; }
}

/* Marketing tools ------------------------------------------------------------------ */

.section__lead { color: var(--color-muted); margin: 0 0 .25rem; max-width: 70ch; }
.tool-summary { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.tool-result { border: 1px solid var(--color-border); border-left: 4px solid #cfd8d2; border-radius: 14px; padding: 1rem 1.15rem; margin: 0 0 .9rem; background: var(--color-surface); }
.tool-result--ok { border-left-color: var(--color-green); }
.tool-result--warning { border-left-color: #e0a526; }
.tool-result--critical { border-left-color: #d64535; }
.tool-result__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; }
.tool-result__input { font-weight: 600; color: var(--color-ink); overflow-wrap: anywhere; }
.tool-result__note { color: var(--color-muted); font-size: .93rem; margin: .5rem 0; }
.tool-result__url { overflow-wrap: anywhere; max-width: 44ch; }
.tool-result__copy { font-size: .9rem; }
.finding-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .45rem; }
.finding { position: relative; padding-left: 1.2rem; font-size: .94rem; }
.finding::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: #cfd8d2; }
.finding--warning::before { background: #e0a526; }
.finding--critical::before { background: #d64535; }
.finding__fix { display: block; color: var(--color-muted); font-size: .88rem; }
.kv { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid #edf1ee; font-size: .93rem; }
.kv li span:first-child { color: var(--color-muted); }
.kv li span:last-child { text-align: right; overflow-wrap: anywhere; }
.tiles--compact { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0 0 .5rem; }
.tiles--compact .tile { padding: .8rem 1rem; }
.score--good { color: #13774a; }
.score--mid { color: #8a5a00; }
.score--poor { color: #c22c22; }
.share-card { display: grid; max-width: 520px; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; background: var(--color-panel); }
.share-card__image { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; display: block; background: #e9efeb; }
.share-card__body { display: grid; gap: .2rem; padding: .75rem .9rem; }
.share-card__site { font-size: .78rem; color: var(--color-muted); text-transform: lowercase; }
.share-card__title { color: var(--color-ink); }
.share-card__text { font-size: .9rem; color: var(--color-muted); }

/* Report builder: fields of another report type */
.check[hidden] { display: none; }
