.aa-show-calendar-wrap{--aa-green:#5b6842;--aa-green-dark:#39432c;--aa-green-soft:#edf0e6;--aa-gold:#c6a457;--aa-gold-dark:#8b6d2d;--aa-gold-soft:#e7d7ad;--aa-cream:#f4ecd8;--aa-cream-2:#fbf8f0;--aa-white:#fff;--aa-black:#171713;--aa-muted:#6d695f;max-width:1240px;margin:30px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--aa-black)}
.aa-show-hero{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:21px 28px;border:1px solid var(--aa-gold-soft);border-bottom:0;border-radius:18px 18px 0 0;background:linear-gradient(135deg,var(--aa-green),#74825d);color:var(--aa-white)}.aa-show-hero span{font-size:12px;letter-spacing:.15em;color:#f5d674;font-weight:800}.aa-show-hero h2{margin:4px 0 0;color:var(--aa-white)!important;font-family:Georgia,serif;font-size:31px;line-height:1.1}.aa-show-hero p{margin:0;padding:8px 14px;border:1px solid rgba(255,255,255,.68);border-radius:999px;color:var(--aa-white);background:rgba(0,0,0,.08);font-weight:700;white-space:nowrap}.aa-show-counter-live{font-variant-numeric:tabular-nums}
.aa-show-nav{display:grid;grid-template-columns:60px 1fr 60px;align-items:center;background:var(--aa-cream);color:var(--aa-black);border:1px solid var(--aa-gold-soft);border-bottom:0}.aa-show-nav a{display:grid;place-items:center;min-height:52px;color:var(--aa-green);text-decoration:none;font-size:31px;font-weight:400}.aa-show-nav a:hover{background:rgba(91,104,66,.09)}.aa-show-nav strong{text-align:center;font-size:17px;letter-spacing:.04em;color:var(--aa-black)}
.aa-show-filter-toggle{display:none;width:100%;padding:12px 16px;border:1px solid var(--aa-gold-soft);border-bottom:0;background:var(--aa-cream-2);color:var(--aa-green-dark);font-weight:800;text-align:left;cursor:pointer}.aa-show-filter-toggle:after{content:'+';float:right;font-size:20px;line-height:1}.aa-show-filter-toggle[aria-expanded="true"]:after{content:'−'}
.aa-show-filters{display:grid;grid-template-columns:minmax(170px,1fr) repeat(3,minmax(145px,.55fr)) auto;gap:12px;align-items:end;padding:15px 18px;border:1px solid var(--aa-gold-soft);border-bottom:0;background:var(--aa-cream-2)}.aa-show-filter label{display:block;margin:0 0 5px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--aa-green-dark)}.aa-show-filter input,.aa-show-filter select{box-sizing:border-box;width:100%;min-height:40px;padding:7px 10px;border:1px solid #cfc3a7;border-radius:8px;background:#fff;color:var(--aa-black)}.aa-show-filter input:focus,.aa-show-filter select:focus{outline:2px solid var(--aa-gold);outline-offset:1px}.aa-show-filter-check{display:flex;align-items:center;min-height:40px;gap:7px;white-space:nowrap;color:var(--aa-green-dark);font-size:13px;font-weight:700}.aa-show-filter-check input{width:auto}.aa-show-filter-reset{min-height:40px;padding:8px 14px;border:1px solid var(--aa-green);border-radius:8px;background:#fff;color:var(--aa-green);font-weight:800;cursor:pointer}.aa-show-filter-reset:hover{background:var(--aa-green);color:#fff}
.aa-show-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.aa-show-week{background:var(--aa-green-dark);color:#fff;border-left:1px solid var(--aa-gold-soft);border-right:1px solid var(--aa-gold-soft)}.aa-show-week span{text-align:center;padding:10px 5px;font-size:13px;font-weight:800}.aa-show-days{border-left:1px solid var(--aa-gold-soft);border-top:1px solid var(--aa-gold-soft);background:var(--aa-cream)}.aa-show-day,.aa-show-days .is-empty{min-height:92px;padding:7px;border-right:1px solid var(--aa-gold-soft);border-bottom:1px solid var(--aa-gold-soft);background:#fffdf8;color:var(--aa-black)}.aa-show-days .is-empty{background:var(--aa-cream)}.aa-show-day b{display:block;text-align:right;color:var(--aa-black)}.aa-show-day-summary{display:none}.aa-show-day-event{display:block;margin-top:5px;padding:5px 6px;border:1px solid #d9cfb7;border-left:4px solid var(--aa-green);border-radius:7px;background:#f8f4e8;color:var(--aa-black);text-decoration:none;line-height:1.15;overflow:hidden}.aa-show-day-event:hover{background:#eee5cc}.aa-show-day-event strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;color:var(--aa-black)}.aa-show-day-event em{display:block;margin-top:2px;font-size:8.5px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.02em;color:var(--aa-green-dark)}.aa-show-day-event[data-type="Międzynarodowa"]{border-left-color:var(--aa-gold-dark);background:#fbf5e5}.aa-show-day-event[data-type="Klubowa"]{border-left-color:var(--aa-gold);background:#fff9e9}.aa-show-day-event[data-type="Specjalistyczna"]{border-left-color:var(--aa-black);background:#f5f2ea}.aa-show-day-event.is-cancelled{border-left-color:#a34843;background:#f8e9e5}.aa-show-day-event.is-overflow{display:none}.aa-show-more{display:block;width:100%;margin-top:4px;padding:2px;border:0;background:transparent;color:var(--aa-green);font-size:10.5px;font-weight:800;cursor:pointer}.aa-show-day.has-shows{box-shadow:inset 0 3px 0 var(--aa-gold)}.aa-show-day.is-filtered-empty{box-shadow:none}.aa-show-day.is-filtered-empty .aa-show-more{display:none}
.aa-show-list{display:grid;gap:13px;margin-top:22px}.aa-show-card{display:grid;grid-template-columns:170px 1fr auto;gap:20px;align-items:center;padding:18px 20px;border:1px solid #ddd2bd;border-left:6px solid var(--aa-green);border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(54,43,22,.06);scroll-margin-top:24px;transition:box-shadow .2s ease,transform .2s ease}.aa-show-card[data-type="Międzynarodowa"]{border-left-color:var(--aa-gold-dark)}.aa-show-card[data-type="Klubowa"]{border-left-color:var(--aa-gold)}.aa-show-card[data-type="Specjalistyczna"]{border-left-color:var(--aa-black)}.aa-show-card.is-focus{box-shadow:0 0 0 4px rgba(198,164,87,.36),0 8px 24px rgba(54,43,22,.12);transform:translateY(-1px)}.aa-show-date{display:flex;flex-direction:column;gap:7px}.aa-show-date strong{font-family:Georgia,serif;font-size:18px;color:var(--aa-green-dark)}.aa-show-kind{display:inline-flex;align-self:flex-start;padding:5px 9px;border:1px solid var(--aa-green);border-radius:999px;background:var(--aa-green-soft);color:var(--aa-green-dark);font-size:10.5px;font-weight:800;text-transform:uppercase}.aa-show-card[data-type="Międzynarodowa"] .aa-show-kind{border-color:var(--aa-gold-dark);background:#f4e7bd;color:#594214}.aa-show-card[data-type="Klubowa"] .aa-show-kind{border-color:var(--aa-gold);background:#fff1bf;color:#604a1d}.aa-show-card[data-type="Specjalistyczna"] .aa-show-kind{border-color:var(--aa-black);background:#f2efe7;color:var(--aa-black)}.aa-show-main h3{margin:0 0 6px;font-family:Georgia,serif;font-size:23px;color:var(--aa-green-dark)}.aa-show-main p{margin:0;color:#5e584e}.aa-show-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.aa-show-tags span{padding:4px 8px;border-radius:999px;background:#f0e5c8;color:#604a1d;font-size:11.5px;font-weight:800}.aa-show-tags .is-red{background:#f5dddd;color:#922c2c}.aa-show-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:340px}.aa-show-actions a{padding:8px 11px;border:1px solid var(--aa-green);border-radius:8px;color:var(--aa-green-dark);background:#fff;text-decoration:none;font-size:13px;font-weight:800}.aa-show-actions a:hover{background:var(--aa-green);color:#fff}.aa-show-card.is-cancelled{opacity:.82;border-color:#d9aaa6;border-left-color:#a34843}.aa-show-empty{padding:28px;text-align:center;border:1px dashed #cbbd9f;border-radius:14px;background:#fbf8f1}.aa-show-no-results{display:none;margin-top:18px}
@media(max-width:1000px){.aa-show-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-show-filter-reset{width:100%}.aa-show-card{grid-template-columns:150px 1fr auto}}
@media(max-width:850px){.aa-show-card{grid-template-columns:1fr}.aa-show-actions{justify-content:flex-start;max-width:none}.aa-show-day,.aa-show-days .is-empty{min-height:72px;padding:5px}.aa-show-day-event{display:none!important}.aa-show-day-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px;margin-top:8px;padding:3px;border:0;background:transparent;color:var(--aa-green-dark);cursor:pointer}.aa-show-day-summary .aa-count{display:block;width:100%;font-size:9px;font-weight:800}.aa-show-type-code{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:999px;background:var(--aa-green);color:#fff;font-size:8px;font-weight:900}.aa-show-type-code[data-type="Międzynarodowa"]{background:var(--aa-gold-dark)}.aa-show-type-code[data-type="Klubowa"]{background:var(--aa-gold)}.aa-show-type-code[data-type="Specjalistyczna"]{background:var(--aa-black)}.aa-show-type-code.is-cancelled{background:#a34843}.aa-show-more{display:none!important}.aa-show-hero{padding:18px 20px}.aa-show-hero h2{font-size:26px}.aa-show-filter-toggle{display:block}.aa-show-filters{display:none;grid-template-columns:1fr}.aa-show-filters.is-open{display:grid}.aa-show-nav{grid-template-columns:50px 1fr 50px}.aa-show-list{gap:10px}.aa-show-card{padding:14px 16px;gap:10px}.aa-show-date{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:9px}.aa-show-date strong{font-size:16px}.aa-show-kind{justify-self:start}.aa-show-main h3{font-size:21px;margin-bottom:4px}.aa-show-main p{font-size:14px}.aa-show-tags{margin-top:6px}.aa-show-actions a{padding:7px 10px}.aa-show-actions a[data-short-label]:after{content:attr(data-short-label);font-size:0}.aa-show-actions a[data-short-label]{font-size:0}.aa-show-actions a[data-short-label]::before{content:attr(data-short-label);font-size:13px}}
@media(max-width:560px){.aa-show-calendar-wrap{margin:18px auto}.aa-show-hero{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:17px 18px}.aa-show-hero>div{min-width:0}.aa-show-hero span{font-size:10px}.aa-show-hero h2{font-size:24px}.aa-show-hero p{align-self:center;padding:7px 10px;font-size:12px}.aa-show-nav strong{font-size:16px}.aa-show-week span{font-size:10px;padding:9px 2px}.aa-show-day,.aa-show-days .is-empty{min-height:67px;padding:4px}.aa-show-day b{font-size:13px}.aa-show-day-summary{margin-top:6px}.aa-show-day-summary .aa-count{font-size:8px}.aa-show-type-code{min-width:15px;height:15px;font-size:7px}.aa-show-card{border-radius:12px}.aa-show-date{grid-template-columns:1fr auto}.aa-show-date strong{font-size:15px}.aa-show-kind{font-size:9px;padding:4px 7px}.aa-show-main h3{font-size:20px}.aa-show-actions{gap:6px}.aa-show-actions a{font-size:12px;padding:7px 9px}}


/* 0.2.2.1 — wyłącznie kolory typów wystaw. Selektory ignorują wielkość liter w danych. */
.aa-show-day-event[data-type="krajowa" i]{border-left-color:#5b6842;background:#edf0e6}
.aa-show-day-event[data-type="krajowa" i] em{color:#39432c}
.aa-show-day-event[data-type="międzynarodowa" i]{border-left-color:#8b6d2d;background:#f1dfaa}
.aa-show-day-event[data-type="międzynarodowa" i] em{color:#594214}
.aa-show-day-event[data-type="klubowa" i]{border-left-color:#171713;background:#2f3029;color:#fff}
.aa-show-day-event[data-type="klubowa" i] strong,.aa-show-day-event[data-type="klubowa" i] em{color:#fff}
.aa-show-day-event[data-type="specjalistyczna" i]{border-left-color:#9a7a43;background:#dfd1b4}
.aa-show-day-event[data-type="specjalistyczna" i] em{color:#4f3c1f}

.aa-show-card[data-type="krajowa" i]{border-left-color:#5b6842}
.aa-show-card[data-type="międzynarodowa" i]{border-left-color:#c6a457}
.aa-show-card[data-type="klubowa" i]{border-left-color:#171713}
.aa-show-card[data-type="specjalistyczna" i]{border-left-color:#9a7a43}

.aa-show-card[data-type="krajowa" i] .aa-show-kind{border-color:#5b6842;background:#dfe8d2;color:#26301d}
.aa-show-card[data-type="międzynarodowa" i] .aa-show-kind{border-color:#8b6d2d;background:#d7bb70;color:#382a10}
.aa-show-card[data-type="klubowa" i] .aa-show-kind{border-color:#171713;background:#171713;color:#fff}
.aa-show-card[data-type="specjalistyczna" i] .aa-show-kind{border-color:#8b6d2d;background:#dfd1b4;color:#3f301c}

.aa-show-type-code[data-type="krajowa" i]{background:#5b6842;color:#fff}
.aa-show-type-code[data-type="międzynarodowa" i]{background:#c6a457;color:#171713}
.aa-show-type-code[data-type="klubowa" i]{background:#171713;color:#fff}
.aa-show-type-code[data-type="specjalistyczna" i]{background:#b59a68;color:#171713}

/* 0.2.2.2: podsumowanie dnia tylko na mobile */
.aa-show-day-summary{display:none!important}
@media(max-width:850px){.aa-show-day-summary{display:flex!important}}

/* 0.2.2.2: lista wszystkich miesięcy */
.aa-show-months{display:grid;gap:10px;margin-top:22px}
.aa-show-month{border:1px solid #d8c9aa;border-radius:12px;background:#f8f2e5;overflow:hidden}
.aa-show-month>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;cursor:pointer;list-style:none;color:var(--aa-green-dark);font-weight:800}
.aa-show-month>summary::-webkit-details-marker{display:none}
.aa-show-month>summary:before{content:'›';font-size:20px;line-height:1;transition:transform .2s ease}
.aa-show-month[open]>summary:before{transform:rotate(90deg)}
.aa-show-month>summary span{margin-right:auto;font-family:Georgia,serif;font-size:18px}
.aa-show-month>summary b{padding:5px 9px;border:1px solid #cdbb91;border-radius:999px;background:#fffaf0;font-size:11px}
.aa-show-month>.aa-show-list{margin:0;padding:0 12px 12px}
@media(max-width:560px){.aa-show-month>summary{padding:12px 14px}.aa-show-month>summary span{font-size:16px}.aa-show-month>summary b{font-size:10px}.aa-show-month>.aa-show-list{padding:0 8px 8px}}


/* 0.2.2.3 – czytelniejsze akcje i dłuższe podświetlenie wybranej wystawy */
.aa-show-calendar-wrap .aa-show-card.is-focus{
  box-shadow:0 0 0 5px rgba(198,164,87,.72),0 10px 30px rgba(54,43,22,.18)!important;
  background:#fff8df!important;
  transform:translateY(-2px);
}
.aa-show-calendar-wrap .aa-show-actions a,
.aa-show-calendar-wrap .aa-show-actions a:visited{
  color:#24412f!important;
  background:#fff!important;
  border-color:#5b6842!important;
  font-weight:900!important;
  text-shadow:none!important;
}
.aa-show-calendar-wrap .aa-show-actions a:hover,
.aa-show-calendar-wrap .aa-show-actions a:focus,
.aa-show-calendar-wrap .aa-show-actions a:focus-visible,
.aa-show-calendar-wrap .aa-show-actions a:active{
  color:#fff!important;
  background:#5b6842!important;
  border-color:#39432c!important;
  outline:2px solid #c7a85a;
  outline-offset:2px;
}


/* 0.2.2.4 — wystawy przeszłe i rozwijane szczegóły */
.aa-show-card-summary{display:grid;grid-template-columns:170px 1fr auto;gap:20px;align-items:center;width:100%}
.aa-show-card.is-past{background:#f4f1e9;border-color:#d4cbb8;border-left-color:#8b887d}
.aa-show-card.is-past .aa-show-main h3,.aa-show-card.is-past .aa-show-date strong{color:#55584f}
.aa-show-card.is-past-tag{opacity:.9}
.aa-show-tags .is-past-tag{background:#ddd9cf;color:#55534d}
.aa-show-day-event.is-past{opacity:.62;filter:saturate(.55)}
.aa-show-details-toggle{padding:8px 11px;border:1px solid var(--aa-green);border-radius:8px;color:var(--aa-green-dark);background:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.aa-show-details-toggle:hover,.aa-show-details-toggle[aria-expanded="true"]{background:var(--aa-green);color:#fff}
.aa-show-details{grid-column:1/-1;margin-top:14px;padding:16px 18px;border-top:1px solid #ddd2bd;background:#fbf8f1;border-radius:0 0 10px 10px}
.aa-show-details[hidden]{display:none!important}
.aa-show-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0}
.aa-show-details dl>div{display:grid;grid-template-columns:130px 1fr;gap:10px}
.aa-show-details dl>div.is-wide{grid-column:1/-1}
.aa-show-details dt{font-weight:800;color:var(--aa-green-dark)}
.aa-show-details dd{margin:0;color:#4e4a43}
.aa-show-details-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.aa-show-details-links a{padding:7px 10px;border:1px solid var(--aa-green);border-radius:8px;color:var(--aa-green-dark);background:#fff;text-decoration:none;font-size:13px;font-weight:800}
.aa-show-details-links a:hover{background:var(--aa-green);color:#fff}
@media(max-width:1000px){.aa-show-card-summary{grid-template-columns:150px 1fr auto}}
@media(max-width:850px){.aa-show-card-summary{grid-template-columns:1fr}.aa-show-details dl{grid-template-columns:1fr}.aa-show-details dl>div,.aa-show-details dl>div.is-wide{grid-column:auto;grid-template-columns:1fr;gap:3px}}
@media(max-width:560px){.aa-show-details{padding:13px 14px}.aa-show-details-toggle{font-size:12px;padding:7px 9px}}

/* 0.2.2.5: karta ma własny wewnętrzny układ; nadrzędny article nie może pozostać siatką 3-kolumnową. */
.aa-show-calendar-wrap .aa-show-card{display:block}
.aa-show-calendar-wrap .aa-show-card-summary{width:100%}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle{flex:0 0 auto;white-space:nowrap}

/* 0.2.2.6 — odrębny wygląd „Pokaż więcej” oraz czytelne stany przycisków szczegółów. */
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 13px;
  border:1px solid #8b6d2d;
  border-radius:8px;
  background:#c6a457;
  color:#171713;
  font-weight:900;
  line-height:1.15;
  box-shadow:0 2px 0 rgba(89,66,20,.28);
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle::after{
  content:'+';
  display:inline-grid;
  place-items:center;
  width:17px;
  height:17px;
  border:1px solid currentColor;
  border-radius:50%;
  font-size:14px;
  line-height:1;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:hover{
  border-color:#594214;
  background:#d7bb70;
  color:#171713;
  box-shadow:0 3px 0 rgba(89,66,20,.32);
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:focus-visible{
  outline:3px solid #f0d274;
  outline-offset:3px;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:active{
  transform:translateY(2px);
  box-shadow:inset 0 2px 4px rgba(40,30,10,.22);
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]{
  border-color:#39432c;
  background:#5b6842;
  color:#fff;
  box-shadow:0 2px 0 rgba(37,48,29,.32);
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]::after{
  content:'−';
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]:hover{
  background:#39432c;
  color:#fff;
}

.aa-show-calendar-wrap .aa-show-details-links a,
.aa-show-calendar-wrap .aa-show-details-links a:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 11px;
  border:1px solid #5b6842;
  border-radius:8px;
  background:#fff;
  color:#24412f!important;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 1px 0 rgba(57,67,44,.16);
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease;
}
.aa-show-calendar-wrap .aa-show-details-links a:hover{
  border-color:#39432c;
  background:#5b6842;
  color:#fff!important;
  box-shadow:0 2px 0 rgba(57,67,44,.24);
}
.aa-show-calendar-wrap .aa-show-details-links a:focus-visible{
  outline:3px solid #c6a457;
  outline-offset:3px;
  background:#5b6842;
  color:#fff!important;
}
.aa-show-calendar-wrap .aa-show-details-links a:active{
  transform:translateY(2px);
  background:#39432c;
  color:#fff!important;
  box-shadow:inset 0 2px 4px rgba(0,0,0,.25);
}

@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle{
    min-height:36px;
    padding:7px 10px;
  }
}

/* 0.2.2.9 — zwarte szczegóły oddziału na telefonie; bez zmian ogólnego układu. */
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-details{
    padding:11px 12px 12px;
  }
  .aa-show-calendar-wrap .aa-show-details dl{
    gap:7px;
  }
  .aa-show-calendar-wrap .aa-show-details dl>div,
  .aa-show-calendar-wrap .aa-show-details dl>div.is-wide{
    display:grid;
    grid-template-columns:minmax(92px,auto) 1fr;
    align-items:start;
    gap:4px 8px;
  }
  .aa-show-calendar-wrap .aa-show-details dt{
    font-size:12px;
    line-height:1.3;
  }
  .aa-show-calendar-wrap .aa-show-details dd{
    min-width:0;
    font-size:12.5px;
    line-height:1.35;
    overflow-wrap:break-word;
  }
  .aa-show-calendar-wrap .aa-show-details-links{
    gap:6px;
    margin-top:10px;
  }
  .aa-show-calendar-wrap .aa-show-details-links a,
  .aa-show-calendar-wrap .aa-show-details-links a:visited{
    min-height:33px;
    padding:6px 9px;
    font-size:11.5px;
    line-height:1.1;
  }
}
@media(max-width:390px){
  .aa-show-calendar-wrap .aa-show-details dl>div,
  .aa-show-calendar-wrap .aa-show-details dl>div.is-wide{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* 0.2.2.10 — bardziej wyrazista, ale mniejsza data na kartach */
@media (min-width:851px){
  .aa-show-date strong{
    display:inline-flex;
    align-self:flex-start;
    align-items:center;
    min-height:26px;
    padding:4px 9px;
    border:1px solid #c7a85a;
    border-radius:7px;
    background:#f4ecd9;
    box-shadow:inset 3px 0 0 #c7a85a;
    color:#26351f;
    font-size:14px;
    font-weight:900;
    line-height:1.1;
    letter-spacing:.055em;
    white-space:nowrap;
  }
}
@media (max-width:850px){
  .aa-show-date strong{
    font-size:14px;
    font-weight:900;
    letter-spacing:.035em;
  }
}


/* 0.2.2.11 — więcej miejsca dla zakresu dat i kapsułka daty na mobile */
@media (min-width:851px){
  .aa-show-calendar-wrap .aa-show-card-summary{
    grid-template-columns:215px minmax(0,1fr) auto;
  }
}
@media (max-width:850px){
  .aa-show-calendar-wrap .aa-show-date strong{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    align-items:center;
    min-height:25px;
    padding:4px 8px;
    border:1px solid #c7a85a;
    border-radius:7px;
    background:#f4ecd9;
    box-shadow:inset 3px 0 0 #c7a85a;
    color:#26351f;
    font-size:13px;
    font-weight:900;
    line-height:1.1;
    letter-spacing:.035em;
    white-space:nowrap;
  }
}
@media (max-width:390px){
  .aa-show-calendar-wrap .aa-show-date strong{
    padding:3px 7px;
    font-size:12px;
    letter-spacing:.02em;
  }
}

/* 0.2.2.13 — skalowalny wybór roku, tylko wewnątrz kalendarza */
.aa-show-calendar-wrap .aa-show-year-switcher{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 16px;
  background:#f7f1e4;
  border-bottom:1px solid rgba(199,168,90,.45);
}
.aa-show-calendar-wrap .aa-show-year-select{display:flex;align-items:center;gap:9px;margin:0;color:#263321;font-weight:800}
.aa-show-calendar-wrap .aa-show-year-select>span{font-size:.76rem;text-transform:uppercase;letter-spacing:.07em}
.aa-show-calendar-wrap .aa-show-year-select select{
  min-width:300px;
  min-height:42px;
  margin:0;
  padding:7px 38px 7px 12px;
  border:1px solid rgba(91,104,66,.5);
  border-radius:10px;
  background-color:#fff;
  color:#263321;
  font-weight:800;
}
.aa-show-calendar-wrap .aa-show-year-select select:focus{border-color:#c7a85a;box-shadow:0 0 0 2px rgba(199,168,90,.22);outline:0}
.aa-show-calendar-wrap .aa-show-year-arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border:1px solid #5b6842;border-radius:10px;
  background:#5b6842;color:#fff;text-decoration:none;font-size:1.55rem;font-weight:900;line-height:1;
}
.aa-show-calendar-wrap .aa-show-year-arrow:hover,.aa-show-calendar-wrap .aa-show-year-arrow:focus-visible{background:#c7a85a;color:#182116;border-color:#c7a85a}
.aa-show-calendar-wrap .aa-show-year-arrow.is-disabled{opacity:.3;cursor:default}
.aa-show-calendar-wrap .aa-show-year-warning{
  margin:0;padding:10px 16px;background:#fff5d9;border-bottom:1px solid #d5b55f;color:#4a3b13;font-size:.88rem;
}
@media (max-width:760px){
  .aa-show-calendar-wrap .aa-show-year-switcher{gap:6px;padding:9px 10px}
  .aa-show-calendar-wrap .aa-show-year-select{flex:1;gap:0}
  .aa-show-calendar-wrap .aa-show-year-select>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .aa-show-calendar-wrap .aa-show-year-select select{width:100%;min-width:0;min-height:40px;font-size:.85rem;padding-left:9px}
  .aa-show-calendar-wrap .aa-show-year-arrow{width:38px;height:38px;flex:0 0 38px}
}

/* 0.2.2.13.6 — etap 1 poprawek wyglądu: belka lat, mobile/tablet, bardziej zwarte komórki i wyraźniejsze kolory typów */

.aa-show-calendar-wrap .aa-show-year-switcher{
  gap:12px;
  padding:14px 16px;
  background:#f6efdf;
  border-left:1px solid rgba(199,168,90,.35);
  border-right:1px solid rgba(199,168,90,.35);
  border-bottom:1px solid rgba(199,168,90,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}
.aa-show-calendar-wrap .aa-show-year-select{
  flex:1;
  justify-content:center;
  min-width:0;
}
.aa-show-calendar-wrap .aa-show-year-select select{
  width:min(100%,720px);
  min-width:0;
  min-height:48px;
  padding:10px 42px 10px 15px;
  border:1px solid rgba(144,118,58,.55);
  border-radius:14px;
  background:#fff;
  color:#263321;
  font-size:1rem;
  font-weight:900;
  box-shadow:0 2px 8px rgba(54,43,22,.06);
}
.aa-show-calendar-wrap .aa-show-year-arrow{
  width:50px;
  height:50px;
  flex:0 0 50px;
  border:1px solid #5b6842;
  border-radius:14px;
  background:#fff;
  color:#274838;
  box-shadow:0 2px 8px rgba(54,43,22,.06);
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .08s ease,box-shadow .16s ease;
}
.aa-show-calendar-wrap .aa-show-year-arrow:hover,
.aa-show-calendar-wrap .aa-show-year-arrow:focus-visible{
  background:#5b6842;
  color:#fff;
  border-color:#5b6842;
  box-shadow:0 3px 10px rgba(57,67,44,.18);
}
.aa-show-calendar-wrap .aa-show-year-arrow:active{transform:translateY(1px)}
.aa-show-calendar-wrap .aa-show-year-arrow.is-disabled{
  background:#efe6d1;
  color:#b3a381;
  border-color:#d8c8a3;
  opacity:1;
}

/* Bardziej jednoznaczne kolory typów wystaw */
.aa-show-calendar-wrap .aa-show-day-event[data-type="Krajowa"],
.aa-show-calendar-wrap .aa-show-day-event[data-type="krajowa" i]{
  border-left-color:#5b6842;
  background:#f4f7ef;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="Międzynarodowa"],
.aa-show-calendar-wrap .aa-show-day-event[data-type="międzynarodowa" i]{
  border-left-color:#b8851c;
  background:#fbf1d7;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="Klubowa"],
.aa-show-calendar-wrap .aa-show-day-event[data-type="klubowa" i]{
  border-left-color:#1c1c1c;
  background:#f1efec;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="Specjalistyczna"],
.aa-show-calendar-wrap .aa-show-day-event[data-type="specjalistyczna" i]{
  border-left-color:#8d5640;
  background:#f8ede8;
}
.aa-show-calendar-wrap .aa-show-card[data-type="Krajowa"],
.aa-show-calendar-wrap .aa-show-card[data-type="krajowa" i]{border-left-color:#5b6842}
.aa-show-calendar-wrap .aa-show-card[data-type="Międzynarodowa"],
.aa-show-calendar-wrap .aa-show-card[data-type="międzynarodowa" i]{border-left-color:#b8851c}
.aa-show-calendar-wrap .aa-show-card[data-type="Klubowa"],
.aa-show-calendar-wrap .aa-show-card[data-type="klubowa" i]{border-left-color:#1c1c1c}
.aa-show-calendar-wrap .aa-show-card[data-type="Specjalistyczna"],
.aa-show-calendar-wrap .aa-show-card[data-type="specjalistyczna" i]{border-left-color:#8d5640}
.aa-show-calendar-wrap .aa-show-card[data-type="Krajowa"] .aa-show-kind,
.aa-show-calendar-wrap .aa-show-card[data-type="krajowa" i] .aa-show-kind{
  border-color:#5b6842;background:#e8efdc;color:#263321;
}
.aa-show-calendar-wrap .aa-show-card[data-type="Międzynarodowa"] .aa-show-kind,
.aa-show-calendar-wrap .aa-show-card[data-type="międzynarodowa" i] .aa-show-kind{
  border-color:#b8851c;background:#f3dfab;color:#50380f;
}
.aa-show-calendar-wrap .aa-show-card[data-type="Klubowa"] .aa-show-kind,
.aa-show-calendar-wrap .aa-show-card[data-type="klubowa" i] .aa-show-kind{
  border-color:#1c1c1c;background:#1f1f1f;color:#fff;
}
.aa-show-calendar-wrap .aa-show-card[data-type="Specjalistyczna"] .aa-show-kind,
.aa-show-calendar-wrap .aa-show-card[data-type="specjalistyczna" i] .aa-show-kind{
  border-color:#8d5640;background:#efd9d0;color:#552d1d;
}
.aa-show-calendar-wrap .aa-show-type-code[data-type="Krajowa"],
.aa-show-calendar-wrap .aa-show-type-code[data-type="krajowa" i]{background:#5b6842;color:#fff}
.aa-show-calendar-wrap .aa-show-type-code[data-type="Międzynarodowa"],
.aa-show-calendar-wrap .aa-show-type-code[data-type="międzynarodowa" i]{background:#b8851c;color:#fff}
.aa-show-calendar-wrap .aa-show-type-code[data-type="Klubowa"],
.aa-show-calendar-wrap .aa-show-type-code[data-type="klubowa" i]{background:#1c1c1c;color:#fff}
.aa-show-calendar-wrap .aa-show-type-code[data-type="Specjalistyczna"],
.aa-show-calendar-wrap .aa-show-type-code[data-type="specjalistyczna" i]{background:#8d5640;color:#fff}

/* Zwarty kalendarz desktop / tablet */
.aa-show-calendar-wrap .aa-show-day,
.aa-show-calendar-wrap .aa-show-days .is-empty{
  min-height:84px;
  padding:6px;
}
.aa-show-calendar-wrap .aa-show-day-event{
  margin-top:4px;
  padding:4px 6px;
}
.aa-show-calendar-wrap .aa-show-day-event strong{font-size:10px}
.aa-show-calendar-wrap .aa-show-day-event em{font-size:8px}
.aa-show-calendar-wrap .aa-show-week span{padding:9px 4px}

@media (max-width:980px){
  .aa-show-calendar-wrap .aa-show-day,
  .aa-show-calendar-wrap .aa-show-days .is-empty{
    min-height:72px;
    padding:4px;
  }
  .aa-show-calendar-wrap .aa-show-day-summary{
    margin-top:6px;
    gap:3px;
    padding:1px 0 0;
  }
  .aa-show-calendar-wrap .aa-show-type-code{
    min-width:18px;
    height:18px;
    padding:0 3px;
    font-size:8px;
    box-shadow:0 1px 2px rgba(0,0,0,.08);
  }
  .aa-show-calendar-wrap .aa-show-day-summary .aa-count{
    display:block;
    width:100%;
    margin-top:2px;
    font-size:8px;
    font-weight:900;
    line-height:1;
    color:#6a5630;
  }
}

@media (max-width:850px){
  .aa-show-calendar-wrap .aa-show-year-switcher{
    gap:8px;
    padding:10px 12px;
  }
  .aa-show-calendar-wrap .aa-show-year-select select{
    min-height:44px;
    padding:8px 38px 8px 12px;
    border-radius:12px;
    font-size:.95rem;
  }
  .aa-show-calendar-wrap .aa-show-year-arrow{
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:12px;
    font-size:1.35rem;
  }
  .aa-show-calendar-wrap .aa-show-day,
  .aa-show-calendar-wrap .aa-show-days .is-empty{
    min-height:64px;
    padding:3px;
  }
  .aa-show-calendar-wrap .aa-show-day b{font-size:12px}
  .aa-show-calendar-wrap .aa-show-day-summary{
    gap:2px;
    margin-top:5px;
  }
  .aa-show-calendar-wrap .aa-show-type-code{
    min-width:16px;
    height:16px;
    font-size:7.5px;
  }
  .aa-show-calendar-wrap .aa-show-day-summary .aa-count{
    font-size:8px;
  }
}

@media (max-width:560px){
  .aa-show-calendar-wrap .aa-show-year-switcher{
    gap:7px;
    padding:9px 10px;
  }
  .aa-show-calendar-wrap .aa-show-year-select select{
    min-height:42px;
    font-size:.9rem;
    font-weight:800;
  }
  .aa-show-calendar-wrap .aa-show-year-arrow{
    width:40px;
    height:40px;
    flex:0 0 40px;
  }
  .aa-show-calendar-wrap .aa-show-week span{
    padding:7px 2px;
    font-size:10px;
  }
  .aa-show-calendar-wrap .aa-show-day,
  .aa-show-calendar-wrap .aa-show-days .is-empty{
    min-height:56px;
    padding:2px;
  }
  .aa-show-calendar-wrap .aa-show-day b{
    font-size:11px;
    line-height:1;
  }
  .aa-show-calendar-wrap .aa-show-day-summary{
    margin-top:4px;
    gap:2px;
  }
  .aa-show-calendar-wrap .aa-show-type-code{
    min-width:15px;
    height:15px;
    font-size:7px;
    font-weight:800;
  }
  .aa-show-calendar-wrap .aa-show-day-summary .aa-count{
    margin-top:1px;
    font-size:7px;
  }
}


/* 0.2.2.13.7 — mobile: skrócone etykiety roku i szybki wybór miesiąca */
.aa-show-calendar-wrap .aa-show-nav{
  grid-template-columns:60px minmax(0,1fr) 60px;
}
.aa-show-calendar-wrap .aa-show-month-select{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  min-width:0;
}
.aa-show-calendar-wrap .aa-show-month-select > span{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
}
.aa-show-calendar-wrap .aa-show-month-select select{
  width:100%;
  min-width:0;
  min-height:42px;
  padding:8px 12px;
  border:1px solid #ccb98d;
  border-radius:12px;
  background:#fff;
  color:#263321;
  font:inherit;
  font-size:16px;
  font-weight:800;
  line-height:1.2;
}
.aa-show-calendar-wrap .aa-show-month-select select:focus{
  border-color:#c7a85a;
  box-shadow:0 0 0 2px rgba(199,168,90,.22);
  outline:0;
}
@media(max-width:850px){
  .aa-show-calendar-wrap .aa-show-year-select select{
    font-size:.83rem;
  }
  .aa-show-calendar-wrap .aa-show-month-select{
    padding:6px 8px;
  }
  .aa-show-calendar-wrap .aa-show-month-select select{
    min-height:40px;
    padding:7px 10px;
    font-size:15px;
  }
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-year-switcher{
    gap:8px;
  }
  .aa-show-calendar-wrap .aa-show-year-select select{
    font-size:.8rem;
    padding-left:10px;
    padding-right:28px;
  }
  .aa-show-calendar-wrap .aa-show-nav{
    grid-template-columns:50px minmax(0,1fr) 50px;
  }
  .aa-show-calendar-wrap .aa-show-month-select{
    padding:5px 6px;
  }
  .aa-show-calendar-wrap .aa-show-month-select select{
    min-height:38px;
    padding:6px 8px;
    font-size:14px;
  }
}

/* 0.2.2.13.8 — priorytetowy blok Golden Retriever */
.aa-show-calendar-wrap .aa-show-golden-summary{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:9px;padding:8px 10px;border:1px solid #d8c28c;border-radius:9px;background:#fff8df;color:#4a3914}
.aa-show-calendar-wrap .aa-show-golden-summary strong{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#26351f}
.aa-show-calendar-wrap .aa-show-golden-summary span{font-size:13px;font-weight:700}
.aa-show-calendar-wrap .aa-show-golden-details{margin:0 0 16px;padding:14px 16px;border:1px solid #d6bd7d;border-radius:10px;background:#fff8df}
.aa-show-calendar-wrap .aa-show-golden-details h4{margin:0 0 10px;font-family:Georgia,serif;font-size:18px;color:#26351f}
.aa-show-calendar-wrap .aa-show-golden-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.aa-show-calendar-wrap .aa-show-golden-grid>div{display:flex;flex-direction:column;gap:3px;padding:8px 9px;border-radius:8px;background:#fff}
.aa-show-calendar-wrap .aa-show-golden-grid b{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#6b5b34}
.aa-show-calendar-wrap .aa-show-golden-grid span{font-size:13px;font-weight:800;color:#26351f}
.aa-show-calendar-wrap .aa-show-golden-source{display:inline-flex;margin-top:10px;padding:7px 10px;border:1px solid #8b6d2d;border-radius:8px;background:#fff;color:#4a3914;text-decoration:none;font-size:12px;font-weight:800}
.aa-show-calendar-wrap .aa-show-golden-source:hover{background:#c6a457;color:#171713}
@media(max-width:850px){.aa-show-calendar-wrap .aa-show-golden-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-show-calendar-wrap .aa-show-golden-summary{display:grid;gap:4px}.aa-show-calendar-wrap .aa-show-golden-summary span{font-size:12px}}
@media(max-width:420px){.aa-show-calendar-wrap .aa-show-golden-grid{grid-template-columns:1fr}.aa-show-calendar-wrap .aa-show-golden-details{padding:12px}}

/* 0.2.2.13.29 — bieżący miesiąc, mapy i uproszczone szczegóły publiczne */
.aa-show-calendar-wrap .aa-show-current-row{
  display:flex;
  justify-content:center;
  padding:9px 14px;
  border:1px solid var(--aa-gold-soft);
  border-bottom:0;
  background:#fbf8f0;
}
.aa-show-calendar-wrap .aa-show-current-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 14px;
  border:1px solid #5b6842;
  border-radius:999px;
  background:#fff;
  color:#24412f;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
}
.aa-show-calendar-wrap .aa-show-current-button:hover,
.aa-show-calendar-wrap .aa-show-current-button:focus-visible{
  background:#5b6842;
  color:#fff;
}
.aa-show-calendar-wrap .aa-show-map-address{
  color:#245f47;
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.aa-show-calendar-wrap .aa-show-map-address:hover{color:#8b6d2d}

@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-current-row{padding:7px 10px}
  .aa-show-calendar-wrap .aa-show-current-button{width:100%;min-height:38px}
  .aa-show-calendar-wrap .aa-show-details{
    margin-top:9px;
    padding:10px 11px 11px;
  }
  .aa-show-calendar-wrap .aa-show-details dl{gap:6px}
  .aa-show-calendar-wrap .aa-show-details dl>div,
  .aa-show-calendar-wrap .aa-show-details dl>div.is-wide{
    grid-template-columns:minmax(88px,auto) minmax(0,1fr);
    gap:3px 7px;
  }
  .aa-show-calendar-wrap .aa-show-details dt{font-size:11px;line-height:1.25}
  .aa-show-calendar-wrap .aa-show-details dd{font-size:12px;line-height:1.3}
  .aa-show-calendar-wrap .aa-show-golden-details{
    margin:0 0 9px;
    padding:7px 9px;
  }
  .aa-show-calendar-wrap .aa-show-golden-details h4,
  .aa-show-calendar-wrap .aa-show-golden-details .aa-show-golden-grid{display:none}
  .aa-show-calendar-wrap .aa-show-golden-source{
    margin-top:0;
    min-height:34px;
    padding:6px 9px;
    font-size:11.5px;
  }
  .aa-show-calendar-wrap .aa-show-details-links{
    gap:5px;
    margin-top:9px;
  }
  .aa-show-calendar-wrap .aa-show-details-links a,
  .aa-show-calendar-wrap .aa-show-details-links a:visited{
    min-height:32px;
    padding:6px 8px;
    font-size:11px;
  }
}

/* 0.2.2.13.30 — przebudowa nawigacji, kontrast kalendarza i uproszczone karty */
.aa-show-calendar-wrap .aa-show-date-controls{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  align-items:stretch;
  gap:10px;
  padding:12px 14px;
  border:1px solid var(--aa-gold-soft);
  border-bottom:0;
  background:#f6efdf;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-row{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  gap:7px;
  align-items:center;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  padding:0;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select>span,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select>span{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#39432c;
}
.aa-show-calendar-wrap .aa-show-date-controls select{
  width:100%;
  min-width:0;
  min-height:42px;
  margin:0;
  padding:8px 34px 8px 11px;
  border:1px solid #c7a85a;
  border-radius:10px;
  background:#fff;
  color:#263321;
  font-size:14px;
  font-weight:900;
  box-shadow:none;
}
.aa-show-calendar-wrap .aa-show-date-controls select:hover{border-color:#8b6d2d}
.aa-show-calendar-wrap .aa-show-date-controls select:focus{
  border-color:#8b6d2d;
  outline:3px solid rgba(199,168,90,.25);
  outline-offset:1px;
  box-shadow:none;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  border:1px solid #8b6d2d;
  border-radius:10px;
  background:#fff!important;
  color:#39432c!important;
  text-decoration:none;
  font-size:25px;
  font-weight:900;
  line-height:1;
  box-shadow:none;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow:hover,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow:focus-visible,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a:hover,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a:focus-visible{
  border-color:#8b6d2d!important;
  background:#c7a85a!important;
  color:#171713!important;
  outline:0;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow:active,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a:active{
  border-color:#39432c!important;
  background:#39432c!important;
  color:#fff!important;
  transform:translateY(1px);
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow.is-disabled{
  border-color:#d8c8a3!important;
  background:#efe6d1!important;
  color:#a89a79!important;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-row{
  display:flex;
  align-items:center;
}
.aa-show-calendar-wrap .aa-show-current-button,
.aa-show-calendar-wrap .aa-show-current-button:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 15px;
  border:1px solid #8b6d2d!important;
  border-radius:10px;
  background:#fff!important;
  color:#39432c!important;
  white-space:nowrap;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  box-shadow:none;
}
.aa-show-calendar-wrap .aa-show-current-button:hover,
.aa-show-calendar-wrap .aa-show-current-button:focus-visible{
  border-color:#8b6d2d!important;
  background:#c7a85a!important;
  color:#171713!important;
  outline:0;
}
.aa-show-calendar-wrap .aa-show-current-button:active{
  border-color:#39432c!important;
  background:#39432c!important;
  color:#fff!important;
}

/* Jednoznaczne kolory i stały kontrast także dla wydarzeń przeszłych */
.aa-show-calendar-wrap .aa-show-day-event,
.aa-show-calendar-wrap .aa-show-day-event:visited{opacity:1;filter:none}
.aa-show-calendar-wrap .aa-show-day-event[data-type="krajowa" i]{
  border-color:#b7c39d;
  border-left-color:#5b6842;
  background:#eef3e7;
  color:#20261b;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="krajowa" i] strong,
.aa-show-calendar-wrap .aa-show-day-event[data-type="krajowa" i] em{color:#263321}
.aa-show-calendar-wrap .aa-show-day-event[data-type="międzynarodowa" i]{
  border-color:#ddc47d;
  border-left-color:#b8851c;
  background:#fbf0cf;
  color:#34270b;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="międzynarodowa" i] strong,
.aa-show-calendar-wrap .aa-show-day-event[data-type="międzynarodowa" i] em{color:#4b360d}
.aa-show-calendar-wrap .aa-show-day-event[data-type="klubowa" i]{
  border-color:#1f1f1f;
  border-left-color:#050505;
  background:#292923;
  color:#fff;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="klubowa" i] strong,
.aa-show-calendar-wrap .aa-show-day-event[data-type="klubowa" i] em{color:#fff}
.aa-show-calendar-wrap .aa-show-day-event[data-type="specjalistyczna" i]{
  border-color:#b98069;
  border-left-color:#8d5640;
  background:#8d5640;
  color:#fff;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="specjalistyczna" i] strong,
.aa-show-calendar-wrap .aa-show-day-event[data-type="specjalistyczna" i] em{color:#fff}
.aa-show-calendar-wrap .aa-show-day-event.is-cancelled{
  border-color:#cf8f89;
  border-left-color:#a34843;
  background:#f4d9d6;
  color:#681f1c;
}
.aa-show-calendar-wrap .aa-show-day-event.is-cancelled strong,
.aa-show-calendar-wrap .aa-show-day-event.is-cancelled em{color:#681f1c}
.aa-show-calendar-wrap .aa-show-day-event.is-past{opacity:.78;filter:saturate(.72)}
.aa-show-calendar-wrap .aa-show-day-event strong{font-size:10.5px;line-height:1.15}
.aa-show-calendar-wrap .aa-show-day-event em{font-size:8.5px;line-height:1.15}
.aa-show-calendar-wrap .aa-show-more{
  margin-top:5px;
  color:#6b531c!important;
  font-size:11px;
  font-weight:900;
}
.aa-show-calendar-wrap .aa-show-more:hover,
.aa-show-calendar-wrap .aa-show-more:focus-visible{color:#171713!important;text-decoration:underline}
.aa-show-calendar-wrap .aa-show-day,
.aa-show-calendar-wrap .aa-show-days .is-empty{min-height:76px}

/* Uproszczona karta: dane Golden tylko raz, a rozwinięcie dotyczy miejsca i kontaktu */
.aa-show-calendar-wrap .aa-show-card-summary{
  grid-template-columns:200px minmax(0,1fr) minmax(250px,auto);
  gap:18px;
}
.aa-show-calendar-wrap .aa-show-golden-summary{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:8px;
  padding:7px 10px;
  border-color:#d7bd76;
  background:#fff7dc;
}
.aa-show-calendar-wrap .aa-show-golden-summary strong{flex:0 0 auto;font-size:11px}
.aa-show-calendar-wrap .aa-show-golden-summary span{font-size:12.5px}
.aa-show-calendar-wrap .aa-show-details{
  margin-top:12px;
  padding:14px 16px 15px;
  background:#fbf8f1;
}
.aa-show-calendar-wrap .aa-show-details dl{gap:10px 22px}
.aa-show-calendar-wrap .aa-show-details dl>div{grid-template-columns:120px minmax(0,1fr)}
.aa-show-calendar-wrap .aa-show-details-links{margin-top:12px}
.aa-show-calendar-wrap .aa-show-map-address,
.aa-show-calendar-wrap .aa-show-map-address:visited{
  color:#39432c!important;
  text-decoration-color:#c7a85a;
}
.aa-show-calendar-wrap .aa-show-map-address:hover,
.aa-show-calendar-wrap .aa-show-map-address:focus-visible{color:#8b6d2d!important}

/* Wszystkie przyciski publiczne: brak niedozwolonego zielonego i brak podwójnego zielonego stanu */
.aa-show-calendar-wrap .aa-show-actions a,
.aa-show-calendar-wrap .aa-show-actions a:visited,
.aa-show-calendar-wrap .aa-show-details-links a,
.aa-show-calendar-wrap .aa-show-details-links a:visited,
.aa-show-calendar-wrap .aa-show-filter-reset,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle{
  border-color:#5b6842!important;
  background:#fff!important;
  color:#39432c!important;
  box-shadow:none!important;
}
.aa-show-calendar-wrap .aa-show-actions a:hover,
.aa-show-calendar-wrap .aa-show-actions a:focus-visible,
.aa-show-calendar-wrap .aa-show-details-links a:hover,
.aa-show-calendar-wrap .aa-show-details-links a:focus-visible,
.aa-show-calendar-wrap .aa-show-filter-reset:hover,
.aa-show-calendar-wrap .aa-show-filter-reset:focus-visible,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:hover,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:focus-visible{
  border-color:#8b6d2d!important;
  background:#c7a85a!important;
  color:#171713!important;
  outline:0!important;
}
.aa-show-calendar-wrap .aa-show-actions a:active,
.aa-show-calendar-wrap .aa-show-details-links a:active,
.aa-show-calendar-wrap .aa-show-filter-reset:active,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:active,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]{
  border-color:#39432c!important;
  background:#39432c!important;
  color:#fff!important;
  transform:none;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]:hover,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]:focus-visible{
  border-color:#8b6d2d!important;
  background:#c7a85a!important;
  color:#171713!important;
}

@media(max-width:1050px){
  .aa-show-calendar-wrap .aa-show-date-controls{grid-template-columns:1fr 1fr}
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-row{grid-column:1/-1;justify-content:center}
  .aa-show-calendar-wrap .aa-show-card-summary{grid-template-columns:170px minmax(0,1fr)}
  .aa-show-calendar-wrap .aa-show-actions{grid-column:1/-1;justify-content:flex-start;max-width:none}
}
@media(max-width:760px){
  .aa-show-calendar-wrap .aa-show-date-controls{
    grid-template-columns:1fr;
    gap:8px;
    padding:10px;
  }
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-row{grid-column:auto}
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select,
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{grid-template-columns:58px minmax(0,1fr)}
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-button{width:100%}
  .aa-show-calendar-wrap .aa-show-card-summary{grid-template-columns:1fr}
  .aa-show-calendar-wrap .aa-show-actions{grid-column:auto}
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher,
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{grid-template-columns:38px minmax(0,1fr) 38px}
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow,
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a{width:38px;height:38px;min-height:38px;border-radius:9px}
  .aa-show-calendar-wrap .aa-show-date-controls select{min-height:38px;font-size:13px}
  .aa-show-calendar-wrap .aa-show-golden-summary{display:grid;gap:3px;padding:7px 9px}
  .aa-show-calendar-wrap .aa-show-golden-summary strong{font-size:10.5px}
  .aa-show-calendar-wrap .aa-show-golden-summary span{font-size:12px}
  .aa-show-calendar-wrap .aa-show-details{margin-top:8px;padding:9px 10px 10px}
  .aa-show-calendar-wrap .aa-show-details dl{gap:6px}
  .aa-show-calendar-wrap .aa-show-details dl>div,
  .aa-show-calendar-wrap .aa-show-details dl>div.is-wide{grid-template-columns:minmax(82px,auto) minmax(0,1fr);gap:3px 6px}
  .aa-show-calendar-wrap .aa-show-details dt{font-size:10.5px}
  .aa-show-calendar-wrap .aa-show-details dd{font-size:11.5px;line-height:1.3}
  .aa-show-calendar-wrap .aa-show-details-links{gap:5px;margin-top:8px}
  .aa-show-calendar-wrap .aa-show-details-links a,
  .aa-show-calendar-wrap .aa-show-details-links a:visited{min-height:31px;padding:5px 8px;font-size:10.5px}
  .aa-show-calendar-wrap .aa-show-day,
  .aa-show-calendar-wrap .aa-show-days .is-empty{min-height:54px}
}

/* 0.2.2.13.31 — korekta panelu nawigacji i rozdzielenie organizatora od lokalizacji */
.aa-show-calendar-wrap .aa-show-date-controls{
  grid-template-columns:auto auto auto;
  justify-content:center;
  align-items:center;
  gap:14px;
  padding:12px 18px;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher{
  grid-template-columns:44px 330px 44px;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{
  grid-template-columns:44px 300px 44px;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{
  grid-template-columns:48px minmax(0,1fr);
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:44px;
  height:44px;
  min-height:44px;
  padding:0!important;
  line-height:1!important;
  text-indent:0;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow{
  padding-bottom:3px!important;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a{
  padding-bottom:3px!important;
}
.aa-show-calendar-wrap .aa-show-current-button,
.aa-show-calendar-wrap .aa-show-current-button:visited{
  min-height:44px;
  padding:9px 18px;
  border-color:#7b2f35!important;
  background:#8f3f46!important;
  color:#fff!important;
  box-shadow:0 2px 0 rgba(61,20,24,.25)!important;
}
.aa-show-calendar-wrap .aa-show-current-button:hover,
.aa-show-calendar-wrap .aa-show-current-button:focus-visible{
  border-color:#5e2228!important;
  background:#a9565d!important;
  color:#fff!important;
}
.aa-show-calendar-wrap .aa-show-current-button:active{
  border-color:#171713!important;
  background:#2c2b27!important;
  color:#fff!important;
  box-shadow:inset 0 2px 4px rgba(0,0,0,.28)!important;
}

.aa-show-calendar-wrap .aa-show-details{
  border-top:1px solid #d8c9aa;
}
.aa-show-calendar-wrap .aa-show-detail-sections{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
}
.aa-show-calendar-wrap .aa-show-detail-section{
  padding:13px 14px;
  border:1px solid #ddcfaf;
  border-radius:12px;
  background:#fffdf8;
}
.aa-show-calendar-wrap .aa-show-detail-section h4{
  margin:0 0 10px;
  padding-bottom:7px;
  border-bottom:1px solid #e6dbc1;
  color:#332f29;
  font-family:Georgia,serif;
  font-size:17px;
}
.aa-show-calendar-wrap .aa-show-detail-section dl{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin:0;
}
.aa-show-calendar-wrap .aa-show-detail-section dl>div,
.aa-show-calendar-wrap .aa-show-detail-section dl>div.is-wide{
  display:grid;
  grid-template-columns:122px minmax(0,1fr);
  gap:8px;
}
.aa-show-calendar-wrap .aa-show-extra-details{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin:12px 0 0;
  padding:12px 14px;
  border:1px solid #ddcfaf;
  border-radius:12px;
  background:#fffdf8;
}
.aa-show-calendar-wrap .aa-show-extra-details>div{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:10px;
}
.aa-show-calendar-wrap .aa-show-details a,
.aa-show-calendar-wrap .aa-show-details a:visited,
.aa-show-calendar-wrap .aa-show-map-address,
.aa-show-calendar-wrap .aa-show-map-address:visited{
  color:#6f2f35!important;
  text-decoration-color:#c7a85a!important;
}
.aa-show-calendar-wrap .aa-show-details a:hover,
.aa-show-calendar-wrap .aa-show-details a:focus-visible,
.aa-show-calendar-wrap .aa-show-map-address:hover,
.aa-show-calendar-wrap .aa-show-map-address:focus-visible{
  color:#2c2b27!important;
  text-decoration-color:#8b6d2d!important;
}

.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:visited{
  border-color:#8b6d2d!important;
  background:#c7a85a!important;
  color:#171713!important;
  box-shadow:0 2px 0 rgba(89,66,20,.24)!important;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:hover,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:focus-visible{
  border-color:#6f2f35!important;
  background:#dfc77f!important;
  color:#171713!important;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle:active,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]{
  border-color:#6f2f35!important;
  background:#8f3f46!important;
  color:#fff!important;
  box-shadow:inset 0 2px 4px rgba(0,0,0,.2)!important;
}
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]:hover,
.aa-show-calendar-wrap .aa-show-actions .aa-show-details-toggle[aria-expanded="true"]:focus-visible{
  border-color:#5e2228!important;
  background:#a9565d!important;
  color:#fff!important;
}

@media(max-width:1180px){
  .aa-show-calendar-wrap .aa-show-date-controls{
    grid-template-columns:1fr 1fr;
  }
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher,
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{
    grid-template-columns:44px minmax(0,1fr) 44px;
  }
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-row{
    grid-column:1/-1;
    justify-content:center;
  }
}
@media(max-width:760px){
  .aa-show-calendar-wrap .aa-show-date-controls{grid-template-columns:1fr}
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-current-row{grid-column:auto}
  .aa-show-calendar-wrap .aa-show-detail-sections{grid-template-columns:1fr}
  .aa-show-calendar-wrap .aa-show-detail-section dl>div,
  .aa-show-calendar-wrap .aa-show-detail-section dl>div.is-wide{
    grid-template-columns:118px minmax(0,1fr);
  }
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher,
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{
    grid-template-columns:40px minmax(0,1fr) 40px;
  }
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow,
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a{
    width:40px;height:40px;min-height:40px;
  }
  .aa-show-calendar-wrap .aa-show-detail-section{padding:10px}
  .aa-show-calendar-wrap .aa-show-detail-section h4{font-size:16px}
  .aa-show-calendar-wrap .aa-show-detail-section dl>div,
  .aa-show-calendar-wrap .aa-show-detail-section dl>div.is-wide,
  .aa-show-calendar-wrap .aa-show-extra-details>div{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* 0.2.2.13.32 — pełna etykieta miesiąca, złoty przycisk bieżącego miesiąca, nazwa miejsca bez adresu */
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{
  grid-template-columns:44px 330px 44px;
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{
  grid-template-columns:68px minmax(0,1fr);
}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select>span{
  white-space:nowrap;
  line-height:1;
}
.aa-show-calendar-wrap .aa-show-current-button,
.aa-show-calendar-wrap .aa-show-current-button:visited{
  border-color:#8b6d2d!important;
  background:#c7a85a!important;
  color:#171713!important;
  box-shadow:0 2px 0 rgba(89,66,20,.25)!important;
}
.aa-show-calendar-wrap .aa-show-current-button:hover,
.aa-show-calendar-wrap .aa-show-current-button:focus-visible{
  border-color:#6f5420!important;
  background:#dfc77f!important;
  color:#171713!important;
}
.aa-show-calendar-wrap .aa-show-current-button:active{
  border-color:#594214!important;
  background:#a88435!important;
  color:#171713!important;
  box-shadow:inset 0 2px 4px rgba(55,38,8,.24)!important;
}
@media(max-width:1180px){
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{
    grid-template-columns:44px minmax(0,1fr) 44px;
  }
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{
    grid-template-columns:62px minmax(0,1fr);
  }
}


/* 0.2.2.13.39 — statystyki zgłoszeń Golden Retriever */
.aa-show-calendar-wrap .aa-show-golden-stats{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid rgba(199,168,90,.65);
  border-radius:14px;
  background:#fff8e4;
}
.aa-show-calendar-wrap .aa-show-golden-stats-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;
}
.aa-show-calendar-wrap .aa-show-golden-stats-head h4{margin:0;font-size:17px;color:#263321}
.aa-show-calendar-wrap .aa-show-golden-stats-head>span{
  padding:5px 9px;border:1px solid #c7a85a;border-radius:999px;background:#fff;color:#4d4022;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;
}
.aa-show-calendar-wrap .aa-show-golden-stats-summary{
  display:grid;grid-template-columns:auto auto auto auto auto auto;align-items:baseline;justify-content:start;gap:5px 8px;
}
.aa-show-calendar-wrap .aa-show-golden-stats-summary strong{font-size:22px;color:#263321}
.aa-show-calendar-wrap .aa-show-golden-stats-summary span{margin-right:14px;color:#5f5a4e;font-size:13px}
.aa-show-calendar-wrap .aa-show-golden-stats details{margin-top:12px;border-top:1px solid rgba(199,168,90,.45);padding-top:10px}
.aa-show-calendar-wrap .aa-show-golden-stats summary{cursor:pointer;font-weight:800;color:#4a3b24}
.aa-show-calendar-wrap .aa-show-golden-stats-classes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:10px}
.aa-show-calendar-wrap .aa-show-golden-stats-classes>div{padding:10px 12px;border-radius:10px;background:#fff}
.aa-show-calendar-wrap .aa-show-golden-stats-classes h5{margin:0 0 7px;font-size:14px;color:#263321}
.aa-show-calendar-wrap .aa-show-golden-stats-classes p{display:flex;justify-content:space-between;gap:12px;margin:3px 0;font-size:13px}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-golden-stats{padding:12px}
  .aa-show-calendar-wrap .aa-show-golden-stats-head{align-items:flex-start;flex-direction:column;gap:7px}
  .aa-show-calendar-wrap .aa-show-golden-stats-summary{grid-template-columns:auto auto;gap:2px 8px}
  .aa-show-calendar-wrap .aa-show-golden-stats-summary span{margin-right:0}
  .aa-show-calendar-wrap .aa-show-golden-stats-classes{grid-template-columns:1fr;gap:10px}
}


/* 0.2.2.13.40 — czytelniejsze statystyki Golden Retriever */
.aa-show-calendar-wrap .aa-show-golden-stats{
  border-width:1px;
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
.aa-show-calendar-wrap .aa-show-golden-stats.is-final{
  background:#fff8e4;
  border-color:#c7a85a;
  box-shadow:inset 4px 0 0 #c7a85a;
}
.aa-show-calendar-wrap .aa-show-golden-stats.is-temporary{
  background:#fff1eb;
  border-color:#a85d49;
  box-shadow:inset 4px 0 0 #8f4637;
}
.aa-show-calendar-wrap .aa-show-golden-stats.is-final .aa-show-golden-stats-head>span{
  border-color:#a77f20;
  background:#d9b95f;
  color:#2f2817;
}
.aa-show-calendar-wrap .aa-show-golden-stats.is-temporary .aa-show-golden-stats-head>span{
  border-color:#8f4637;
  background:#8f4637;
  color:#fff;
}
.aa-show-calendar-wrap .aa-show-golden-stats-note{
  margin:-3px 0 10px;
  padding:7px 10px;
  border-radius:8px;
  background:rgba(143,70,55,.09);
  color:#6d3127;
  font-size:12px;
  font-weight:800;
}
.aa-show-calendar-wrap .aa-show-golden-stats-confirmed-note{
  margin:-3px 0 10px;
  padding:7px 10px;
  border-radius:8px;
  background:rgba(199,168,90,.14);
  color:#4a3b24;
  font-size:12px;
  font-weight:800;
}
.aa-show-calendar-wrap .aa-show-golden-stats-classes>div{
  border:1px solid rgba(199,168,90,.34);
  overflow:hidden;
}
.aa-show-calendar-wrap .aa-show-golden-stats-classes h5{
  margin:-10px -12px 5px;
  padding:9px 12px;
  border-bottom:1px solid rgba(199,168,90,.45);
  background:#f7f0dd;
  font-size:14px;
}
.aa-show-calendar-wrap .aa-show-golden-stats-classes p{
  align-items:center;
  margin:0 -12px;
  padding:6px 12px;
  border-bottom:1px solid rgba(88,76,47,.12);
  line-height:1.25;
}
.aa-show-calendar-wrap .aa-show-golden-stats-classes p:nth-of-type(even){
  background:rgba(247,240,221,.5);
}
.aa-show-calendar-wrap .aa-show-golden-stats-classes p:last-child{border-bottom:0}
.aa-show-calendar-wrap .aa-show-golden-stats-classes p strong{
  min-width:28px;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-golden-stats-head{
    flex-direction:row;
    align-items:center;
    gap:8px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-head h4{
    font-size:15px;
    line-height:1.2;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-head>span{
    flex:0 0 auto;
    padding:4px 7px;
    font-size:9px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-summary{
    display:flex;
    flex-wrap:nowrap;
    align-items:baseline;
    gap:4px;
    white-space:nowrap;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-summary strong{font-size:18px}
  .aa-show-calendar-wrap .aa-show-golden-stats-summary span{
    margin-right:7px;
    font-size:11px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-summary span:last-child{margin-right:0}
  .aa-show-calendar-wrap .aa-show-golden-stats-note{
    font-size:11px;
    padding:6px 8px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-classes p{
    padding-top:7px;
    padding-bottom:7px;
  }
}


/* 0.2.2.13.41 — filtr wystaw z Golden Retrieverem */
.aa-show-calendar-wrap .aa-show-filter-golden{
  font-weight:800;
}
.aa-show-calendar-wrap .aa-show-filter-golden input{
  accent-color:#c7a85a;
}
@media(max-width:850px){
  .aa-show-calendar-wrap .aa-show-filter-golden{
    grid-column:1/-1;
  }
}


/* Pływający powrót do początku kalendarza */
.aa-show-calendar-wrap .aa-show-back-to-calendar{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:999;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:10px 16px;
  border:1px solid #6b5a2b;
  border-radius:999px;
  background:#d6b55a;
  color:#211d13;
  font-weight:800;
  line-height:1;
  box-shadow:0 8px 22px rgba(32,28,18,.22);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease,background .2s ease;
  cursor:pointer;
}
.aa-show-calendar-wrap .aa-show-back-to-calendar.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.aa-show-calendar-wrap .aa-show-back-to-calendar:hover,
.aa-show-calendar-wrap .aa-show-back-to-calendar:focus-visible{
  background:#e5c978;
  color:#211d13;
  border-color:#4d431f;
  outline:none;
}
.aa-show-calendar-wrap .aa-show-back-to-calendar:active{
  background:#b99843;
  color:#17140d;
  transform:translateY(1px);
}
.aa-show-calendar-wrap .aa-show-back-to-calendar > span[aria-hidden="true"]{
  font-size:20px;
  line-height:1;
}
@media (max-width: 767px){
  .aa-show-calendar-wrap .aa-show-back-to-calendar{
    right:10px;
    bottom:10px;
    width:auto;
    max-width:104px;
    min-height:34px;
    padding:6px 9px;
    gap:4px;
    font-size:11px;
    border-radius:18px;
    box-shadow:0 3px 9px rgba(32,28,18,.16);
  }
  .aa-show-calendar-wrap .aa-show-back-to-calendar > span[aria-hidden="true"]{font-size:14px;}
  .aa-show-calendar-wrap .aa-show-back-label{font-size:0;}
  .aa-show-calendar-wrap .aa-show-back-label::after{content:"Kalendarz";font-size:11px;line-height:1;}
}


/* 0.2.2.13.52 — nasze zgłoszenia */
.aa-show-our-entries{margin-top:8px;padding:9px 12px;border:1px solid #d4b45d;border-radius:9px;background:#fff8df;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.aa-show-our-entries>strong{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#3b432b}
.aa-show-our-entries>span{font-size:13px;font-weight:700;color:#2d3028}
.aa-show-our-entries-details{margin-top:14px;padding:14px 16px;border:1px solid #d4b45d;border-radius:12px;background:#fff9e8}
.aa-show-our-entries-details h4{margin:0 0 10px;font-size:18px}
.aa-show-our-entries-list{display:flex;gap:10px;flex-wrap:wrap}
.aa-show-our-entries-list>div{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:9px;background:#fff;border:1px solid #e2d3a6}
.aa-show-our-entries-list strong{font-size:14px}
.aa-show-our-entries-list span{font-size:13px}
.aa-show-our-entries-list em{font-size:11px;font-style:normal;font-weight:800;text-transform:uppercase;color:#9a3131}
.aa-show-our-entries-list>div.is-cancelled{border-color:#d9a4a4;background:#fff2f2}
@media(max-width:720px){
  .aa-show-our-entries{display:block;padding:8px 10px}
  .aa-show-our-entries>strong{display:block;margin-bottom:3px;font-size:10px}
  .aa-show-our-entries>span{display:block;font-size:12px;line-height:1.35}
  .aa-show-our-entries-details{padding:12px}
  .aa-show-our-entries-list{display:grid;grid-template-columns:1fr}
  .aa-show-our-entries-list>div{justify-content:space-between;gap:6px;padding:8px 10px}
}


/* 0.2.2.13.54 — poprawiony układ filtrów naszych zgłoszeń */
.aa-show-filter-dogs{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;border:0;background:transparent}
.aa-show-filter-dogs-title{display:block;color:var(--aa-green-dark);font-size:10px;font-weight:800;letter-spacing:.05em;line-height:1.2;text-transform:uppercase}
.aa-show-filter-dogs-options{display:flex;align-items:center;gap:10px;min-height:46px;padding:6px 10px;border:1px solid #cfc3a7;border-radius:8px;background:#fff}
.aa-show-filter-dogs .aa-show-filter-check{min-height:26px;font-size:12px}
@media(max-width:1000px){.aa-show-filter-dogs{grid-column:1/-1}.aa-show-filter-dogs-options{flex-wrap:wrap}}
@media(max-width:850px){.aa-show-filter-dogs-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.aa-show-filter-dogs .aa-show-filter-check{justify-content:center;white-space:normal}}


/* 0.2.2.13.55 — dopracowanie pełnych kart wystaw, szczególnie na telefonach */
@media(min-width:761px){
  .aa-show-calendar-wrap .aa-show-detail-section{padding:12px 14px}
  .aa-show-calendar-wrap .aa-show-detail-section dl{gap:7px}
  .aa-show-calendar-wrap .aa-show-golden-stats-classes h5{
    font-size:15px;
    font-weight:900;
    color:#202d1c;
  }
}

@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-card{padding:13px 14px}

  .aa-show-calendar-wrap .aa-show-golden-summary{
    display:block;
    padding:9px 10px;
    line-height:1.35;
  }
  .aa-show-calendar-wrap .aa-show-golden-summary strong{
    display:block;
    margin-bottom:3px;
    font-size:11px;
  }
  .aa-show-calendar-wrap .aa-show-golden-summary span{
    display:block;
    font-size:13px;
    line-height:1.35;
  }

  .aa-show-calendar-wrap .aa-show-details{
    padding:10px;
  }
  .aa-show-calendar-wrap .aa-show-detail-sections{
    gap:10px;
  }
  .aa-show-calendar-wrap .aa-show-detail-section{
    padding:11px 12px;
  }
  .aa-show-calendar-wrap .aa-show-detail-section h4{
    margin-bottom:8px;
    padding-bottom:6px;
    font-size:17px;
  }
  .aa-show-calendar-wrap .aa-show-detail-section dl{
    gap:7px;
  }
  .aa-show-calendar-wrap .aa-show-detail-section dt{
    font-size:12px;
    line-height:1.3;
  }
  .aa-show-calendar-wrap .aa-show-detail-section dd{
    font-size:13px;
    line-height:1.4;
  }

  .aa-show-calendar-wrap .aa-show-golden-stats{
    padding:12px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats details{
    margin-top:10px;
    padding-top:9px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats summary{
    font-size:13px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-classes{
    gap:10px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-classes h5{
    font-size:14px;
    font-weight:900;
    color:#202d1c;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-classes p{
    min-height:34px;
    padding-top:8px;
    padding-bottom:8px;
    font-size:13px;
  }
  .aa-show-calendar-wrap .aa-show-golden-stats-classes p strong{
    font-size:13px;
  }

  .aa-show-calendar-wrap .aa-show-details-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-top:10px;
  }
  .aa-show-calendar-wrap .aa-show-details-links a,
  .aa-show-calendar-wrap .aa-show-details-links a:visited{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 7px;
    text-align:center;
    font-size:12px;
    line-height:1.15;
  }
  .aa-show-calendar-wrap .aa-show-details-links a:last-child:nth-child(odd){
    grid-column:1/-1;
  }
}


/* 0.2.2.13.56 — etap 1 mapy wystaw */
.aa-show-map-toolbar{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:10px 18px 12px;border-top:1px solid #e2d2aa;background:#fbf7ec}
.aa-show-map-legend{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:#30382b;font-size:11px;line-height:1}
.aa-show-map-legend>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.aa-show-map-legend i{display:block;width:12px;height:12px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(45,48,39,.24)}
.aa-show-map-legend b{font-weight:800}
.aa-show-map-legend .is-short{display:none}
.aa-show-map-legend .is-national i{background:#66764c}
.aa-show-map-legend .is-international i{background:#c99d2f}
.aa-show-map-legend .is-club i{background:#30332c}
.aa-show-map-legend .is-special i{background:#9b5a43}
.aa-show-map-legend .is-cancelled i{background:#b14c45}
.aa-show-map-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 18px;border:1px solid #8b6a1d;border-radius:9px;background:#d0ac50;color:#1f281d;font:800 14px/1.1 inherit;box-shadow:0 2px 0 rgba(74,54,12,.24);cursor:pointer}
.aa-show-map-toggle:hover,.aa-show-map-toggle:focus{background:#dbbb67;color:#111b10}
.aa-show-map-toggle span:first-child{font-size:19px;line-height:1}
.aa-show-map-panel{margin:0 18px 18px;padding:12px;border:1px solid #d9bd77;border-radius:12px;background:#fffaf0;box-shadow:0 6px 22px rgba(48,52,38,.12)}
.aa-show-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:10px}
.aa-show-map-head>div{display:flex;flex-direction:column;gap:2px}.aa-show-map-head strong{font-size:18px;color:#24331f}.aa-show-map-head span{font-size:12px;color:#62665f}
.aa-show-map-close{width:34px;height:34px;border:1px solid #a98a42;border-radius:50%;background:#fff;color:#38462f;font-size:23px;line-height:1;cursor:pointer}
.aa-show-map-canvas{width:100%;height:540px;border:1px solid #d4c59f;border-radius:9px;background:#e9eee5;overflow:hidden}
.aa-show-map-status{min-height:20px;margin:8px 2px 0;color:#56604f;font-size:12px;font-weight:700}
.aa-show-map-missing{margin-top:7px;padding:8px 10px;border-left:4px solid #a85b48;border-radius:5px;background:#fff1ed;color:#6e3027;font-size:12px}
.aa-show-map-popup{min-width:180px;display:flex;flex-direction:column;gap:5px}.aa-show-map-popup>strong{font-size:15px;color:#21301d}.aa-show-map-popup>span{font-size:12px;color:#5d6258}
.aa-show-map-popup>div{display:flex;gap:6px;margin-top:4px}.aa-show-map-popup button,.aa-show-map-popup a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 9px;border:1px solid #6b774f;border-radius:6px;background:#fff;color:#273320!important;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}
.aa-show-map-popup button{background:#d0ac50;border-color:#9c7928}
@media(max-width:760px){.aa-show-map-toolbar{justify-content:flex-start;gap:9px;padding:8px 10px 10px}.aa-show-map-toggle{flex:0 0 auto;min-height:36px;padding:7px 11px;font-size:12px}.aa-show-map-toggle-label{font-size:0}.aa-show-map-toggle-label:after{content:'Mapa';font-size:12px}.aa-show-map-legend{justify-content:flex-start;gap:7px;flex:1 1 210px;font-size:9px}.aa-show-map-legend>span{gap:3px}.aa-show-map-legend i{width:10px;height:10px;border-width:1px}.aa-show-map-legend .is-full{display:none}.aa-show-map-legend .is-short{display:inline}.aa-show-map-panel{margin:0 8px 12px;padding:8px}.aa-show-map-head strong{font-size:15px}.aa-show-map-head span{font-size:11px}.aa-show-map-canvas{height:410px}.aa-show-map-close{width:30px;height:30px;font-size:20px}}

/* v0.2.2.13.58 — grupowanie kilku wystaw w jednym punkcie mapy */
.aa-show-map-group-icon{background:transparent!important;border:0!important}
.aa-show-map-group-icon span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:var(--aa-map-color,#30332c);color:#fff;font-weight:800;font-size:12px;box-shadow:0 2px 8px rgba(0,0,0,.28)}
.aa-show-map-popup-list{display:grid;gap:8px;margin-top:8px}
.aa-show-map-popup-list section{padding-top:8px;border-top:1px solid rgba(90,74,37,.18)}
.aa-show-map-popup-list section:first-child{padding-top:0;border-top:0}
.aa-show-map-popup-list section>span{display:block;margin-bottom:6px}
.aa-show-map-status:not(:empty){margin:10px 0 0;font-weight:700;color:#3b452b}


/* v0.2.2.13.59 — czytelny popup mapy */
.aa-show-map-popup{width:min(340px,74vw);max-width:340px;gap:8px}
.aa-show-map-popup>strong{display:block;padding-right:18px;font-size:16px;line-height:1.25;color:#21301d}
.aa-show-map-popup-list{display:flex;flex-direction:column;gap:10px;max-height:310px;overflow-y:auto;margin-top:2px;padding-right:3px}
.aa-show-map-popup-item{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #e2d5b5;border-radius:9px;background:#fffdf7}
.aa-show-map-popup-item:first-child{padding-top:10px;border-top:1px solid #e2d5b5}
.aa-show-map-popup-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.aa-show-map-popup-meta>strong{font-size:13px;line-height:1.2;color:#263321}
.aa-show-map-popup-type{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 7px;border-radius:999px;border:1px solid transparent;font-size:10px;font-weight:800;line-height:1;text-transform:uppercase;white-space:nowrap}
.aa-show-map-popup-type.is-national{background:#edf1e6;border-color:#84906c;color:#33402a}
.aa-show-map-popup-type.is-international{background:#fbf0cf;border-color:#c99d2f;color:#4f3b08}
.aa-show-map-popup-type.is-club{background:#3a3d36;border-color:#272a25;color:#fff}
.aa-show-map-popup-type.is-special{background:#f3e3dd;border-color:#9b5a43;color:#6f2f21}
.aa-show-map-popup-type.is-cancelled{background:#f8dedb;border-color:#b14c45;color:#7c2721}
.aa-show-map-popup-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.aa-show-map-popup-actions button,.aa-show-map-popup-actions a{flex:1 1 120px;min-height:34px!important;padding:7px 10px!important;border-radius:7px!important;font-size:11px!important}
.aa-show-map-popup-actions button{background:#d0ac50!important;border-color:#9c7928!important;color:#1e271d!important}
.aa-show-map-popup-actions a{background:#fff!important;border-color:#6b774f!important;color:#273320!important}
.leaflet-popup-content{margin:14px 16px!important;line-height:1.3!important}
.leaflet-popup-content-wrapper{border-radius:12px!important}
@media(max-width:760px){
  .aa-show-map-popup{width:min(310px,78vw);max-width:310px}
  .aa-show-map-popup-list{max-height:260px}
  .aa-show-map-popup-item{padding:9px}
  .aa-show-map-popup-meta{align-items:flex-start;flex-direction:column;gap:5px}
  .aa-show-map-popup-actions button,.aa-show-map-popup-actions a{flex:1 1 calc(50% - 4px);min-height:36px!important}
}


/* v0.2.2.13.60 — kompaktowy popup mapy bez przesuwania widoku */
.aa-show-map-popup-shell .leaflet-popup-content-wrapper{
  max-width:300px!important;
}
.aa-show-map-popup-shell .leaflet-popup-content{
  width:auto!important;
  min-width:230px;
  max-width:270px;
  margin:10px 12px!important;
}
.aa-show-map-popup{
  width:auto;
  max-width:270px;
  gap:5px;
}
.aa-show-map-popup>strong{
  padding-right:16px;
  font-size:14px;
  line-height:1.2;
}
.aa-show-map-popup-list{
  gap:5px;
  max-height:245px;
  margin-top:1px;
  padding-right:2px;
}
.aa-show-map-popup-item{
  gap:5px;
  padding:7px 8px;
  border-radius:7px;
}
.aa-show-map-popup-item:first-child{
  padding-top:7px;
}
.aa-show-map-popup-meta{
  gap:7px;
}
.aa-show-map-popup-meta>strong{
  font-size:12px;
}
.aa-show-map-popup-type{
  min-height:19px;
  padding:2px 6px;
  font-size:9px;
}
.aa-show-map-popup-actions{
  gap:5px;
  flex-wrap:nowrap;
}
.aa-show-map-popup-actions button,
.aa-show-map-popup-actions a{
  flex:1 1 0;
  min-width:0;
  min-height:29px!important;
  padding:5px 7px!important;
  border-radius:6px!important;
  font-size:10px!important;
  white-space:nowrap;
}
@media(max-width:760px){
  .aa-show-map-popup-shell .leaflet-popup-content-wrapper{
    max-width:270px!important;
  }
  .aa-show-map-popup-shell .leaflet-popup-content{
    min-width:210px;
    max-width:240px;
    margin:9px 10px!important;
  }
  .aa-show-map-popup{
    max-width:240px;
  }
  .aa-show-map-popup-list{
    max-height:220px;
  }
  .aa-show-map-popup-meta{
    align-items:center;
    flex-direction:row;
    gap:5px;
  }
  .aa-show-map-popup-actions button,
  .aa-show-map-popup-actions a{
    min-height:30px!important;
    font-size:9px!important;
  }
}


/* v0.2.2.13.61 — stały panel informacji na mapie */
.aa-show-map-stage{
  position:relative;
}
.aa-show-map-info-panel{
  position:absolute;
  z-index:700;
  top:14px;
  right:14px;
  width:min(310px,calc(100% - 28px));
  max-height:calc(100% - 28px);
  padding:12px;
  overflow:hidden;
  border:1px solid #c9a04a;
  border-radius:12px;
  background:rgba(255,252,244,.98);
  box-shadow:0 8px 24px rgba(42,38,27,.20);
  box-sizing:border-box;
}
.aa-show-map-info-panel[hidden]{
  display:none!important;
}
.aa-show-map-info-close{
  position:absolute;
  top:7px;
  right:7px;
  z-index:2;
  width:28px;
  height:28px;
  min-width:28px;
  padding:0!important;
  border:1px solid #8c7a46!important;
  border-radius:50%!important;
  background:#fffaf0!important;
  color:#2d3324!important;
  font-size:19px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.aa-show-map-info-content{
  max-height:calc(100% - 2px);
  overflow:auto;
  padding-right:2px;
}
.aa-show-map-info-panel .aa-show-map-popup{
  max-width:none;
  width:100%;
}
.aa-show-map-info-panel .aa-show-map-popup>strong{
  display:block;
  padding:1px 34px 8px 0;
  font-size:15px;
  line-height:1.25;
}
.aa-show-map-info-panel .aa-show-map-popup-list{
  max-height:none;
  overflow:visible;
}
.aa-show-map-info-panel .aa-show-map-popup-item{
  background:#fff;
}
@media(max-width:760px){
  .aa-show-map-info-panel{
    top:auto;
    right:8px;
    bottom:8px;
    left:8px;
    width:auto;
    max-height:48%;
    padding:9px;
    border-radius:10px;
  }
  .aa-show-map-info-close{
    top:5px;
    right:5px;
    width:26px;
    height:26px;
    min-width:26px;
    font-size:17px!important;
  }
  .aa-show-map-info-panel .aa-show-map-popup>strong{
    padding-right:30px;
    padding-bottom:6px;
    font-size:13px;
  }
  .aa-show-map-info-panel .aa-show-map-popup-list{
    display:grid;
    gap:5px;
  }
  .aa-show-map-info-panel .aa-show-map-popup-item{
    padding:6px 7px;
  }
  .aa-show-map-info-panel .aa-show-map-popup-actions button,
  .aa-show-map-info-panel .aa-show-map-popup-actions a{
    min-height:32px!important;
    font-size:10px!important;
  }
}


/* v0.2.2.13.62 — pełna dostępność panelu mapy na telefonie */
@media(max-width:760px){
  .aa-show-map-info-panel{
    top:auto;
    right:6px;
    bottom:6px;
    left:6px;
    width:auto;
    max-height:calc(100% - 12px);
    padding:8px;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .aa-show-map-info-content{
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
  .aa-show-map-info-panel .aa-show-map-popup-list{
    max-height:none;
    overflow:visible;
  }
  .aa-show-map-info-panel .aa-show-map-popup-item{
    padding:5px 6px;
  }
  .aa-show-map-info-panel .aa-show-map-popup-meta{
    gap:4px;
  }
  .aa-show-map-info-panel .aa-show-map-popup-actions{
    gap:4px;
  }
  .aa-show-map-info-panel .aa-show-map-popup-actions button,
  .aa-show-map-info-panel .aa-show-map-popup-actions a{
    min-height:30px!important;
    padding:5px 6px!important;
  }
}


/* v0.2.2.13.63 — wyrównanie checkboxów Arya / Bloom / Fiona */
.aa-show-filter-dogs-options{
  align-items:center;
}
.aa-show-filter-dogs .aa-show-filter-check{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  min-height:28px;
  margin:0;
  line-height:1.2;
}
.aa-show-filter-dogs .aa-show-filter-check input[type="checkbox"]{
  flex:0 0 auto;
  width:14px;
  height:14px;
  margin:0;
  vertical-align:middle;
}
@media(max-width:850px){
  .aa-show-filter-dogs .aa-show-filter-check{
    justify-content:center;
  }
}

/* 0.2.2.13.70 — mobile: dzień tygodnia nie może poszerzać ani ucinać karty */
@media (max-width:760px){
  .aa-show-calendar-wrap,
  .aa-show-calendar-wrap .aa-show-list,
  .aa-show-calendar-wrap .aa-show-card,
  .aa-show-calendar-wrap .aa-show-card-summary,
  .aa-show-calendar-wrap .aa-show-date,
  .aa-show-calendar-wrap .aa-show-main,
  .aa-show-calendar-wrap .aa-show-actions,
  .aa-show-calendar-wrap .aa-show-golden-summary{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .aa-show-calendar-wrap .aa-show-card,
  .aa-show-calendar-wrap .aa-show-card-summary{
    width:100%;
    overflow:hidden;
  }
  .aa-show-calendar-wrap .aa-show-date strong{
    width:fit-content;
    max-width:100%;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
  }
  .aa-show-calendar-wrap .aa-show-main h3,
  .aa-show-calendar-wrap .aa-show-main p,
  .aa-show-calendar-wrap .aa-show-golden-summary span{
    max-width:100%;
    overflow-wrap:break-word;
  }
  .aa-show-calendar-wrap .aa-show-actions{
    width:100%;
  }
  .aa-show-calendar-wrap .aa-show-actions a,
  .aa-show-calendar-wrap .aa-show-actions button{
    min-width:0;
  }
}
@media (max-width:390px){
  .aa-show-calendar-wrap .aa-show-date strong{
    line-height:1.25;
  }
}

/* 0.2.2.13.75 — długie zakresy dat i godziny nie mogą nachodzić na typ wystawy */
.aa-show-calendar-wrap .aa-show-date{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
}
.aa-show-calendar-wrap .aa-show-date strong{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  line-height:1.3!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.aa-show-calendar-wrap .aa-show-date .aa-show-kind{
  position:static!important;
  display:inline-flex!important;
  align-self:flex-start!important;
  flex:0 0 auto!important;
  margin:0!important;
  clear:both!important;
}
@media(min-width:1051px){
  .aa-show-calendar-wrap .aa-show-card-summary{
    grid-template-columns:230px minmax(0,1fr) minmax(250px,auto);
  }
}
@media(min-width:761px) and (max-width:1050px){
  .aa-show-calendar-wrap .aa-show-card-summary{
    grid-template-columns:200px minmax(0,1fr);
  }
}

/* v0.2.2.13.76 — czytelne zgłoszenia własnych suk i brak zgłoszeń Goldena */
.aa-show-calendar-wrap .aa-show-our-entry-names{display:inline-flex;flex-wrap:wrap;gap:2px 5px;align-items:center}
.aa-show-calendar-wrap .aa-show-our-entry-names b{font-size:13px;color:#2d3028}
.aa-show-calendar-wrap .aa-show-our-entry-names b.is-cancelled{color:#a84747;background:#fff0f0;border:1px solid #e3b1b1;border-radius:6px;padding:2px 6px}
.aa-show-calendar-wrap .aa-show-our-entry-names i{font-style:normal;color:#756b55}
.aa-show-calendar-wrap .aa-show-golden-no-entries{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#fff;color:#675f4d;font-weight:800}
.aa-show-calendar-wrap .aa-show-golden-stats.is-empty{background:#fffaf0}
@media(max-width:680px){
  .aa-show-calendar-wrap .aa-show-our-entry-names{display:flex;margin-top:4px}
  .aa-show-calendar-wrap .aa-show-our-entry-names b{font-size:12px}
}

/* v0.2.2.13.78 — dobrze widoczny termin zgłoszeń z Wystawy.NET */
.aa-show-entry-deadline{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  width:fit-content;
  max-width:100%;
  margin:8px 0 9px;
  padding:7px 11px;
  border:1px solid #c9a74f;
  border-radius:9px;
  background:#fff8df;
  line-height:1.25;
}
.aa-show-entry-deadline strong{font-size:13px;text-transform:uppercase;letter-spacing:.025em}
.aa-show-entry-deadline span{font-size:12px;font-weight:700}
.aa-show-entry-deadline.is-soon{background:#fff3c6;border-color:#c39824}
.aa-show-entry-deadline.is-urgent{background:#ffe4c4;border-color:#d47a22}
.aa-show-entry-deadline.is-today{background:#f9d6d3;border-color:#a43e3e;color:#7f2020}
.aa-show-entry-deadline.is-expired{background:#efede7;border-color:#aaa49a;color:#625e57}
@media (max-width:700px){
  .aa-show-entry-deadline{display:block;width:100%;box-sizing:border-box}
  .aa-show-entry-deadline span{display:block;margin-top:3px}
}

/* Publiczny lifecycle publikacji wydarzenia; niezależny od statusu analizy rasy. */
.aa-show-lifecycle{display:flex;flex-wrap:wrap;gap:.45rem .8rem;align-items:center;margin:.35rem 0 .55rem;color:#3b171d}
.aa-show-lifecycle>strong{display:inline-flex;padding:.28rem .65rem;border:1px solid #7c2637;border-radius:999px;background:#f7eee4;font-size:.78rem}
.aa-show-lifecycle>span{display:flex;flex-wrap:wrap;gap:.45rem;font-size:.72rem;color:#292323}
.aa-show-lifecycle i{font-style:normal;white-space:nowrap}
.aa-show-lifecycle i.is-current{font-weight:600;color:#3b171d;border-bottom:1px solid rgba(124,38,55,.45)}
.aa-show-golden-publication{margin-top:18px;padding:18px;background:#fff8e8;border:1px solid rgba(111,24,49,.24);border-radius:12px;color:#181212}
.aa-show-golden-publication>h4{margin:0 0 14px;color:#6f1831;font-size:1.15rem}
.aa-show-golden-publication-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr);gap:14px}
.aa-show-golden-publication-grid>section{padding:14px;background:#fff;border:1px solid rgba(111,24,49,.14);border-radius:10px}
.aa-show-golden-publication-grid>section>header{margin:-14px -14px 12px;padding:11px 14px;border-radius:9px 9px 0 0}.aa-show-golden-publication-grid>section>header h5{margin:0}.aa-show-golden-publication-grid>section>header small{display:block;margin-top:2px;color:#4a3a3d}
.aa-show-publication-source.is-catalog{background:#fffdf8;border-top:4px solid #b58a5b}.aa-show-publication-source.is-catalog>header{background:#f5ead8}
.aa-show-publication-source.is-results{background:#fff;border-top:4px solid #6f1831}.aa-show-publication-source.is-results>header{background:#f3e4e8}
.aa-show-publication-own-dogs{border-top:4px solid #3b171d!important}.aa-show-publication-own-dogs>header{background:#fff8e8}
.aa-show-golden-publication h5{margin:0 0 10px;color:#6f1831;font-size:1rem}
.aa-show-golden-total{margin:0 0 10px}.aa-show-golden-total strong{font-size:1.4rem}
.aa-show-golden-publication dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.aa-show-golden-publication dl div{min-width:0}.aa-show-golden-publication dl .is-wide{grid-column:1/-1}
.aa-show-golden-publication dt{font-size:.75rem;color:#705e62}.aa-show-golden-publication dd{margin:2px 0 0;font-weight:700;word-break:normal;overflow-wrap:break-word}
.aa-show-publication-classes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}.aa-show-publication-classes span{display:flex;justify-content:space-between;gap:8px}
.aa-show-placement-statistics{margin-top:14px;padding-top:12px;border-top:1px solid rgba(111,24,49,.18)}.aa-show-placement-statistics h6{margin:0 0 8px;color:#6f1831;font-size:.9rem}.aa-show-placement-statistics dl{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-show-placement-statistics dl div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.aa-show-placement-statistics dd{white-space:nowrap}.aa-show-placement-coverage{margin:9px 0 0;font-size:.78rem;color:#705e62}
.aa-show-publication-dog{margin-top:12px;padding:14px;background:#fffdf8;border:1px solid rgba(111,24,49,.2);border-radius:9px;min-width:0}.aa-show-publication-dog>header{margin-bottom:12px}.aa-show-publication-dog>header strong,.aa-show-publication-dog>header span{display:block;word-break:normal;overflow-wrap:break-word}.aa-show-publication-dog>header strong{font-size:1.08rem;color:#6f1831}.aa-show-publication-dog>header span{margin-top:3px}
.aa-show-publication-dog .aa-show-dog-result{grid-template-columns:repeat(2,minmax(110px,1fr))}.aa-show-dog-result .is-result,.aa-show-dog-result .is-placement{padding:9px;background:#f3e4e8;border-left:3px solid #6f1831;border-radius:5px}.aa-show-dog-result .is-result dd,.aa-show-dog-result .is-placement dd{font-size:1.05rem;color:#3b171d}.aa-show-own-dogs-empty{margin:0;padding:10px 12px;background:#fffdf8;border:1px dashed rgba(111,24,49,.32);border-radius:7px}.aa-show-location-empty{color:#705e62}
@media(max-width:1024px){.aa-show-golden-publication-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-show-publication-own-dogs{grid-column:1/-1}}
@media(max-width:760px){.aa-show-golden-publication-grid{grid-template-columns:minmax(0,1fr)}.aa-show-publication-own-dogs{grid-column:auto}.aa-show-golden-publication{padding:14px;max-width:100%;box-sizing:border-box;overflow:hidden}.aa-show-publication-classes{grid-template-columns:1fr}}
@media(max-width:480px){.aa-show-publication-dog .aa-show-dog-result{grid-template-columns:minmax(0,1fr)}}

/* 0.2.2.14.119.3 — finalne wyniki konkretnych psów */
.aa-show-publication-own-dogs{margin-bottom:14px;padding:12px 14px;background:#fffdf8;border:1px solid rgba(111,24,49,.2);border-top:4px solid #3b171d;border-radius:10px}
.aa-show-publication-own-dogs>header,.aa-show-ranked-results>header{display:flex;align-items:baseline;gap:10px;margin-bottom:8px}.aa-show-publication-own-dogs h5,.aa-show-ranked-results h5{margin:0}.aa-show-publication-own-dogs small,.aa-show-ranked-results small{color:#705e62}
.aa-show-publication-dog{display:block;margin-top:8px;padding:12px}.aa-show-publication-dog>header{position:relative;padding-right:72px;margin-bottom:9px}.aa-show-publication-dog>header strong,.aa-show-publication-dog>header span{overflow-wrap:normal;word-break:normal}.aa-show-match-badge{position:absolute;top:0;right:0;padding:3px 7px;border:1px solid #6f1831;border-radius:999px;color:#6f1831;background:#f7eee4;font-size:.7rem;white-space:nowrap}
.aa-show-publication-dog .aa-show-dog-result{display:grid;grid-template-columns:repeat(4,minmax(115px,1fr));gap:8px}.aa-show-publication-dog .aa-show-dog-result dl{display:block;margin:0;padding:7px 9px;background:#fff;border-radius:6px}.aa-show-publication-dog .aa-show-dog-result dd{white-space:normal;overflow-wrap:normal;word-break:normal}.aa-show-own-titles{display:flex;align-items:center;gap:9px;margin-top:9px;font-size:.78rem}
.aa-show-ranked-results{margin-bottom:14px;padding:14px;background:#fff;border:1px solid rgba(111,24,49,.2);border-radius:10px}.aa-show-result-sex>h6{margin:16px 0 8px;padding-bottom:5px;border-bottom:2px solid #6f1831;color:#3b171d;font-size:1rem;text-transform:uppercase;letter-spacing:.05em}.aa-show-result-class{margin:10px 0 16px}.aa-show-class-name{margin:0 0 7px;color:#6f1831;font-size:.9rem}.aa-show-ranked-list{display:grid;gap:7px}.aa-show-ranked-entry{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:9px;background:#fffaf1;border:1px solid rgba(111,24,49,.13);border-radius:8px}.aa-show-place-badge{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#6f1831;color:#fff;font-size:1.1rem;font-weight:800;white-space:nowrap}.aa-show-ranked-content{min-width:0}.aa-show-ranked-content header{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.aa-show-ranked-content header strong{font-size:.95rem;overflow-wrap:normal;word-break:normal}.aa-show-catalog-number{color:#705e62;font-size:.72rem;white-space:nowrap}.aa-show-ranked-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px}.aa-show-grade{font-weight:800;color:#3b171d;white-space:nowrap}.aa-show-result-titles{display:inline-flex;flex-wrap:wrap;gap:5px}.aa-show-title-badge{display:inline-flex;padding:2px 7px;border:1px solid #9d6d79;border-radius:999px;background:#f7eee4;color:#3b171d;font-size:.72rem;font-weight:700;white-space:nowrap}.aa-show-no-titles{color:#705e62}
.aa-show-publication-summaries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.aa-show-publication-summaries>section{padding:14px;border:1px solid rgba(111,24,49,.14);border-radius:10px}.aa-show-publication-summaries>section>header{margin:-14px -14px 12px;padding:11px 14px;border-radius:9px 9px 0 0}
@media(max-width:760px){.aa-show-publication-summaries{grid-template-columns:minmax(0,1fr)}.aa-show-publication-dog .aa-show-dog-result{grid-template-columns:repeat(2,minmax(115px,1fr))}.aa-show-ranked-entry{grid-template-columns:38px minmax(0,1fr)}.aa-show-place-badge{width:34px;height:34px}}
@media(max-width:420px){.aa-show-publication-dog .aa-show-dog-result{grid-template-columns:minmax(0,1fr)}.aa-show-publication-own-dogs>header,.aa-show-ranked-results>header{display:block}.aa-show-publication-dog>header{padding-right:0}.aa-show-match-badge{position:static;display:inline-flex;margin-top:6px}}

/* 0.2.2.14.119.4 — zwijane wyniki entry-level i kompaktowy rezultat własnego psa */
.aa-show-golden-publication details>summary{cursor:pointer;list-style-position:inside}
.aa-show-publication-own-dogs>summary,.aa-show-ranked-results>summary,.aa-show-publication-source>summary{display:flex;align-items:baseline;gap:10px}
.aa-show-result-sex>summary h6{display:inline-block;margin:12px 0 7px;text-transform:uppercase;letter-spacing:.05em}
.aa-show-place-badge.is-place-1{background:#9a7420;color:#fff9df}.aa-show-place-badge.is-place-2{background:#73777d;color:#fff}.aa-show-place-badge.is-place-3{background:#8a5635;color:#fff}.aa-show-place-badge.is-place-4{background:#6f1831;color:#fff8e8}.aa-show-place-badge.is-place-none{background:#eee5d7;color:#4a3a3d}
@media(min-width:761px){.aa-show-publication-dog{display:grid;grid-template-columns:minmax(220px,1.7fr) repeat(4,minmax(90px,1fr)) minmax(120px,1fr);align-items:center;gap:8px}.aa-show-publication-dog>header{margin:0}.aa-show-publication-dog .aa-show-dog-result{display:contents}.aa-show-publication-dog .aa-show-own-titles{margin:0}.aa-show-publication-dog dl{min-width:0}}
@media(max-width:760px){.aa-show-publication-dog{max-width:100%;overflow:hidden}.aa-show-publication-dog dd,.aa-show-publication-dog span{word-break:normal;overflow-wrap:break-word}}

/* 0.2.2.14.119.6 — kompaktowe rekordy, jawne zwijanie i publiczny preview PDF */
.aa-show-golden-publication details>summary{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px;border-radius:7px;cursor:pointer;list-style:none;transition:background .15s ease,color .15s ease}
.aa-show-golden-publication details>summary::-webkit-details-marker{display:none}.aa-show-golden-publication details>summary:hover{background:#f7eee4}.aa-show-chevron::before{content:'▶';display:inline-block;color:#6f1831;font-size:.85rem}.aa-show-golden-publication details[open]>summary>.aa-show-chevron::before{content:'▼'}
.aa-show-publication-dog{display:grid;grid-template-columns:minmax(70px,.7fr) minmax(240px,2.2fr) minmax(85px,.8fr) minmax(85px,.8fr) minmax(65px,.6fr) minmax(90px,.8fr) minmax(120px,1.1fr);align-items:center;gap:8px;margin-top:6px;padding:8px 10px;border:1px solid rgba(111,24,49,.14);border-radius:7px;background:#fffaf1;font-size:.82rem}.aa-show-own-name,.aa-show-result-name{min-width:0;overflow-wrap:normal;word-break:normal}.aa-show-own-titles{display:flex;align-items:center;gap:5px;margin:0;min-width:0}
.aa-show-ranked-entry{display:grid;grid-template-columns:32px 66px minmax(240px,1fr) minmax(90px,.35fr) minmax(150px,.8fr);gap:9px;align-items:center;min-height:42px;padding:5px 8px}.aa-show-place-badge{width:30px;height:30px;font-size:.9rem}.aa-show-result-titles{display:inline-flex;flex-wrap:wrap;gap:4px;min-width:0}.aa-show-title-badge{padding:2px 6px}
.aa-show-document-preview{margin:8px 0;padding:7px 12px;border:1px solid #6f1831;border-radius:6px;background:#6f1831;color:#fff;font-weight:700;cursor:pointer}.aa-show-document-preview:hover{background:#3b171d}.aa-show-preview-unavailable{display:inline-block;margin:7px 0;color:#705e62;font-size:.82rem}
.aa-show-public-preview{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:18px;background:rgba(30,18,21,.78)}.aa-show-public-preview[hidden]{display:none}.aa-show-public-preview-dialog{display:grid;grid-template-rows:auto 1fr;width:min(1100px,96vw);height:min(88vh,900px);overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.35)}.aa-show-public-preview-head{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#3b171d;color:#fff}.aa-show-public-preview-head strong{margin-right:auto}.aa-show-public-preview-head a,.aa-show-public-preview-close{color:#fff}.aa-show-public-preview-close{border:1px solid #fff;border-radius:5px;background:transparent;padding:5px 9px;cursor:pointer}.aa-show-public-preview iframe{width:100%;height:100%;border:0;background:#eee}
@media(max-width:900px){.aa-show-publication-dog{grid-template-columns:minmax(70px,.7fr) minmax(180px,2fr) repeat(3,minmax(70px,.7fr));}.aa-show-publication-dog .aa-show-own-titles{grid-column:2/-1}.aa-show-ranked-entry{grid-template-columns:32px 65px minmax(180px,1fr) minmax(80px,.4fr)}.aa-show-ranked-entry>.aa-show-result-titles{grid-column:3/-1}}
@media(max-width:600px){.aa-show-publication-dog{grid-template-columns:auto 1fr;gap:6px 9px}.aa-show-publication-dog>.aa-show-own-name{grid-column:2}.aa-show-publication-dog .aa-show-own-titles{grid-column:1/-1}.aa-show-ranked-entry{grid-template-columns:30px 60px minmax(0,1fr);align-items:start}.aa-show-ranked-entry>.aa-show-grade{grid-column:2}.aa-show-ranked-entry>.aa-show-result-titles{grid-column:3}.aa-show-public-preview{padding:5px}.aa-show-public-preview-dialog{width:100%;height:96vh}.aa-show-public-preview-head a{font-size:.75rem}}

/* 0.2.2.14.119.7 — wspólny result row dla wyników i własnych psów */
.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(58px,.55fr) 66px minmax(220px,2fr) minmax(80px,.7fr) minmax(82px,.75fr) minmax(82px,.8fr) minmax(105px,1fr);min-height:42px;margin-top:6px;padding:5px 8px;background:#fffaf1}
.aa-show-home-name{display:inline-flex;color:#6f1831;white-space:nowrap}.aa-show-result-place,.aa-show-result-class{min-width:0}.aa-show-ranked-entry.is-own-dog .aa-show-own-titles{display:flex;align-items:center;gap:5px;margin:0;min-width:0}
@media(max-width:900px){.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(58px,.55fr) 66px minmax(180px,2fr) repeat(3,minmax(70px,.7fr))}.aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:3/-1}}
@media(max-width:600px){.aa-show-ranked-entry.is-own-dog{grid-template-columns:auto 60px minmax(0,1fr);gap:6px 9px;overflow:hidden}.aa-show-ranked-entry.is-own-dog .aa-show-result-name{grid-column:2/-1}.aa-show-ranked-entry.is-own-dog .aa-show-grade{grid-column:1}.aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:1/-1}.aa-show-ranked-entry.is-own-dog>*{word-break:normal;overflow-wrap:break-word}}

/* 0.2.2.14.119.8 — wspólny wiersz v3 i czytelny układ mobilny */
.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(54px,auto) 32px 66px minmax(240px,1fr) minmax(88px,auto) minmax(110px,auto) minmax(110px,auto)}
.aa-show-ranked-entry.is-own-dog .aa-show-place-badge{justify-self:center;flex:none}.aa-show-own-titles{display:flex;flex-wrap:wrap;min-width:0}.aa-show-result-class{white-space:normal;word-break:normal;overflow-wrap:break-word}
.aa-show-result-name{word-break:normal;overflow-wrap:break-word}.aa-show-title-badge{display:inline-flex;white-space:nowrap;max-width:100%}
@media(max-width:1024px){.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(54px,auto) 32px 66px minmax(180px,1fr) minmax(80px,auto) minmax(105px,auto)}.aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:4/-1}}
@media(max-width:768px){.aa-show-golden-publication{padding:12px}.aa-show-ranked-entry{padding:7px}.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(54px,auto) 32px 66px minmax(0,1fr)}}
@media(max-width:600px){.aa-show-golden-publication{padding:10px}.aa-show-ranked-entry{grid-template-columns:30px 62px minmax(0,1fr);gap:7px 8px;padding:7px 6px}.aa-show-ranked-entry>.aa-show-grade{grid-column:2/-1}.aa-show-ranked-entry>.aa-show-result-titles{grid-column:1/-1}.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(48px,auto) 30px minmax(62px,auto) minmax(0,1fr);gap:7px 8px;padding:7px 6px}.aa-show-ranked-entry.is-own-dog .aa-show-home-name{grid-column:1}.aa-show-ranked-entry.is-own-dog .aa-show-place-badge{grid-column:2}.aa-show-ranked-entry.is-own-dog .aa-show-catalog-number{grid-column:3/-1}.aa-show-ranked-entry.is-own-dog .aa-show-result-name{grid-column:1/-1}.aa-show-ranked-entry.is-own-dog .aa-show-grade{grid-column:1/3}.aa-show-ranked-entry.is-own-dog .aa-show-result-class{grid-column:3/-1}.aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:1/-1}}
@media(max-width:480px){.aa-show-golden-publication{padding:8px}.aa-show-publication-own-dogs,.aa-show-ranked-results{padding:9px}.aa-show-ranked-entry{padding-inline:5px}}
@media(max-width:390px){.aa-show-golden-publication{padding:6px}.aa-show-ranked-entry{gap:6px}.aa-show-golden-publication details>summary{padding-inline:5px}}

/* 0.2.2.14.119.9 — zwarty publiczny Golden UI */
.aa-show-publication-source>dl{grid-template-columns:repeat(3,minmax(70px,auto)) minmax(180px,1fr);align-items:start;gap:5px 12px}
.aa-show-publication-source>dl .is-wide{grid-column:auto}
.aa-show-publication-source>dl .is-wide dd{word-break:normal;overflow-wrap:break-word;hyphens:none}
.aa-show-source-classes{margin-top:5px}.aa-show-source-classes>summary{min-height:36px!important;padding-block:4px!important}
.aa-show-publication-classes{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin-top:3px}
.aa-show-publication-classes>div{min-width:0}.aa-show-publication-classes>div>strong{display:block;margin-bottom:2px;font-size:.78rem;color:#6f1831}
.aa-show-publication-classes span{align-items:baseline;gap:5px;font-size:.72rem;line-height:1.2;word-break:normal;overflow-wrap:break-word}
.aa-show-ranked-entry{grid-template-columns:30px 62px minmax(220px,1fr) minmax(85px,auto) minmax(110px,auto);gap:6px 8px;min-height:38px;padding:4px 7px}
.aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(48px,auto) 30px 62px minmax(220px,1fr) minmax(85px,auto) minmax(105px,auto) minmax(105px,auto);gap:6px 8px;min-height:38px;padding:4px 7px}
.aa-show-ranked-entry .aa-show-result-name{font-size:.9rem;line-height:1.25;word-break:normal;overflow-wrap:break-word}
.aa-show-ranked-entry .aa-show-grade,.aa-show-ranked-entry .aa-show-result-class{align-self:center;font-size:.8rem;line-height:1.25}
@media(max-width:768px){
  .aa-show-publication-source>dl{grid-template-columns:repeat(3,minmax(62px,1fr));gap:5px 9px}
  .aa-show-publication-source>dl .is-wide{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px}
  .aa-show-publication-source>dl .is-wide dd{margin-top:0}
  .aa-show-publication-classes{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
}
@media(max-width:600px){
  .aa-show-ranked-entry{grid-template-columns:30px minmax(62px,auto) minmax(0,1fr);gap:4px 7px;padding:6px;align-items:center}
  .aa-show-ranked-entry>.aa-show-place-badge{grid-column:1}.aa-show-ranked-entry>.aa-show-catalog-number{grid-column:2}.aa-show-ranked-entry>.aa-show-result-name{grid-column:1/-1}
  .aa-show-ranked-entry>.aa-show-grade{grid-column:1/-1}.aa-show-ranked-entry>.aa-show-result-titles{grid-column:1/-1}
  .aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(45px,auto) 30px minmax(62px,1fr);gap:4px 7px;padding:6px;align-items:center}
  .aa-show-ranked-entry.is-own-dog .aa-show-home-name{grid-column:1}.aa-show-ranked-entry.is-own-dog .aa-show-place-badge{grid-column:2}.aa-show-ranked-entry.is-own-dog .aa-show-catalog-number{grid-column:3}
  .aa-show-ranked-entry.is-own-dog .aa-show-result-name{grid-column:1/-1}.aa-show-ranked-entry.is-own-dog .aa-show-grade{grid-column:1/2}.aa-show-ranked-entry.is-own-dog .aa-show-result-class{grid-column:2/-1}.aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:1/-1}
  .aa-show-ranked-entry .aa-show-result-name{font-size:.82rem;line-height:1.2}.aa-show-ranked-entry .aa-show-grade,.aa-show-ranked-entry .aa-show-result-class{font-size:.75rem;font-weight:600}
  .aa-show-result-titles{gap:3px}.aa-show-title-badge{font-size:.68rem;line-height:1.2}
}
@media(max-width:390px){.aa-show-publication-classes{gap:4px 8px}.aa-show-publication-classes span{font-size:.68rem}.aa-show-ranked-entry,.aa-show-ranked-entry.is-own-dog{padding:5px}}

/* 0.2.2.14.119.10 — finalna korekta publicznego gridu Golden */
.aa-show-calendar-wrap .aa-show-publication-source>dl{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 18px}
.aa-show-calendar-wrap .aa-show-publication-source>dl>div{display:inline-flex;align-items:baseline;gap:5px;min-width:max-content}
.aa-show-calendar-wrap .aa-show-publication-source>dl>div dt,
.aa-show-calendar-wrap .aa-show-publication-source>dl>div dd{margin:0;white-space:nowrap}
.aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide{display:inline-flex;min-width:0}
.aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide dd{white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}
.aa-show-calendar-wrap .aa-show-publication-classes{gap:8px 20px}
.aa-show-calendar-wrap .aa-show-publication-classes>div{padding:4px 6px}
.aa-show-calendar-wrap .aa-show-publication-classes>div>strong{margin-bottom:4px;font-size:.82rem}
.aa-show-calendar-wrap .aa-show-publication-classes span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;font-size:.78rem;line-height:1.3;word-break:normal;overflow-wrap:break-word}
.aa-show-calendar-wrap .aa-show-publication-classes span b{text-align:right;white-space:nowrap}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-publication-source>dl{gap:5px 14px}
  .aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide{display:grid;grid-template-columns:1fr;flex-basis:100%;gap:2px}
  .aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide dd{grid-column:1/-1;min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal}
  .aa-show-calendar-wrap .aa-show-publication-classes{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}
  .aa-show-calendar-wrap .aa-show-publication-classes>div{padding:4px}
  .aa-show-calendar-wrap .aa-show-publication-classes span{gap:6px;font-size:.74rem;line-height:1.3}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){grid-template-columns:30px minmax(62px,1fr);gap:4px 7px;align-items:center}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{grid-column:1}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number{grid-column:2}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name,
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade,
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-titles{grid-column:1/-1}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{width:100%;font-size:.82rem;line-height:1.25;word-break:normal;overflow-wrap:break-word}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade{font-size:.77rem;line-height:1.25}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-titles{display:flex;flex-wrap:wrap;gap:4px 6px}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog) .aa-show-title-badge{word-break:normal}
}
@media(max-width:390px){
  .aa-show-calendar-wrap .aa-show-publication-classes{gap:6px 8px}
  .aa-show-calendar-wrap .aa-show-publication-classes span{font-size:.72rem;line-height:1.3}
}

/* 0.2.2.14.119.11 — pomocnicza akcja PDF i subtelne separatory klas */
.aa-show-calendar-wrap .aa-show-document-preview{
  display:inline-flex;
  align-items:center;
  width:auto;
  min-height:30px;
  margin:7px 0;
  padding:4px 10px;
  border:1px solid #6f1831;
  border-radius:5px;
  background:#fff8e8;
  color:#6f1831;
  font-size:.75rem;
  font-weight:600;
  line-height:1.2;
  cursor:pointer;
}
.aa-show-calendar-wrap .aa-show-document-preview:hover,
.aa-show-calendar-wrap .aa-show-document-preview:focus-visible{background:#f3e4e8;color:#4d1122;border-color:#4d1122}
.aa-show-calendar-wrap .aa-show-publication-classes span{padding:3px 0;border-bottom:1px solid rgba(111,24,49,.14)}
.aa-show-calendar-wrap .aa-show-publication-classes span:last-child{border-bottom:0}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-document-preview{display:inline-flex;width:auto;max-width:140px;min-height:30px;padding:4px 10px}
  .aa-show-calendar-wrap .aa-show-publication-classes span{padding:2px 0}
}

/* 0.2.2.14.119.12 — krótkie filtry, wspólne meta psa i PDF przy liczniku */
.aa-show-calendar-wrap .aa-show-year-select-short{display:none}
.aa-show-calendar-wrap .aa-show-total-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.aa-show-calendar-wrap .aa-show-total-row .aa-show-golden-total{flex:1 1 auto;min-width:0;margin:7px 0}
.aa-show-calendar-wrap .aa-show-total-row .aa-show-document-preview,
.aa-show-calendar-wrap .aa-show-total-row .aa-show-preview-unavailable{flex:0 0 auto;margin:7px 0;white-space:nowrap}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(48px,auto) 30px 62px minmax(220px,1fr) minmax(200px,auto) minmax(105px,auto)}
.aa-show-calendar-wrap .aa-show-own-meta{display:inline-flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
.aa-show-calendar-wrap .aa-show-own-meta .aa-show-grade{font-weight:600;color:#3b171d}
.aa-show-calendar-wrap .aa-show-own-meta .aa-show-result-class{font-weight:400;color:#705e62}
.aa-show-calendar-wrap .aa-show-own-meta .aa-show-result-separator{color:#a4878d}
@media(max-width:1024px){
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(48px,auto) 30px 62px minmax(180px,1fr) minmax(190px,auto)}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:4/-1}
}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-year-select-full{display:none}
  .aa-show-calendar-wrap .aa-show-year-select-short{display:block;width:100%;min-width:0}
  .aa-show-calendar-wrap .aa-show-total-row{gap:8px;flex-wrap:nowrap}
  .aa-show-calendar-wrap .aa-show-total-row .aa-show-golden-total{white-space:nowrap}
  .aa-show-calendar-wrap .aa-show-total-row .aa-show-document-preview{width:auto;max-width:none}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog{grid-template-columns:minmax(45px,auto) 30px minmax(62px,1fr)}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-result-name{grid-column:1/-1}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta{grid-column:1/-1;gap:7px}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-titles{grid-column:1/-1}
}


/* 0.2.2.14.120.3 — Moje psy: ocena i klasa jako jeden, stabilny wiersz */
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:0;
  min-width:max-content;
  width:max-content;
  max-width:100%;
  white-space:nowrap;
  line-height:1.2;
}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta .aa-show-grade,
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta .aa-show-result-class{
  display:inline-flex;
  align-items:center;
  align-self:center;
  margin:0;
  padding:0;
  line-height:1.2;
  white-space:nowrap;
}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta .aa-show-grade{
  font-weight:600;
  color:#3b171d;
}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta .aa-show-result-class{
  font-weight:400;
  color:#705e62;
}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta .aa-show-result-separator{
  display:inline-block;
  flex:0 0 auto;
  margin:0 7px;
  color:#a4878d;
  line-height:1;
}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog .aa-show-own-meta{
    grid-column:1/-1;
    justify-self:start;
    overflow:visible;
  }
}


/* 0.2.2.14.120.4 — sędzia w jednym wierszu i wyraźniejsza prezentacja nazwiska */
.aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide.is-judge{
  display:inline-flex;
  align-items:baseline;
  flex-basis:100%;
  gap:6px;
  min-width:0;
}
.aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide.is-judge dt{
  flex:0 0 auto;
  font-weight:600;
}
.aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide.is-judge dd{
  min-width:0;
  margin:0;
  color:#6f1831;
  font-weight:700;
  line-height:1.25;
  text-decoration:underline;
  text-decoration-color:rgba(111,24,49,.32);
  text-decoration-thickness:1px;
  text-underline-offset:2px;
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide.is-judge{
    display:inline-flex;
    grid-template-columns:none;
    flex-basis:100%;
    align-items:baseline;
    gap:5px;
  }
  .aa-show-calendar-wrap .aa-show-publication-source>dl .is-wide.is-judge dd{
    grid-column:auto;
    margin-top:0;
  }
}


/* 14.120.17: właściciel pod nazwą psa w publicznych wynikach szczegółowych. */
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:3/-1;grid-row:2;display:block;min-width:0;margin-top:-2px;color:#705e62;font-size:.76rem;line-height:1.3;word-break:normal;overflow-wrap:break-word}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner b{color:#6f1831;font-weight:700}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner{grid-column:4/-1;display:block;min-width:0;color:#705e62;font-size:.76rem;line-height:1.3;word-break:normal;overflow-wrap:break-word}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner b{color:#6f1831;font-weight:700}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:1/-1;grid-row:auto;margin-top:0}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner{grid-column:1/-1}
}

/* 14.120.20: hodowca w publicznych wynikach szczegółowych. */
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:3/-1;grid-row:3;display:block;min-width:0;margin-top:-2px;color:#705e62;font-size:.76rem;line-height:1.3;word-break:normal;overflow-wrap:break-word}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder b{color:#6f1831;font-weight:700}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder{grid-column:4/-1;display:block;min-width:0;color:#705e62;font-size:.76rem;line-height:1.3;word-break:normal;overflow-wrap:break-word}
.aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder b{color:#6f1831;font-weight:700}
@media(max-width:720px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:1/-1;grid-row:auto;margin-top:0}
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder{grid-column:1/-1}
}

/* 14.121.53 — Świerklaniec: pojedyncze markery, wyróżnienia i zwarty układ właściciela. */
.aa-show-archive-ranked-results>summary,
.aa-show-archive-ranked-results .aa-show-result-sex>summary{list-style:none}
.aa-show-archive-ranked-results>summary::marker,
.aa-show-archive-ranked-results .aa-show-result-sex>summary::marker{content:''}
.aa-show-archive-ranked-results>summary::-webkit-details-marker,
.aa-show-archive-ranked-results .aa-show-result-sex>summary::-webkit-details-marker{display:none}
.aa-show-special-awards{display:inline-flex;flex-wrap:wrap;gap:5px}
.aa-show-special-award{display:inline-flex;padding:2px 7px;border:1px solid #6f1831;border-radius:999px;background:#fff8e8;color:#551326;font-size:.72rem;font-weight:800;white-space:nowrap}
.aa-show-archive-ranked-results .aa-show-result-owner{font-size:.78rem;color:#705e62}

/* 0.4.51 — wyniki szczegółowe: więcej miejsca dla nazwy psa, węższa ocena. */
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
  grid-template-columns:30px 58px minmax(240px,1.25fr) minmax(78px,96px) minmax(220px,1fr);
  gap:6px 8px;
  align-items:center;
}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{grid-column:3;min-width:0}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade{grid-column:4;justify-self:start;white-space:nowrap}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-badges{
  grid-column:5;
  display:flex;
  align-items:center;
  align-content:center;
  flex-wrap:wrap;
  gap:4px;
  min-width:0;
}
.aa-show-calendar-wrap .aa-show-result-badges>.aa-show-result-titles,
.aa-show-calendar-wrap .aa-show-result-badges>.aa-show-special-awards{
  display:contents;
}
.aa-show-calendar-wrap .aa-show-title-badge,
.aa-show-calendar-wrap .aa-show-special-award{
  box-sizing:border-box;
  min-height:24px;
  padding:3px 8px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.72rem;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
}
.aa-show-calendar-wrap .aa-show-title-badge{
  border:1px solid #9d6d79;
  background:#f7eee4;
  color:#3b171d;
}
.aa-show-calendar-wrap .aa-show-special-award{
  border:1px solid #a87527;
  background:#fff4d7;
  color:#5a3510;
}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{
  grid-column:3/-1;
  grid-row:2;
}
.aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{
  grid-column:3/-1;
  grid-row:3;
}
.aa-show-calendar-wrap .aa-show-archive-source-note{
  margin:6px 0 10px;
  padding:0;
  border:0;
  background:transparent;
}
.aa-show-calendar-wrap .aa-show-archive-source-note>summary{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 9px;
  border:1px solid rgba(111,24,49,.18);
  border-radius:999px;
  background:#f7eee4;
  color:#6f1831;
  font-size:.74rem;
  font-weight:700;
  cursor:pointer;
  list-style:none;
}
.aa-show-calendar-wrap .aa-show-archive-source-note>summary::marker{content:''}
.aa-show-calendar-wrap .aa-show-archive-source-note>summary::-webkit-details-marker{display:none}
.aa-show-calendar-wrap .aa-show-archive-source-note>summary::before{content:'›';margin-right:5px;font-size:1rem;line-height:1;transform:rotate(0deg)}
.aa-show-calendar-wrap .aa-show-archive-source-note[open]>summary::before{transform:rotate(90deg)}
.aa-show-calendar-wrap .aa-show-archive-source-note>.aa-show-golden-stats-confirmed-note{margin:7px 0 0;padding:8px 10px}
@media(max-width:980px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px 58px minmax(190px,1.15fr) minmax(78px,96px);
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-badges{grid-column:3/-1;grid-row:2}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:3/-1;grid-row:3;margin-top:0}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:3/-1;grid-row:4;margin-top:0}
}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px minmax(54px,auto) minmax(0,1fr);
    gap:5px 7px;
    align-items:center;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{grid-column:1;grid-row:1}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number{grid-column:2;grid-row:1}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{grid-column:3;grid-row:1}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade{grid-column:3;grid-row:2;font-size:.78rem}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-badges{grid-column:1/-1;grid-row:3;gap:3px}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:1/-1;grid-row:4;margin-top:0}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:1/-1;grid-row:5;margin-top:0}
  .aa-show-calendar-wrap .aa-show-title-badge,
  .aa-show-calendar-wrap .aa-show-special-award{min-height:22px;padding:3px 7px;font-size:.69rem}
}


/* 14.121.55 — mobilna typografia wyników szczegółowych: mniej dominanty, więcej miejsca na treść. */
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-ranked-results>summary{
    min-height:34px;
    gap:6px;
    padding:5px 6px;
    align-items:center;
  }
  .aa-show-calendar-wrap .aa-show-ranked-results>summary h5{
    margin:0;
    font-size:1rem !important;
    line-height:1.12;
    font-weight:700;
  }
  .aa-show-calendar-wrap .aa-show-ranked-results>summary small{
    font-size:.64rem;
    line-height:1.15;
    font-weight:600;
  }
  .aa-show-calendar-wrap .aa-show-ranked-results>summary .aa-show-chevron::before{
    font-size:.72rem;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-result-name{
    font-size:.78rem;
    line-height:1.16;
    font-weight:700;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade,
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-grade{
    font-size:.73rem;
    line-height:1.15;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner,
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder,
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner,
  .aa-show-calendar-wrap .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder{
    font-size:.71rem;
    line-height:1.22;
  }
}
@media(max-width:390px){
  .aa-show-calendar-wrap .aa-show-ranked-results>summary h5{font-size:.94rem !important}
  .aa-show-calendar-wrap .aa-show-ranked-results>summary small{font-size:.6rem}
  .aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-result-name{font-size:.75rem}
}


/* 14.121.59 — Świerklaniec: nominacje i zwycięzcy głowa/ruch w dwóch rangach wizualnych. */
.aa-show-calendar-wrap .aa-show-special-award.is-special-nomination{
  border-color:#b48a44;
  background:#fbf2dc;
  color:#694713;
}
.aa-show-calendar-wrap .aa-show-special-award.is-special-winner{
  border-color:#6b172b;
  background:#6b172b;
  color:#fff7e8;
  font-weight:800;
}

/* 0.2.2.14.121.158 — wspólny wiersz Katalog / Wyniki dla ręcznego katalogu + wyników archiwalnych */
.aa-show-manual-archive-combined .aa-show-publication-summaries>.aa-show-publication-source{min-width:0;padding:14px;border:1px solid rgba(111,24,49,.14);border-radius:10px}
.aa-show-manual-archive-combined .aa-show-publication-source.is-catalog{border-top:4px solid #b58a5b;background:#fffdf8}
.aa-show-manual-archive-combined .aa-show-publication-source.is-results{border-top:4px solid #6f1831;background:#fff}
.aa-show-manual-archive-combined .aa-show-publication-source>.aa-show-ranked-results{margin-top:10px}

/* 0.2.2.14.121.160 — sędziowie w archiwalnym kafelku Wyniki jak w standardowych źródłach */
.aa-show-calendar-wrap .aa-show-publication-source .aa-show-external-archive-meta{
  margin:8px 0 10px;
}
.aa-show-calendar-wrap .aa-show-publication-source .aa-show-external-archive-meta .is-wide.is-judge{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  min-width:0;
}
.aa-show-calendar-wrap .aa-show-publication-source .aa-show-external-archive-meta .is-wide.is-judge dt{
  flex:0 0 auto;
  font-weight:600;
}
.aa-show-calendar-wrap .aa-show-publication-source .aa-show-external-archive-meta .is-wide.is-judge dd{
  min-width:0;
  margin:0;
  color:#6f1831;
  font-weight:700;
  line-height:1.25;
  text-decoration:underline;
  text-decoration-color:rgba(111,24,49,.32);
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}


/* 0.3.38 — publiczne profile wystawowe własnych psów */
.aa-show-calendar-wrap .aa-show-profile-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px;font-size:.86rem}
.aa-show-calendar-wrap .aa-show-profile-links>strong{font-weight:700}
.aa-show-calendar-wrap .aa-show-profile-links>a,.aa-show-calendar-wrap .aa-show-dog-profile-link{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid rgba(111,24,49,.26);border-radius:999px;background:#fffaf0;color:#6f1831;text-decoration:none;font-weight:800}
.aa-show-calendar-wrap .aa-show-profile-links>a:hover,.aa-show-calendar-wrap .aa-show-profile-links>a:focus,.aa-show-calendar-wrap .aa-show-dog-profile-link:hover,.aa-show-calendar-wrap .aa-show-dog-profile-link:focus{background:#6f1831;color:#fff7e8;border-color:#6f1831;text-decoration:none}
.aa-dog-profile{max-width:1120px;margin:18px auto 36px;color:#241b1d}
.aa-dog-profile-back{display:inline-flex;margin-bottom:14px;color:#6f1831;font-weight:700;text-decoration:none}
.aa-dog-profile-back:hover{text-decoration:underline}
.aa-dog-profile-hero{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:24px;align-items:center;padding:24px;border:1px solid rgba(111,24,49,.18);border-radius:18px;background:#fffaf0}
.aa-dog-profile-photo{aspect-ratio:1/1;overflow:hidden;border-radius:14px;background:#efe7dc}
.aa-dog-profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
.aa-dog-profile-kicker{display:block;margin-bottom:5px;color:#6f1831;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.aa-dog-profile-intro h2{margin:0;font-size:clamp(2rem,5vw,3.4rem);line-height:1;color:#241b1d}
.aa-dog-profile-registered{margin:10px 0 0;font-size:1.05rem;font-weight:700;color:#6f1831}
.aa-dog-profile-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.aa-dog-profile-meta span{padding:6px 10px;border-radius:999px;background:#fff;border:1px solid rgba(111,24,49,.14);font-size:.85rem}
.aa-dog-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px}
.aa-dog-profile-stats>div{padding:14px 16px;border:1px solid rgba(111,24,49,.16);border-radius:12px;background:#fff}
.aa-dog-profile-stats strong{display:block;font-size:1.7rem;color:#6f1831;line-height:1}.aa-dog-profile-stats span{display:block;margin-top:5px;font-size:.8rem}
.aa-dog-profile-titles{margin:0 0 20px;padding:15px 17px;border-left:4px solid #6f1831;background:#fffaf0;border-radius:10px}
.aa-dog-profile-titles>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.aa-dog-profile-titles span{padding:4px 8px;border-radius:999px;background:#6f1831;color:#fff7e8;font-size:.8rem;font-weight:700}
.aa-dog-profile-history h3{margin:0 0 12px;font-size:1.35rem}
.aa-dog-profile-event{display:grid;grid-template-columns:112px 1fr;gap:14px;padding:16px 0;border-top:1px solid rgba(36,27,29,.12)}
.aa-dog-profile-event:last-child{border-bottom:1px solid rgba(36,27,29,.12)}
.aa-dog-profile-event-date{font-weight:800;color:#6f1831}
.aa-dog-profile-event-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aa-dog-profile-event-head>a,.aa-dog-profile-event-head>strong{font-weight:800;color:#241b1d;text-decoration:none}.aa-dog-profile-event-head>a:hover{color:#6f1831;text-decoration:underline}
.aa-dog-profile-source-badge{padding:3px 7px;border:1px solid rgba(111,24,49,.2);border-radius:999px;background:#fffaf0;color:#6f1831;font-size:.72rem;font-weight:700}
.aa-dog-profile-event-grid{display:flex;gap:6px 14px;flex-wrap:wrap;margin-top:7px;font-size:.84rem;color:#4b4244}.aa-dog-profile-event-grid span{min-width:150px}.aa-dog-profile-event-grid b{color:#241b1d}
@media(max-width:720px){.aa-dog-profile-hero{grid-template-columns:92px 1fr;padding:16px;gap:14px}.aa-dog-profile-intro h2{font-size:2rem}.aa-dog-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-dog-profile-event{grid-template-columns:1fr;gap:5px}.aa-dog-profile-event-grid{display:grid;grid-template-columns:1fr}}


/* 0.3.39 — stałe wejście do profili własnych psów z paska kalendarza */
.aa-show-dog-profiles-menu{position:relative;flex:0 0 auto}
.aa-show-dog-profiles-menu>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 18px;border:1px solid #6f1831;border-radius:9px;background:#fffaf0;color:#6f1831;font:800 14px/1.1 inherit;box-shadow:0 2px 0 rgba(58,21,32,.14);cursor:pointer;user-select:none}
.aa-show-dog-profiles-menu>summary::-webkit-details-marker{display:none}
.aa-show-dog-profiles-menu>summary:hover,.aa-show-dog-profiles-menu>summary:focus{background:#6f1831;color:#fff7e8;outline:none}
.aa-show-dog-profiles-menu[open]>summary{background:#6f1831;color:#fff7e8}
.aa-show-dog-profiles-popover{position:absolute;z-index:45;top:calc(100% + 8px);left:0;width:min(330px,82vw);padding:8px;border:1px solid rgba(111,24,49,.22);border-radius:12px;background:#fffaf0;box-shadow:0 10px 30px rgba(36,27,29,.18)}
.aa-show-dog-profiles-popover a{display:flex;flex-direction:column;gap:2px;padding:10px 11px;border-radius:8px;color:#241b1d;text-decoration:none}
.aa-show-dog-profiles-popover a+a{border-top:1px solid rgba(111,24,49,.11)}
.aa-show-dog-profiles-popover a:hover,.aa-show-dog-profiles-popover a:focus{background:#f3e9d5;color:#6f1831;outline:none}
.aa-show-dog-profiles-popover strong{font-size:.95rem;color:#6f1831}
.aa-show-dog-profiles-popover small{font-size:.72rem;line-height:1.25;color:#62585a}
@media(max-width:760px){.aa-show-dog-profiles-menu>summary{min-height:36px;padding:7px 11px;font-size:12px}.aa-show-dog-profiles-menu>summary span:first-child{font-size:14px}.aa-show-dog-profiles-popover{position:fixed;left:12px;right:12px;top:auto;width:auto;max-width:none;margin-top:8px}.aa-show-map-legend{flex-basis:100%}}

/* 0.3.40 — publiczne profile psów: czytelniejszy układ + stabilna ikona łapy */
.aa-show-dog-profiles-menu>summary .aa-show-paw-icon{width:17px;height:17px;display:block;fill:currentColor;flex:0 0 17px}
.aa-show-dog-profiles-menu>summary:hover .aa-show-paw-icon,.aa-show-dog-profiles-menu>summary:focus .aa-show-paw-icon,.aa-show-dog-profiles-menu[open]>summary .aa-show-paw-icon{fill:#fff7e8}

.aa-dog-profile{max-width:1180px;margin:20px auto 42px;padding:0 18px;color:#241b1d}
.aa-dog-profile-back{gap:6px;margin-bottom:16px;color:#6f1831;font-size:.94rem}
.aa-dog-profile-hero{grid-template-columns:180px minmax(0,1fr);gap:26px;min-height:0;padding:22px 24px;border-color:rgba(111,24,49,.16);border-radius:16px;background:linear-gradient(135deg,#fffaf0 0%,#f7efdf 100%);box-shadow:0 7px 20px rgba(45,36,25,.05)}
.aa-dog-profile-photo{width:180px;aspect-ratio:1/1;border-radius:15px;box-shadow:0 4px 14px rgba(45,36,25,.12)}
.aa-dog-profile-intro{align-self:center;min-width:0}
.aa-dog-profile-kicker{margin-bottom:7px;font-size:.73rem;letter-spacing:.11em}
.aa-dog-profile-intro h2{font-size:clamp(2.25rem,4.2vw,3.45rem);color:#20382d}
.aa-dog-profile-registered{max-width:760px;margin-top:11px;font-size:1.02rem;line-height:1.35;color:#241b1d}
.aa-dog-profile-meta{margin-top:15px}
.aa-dog-profile-meta span{background:rgba(255,255,255,.72)}
.aa-dog-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 24px}
.aa-dog-profile-stats>div{min-height:82px;padding:14px 16px;border-radius:13px;background:#fffaf4;box-shadow:0 3px 10px rgba(45,36,25,.035)}
.aa-dog-profile-stats strong{font-size:1.85rem}
.aa-dog-profile-stats span{font-size:.79rem;color:#5b5050}
.aa-dog-profile-history{margin-top:4px}
.aa-dog-profile-history h3{margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid rgba(36,27,29,.13);font-size:1.42rem;color:#20382d}
.aa-dog-profile-event{grid-template-columns:120px minmax(0,1fr);gap:18px;margin:0 0 10px;padding:15px 16px;border:1px solid rgba(36,27,29,.10);border-radius:12px;background:rgba(255,250,240,.72)}
.aa-dog-profile-event:last-child{border-bottom:1px solid rgba(36,27,29,.10)}
.aa-dog-profile-event.is-mapped{border-left:4px solid #68794b}
.aa-dog-profile-event.is-historical{border-left:4px solid #b38a59}
.aa-dog-profile-event.is-foreign{border-left:4px solid #6f1831}
.aa-dog-profile-event-date{padding-top:2px;font-size:.98rem;color:#6f1831}
.aa-dog-profile-event-head{gap:7px 9px}
.aa-dog-profile-event-head>a,.aa-dog-profile-event-head>strong{font-size:.98rem;line-height:1.36;color:#241b1d}
.aa-dog-profile-source-badge{padding:3px 8px;background:#fff;color:#6f1831}
.aa-dog-profile-source-badge.is-mapped{border-color:rgba(104,121,75,.35);color:#4d5f35;background:#f5f4e9}
.aa-dog-profile-source-badge.is-history{border-color:rgba(179,138,89,.35);color:#7e5a30;background:#fff8ed}
.aa-dog-profile-source-badge.is-foreign{border-color:rgba(111,24,49,.25);color:#6f1831;background:#fff7f5}
.aa-dog-profile-event-grid{align-items:center;gap:7px 18px;margin-top:8px;font-size:.84rem;line-height:1.45}
.aa-dog-profile-event-grid span{min-width:135px}
.aa-dog-profile-show-link{display:inline-flex;align-items:center;gap:5px;margin-left:auto;color:#6f1831;font-weight:800;text-decoration:none;white-space:nowrap}
.aa-dog-profile-show-link:hover{text-decoration:underline}

@media(max-width:760px){
  .aa-dog-profile{margin-top:14px;padding:0 12px}
  .aa-dog-profile-hero{grid-template-columns:104px minmax(0,1fr);gap:14px;padding:15px;border-radius:14px}
  .aa-dog-profile-photo{width:104px;border-radius:12px}
  .aa-dog-profile-intro h2{font-size:2rem}
  .aa-dog-profile-registered{font-size:.88rem}
  .aa-dog-profile-meta{margin-top:10px}
  .aa-dog-profile-meta span{padding:5px 8px;font-size:.75rem}
  .aa-dog-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 18px}
  .aa-dog-profile-stats>div{min-height:68px;padding:11px 12px}
  .aa-dog-profile-stats strong{font-size:1.5rem}
  .aa-dog-profile-event{grid-template-columns:1fr;gap:5px;padding:13px 12px}
  .aa-dog-profile-event-date{font-size:.9rem}
  .aa-dog-profile-event-grid{grid-template-columns:1fr;margin-top:6px}
  .aa-dog-profile-show-link{margin:3px 0 0}
}

/* 0.3.42 — publiczny profil wystawowy: lżejszy, zwarty układ zgodny z kalendarzem */
.aa-dog-profile{max-width:1180px;margin:14px auto 38px;padding:0 18px}
.aa-dog-profile-back{margin-bottom:12px;font-size:.9rem;color:#20382d}
.aa-dog-profile-back:hover{color:#6f1831}
.aa-dog-profile-hero{grid-template-columns:150px minmax(0,1fr);gap:22px;padding:18px 22px;border-radius:15px;background:#fff9ee;box-shadow:none}
.aa-dog-profile-photo{width:150px;border-radius:14px;box-shadow:0 3px 10px rgba(45,36,25,.10)}
.aa-dog-profile-kicker{margin-bottom:4px;font-size:.68rem;letter-spacing:.12em}
.aa-dog-profile-intro h2{font-size:clamp(2.05rem,3.7vw,3rem);line-height:1.02}
.aa-dog-profile-registered{margin-top:8px;font-size:.98rem;line-height:1.3}
.aa-dog-profile-meta{margin-top:10px}
.aa-dog-profile-meta span{padding:5px 9px;font-size:.78rem;background:#fffdf8}
.aa-dog-profile-stats{display:flex;align-items:center;gap:0;margin:14px 0 0;padding-top:12px;border-top:1px solid rgba(36,27,29,.10)}
.aa-dog-profile-stats>div{display:flex;align-items:baseline;gap:5px;min-height:0;padding:0 16px 0 0;margin-right:16px;border:0;border-right:1px solid rgba(36,27,29,.10);border-radius:0;background:transparent;box-shadow:none}
.aa-dog-profile-stats>div:last-child{border-right:0;margin-right:0;padding-right:0}
.aa-dog-profile-stats strong{display:inline;font-size:1.18rem;line-height:1;color:#6f1831}
.aa-dog-profile-stats span{display:inline;margin:0;font-size:.76rem;color:#5b5050;white-space:nowrap}
.aa-dog-profile-titles{margin:14px 0 18px;padding:11px 14px;border-left-width:3px;border-radius:9px;background:rgba(255,250,240,.66)}
.aa-dog-profile-titles>strong{font-size:.86rem}
.aa-dog-profile-titles>div{margin-top:6px}
.aa-dog-profile-titles span{padding:3px 7px;font-size:.74rem}
.aa-dog-profile-history{margin-top:22px}
.aa-dog-profile-history h3{margin-bottom:8px;padding-bottom:8px;font-size:1.3rem}
.aa-dog-profile-event{grid-template-columns:104px minmax(0,1fr);gap:15px;margin:0;padding:13px 4px 13px 12px;border:0;border-top:1px solid rgba(36,27,29,.11);border-radius:0;background:transparent}
.aa-dog-profile-event:last-child{border-bottom:1px solid rgba(36,27,29,.11)}
.aa-dog-profile-event.is-mapped,.aa-dog-profile-event.is-historical,.aa-dog-profile-event.is-foreign{border-left:0}
.aa-dog-profile-event-date{padding-top:1px;font-size:.9rem;letter-spacing:.01em}
.aa-dog-profile-event-head{gap:6px 8px;align-items:baseline}
.aa-dog-profile-event-head>a,.aa-dog-profile-event-head>strong{font-size:.95rem;line-height:1.32}
.aa-dog-profile-event.is-mapped .aa-dog-profile-event-head>a{color:#20382d}
.aa-dog-profile-source-badge{order:3;padding:2px 6px;border-width:1px;font-size:.64rem;font-weight:600;opacity:.78}
.aa-dog-profile-event-grid{display:flex;align-items:center;gap:5px 16px;margin-top:6px;font-size:.8rem;line-height:1.4;color:#5c5253}
.aa-dog-profile-event-grid span{min-width:auto}
.aa-dog-profile-event-grid b{font-weight:700;color:#241b1d}
.aa-dog-profile-event-titles{padding:2px 7px;border-radius:999px;background:#f6ead1;color:#6f1831;font-weight:700}
.aa-dog-profile-event-titles b{color:#6f1831}
.aa-dog-profile-show-link{margin-left:auto;padding:4px 8px;border:1px solid rgba(111,24,49,.18);border-radius:999px;font-size:.76rem;color:#6f1831;background:#fffaf0;text-decoration:none}
.aa-dog-profile-show-link:hover{background:#6f1831;color:#fffaf0;text-decoration:none}

@media(max-width:720px){
  .aa-dog-profile{padding:0 10px;margin-top:10px}
  .aa-dog-profile-hero{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:13px}
  .aa-dog-profile-photo{width:88px;border-radius:11px}
  .aa-dog-profile-kicker{font-size:.62rem}
  .aa-dog-profile-intro h2{font-size:1.72rem}
  .aa-dog-profile-registered{margin-top:5px;font-size:.79rem}
  .aa-dog-profile-meta{margin-top:7px}
  .aa-dog-profile-meta span{padding:4px 7px;font-size:.69rem}
  .aa-dog-profile-stats{grid-column:1/-1;flex-wrap:wrap;gap:7px 0;margin-top:9px;padding-top:9px}
  .aa-dog-profile-stats>div{padding-right:9px;margin-right:9px}
  .aa-dog-profile-stats strong{font-size:1rem}
  .aa-dog-profile-stats span{font-size:.68rem}
  .aa-dog-profile-history{margin-top:16px}
  .aa-dog-profile-history h3{font-size:1.18rem}
  .aa-dog-profile-event{grid-template-columns:1fr;gap:3px;padding:11px 2px}
  .aa-dog-profile-event-date{font-size:.78rem}
  .aa-dog-profile-event-head>a,.aa-dog-profile-event-head>strong{font-size:.88rem}
  .aa-dog-profile-event-grid{display:flex;gap:4px 10px;flex-wrap:wrap;margin-top:5px;font-size:.75rem}
  .aa-dog-profile-show-link{margin:4px 0 0;padding:3px 7px}
}


/* 0.3.44 — profil publiczny: zwarty nagłówek + przycisk powrotu jak na pozostałych podstronach */
.aa-dog-profile{margin-top:18px}
.aa-dog-profile-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0 0 14px;
  padding:0 22px;
  border:0;
  border-radius:14px;
  background:#566447;
  color:#fffaf0!important;
  box-shadow:0 5px 14px rgba(45,36,25,.12);
  font-size:.79rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.015em;
  text-transform:uppercase;
  text-decoration:none!important;
  transition:background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.aa-dog-profile-back::before{content:'←';margin-right:7px;font-size:1rem;line-height:1}
.aa-dog-profile-back:hover,.aa-dog-profile-back:focus-visible{
  background:#48553b;
  color:#fffaf0!important;
  box-shadow:0 6px 16px rgba(45,36,25,.16);
  transform:translateY(-1px);
  outline:none;
}
.aa-dog-profile-back:active{transform:translateY(0)}

.aa-dog-profile-hero{
  grid-template-columns:126px minmax(0,1fr);
  gap:18px;
  padding:14px 18px;
  border-radius:15px;
}
.aa-dog-profile-photo{width:126px;border-radius:13px}
.aa-dog-profile-intro{align-self:center}
.aa-dog-profile-kicker{margin-bottom:2px;font-size:.64rem;letter-spacing:.12em}
.aa-dog-profile-intro h2{font-size:clamp(1.95rem,3.4vw,2.7rem);line-height:1;margin-top:0}
.aa-dog-profile-registered{margin-top:6px;font-size:.93rem;line-height:1.25}
.aa-dog-profile-meta{margin-top:8px}
.aa-dog-profile-meta span{padding:4px 8px;font-size:.73rem}
.aa-dog-profile-stats{margin-top:10px;padding-top:9px}
.aa-dog-profile-stats>div{padding-right:13px;margin-right:13px}
.aa-dog-profile-stats strong{font-size:1.08rem}
.aa-dog-profile-stats span{font-size:.72rem}
.aa-dog-profile-history{margin-top:20px}

@media(max-width:720px){
  .aa-dog-profile{margin-top:12px}
  .aa-dog-profile-back{min-height:40px;margin-bottom:10px;padding:0 16px;border-radius:12px;font-size:.72rem}
  .aa-dog-profile-hero{grid-template-columns:78px minmax(0,1fr);gap:11px;padding:11px 12px}
  .aa-dog-profile-photo{width:78px;border-radius:10px}
  .aa-dog-profile-kicker{font-size:.58rem}
  .aa-dog-profile-intro h2{font-size:1.55rem}
  .aa-dog-profile-registered{margin-top:4px;font-size:.76rem}
  .aa-dog-profile-meta{margin-top:6px}
  .aa-dog-profile-meta span{padding:3px 6px;font-size:.65rem}
  .aa-dog-profile-stats{margin-top:7px;padding-top:7px}
  .aa-dog-profile-stats>div{padding-right:8px;margin-right:8px}
  .aa-dog-profile-stats strong{font-size:.96rem}
  .aa-dog-profile-stats span{font-size:.64rem}
}


/* 0.3.45 — powrót do kalendarza: dokładnie jak standardowe przyciski podstron */
.aa-dog-profile-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:50px!important;
  margin:0 0 14px!important;
  padding:0 24px!important;
  border:0!important;
  border-radius:14px!important;
  background:#566447!important;
  color:#fffaf0!important;
  -webkit-text-fill-color:#fffaf0!important;
  box-shadow:0 4px 10px rgba(45,36,25,.10)!important;
  font-size:.82rem!important;
  font-weight:800!important;
  letter-spacing:0!important;
  line-height:1!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  opacity:1!important;
}
.aa-dog-profile-back::before{content:none!important;display:none!important}
.aa-dog-profile-back:visited,
.aa-dog-profile-back:hover,
.aa-dog-profile-back:focus-visible,
.aa-dog-profile-back:active{
  color:#fffaf0!important;
  -webkit-text-fill-color:#fffaf0!important;
  text-decoration:none!important;
}
.aa-dog-profile-back:hover,
.aa-dog-profile-back:focus-visible{
  background:#48553b!important;
  box-shadow:0 5px 12px rgba(45,36,25,.13)!important;
  transform:none!important;
  outline:none!important;
}
.aa-dog-profile-back:active{background:#3f4b34!important;transform:none!important}
@media(max-width:720px){
  .aa-dog-profile-back{
    min-height:44px!important;
    padding:0 18px!important;
    border-radius:12px!important;
    font-size:.74rem!important;
  }
}

/* 0.3.46 — profil publiczny: duże zdjęcie, statystyki po prawej, powrót kart historii */
.aa-dog-profile-hero{
  display:grid!important;
  grid-template-columns:182px minmax(280px,1fr) minmax(330px,390px)!important;
  align-items:stretch!important;
  gap:22px!important;
  min-height:206px!important;
  padding:16px 18px!important;
}
.aa-dog-profile-photo{
  width:182px!important;
  height:182px!important;
  align-self:center!important;
  border-radius:15px!important;
  overflow:hidden!important;
  box-shadow:0 5px 16px rgba(45,36,25,.13)!important;
}
.aa-dog-profile-photo img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
.aa-dog-profile-intro{
  align-self:center!important;
  min-width:0!important;
  padding:2px 0!important;
}
.aa-dog-profile-kicker{margin-bottom:5px!important}
.aa-dog-profile-intro h2{font-size:clamp(2.35rem,4vw,3.2rem)!important;line-height:.98!important}
.aa-dog-profile-registered{margin-top:9px!important;font-size:1rem!important;line-height:1.3!important}
.aa-dog-profile-meta{margin-top:12px!important}
.aa-dog-profile-meta span{padding:6px 10px!important;font-size:.78rem!important}

.aa-dog-profile-stats{
  align-self:stretch!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.aa-dog-profile-stats>div{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:14px 8px!important;
  border:1px solid rgba(111,24,49,.12)!important;
  border-radius:13px!important;
  background:rgba(255,253,248,.82)!important;
  box-shadow:0 2px 8px rgba(45,36,25,.05)!important;
}
.aa-dog-profile-stats strong{
  display:block!important;
  font-size:1.75rem!important;
  line-height:1!important;
  color:#6f1831!important;
}
.aa-dog-profile-stats span{
  display:block!important;
  margin:0!important;
  font-size:.72rem!important;
  line-height:1.2!important;
  text-align:center!important;
  color:#5b5050!important;
  white-space:normal!important;
}

/* Wróć do czytelnych kart — 0.3.42/45 nie może spłaszczać historii do linii tekstu. */
.aa-dog-profile-history{margin-top:24px!important}
.aa-dog-profile-history h3{margin-bottom:13px!important;padding-bottom:10px!important}
.aa-dog-profile-event{
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:16px!important;
  margin:0 0 11px!important;
  padding:15px 16px!important;
  border:1px solid rgba(36,27,29,.10)!important;
  border-radius:13px!important;
  background:rgba(255,250,240,.78)!important;
  box-shadow:0 2px 7px rgba(45,36,25,.035)!important;
}
.aa-dog-profile-event:last-child{border-bottom:1px solid rgba(36,27,29,.10)!important}
.aa-dog-profile-event.is-mapped{border-left:4px solid #68794b!important}
.aa-dog-profile-event.is-historical{border-left:4px solid #b38a59!important}
.aa-dog-profile-event.is-foreign{border-left:4px solid #6f1831!important}
.aa-dog-profile-event-date{
  align-self:start!important;
  padding-top:2px!important;
  font-size:.94rem!important;
  font-weight:800!important;
  color:#6f1831!important;
}
.aa-dog-profile-event-main{min-width:0!important}
.aa-dog-profile-event-head{
  display:flex!important;
  align-items:center!important;
  gap:7px 9px!important;
  flex-wrap:wrap!important;
}
.aa-dog-profile-event-head>a,.aa-dog-profile-event-head>strong{
  font-size:.98rem!important;
  line-height:1.35!important;
  font-weight:800!important;
  color:#241b1d!important;
  text-decoration:none!important;
}
.aa-dog-profile-event.is-mapped .aa-dog-profile-event-head>a{color:#0b6b59!important}
.aa-dog-profile-source-badge{
  order:initial!important;
  padding:3px 7px!important;
  border-radius:999px!important;
  font-size:.65rem!important;
  font-weight:700!important;
  opacity:.9!important;
}
.aa-dog-profile-event-grid{
  display:flex!important;
  align-items:center!important;
  gap:7px 18px!important;
  flex-wrap:wrap!important;
  margin-top:9px!important;
  font-size:.82rem!important;
  line-height:1.45!important;
  color:#544a4c!important;
}
.aa-dog-profile-event-grid span{min-width:auto!important}
.aa-dog-profile-event-grid b{font-weight:800!important;color:#241b1d!important}
.aa-dog-profile-event-titles{
  padding:3px 8px!important;
  border-radius:999px!important;
  background:#f2e3c4!important;
  color:#6f1831!important;
  font-weight:800!important;
}
.aa-dog-profile-show-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  margin-left:auto!important;
  padding:5px 10px!important;
  border:1px solid rgba(111,24,49,.18)!important;
  border-radius:999px!important;
  background:#fffaf0!important;
  color:#6f1831!important;
  font-size:.75rem!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.aa-dog-profile-show-link:hover{background:#6f1831!important;color:#fffaf0!important;text-decoration:none!important}

@media(max-width:980px){
  .aa-dog-profile-hero{
    grid-template-columns:160px minmax(0,1fr)!important;
    min-height:0!important;
  }
  .aa-dog-profile-photo{width:160px!important;height:160px!important}
  .aa-dog-profile-stats{
    grid-column:1/-1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .aa-dog-profile-stats>div{min-height:68px!important;padding:10px 8px!important}
}
@media(max-width:720px){
  .aa-dog-profile-hero{
    grid-template-columns:108px minmax(0,1fr)!important;
    gap:12px!important;
    padding:12px!important;
  }
  .aa-dog-profile-photo{width:108px!important;height:108px!important;border-radius:12px!important}
  .aa-dog-profile-intro h2{font-size:1.85rem!important}
  .aa-dog-profile-registered{font-size:.8rem!important;margin-top:5px!important}
  .aa-dog-profile-meta{margin-top:7px!important}
  .aa-dog-profile-meta span{padding:4px 7px!important;font-size:.68rem!important}
  .aa-dog-profile-stats{gap:6px!important;margin-top:2px!important}
  .aa-dog-profile-stats>div{min-height:58px!important;padding:8px 5px!important;border-radius:10px!important}
  .aa-dog-profile-stats strong{font-size:1.25rem!important}
  .aa-dog-profile-stats span{font-size:.62rem!important}
  .aa-dog-profile-event{
    grid-template-columns:1fr!important;
    gap:5px!important;
    padding:12px!important;
    border-radius:12px!important;
  }
  .aa-dog-profile-event-date{font-size:.82rem!important}
  .aa-dog-profile-event-head>a,.aa-dog-profile-event-head>strong{font-size:.9rem!important}
  .aa-dog-profile-event-grid{gap:5px 11px!important;margin-top:6px!important;font-size:.76rem!important}
  .aa-dog-profile-show-link{margin:5px 0 0!important;min-height:30px!important;padding:4px 9px!important}
}


/* 0.3.47 — poprawka kontrastu przycisku „Zobacz wystawę” */
.aa-dog-profile-show-link,
.aa-dog-profile-show-link:link,
.aa-dog-profile-show-link:visited,
.aa-dog-profile-show-link:hover,
.aa-dog-profile-show-link:focus,
.aa-dog-profile-show-link:active{
  text-decoration:none!important;
}
.aa-dog-profile-show-link,
.aa-dog-profile-show-link:link,
.aa-dog-profile-show-link:visited{
  background:#fffaf0!important;
  color:#6f1831!important;
  border-color:rgba(111,24,49,.18)!important;
}
.aa-dog-profile-show-link:hover,
.aa-dog-profile-show-link:focus,
.aa-dog-profile-show-link:active{
  background:#6f1831!important;
  color:#fffaf0!important;
  border-color:#6f1831!important;
  outline:none!important;
  box-shadow:0 0 0 2px rgba(111,24,49,.10)!important;
}
.aa-dog-profile-show-link span,
.aa-dog-profile-show-link:link span,
.aa-dog-profile-show-link:visited span,
.aa-dog-profile-show-link:hover span,
.aa-dog-profile-show-link:focus span,
.aa-dog-profile-show-link:active span{
  color:inherit!important;
}


/* 0.3.48 — wymuszony kontrast CTA profilu ponad globalnymi stylami linków */
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link,
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link:link,
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link:visited{
  background:#fffaf0!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
  border-color:rgba(111,24,49,.18)!important;
  text-decoration:none!important;
}
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link:hover,
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link:focus-visible,
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link:active{
  background:#6f1831!important;
  color:#fffaf0!important;
  -webkit-text-fill-color:#fffaf0!important;
  border-color:#6f1831!important;
  text-decoration:none!important;
}
.aa-show-calendar-wrap .aa-dog-profile .aa-dog-profile-event .aa-dog-profile-event-grid > a.aa-dog-profile-show-link span{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}


/* 0.3.49 — statystyki kariery, typy wystaw, filtry i paginacja */
.aa-dog-profile-hero{
  grid-template-columns:210px minmax(245px,.72fr) minmax(510px,1.28fr)!important;
  min-height:232px!important;
  gap:24px!important;
  padding:14px 18px!important;
}
.aa-dog-profile-photo{width:204px!important;height:204px!important;border-radius:16px!important}
.aa-dog-profile-intro{display:flex!important;flex-direction:column!important;justify-content:center!important}
.aa-dog-profile-summary-line{margin-top:16px;padding-top:12px;border-top:1px solid rgba(36,27,29,.10);font-size:.78rem;color:#5b5050;line-height:1.5}
.aa-dog-profile-summary-line strong{font-size:1rem;color:#6f1831}.aa-dog-profile-summary-line i{padding:0 5px;font-style:normal;color:#b7a995}
.aa-dog-profile-career-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-self:stretch;min-width:0}
.aa-dog-profile-career-stats>section{padding:11px 10px;border:1px solid rgba(111,24,49,.12);border-radius:13px;background:rgba(255,253,248,.84);box-shadow:0 2px 8px rgba(45,36,25,.04);min-width:0}
.aa-dog-profile-career-stats h3{margin:0 0 7px;padding:0 0 6px;border-bottom:1px solid rgba(36,27,29,.08);font-size:.72rem;line-height:1.15;text-transform:uppercase;letter-spacing:.045em;color:#6f1831}
.aa-dog-profile-stat-list{display:grid;gap:4px}.aa-dog-profile-stat-list>span{display:flex;align-items:baseline;justify-content:space-between;gap:7px;font-size:.69rem;line-height:1.22}.aa-dog-profile-stat-list em{font-style:normal;color:#544a4c;min-width:0}.aa-dog-profile-stat-list strong{font-size:.78rem;color:#241b1d;flex:0 0 auto}
.aa-dog-profile-history-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px;border-bottom:1px solid rgba(36,27,29,.10)}
.aa-dog-profile-history-head h3{margin:0!important;padding:0 0 10px!important;border:0!important}.aa-dog-profile-history-count{padding-bottom:10px;font-size:.75rem;color:#6a5c58}
.aa-dog-profile-history-tools{display:grid;grid-template-columns:minmax(150px,1fr) minmax(190px,1.2fr) minmax(120px,.65fr) auto;gap:9px;align-items:end;margin:0 0 12px;padding:11px;border:1px solid rgba(36,27,29,.09);border-radius:12px;background:rgba(255,250,240,.56)}
.aa-dog-profile-history-tools label{display:grid;gap:4px}.aa-dog-profile-history-tools label>span{font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#4f493f}.aa-dog-profile-history-tools select{width:100%;min-height:38px;padding:0 10px;border:1px solid #c9b98f;border-radius:9px;background:#fffdf8;color:#241b1d;font:inherit;font-size:.78rem}
.aa-dog-profile-filter-reset{min-height:38px;padding:0 13px;border:1px solid rgba(111,24,49,.22);border-radius:9px;background:#fffaf0;color:#6f1831;font-weight:800;font-size:.73rem;cursor:pointer}.aa-dog-profile-filter-reset:hover,.aa-dog-profile-filter-reset:focus-visible{background:#6f1831;color:#fffaf0}
.aa-dog-profile-type-badge{padding:3px 7px;border-radius:999px;font-size:.64rem;font-weight:800;line-height:1.2;border:1px solid transparent;white-space:nowrap}
.aa-dog-profile-type-badge.is-international{background:#f1dfab;color:#735307;border-color:#d8bb64}.aa-dog-profile-type-badge.is-national{background:#e9eedf;color:#465a32;border-color:#bcc9a3}.aa-dog-profile-type-badge.is-club{background:#e6e5e1;color:#282d27;border-color:#b9bab4}.aa-dog-profile-type-badge.is-specialist{background:#f0ded7;color:#7a4336;border-color:#d5aea2}.aa-dog-profile-type-badge.is-puppy{background:#eee4f0;color:#6f476f;border-color:#ccb6d0}.aa-dog-profile-type-badge.is-other{background:#eee9df;color:#665c4c;border-color:#d1c7b6}
.aa-dog-profile-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:16px 0 4px}.aa-dog-profile-pagination button{min-width:36px;height:36px;padding:0 10px;border:1px solid #c9b98f;border-radius:9px;background:#fffaf0;color:#2f3b27;font-weight:800;cursor:pointer}.aa-dog-profile-pagination button:hover,.aa-dog-profile-pagination button:focus-visible{border-color:#6f1831;color:#6f1831}.aa-dog-profile-pagination button.is-current{background:#6f1831;color:#fffaf0;border-color:#6f1831}.aa-dog-profile-pagination button:disabled{opacity:.4;cursor:default}
.aa-dog-profile-event[hidden]{display:none!important}
@media(max-width:1100px){.aa-dog-profile-hero{grid-template-columns:180px minmax(0,1fr)!important}.aa-dog-profile-photo{width:176px!important;height:176px!important}.aa-dog-profile-career-stats{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.aa-dog-profile-career-stats>section{min-height:0}.aa-dog-profile-history-tools{grid-template-columns:repeat(3,minmax(0,1fr));}.aa-dog-profile-filter-reset{grid-column:1/-1}}
@media(max-width:720px){.aa-dog-profile-hero{grid-template-columns:118px minmax(0,1fr)!important;gap:12px!important;padding:12px!important}.aa-dog-profile-photo{width:118px!important;height:118px!important}.aa-dog-profile-summary-line{margin-top:8px;padding-top:7px;font-size:.67rem}.aa-dog-profile-career-stats{grid-template-columns:1fr!important;gap:6px}.aa-dog-profile-career-stats>section{padding:8px 9px}.aa-dog-profile-stat-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.aa-dog-profile-history-tools{grid-template-columns:1fr 1fr;padding:9px}.aa-dog-profile-history-tools label:nth-child(3){grid-column:1/2}.aa-dog-profile-filter-reset{grid-column:2/3}.aa-dog-profile-history-count{font-size:.68rem}.aa-dog-profile-type-badge{font-size:.59rem}}


/* 0.3.50 — profile publiczne: zróżnicowane panele statystyk, ikony, wyrównanie resetu */
.aa-dog-profile-stat-panel{position:relative}
.aa-dog-profile-stat-panel h3{display:flex;align-items:center;gap:8px}
.aa-dog-profile-stat-panel .aa-stat-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;border-radius:999px;
  font-size:.72rem;line-height:1;font-weight:800;flex:0 0 20px;
}
.aa-dog-profile-stat-panel.is-types{background:#f4f5ea!important;border-color:#cfd4b1!important}
.aa-dog-profile-stat-panel.is-types h3{color:#5a6740!important}
.aa-dog-profile-stat-panel.is-types .aa-stat-icon{background:#dfe6c6;color:#55623d}
.aa-dog-profile-stat-panel.is-grades{background:#f8efef!important;border-color:#dcc0c6!important}
.aa-dog-profile-stat-panel.is-grades h3{color:#7b2c43!important}
.aa-dog-profile-stat-panel.is-grades .aa-stat-icon{background:#ecd5db;color:#7b2c43}
.aa-dog-profile-stat-panel.is-classes{background:#f7f2e7!important;border-color:#ddcba0!important}
.aa-dog-profile-stat-panel.is-classes h3{color:#7a5a16!important}
.aa-dog-profile-stat-panel.is-classes .aa-stat-icon{background:#ecdcae;color:#70520f}
.aa-dog-profile-filter-reset-wrap{display:grid;gap:4px;align-self:stretch}
.aa-dog-profile-filter-reset-wrap>span{font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:transparent;user-select:none}
.aa-dog-profile-filter-reset{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;text-align:center}
@media(max-width:1100px){.aa-dog-profile-filter-reset-wrap{grid-column:1/-1}}
@media(max-width:720px){.aa-dog-profile-filter-reset-wrap{grid-column:2/3}}


/* 0.3.51 — desktop: reset filtrów w tej samej linii i wysokości co selecty */
@media(min-width:1101px){
  .aa-dog-profile-history-tools{align-items:end!important}
  .aa-dog-profile-history-tools label{align-self:end!important}
  .aa-dog-profile-history-tools select{height:50px!important;min-height:50px!important}
  .aa-dog-profile-filter-reset-wrap{display:flex!important;align-items:flex-end!important;align-self:end!important;height:50px!important}
  .aa-dog-profile-filter-reset-wrap>span{display:none!important}
  .aa-dog-profile-filter-reset{width:100%!important;height:50px!important;min-height:50px!important;margin:0!important;align-self:auto!important}
}


/* 0.3.52 — dokładne wyrównanie resetu + rodzaj wystawy pod datą */
@media(min-width:1101px){
  .aa-dog-profile-filter-reset-wrap{
    display:grid!important;
    grid-template-rows:auto 50px!important;
    gap:4px!important;
    align-self:end!important;
    height:auto!important;
  }
  .aa-dog-profile-filter-reset-wrap>span{
    display:block!important;
    visibility:hidden!important;
    height:auto!important;
    font-size:.65rem!important;
    line-height:1.2!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
  }
  .aa-dog-profile-filter-reset{
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    margin:0!important;
    align-self:stretch!important;
  }
}
.aa-dog-profile-event-date{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:7px!important;
}
.aa-dog-profile-event-date>strong{
  font:inherit!important;
  font-weight:800!important;
  color:inherit!important;
}
.aa-dog-profile-event-date .aa-dog-profile-type-badge{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
}
@media(max-width:720px){
  .aa-dog-profile-event-date{gap:5px!important}
}

/* 0.3.53 — przebudowa desktopowego wiersza filtrów: identyczna geometria wszystkich 4 kolumn */
@media(min-width:1101px){
  .aa-dog-profile-history-tools{
    grid-template-columns:minmax(150px,1fr) minmax(190px,1.2fr) minmax(120px,.65fr) minmax(120px,.38fr)!important;
    align-items:start!important;
    gap:10px!important;
  }
  .aa-dog-profile-history-tools>label,
  .aa-dog-profile-filter-reset-wrap{
    display:grid!important;
    grid-template-rows:16px 50px!important;
    row-gap:6px!important;
    align-self:start!important;
    height:72px!important;
    min-height:72px!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-dog-profile-history-tools>label>span,
  .aa-dog-profile-filter-reset-wrap>span{
    display:block!important;
    height:16px!important;
    min-height:16px!important;
    margin:0!important;
    padding:0!important;
    line-height:16px!important;
    font-size:.65rem!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
  }
  .aa-dog-profile-filter-reset-wrap>span{
    visibility:hidden!important;
    color:transparent!important;
  }
  .aa-dog-profile-history-tools select,
  .aa-dog-profile-filter-reset{
    box-sizing:border-box!important;
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    margin:0!important;
    align-self:start!important;
  }
  .aa-dog-profile-filter-reset{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 12px!important;
    line-height:1.1!important;
    text-align:center!important;
  }
}


/* 0.3.54 — mobile: menu „Nasze psy” zawsze w pełni widoczne */
@media(max-width:760px){
  .aa-show-dog-profiles-menu[open]{z-index:99990!important}
  .aa-show-dog-profiles-popover{
    position:fixed!important;
    z-index:99999!important;
    left:14px!important;
    right:14px!important;
    top:50%!important;
    bottom:auto!important;
    width:auto!important;
    max-width:none!important;
    max-height:min(72vh,520px)!important;
    margin:0!important;
    transform:translateY(-50%)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    border-radius:14px!important;
    box-shadow:0 18px 50px rgba(36,27,29,.28)!important;
  }
  .aa-show-dog-profiles-popover a{
    padding:13px 14px!important;
  }
  .aa-show-dog-profiles-popover strong{
    font-size:1rem!important;
  }
  .aa-show-dog-profiles-popover small{
    font-size:.76rem!important;
    line-height:1.35!important;
  }
}


/* 0.3.55 — mobile profilu: stabilne podsumowanie, historia i filtry */
.aa-dog-profile-summary-line{
  display:flex;
  align-items:stretch;
  gap:0;
}
.aa-dog-profile-summary-line>span{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  padding:0 12px;
  border-left:1px solid rgba(36,27,29,.10);
  min-width:0;
}
.aa-dog-profile-summary-line>span:first-child{padding-left:0;border-left:0}
.aa-dog-profile-summary-line>span:last-child{padding-right:0}
.aa-dog-profile-summary-line em{font-style:normal;white-space:nowrap}

@media(max-width:720px){
  .aa-dog-profile-hero{gap:10px!important;padding:11px!important}
  .aa-dog-profile-summary-line{
    grid-column:1/-1;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px!important;
    margin-top:7px!important;
    padding-top:7px!important;
  }
  .aa-dog-profile-summary-line>span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    min-height:34px;
    padding:5px 6px!important;
    border:1px solid rgba(111,24,49,.10)!important;
    border-radius:9px;
    background:rgba(255,253,248,.72);
    text-align:center;
  }
  .aa-dog-profile-summary-line strong{font-size:.94rem!important;line-height:1!important}
  .aa-dog-profile-summary-line em{font-size:.64rem;line-height:1.15;white-space:nowrap}

  .aa-dog-profile-history-head{
    display:block!important;
    margin-bottom:9px!important;
    padding-bottom:8px!important;
    border-bottom:1px solid rgba(36,27,29,.10)!important;
  }
  .aa-dog-profile-history-head h3{
    display:block!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    line-height:1.2!important;
  }
  .aa-dog-profile-history-count{
    display:block!important;
    margin-top:5px!important;
    padding:0!important;
    text-align:right!important;
    line-height:1.25!important;
  }

  .aa-dog-profile-history-tools{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:9px!important;
  }
  .aa-dog-profile-history-tools label:nth-child(3){grid-column:1/2!important}
  .aa-dog-profile-filter-reset-wrap{grid-column:2/3!important;display:grid!important;grid-template-rows:16px 50px!important;row-gap:5px!important;height:auto!important;min-height:71px!important;margin:0!important;padding:0!important}
  .aa-dog-profile-filter-reset-wrap>span{display:block!important;visibility:hidden!important;height:16px!important;line-height:16px!important;margin:0!important;padding:0!important}
  .aa-dog-profile-history-tools>label{grid-template-rows:16px 50px!important;row-gap:5px!important;margin:0!important}
  .aa-dog-profile-history-tools>label>span{height:16px!important;line-height:16px!important;margin:0!important;padding:0!important}
  .aa-dog-profile-history-tools select,
  .aa-dog-profile-filter-reset{
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    box-sizing:border-box!important;
  }
  .aa-dog-profile-filter-reset{
    width:100%!important;
    padding:0 8px!important;
    white-space:nowrap!important;
    line-height:1!important;
    font-size:.68rem!important;
  }

  .aa-dog-profile-event-grid{gap:7px 14px!important}
  .aa-dog-profile-event-grid>.aa-dog-profile-show-link{
    margin:7px auto 0 0!important;
    min-height:32px!important;
    padding:5px 10px!important;
  }
}


/* 0.3.56 — podsumowanie profilu: stabilne 2x2 desktop/mobile bez przepełnień */
.aa-dog-profile-summary-line{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:12px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(36,27,29,.10)!important;
  width:100%!important;
}
.aa-dog-profile-summary-line>span,
.aa-dog-profile-summary-line>span:first-child,
.aa-dog-profile-summary-line>span:last-child{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  min-height:36px!important;
  padding:6px 8px!important;
  border:1px solid rgba(111,24,49,.10)!important;
  border-radius:10px!important;
  background:rgba(255,253,248,.76)!important;
  text-align:center!important;
}
.aa-dog-profile-summary-line strong{
  flex:0 0 auto!important;
  font-size:.98rem!important;
  line-height:1!important;
  color:#6f1831!important;
}
.aa-dog-profile-summary-line em{
  min-width:0!important;
  font-size:.66rem!important;
  line-height:1.1!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media(max-width:720px){
  .aa-dog-profile-summary-line{
    gap:6px!important;
    margin-top:7px!important;
    padding-top:7px!important;
  }
  .aa-dog-profile-summary-line>span,
  .aa-dog-profile-summary-line>span:first-child,
  .aa-dog-profile-summary-line>span:last-child{
    min-height:35px!important;
    padding:5px 4px!important;
    gap:4px!important;
  }
  .aa-dog-profile-summary-line strong{font-size:.9rem!important}
  .aa-dog-profile-summary-line em{
    font-size:.56rem!important;
    line-height:1.05!important;
    letter-spacing:-.01em!important;
  }
}


/* 0.3.57 — mobile: intro nad zdjęciem + lepsze ustawienie filtrów */
@media(max-width:720px){
  .aa-dog-profile-hero{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:12px!important;
  }
  .aa-dog-profile-intro{
    order:1!important;
    align-self:start!important;
  }
  .aa-dog-profile-photo{
    order:2!important;
    width:112px!important;
    height:112px!important;
    justify-self:start!important;
    align-self:start!important;
    margin-top:2px!important;
  }
  .aa-dog-profile-career-stats{
    order:3!important;
  }
  .aa-dog-profile-intro h2{
    margin-bottom:6px!important;
  }
  .aa-dog-profile-registered{
    margin-bottom:8px!important;
  }
  .aa-dog-profile-summary-line{
    margin-top:8px!important;
  }

  .aa-dog-profile-history-tools{
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      "year type"
      "size reset"!important;
    gap:8px!important;
    align-items:start!important;
  }
  .aa-dog-profile-history-tools>label:nth-of-type(1){grid-area:year!important}
  .aa-dog-profile-history-tools>label:nth-of-type(2){grid-area:type!important}
  .aa-dog-profile-history-tools>label:nth-of-type(3){grid-area:size!important}
  .aa-dog-profile-filter-reset-wrap{
    grid-area:reset!important;
    grid-column:auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    gap:5px!important;
    align-self:start!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-dog-profile-history-tools>label{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-dog-profile-history-tools>label>span,
  .aa-dog-profile-filter-reset-wrap>span{
    display:block!important;
    height:16px!important;
    min-height:16px!important;
    line-height:16px!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-dog-profile-filter-reset-wrap>span{
    visibility:hidden!important;
  }
  .aa-dog-profile-history-tools select,
  .aa-dog-profile-filter-reset{
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    margin:0!important;
    box-sizing:border-box!important;
    align-self:stretch!important;
  }
  .aa-dog-profile-filter-reset{
    width:100%!important;
    line-height:1.1!important;
    white-space:normal!important;
  }
}


/* 0.3.58 — mobile hero: 4 części pod napisem „Profil wystawowy”; filtry w równych polach */
@media(max-width:720px){
  .aa-dog-profile-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    gap:8px 12px!important;
    align-items:start!important;
    padding:12px!important;
  }
  .aa-dog-profile-intro{display:contents!important}
  .aa-dog-profile-kicker{
    grid-column:1/-1!important;
    grid-row:1!important;
    display:block!important;
    margin:0 0 2px 0!important;
  }
  .aa-dog-profile-intro h2{
    grid-column:1/2!important;
    grid-row:2!important;
    margin:0!important;
    font-size:1.55rem!important;
    line-height:1.02!important;
    align-self:end!important;
  }
  .aa-dog-profile-registered{
    grid-column:1/2!important;
    grid-row:3!important;
    margin:0!important;
    align-self:start!important;
    font-size:.72rem!important;
    line-height:1.3!important;
  }
  .aa-dog-profile-meta{
    grid-column:2/3!important;
    grid-row:2!important;
    margin:0!important;
    align-self:start!important;
  }
  .aa-dog-profile-summary-line{
    grid-column:2/3!important;
    grid-row:3/5!important;
    margin-top:0!important;
    padding-top:0!important;
    border-top:0!important;
    align-self:start!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .aa-dog-profile-summary-line>span,
  .aa-dog-profile-summary-line>span:first-child,
  .aa-dog-profile-summary-line>span:last-child{
    min-height:36px!important;
    padding:5px 4px!important;
  }
  .aa-dog-profile-summary-line em{
    font-size:.57rem!important;
    line-height:1.05!important;
    white-space:normal!important;
  }
  .aa-dog-profile-photo{
    grid-column:1/2!important;
    grid-row:4!important;
    width:108px!important;
    height:108px!important;
    justify-self:start!important;
    align-self:start!important;
    margin-top:2px!important;
  }
  .aa-dog-profile-career-stats{
    grid-column:1/-1!important;
    grid-row:5!important;
    order:initial!important;
    margin-top:2px!important;
  }

  .aa-dog-profile-history-tools{
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      'year type'
      'size reset'!important;
    gap:8px!important;
    align-items:start!important;
  }
  .aa-dog-profile-history-tools>label,
  .aa-dog-profile-filter-reset-wrap{
    display:grid!important;
    grid-template-rows:16px 50px!important;
    row-gap:5px!important;
    align-self:start!important;
    margin:0!important;
    padding:0!important;
    height:auto!important;
    min-height:71px!important;
  }
  .aa-dog-profile-history-tools>label:nth-of-type(1){grid-area:year!important}
  .aa-dog-profile-history-tools>label:nth-of-type(2){grid-area:type!important}
  .aa-dog-profile-history-tools>label:nth-of-type(3){grid-area:size!important}
  .aa-dog-profile-filter-reset-wrap{grid-area:reset!important;grid-column:auto!important}
  .aa-dog-profile-history-tools>label>span,
  .aa-dog-profile-filter-reset-wrap>span{
    display:block!important;
    height:16px!important;
    min-height:16px!important;
    line-height:16px!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-dog-profile-filter-reset-wrap>span{visibility:hidden!important}
  .aa-dog-profile-history-tools select,
  .aa-dog-profile-filter-reset{
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    box-sizing:border-box!important;
    margin:0!important;
    align-self:start!important;
  }
  .aa-dog-profile-filter-reset{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 8px!important;
    line-height:1.1!important;
    text-align:center!important;
    white-space:normal!important;
  }
}


/* 0.3.59 — mobile hero: lewa góra tekst, lewy dół zdjęcie, prawa góra rodowód, prawa dół statystyki; lepsze wyrównanie filtrów */
@media(max-width:720px){
  .aa-dog-profile-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(150px,44%)!important;
    gap:10px 12px!important;
    align-items:start!important;
  }
  .aa-dog-profile-intro{display:contents!important}
  .aa-dog-profile-kicker{
    grid-column:1/-1!important;
    grid-row:1!important;
    margin:0 0 2px 0!important;
  }
  .aa-dog-profile-intro h2{
    grid-column:1/2!important;
    grid-row:2!important;
    margin:0!important;
    align-self:end!important;
    font-size:1.48rem!important;
    line-height:1.02!important;
  }
  .aa-dog-profile-registered{
    grid-column:1/2!important;
    grid-row:3!important;
    margin:0!important;
    align-self:start!important;
    font-size:.72rem!important;
    line-height:1.3!important;
  }
  .aa-dog-profile-photo{
    grid-column:1/2!important;
    grid-row:4!important;
    width:112px!important;
    height:112px!important;
    margin-top:4px!important;
    justify-self:start!important;
    align-self:start!important;
  }
  .aa-dog-profile-meta{
    grid-column:2/3!important;
    grid-row:2!important;
    margin:0!important;
    display:block!important;
    align-self:start!important;
  }
  .aa-dog-profile-meta span{
    display:block!important;
    width:100%!important;
    padding:7px 12px!important;
    font-size:.78rem!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
    border-radius:999px!important;
    white-space:normal!important;
    word-break:break-word!important;
  }
  .aa-dog-profile-summary-line{
    grid-column:2/3!important;
    grid-row:3/5!important;
    margin:0!important;
    padding:0!important;
    border-top:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    align-self:start!important;
  }
  .aa-dog-profile-summary-line>span,
  .aa-dog-profile-summary-line>span:first-child,
  .aa-dog-profile-summary-line>span:last-child{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    min-height:36px!important;
    padding:7px 9px!important;
    border:1px solid rgba(111,24,49,.14)!important;
    border-radius:12px!important;
    background:#fffdf8!important;
    box-sizing:border-box!important;
  }
  .aa-dog-profile-summary-line strong{
    flex:0 0 auto!important;
    min-width:16px!important;
    font-size:.98rem!important;
    line-height:1!important;
  }
  .aa-dog-profile-summary-line em{
    font-size:.66rem!important;
    line-height:1.15!important;
    white-space:normal!important;
    word-break:normal!important;
  }
  .aa-dog-profile-career-stats{
    grid-column:1/-1!important;
    grid-row:5!important;
    margin-top:2px!important;
  }

  .aa-dog-profile-history-tools{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      'year type'
      'size reset'!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  .aa-dog-profile-history-tools>label,
  .aa-dog-profile-filter-reset-wrap{
    display:grid!important;
    grid-template-rows:16px 50px!important;
    row-gap:6px!important;
    margin:0!important;
    padding:0!important;
    align-self:stretch!important;
    min-height:72px!important;
  }
  .aa-dog-profile-history-tools>label:nth-of-type(1){grid-area:year!important}
  .aa-dog-profile-history-tools>label:nth-of-type(2){grid-area:type!important}
  .aa-dog-profile-history-tools>label:nth-of-type(3){grid-area:size!important}
  .aa-dog-profile-filter-reset-wrap{grid-area:reset!important}
  .aa-dog-profile-history-tools>label>span,
  .aa-dog-profile-filter-reset-wrap>span{
    display:block!important;
    height:16px!important;
    line-height:16px!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-dog-profile-filter-reset-wrap>span{visibility:hidden!important}
  .aa-dog-profile-history-tools select,
  .aa-dog-profile-filter-reset{
    width:100%!important;
    min-height:50px!important;
    height:50px!important;
    max-height:50px!important;
    margin:0!important;
    box-sizing:border-box!important;
    align-self:stretch!important;
  }
  .aa-dog-profile-filter-reset{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1.1!important;
    padding:0 8px!important;
    white-space:normal!important;
  }
}


/* 0.3.60 — mobile: dopracowana prawa kolumna nagłówka profilu */
@media(max-width:720px){
  .aa-dog-profile-hero{
    grid-template-columns:minmax(0,48%) minmax(0,52%)!important;
    column-gap:12px!important;
  }
  .aa-dog-profile-meta{
    width:100%!important;
    align-self:start!important;
  }
  .aa-dog-profile-meta span{
    display:flex!important;
    align-items:center!important;
    min-height:42px!important;
    width:100%!important;
    padding:7px 10px!important;
    border-radius:12px!important;
    background:#fffdf8!important;
    text-align:left!important;
    box-sizing:border-box!important;
    font-size:.72rem!important;
    line-height:1.18!important;
  }
  .aa-dog-profile-summary-line{
    width:100%!important;
    gap:6px!important;
    align-self:start!important;
  }
  .aa-dog-profile-summary-line>span,
  .aa-dog-profile-summary-line>span:first-child,
  .aa-dog-profile-summary-line>span:last-child{
    width:100%!important;
    min-height:38px!important;
    padding:7px 10px!important;
    border-radius:12px!important;
    justify-content:flex-start!important;
    background:#fffdf8!important;
    box-sizing:border-box!important;
  }
  .aa-dog-profile-summary-line strong{
    min-width:22px!important;
    text-align:right!important;
    font-size:1rem!important;
  }
  .aa-dog-profile-summary-line em{
    flex:1 1 auto!important;
    min-width:0!important;
    font-size:.66rem!important;
    line-height:1.15!important;
    text-align:left!important;
  }
  .aa-dog-profile-photo{
    width:118px!important;
    height:118px!important;
  }
}


/* 0.3.61 — mobile: odróżniony kafelek rodowodu i numer w jednej linii */
@media(max-width:720px){
  .aa-dog-profile-meta span{
    min-height:40px!important;
    padding:6px 10px!important;
    border-radius:999px!important;
    background:#f7f3e7!important;
    border:1px solid rgba(186,156,90,.34)!important;
    color:#6a4c0f!important;
    font-size:.66rem!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    letter-spacing:0!important;
  }
}


/* 0.3.62 — mobile: rodowód bez wypełnienia, lżejsza rama i więcej miejsca na numer */
@media(max-width:720px){
  .aa-dog-profile-meta span{
    min-height:38px!important;
    padding:5px 9px!important;
    border-radius:999px!important;
    background:transparent!important;
    border:1px solid rgba(186,156,90,.55)!important;
    color:#7a5a16!important;
    font-size:.64rem!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    letter-spacing:0!important;
    box-shadow:none!important;
  }
}


/* 0.4.0 — osobny publiczny moduł „Baza Golden Retrieverów” */
.aa-show-golden-db-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 18px;border:1px solid #8b6a1d;border-radius:9px;background:#fff7e8;color:#5d4512;font:800 14px/1.1 inherit;text-decoration:none;box-shadow:0 2px 0 rgba(74,54,12,.12)}
.aa-show-golden-db-link:hover,.aa-show-golden-db-link:focus{background:#d0ac50;color:#1f281d;text-decoration:none;outline:none}
.aa-show-golden-db-link span:first-child{font-size:18px;line-height:1}
.aa-golden-db{max-width:1240px;margin:0 auto;padding:18px 18px 34px;color:#253529}
.aa-golden-db-topnav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.aa-golden-db-topnav a,.aa-golden-db-topnav span{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border-radius:999px;border:1px solid rgba(79,95,61,.22);background:#fffaf0;color:#425436;font-weight:800;font-size:.8rem;text-decoration:none}
.aa-golden-db-topnav span[aria-current="page"]{background:#556543;color:#fff8e9;border-color:#556543}
.aa-golden-db-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:24px 26px;border-radius:20px;background:linear-gradient(135deg,#566744,#71805d);color:#fff7e8;box-shadow:0 10px 28px rgba(50,54,38,.12)}
.aa-golden-db-kicker{display:block;margin-bottom:6px;font-size:.72rem;font-weight:900;letter-spacing:.12em;color:#f1d47a}
.aa-golden-db-hero h2{margin:0 0 7px;font-size:clamp(2rem,4vw,3.15rem);line-height:1.02;color:#fff7e8}
.aa-golden-db-hero p{max-width:760px;margin:0;color:#f3ecd9;line-height:1.55}
.aa-golden-db-period{min-width:120px;padding:13px 17px;border:1px solid rgba(255,255,255,.35);border-radius:16px;text-align:center;background:rgba(255,255,255,.06)}
.aa-golden-db-period small{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.aa-golden-db-period strong{display:block;margin-top:3px;font-size:1.35rem;color:#f1d47a}
.aa-golden-db-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}
.aa-golden-db-stats>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:13px 14px;border:1px solid rgba(111,24,49,.10);border-radius:14px;background:#fffaf0}
.aa-golden-db-stats>div>span{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#edf0e3;color:#566744;font-weight:900}
.aa-golden-db-stats strong{font-size:1.25rem;line-height:1;color:#6f1831}.aa-golden-db-stats small{font-size:.72rem;color:#685e56}
.aa-golden-db-sections{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 14px}
.aa-golden-db-sections>div{min-height:76px;padding:12px 13px;border:1px solid rgba(36,27,29,.10);border-radius:14px;background:rgba(255,250,240,.65)}
.aa-golden-db-sections>div.is-active{border-color:#8a9a68;background:#f1f4e8;box-shadow:inset 4px 0 0 #6c7d4c}
.aa-golden-db-sections b{display:block;margin-bottom:4px;color:#243b2e}.aa-golden-db-sections small{display:block;font-size:.69rem;line-height:1.3;color:#7a7067}
.aa-golden-db-browser{padding:17px;border:1px solid rgba(36,27,29,.10);border-radius:17px;background:#fffaf0}
.aa-golden-db-browser-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.aa-golden-db-browser-head h3{margin:0;font-size:1.35rem;color:#20382d}.aa-golden-db-browser-head p{margin:3px 0 0;color:#786c61;font-size:.78rem}
.aa-golden-db-search{display:flex;gap:7px;align-items:center;flex:0 1 520px}
.aa-golden-db-search input{flex:1;min-width:160px;height:42px;padding:0 12px;border:1px solid #cdbb8b;border-radius:10px;background:#fffdf8}
.aa-golden-db-search button,.aa-golden-db-search a{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 14px;border:1px solid #6f1831;border-radius:10px;background:#6f1831;color:#fff8e9;font-weight:800;text-decoration:none;cursor:pointer}
.aa-golden-db-search a{background:#fffaf0;color:#6f1831}
.aa-golden-db-dog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.aa-golden-db-dog-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:86px;padding:11px 12px;border:1px solid rgba(36,27,29,.10);border-radius:13px;background:#fffcf5;color:#2b2924;text-decoration:none;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}
.aa-golden-db-dog-card:hover{transform:translateY(-1px);border-color:#b99c54;box-shadow:0 6px 18px rgba(50,42,30,.08);text-decoration:none}
.aa-golden-db-dog-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#e8ecd8;color:#53623f;font-size:.72rem;font-weight:900;letter-spacing:.04em}
.aa-golden-db-dog-mark.is-large{width:68px;height:68px;font-size:1rem}
.aa-golden-db-dog-copy{min-width:0}.aa-golden-db-dog-copy strong{display:block;line-height:1.24;color:#20382d}.aa-golden-db-dog-copy small{display:block;margin-top:3px;color:#796e63;font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aa-golden-db-dog-copy span{display:block;margin-top:6px;color:#6f1831;font-size:.7rem;font-weight:800}.aa-golden-db-dog-card>i{font-style:normal;font-size:1.4rem;color:#9d8753}
.aa-golden-db-pagination{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin-top:16px}.aa-golden-db-pagination a,.aa-golden-db-pagination span{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:8px;border:1px solid rgba(111,24,49,.16);background:#fffdf8;color:#6f1831;text-decoration:none;font-weight:800}.aa-golden-db-pagination a.is-current{background:#6f1831;color:#fff7e8;border-color:#6f1831}
.aa-golden-db-empty,.aa-golden-db-no-results{padding:20px;border:1px solid #ddcba5;border-radius:14px;background:#fffaf0}
.aa-golden-db-back{display:inline-flex;margin-bottom:14px;padding:9px 14px;border-radius:10px;background:#556543;color:#fff7e8;font-weight:800;text-decoration:none}
.aa-golden-dog-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:21px;border-radius:17px;border:1px solid rgba(36,27,29,.10);background:#fffaf0}
.aa-golden-dog-hero>div:nth-child(2)>span{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#6f1831;font-weight:900}.aa-golden-dog-hero h2{margin:3px 0 6px;font-size:clamp(1.75rem,3.4vw,2.65rem);color:#20382d}.aa-golden-dog-hero p{margin:0;color:#655b52}
.aa-golden-dog-hero dl{display:grid;grid-template-columns:repeat(2,minmax(90px,1fr));gap:7px;margin:0}.aa-golden-dog-hero dl>div{padding:8px 10px;border-radius:10px;background:#f5efe3;text-align:center}.aa-golden-dog-hero dt{font-size:.62rem;text-transform:uppercase;color:#75695f}.aa-golden-dog-hero dd{margin:2px 0 0;font-weight:900;color:#6f1831;font-size:1.05rem}
.aa-golden-dog-relations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.aa-golden-dog-relations>div{padding:11px 13px;border-radius:12px;border:1px solid rgba(36,27,29,.09);background:rgba(255,250,240,.65)}.aa-golden-dog-relations b{display:block;margin-bottom:4px;color:#20382d}.aa-golden-dog-relations span{font-size:.78rem;color:#6b6056}
.aa-golden-dog-history{padding:16px;border-radius:15px;border:1px solid rgba(36,27,29,.09);background:#fffaf0}.aa-golden-dog-history h3{margin:0 0 10px;color:#20382d}
.aa-golden-dog-history-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:12px;align-items:start;padding:11px 0;border-top:1px solid rgba(36,27,29,.09)}.aa-golden-dog-history-row:first-of-type{border-top:0}.aa-golden-dog-history-row time{font-weight:900;color:#6f1831}.aa-golden-dog-history-row strong{color:#20382d}.aa-golden-dog-history-row p{display:flex;flex-wrap:wrap;gap:5px 14px;margin:6px 0 0;font-size:.74rem;color:#675c53}.aa-golden-dog-history-row>a{display:inline-flex;padding:5px 9px;border-radius:999px;border:1px solid rgba(111,24,49,.16);color:#6f1831;font-size:.7rem;font-weight:800;text-decoration:none;background:#fffdf8}
@media(max-width:900px){.aa-golden-db-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.aa-golden-db-sections{grid-template-columns:repeat(3,minmax(0,1fr))}.aa-golden-db-dog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-golden-db-browser-head{align-items:stretch;flex-direction:column}.aa-golden-db-search{flex-basis:auto}.aa-golden-dog-hero{grid-template-columns:auto 1fr}.aa-golden-dog-hero dl{grid-column:1/-1}}
@media(max-width:760px){.aa-show-golden-db-link{min-height:36px;padding:7px 11px;font-size:12px}.aa-show-map-legend{flex-basis:100%}.aa-golden-db{padding:12px 10px 28px}.aa-golden-db-hero{grid-template-columns:1fr;padding:18px}.aa-golden-db-period{justify-self:start}.aa-golden-db-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.aa-golden-db-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.aa-golden-db-browser{padding:11px}.aa-golden-db-search{display:grid;grid-template-columns:1fr auto}.aa-golden-db-search input{grid-column:1/-1}.aa-golden-db-dog-grid{grid-template-columns:1fr}.aa-golden-dog-hero{grid-template-columns:56px minmax(0,1fr);gap:11px;padding:13px}.aa-golden-db-dog-mark.is-large{width:56px;height:56px}.aa-golden-dog-hero dl{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-golden-dog-relations{grid-template-columns:1fr}.aa-golden-dog-history{padding:11px}.aa-golden-dog-history-row{grid-template-columns:1fr;gap:5px}.aa-golden-dog-history-row p{display:grid;gap:4px}.aa-golden-dog-history-row>a{justify-self:start}}


/* 0.4.1 — wspólna nawigacja: Kalendarz | Baza | Nasze psy */
.aa-public-module-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.aa-public-module-nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid rgba(79,95,61,.22);border-radius:999px;background:#fffaf0;color:#425436!important;font-size:.8rem;font-weight:800;line-height:1.15;text-decoration:none!important;box-shadow:none}
.aa-public-module-nav-link:hover,.aa-public-module-nav-link:focus-visible{border-color:#7b8b62;background:#f3f1e6;color:#314229!important;text-decoration:none!important}
.aa-public-module-nav-link.is-active,.aa-public-module-nav-link.is-active:hover,.aa-public-module-nav-link[aria-current="page"]{background:#556543!important;border-color:#556543!important;color:#fff8e9!important}
.aa-golden-db-topnav{display:none!important}
.aa-show-calendar-wrap>.aa-public-module-nav{margin-bottom:12px}
.aa-dog-profile>.aa-public-module-nav{margin:0 0 12px}
.aa-golden-db>.aa-public-module-nav{margin-bottom:14px}

.aa-our-dogs-hub{max-width:1180px;margin:0 auto;padding:18px 18px 34px;color:#253529}
.aa-our-dogs-hero{padding:22px 25px;border-radius:19px;background:linear-gradient(135deg,#566744 0%,#71805d 100%);color:#fff7e8}
.aa-our-dogs-hero span{display:block;margin-bottom:5px;color:#f1d47a;font-size:.72rem;font-weight:900;letter-spacing:.12em}
.aa-our-dogs-hero h2{margin:0 0 6px;color:#fff7e8;font-size:clamp(2rem,4vw,3rem);line-height:1}
.aa-our-dogs-hero p{margin:0;max-width:720px;color:#f3ecd9;line-height:1.5}
.aa-our-dogs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.aa-our-dog-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:124px;padding:13px;border:1px solid rgba(36,27,29,.11);border-radius:16px;background:#fffaf0;color:#243b2e!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(45,36,25,.04)}
.aa-our-dog-card:hover{border-color:#b99c54;transform:translateY(-1px);text-decoration:none!important}
.aa-our-dog-photo{width:92px;height:92px;border-radius:13px;overflow:hidden;background:#e8ecd8;display:flex;align-items:center;justify-content:center;color:#556543;font-weight:900}
.aa-our-dog-photo img{width:100%;height:100%;object-fit:cover;display:block}
.aa-our-dog-copy{min-width:0}.aa-our-dog-copy>span{display:block;color:#6f1831;font-size:.65rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.aa-our-dog-copy h3{margin:3px 0 4px;color:#20382d;font-size:1.35rem}.aa-our-dog-copy p{margin:0;color:#4c463e;font-size:.76rem;line-height:1.35}.aa-our-dog-copy div{margin-top:8px;color:#6f1831;font-size:.72rem}.aa-our-dog-card>i{font-style:normal;font-size:1.5rem;color:#a38848}
@media(max-width:760px){
  .aa-public-module-nav{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .aa-public-module-nav::-webkit-scrollbar{display:none}
  .aa-public-module-nav-link{flex:0 0 auto;min-height:36px;padding:7px 11px;font-size:.72rem;white-space:nowrap}
  .aa-our-dogs-hub{padding:12px 10px 28px}.aa-our-dogs-hero{padding:18px}.aa-our-dogs-grid{grid-template-columns:1fr}.aa-our-dog-card{grid-template-columns:78px minmax(0,1fr) auto;min-height:106px;padding:11px}.aa-our-dog-photo{width:78px;height:78px}
}


/* 0.4.2 — większe, równe przełączniki głównych modułów */
.aa-public-module-nav{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:min(720px,100%)!important;
  margin:0 0 16px!important;
}
.aa-public-module-nav-link,
.aa-public-module-nav-link:link,
.aa-public-module-nav-link:visited{
  width:100%!important;
  min-height:46px!important;
  padding:10px 18px!important;
  border-radius:999px!important;
  font-size:.88rem!important;
  font-weight:800!important;
  line-height:1.1!important;
  text-align:center!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  background:#fffaf0!important;
  color:#425436!important;
  border:1px solid rgba(79,95,61,.24)!important;
  text-decoration:none!important;
}
.aa-public-module-nav-link:hover,
.aa-public-module-nav-link:focus-visible{
  background:#f2f0e4!important;
  color:#314229!important;
  border-color:#7b8b62!important;
}
.aa-public-module-nav-link.is-active,
.aa-public-module-nav-link.is-active:link,
.aa-public-module-nav-link.is-active:visited,
.aa-public-module-nav-link.is-active:hover,
.aa-public-module-nav-link.is-active:focus-visible,
.aa-public-module-nav-link[aria-current="page"],
.aa-public-module-nav-link[aria-current="page"]:visited,
.aa-public-module-nav-link[aria-current="page"]:hover{
  background:#556543!important;
  border-color:#556543!important;
  color:#fffaf0!important;
}
@media(max-width:760px){
  .aa-public-module-nav{
    width:100%!important;
    grid-template-columns:repeat(3,minmax(128px,1fr))!important;
    overflow-x:auto!important;
    gap:8px!important;
    padding-bottom:2px!important;
    scrollbar-width:none!important;
  }
  .aa-public-module-nav::-webkit-scrollbar{display:none!important}
  .aa-public-module-nav-link,
  .aa-public-module-nav-link:link,
  .aa-public-module-nav-link:visited{
    min-height:42px!important;
    padding:9px 14px!important;
    font-size:.77rem!important;
  }
}


/* 0.4.3 — jasne nagłówki Bazy/Naszych psów, Fiona, 2 kafelki w rzędzie, mobile 2+1 */
.aa-golden-db-hero,
.aa-our-dogs-hero{
  background:#f4ead7!important;
  color:#20382d!important;
  border:1px solid rgba(111,24,49,.12)!important;
  box-shadow:0 6px 18px rgba(45,36,25,.05)!important;
}
.aa-golden-db-hero h2,
.aa-our-dogs-hero h2{color:#20382d!important}
.aa-golden-db-hero p,
.aa-our-dogs-hero p{color:#4f493f!important}
.aa-golden-db-kicker,
.aa-our-dogs-hero span{color:#7a5a16!important}
.aa-golden-db-period{
  background:rgba(255,255,255,.38)!important;
  border-color:rgba(122,90,22,.28)!important;
  color:#20382d!important;
}
.aa-golden-db-period strong{color:#9a6e10!important}
.aa-our-dogs-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
@media(max-width:760px){
  .aa-public-module-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    overflow:visible!important;
    gap:8px!important;
  }
  .aa-public-module-nav-link,
  .aa-public-module-nav-link:link,
  .aa-public-module-nav-link:visited{
    min-width:0!important;
    width:100%!important;
    min-height:42px!important;
    padding:8px 7px!important;
    font-size:.71rem!important;
    white-space:normal!important;
  }
  .aa-public-module-nav-link:nth-child(3){grid-column:1/-1!important}
  .aa-our-dogs-grid{grid-template-columns:1fr!important}
}


/* 0.4.4 — korekta nagłówków modułów: zielone tło, kremowe tytuły */
.aa-golden-db-hero,
.aa-our-dogs-hero{
  background:linear-gradient(135deg,#566744 0%,#71805d 100%)!important;
  color:#fff7e8!important;
  border-color:transparent!important;
  box-shadow:0 10px 28px rgba(50,54,38,.12)!important;
}
.aa-golden-db-hero h2,
.aa-our-dogs-hero h2{
  color:#f6ead2!important;
}
.aa-golden-db-hero p,
.aa-our-dogs-hero p{
  color:#efe6d3!important;
}
.aa-golden-db-kicker,
.aa-our-dogs-hero span{
  color:#f1d47a!important;
}
.aa-golden-db-period{
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(246,234,210,.48)!important;
  color:#f6ead2!important;
}
.aa-golden-db-period strong{
  color:#f1d47a!important;
}


/* 0.4.5 — Baza wystawowa: aktywna sekcja Hodowle */
.aa-golden-db-sections>a,
.aa-golden-db-sections>a:link,
.aa-golden-db-sections>a:visited{
  display:block;min-height:76px;padding:12px 13px;border:1px solid rgba(36,27,29,.10);border-radius:14px;background:rgba(255,250,240,.65);color:#243b2e!important;text-decoration:none!important;box-sizing:border-box;
}
.aa-golden-db-sections>a:hover{border-color:#a9945a;background:#fbf7ec;text-decoration:none!important}
.aa-golden-db-sections>a.is-active{border-color:#8a9a68;background:#f1f4e8;box-shadow:inset 4px 0 0 #6c7d4c}
.aa-golden-db-sections>a b{display:block;margin-bottom:4px;color:#243b2e}.aa-golden-db-sections>a small{display:block;font-size:.69rem;line-height:1.3;color:#7a7067}
.aa-breeder-card .aa-golden-db-dog-mark{background:#efe6cf;color:#7a5a16}
.aa-breeder-profile .aa-golden-db-dog-mark.is-large{background:#efe6cf;color:#7a5a16}

/* 0.4.11 — czwarty moduł: Psy obserwowane */
.aa-public-module-nav{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:min(960px,100%)!important;
}
.aa-watched-dogs-hero{
  background:linear-gradient(135deg,#566744 0%,#71805d 100%)!important;
  color:#fff7e8!important;
}
.aa-watched-dogs-hero h2{color:#f6ead2!important}
.aa-watched-dogs-hero p{color:#f7f0df!important}
.aa-watched-dogs-hero span{color:#ead7a7!important}
.aa-watched-dogs-grid .aa-our-dog-photo.is-placeholder{font-weight:900;color:#566744;background:#edf0e1}
@media(max-width:760px){
  .aa-public-module-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aa-public-module-nav-link:nth-child(3){grid-column:auto!important}
}

/* 0.4.12 — obserwowane: profil jak „Nasze psy” + cztery przyciski w jednym rzędzie desktop */
@media (min-width:761px){
  .aa-public-module-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:min(1180px,100%)!important;
    gap:10px!important;
  }
  .aa-public-module-nav-link{min-width:0!important;width:100%!important;}
}
.aa-watched-dog-profile{max-width:1180px;margin:0 auto;padding:18px 18px 34px;color:#253529}
.aa-watched-profile-photo.is-placeholder{display:flex;align-items:center;justify-content:center;background:#e8ecd8;color:#556543;font-size:2rem;font-weight:900}
.aa-watched-profile-photo.is-placeholder span{display:block}
@media(max-width:760px){
  .aa-public-module-nav-link:nth-child(3){grid-column:auto!important}
  .aa-public-module-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* 0.4.15 — stabilizacja 4 modułów: desktop zawsze 1x4, mobile 2x2 */
@media (min-width:761px){
  .aa-public-module-nav.aa-public-module-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:1180px!important;gap:10px!important;overflow:visible!important}
  .aa-public-module-nav.aa-public-module-nav>.aa-public-module-nav-link{min-width:0!important;width:100%!important}
}
@media (max-width:760px){
  .aa-public-module-nav.aa-public-module-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:8px!important;overflow:visible!important}
  .aa-public-module-nav.aa-public-module-nav>.aa-public-module-nav-link{min-width:0!important;width:100%!important;white-space:normal!important}
}


/* 0.4.17 — wspólny wygląd historii wystaw w całej Bazie wystawowej. */
.aa-db-profile-history{margin-top:22px}
.aa-db-profile-history-tools{grid-template-columns:minmax(210px,1.35fr) minmax(130px,.75fr) minmax(180px,1fr) minmax(110px,.6fr) auto}
.aa-db-profile-history-tools .aa-db-history-search input{width:100%;height:38px;min-height:38px;padding:0 10px;border:1px solid #c9b98f;border-radius:9px;background:#fffdf8;color:#241b1d;font:inherit;font-size:.78rem;box-sizing:border-box}
.aa-golden-dog-profile .aa-db-profile-history,.aa-watched-dog-profile .aa-db-profile-history{padding:0}
@media(max-width:1100px){.aa-db-profile-history-tools{grid-template-columns:1fr 1fr 1fr}.aa-db-profile-history-tools .aa-db-history-search{grid-column:1/-1}.aa-db-profile-history-tools .aa-dog-profile-filter-reset-wrap{grid-column:1/-1}}
@media(max-width:720px){.aa-db-profile-history-tools{grid-template-columns:1fr 1fr!important}.aa-db-profile-history-tools .aa-db-history-search{grid-column:1/-1!important}.aa-db-profile-history-tools .aa-db-history-search input{height:50px;min-height:50px}.aa-db-profile-history-tools .aa-dog-profile-filter-reset-wrap{grid-column:2/3!important}}

/* 0.4.18 — wspólny, uporządkowany panel wyszukiwania historii wystaw. */
.aa-profile-history-tools{
  display:grid!important;
  grid-template-columns:minmax(260px,1.55fr) 150px minmax(190px,.9fr) 118px 150px!important;
  gap:10px!important;
  align-items:end!important;
}
.aa-profile-history-tools label{min-width:0}
.aa-profile-history-tools .aa-profile-history-search input{
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 10px!important;
  border:1px solid #c9b98f!important;
  border-radius:9px!important;
  background:#fffdf8!important;
  color:#241b1d!important;
  -webkit-text-fill-color:#241b1d!important;
  font:inherit!important;
  font-size:.78rem!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  outline:none!important;
}
.aa-profile-history-tools .aa-profile-history-search input::placeholder{color:#80766b!important;opacity:1!important}
.aa-profile-history-tools .aa-profile-history-search input:hover{border-color:#aa9768!important}
.aa-profile-history-tools .aa-profile-history-search input:focus{border-color:#6f1831!important;box-shadow:0 0 0 2px rgba(111,24,49,.10)!important}
.aa-profile-history-tools .aa-profile-history-year{width:150px!important}
.aa-profile-history-tools .aa-profile-history-size{width:118px!important}
.aa-profile-history-tools .aa-dog-profile-filter-reset-wrap{width:150px!important;grid-column:auto!important}
.aa-profile-history-tools .aa-dog-profile-filter-reset{width:100%!important;white-space:nowrap!important}

@media(max-width:900px) and (min-width:721px){
  .aa-profile-history-tools{
    grid-template-columns:minmax(220px,1.4fr) 140px minmax(180px,1fr) 110px!important;
  }
  .aa-profile-history-tools .aa-profile-history-search{grid-column:1/3!important}
  .aa-profile-history-tools .aa-profile-history-type{grid-column:3/5!important}
  .aa-profile-history-tools .aa-profile-history-year{width:auto!important}
  .aa-profile-history-tools .aa-profile-history-size{width:auto!important}
  .aa-profile-history-tools .aa-dog-profile-filter-reset-wrap{width:auto!important;grid-column:4/5!important}
}
@media(max-width:720px){
  .aa-profile-history-tools{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px!important;
  }
  .aa-profile-history-tools .aa-profile-history-search{grid-column:1/-1!important;width:100%!important}
  .aa-profile-history-tools .aa-profile-history-search input{height:42px!important;min-height:42px!important}
  .aa-profile-history-tools .aa-profile-history-year{grid-column:1/2!important;width:100%!important}
  .aa-profile-history-tools .aa-profile-history-type{grid-column:2/3!important;width:100%!important}
  .aa-profile-history-tools .aa-profile-history-size{grid-column:1/2!important;width:100%!important}
  .aa-profile-history-tools .aa-dog-profile-filter-reset-wrap{grid-column:2/3!important;width:100%!important}
  .aa-profile-history-tools select,.aa-profile-history-tools .aa-dog-profile-filter-reset{min-height:42px!important;height:42px!important}
}
@media(max-width:430px){
  .aa-profile-history-tools{grid-template-columns:1fr!important}
  .aa-profile-history-tools .aa-profile-history-search,
  .aa-profile-history-tools .aa-profile-history-year,
  .aa-profile-history-tools .aa-profile-history-type,
  .aa-profile-history-tools .aa-profile-history-size,
  .aa-profile-history-tools .aa-dog-profile-filter-reset-wrap{grid-column:1/-1!important;width:100%!important}
}


/* 0.4.19 — definitywne uporządkowanie filtrów historii wystaw.
   Uwaga: wcześniejsze reguły mobilne opierały się na nth-of-type. Po dodaniu pola
   wyszukiwania zaczęły przypisywać błędne obszary siatki. Od tej wersji każdy
   element ma własną nazwę obszaru i nie zależy od kolejności znaczników. */
.aa-dog-profile-history-tools.aa-profile-history-tools{
  display:grid!important;
  grid-template-columns:minmax(250px,1fr) 112px minmax(190px,220px) 96px 140px!important;
  grid-template-areas:'search year type size reset'!important;
  gap:10px!important;
  align-items:end!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-area:search!important;width:auto!important;min-width:0!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-area:year!important;width:auto!important;min-width:0!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-area:type!important;width:auto!important;min-width:0!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-area:size!important;width:auto!important;min-width:0!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-area:reset!important;grid-column:auto!important;width:auto!important;min-width:0!important}
/* wyłącz stare przypisania nth-of-type */
.aa-dog-profile-history-tools.aa-profile-history-tools>label:nth-of-type(1),
.aa-dog-profile-history-tools.aa-profile-history-tools>label:nth-of-type(2),
.aa-dog-profile-history-tools.aa-profile-history-tools>label:nth-of-type(3),
.aa-dog-profile-history-tools.aa-profile-history-tools>label:nth-of-type(4){grid-column:auto!important;grid-row:auto!important}

.aa-dog-profile-history-tools.aa-profile-history-tools>label,
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
  display:grid!important;
  grid-template-rows:16px 42px!important;
  row-gap:5px!important;
  min-height:63px!important;
  height:auto!important;
  align-self:end!important;
  margin:0!important;
  padding:0!important;
}
.aa-dog-profile-history-tools.aa-profile-history-tools>label>span,
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap>span{
  display:block!important;height:16px!important;min-height:16px!important;line-height:16px!important;margin:0!important;padding:0!important
}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap>span{visibility:hidden!important}
.aa-dog-profile-history-tools.aa-profile-history-tools select,
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input,
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
  width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;box-sizing:border-box!important;margin:0!important
}
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{
  appearance:none!important;-webkit-appearance:none!important;
  background:#fffaf0!important;
  border:1px solid #c9b98f!important;
  border-radius:9px!important;
  color:#241b1d!important;
  -webkit-text-fill-color:#241b1d!important;
  padding:0 11px!important;
  box-shadow:none!important;
  outline:none!important;
}
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input::placeholder{color:#665d52!important;opacity:.88!important}
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input:focus{border-color:#8a2638!important;box-shadow:0 0 0 2px rgba(138,38,56,.09)!important;background:#fffdf8!important}

/* tablet: wyszukiwarka osobno, reszta nadal równo w jednej linii */
@media(max-width:980px) and (min-width:721px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:112px minmax(190px,1fr) 96px 140px!important;
    grid-template-areas:'search search search search' 'year type size reset'!important;
  }
}

/* telefon: 3 czytelne rzędy — bez ściskania i bez przypadkowego przestawiania */
@media(max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:108px minmax(0,1fr)!important;
    grid-template-areas:'search search' 'year type' 'size reset'!important;
    gap:8px 9px!important;
    padding:10px!important;
    align-items:end!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-column:auto!important;width:auto!important;min-width:0!important
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>label,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-template-rows:15px 44px!important;row-gap:5px!important;min-height:64px!important
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools select,
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input,
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    height:44px!important;min-height:44px!important;max-height:44px!important
  }
}
@media(max-width:360px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{grid-template-columns:96px minmax(0,1fr)!important}
}

/* 0.4.21 — filtr historii wystaw: logiczne proporcje i jawne pozycjonowanie.
   Desktop: wyszukiwarka dostaje najwięcej miejsca; Rok / Na stronie są wąskie;
   reset ma stałą, kompaktową szerokość. Mobile: 3 przewidywalne rzędy. */
.aa-dog-profile-history-tools.aa-profile-history-tools{
  display:grid!important;
  grid-template-columns:minmax(360px,1fr) 150px 220px 110px 150px!important;
  gap:10px!important;
  align-items:end!important;
}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1!important;grid-row:1!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:2!important;grid-row:1!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:3!important;grid-row:1!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:4!important;grid-row:1!important}
.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-column:5!important;grid-row:1!important;width:150px!important;max-width:150px!important}
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{
  min-width:0!important;
  background:#fffdf8!important;
  border-color:#c9b98f!important;
}
.aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
  padding-inline:12px!important;
  white-space:nowrap!important;
}

@media(max-width:1120px) and (min-width:721px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:140px minmax(210px,1fr) 100px 150px!important;
    grid-template-rows:auto auto!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1/-1!important;grid-row:1!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:1!important;grid-row:2!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:2!important;grid-row:2!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:3!important;grid-row:2!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-column:4!important;grid-row:2!important;width:150px!important;max-width:150px!important}
}

@media(max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:118px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    gap:8px 10px!important;
    padding:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:1!important;grid-row:2!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:2!important;grid-row:2!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:1!important;grid-row:3!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-column:2!important;grid-row:3!important;width:100%!important;max-width:none!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{font-size:16px!important}
}

@media(max-width:390px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{grid-template-columns:108px minmax(0,1fr)!important}
}

/* 0.4.22 — historia wystaw: rzeczywiście responsywny układ mobilny.
   Resetujemy wcześniejsze nazwane grid-area i oprócz media query używamy
   container query, aby układ reagował na szerokość samego panelu, a nie tylko okna. */
.aa-dog-profile-history-tools.aa-profile-history-tools{
  container-type:inline-size;
  container-name:aa-history-filters;
}

/* Telefon / wąski panel: wyszukiwarka zawsze pełna szerokość, dwa zwarte rzędy poniżej. */
@media(max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-areas:none!important;
    grid-template-columns:minmax(0,105px) minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:10px!important;
    row-gap:8px!important;
    padding:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-area:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:1!important;grid-row:2!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:2!important;grid-row:2!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:1!important;grid-row:3!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-column:2!important;grid-row:3!important;width:min(150px,100%)!important;justify-self:end!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{font-size:16px!important;padding-inline:12px!important}
}

/* To samo, gdy komponent jest wąski mimo szerszego viewportu. */
@container aa-history-filters (max-width:520px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-areas:none!important;
    grid-template-columns:minmax(0,105px) minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:10px!important;
    row-gap:8px!important;
    padding:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-area:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:1!important;grid-row:2!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:2!important;grid-row:2!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:1!important;grid-row:3!important;width:100%!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-column:2!important;grid-row:3!important;width:min(150px,100%)!important;justify-self:end!important}
}

/* Bardzo wąskie telefony: nadal dwa pola w rzędzie, ale bez przepełnienia. */
@media(max-width:360px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{grid-template-columns:minmax(0,94px) minmax(0,1fr)!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{width:100%!important}
}

/* 0.4.24 — finalny mobilny układ filtrów historii.
   Rząd 1: Szukaj + Rok.
   Rząd 2: Rodzaj + Na stronie + Wyczyść.
   Reguła jest celowo na końcu pliku i resetuje starsze przypisania siatki. */
@media (max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    display:grid!important;
    grid-template-areas:none!important;
    grid-template-columns:minmax(0,1fr) 78px 84px!important;
    grid-template-rows:auto auto!important;
    column-gap:8px!important;
    row-gap:8px!important;
    padding:10px!important;
    align-items:end!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-area:auto!important;
    min-width:0!important;
    max-width:none!important;
    width:100%!important;
    margin:0!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{
    grid-column:1 / 3!important;
    grid-row:1!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{
    grid-column:3!important;
    grid-row:1!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{
    grid-column:1!important;
    grid-row:2!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{
    grid-column:2!important;
    grid-row:2!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-column:3!important;
    grid-row:2!important;
    justify-self:stretch!important;
    align-self:end!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap>span{
    display:none!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools label{
    display:grid!important;
    grid-template-rows:15px 42px!important;
    row-gap:5px!important;
    min-width:0!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools label>span{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools input,
  .aa-dog-profile-history-tools.aa-profile-history-tools select,
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{
    font-size:16px!important;
    padding:0 10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools select{
    padding-left:8px!important;
    padding-right:22px!important;
    font-size:.78rem!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    padding:0 7px!important;
    font-size:.72rem!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

@media (max-width:360px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:minmax(0,1fr) 72px 78px!important;
    column-gap:6px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    font-size:.68rem!important;
    padding:0 4px!important;
  }
}


/* 0.4.25 — mobilne filtry historii: finalny układ oparty o flexbox.
   Cel UX: dwa logiczne rzędy bez ściskania pól:
   1) Szukaj (duże) + Rok (krótkie)
   2) Rodzaj (duże) + Na stronie (małe) + Wyczyść (kompaktowe)
   Flexbox celowo zastępuje wcześniejsze mobilne gridy, żeby stare grid-area/grid-column
   nie mogły już zmieniać kolejności elementów. */
@media (max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:flex-end!important;
    gap:8px!important;
    padding:10px!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    grid-template-areas:none!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-search,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-year,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-type,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-size,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap{
    order:0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    grid-area:auto!important;
    grid-column:auto!important;
    grid-row:auto!important;
    box-sizing:border-box!important;
  }
  /* Rząd 1 */
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-search{
    order:1!important;
    flex:0 0 calc(100% - 110px)!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-year{
    order:2!important;
    flex:0 0 102px!important;
  }
  /* Rząd 2 */
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-type{
    order:3!important;
    flex:0 0 calc(100% - 170px)!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-size{
    order:4!important;
    flex:0 0 68px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap{
    order:5!important;
    flex:0 0 86px!important;
    align-self:flex-end!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools label,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap{
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools label > span,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap > span{
    display:block!important;
    height:15px!important;
    line-height:15px!important;
    font-size:.68rem!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap > span{
    visibility:hidden!important; /* utrzymuje przycisk na tej samej osi co selecty */
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools input,
  .aa-dog-profile-history-tools.aa-profile-history-tools select,
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    width:100%!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    box-sizing:border-box!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{
    font-size:16px!important;
    padding:0 12px!important;
    background:#fffdf8!important;
    border:1px solid #c9b98f!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools select{
    padding-left:9px!important;
    padding-right:24px!important;
    font-size:.78rem!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    padding:0 8px!important;
    font-size:.72rem!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

/* Ten sam układ, gdy sam komponent jest wąski w osadzonym podglądzie. */
@container aa-history-filters (max-width:520px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:flex-end!important;
    gap:8px!important;
    padding:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-search{order:1!important;flex:0 0 calc(100% - 110px)!important;width:auto!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-year{order:2!important;flex:0 0 102px!important;width:auto!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-type{order:3!important;flex:0 0 calc(100% - 170px)!important;width:auto!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-size{order:4!important;flex:0 0 68px!important;width:auto!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap{order:5!important;flex:0 0 86px!important;width:auto!important;max-width:none!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap > span{display:block!important;visibility:hidden!important;height:15px!important;line-height:15px!important}
}

@media (max-width:360px){
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-search{flex-basis:calc(100% - 104px)!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-year{flex-basis:96px!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-type{flex-basis:calc(100% - 158px)!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-profile-history-size{flex-basis:64px!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap{flex-basis:78px!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{font-size:.68rem!important;padding-inline:5px!important}
}


/* 0.4.26 — mobile: czytelniejsze filtry bez ucinania tekstu.
   Mniejsza typografia wyłącznie wewnątrz kompaktowego filtra historii. */
@media (max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools label > span,
  .aa-dog-profile-history-tools.aa-profile-history-tools > .aa-dog-profile-filter-reset-wrap > span{
    font-size:.61rem!important;
    letter-spacing:.01em!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{
    font-size:.86rem!important;
    padding-inline:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools select{
    font-size:.68rem!important;
    padding-left:7px!important;
    padding-right:20px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    font-size:.65rem!important;
    padding-inline:5px!important;
  }
}
@media (max-width:360px){
  .aa-dog-profile-history-tools.aa-profile-history-tools label > span{
    font-size:.58rem!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input{
    font-size:.80rem!important;
    padding-inline:8px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools select{
    font-size:.63rem!important;
    padding-left:6px!important;
    padding-right:18px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    font-size:.61rem!important;
    padding-inline:4px!important;
  }
}

/* 0.4.27 — mobile: jednakowa typografia pól historii.
   Pole Szukaj ma ten sam rozmiar tekstu co Rok / Rodzaj / Na stronie. */
@media (max-width:720px){
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input,
  .aa-dog-profile-history-tools.aa-profile-history-tools select{
    font-size:.68rem!important;
  }
}
@media (max-width:360px){
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-profile-history-search input,
  .aa-dog-profile-history-tools.aa-profile-history-tools select{
    font-size:.63rem!important;
  }
}

/* 0.4.29 — spójne przyciski bazy + wyszukiwarka psów na profilu sędziego */
.aa-golden-db .aa-golden-db-search button,
.aa-golden-db .aa-golden-db-search button:link,
.aa-golden-db .aa-golden-db-search button:visited,
.aa-golden-db .aa-golden-db-search button:hover,
.aa-golden-db .aa-golden-db-search button:focus,
.aa-golden-db .aa-golden-db-search button:active{
  background:#6f1831!important;
  border-color:#6f1831!important;
  color:#fff8e9!important;
  -webkit-text-fill-color:#fff8e9!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.aa-golden-db .aa-golden-db-search a,
.aa-golden-db .aa-golden-db-search a:link,
.aa-golden-db .aa-golden-db-search a:visited{
  background:#fffaf0!important;
  border-color:#d8c5b7!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
}
.aa-golden-db .aa-golden-db-search a:hover,
.aa-golden-db .aa-golden-db-search a:focus{
  background:#f8efe3!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
}
.aa-judge-dogs-head{gap:16px}
.aa-judge-dog-search{display:flex;flex-direction:column;gap:5px;min-width:min(360px,100%);margin:0}
.aa-judge-dog-search span{font-size:11px;line-height:1;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#5d4b42}
.aa-judge-dog-search input{width:100%;height:42px;padding:0 12px;border:1px solid #cdbb8b;border-radius:10px;background:#fffdf8;color:#243b2e;font:inherit;box-sizing:border-box;outline:none}
.aa-judge-dog-search input::placeholder{color:#8a8178;opacity:1}
.aa-judge-dog-search input:focus{border-color:#8b6b2e;box-shadow:0 0 0 2px rgba(139,107,46,.12)}
.aa-judge-dog-card{align-items:flex-start;min-height:126px}
.aa-judge-dog-card .aa-golden-db-dog-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.aa-judge-dog-card .aa-golden-db-dog-copy>span{display:block;line-height:1.35}
.aa-judge-dog-card .aa-judge-dog-count{font-weight:800;color:#7a1730}
.aa-judge-dog-card .aa-judge-dog-grades,
.aa-judge-dog-card .aa-judge-dog-places,
.aa-judge-dog-card .aa-judge-dog-classes{font-size:.74rem;color:#63574f}
.aa-judge-dog-card .aa-judge-dog-grades b,
.aa-judge-dog-card .aa-judge-dog-places b,
.aa-judge-dog-card .aa-judge-dog-classes b{color:#243b2e}
.aa-judge-dog-empty{margin:14px 0 0}
@media(max-width:760px){
  .aa-judge-dogs-head{gap:10px}
  .aa-judge-dog-search{min-width:0;width:100%}
  .aa-judge-dog-search input{height:40px;font-size:13px}
  .aa-judge-dog-card{min-height:0}
}

/* 0.4.30 — naprawa filtrowania psów u sędziego + spójne kolory przycisków bazy. */
/* Karty mają własne display:grid/flex, więc natywne [hidden] było nadpisywane przez CSS. */
.aa-judge-dog-card[hidden],
.aa-judge-dog-empty[hidden]{
  display:none!important;
}

/* Przyciski powrotu w Bazie wystawowej: wymuszamy kontrast niezależnie od stylów motywu. */
.aa-golden-db .aa-golden-db-back,
.aa-golden-db .aa-golden-db-back:link,
.aa-golden-db .aa-golden-db-back:visited{
  background:#556543!important;
  border:1px solid #556543!important;
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
  text-decoration:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
.aa-golden-db .aa-golden-db-back:hover,
.aa-golden-db .aa-golden-db-back:focus-visible{
  background:#6f1831!important;
  border-color:#6f1831!important;
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
  outline:2px solid rgba(111,24,49,.18)!important;
  outline-offset:2px!important;
}
.aa-golden-db .aa-golden-db-back:active{
  background:#3f4d32!important;
  border-color:#3f4d32!important;
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
}

/* Formularze wyszukiwania bazy — ten sam kontrast również przy stylach motywu z !important. */
.aa-golden-db form.aa-golden-db-search button[type="submit"]{
  background:#6f1831!important;
  border-color:#6f1831!important;
  color:#fff8e9!important;
  -webkit-text-fill-color:#fff8e9!important;
}
.aa-golden-db form.aa-golden-db-search button[type="submit"]:hover,
.aa-golden-db form.aa-golden-db-search button[type="submit"]:focus-visible{
  background:#556543!important;
  border-color:#556543!important;
  color:#fff8e9!important;
  -webkit-text-fill-color:#fff8e9!important;
}

/* 0.4.31 — szczegóły ocen konkretnego psa u sędziego. */
.aa-judge-dog-card{grid-template-columns:42px minmax(0,1fr) auto;cursor:default}
.aa-judge-dog-card:hover{transform:none}
.aa-judge-dog-profile-link{color:#20382d!important;text-decoration:none!important}
.aa-judge-dog-profile-link:hover{text-decoration:underline!important}
.aa-judge-dog-actions{align-self:start}
.aa-judge-dog-toggle{min-height:38px;padding:7px 12px;border:1px solid #556543!important;border-radius:10px;background:#556543!important;color:#fff7e8!important;-webkit-text-fill-color:#fff7e8!important;font:inherit;font-size:.75rem;font-weight:800;cursor:pointer;white-space:nowrap}
.aa-judge-dog-toggle:hover,.aa-judge-dog-toggle:focus{background:#6a784f!important;border-color:#6a784f!important;color:#fff7e8!important;-webkit-text-fill-color:#fff7e8!important}
.aa-judge-dog-events{grid-column:1/-1;margin-top:4px;padding-top:12px;border-top:1px solid rgba(36,27,29,.10)}
.aa-judge-dog-events[hidden]{display:none!important}
.aa-judge-dog-events-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;color:#20382d}
.aa-judge-dog-events-head strong{font-size:.86rem}.aa-judge-dog-events-head span{font-size:.7rem;color:#796e63}
.aa-judge-dog-event{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid rgba(36,27,29,.08)}
.aa-judge-dog-event:first-of-type{border-top:0}
.aa-judge-dog-event-date{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.aa-judge-dog-event-date>strong{font-size:.83rem;color:#7a1730}
.aa-judge-dog-event-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;line-height:1.28}
.aa-judge-dog-event-title>a,.aa-judge-dog-event-title>strong{font-size:.84rem;font-weight:800;color:#006b5d;text-decoration:none}
.aa-judge-dog-event-meta{display:flex;gap:7px 15px;align-items:center;flex-wrap:wrap;margin-top:6px;font-size:.73rem;color:#5e554d}
.aa-judge-dog-event-meta b{color:#2b2924}
.aa-judge-dog-profile-cta{display:inline-flex;margin-top:9px;color:#006b5d!important;font-size:.75rem;font-weight:800;text-decoration:none!important}
@media(max-width:760px){
  .aa-judge-dog-card{grid-template-columns:38px minmax(0,1fr)}
  .aa-judge-dog-actions{grid-column:1/-1;width:100%}
  .aa-judge-dog-toggle{width:100%;min-height:36px}
  .aa-judge-dog-event{grid-template-columns:1fr;gap:6px}
  .aa-judge-dog-event-date{flex-direction:row;align-items:center;gap:8px}
  .aa-judge-dog-events-head{align-items:flex-start}
}


/* 0.4.32 — lokalny profil pojedynczej wystawy */
.aa-show-profile-db{max-width:1240px;margin:0 auto}.aa-show-profile-db>.aa-golden-db-back{display:inline-flex;margin:10px 0 14px}
.aa-show-profile-db-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:24px;align-items:center;background:#fffaf0;border:1px solid rgba(91,109,70,.18);border-radius:20px;padding:24px 28px;margin-bottom:14px}
.aa-show-profile-db-hero h2{margin:4px 0 6px;font-size:clamp(28px,4vw,46px);line-height:1.05;color:#173d36}.aa-show-profile-db-hero p{margin:0;color:#6c4a38;font-weight:700}
.aa-show-profile-db-hero dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.aa-show-profile-db-hero dl>div{background:#f4efe3;border-radius:12px;padding:11px 13px}.aa-show-profile-db-hero dt{font-size:10px;text-transform:uppercase;font-weight:800;color:#745f47}.aa-show-profile-db-hero dd{margin:4px 0 0;font-weight:800;color:#183d36}
.aa-show-profile-db-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}.aa-show-profile-db-meta>div{background:#fffaf0;border:1px solid rgba(91,109,70,.16);border-radius:14px;padding:14px}.aa-show-profile-db-meta b,.aa-show-profile-db-meta span{display:block}.aa-show-profile-db-meta b{margin-bottom:5px;color:#173d36}
@media(max-width:760px){.aa-show-profile-db-hero{grid-template-columns:1fr;padding:18px}.aa-show-profile-db-hero dl{grid-template-columns:1fr 1fr}.aa-show-profile-db-meta{grid-template-columns:1fr}}

/* 0.4.33 — centralny lokalny komponent wystawy v1 */
.aa-db-show-component-intro{margin:0 0 12px;padding:12px 16px;border:1px solid rgba(91,109,70,.16);border-radius:14px;background:#fffaf0}.aa-db-show-component-intro p{margin:4px 0 0;color:#6b5848;font-size:.86rem}
.aa-db-show-card{margin:0 0 16px;border:1px solid rgba(91,109,70,.24);border-radius:16px;background:#fffdf8;box-shadow:0 5px 18px rgba(36,46,40,.06);overflow:hidden}
.aa-db-show-card>summary{list-style:none}.aa-db-show-card>summary::-webkit-details-marker{display:none}
.aa-db-show-card__summary{display:grid;grid-template-columns:150px minmax(0,1fr) auto 28px;gap:16px;align-items:center;padding:15px 18px;cursor:pointer;background:#fffaf0;transition:background .16s ease,border-color .16s ease}
.aa-db-show-card__summary:hover{background:#f8f1e4}.aa-db-show-card[open]>.aa-db-show-card__summary{border-bottom:1px solid rgba(91,109,70,.18)}
.aa-db-show-card__date{display:flex;flex-direction:column;gap:2px}.aa-db-show-card__date strong{color:#6f1831;font-size:.94rem;line-height:1.25}.aa-db-show-card__date small{color:#84715d;font-size:.68rem;font-weight:800}
.aa-db-show-card__identity{min-width:0}.aa-db-show-card__identity>strong{display:block;color:#173d36;font-size:1rem;line-height:1.25;overflow-wrap:anywhere}.aa-db-show-card__identity>span{display:block;margin-top:2px;color:#765f4c;font-size:.78rem}
.aa-db-show-card__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.aa-db-show-badge{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;font-size:.66rem;line-height:1;font-weight:800;white-space:nowrap}.aa-db-show-badge--type{background:#6f1831;color:#fff7e8}.aa-db-show-badge--status{background:#e9e1d2;color:#4e463c}.aa-db-show-badge--status.aa-db-show-badge--zakonczona,.aa-db-show-badge--status.aa-db-show-badge--zakonczone,.aa-db-show-badge--status.aa-db-show-badge--complete{background:#dde5d4;color:#31422c}.aa-db-show-badge--status.aa-db-show-badge--odwolana,.aa-db-show-badge--status.aa-db-show-badge--cancelled{background:#f1d8da;color:#7d2430}
.aa-db-show-card__quick{display:flex;gap:8px;align-items:stretch}.aa-db-show-card__quick>span{min-width:76px;padding:7px 9px;border-radius:10px;background:#f0eadf;text-align:center}.aa-db-show-card__quick b,.aa-db-show-card__quick small{display:block}.aa-db-show-card__quick b{color:#173d36;font-size:.95rem}.aa-db-show-card__quick small{margin-top:1px;color:#766550;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.aa-db-show-card__chevron{width:10px;height:10px;border-right:2px solid #6f1831;border-bottom:2px solid #6f1831;transform:rotate(45deg);transition:transform .16s ease}.aa-db-show-card[open] .aa-db-show-card__chevron{transform:rotate(225deg)}
.aa-db-show-card__body{padding:16px;background:#fff}.aa-db-show-card__overview{margin:0 0 14px;padding:14px;border:1px solid rgba(91,109,70,.16);border-radius:13px;background:#fffaf0}.aa-db-show-card__overview h4{margin:0 0 10px;color:#173d36;font-size:1rem}.aa-db-show-card__overview dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.aa-db-show-card__overview dl>div{min-width:0;padding:8px 10px;border-radius:9px;background:#f3ede2}.aa-db-show-card__overview dl>div.is-wide{grid-column:span 2}.aa-db-show-card__overview dt{color:#806f5c;font-size:.62rem;font-weight:800;text-transform:uppercase}.aa-db-show-card__overview dd{margin:3px 0 0;color:#173d36;font-size:.78rem;font-weight:800;overflow-wrap:anywhere}.aa-db-show-card__updated{margin:9px 0 0;color:#8a7863;font-size:.66rem;text-align:right}
.aa-db-show-card .aa-show-golden-publication{margin-top:0}
@media(max-width:760px){.aa-db-show-card__summary{grid-template-columns:minmax(0,1fr) 22px;gap:8px 10px;padding:12px}.aa-db-show-card__date{grid-column:1/2;grid-row:1}.aa-db-show-card__identity{grid-column:1/2;grid-row:2}.aa-db-show-card__quick{grid-column:1/2;grid-row:3;justify-content:flex-start}.aa-db-show-card__chevron{grid-column:2;grid-row:1/4;align-self:center}.aa-db-show-card__quick>span{min-width:68px}.aa-db-show-card__body{padding:10px}.aa-db-show-card__overview{padding:10px}.aa-db-show-card__overview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.aa-db-show-card__overview dl>div.is-wide{grid-column:1/-1}.aa-db-show-component-intro{padding:10px 12px}}
@media(max-width:420px){.aa-db-show-card__identity>strong{font-size:.9rem}.aa-db-show-card__date strong{font-size:.84rem}.aa-db-show-card__badges{gap:4px}.aa-db-show-badge{font-size:.61rem;padding:3px 7px}.aa-db-show-card__quick>span{min-width:62px;padding:6px 7px}.aa-db-show-card__quick b{font-size:.86rem}.aa-db-show-card__quick small{font-size:.56rem}.aa-db-show-card__overview dl{grid-template-columns:1fr}.aa-db-show-card__overview dl>div.is-wide{grid-column:auto}}

/* 0.4.34 — lista kalendarza używa centralnego komponentu wystawy z lokalnego snapshotu. */
.aa-show-calendar-wrap .aa-show-card.aa-show-card--snapshot{
  display:block;
  padding:0;
  border:0;
  border-left:0;
  border-radius:16px;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.aa-show-calendar-wrap .aa-show-card.aa-show-card--snapshot>.aa-db-show-card{margin:0}
.aa-show-calendar-wrap .aa-show-card.aa-show-card--snapshot.is-focus{
  box-shadow:0 0 0 4px rgba(198,164,87,.34);
  transform:none;
}
.aa-show-calendar-wrap .aa-show-card--snapshot.is-past>.aa-db-show-card{opacity:.96}
.aa-show-calendar-wrap .aa-show-card--snapshot.is-cancelled>.aa-db-show-card{opacity:.84}
.aa-show-snapshot-missing{
  display:flex;flex-direction:column;gap:5px;padding:14px 16px;
  border:1px dashed #bda98a;border-radius:14px;background:#fff8ed;color:#624d3d
}
.aa-show-snapshot-missing strong{color:#6f1831}.aa-show-snapshot-missing span{font-size:.78rem}
.aa-db-show-card__actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(91,109,70,.16)}
.aa-db-show-card__actions a{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid #6f1831;border-radius:8px;background:#fffaf0;color:#6f1831;text-decoration:none;font-size:.74rem;font-weight:800}
.aa-db-show-card__actions a:hover,.aa-db-show-card__actions a:focus{background:#6f1831;color:#fff7e8}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-card.aa-show-card--snapshot{border-radius:13px}
  .aa-db-show-card__actions{gap:6px}.aa-db-show-card__actions a{min-height:32px;padding:6px 8px;font-size:.68rem}
}

/* 0.4.47 — centralny komponent wystawy także w profilu sędziego. */
.aa-judge-dog-central-show{margin:10px 0}
.aa-judge-dog-central-show .aa-db-show-card{width:100%;margin:0}
.aa-judge-dog-central-show .aa-db-show-card__summary{background:#fffaf2}
.aa-db-show-card__quick>span{min-width:94px}
.aa-db-show-card__quick b{white-space:nowrap;font-size:.84rem}
@media(max-width:760px){
  .aa-judge-dog-central-show{margin:8px 0}
  .aa-db-show-card__quick>span{min-width:88px}
  .aa-db-show-card__quick b{font-size:.78rem}
}
@media(max-width:420px){
  .aa-db-show-card__quick>span{min-width:82px}
  .aa-db-show-card__quick b{font-size:.72rem}
}


/* 0.4.48 — profil sędziego: po rozwinięciu pies zajmuje cały rząd,
   dzięki czemu centralny komponent wystawy ma identyczną szerokość i układ jak w kalendarzu. */
.aa-judge-dog-grid > .aa-judge-dog-card.is-expanded{
  grid-column:1 / -1 !important;
}
.aa-judge-dog-card.is-expanded{
  grid-template-columns:42px minmax(0,1fr) auto;
}
.aa-judge-dog-card.is-expanded .aa-judge-dog-events{
  width:100%;
  min-width:0;
}
.aa-judge-dog-card.is-expanded .aa-judge-dog-central-show{
  width:100%;
  min-width:0;
}
.aa-judge-dog-card.is-expanded .aa-db-show-card,
.aa-judge-dog-card.is-expanded .aa-db-show-card__summary,
.aa-judge-dog-card.is-expanded .aa-db-show-card__body{
  min-width:0;
}
@media(max-width:760px){
  .aa-judge-dog-card.is-expanded{
    grid-template-columns:38px minmax(0,1fr);
  }
  .aa-judge-dog-card.is-expanded .aa-judge-dog-actions{
    grid-column:1/-1;
  }
}


/* 0.4.50 — jeden rzeczywisty komponent wystawy 1:1 we wszystkich kontekstach.
   Baza wystawowa używa tej samej szerokości co kalendarz, a komponent u sędziego
   dostaje ten sam kontekst styli co lista kalendarza (PDF, meta, klasy, wysokości). */
.aa-golden-db{max-width:1240px}
.aa-show-profile-db{max-width:1240px}
.aa-judge-dog-central-show.aa-show-calendar-wrap{
  max-width:none;
  width:100%;
  margin:10px 0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.aa-judge-dog-central-show.aa-show-calendar-wrap .aa-db-show-card{
  width:100%;
  margin:0;
}
.aa-judge-dog-card.is-expanded .aa-judge-dog-events{box-sizing:border-box}
@media(max-width:760px){
  .aa-judge-dog-central-show.aa-show-calendar-wrap{margin:8px 0}
}


/* 0.4.53 — czytelny hover/focus przycisku „Zobacz wystawę”.
   Wymuszenie kontrastu także dla potomków i pseudo-elementów, aby style motywu nie nadpisywały tekstu. */
.aa-dog-profile-show-link:hover,
.aa-dog-profile-show-link:focus-visible,
.aa-dog-profile-show-link:active{
  background:#566b46!important;
  color:#fff8e8!important;
  border-color:#566b46!important;
  text-decoration:none!important;
  box-shadow:0 0 0 2px rgba(86,107,70,.14)!important;
}
.aa-dog-profile-show-link:hover *,
.aa-dog-profile-show-link:focus-visible *,
.aa-dog-profile-show-link:active *,
.aa-dog-profile-show-link:hover::before,
.aa-dog-profile-show-link:hover::after,
.aa-dog-profile-show-link:focus-visible::before,
.aa-dog-profile-show-link:focus-visible::after,
.aa-dog-profile-show-link:active::before,
.aa-dog-profile-show-link:active::after{
  color:#fff8e8!important;
  fill:#fff8e8!important;
}

/* 0.4.54 — jawny status zgłoszonego, nieobecnego własnego psa. */
.aa-show-own-note{grid-column:2/-1;display:block;margin-top:2px;font-size:.82rem;color:#7a1f2b;font-weight:600}


/* 0.4.55 — centralny komponent: rozróżnialne kolory rodzaju wystawy.
   Spójne z dotychczasową paletą kalendarza; status pozostaje osobną neutralną pastylką. */
.aa-db-show-badge--type.aa-db-show-badge--krajowa{background:#5b6842;color:#fff7e8}
.aa-db-show-badge--type.aa-db-show-badge--miedzynarodowa{background:#b8851c;color:#fff7e8}
.aa-db-show-badge--type.aa-db-show-badge--klubowa{background:#1c1c1c;color:#fff7e8}
.aa-db-show-badge--type.aa-db-show-badge--specjalistyczna{background:#8d5640;color:#fff7e8}
.aa-db-show-badge--type.aa-db-show-badge--puppy-show,
.aa-db-show-badge--type.aa-db-show-badge--puppy{background:#6f476f;color:#fff7e8}
.aa-db-show-badge--type.aa-db-show-badge--weteranow,
.aa-db-show-badge--type.aa-db-show-badge--veteran{background:#665c4c;color:#fff7e8}
.aa-db-show-badge--type.aa-db-show-badge--inna,
.aa-db-show-badge--type.aa-db-show-badge--inne{background:#7d756b;color:#fff7e8}


/* 0.4.56 — subtelny akcent rodzaju wystawy na lewej krawędzi centralnego komponentu.
   Ten sam element działa w kalendarzu, profilach psów, sędziów i pozostałych widokach bazy. */
.aa-db-show-card{
  border-left-width:4px;
  border-left-style:solid;
  border-left-color:#b8b0a2;
}
.aa-db-show-card--type-krajowa{border-left-color:#7f8d69}
.aa-db-show-card--type-miedzynarodowa{border-left-color:#c49a35}
.aa-db-show-card--type-klubowa{border-left-color:#454841}
.aa-db-show-card--type-specjalistyczna{border-left-color:#a46c55}
.aa-db-show-card--type-puppy-show,
.aa-db-show-card--type-puppy{border-left-color:#8a688e}
.aa-db-show-card--type-weteranow,
.aa-db-show-card--type-veteran{border-left-color:#766c5d}
.aa-db-show-card--type-inna,
.aa-db-show-card--type-inne,
.aa-db-show-card--type-other{border-left-color:#aaa294}
@media(max-width:760px){
  .aa-db-show-card{border-left-width:3px}
}


/* 0.4.57 — Statystyki publicznej Bazy wystawowej */
.aa-db-statistics{--aa-stat-olive:#5d6f49;--aa-stat-bordo:#7f1834;--aa-stat-gold:#b78b2a;--aa-stat-cream:#fffaf0}
.aa-db-stats-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 14px}
.aa-db-stats-summary>div{min-height:112px;padding:16px 17px;border:1px solid rgba(101,82,50,.16);border-radius:16px;background:#fffaf1;box-shadow:0 7px 22px rgba(61,47,26,.035);display:flex;flex-direction:column;justify-content:center}
.aa-db-stats-summary small{font-size:.69rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#786b5c}
.aa-db-stats-summary strong{margin:3px 0 2px;font-family:Georgia,'Times New Roman',serif;font-size:2rem;line-height:1;color:#7f1834}
.aa-db-stats-summary span{font-size:.74rem;line-height:1.3;color:#756b62}
.aa-db-stats-jump{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px}
.aa-db-stats-jump a,.aa-db-stats-jump a:visited{display:flex;min-height:44px;align-items:center;justify-content:center;padding:9px 12px;border:1px solid #d8caa9;border-radius:999px;background:#fbf7ec;color:#24503e!important;font-weight:800;text-decoration:none!important}
.aa-db-stats-jump a:hover{background:#5d6f49;color:#fff7df!important;border-color:#5d6f49}
.aa-db-stats-panel{scroll-margin-top:110px;margin:0 0 18px;padding:18px;border:1px solid rgba(93,111,73,.16);border-radius:18px;background:rgba(255,250,240,.72)}
.aa-db-stats-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(99,79,44,.12)}
.aa-db-stats-panel-head>div{display:flex;align-items:center;gap:10px}
.aa-db-stats-panel-head>div>span{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:#e8edd9;color:#536743;font-size:.7rem;font-weight:900}
.aa-db-stats-panel-head h3{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;color:#173f34}
.aa-db-stats-panel-head p{max-width:570px;margin:3px 0 0;color:#776c62;font-size:.83rem;line-height:1.45;text-align:right}
.aa-db-stats-two-col{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:12px}
.aa-db-stat-card{padding:15px;border:1px solid rgba(105,84,51,.14);border-radius:15px;background:#fffdf7}
.aa-db-stat-card.is-wide{padding:0;overflow:hidden}
.aa-db-stat-card h4{margin:0 0 13px;font-size:1rem;color:#203e34}
.aa-db-stat-bars{display:grid;gap:12px}
.aa-db-stat-bar{display:grid;gap:5px}.aa-db-stat-bar-label{display:flex;justify-content:space-between;align-items:center;gap:12px}.aa-db-stat-bar-label strong{color:#7f1834}
.aa-db-stat-bar>i,.aa-db-stat-name i,.aa-db-year-row i{display:block;height:7px;border-radius:999px;background:#eee9dd;overflow:hidden;font-style:normal}
.aa-db-stat-bar>i>b,.aa-db-stat-name i>b,.aa-db-year-row i>b{display:block;height:100%;border-radius:inherit;background:#697d4d}
.aa-db-stat-ranking{display:grid}.aa-db-stat-rank{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 2px;border-bottom:1px solid rgba(104,84,54,.10)}.aa-db-stat-rank:last-child{border-bottom:0}.aa-db-stat-rank em,.aa-db-stat-name>em{display:flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:50%;background:#f0eadb;color:#7f1834;font-style:normal;font-size:.72rem;font-weight:900}.aa-db-stat-rank div{min-width:0}.aa-db-stat-rank a{color:#174f3d!important;text-decoration:none!important}.aa-db-stat-rank a:hover{text-decoration:underline!important}.aa-db-stat-rank small{display:block;margin-top:2px;color:#7f756b;font-size:.7rem}.aa-db-stat-rank>b{font-size:1.15rem;color:#7f1834}
.aa-db-stat-table-head,.aa-db-stat-table-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px 90px;gap:10px;align-items:center}.aa-db-stat-table-head{padding:11px 14px;background:#f1ecdf;color:#766b5e;font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.aa-db-stat-table-head.is-judge,.aa-db-stat-table-row.is-judge{grid-template-columns:minmax(0,1fr) 80px 90px 90px}.aa-db-stat-table-row{padding:11px 14px;border-top:1px solid rgba(100,80,48,.09)}.aa-db-stat-table-row:first-child{border-top:0}.aa-db-stat-table-row>strong{color:#7f1834;text-align:center}.aa-db-stat-table-row>span{text-align:center;color:#786e65}.aa-db-stat-name{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:center;min-width:0}.aa-db-stat-name>span{display:grid;min-width:0}.aa-db-stat-name a{font-weight:800;color:#174f3d!important;text-decoration:none!important;white-space:normal}.aa-db-stat-name a:hover{text-decoration:underline!important}.aa-db-stat-name small{display:block;margin:2px 0 5px;color:#8a7b6e;font-size:.67rem}.aa-db-stat-name i{height:5px}
.aa-db-year-grid{display:grid}.aa-db-year-row{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr) 110px;gap:14px;align-items:center;padding:12px 14px;border-top:1px solid rgba(100,80,48,.09)}.aa-db-year-row:first-child{border-top:0}.aa-db-year-row>strong{font-family:Georgia,'Times New Roman',serif;font-size:1.2rem;color:#173f34}.aa-db-year-row>div>span{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:.7rem;color:#756b61}.aa-db-year-row>div>span b{font-weight:800}.aa-db-year-row>div>span em{font-style:normal;font-weight:800;color:#7f1834}.aa-db-year-row i.is-shows>b{background:#b78b2a}.aa-db-year-results{display:flex!important;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:10px;background:#f5efe4}.aa-db-year-results span{margin:0!important}.aa-db-year-results strong{color:#7f1834}
.aa-db-stats-note{margin:12px 4px 0;padding:11px 13px;border-left:3px solid #b78b2a;background:#faf6eb;color:#786e64;font-size:.73rem;line-height:1.45}
@media(max-width:980px){.aa-db-stats-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.aa-db-stats-two-col{grid-template-columns:1fr}.aa-db-stats-panel-head{display:block}.aa-db-stats-panel-head p{max-width:none;text-align:left;margin-top:8px}.aa-db-year-row{grid-template-columns:56px minmax(0,1fr) minmax(0,1fr) 94px}}
@media(max-width:700px){.aa-db-stats-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.aa-db-stats-summary>div{min-height:92px;padding:12px}.aa-db-stats-summary strong{font-size:1.6rem}.aa-db-stats-jump{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-db-stats-panel{padding:12px 10px}.aa-db-stat-card{padding:11px}.aa-db-stat-table-head{display:none}.aa-db-stat-table-row,.aa-db-stat-table-row.is-judge{grid-template-columns:minmax(0,1fr) repeat(3,54px);gap:5px;padding:10px 8px}.aa-db-stat-table-row>strong,.aa-db-stat-table-row>span{font-size:.72rem}.aa-db-stat-name{grid-template-columns:24px minmax(0,1fr);gap:6px}.aa-db-stat-name>em{width:22px;height:22px;font-size:.65rem}.aa-db-year-row{grid-template-columns:50px minmax(0,1fr);gap:8px 10px}.aa-db-year-row>div:nth-of-type(1),.aa-db-year-row>div:nth-of-type(2){grid-column:2}.aa-db-year-results{grid-column:2;max-width:130px}.aa-db-stat-rank{grid-template-columns:26px minmax(0,1fr) auto;gap:7px}.aa-db-stat-rank em{width:23px;height:23px}}
@media(max-width:420px){.aa-db-stat-table-row,.aa-db-stat-table-row.is-judge{grid-template-columns:1fr 44px 44px 44px}.aa-db-stats-summary span{font-size:.68rem}.aa-db-stats-panel-head h3{font-size:1.35rem}}

/* 0.4.58 — jedna lista wystaw wszędzie: centralny komponent inline + zwijane statystyki. */
.aa-profile-inline-show{
  width:100%;
  min-width:0;
  margin:0;
}
.aa-profile-inline-show.aa-show-calendar-wrap{
  max-width:none;
  width:100%;
  margin:0;
}
.aa-profile-inline-show .aa-db-show-card{
  width:100%;
  margin:0;
}
.aa-dog-profile-event-list{
  align-items:stretch;
}

/* Statystyki: każda sekcja jako zwinięta belka/akordeon. */
.aa-db-stats-back{
  margin:0 0 14px;
}
.aa-db-stats-accordion{
  padding:0;
  overflow:hidden;
}
.aa-db-stats-accordion>summary{
  list-style:none;
  cursor:pointer;
  margin:0;
  padding:16px 18px;
  border-bottom:0;
  align-items:center;
  user-select:none;
}
.aa-db-stats-accordion>summary::-webkit-details-marker{display:none}
.aa-db-stats-accordion>summary>i{
  position:relative;
  flex:0 0 28px;
  width:28px;
  height:28px;
  margin-left:auto;
  border-radius:50%;
  background:#eef1e5;
}
.aa-db-stats-accordion>summary>i:before,
.aa-db-stats-accordion>summary>i:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:2px;
  border-radius:2px;
  background:#5d6f49;
  transform:translate(-50%,-50%);
}
.aa-db-stats-accordion>summary>i:after{
  transform:translate(-50%,-50%) rotate(90deg);
  transition:transform .18s ease;
}
.aa-db-stats-accordion[open]>summary{
  margin-bottom:14px;
  border-bottom:1px solid rgba(99,79,44,.12);
}
.aa-db-stats-accordion[open]>summary>i:after{
  transform:translate(-50%,-50%) rotate(0deg);
}
.aa-db-stats-accordion>.aa-db-stats-two-col,
.aa-db-stats-accordion>.aa-db-stat-card{
  margin:0 18px 18px;
}
.aa-db-stats-accordion>.aa-db-stats-two-col .aa-db-stat-card{
  margin:0;
}
@media(max-width:700px){
  .aa-db-stats-accordion>summary{
    padding:13px 12px;
    gap:10px;
  }
  .aa-db-stats-accordion>summary p{
    display:none;
  }
  .aa-db-stats-accordion>.aa-db-stats-two-col,
  .aa-db-stats-accordion>.aa-db-stat-card{
    margin:0 10px 12px;
  }
  .aa-db-stats-accordion>summary>i{
    flex-basis:26px;
    width:26px;
    height:26px;
  }
}


/* 0.4.59 — Statystyki: wyraźniejsze, rozdzielone belki akordeonu. */
.aa-db-statistics .aa-db-stats-accordion{
  position:relative;
  margin:0 0 12px;
  border:1px solid rgba(91,72,45,.18);
  border-left-width:4px;
  border-radius:15px;
  background:#fffaf1;
  box-shadow:0 4px 14px rgba(55,43,25,.035);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;
}
.aa-db-statistics .aa-db-stats-accordion>summary{
  min-height:74px;
  padding:14px 16px;
  background:linear-gradient(90deg,rgba(255,255,255,.48),rgba(255,255,255,.10));
  border-radius:11px;
}
.aa-db-statistics .aa-db-stats-accordion>summary:hover{
  background:rgba(255,255,255,.72);
}
.aa-db-statistics .aa-db-stats-accordion>summary h3{
  font-size:1.38rem;
}
.aa-db-statistics .aa-db-stats-accordion>summary p{
  color:#6f655a;
}
.aa-db-statistics .aa-db-stats-accordion[open]{
  background:#fffdf7;
  box-shadow:0 8px 22px rgba(55,43,25,.055);
}
.aa-db-statistics .aa-db-stats-accordion[open]>summary{
  background:#f8f3e7;
  border-radius:11px 11px 0 0;
}
/* Każda belka ma własny subtelny akcent — łatwiej je skanować wzrokiem. */
.aa-db-statistics #aa-stats-shows{border-left-color:#667a50}
.aa-db-statistics #aa-stats-dogs{border-left-color:#8a233c}
.aa-db-statistics #aa-stats-judges{border-left-color:#b58a2a}
.aa-db-statistics #aa-stats-years{border-left-color:#485f50}
.aa-db-statistics #aa-stats-shows>summary>div>span{background:#e7ecd9;color:#536743}
.aa-db-statistics #aa-stats-dogs>summary>div>span{background:#f3dfe4;color:#81223a}
.aa-db-statistics #aa-stats-judges>summary>div>span{background:#f5e8bd;color:#7f6118}
.aa-db-statistics #aa-stats-years>summary>div>span{background:#dfe8e2;color:#3d5849}
.aa-db-statistics #aa-stats-shows>summary>i{background:#e7ecd9}
.aa-db-statistics #aa-stats-dogs>summary>i{background:#f3dfe4}
.aa-db-statistics #aa-stats-judges>summary>i{background:#f5e8bd}
.aa-db-statistics #aa-stats-years>summary>i{background:#dfe8e2}
.aa-db-statistics #aa-stats-dogs>summary>i:before,
.aa-db-statistics #aa-stats-dogs>summary>i:after{background:#81223a}
.aa-db-statistics #aa-stats-judges>summary>i:before,
.aa-db-statistics #aa-stats-judges>summary>i:after{background:#7f6118}
.aa-db-statistics #aa-stats-years>summary>i:before,
.aa-db-statistics #aa-stats-years>summary>i:after{background:#3d5849}
@media(max-width:700px){
  .aa-db-statistics .aa-db-stats-accordion{margin-bottom:9px;border-left-width:3px;border-radius:13px}
  .aa-db-statistics .aa-db-stats-accordion>summary{min-height:60px;padding:11px 12px}
  .aa-db-statistics .aa-db-stats-accordion>summary h3{font-size:1.18rem}
}

/* 0.4.60 — kalendarz: tylko filtry, bez pola wyszukiwania. */
.aa-show-calendar-wrap .aa-show-filters--calendar{
  grid-template-columns:minmax(170px,1.1fr) minmax(145px,.85fr) minmax(145px,.9fr) auto minmax(250px,1.25fr) auto;
  align-items:end;
}
.aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-golden{align-self:end}
.aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-reset{white-space:nowrap}
@media(max-width:1100px){
  .aa-show-calendar-wrap .aa-show-filters--calendar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-dogs{grid-column:1 / span 2}
}
@media(max-width:850px){
  .aa-show-calendar-wrap .aa-show-filters--calendar.is-open{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-type{grid-column:1/3}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-status{grid-column:1}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-info{grid-column:2}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-golden{grid-column:1/3;min-height:36px}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-dogs{grid-column:1/3}
  .aa-show-calendar-wrap .aa-show-filters--calendar .aa-show-filter-reset{grid-column:1/3;width:100%}
}


/* 0.4.62 — mobile: numer rodowodu ma mieścić się w ramce */
@media(max-width:720px){
  .aa-dog-profile-hero{
    grid-template-columns:minmax(0,44%) minmax(0,56%)!important;
    column-gap:10px!important;
  }
  .aa-dog-profile-meta span{
    display:block!important;
    min-height:auto!important;
    padding:8px 11px!important;
    font-size:.60rem!important;
    line-height:1.18!important;
    text-align:center!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:unset!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
}


/* 0.4.63 — mobile: wariant 2 dla rodowodu, etykieta nad numerem */
.aa-dog-profile-pedigree b,
.aa-dog-profile-pedigree i{font-style:normal}

@media(max-width:720px){
  .aa-dog-profile-meta .aa-dog-profile-pedigree{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    text-align:center!important;
    min-height:52px!important;
    padding:8px 10px!important;
    white-space:normal!important;
  }
  .aa-dog-profile-meta .aa-dog-profile-pedigree b{
    display:block!important;
    font-size:.58rem!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
    color:#7a5a16!important;
  }
  .aa-dog-profile-meta .aa-dog-profile-pedigree i{
    display:block!important;
    max-width:100%!important;
    font-size:.68rem!important;
    line-height:1.16!important;
    font-weight:700!important;
    color:#6a4c0f!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
}


/* 0.4.69 — przywrócona sekcja Wystawy w Bazie wystawowej */
@media(max-width:980px){.aa-golden-db-sections{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.aa-golden-db-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}
.aa-show-db-grid .aa-show-db-card{min-height:86px}
.aa-show-db-card .aa-golden-db-dog-copy small{white-space:normal}


/* 0.4.76 — wyniki szczegółowe: ocena nie może nachodzić na pastylki tytułów */
@media(min-width:761px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px 58px minmax(240px,1.25fr) minmax(150px,.62fr) minmax(210px,1fr);
    column-gap:10px;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade{
    min-width:0;
    max-width:100%;
    white-space:normal;
    line-height:1.22;
    overflow-wrap:break-word;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-badges{
    min-width:0;
    padding-left:2px;
  }
}


/* 0.4.78 — regresja wyników szczegółowych: twardy podział oceny i pastylek.
   Celowo na końcu pliku i z !important, aby starsze reguły układu nie mogły tego cofnąć. */
@media(min-width:761px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px 58px minmax(260px,1.35fr) minmax(170px,.70fr) minmax(230px,1fr)!important;
    column-gap:10px!important;
    row-gap:5px!important;
    align-items:center!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{
    grid-column:3!important;
    grid-row:1!important;
    min-width:0!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade{
    grid-column:4!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:100%!important;
    justify-self:stretch!important;
    white-space:normal!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-badges{
    grid-column:5!important;
    grid-row:1!important;
    min-width:0!important;
    padding-left:4px!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:4px!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{
    grid-column:3/-1!important;
    grid-row:2!important;
    margin-top:0!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{
    grid-column:3/-1!important;
    grid-row:3!important;
    margin-top:0!important;
  }
}
@media(min-width:761px) and (max-width:1080px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px 58px minmax(220px,1fr) minmax(150px,.68fr)!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-badges{
    grid-column:3/-1!important;
    grid-row:2!important;
    padding-left:0!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{
    grid-column:3/-1!important;
    grid-row:3!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{
    grid-column:3/-1!important;
    grid-row:4!important;
  }
}


/* 0.4.79 — długie, dwuwyrazowe oceny mogą łamać się na dwie linie bez kolizji z tytułami */
@media(min-width:761px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px 58px minmax(260px,1.45fr) minmax(112px,128px) minmax(230px,1fr)!important;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-grade{
    width:100%!important;
    max-width:128px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    line-height:1.12!important;
  }
}
@media(min-width:761px) and (max-width:1080px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px 58px minmax(220px,1fr) minmax(112px,128px)!important;
  }
}

/* 0.4.94 — sędziowie na profilu psa */
.aa-dog-judges{margin:20px 0 24px;border:1px solid #ded4c4;border-radius:16px;background:#fffdf8;overflow:hidden}
.aa-dog-judges-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #e8dfd2;background:#f7f1e7}
.aa-dog-judges-head h3{margin:2px 0 0;font-size:1.2rem}.aa-dog-judges-head>strong{min-width:38px;height:38px;display:grid;place-items:center;border-radius:999px;background:#5a1f2b;color:#fff;font-size:15px}
.aa-dog-judges-kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7b6e62}
.aa-dog-judge-item{border-bottom:1px solid #eee4d7}.aa-dog-judge-item:last-child{border-bottom:0}.aa-dog-judge-item>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:13px 18px}.aa-dog-judge-item>summary::-webkit-details-marker{display:none}
.aa-dog-judge-name{font-weight:700;color:#231f20}.aa-dog-judge-count{font-size:12px;font-weight:700;padding:5px 9px;border-radius:999px;background:#eee4d8;color:#5a1f2b}
.aa-dog-judge-body{padding:0 18px 16px 42px}.aa-dog-judge-actions{margin:0 0 9px}.aa-dog-judge-actions a{font-size:12px;font-weight:700;color:#5a1f2b;text-decoration:none}.aa-dog-judge-actions a:hover{text-decoration:underline}
.aa-dog-judge-shows{display:grid;gap:7px}.aa-dog-judge-show{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e8dfd2;border-radius:10px;background:#fff}.aa-dog-judge-show-date{font-size:12px;font-weight:700;color:#6e6258}.aa-dog-judge-show-main>strong{display:block;font-size:13px;line-height:1.35}.aa-dog-judge-show-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:4px;font-size:11px;color:#675c53}.aa-dog-judge-show-link{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;text-decoration:none;background:#f1e9df;color:#5a1f2b;font-size:20px;font-weight:700}
@media(max-width:680px){.aa-dog-judge-item>summary{padding:12px 13px}.aa-dog-judge-body{padding:0 13px 13px}.aa-dog-judge-show{grid-template-columns:1fr auto}.aa-dog-judge-show-date{grid-column:1/-1}.aa-dog-judge-show-main{min-width:0}}

/* 0.4.95 — główne sekcje profilu psa domyślnie zwinięte */
.aa-dog-judges>summary,.aa-dog-profile-history-collapsible>summary{list-style:none;cursor:pointer}
.aa-dog-judges>summary::-webkit-details-marker,.aa-dog-profile-history-collapsible>summary::-webkit-details-marker{display:none}
.aa-dog-section-summary-meta{display:flex;align-items:center;gap:10px;margin-left:auto}
.aa-dog-judges-head .aa-dog-section-summary-meta>strong{min-width:38px;height:38px;display:grid;place-items:center;border-radius:999px;background:#5a1f2b;color:#fff;font-size:15px}
.aa-dog-section-chevron{width:10px;height:10px;border-right:2px solid #5a1f2b;border-bottom:2px solid #5a1f2b;transform:rotate(45deg);transition:transform .18s ease;margin:0 5px 5px 2px}
.aa-dog-judges[open]>.aa-dog-judges-head .aa-dog-section-chevron,.aa-dog-profile-history-collapsible[open]>.aa-dog-profile-history-head .aa-dog-section-chevron{transform:rotate(225deg);margin-top:7px;margin-bottom:0}
.aa-dog-profile-history-collapsible>.aa-dog-profile-history-head{cursor:pointer}
/* 0.4.96 — lista wystaw pod sędzią korzysta z centralnego komponentu wystawy. */
.aa-dog-judge-show-context{display:grid;gap:7px}
.aa-dog-judge-show-result{display:flex;flex-wrap:wrap;gap:6px 14px;padding:7px 10px;border:1px solid #eadfce;border-radius:9px;background:#faf6ef;font-size:11px;color:#5f554b}
.aa-dog-judge-show-result span{display:inline-flex;gap:4px}
.aa-dog-judge-show-canonical.aa-show-calendar-wrap{width:100%;max-width:none;margin:0}
.aa-dog-judge-show-canonical .aa-db-show-card{margin:0}
.aa-dog-judge-show-fallback{margin:0}
@media(max-width:680px){.aa-dog-judge-show-result{display:grid;gap:4px}}


/* 0.4.97 — jeden wspólny styl głównych zwijanych belek na profilu psa. */
.aa-dog-profile .aa-dog-judges,
.aa-dog-profile .aa-dog-profile-history-collapsible{
  margin:20px 0 24px;
  border:1px solid #ded4c4;
  border-radius:16px;
  background:#fffdf8;
  overflow:hidden;
}
.aa-dog-profile .aa-dog-section-head{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:72px;
  margin:0!important;
  padding:16px 18px!important;
  border:0!important;
  border-bottom:1px solid transparent!important;
  background:#f7f1e7;
  cursor:pointer;
}
.aa-dog-profile .aa-dog-section-head h3{
  margin:0!important;
  padding:0!important;
  border:0!important;
  font-size:1.18rem;
  line-height:1.25;
  color:#12342d;
}
.aa-dog-profile .aa-dog-section-summary-meta{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
  flex:0 0 auto;
}
.aa-dog-profile .aa-dog-section-count{
  box-sizing:border-box;
  min-width:38px;
  min-height:38px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#5a1f2b;
  color:#fff;
  font-size:13px;
  font-weight:700;
  line-height:1.15;
  white-space:nowrap;
}
.aa-dog-profile .aa-dog-section-count--wide{
  min-width:0;
  max-width:none;
  padding:8px 12px;
}
.aa-dog-profile .aa-dog-section-chevron{
  width:10px;
  height:10px;
  margin:0 5px 5px 1px;
  border-right:2px solid #5a1f2b;
  border-bottom:2px solid #5a1f2b;
  transform:rotate(45deg);
  transition:transform .18s ease;
}
.aa-dog-profile .aa-dog-judges[open]>.aa-dog-section-head,
.aa-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-section-head{
  border-bottom-color:#e8dfd2!important;
}
.aa-dog-profile .aa-dog-judges[open]>.aa-dog-section-head .aa-dog-section-chevron,
.aa-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-section-head .aa-dog-section-chevron{
  transform:rotate(225deg);
  margin-top:7px;
  margin-bottom:0;
}
.aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-tools,
.aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-event-list,
.aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-pagination{
  margin-left:18px;
  margin-right:18px;
}
@media(max-width:680px){
  .aa-dog-profile .aa-dog-section-head{min-height:64px;padding:13px 14px!important;gap:10px}
  .aa-dog-profile .aa-dog-section-head h3{font-size:1.02rem}
  .aa-dog-profile .aa-dog-section-summary-meta{gap:9px}
  .aa-dog-profile .aa-dog-section-count{min-width:34px;min-height:34px;padding:0 9px;font-size:12px}
  .aa-dog-profile .aa-dog-section-count--wide{max-width:150px;white-space:normal;text-align:center;padding:7px 9px}
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-tools,
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-event-list,
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-pagination{margin-left:13px;margin-right:13px}
}


/* 0.4.98 — historia wystaw na każdym profilu psa jest domyślnie zwinięta i używa tej samej belki co Sędziowie. */
.aa-golden-dog-profile .aa-dog-profile-history-collapsible,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible{
  margin-top:18px;
  border:1px solid #e5d9c7;
  border-radius:16px;
  overflow:hidden;
  background:#fffaf2;
}
.aa-golden-dog-profile .aa-dog-section-head,
.aa-watched-dog-profile .aa-dog-section-head{
  display:flex;align-items:center;gap:14px;min-height:72px;margin:0!important;padding:16px 18px!important;
  border:0!important;border-bottom:1px solid transparent!important;background:#f7f1e7;cursor:pointer;
}
.aa-golden-dog-profile .aa-dog-section-head h3,
.aa-watched-dog-profile .aa-dog-section-head h3{margin:0!important;padding:0!important;border:0!important;font-size:1.18rem;line-height:1.25;color:#12342d}
.aa-golden-dog-profile .aa-dog-section-summary-meta,
.aa-watched-dog-profile .aa-dog-section-summary-meta{display:flex;align-items:center;gap:12px;margin-left:auto;flex:0 0 auto}
.aa-golden-dog-profile .aa-dog-section-count,
.aa-watched-dog-profile .aa-dog-section-count{box-sizing:border-box;min-width:38px;min-height:38px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#5a1f2b;color:#fff;font-size:13px;font-weight:700;line-height:1.15;white-space:nowrap}
.aa-golden-dog-profile .aa-dog-section-count--wide,
.aa-watched-dog-profile .aa-dog-section-count--wide{min-width:0;max-width:none;padding:8px 12px}
.aa-golden-dog-profile .aa-dog-section-chevron,
.aa-watched-dog-profile .aa-dog-section-chevron{width:10px;height:10px;margin:0 5px 5px 1px;border-right:2px solid #5a1f2b;border-bottom:2px solid #5a1f2b;transform:rotate(45deg);transition:transform .18s ease}
.aa-golden-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-section-head,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-section-head{border-bottom-color:#e8dfd2!important}
.aa-golden-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-section-head .aa-dog-section-chevron,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-section-head .aa-dog-section-chevron{transform:rotate(225deg);margin-top:7px;margin-bottom:0}
.aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-tools,
.aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-event-list,
.aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-pagination,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-tools,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-event-list,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-pagination{margin-left:18px;margin-right:18px}

/* 0.4.102 — dynamiczny status zapisów i obserwowanie wystawy. */
.aa-show-entry-deadline.is-calm{background:#f7eee4;border-color:#b99b72;color:#3b171d}
.aa-show-entry-deadline.is-soon{background:#fff1bf;border-color:#b88a16;color:#5d4500}
.aa-show-entry-deadline.is-warning{background:#ffe0b7;border-color:#c56a1a;color:#71350b}
.aa-show-entry-deadline.is-urgent{background:#f4d3d8;border-color:#8b263d;color:#68192d}
.aa-show-entry-deadline.is-today{background:#7c2637;border-color:#5e1626;color:#fff8ee}
.aa-show-entry-deadline.is-expired{background:#efede7;border-color:#aaa49a;color:#625e57}
.aa-db-show-card__actions .aa-show-watch-action{border-color:#7c2637;background:#fff8ee;color:#5e1626;font-weight:800}
.aa-db-show-card__actions .aa-show-watch-action:hover,.aa-db-show-card__actions .aa-show-watch-action:focus{background:#7c2637;color:#fff8ee;border-color:#7c2637}
.aa-db-show-card__actions .aa-show-watch-action.is-watched{background:#7c2637;color:#fff8ee;border-color:#7c2637}

/* 0.4.103 — status zapisów i szybkie akcje w górnej belce wspólnego komponentu wystawy. */
.aa-db-show-card__summary{grid-template-columns:150px minmax(0,1fr) auto auto 28px}
.aa-db-show-card__summary-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.aa-db-show-card__summary-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:6px 9px;border:1px solid #6f1831;border-radius:8px;background:#fffaf0;color:#6f1831;text-decoration:none;font-size:.67rem;font-weight:800;line-height:1.05;white-space:nowrap;cursor:pointer}
.aa-db-show-card__summary-actions a:hover,.aa-db-show-card__summary-actions a:focus{background:#6f1831;color:#fff7e8;border-color:#6f1831}
.aa-db-show-card__summary-actions .aa-show-watch-action.is-watched{background:#6f1831;color:#fff7e8;border-color:#6f1831}
.aa-db-show-badge--status.is-calm{background:#f2e5d4;color:#553b29}
.aa-db-show-badge--status.is-soon{background:#f6e5a8;color:#5d4500}
.aa-db-show-badge--status.is-warning{background:#f2c997;color:#71350b}
.aa-db-show-badge--status.is-urgent{background:#ead0d6;color:#68192d}
.aa-db-show-badge--status.is-today{background:#6f1831;color:#fff7e8}
.aa-db-show-badge--status.is-expired{background:#e4e1da;color:#625e57}
@media(max-width:980px){
  .aa-db-show-card__summary{grid-template-columns:130px minmax(0,1fr) auto 28px}
  .aa-db-show-card__summary-actions{grid-column:2/4;justify-content:flex-start}
}
@media(max-width:760px){
  .aa-db-show-card__summary{grid-template-columns:minmax(0,1fr) 22px}
  .aa-db-show-card__summary-actions{grid-column:1/2;grid-row:4;justify-content:flex-start}
  .aa-db-show-card__chevron{grid-row:1/5}
}


/* 0.4.104 — ten sam dynamiczny kolor statusu zapisów także w Podsumowaniu wystawy. */
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status{border:1px solid transparent}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-calm{background:#f2e5d4;border-color:#d6bd9d}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-calm dt,.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-calm dd{color:#553b29}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-soon{background:#f6e5a8;border-color:#cfad49}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-soon dt,.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-soon dd{color:#5d4500}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-warning{background:#f2c997;border-color:#d48741}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-warning dt,.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-warning dd{color:#71350b}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-urgent{background:#ead0d6;border-color:#a75367}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-urgent dt,.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-urgent dd{color:#68192d}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-today{background:#6f1831;border-color:#581125}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-today dt,.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-today dd{color:#fff7e8}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-expired{background:#e4e1da;border-color:#b8b1a6}
.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-expired dt,.aa-db-show-card__overview dl>div.aa-db-show-card__overview-status.is-expired dd{color:#625e57}
/* Aktywny przycisk obserwowania: wymuszony kontrast także przy globalnych stylach linków motywu. */
.aa-db-show-card__summary-actions .aa-show-watch-action.is-watched,
.aa-db-show-card__summary-actions .aa-show-watch-action.is-watched:visited,
.aa-db-show-card__summary-actions .aa-show-watch-action.is-watched:hover,
.aa-db-show-card__summary-actions .aa-show-watch-action.is-watched:focus{background:#6f1831!important;color:#fff7e8!important;border-color:#6f1831!important}
\n\n/* 0.4.105 — akcja zgłoszenia w górnej belce wystawy. */
.aa-db-show-card__summary-actions .aa-show-entry-action{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 11px;
  border:1px solid #7c2637;border-radius:9px;background:#fff8ee;color:#5e1626!important;
  font-weight:800;text-decoration:none;white-space:nowrap;
}
.aa-db-show-card__summary-actions .aa-show-entry-action:hover,
.aa-db-show-card__summary-actions .aa-show-entry-action:focus{
  background:#7c2637;color:#fff8ee!important;border-color:#7c2637;text-decoration:none;
}


/* 0.4.106 — jednoznaczne, kontrastowe stany akcji w górnej belce wystawy.
   Reguły są celowo silniejsze od globalnych stylów linków motywu WordPress. */
.aa-db-show-card__summary-actions a.aa-show-watch-action,
.aa-db-show-card__summary-actions a.aa-show-watch-action:link,
.aa-db-show-card__summary-actions a.aa-show-watch-action:visited,
.aa-db-show-card__summary-actions a.aa-show-entry-action,
.aa-db-show-card__summary-actions a.aa-show-entry-action:link,
.aa-db-show-card__summary-actions a.aa-show-entry-action:visited,
.aa-db-show-card__summary-actions a.aa-show-google-action,
.aa-db-show-card__summary-actions a.aa-show-google-action:link,
.aa-db-show-card__summary-actions a.aa-show-google-action:visited{
  min-height:34px!important;
  padding:6px 11px!important;
  border:1px solid #6f1831!important;
  border-radius:9px!important;
  background:#fffaf0!important;
  color:#6f1831!important;
  box-shadow:none!important;
  text-decoration:none!important;
  text-shadow:none!important;
  font-weight:800!important;
}
.aa-db-show-card__summary-actions a.aa-show-watch-action:hover,
.aa-db-show-card__summary-actions a.aa-show-watch-action:focus,
.aa-db-show-card__summary-actions a.aa-show-watch-action:focus-visible,
.aa-db-show-card__summary-actions a.aa-show-entry-action:hover,
.aa-db-show-card__summary-actions a.aa-show-entry-action:focus,
.aa-db-show-card__summary-actions a.aa-show-entry-action:focus-visible,
.aa-db-show-card__summary-actions a.aa-show-google-action:hover,
.aa-db-show-card__summary-actions a.aa-show-google-action:focus,
.aa-db-show-card__summary-actions a.aa-show-google-action:focus-visible{
  background:#6f1831!important;
  color:#fff7e8!important;
  border-color:#6f1831!important;
  box-shadow:0 0 0 2px rgba(111,24,49,.16)!important;
  text-decoration:none!important;
  text-shadow:none!important;
}
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched,
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched:link,
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched:visited,
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched:hover,
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched:focus,
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched:focus-visible,
.aa-db-show-card__summary-actions a.aa-show-watch-action.is-watched:active{
  background:#6f1831!important;
  color:#fff7e8!important;
  border-color:#6f1831!important;
  text-decoration:none!important;
  text-shadow:none!important;
}
.aa-db-show-card__summary-actions a.aa-show-watch-action:active,
.aa-db-show-card__summary-actions a.aa-show-entry-action:active,
.aa-db-show-card__summary-actions a.aa-show-google-action:active{
  background:#581125!important;
  color:#fff7e8!important;
  border-color:#581125!important;
}

/* 0.4.107 — encje w wystawie są klikalne, ale zachowują wygląd tekstu danych. */
.aa-show-entity-link{color:inherit;text-decoration:underline;text-decoration-color:rgba(111,28,43,.35);text-underline-offset:2px;text-decoration-thickness:1px;font-weight:inherit;transition:color .15s ease,text-decoration-color .15s ease}
.aa-show-entity-link:hover,.aa-show-entity-link:focus{color:#6f1c2b;text-decoration-color:#6f1c2b;outline:none}
.aa-show-entity-link:focus-visible{outline:2px solid #6f1c2b;outline-offset:2px;border-radius:2px}
\n\n/* 0.4.109 — historia wystaw: bez ucinania przycisku reset na desktopie. */\n@media (min-width:981px){\n  .aa-dog-profile-history-tools.aa-profile-history-tools{\n    grid-template-columns:minmax(240px,1fr) minmax(120px,140px) minmax(180px,220px) minmax(96px,110px) 124px!important;\n    width:100%!important;\n    max-width:100%!important;\n    overflow:visible!important;\n  }\n  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{\n    width:124px!important;\n    max-width:124px!important;\n    min-width:124px!important;\n  }\n  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{\n    width:124px!important;\n    min-width:124px!important;\n    padding-inline:10px!important;\n  }\n}\n\n\n/* 0.4.110 — historia wystaw: panel filtrów nie może wychodzić poza prawą krawędź.\n   width:auto jest celowy: 100% + padding/border powodowało overflow w części motywów. */\n.aa-dog-profile-history-tools.aa-profile-history-tools{\n  width:auto!important;\n  max-width:100%!important;\n  min-width:0!important;\n  margin-left:0!important;\n  margin-right:0!important;\n  box-sizing:border-box!important;\n  grid-template-columns:minmax(0,2.2fr) minmax(100px,.65fr) minmax(160px,1fr) minmax(90px,.55fr) minmax(120px,.72fr)!important;\n}\n.aa-dog-profile-history-tools.aa-profile-history-tools>*{min-width:0!important;box-sizing:border-box!important}\n.aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{\n  min-width:120px!important;\n  max-width:100%!important;\n}\n.aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{\n  min-width:0!important;\n  max-width:100%!important;\n  overflow:visible!important;\n}\n@media(max-width:980px) and (min-width:721px){\n  .aa-dog-profile-history-tools.aa-profile-history-tools{\n    grid-template-columns:minmax(100px,.65fr) minmax(160px,1fr) minmax(90px,.55fr) minmax(120px,.72fr)!important;\n    grid-template-areas:'search search search search' 'year type size reset'!important;\n  }\n}\n@media(max-width:720px){\n  .aa-dog-profile-history-tools.aa-profile-history-tools{\n    width:auto!important;\n    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;\n    grid-template-areas:'search search' 'year type' 'size reset'!important;\n  }\n  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{min-width:0!important}\n}\n
/* 0.4.111 — historia wystaw: reset naprawdę mieści się w panelu.
   Poprzedni desktopowy grid rezerwował 150px na reset po doliczeniu paddingu panelu,
   przez co przy niektórych szerokościach ostatnia kolumna wychodziła pod overflow rodzica.
   Tu kolumny liczymy wyłącznie w dostępnej szerokości content-box i pozwalamy wyszukiwarce
   oddać miejsce jako pierwszej. */
@media (min-width:1121px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    width:auto!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr) 150px 220px 110px 130px!important;
    padding:11px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{
    min-width:0!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    width:130px!important;
    max-width:130px!important;
    min-width:0!important;
    justify-self:stretch!important;
    margin:0!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding-inline:10px!important;
  }
}


/* 0.4.112 — historia wystaw: definitywne odsunięcie „Wyczyść” od prawej krawędzi.
   W poprzednich wersjach zmienialiśmy szerokości kolumn, ale ostatnia kolumna nadal
   kończyła się dokładnie przy granicy komponentu. Tutaj wymuszamy desktopowy grid,
   dodajemy osobny wewnętrzny prawy oddech i zmniejszamy wyłącznie kolumnę resetu. */
@media (min-width:721px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    display:grid!important;
    grid-template-areas:none!important;
    grid-template-columns:minmax(0,1fr) 150px 220px 110px 112px!important;
    grid-template-rows:auto!important;
    column-gap:10px!important;
    row-gap:0!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    padding:11px 24px 11px 11px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1!important;grid-row:1!important;min-width:0!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:2!important;grid-row:1!important;min-width:0!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:3!important;grid-row:1!important;min-width:0!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:4!important;grid-row:1!important;min-width:0!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
    grid-column:5!important;grid-row:1!important;
    width:112px!important;min-width:112px!important;max-width:112px!important;
    justify-self:stretch!important;margin:0!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding-inline:8px!important;box-sizing:border-box!important;
  }
}
@media (max-width:980px) and (min-width:721px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:130px minmax(180px,1fr) 100px 112px!important;
    grid-template-rows:auto auto!important;
    row-gap:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1/-1!important;grid-row:1!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-year{grid-column:1!important;grid-row:2!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-type{grid-column:2!important;grid-row:2!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-size{grid-column:3!important;grid-row:2!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{grid-column:4!important;grid-row:2!important}
}

/* 0.4.113 — mobilny porządek profilu psa: krótkie belki, lżejsza lista sędziów i zwinięta diagnostyka admina. */
.aa-dog-section-title-mobile{display:none}
.aa-db-show-card__source-diag{margin-top:10px;border-top:1px solid #e5ddd1;padding-top:10px}
.aa-db-show-card__source-diag>summary{list-style:none;cursor:pointer;font-weight:800;color:#283f37;display:flex;align-items:center;gap:8px;padding:8px 0}
.aa-db-show-card__source-diag>summary::-webkit-details-marker{display:none}
.aa-db-show-card__source-diag>summary:before{content:'›';display:inline-block;color:#7a2033;font-size:1.1em;font-weight:900;transition:transform .16s ease}
.aa-db-show-card__source-diag[open]>summary:before{transform:rotate(90deg)}
.aa-db-show-card__source-diag>small{display:block;padding:2px 0 10px;line-height:1.55}

@media(max-width:680px){
  .aa-dog-section-title-desktop{display:none!important}
  .aa-dog-section-title-mobile{display:inline!important}
  .aa-dog-profile .aa-dog-section-head,
  .aa-golden-dog-profile .aa-dog-section-head,
  .aa-watched-dog-profile .aa-dog-section-head{
    min-height:66px!important;
    padding:13px 16px!important;
    gap:10px!important;
  }
  .aa-dog-profile .aa-dog-section-head h3,
  .aa-golden-dog-profile .aa-dog-section-head h3,
  .aa-watched-dog-profile .aa-dog-section-head h3{
    min-width:0!important;
    font-size:1.12rem!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  .aa-dog-profile .aa-dog-section-summary-meta,
  .aa-golden-dog-profile .aa-dog-section-summary-meta,
  .aa-watched-dog-profile .aa-dog-section-summary-meta{gap:10px!important;min-width:0!important}
  .aa-dog-profile .aa-dog-section-count--wide,
  .aa-golden-dog-profile .aa-dog-section-count--wide,
  .aa-watched-dog-profile .aa-dog-section-count--wide{
    min-width:auto!important;
    max-width:112px!important;
    min-height:38px!important;
    padding:0 12px!important;
    white-space:nowrap!important;
    font-size:.78rem!important;
    line-height:1!important;
    text-align:center!important;
  }
  .aa-dog-judge-item>summary{
    grid-template-columns:16px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:12px 14px!important;
  }
  .aa-dog-judge-name{
    min-width:0!important;
    font-size:1rem!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
  }
  .aa-dog-judge-count{
    font-size:.72rem!important;
    padding:6px 9px!important;
    white-space:nowrap!important;
  }
  .aa-dog-judge-body{padding:0 12px 12px 38px!important}
  .aa-db-show-card__source-diag{margin-top:8px!important;padding-top:6px!important}
  .aa-db-show-card__source-diag>summary{font-size:.9rem!important;padding:8px 0!important}
  .aa-db-show-card__source-diag>small{font-size:.76rem!important;line-height:1.45!important;overflow-wrap:anywhere!important}
}


/* 0.4.115 — paginacja listy sędziów na profilu psa. */
.aa-dog-judges-tools{display:flex;justify-content:flex-end;padding:12px 18px 0}
.aa-dog-judges-tools label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#5d4b42}
.aa-dog-judges-tools label>span{text-transform:uppercase;letter-spacing:.04em}
.aa-dog-judges-tools select{height:38px;min-width:88px;padding:0 30px 0 10px;border:1px solid #cdbb8b;border-radius:9px;background:#fffdf8;color:#243b2e;font:inherit;font-weight:700;box-sizing:border-box}
.aa-dog-judges-pagination{margin:14px 18px 18px}
.aa-dog-judge-item[hidden]{display:none!important}
@media (max-width:680px){
  .aa-dog-judges-tools{padding:10px 14px 0}
  .aa-dog-judges-tools label{width:100%;justify-content:flex-end}
  .aa-dog-judges-pagination{margin:12px 14px 16px}
}


/* 0.4.116 — wspólny licznik w nagłówkach Sędziowie / Historia wystaw. */
.aa-dog-profile .aa-dog-profile-history-count,
.aa-golden-dog-profile .aa-dog-profile-history-count,
.aa-watched-dog-profile .aa-dog-profile-history-count{
  box-sizing:border-box!important;
  min-width:38px!important;
  width:auto!important;
  min-height:38px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#5a1f2b!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}
@media(max-width:680px){
  .aa-dog-profile .aa-dog-profile-history-count,
  .aa-golden-dog-profile .aa-dog-profile-history-count,
  .aa-watched-dog-profile .aa-dog-profile-history-count{
    min-width:34px!important;
    min-height:34px!important;
    padding:0 9px!important;
    font-size:12px!important;
  }
}


/* 0.4.117 — mobile: Historia wystaw używa dokładnie tego samego jednorzędowego nagłówka co Sędziowie. */
@media(max-width:680px){
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head,
  .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head,
  .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head{
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    min-height:66px!important;
    margin:0!important;
    padding:13px 16px!important;
    padding-bottom:13px!important;
    border:0!important;
    border-bottom:1px solid transparent!important;
  }
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head h3,
  .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head h3,
  .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head h3{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    font-size:1.12rem!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-summary-meta,
  .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-summary-meta,
  .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-summary-meta{
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    min-width:auto!important;
    margin:0 0 0 auto!important;
  }
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-profile-history-count,
  .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-profile-history-count,
  .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-profile-history-count{
    display:inline-flex!important;
    flex:0 0 auto!important;
    min-width:34px!important;
    width:auto!important;
    min-height:34px!important;
    margin:0!important;
    padding:0 9px!important;
    text-align:center!important;
    line-height:1!important;
  }
  .aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-chevron,
  .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-chevron,
  .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-chevron{
    flex:0 0 10px!important;
    margin:0 5px 5px 1px!important;
  }
  .aa-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-profile-history-head,
  .aa-golden-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-profile-history-head,
  .aa-watched-dog-profile .aa-dog-profile-history-collapsible[open]>.aa-dog-profile-history-head{
    border-bottom-color:#e8dfd2!important;
  }
}

/* 0.4.130 — osobiste obserwowane */
.aa-profile-watch-bar{display:flex;justify-content:flex-end;align-items:center;margin:12px 0 18px;gap:10px}
.aa-entity-watch-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid #6f1831;border-radius:10px;background:#fffaf2;color:#6f1831!important;text-decoration:none!important;font-weight:700;font-size:13px;line-height:1.1;transition:background .18s ease,color .18s ease,border-color .18s ease}
.aa-entity-watch-action:hover,.aa-entity-watch-action:focus{background:#6f1831;color:#fff7e8!important;border-color:#6f1831}
.aa-entity-watch-action.is-watched,.aa-entity-watch-action.is-watched:hover,.aa-entity-watch-action.is-watched:focus,.aa-entity-watch-action.is-watched:visited{background:#6f1831;color:#fff7e8!important;border-color:#6f1831}
.aa-my-watched-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.aa-my-watched-group{background:#fffaf2;border:1px solid #dfd1bc;border-radius:18px;padding:18px;min-width:0}
.aa-my-watched-group h3{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#173d36}
.aa-my-watched-group h3 span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 9px;border-radius:999px;background:#6f1831;color:#fff7e8;font:700 13px/1 inherit}
.aa-my-watched-list{display:grid;gap:9px}.aa-my-watched-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #eadfcd}.aa-my-watched-row:first-child{border-top:0}.aa-my-watched-row>a:first-child{min-width:0;display:flex;flex-direction:column;color:#173d36;text-decoration:none}.aa-my-watched-row>a:first-child strong{overflow-wrap:anywhere}.aa-my-watched-row>a:first-child small{color:#756b61;margin-top:2px}
@media(max-width:760px){.aa-profile-watch-bar{justify-content:stretch}.aa-profile-watch-bar .aa-entity-watch-action{width:100%}.aa-my-watched-grid{grid-template-columns:1fr}.aa-my-watched-row{align-items:flex-start;flex-direction:column}.aa-my-watched-row .aa-entity-watch-action{width:100%}}


/* 0.4.132 — Moje obserwowane: lżejszy wygląd i kompaktowy mobile */
.aa-my-watched .aa-my-watched-grid{
  gap:16px;
}
.aa-my-watched .aa-my-watched-group{
  background:#fbf7ef;
  border-color:#ded3c2;
  box-shadow:none;
  padding:16px 18px;
}
.aa-my-watched .aa-my-watched-group h3{
  margin:0 0 8px!important;
  color:#173d36!important;
  font-size:1.55rem!important;
  line-height:1.15!important;
  font-weight:600!important;
}
.aa-my-watched .aa-my-watched-group h3 span{
  min-width:30px!important;
  height:30px!important;
  padding:0 9px!important;
  border:1px solid #d8c8b3!important;
  background:#efe6d8!important;
  color:#6f1831!important;
  font-size:13px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
.aa-my-watched .aa-my-watched-row{
  gap:10px;
  padding:10px 0;
  border-top-color:#e7dccb;
}
.aa-my-watched .aa-my-watched-row>a:first-child strong{
  color:#12684f!important;
  font-size:15px;
  line-height:1.35;
}
.aa-my-watched .aa-my-watched-row>a:first-child small{
  color:#806e5d!important;
  font-size:12px;
}
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action:link,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action:visited{
  min-height:36px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  border:1px solid #6f1831!important;
  background:#fffaf2!important;
  color:#6f1831!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:none!important;
}
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action:hover,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action:focus,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action:focus-visible{
  background:#6f1831!important;
  color:#fff7e8!important;
  border-color:#6f1831!important;
}
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action.is-watched,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action.is-watched:link,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action.is-watched:visited,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action.is-watched:hover,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action.is-watched:focus,
.aa-my-watched .aa-my-watched-row a.aa-entity-watch-action.is-watched:active{
  background:#6f1831!important;
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
  border-color:#6f1831!important;
}

@media(max-width:760px){
  .aa-my-watched .aa-golden-db-hero{
    padding:18px 16px!important;
    border-radius:16px!important;
  }
  .aa-my-watched .aa-golden-db-hero h2{
    font-size:2rem!important;
    line-height:1.02!important;
  }
  .aa-my-watched .aa-golden-db-hero p{
    font-size:13px!important;
    line-height:1.45!important;
  }
  .aa-my-watched .aa-golden-db-period{
    padding:9px 12px!important;
    min-width:0!important;
  }
  .aa-my-watched .aa-my-watched-grid{
    gap:12px!important;
    margin-top:14px!important;
  }
  .aa-my-watched .aa-my-watched-group{
    border-radius:15px!important;
    padding:14px 16px!important;
  }
  .aa-my-watched .aa-my-watched-group h3{
    font-size:1.35rem!important;
    margin-bottom:6px!important;
  }
  .aa-my-watched .aa-my-watched-group h3 span{
    min-width:27px!important;
    height:27px!important;
    padding:0 8px!important;
    font-size:12px!important;
  }
  .aa-my-watched .aa-my-watched-group>p{
    margin:6px 0 2px!important;
    font-size:13px!important;
    color:#665d53!important;
  }
  .aa-my-watched .aa-my-watched-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px 10px!important;
    padding:9px 0!important;
  }
  .aa-my-watched .aa-my-watched-row>a:first-child{
    min-width:0!important;
  }
  .aa-my-watched .aa-my-watched-row>a:first-child strong{
    font-size:13px!important;
    line-height:1.3!important;
  }
  .aa-my-watched .aa-my-watched-row>a:first-child small{
    font-size:11px!important;
  }
  .aa-my-watched .aa-my-watched-row .aa-entity-watch-action{
    width:auto!important;
    min-width:0!important;
    min-height:34px!important;
    padding:0 11px!important;
    font-size:11px!important;
    white-space:nowrap!important;
    justify-self:end!important;
  }
}

@media(max-width:390px){
  .aa-my-watched .aa-my-watched-group{padding:13px 14px!important}
  .aa-my-watched .aa-my-watched-row{grid-template-columns:1fr!important}
  .aa-my-watched .aa-my-watched-row .aa-entity-watch-action{justify-self:start!important}
}


/* 0.4.133 — bordowe przyciski zawsze z jasnym tekstem */
.aa-entity-watch-action.is-watched,
.aa-entity-watch-action.is-watched:link,
.aa-entity-watch-action.is-watched:visited,
.aa-entity-watch-action.is-watched:hover,
.aa-entity-watch-action.is-watched:focus,
.aa-entity-watch-action.is-watched:focus-visible,
.aa-entity-watch-action.is-watched:active,
.aa-show-watch-action.is-watched,
.aa-show-watch-action.is-watched:link,
.aa-show-watch-action.is-watched:visited,
.aa-show-watch-action.is-watched:hover,
.aa-show-watch-action.is-watched:focus,
.aa-show-watch-action.is-watched:focus-visible,
.aa-show-watch-action.is-watched:active {
  background:#6f1831!important;
  border-color:#6f1831!important;
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
}
.aa-entity-watch-action.is-watched *,
.aa-show-watch-action.is-watched * {
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
}


/* 0.4.135 — bezpieczna reguła kontrastu aktywnej zielonej nawigacji */
.aa-public-module-nav-link.is-active,
.aa-public-module-nav-link.is-active:link,
.aa-public-module-nav-link.is-active:visited,
.aa-public-module-nav-link.is-active:hover,
.aa-public-module-nav-link.is-active:focus,
.aa-public-module-nav-link.is-active:active,
.aa-public-module-nav-link[aria-current="page"],
.aa-public-module-nav-link[aria-current="page"]:visited,
.aa-public-module-nav-link[aria-current="page"]:hover,
.aa-public-module-nav-link[aria-current="page"]:focus,
.aa-public-module-nav-link[aria-current="page"]:active {
  background:#556543 !important;
  border-color:#556543 !important;
  color:#fff7e8 !important;
  -webkit-text-fill-color:#fff7e8 !important;
}

/* 0.4.136 — obserwacja: stan oddzielony od akcji usuwania */
.aa-watch-state{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid #d8c8b3;
  border-radius:999px;
  background:#efe6d8;
  color:#5b4d42!important;
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
/* 0.4.140 — akcja usuwania obserwacji zawsze jako czytelna pastylka, także na belce wystawy */
.aa-watch-remove-action,
.aa-watch-remove-action:link,
.aa-watch-remove-action:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:0 11px!important;
  border:1px solid #c99aa6!important;
  border-radius:999px!important;
  background:#fbf2f1!important;
  color:#7a263e!important;
  -webkit-text-fill-color:#7a263e!important;
  text-decoration:none!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.aa-watch-remove-action::before{
  content:'×';
  display:inline-block;
  margin-right:5px;
  font-size:14px;
  line-height:1;
  font-weight:800;
}
.aa-watch-remove-action:hover,
.aa-watch-remove-action:focus,
.aa-watch-remove-action:focus-visible{
  border-color:#7a263e!important;
  background:#f3e1e3!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
  text-decoration:none!important;
  outline:none!important;
}
.aa-my-watched-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;}
.aa-db-show-card__summary-actions .aa-watch-state,
.aa-db-show-card__actions .aa-watch-state{min-height:36px}
@media(max-width:760px){
  .aa-my-watched-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;}
  .aa-my-watched-row .aa-watch-state{justify-self:end}
  .aa-my-watched-row .aa-watch-remove-action{grid-column:2;justify-self:end;min-height:30px;padding:0 4px;font-size:10px}
}


/* 0.4.137 — Moje obserwowane: uporządkowane akcje i lżejsza hierarchia */
.aa-my-watched .aa-my-watched-group{
  padding:17px 18px!important;
}
.aa-my-watched .aa-my-watched-group h3{
  padding-bottom:10px!important;
  margin-bottom:0!important;
  border-bottom:1px solid #e7dccb!important;
}
.aa-my-watched .aa-my-watched-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  column-gap:16px!important;
  row-gap:5px!important;
  align-items:center!important;
  padding:12px 0!important;
}
.aa-my-watched .aa-my-watched-row>a:first-child{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  padding-right:6px!important;
}
.aa-my-watched .aa-my-watched-row .aa-watch-state{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  min-height:30px!important;
  padding:0 11px!important;
  background:#f4ede2!important;
  border-color:#d8c8b3!important;
  color:#5f5349!important;
  -webkit-text-fill-color:#5f5349!important;
  font-size:11px!important;
  box-shadow:none!important;
}
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:link,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:visited{
  grid-column:2!important;
  grid-row:2!important;
  justify-self:end!important;
  min-height:24px!important;
  padding:0 2px!important;
  color:#7a263e!important;
  -webkit-text-fill-color:#7a263e!important;
  text-decoration:none!important;
  font-size:10px!important;
  font-weight:700!important;
  opacity:.82;
}
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action::before{
  content:'×';
  display:inline-block;
  margin-right:4px;
  font-size:14px;
  line-height:1;
}
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:hover,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:focus,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:focus-visible{
  background:transparent!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
  text-decoration:underline!important;
  opacity:1;
}
.aa-my-watched .aa-my-watched-group>p{
  margin:12px 0 4px!important;
  color:#756b61!important;
}
@media(max-width:760px){
  .aa-my-watched .aa-my-watched-group{padding:14px 15px!important}
  .aa-my-watched .aa-my-watched-group h3{padding-bottom:8px!important}
  .aa-my-watched .aa-my-watched-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    row-gap:4px!important;
    padding:10px 0!important;
  }
  .aa-my-watched .aa-my-watched-row>a:first-child{
    grid-column:1!important;
    grid-row:1 / span 2!important;
  }
  .aa-my-watched .aa-my-watched-row .aa-watch-state{
    grid-column:2!important;
    grid-row:1!important;
    min-height:28px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }
  .aa-my-watched .aa-my-watched-row .aa-watch-remove-action{
    grid-column:2!important;
    grid-row:2!important;
    min-height:22px!important;
    font-size:9px!important;
  }
}
@media(max-width:390px){
  .aa-my-watched .aa-my-watched-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .aa-my-watched .aa-my-watched-row .aa-watch-state,
  .aa-my-watched .aa-my-watched-row .aa-watch-remove-action{
    justify-self:end!important;
  }
}


/* 0.4.138 — Moje obserwowane: wyraźna pastylka do usuwania obserwacji */
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:link,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:visited{
  grid-column:2!important;
  grid-row:2!important;
  justify-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  border:1px solid #c99aa6!important;
  border-radius:999px!important;
  background:#fbf2f1!important;
  color:#7a263e!important;
  -webkit-text-fill-color:#7a263e!important;
  text-decoration:none!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  opacity:1!important;
  box-shadow:none!important;
}
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action::before{
  content:'×';
  display:inline-block;
  margin-right:5px;
  font-size:14px;
  line-height:1;
  font-weight:800;
}
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:hover,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:focus,
.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:focus-visible{
  border-color:#7a263e!important;
  background:#f3e1e3!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
  text-decoration:none!important;
  outline:none!important;
}
@media(max-width:760px){
  .aa-my-watched .aa-my-watched-row .aa-watch-remove-action{
    min-height:28px!important;
    padding:0 9px!important;
    font-size:9px!important;
  }
}

/* 0.4.143 — Lokalizacja i organizator jako domyślnie zwinięte sekcje */
.aa-db-show-card__meta-collapses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.aa-db-show-card__meta-collapse{min-width:0;border:1px solid rgba(91,109,70,.16);border-radius:10px;background:#f3ede2;overflow:hidden}.aa-db-show-card__meta-collapse>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:8px 10px;cursor:pointer;list-style:none;color:#173d36;font-size:.72rem;font-weight:800;text-transform:uppercase}.aa-db-show-card__meta-collapse>summary::-webkit-details-marker{display:none}.aa-db-show-card__meta-collapse>summary i{position:relative;width:20px;height:20px;min-width:20px;border-radius:999px;background:#5b6d46}.aa-db-show-card__meta-collapse>summary i:before,.aa-db-show-card__meta-collapse>summary i:after{content:"";position:absolute;left:50%;top:50%;width:9px;height:2px;border-radius:2px;background:#fff2e0;transform:translate(-50%,-50%)}.aa-db-show-card__meta-collapse>summary i:after{transform:translate(-50%,-50%) rotate(90deg);transition:opacity .18s ease}.aa-db-show-card__meta-collapse[open]>summary i:after{opacity:0}.aa-db-show-card__meta-collapse-body{padding:0 10px 11px;color:#173d36;font-size:.78rem;font-weight:700;line-height:1.55;overflow-wrap:anywhere}.aa-db-show-card__meta-collapse[open]>summary{border-bottom:1px solid rgba(91,109,70,.12)}
@media(max-width:760px){.aa-db-show-card__meta-collapses{grid-template-columns:1fr;gap:7px}.aa-db-show-card__meta-collapse>summary{min-height:44px;font-size:.72rem}.aa-db-show-card__meta-collapse-body{font-size:.78rem}}
\n\n/* 0.4.144 — Moje obserwowane: kompaktowe usuwanie + czytelne wejście do szczegółów */\n.aa-my-watched .aa-my-watched-row .aa-my-watched-open-link{\n  text-decoration:none!important;\n}\n.aa-my-watched .aa-my-watched-row .aa-my-watched-open-cue{\n  display:inline-flex!important;\n  align-items:center!important;\n  gap:5px!important;\n  margin-top:7px!important;\n  color:#315d4b!important;\n  -webkit-text-fill-color:#315d4b!important;\n  font-size:10px!important;\n  font-weight:800!important;\n  line-height:1.2!important;\n  text-decoration:underline!important;\n  text-underline-offset:3px!important;\n}\n.aa-my-watched .aa-my-watched-row .aa-my-watched-open-link:hover .aa-my-watched-open-cue,\n.aa-my-watched .aa-my-watched-row .aa-my-watched-open-link:focus .aa-my-watched-open-cue{\n  color:#173d36!important;\n  -webkit-text-fill-color:#173d36!important;\n}\n.aa-my-watched .aa-my-watched-row .aa-watch-remove-action,\n.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:link,\n.aa-my-watched .aa-my-watched-row .aa-watch-remove-action:visited{\n  min-height:24px!important;\n  padding:0 8px!important;\n  font-size:9px!important;\n}\n.aa-my-watched .aa-my-watched-row .aa-watch-remove-action{\n  font-size:0!important;\n}\n.aa-my-watched .aa-my-watched-row .aa-watch-remove-action::before{\n  content:'× Usuń'!important;\n  margin-right:0!important;\n  font-size:9px!important;\n  font-weight:800!important;\n  line-height:1!important;\n}\n@media(max-width:760px){\n  .aa-my-watched .aa-my-watched-row{\n    grid-template-columns:minmax(0,1fr) auto!important;\n    column-gap:8px!important;\n  }\n  .aa-my-watched .aa-my-watched-row .aa-my-watched-open-cue{\n    margin-top:6px!important;\n    font-size:10px!important;\n  }\n  .aa-my-watched .aa-my-watched-row .aa-watch-state{\n    min-height:26px!important;\n    padding:0 8px!important;\n    font-size:9px!important;\n  }\n  .aa-my-watched .aa-my-watched-row .aa-watch-remove-action{\n    min-height:24px!important;\n    padding:0 7px!important;\n  }\n  .aa-my-watched .aa-my-watched-row .aa-watch-remove-action::before{\n    font-size:9px!important;\n  }\n}\n
/* 0.4.145 — Moje obserwowane: zwijane sekcje + wspólny komponent wystawy */
.aa-my-watched-accordion-list{
  display:grid;
  gap:14px;
  margin-top:18px;
}
.aa-my-watched--accordion .aa-my-watched-group{
  border:1px solid #ded3c1;
  border-radius:18px;
  background:#fffaf2;
  overflow:hidden;
}
.aa-my-watched--accordion .aa-my-watched-group__summary{
  list-style:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 18px;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:0 18px;
  cursor:pointer;
  color:#173d36;
}
.aa-my-watched--accordion .aa-my-watched-group__summary::-webkit-details-marker{display:none}
.aa-my-watched--accordion .aa-my-watched-group__summary>span{
  font-family:var(--aa-head,"Marcellus",Georgia,serif);
  font-size:1.35rem;
  font-weight:700;
}
.aa-my-watched--accordion .aa-my-watched-group__summary>b{
  min-width:34px;
  height:34px;
  padding:0 9px;
  border:1px solid #decdb8;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f6efe3;
  color:#7b1e32;
  font-size:12px;
  line-height:1;
}
.aa-my-watched--accordion .aa-my-watched-group__summary>i{
  width:10px;
  height:10px;
  border-right:2px solid #7b1e32;
  border-bottom:2px solid #7b1e32;
  transform:rotate(45deg);
  transition:transform .18s ease;
}
.aa-my-watched--accordion .aa-my-watched-group[open]>.aa-my-watched-group__summary{
  border-bottom:1px solid #e5dac9;
}
.aa-my-watched--accordion .aa-my-watched-group[open]>.aa-my-watched-group__summary>i{
  transform:rotate(225deg);
}
.aa-my-watched--accordion .aa-my-watched-group__body{
  padding:14px;
}
.aa-my-watched--accordion .aa-my-watched-empty{
  margin:4px 2px!important;
  color:#7b6d5f;
}
.aa-my-watched--accordion .aa-my-watched-shows{
  display:grid;
  gap:12px;
}
.aa-my-watched--accordion .aa-my-watched-show>.aa-db-show-card{
  margin:0!important;
}
/* Usuwanie obserwacji ma być małą akcją drugorzędną wszędzie. */
.aa-watch-remove-action,
.aa-watch-remove-action:link,
.aa-watch-remove-action:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:26px!important;
  padding:3px 9px!important;
  border:1px solid #c99aa6!important;
  border-radius:999px!important;
  background:#fbf2f1!important;
  color:#7b1e32!important;
  -webkit-text-fill-color:#7b1e32!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.aa-watch-remove-action::before{
  content:'×'!important;
  margin-right:4px!important;
  font-size:11px!important;
  line-height:1!important;
}
.aa-watch-remove-action:hover,
.aa-watch-remove-action:focus,
.aa-watch-remove-action:focus-visible{
  background:#f3e3e4!important;
  color:#651425!important;
  -webkit-text-fill-color:#651425!important;
}
@media(max-width:760px){
  .aa-my-watched-accordion-list{gap:10px;margin-top:12px}
  .aa-my-watched--accordion .aa-my-watched-group__summary{
    min-height:58px;
    padding:0 14px;
    gap:9px;
  }
  .aa-my-watched--accordion .aa-my-watched-group__summary>span{font-size:1.08rem}
  .aa-my-watched--accordion .aa-my-watched-group__summary>b{min-width:30px;height:30px;font-size:11px}
  .aa-my-watched--accordion .aa-my-watched-group__body{padding:9px}
  .aa-watch-remove-action,
  .aa-watch-remove-action:link,
  .aa-watch-remove-action:visited{
    min-height:24px!important;
    padding:2px 7px!important;
    font-size:9px!important;
  }
}

/* 0.4.146 — wspólne kafelki encji: szczegóły rozwijane inline jak wystawy */
.aa-entity-inline-card{
  display:block;
  min-width:0;
  border:1px solid #dfd6c7;
  border-radius:18px;
  background:#fffaf2;
  overflow:hidden;
}
.aa-golden-db-dog-grid>.aa-entity-inline-card{height:auto}
.aa-entity-inline-card>summary{
  list-style:none;
  cursor:pointer;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fffaf2!important;
}
.aa-entity-inline-card>summary::-webkit-details-marker{display:none}
.aa-entity-inline-card>summary .aa-golden-db-dog-copy{min-width:0}
.aa-entity-inline-card>summary>i{
  transition:transform .18s ease;
  color:#8b7a45!important;
  font-style:normal!important;
  font-size:1.35rem!important;
}
.aa-entity-inline-card[open]>summary>i{transform:rotate(90deg)}
.aa-entity-inline-card[open]>summary{border-bottom:1px solid #eadfcd!important}
.aa-entity-inline-body{
  padding:14px 16px 16px;
  background:#fffdf8;
}
.aa-entity-inline-facts{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(125px,1fr));
  gap:8px;
  margin:0;
}
.aa-entity-inline-facts>div{
  min-width:0;
  padding:9px 10px;
  border-radius:12px;
  background:#f4efe5;
}
.aa-entity-inline-facts dt{
  margin:0 0 2px;
  color:#806f5c;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.aa-entity-inline-facts dd{
  margin:0;
  color:#173d36;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
}
.aa-entity-inline-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}
.aa-my-watched-list{
  display:grid!important;
  gap:10px!important;
}
.aa-my-watched-list .aa-my-watched-entity-card{
  width:100%;
}
.aa-my-watched-list .aa-golden-db-dog-card{
  min-height:82px;
}
.aa-judge-dog-card .aa-judge-dog-profile-link{pointer-events:none;text-decoration:none!important;color:inherit!important}
@media(max-width:760px){
  .aa-entity-inline-card{border-radius:16px}
  .aa-entity-inline-card>summary.aa-golden-db-dog-card{padding:13px 12px!important;min-height:78px!important}
  .aa-entity-inline-card>summary .aa-golden-db-dog-mark{width:48px!important;height:48px!important;min-width:48px!important}
  .aa-entity-inline-card>summary .aa-golden-db-dog-copy strong{font-size:15px!important;line-height:1.28!important}
  .aa-entity-inline-card>summary .aa-golden-db-dog-copy small,
  .aa-entity-inline-card>summary .aa-golden-db-dog-copy span{font-size:10px!important}
  .aa-entity-inline-body{padding:11px 12px 13px}
  .aa-entity-inline-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .aa-entity-inline-facts>div{padding:8px 9px}
  .aa-entity-inline-facts dd{font-size:12px}
  .aa-entity-inline-actions{justify-content:flex-start}
}

/* 0.4.147 — liczniki encji jako zwijane wejścia do spójnych list psów/wystaw. */
.aa-entity-inline-facts>.aa-entity-relation{margin:0;min-width:0;border:1px solid #e3d5bd;border-radius:12px;background:#f3eee4;overflow:hidden}
.aa-entity-relation>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:8px;min-height:58px;padding:10px 12px;cursor:pointer;list-style:none;color:#173d36}
.aa-entity-relation>summary::-webkit-details-marker{display:none}
.aa-entity-relation>summary span{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#81705d}
.aa-entity-relation>summary strong{font-size:16px;line-height:1;color:#173d36}
.aa-entity-relation>summary i{width:8px;height:8px;border-right:2px solid #7b1730;border-bottom:2px solid #7b1730;transform:rotate(45deg);transition:transform .18s ease}
.aa-entity-relation[open]>summary i{transform:rotate(225deg)}
.aa-entity-relation[open]{grid-column:1/-1;background:#fffaf2}
.aa-entity-relation__body{padding:10px;border-top:1px solid #eadfcd}
.aa-entity-relation__hint,.aa-entity-relation__loading,.aa-entity-relation__empty{margin:0;padding:8px 4px;color:#786757;font-size:13px}
.aa-entity-relation__dog-list{grid-template-columns:1fr!important;gap:8px!important}
.aa-entity-relation__show-list{display:grid;gap:8px}
.aa-entity-relation__show-list .aa-show-calendar-wrap{margin:0}
.aa-entity-relation__pager{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:10px}
.aa-entity-relation__pager button{min-width:34px;min-height:34px;padding:4px 8px;border:1px solid #dcc9aa;border-radius:999px;background:#fffaf2;color:#6f1831;font-weight:700;cursor:pointer}
.aa-entity-relation__pager button.is-current{background:#6f1831;color:#fff7e8;border-color:#6f1831}
.aa-entity-relation__pager button:disabled{opacity:.38;cursor:default}
.aa-entity-relation__error{margin:0;padding:8px 10px;border:1px solid #d7a8ae;border-radius:10px;background:#fff3f4;color:#6f1831;font-size:13px}
@media(max-width:760px){
  .aa-entity-relation>summary{min-height:52px;padding:9px 10px}
  .aa-entity-relation__body{padding:8px}
  .aa-entity-relation[open]{grid-column:1/-1}
  .aa-entity-relation__show-list .aa-db-show-card__summary{padding:10px}
}

/* 0.4.155 — wspólny użytkownik w nagłówkach + jeden poziom szczegółów */
.aa-golden-db-hero,.aa-our-dogs-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:18px!important;align-items:center!important}
.aa-our-dogs-hero>.aa-panel-user-badge{grid-column:3}
.aa-panel-user-badge{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:148px!important;min-height:68px!important;padding:10px 16px!important;border:1px solid rgba(246,234,210,.48)!important;border-radius:18px!important;background:rgba(255,255,255,.055)!important;box-sizing:border-box!important}
.aa-panel-user-badge small{display:block!important;margin:0 0 4px!important;color:#f6ead2!important;-webkit-text-fill-color:#f6ead2!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.07em!important;text-transform:uppercase!important}
.aa-panel-user-badge strong{display:block!important;color:#f1c85f!important;-webkit-text-fill-color:#f1c85f!important;font-size:17px!important;font-weight:800!important;line-height:1.2!important}
.aa-detail-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:9px 11px;border:1px solid #dfd1ba;border-radius:12px;background:#f4efe5}
.aa-detail-workspace-path{display:flex;align-items:center;gap:7px;min-width:0;color:#756653;font-size:12px;font-weight:700}
.aa-detail-workspace-path span,.aa-detail-workspace-path strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aa-detail-workspace-path strong{color:#173d36}.aa-detail-workspace-path i{font-style:normal;color:#9b7a32}
.aa-detail-workspace-back,.aa-detail-workspace-back:hover,.aa-detail-workspace-back:focus,.aa-detail-workspace-back:active{flex:0 0 auto;min-height:34px;padding:6px 11px;border:1px solid #6f1831;border-radius:999px;background:#6f1831!important;color:#fff3df!important;-webkit-text-fill-color:#fff3df!important;font-size:11px;font-weight:800;cursor:pointer}
.aa-entity-inline-body.is-loading{opacity:.72}.aa-detail-loading{margin:8px 0;padding:10px 12px;border-radius:10px;background:#f4efe5;color:#756653;font-size:13px}
.is-aa-inline-detail-view>.aa-public-module-nav,.is-aa-inline-detail-view>.aa-golden-db-back{display:none!important}
.is-aa-inline-detail-view.aa-golden-db,.is-aa-inline-detail-view.aa-dog-profile{padding:0!important;margin:0!important;max-width:none!important}
.aa-entity-inline-card--show>summary{list-style:none}.aa-entity-inline-card--show>summary::-webkit-details-marker{display:none}
@media(max-width:760px){.aa-golden-db-hero,.aa-our-dogs-hero{grid-template-columns:1fr!important;gap:12px!important}.aa-golden-db-period,.aa-panel-user-badge,.aa-our-dogs-hero>.aa-panel-user-badge{grid-column:1!important;justify-self:start!important}.aa-panel-user-badge{min-width:0!important;min-height:58px!important;width:auto!important;max-width:100%!important;padding:9px 13px!important;border-radius:15px!important}.aa-panel-user-badge strong{font-size:15px!important}.aa-detail-workspace-bar{align-items:flex-start}.aa-detail-workspace-path{font-size:11px}.aa-detail-workspace-back{min-height:32px;padding:5px 9px}}


/* 0.4.172 — Moje psy: stabilny desktop + czytelna informacja, że kafelek rozwija profil. */
.aa-account-my-dogs .aa-my-dogs-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
}
.aa-account-my-dogs .aa-my-dogs-grid>.aa-our-dog-card-details{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.aa-account-my-dogs .aa-my-dogs-grid>.aa-our-dog-card-details[open]{
  grid-column:1/-1!important;
}
.aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease!important;
}
.aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card:hover,
.aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card:focus-visible{
  border-color:#9a7b2f!important;
  box-shadow:0 8px 22px rgba(45,36,25,.11)!important;
  background:#fffdf7!important;
  outline:none!important;
}
.aa-account-my-dogs .aa-our-dog-card-details[open]>.aa-our-dog-card{
  max-width:calc(50% - 7px)!important;
  border-color:#9a7b2f!important;
  box-shadow:0 6px 18px rgba(45,36,25,.08)!important;
}
.aa-account-my-dogs .aa-own-dog-inline-body{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.aa-account-my-dogs .aa-own-dog-inline-body>.aa-dog-profile.is-embedded{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.aa-own-dog-card-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:34px!important;
  padding:6px 10px 6px 12px!important;
  border:1px solid rgba(122,90,22,.28)!important;
  border-radius:999px!important;
  background:#f7eedc!important;
  color:#6f1831!important;
  font-size:.68rem!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.aa-own-dog-action-close{display:none!important}
.aa-own-dog-inline-profile[open] .aa-own-dog-action-open{display:none!important}
.aa-own-dog-inline-profile[open] .aa-own-dog-action-close{display:inline!important}
.aa-own-dog-inline-chevron{margin:0 2px 3px 0!important}
@media(max-width:760px){
  .aa-account-my-dogs .aa-my-dogs-grid{grid-template-columns:1fr!important}
  .aa-account-my-dogs .aa-my-dogs-grid>.aa-our-dog-card-details[open]{grid-column:1!important}
  .aa-account-my-dogs .aa-our-dog-card-details[open]>.aa-our-dog-card{max-width:100%!important}
  .aa-own-dog-card-action{padding:6px 8px!important}
  .aa-own-dog-card-action>span{display:none!important}
}

/* 0.4.173 — Moje psy: szerszy obszar profilu, mniejsze zdjęcie i świadoma zmiana fotografii. */
.aa-account-my-dogs{max-width:1320px!important}
@media(min-width:1101px){
  .aa-account-my-dogs .aa-dog-profile.is-embedded .aa-dog-profile-hero{
    grid-template-columns:168px minmax(270px,.78fr) minmax(520px,1.35fr)!important;
    min-height:198px!important;
    gap:20px!important;
  }
  .aa-account-my-dogs .aa-dog-profile.is-embedded .aa-dog-profile-photo{
    width:160px!important;
    height:160px!important;
  }
}
.aa-dog-profile-photo.aa-dog-photo-clickable{position:relative!important;cursor:pointer!important;outline:none}
.aa-dog-profile-photo.aa-dog-photo-clickable:focus-visible{box-shadow:0 0 0 3px rgba(111,24,49,.22),0 3px 10px rgba(45,36,25,.10)!important}
.aa-dog-photo-edit-hint{
  position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:2!important;
  display:flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;
  padding:5px 8px!important;border-radius:999px!important;background:rgba(39,31,28,.82)!important;
  color:#fff7e8!important;-webkit-text-fill-color:#fff7e8!important;font-size:.66rem!important;font-weight:800!important;
  line-height:1!important;letter-spacing:.01em!important;box-shadow:0 2px 8px rgba(0,0,0,.16)!important;
}
.aa-dog-photo-confirm{max-width:min(430px,calc(100vw - 28px));padding:0;border:0;border-radius:16px;background:#fffaf0;color:#241b1d;box-shadow:0 18px 55px rgba(35,28,24,.26)}
.aa-dog-photo-confirm::backdrop{background:rgba(31,27,24,.38)}
.aa-dog-photo-confirm form{padding:20px 22px}
.aa-dog-photo-confirm strong{display:block;margin:0 0 8px;color:#20382d;font-size:1.05rem;line-height:1.3}
.aa-dog-photo-confirm p{margin:0 0 18px;color:#665b55;font-size:.86rem;line-height:1.45}
.aa-dog-photo-confirm form>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.aa-dog-photo-confirm button{min-height:38px;padding:7px 13px;border-radius:999px;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.aa-dog-photo-confirm .aa-photo-cancel{border:1px solid #cdbfa7;background:#fff;color:#4f493f}
.aa-dog-photo-confirm .aa-photo-change{border:1px solid #6f1831;background:#6f1831;color:#fff3df!important;-webkit-text-fill-color:#fff3df!important}
@media(max-width:720px){.aa-dog-photo-edit-hint{left:5px!important;right:5px!important;bottom:5px!important;min-height:24px!important;font-size:.58rem!important}}


/* 0.4.174 — Moje psy: dyskretna edycja zdjęcia profilowego. */
.aa-dog-profile-photo.aa-dog-photo-clickable .aa-dog-photo-edit-hint{
  opacity:0!important;
  transform:translateY(5px)!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease!important;
}
.aa-dog-profile-photo.aa-dog-photo-clickable:hover .aa-dog-photo-edit-hint,
.aa-dog-profile-photo.aa-dog-photo-clickable:focus-visible .aa-dog-photo-edit-hint{
  opacity:1!important;
  transform:translateY(0)!important;
}
.aa-dog-profile-photo.aa-dog-photo-clickable:hover img{
  filter:brightness(.91)!important;
  transition:filter .16s ease!important;
}
@media(max-width:720px){
  .aa-dog-profile-photo.aa-dog-photo-clickable .aa-dog-photo-edit-hint{
    opacity:1!important;
    transform:none!important;
    left:auto!important;right:6px!important;bottom:6px!important;
    width:30px!important;height:30px!important;min-height:30px!important;
    padding:0!important;border-radius:50%!important;
    font-size:0!important;line-height:30px!important;
    background:rgba(39,31,28,.78)!important;
  }
  .aa-dog-profile-photo.aa-dog-photo-clickable .aa-dog-photo-edit-hint::before{
    content:"📷";font-size:15px!important;line-height:1!important;
  }
  .aa-dog-profile-photo.aa-dog-photo-clickable:hover img{filter:none!important}
}

/* 0.4.218 — bezpieczne dodatki UI na stabilnej bazie 0.4.213. */
/* Nie zmieniamy mechanizmu rozwijania profili ani workspace szczegółów. */

/* Przydomek / relacje: kompaktowa informacja, nie duża belka. */
.aa-dog-profile-relations,
.aa-golden-dog-relations{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin:12px 0!important;
  padding:10px 12px!important;
  border:1px solid rgba(122,90,22,.18)!important;
  border-radius:14px!important;
  background:#fffaf0!important;
  box-sizing:border-box!important;
}
.aa-dog-profile-relations>div,
.aa-golden-dog-relations>div{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  min-width:0!important;
}
.aa-dog-profile-relations b,
.aa-golden-dog-relations b{font-size:.76rem!important;line-height:1.25!important;white-space:nowrap!important;color:#20382d!important}
.aa-dog-profile-relations span,
.aa-golden-dog-relations span{font-size:.76rem!important;line-height:1.3!important;min-width:0!important;overflow-wrap:anywhere!important}

/* Sędziowie: kafelki, mniejsza typografia, flaga jako avatar. */
.aa-dog-judges-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  padding:12px!important;
  background:#f7f1e7!important;
}
.aa-dog-judge-item{
  min-width:0!important;
  border:1px solid #e1d6c5!important;
  border-radius:14px!important;
  background:#fffdf8!important;
  overflow:hidden!important;
  box-shadow:0 2px 8px rgba(45,36,25,.035)!important;
}
.aa-dog-judge-item:last-child{border-bottom:1px solid #e1d6c5!important}
.aa-dog-judge-item[open]{grid-column:1/-1!important}
.aa-dog-judge-item>summary{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto 12px!important;
  gap:9px!important;
  align-items:center!important;
  padding:10px 12px!important;
}
.aa-dog-judge-avatar{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:36px!important;height:36px!important;min-width:36px!important;
  border-radius:50%!important;background:#f1eadf!important;
  font-size:22px!important;line-height:1!important;overflow:hidden!important;
}
.aa-dog-judge-avatar.is-unknown{font-size:12px!important;font-weight:800!important;color:#6f1831!important}
.aa-dog-judge-copy{display:flex!important;flex-direction:column!important;min-width:0!important;gap:1px!important}
.aa-dog-judge-name{font-size:.88rem!important;line-height:1.18!important;font-weight:800!important;overflow-wrap:anywhere!important}
.aa-dog-judge-copy small{font-size:.62rem!important;line-height:1.1!important;font-weight:800!important;color:#76685d!important;letter-spacing:.04em!important}
.aa-dog-judge-count{font-size:.68rem!important;line-height:1!important;white-space:nowrap!important;padding:8px 9px!important}
.aa-dog-judge-chevron{width:8px!important;height:8px!important;border-right:2px solid #6f1831!important;border-bottom:2px solid #6f1831!important;transform:rotate(45deg)!important;transition:transform .15s ease!important}
.aa-dog-judge-item[open] .aa-dog-judge-chevron{transform:rotate(225deg)!important}
.aa-dog-judge-item[open]>.aa-dog-judge-body{border-top:1px solid #eee4d7!important}

/* Historia psa: kompaktowe filtry na telefonie. */
@media(max-width:760px){
  .aa-dog-judges-list{grid-template-columns:1fr!important;padding:10px!important;gap:8px!important}
  .aa-dog-judge-item[open]{grid-column:1!important}
  .aa-dog-judge-item>summary{grid-template-columns:34px minmax(0,1fr) auto 10px!important;padding:10px!important}
  .aa-dog-judge-avatar{width:32px!important;height:32px!important;min-width:32px!important;font-size:19px!important}
  .aa-dog-judge-name{font-size:.82rem!important}
  .aa-dog-judge-count{font-size:.64rem!important;padding:7px 8px!important}

  .aa-dog-profile-history-tools.aa-profile-history-tools{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:10px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1/-1!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>label,
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{min-width:0!important;width:auto!important;flex:none!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools input,
  .aa-dog-profile-history-tools.aa-profile-history-tools select,
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    width:100%!important;min-width:0!important;max-width:none!important;height:38px!important;
    box-sizing:border-box!important;font-size:.72rem!important;padding-top:6px!important;padding-bottom:6px!important;
  }
  .aa-dog-profile-history-tools.aa-profile-history-tools select{padding-left:8px!important;padding-right:22px!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{padding-left:8px!important;padding-right:8px!important;white-space:nowrap!important}
}
@media(max-width:380px){
  .aa-dog-profile-history-tools.aa-profile-history-tools{grid-template-columns:1fr!important}
  .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:1!important}
}
/* 0.4.218 — w profilach nie pokazujemy technicznego przycisku historii workspace. */
.aa-detail-workspace-back{display:none!important}

/* 0.4.219 — pełnoekranowe szczegóły encji. Warstwa jest potomkiem body,
   więc nie dziedziczy szerokości kafelka/listy i nie tworzy „okna w oknie”. */
html.aa-detail-modal-open,body.aa-detail-modal-open{overflow:hidden!important}
.aa-detail-modal[hidden]{display:none!important}
.aa-detail-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px}
.aa-detail-modal__backdrop{position:absolute;inset:0;background:rgba(18,25,22,.72);backdrop-filter:blur(2px)}
.aa-detail-modal__dialog{position:relative;z-index:1;width:min(1080px,calc(100vw - 40px));height:min(920px,calc(100dvh - 40px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8c9aa;border-radius:22px;background:#f5ecd8;box-shadow:0 28px 80px rgba(0,0,0,.34)}
.aa-detail-modal__head{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 16px 10px 20px;border-bottom:1px solid rgba(111,24,49,.16);background:#fffaf0}
.aa-detail-modal__head-left{display:flex;align-items:center;gap:10px;min-width:0}
.aa-detail-modal__loading-state{flex:0 1 auto;min-width:0;color:#786757;font-size:12px;font-weight:700;white-space:normal}
.aa-detail-modal__loading-state::before{content:' ';display:inline-block;width:9px;height:9px;margin-right:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-1px;animation:aa-detail-spin .7s linear infinite}
.aa-detail-modal__loading-state.is-error{color:#7b1734}
.aa-detail-modal__loading-state.is-error::before{content:'!';width:auto;height:auto;margin-right:5px;border:0;animation:none;font-weight:900}
@keyframes aa-detail-spin{to{transform:rotate(360deg)}}
.aa-detail-modal__head>strong{min-width:0;color:#173d36;font-size:20px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aa-detail-modal__close,.aa-detail-modal__close:hover,.aa-detail-modal__close:focus,.aa-detail-modal__close:active{flex:0 0 auto;min-height:42px;padding:0 16px;border:0;border-radius:999px;background:#6f1831!important;color:#fff4df!important;font-weight:800;font-size:14px;cursor:pointer}
.aa-detail-modal__body{flex:1;min-width:0;overflow:auto;overscroll-behavior:contain;padding:18px}
.aa-detail-modal__loading,.aa-detail-modal__error{margin:20px auto;max-width:620px;padding:18px;border-radius:14px;background:#fffaf0;color:#3c413e}
.aa-detail-modal__content{width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important}
.aa-detail-modal__content .aa-golden-db,.aa-detail-modal__content.aa-golden-db{width:100%!important;max-width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important}
.aa-detail-modal__content .aa-dog-profile,.aa-detail-modal__content.aa-dog-profile{width:100%!important;max-width:100%!important;margin:0!important}
/* Fragmenty AJAX zachowują markup stron, ale w modalu nie mogą pokazywać
   nawigacji globalnej ani lokalnych odpowiedników modalowego „Wróć”. */
.aa-detail-modal .aa-public-module-nav,
.aa-detail-modal .aa-golden-db-back,
.aa-detail-modal .aa-db-show-component-intro,
.aa-detail-modal .aa-detail-workspace-back{display:none!important}
.aa-detail-modal .aa-db-show-card,.aa-detail-modal .aa-show-calendar-wrap,.aa-detail-modal .aa-show-ranked-list,.aa-detail-modal .aa-show-ranked-entry{max-width:100%!important;min-width:0!important}
.aa-detail-modal .aa-show-ranked-entry>*{min-width:0!important}
.aa-detail-modal .aa-show-result-owner,.aa-detail-modal .aa-show-result-breeder{width:auto!important;max-width:100%!important;word-break:normal!important;overflow-wrap:break-word!important}
.aa-detail-modal .aa-show-result-owner a,.aa-detail-modal .aa-show-result-breeder a{word-break:normal!important;overflow-wrap:break-word!important}
/* Na listach bazowych ciężka zawartość pozostaje zamknięta; klik otwiera modal. */
[data-aa-detail-root]>.aa-entity-inline-body,[data-aa-detail-root]>.aa-own-dog-inline-body{display:none!important}
[data-aa-detail-root][open]>.aa-entity-inline-body,[data-aa-detail-root][open]>.aa-own-dog-inline-body{display:none!important}
@media(max-width:700px){
  .aa-detail-modal{padding:0}
  .aa-detail-modal__dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0}
  .aa-detail-modal__head{min-height:58px;padding:8px 10px 8px 14px}
  .aa-detail-modal__head>strong{font-size:17px}
  .aa-detail-modal__close{min-height:40px;padding:0 13px;font-size:13px}
  .aa-detail-modal__body{padding:10px 8px 18px}
  .aa-detail-modal .aa-show-profile-db .aa-db-show-card{border-radius:14px!important}
  .aa-detail-modal .aa-show-ranked-entry,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:6px 9px!important;align-items:start!important;padding:9px!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-place-badge{grid-column:1!important;grid-row:1!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-catalog-number{grid-column:2!important;grid-row:1!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-name{grid-column:1/-1!important;grid-row:auto!important;width:100%!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-grade{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;max-width:none!important;white-space:normal!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-badges,
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner,
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-own-meta,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-own-titles,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;max-width:100%!important;margin:0!important;display:block!important}
  .aa-detail-modal .aa-show-result-owner b,.aa-detail-modal .aa-show-result-breeder b{display:inline!important}
}


/* 0.4.220 — modal: kompaktowe akcje dokumentów.
   Profil wystawy pobrany do modala nie zawsze ma zewnętrzny .aa-show-calendar-wrap,
   dlatego wcześniejszy selektor kalendarza nie obejmował przycisków PDF. */
.aa-detail-modal .aa-show-document-preview,
.aa-detail-modal .aa-show-document-direct{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:max-content!important;
  min-width:0!important;
  min-height:32px!important;
  height:auto!important;
  margin:6px 0!important;
  padding:6px 11px!important;
  border-radius:7px!important;
  font-size:.78rem!important;
  line-height:1.15!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.aa-detail-modal .aa-show-total-row{
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
@media(max-width:700px){
  .aa-detail-modal .aa-show-document-preview,
  .aa-detail-modal .aa-show-document-direct{
    min-height:30px!important;
    padding:5px 10px!important;
    font-size:.74rem!important;
  }
}

/* 0.4.221 — modal profilu psa: zwarte filtry i czytelna paginacja. */
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  padding:12px!important;
  box-sizing:border-box!important;
}
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools>label,
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-dog-profile-filter-reset-wrap{
  width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;
}
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools input,
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools select,
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
  width:100%!important;max-width:100%!important;min-width:0!important;height:40px!important;
  box-sizing:border-box!important;padding:6px 10px!important;font-size:.78rem!important;
}
.aa-detail-modal .aa-dog-profile-pagination{display:flex!important;margin:12px 8px 16px!important}
@media(max-width:700px){
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important}
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools>.aa-profile-history-search{grid-column:auto!important}
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools input,
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools select,
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{height:36px!important;font-size:.7rem!important;padding:5px 7px!important}
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools label>span{font-size:.62rem!important;line-height:1.1!important}
  .aa-detail-modal .aa-dog-profile-pagination button{min-width:32px!important;height:32px!important;padding:0 8px!important}
}
@media(max-width:360px){
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* 0.4.222 — mobile modal: wydajny profil i zwarte elementy bez obcinania. */
.aa-detail-modal,.aa-detail-modal *{box-sizing:border-box}
.aa-detail-modal .aa-detail-modal-body{overflow-x:hidden!important}
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools{
  width:calc(100% - 16px)!important;
  max-width:calc(100% - 16px)!important;
  margin:0 8px 10px!important;
  padding:8px!important;
  gap:7px!important;
}
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools input,
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools select,
.aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
  min-width:0!important;max-width:100%!important;width:100%!important;overflow:hidden!important;
}
/* PDF-y w szczegółach wystawy mają być akcją pomocniczą, nie głównym CTA. */
.aa-detail-modal .aa-show-golden-stats-confirmed-note>a,
.aa-detail-modal a.aa-show-document-preview,
.aa-detail-modal a.aa-show-document-direct{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;max-width:100%!important;min-height:30px!important;
  padding:6px 10px!important;margin:5px 0!important;border-radius:8px!important;
  font-size:.74rem!important;line-height:1.1!important;font-weight:800!important;
}
/* Osoby w wynikach nie mogą dominować nad nazwą psa. */
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner a,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder a{
  font-size:.78rem!important;line-height:1.35!important;font-weight:500!important;
}
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner b,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder b{font-size:.78rem!important;font-weight:800!important}
/* Dolny rząd kafla wystawy wykorzystuje pełną szerokość. */
@media(max-width:700px){
  .aa-detail-modal .aa-show-card .aa-show-actions,
  .aa-detail-modal .aa-profile-inline-show .aa-show-actions{
    width:100%!important;max-width:none!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
  }
  .aa-detail-modal .aa-show-card .aa-show-actions>a,
  .aa-detail-modal .aa-profile-inline-show .aa-show-actions>a{width:100%!important;justify-content:center!important;text-align:center!important}
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:calc(100% - 12px)!important;max-width:calc(100% - 12px)!important;margin:0 6px 10px!important;padding:7px!important;
  }
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools input,
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools select,
  .aa-detail-modal .aa-dog-profile-history-tools.aa-profile-history-tools .aa-dog-profile-filter-reset{
    height:34px!important;padding:4px 7px!important;font-size:.68rem!important;
  }
}

/* 0.4.223 — dopracowanie modala i list sędziów. */
.aa-dog-judge-count{cursor:pointer!important}
.aa-detail-modal .aa-show-total-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
}
.aa-detail-modal .aa-show-total-row .aa-show-golden-total{margin:0!important;white-space:nowrap!important}
.aa-detail-modal .aa-show-total-row .aa-show-document-preview,
.aa-detail-modal .aa-show-total-row .aa-show-document-direct{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  min-height:28px!important;
  height:28px!important;
  margin:0!important;
  padding:3px 9px!important;
  border-radius:7px!important;
  font-size:.68rem!important;
  line-height:1!important;
  white-space:nowrap!important;
}
@media(max-width:700px){
  .aa-detail-modal .aa-show-total-row{gap:8px!important}
  .aa-detail-modal .aa-show-total-row .aa-show-document-preview,
  .aa-detail-modal .aa-show-total-row .aa-show-document-direct{height:26px!important;min-height:26px!important;padding:3px 8px!important;font-size:.64rem!important}
}
/* 0.4.226 — szybka lista sędziów: pełne karty wystaw nie są renderowane przy starcie. */
.aa-dog-judge-shows-loading{margin:4px 0 0;font-size:12px;color:#756a60}
.aa-dog-judge-name,.aa-dog-judge-avatar{cursor:pointer}

/* 0.4.227 — szerszy modal desktop + stabilny układ danych psa w wynikach. */
@media(min-width:901px){
  .aa-detail-modal{padding:12px!important}
  .aa-detail-modal__dialog{width:min(1320px,calc(100vw - 24px))!important;height:min(940px,calc(100dvh - 24px))!important}
  .aa-detail-modal__body{padding:14px!important}
}
/* Właściciel i hodowca zawsze pod nazwą psa, nigdy w bocznych/wąskich kolumnach. */
.aa-detail-modal .aa-show-ranked-entry,
.aa-detail-modal .aa-show-ranked-entry.is-own-dog{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  column-gap:10px!important;
  row-gap:5px!important;
  align-items:start!important;
}
.aa-detail-modal .aa-show-ranked-entry>.aa-show-place-badge{grid-column:1!important;grid-row:1!important}
.aa-detail-modal .aa-show-ranked-entry>.aa-show-catalog-number{grid-column:2!important;grid-row:1!important}
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-name,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-grade,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-badges,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder,
.aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-own-meta,
.aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-own-titles,
.aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner,
.aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder{
  grid-column:2!important;
  grid-row:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder{
  display:block!important;
  font-size:.82rem!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner b,
.aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder b{font-size:.82rem!important}

/* 0.4.228 — lekkie listy, pełne szczegóły dopiero w modalu. */
.aa-dog-profile-event--light{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:start;padding:14px 16px!important}
.aa-dog-profile-event--light .aa-dog-profile-event-open{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;color:#173f36;text-decoration:none}
.aa-dog-profile-event--light .aa-dog-profile-event-open strong{text-decoration:none}
.aa-dog-profile-event--light .aa-dog-profile-event-open>span{font-size:1.4rem;line-height:1;color:#7b1734}
.aa-dog-profile-event--light .aa-dog-profile-event-grid{margin-top:7px}
@media(max-width:760px){
  .aa-dog-profile-event--light{grid-template-columns:1fr;gap:8px;padding:12px!important}
  .aa-dog-profile-event--light .aa-dog-profile-event-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
}
/* Desktop: wynik wystawy wykorzystuje szerokość modala; osoba zawsze pod nazwą psa. */
@media(min-width:901px){
  .aa-detail-modal .aa-show-ranked-entry,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog{
    grid-template-columns:54px minmax(320px,1fr) minmax(190px,.45fr)!important;
    column-gap:14px!important;
  }
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-place-badge{grid-column:1!important;grid-row:1/3!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-catalog-number{grid-column:2!important;grid-row:1!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-name{grid-column:2!important;grid-row:2!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-grade{grid-column:2!important;grid-row:3!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-badges{grid-column:3!important;grid-row:1/4!important;align-self:start!important;justify-self:end!important;width:auto!important}
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner,
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-result-owner,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-result-breeder{grid-column:2/4!important;width:100%!important}
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-own-meta,
  .aa-detail-modal .aa-show-ranked-entry.is-own-dog>.aa-show-own-titles{grid-column:2/4!important;width:100%!important}
}


/* 0.4.229 — lekkie kafle historii są całe klikalne; sędzia pozostaje osobnym celem. */
.aa-dog-profile-event--light.is-clickable{cursor:pointer}
.aa-dog-profile-event--light.is-clickable:focus-visible{outline:2px solid #7b1734;outline-offset:2px}
.aa-dog-profile-event--light .aa-dog-profile-event-judge{position:relative;z-index:2;font-weight:700;color:#365f54;text-decoration:underline;text-underline-offset:2px}
@media(hover:hover) and (pointer:fine){
  .aa-dog-profile-event--light.is-clickable:hover{border-color:#7b1734}
  .aa-dog-profile-event--light .aa-dog-profile-event-judge:hover{color:#7b1734}
}

/* 0.4.229 — wynik wystawy: ocena i tytuły wspólnie; właściciel + hodowca w jednej linii na desktopie. */
.aa-detail-modal .aa-show-result-achievements{min-width:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.aa-detail-modal .aa-show-result-achievements>.aa-show-grade{width:auto!important;max-width:none!important;margin:0!important;white-space:normal!important;font-weight:700}
.aa-detail-modal .aa-show-result-achievements>.aa-show-result-badges{width:auto!important;max-width:none!important;margin:0!important;display:flex!important;align-items:center;gap:5px;flex-wrap:wrap}
@media(min-width:901px){
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:54px minmax(320px,1fr) minmax(280px,.7fr)!important;
    grid-template-rows:auto auto auto!important;
  }
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{grid-column:1!important;grid-row:1/4!important}
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number{grid-column:2!important;grid-row:1!important}
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{grid-column:2!important;grid-row:2!important}
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{grid-column:3!important;grid-row:1/3!important;align-self:center!important;justify-self:end!important;justify-content:flex-end!important;width:auto!important}
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:2!important;grid-row:3!important;display:inline-block!important;width:auto!important}
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:3!important;grid-row:3!important;display:inline-block!important;width:auto!important}
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner,
  .aa-detail-modal .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{font-size:.78rem!important;line-height:1.3!important;overflow-wrap:normal!important;word-break:normal!important}
}
@media(max-width:900px){
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-achievements,
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-owner,
  .aa-detail-modal .aa-show-ranked-entry>.aa-show-result-breeder{grid-column:1/-1!important;width:100%!important}
}

/* 0.4.230 — kompletna metryczka psa, szersze wnętrze modala i spójne lekkie listy wystaw. */
.aa-dog-profile-meta-0230{display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap!important}
.aa-dog-profile-pedigree{display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.aa-dog-profile-pedigree b{margin:0!important;font-weight:800!important}
.aa-dog-profile-pedigree i{font-style:normal!important}
.aa-dog-profile-identity-0230{display:grid;gap:6px;margin-top:10px;font-size:.78rem;line-height:1.35;color:#51484a}
.aa-dog-profile-person-row,.aa-dog-profile-affix-row{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:7px;align-items:start;min-width:0}
.aa-dog-profile-person-row>b,.aa-dog-profile-affix-row>b{color:#241b1d;font-weight:800}
.aa-dog-profile-person-row>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.aa-dog-profile-person{display:inline-flex;align-items:center;gap:5px;min-width:0}
.aa-dog-profile-person a{color:#2f6c5a;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.aa-dog-profile-person small{font-size:.68rem;color:#776c65;font-weight:700}
.aa-person-flag{display:inline-flex;align-items:center;justify-content:center;font-size:1.05rem;line-height:1}
.aa-person-sep{font-style:normal;color:#a69480}
.aa-dog-profile-affix-row>span{min-width:0}

/* Profil sędziego: flaga zamiast litery, jeśli kraj jest jawnie znany. */
.aa-judge-profile-flag{font-size:2rem!important;line-height:1!important;background:#f5efe3!important}
.aa-judge-profile-flag.is-unknown{font-size:1rem!important}

/* Modal desktop: szerokość ma być realnie dostępna także dla wewnętrznych modułów. */
@media(min-width:901px){
  .aa-detail-modal__content>.aa-dog-profile,
  .aa-detail-modal__content>.aa-golden-db,
  .aa-detail-modal .aa-dog-profile,
  .aa-detail-modal .aa-golden-db,
  .aa-detail-modal .aa-golden-db-browser,
  .aa-detail-modal .aa-golden-dog-hero,
  .aa-detail-modal .aa-show-profile-db,
  .aa-detail-modal .aa-db-show-card{
    width:100%!important;max-width:none!important;box-sizing:border-box!important;
  }
  .aa-detail-modal .aa-dog-profile-hero{grid-template-columns:204px minmax(300px,.95fr) minmax(430px,1.25fr)!important}
  .aa-detail-modal .aa-dog-profile-career-stats h3{font-size:.82rem!important}
  .aa-detail-modal .aa-dog-profile-stat-list>span{font-size:.78rem!important;line-height:1.3!important}
  .aa-detail-modal .aa-dog-profile-stat-list strong{font-size:.9rem!important}
  .aa-detail-modal .aa-dog-profile-stat-panel{padding:13px 12px!important}
}

/* Lekkie wystawy pod sędzią: cały kafel otwiera wystawę i ma akcent według rangi. */
.aa-dog-judge-show{position:relative;border-left:4px solid #b6a58b!important;cursor:default}
.aa-dog-judge-show.is-clickable{cursor:pointer}
.aa-dog-judge-show.is-international{border-left-color:#c99d2f!important;background:#fffaf0!important}
.aa-dog-judge-show.is-national{border-left-color:#718052!important;background:#fbfcf7!important}
.aa-dog-judge-show.is-club{border-left-color:#30332c!important;background:#faf9f5!important}
.aa-dog-judge-show.is-specialist{border-left-color:#9f624e!important;background:#fff9f6!important}
.aa-dog-judge-show.is-puppy{border-left-color:#8a668f!important;background:#fcf8fd!important}
.aa-dog-judge-show.is-other{border-left-color:#b6a58b!important}
.aa-dog-judge-show.is-clickable:focus-visible{outline:2px solid #7b1734;outline-offset:2px}
.aa-dog-judge-show-link{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:30px;height:30px;border-radius:999px;background:#f1e8da;color:#7b1734;font-size:1.25rem;font-weight:800;pointer-events:none}
@media(hover:hover) and (pointer:fine){.aa-dog-judge-show.is-clickable:hover{border-color:#7b1734!important;box-shadow:0 2px 8px rgba(67,45,33,.08)}}

@media(max-width:720px){
  .aa-dog-profile-identity-0230{grid-column:1/-1;font-size:.72rem}
  .aa-dog-profile-person-row,.aa-dog-profile-affix-row{grid-template-columns:1fr;gap:2px}
  .aa-dog-profile-person-row>span{gap:5px}
}

/* 0.4.231 — pełna metryczka psa: nie chowamy relacji po refaktorze lekkich list. */
.aa-detail-modal .aa-dog-profile-identity-0230{display:grid!important;visibility:visible!important;opacity:1!important;gap:7px;margin-top:9px;padding-top:9px;border-top:1px solid rgba(111,24,49,.12)}
.aa-detail-modal .aa-dog-profile-person-row,.aa-detail-modal .aa-dog-profile-affix-row{display:grid!important;grid-template-columns:max-content minmax(0,1fr);gap:8px;align-items:center;min-width:0}
.aa-detail-modal .aa-dog-profile-person-row>span{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.aa-detail-modal .aa-dog-profile-person a{font-weight:700;text-decoration:underline;text-underline-offset:2px}
.aa-detail-modal .aa-person-flag{font-size:1.1rem;line-height:1}
.aa-detail-modal .aa-dog-profile-person small{font-size:.78em;font-weight:700;color:#6f6060}
.aa-detail-modal .aa-dog-profile-meta-0230{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.aa-detail-modal .aa-dog-profile-pedigree,.aa-detail-modal .aa-dog-profile-sex{display:inline-flex;align-items:center;gap:5px}
.aa-detail-modal .aa-dog-profile-pedigree i,.aa-detail-modal .aa-dog-profile-sex i{font-style:normal}
@media(max-width:720px){.aa-detail-modal .aa-dog-profile-person-row,.aa-detail-modal .aa-dog-profile-affix-row{grid-template-columns:1fr;gap:3px}.aa-detail-modal .aa-dog-profile-identity-0230{font-size:.76rem}}


/* 0.4.232 — dopracowana metryczka profilu psa i wykorzystanie przestrzeni. */
@media (min-width:1101px){
  .aa-detail-modal .aa-dog-profile-hero{
    grid-template-columns:210px minmax(360px,.92fr) minmax(520px,1.22fr)!important;
    gap:22px!important;
    align-items:stretch!important;
    padding:16px 18px!important;
  }
  .aa-detail-modal .aa-dog-profile-intro{justify-content:flex-start!important;padding-top:2px!important}
  .aa-detail-modal .aa-dog-profile-meta-0230{gap:8px!important;margin-top:10px!important}
  .aa-detail-modal .aa-dog-profile-meta-0230>span{padding:7px 11px!important;font-size:.8rem!important}
  .aa-detail-modal .aa-dog-profile-identity-0230{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px 10px!important;
    margin-top:10px!important;
    padding-top:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row{
    grid-template-columns:max-content minmax(0,1fr)!important;
    min-height:34px!important;
    padding:5px 8px!important;
    border:1px solid rgba(111,24,49,.10)!important;
    border-radius:10px!important;
    background:rgba(255,253,248,.65)!important;
  }
  .aa-detail-modal .aa-dog-profile-affix-row{
    grid-column:1/-1!important;
    grid-template-columns:max-content minmax(0,1fr)!important;
    min-height:32px!important;
    padding:4px 8px!important;
    border:1px solid rgba(160,128,55,.13)!important;
    border-radius:10px!important;
    background:rgba(248,243,228,.72)!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:10px!important;
    padding-top:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line>span{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
    min-height:38px!important;padding:4px 7px!important;border:1px solid rgba(111,24,49,.11)!important;
    border-radius:10px!important;background:rgba(255,253,248,.68)!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line strong{font-size:1.02rem!important}
  .aa-detail-modal .aa-dog-profile-summary-line em{font-size:.7rem!important;font-style:normal!important}
  .aa-detail-modal .aa-dog-profile-career-stats{gap:10px!important}
  .aa-detail-modal .aa-dog-profile-stat-panel{padding:14px 13px!important}
  .aa-detail-modal .aa-dog-profile-stat-panel h3{font-size:.86rem!important;letter-spacing:.04em!important;margin-bottom:10px!important;padding-bottom:8px!important}
  .aa-detail-modal .aa-dog-profile-stat-list{gap:6px!important}
  .aa-detail-modal .aa-dog-profile-stat-list>span{font-size:.82rem!important;line-height:1.25!important}
  .aa-detail-modal .aa-dog-profile-stat-list strong{font-size:.96rem!important}
  .aa-detail-modal .aa-stat-icon{width:25px!important;height:25px!important;font-size:.78rem!important}
  .aa-detail-modal .aa-dog-profile .aa-dog-section-head{min-height:64px!important;padding:13px 18px!important}
  .aa-detail-modal .aa-dog-profile .aa-dog-section-head h3{font-size:1.08rem!important}
}

/* Metryczka: wyraźniejsze symbole bez dodawania kolejnych ciężkich grafik. */
.aa-detail-modal .aa-dog-profile-pedigree b:before{content:'▤';display:inline-block;margin-right:6px;color:#7b1734;font-size:.9em}
.aa-detail-modal .aa-dog-profile-sex b:before{content:'⚥';display:inline-block;margin-right:6px;color:#7b1734;font-size:1em}
.aa-detail-modal .aa-dog-profile-affix-row>b:before{content:'⌂';display:inline-block;margin-right:6px;color:#8a6b25;font-size:.95em}
.aa-detail-modal .aa-dog-profile-person-row>b{color:#3b332f}
.aa-detail-modal .aa-dog-profile-person-row:first-child>b:before{content:'●';font-size:.55em;margin-right:7px;color:#5c7048;vertical-align:middle}
.aa-detail-modal .aa-dog-profile-person-row:nth-child(2)>b:before{content:'◆';font-size:.62em;margin-right:7px;color:#8a6b25;vertical-align:middle}
.aa-detail-modal .aa-person-flag{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:26px!important;height:26px!important;border-radius:999px!important;background:#f3ecdf!important;
  font-size:1rem!important;line-height:1!important;flex:0 0 26px!important;
}
.aa-detail-modal .aa-dog-profile-person a{color:#276b56!important;text-decoration-thickness:1px!important}

@media(max-width:720px){
  .aa-detail-modal .aa-dog-profile-identity-0230{grid-template-columns:1fr!important}
  .aa-detail-modal .aa-dog-profile-person-row,.aa-detail-modal .aa-dog-profile-affix-row{padding:5px 7px!important}
  .aa-detail-modal .aa-dog-profile-summary-line{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aa-detail-modal .aa-person-flag{width:24px!important;height:24px!important;flex-basis:24px!important}
}

/* 0.4.233 — modal ma prawdziwą historię nawigacji, nie stałe "Wróć do ...". */
.aa-detail-modal__head-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.aa-detail-modal__head-left>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173d36;font-size:20px;line-height:1.2}
.aa-detail-modal__back,.aa-detail-modal__back:hover,.aa-detail-modal__back:focus,.aa-detail-modal__back:active{flex:0 0 auto;min-height:40px;padding:0 14px;border:1px solid #6f1831;border-radius:999px;background:#fffaf0!important;color:#6f1831!important;font-weight:800;cursor:pointer}
.aa-detail-modal__back[hidden]{display:none!important}
@media(max-width:640px){.aa-detail-modal__head-left{gap:8px}.aa-detail-modal__back{padding:0 10px;font-size:13px}.aa-detail-modal__head-left>strong{font-size:18px}}

/* 0.4.235 — spójność kafli, avatary krajów i czytelniejsze liczniki profilu */
.aa-golden-db .aa-entity-inline-card{
  border:1px solid rgba(110,92,66,.18)!important;
  border-radius:16px!important;
  background:#fffcf5!important;
  overflow:hidden!important;
  box-shadow:0 2px 7px rgba(54,43,28,.035)!important;
}
.aa-golden-db .aa-entity-inline-card>summary.aa-golden-db-dog-card{
  border:0!important;
  border-radius:16px!important;
  background:#fffcf5!important;
  box-shadow:none!important;
}
.aa-golden-db .aa-entity-inline-card[open]>summary.aa-golden-db-dog-card{
  border-radius:16px 16px 0 0!important;
  border-bottom:1px solid rgba(110,92,66,.14)!important;
}
.aa-golden-db-dog-grid{gap:12px!important}

/* Flaga osoby: cieplejszy złoto-kremowy medalion, żeby biel flagi nie ginęła. */
.aa-person-country-avatar,
.aa-judge-profile-flag,
.aa-dog-judge-avatar,
.aa-person-flag{
  background:#ead7a7!important;
  border:1px solid #c7a85d!important;
  box-shadow:inset 0 0 0 2px rgba(255,252,245,.68)!important;
}
.aa-person-country-avatar{
  color:#6f1831!important;
  font-size:1.28rem!important;
  line-height:1!important;
}
.aa-golden-db-dog-mark.is-large.aa-person-country-avatar{font-size:2rem!important}
.aa-person-country-avatar.is-unknown,
.aa-judge-profile-flag.is-unknown{
  background:#efe6cf!important;
  border-color:#d3c19a!important;
  box-shadow:none!important;
  font-size:1rem!important;
}
.aa-person-flag{
  width:24px!important;height:24px!important;min-width:24px!important;
  border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:15px!important;
}

/* Cztery liczniki w metryczce: etykiety mają się mieścić w jednym wierszu na desktopie. */
.aa-detail-modal .aa-dog-profile-summary-line{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
.aa-detail-modal .aa-dog-profile-summary-line>span{
  min-width:0!important;
  padding:9px 7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
}
.aa-detail-modal .aa-dog-profile-summary-line em{
  white-space:nowrap!important;
  font-size:.66rem!important;
  letter-spacing:-.01em!important;
}
.aa-detail-modal .aa-dog-profile-summary-line strong{flex:0 0 auto!important}
@media(max-width:980px){.aa-detail-modal .aa-dog-profile-summary-line{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.aa-detail-modal .aa-dog-profile-summary-line>span{padding:8px 5px!important;gap:4px!important}.aa-detail-modal .aa-dog-profile-summary-line em{font-size:.62rem!important}}


/* 0.4.236 — dopracowanie metryczki psa, spójna nawigacja bazy i akcenty obserwowanych */
/* Metryczka psa: bez mikrosymboli, więcej miejsca na kraj i czytelniejszy medalion flagi. */
.aa-detail-modal .aa-dog-profile-person-row>b:before{content:none!important;display:none!important}
.aa-detail-modal .aa-dog-profile-person-row{
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:6px!important;
  padding:5px 7px!important;
}
.aa-detail-modal .aa-dog-profile-person-row>span{gap:5px!important;min-width:0!important}
.aa-detail-modal .aa-dog-profile-person{
  display:inline-flex!important;align-items:center!important;gap:5px!important;min-width:0!important;
  flex-wrap:nowrap!important;max-width:100%!important;
}
.aa-detail-modal .aa-dog-profile-person a{
  min-width:0!important;overflow-wrap:anywhere!important;line-height:1.15!important;
}
.aa-detail-modal .aa-dog-profile-person small{
  flex:0 0 auto!important;white-space:nowrap!important;font-size:.64rem!important;color:#6f655b!important;
}
.aa-detail-modal .aa-dog-profile-person small:before{content:'· ';color:#9b7a2e!important;font-weight:800!important}
.aa-detail-modal .aa-person-flag{
  width:25px!important;height:25px!important;min-width:25px!important;flex-basis:25px!important;
  background:#e5cf95!important;border:1px solid #b58e37!important;
  box-shadow:inset 0 0 0 2px rgba(255,248,226,.55),0 1px 2px rgba(83,62,24,.10)!important;
}
@media(min-width:1100px){
  .aa-detail-modal .aa-dog-profile-identity-0230{gap:7px!important}
  .aa-detail-modal .aa-dog-profile-person-row{padding-left:8px!important;padding-right:6px!important}
}
@media(max-width:720px){
  .aa-detail-modal .aa-dog-profile-person{flex-wrap:wrap!important}
  .aa-detail-modal .aa-dog-profile-person small:before{content:''!important}
}

/* Baza: 7 modułów mieszczących się w jednym rzędzie na szerokim desktopie. */
@media(min-width:1180px){
  .aa-golden-db:not(.aa-my-watched)>.aa-golden-db-sections{
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .aa-golden-db:not(.aa-my-watched)>.aa-golden-db-sections>a{
    min-height:72px!important;padding:11px 12px!important;
  }
}
/* Moje obserwowane ma zawsze równy rząd sześciu modułów. */
@media(min-width:980px){
  .aa-my-watched>.aa-golden-db-sections{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}

/* Moje obserwowane: akcent kategorii po lewej, spójny z językiem kart wystaw. */
.aa-my-watched--accordion .aa-my-watched-group{
  position:relative!important;border-left-width:5px!important;
  box-shadow:0 2px 8px rgba(56,44,29,.035)!important;
}
.aa-my-watched--accordion .aa-my-watched-group--show{border-left-color:#b58a25!important}
.aa-my-watched--accordion .aa-my-watched-group--dog{border-left-color:#65784e!important}
.aa-my-watched--accordion .aa-my-watched-group--judge{border-left-color:#7b1e32!important}
.aa-my-watched--accordion .aa-my-watched-group--owner{border-left-color:#7d8150!important}
.aa-my-watched--accordion .aa-my-watched-group--breeder{border-left-color:#a56e46!important}
.aa-my-watched--accordion .aa-my-watched-group__summary{min-height:62px!important;padding-left:20px!important}
.aa-my-watched--accordion .aa-my-watched-group__summary>b{
  border-width:1px!important;font-weight:800!important;
}
.aa-my-watched--accordion .aa-my-watched-group--show .aa-my-watched-group__summary>b{background:#f5e8bb!important;border-color:#d6b45a!important;color:#7d5a09!important}
.aa-my-watched--accordion .aa-my-watched-group--dog .aa-my-watched-group__summary>b{background:#e8eddc!important;border-color:#b8c59d!important;color:#465b35!important}
.aa-my-watched--accordion .aa-my-watched-group--judge .aa-my-watched-group__summary>b{background:#f4e2e7!important;border-color:#d9abb7!important;color:#7b1e32!important}
.aa-my-watched--accordion .aa-my-watched-group--owner .aa-my-watched-group__summary>b{background:#ecebd9!important;border-color:#c8c69b!important;color:#5c6135!important}
.aa-my-watched--accordion .aa-my-watched-group--breeder .aa-my-watched-group__summary>b{background:#f2e4d9!important;border-color:#d5b59f!important;color:#815038!important}
.aa-my-watched--accordion .aa-my-watched-group__summary>b:where(:empty){opacity:.55!important}
.aa-my-watched--accordion .aa-my-watched-group__summary>b{transition:opacity .15s ease}
.aa-my-watched--accordion .aa-my-watched-group__summary>b:first-letter{}
@media(max-width:760px){
  .aa-my-watched--accordion .aa-my-watched-group__summary{min-height:56px!important;padding-left:14px!important}
}


/* 0.4.238 — korekta wyłącznie odstępu kafelków bazy i paska sędziów. */
.aa-golden-db>.aa-golden-db-sections{
  margin-top:14px!important;
}
.aa-dog-judges-tools{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) 110px!important;
  gap:12px!important;
  align-items:end!important;
  padding:12px 18px 10px!important;
}
.aa-dog-judges-tools label{
  display:grid!important;
  gap:5px!important;
  align-items:initial!important;
  min-width:0!important;
}
.aa-dog-judges-tools label>span{
  display:block!important;
  height:15px!important;
  line-height:15px!important;
  font-size:.68rem!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
}
.aa-dog-judges-tools .aa-dog-judges-search{min-width:0!important}
.aa-dog-judges-tools .aa-dog-judges-size{justify-self:end!important;width:110px!important;min-width:110px!important}
.aa-dog-judges-tools input[type=search],
.aa-dog-judges-tools select{
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  border:1px solid #c9b98f!important;
  border-radius:9px!important;
  background:#fffdf8!important;
  color:#243b2e!important;
}
.aa-dog-judges-tools input[type=search]{
  width:100%!important;
  min-width:0!important;
  padding:0 10px!important;
  font:inherit!important;
  font-size:.78rem!important;
  font-weight:600!important;
}
.aa-dog-judges-tools input[type=search]::placeholder{color:#8a8077!important;font-weight:500!important}
.aa-dog-judges-tools select{
  width:110px!important;
  min-width:110px!important;
  padding-left:9px!important;
  padding-right:24px!important;
  font-size:.78rem!important;
  font-weight:700!important;
}
@media(max-width:760px){
  .aa-golden-db>.aa-golden-db-sections{margin-top:10px!important}
  .aa-dog-judges-tools{grid-template-columns:minmax(0,1fr) 100px!important;gap:8px!important;padding:10px 12px 9px!important}
  .aa-dog-judges-tools label>span{font-size:.61rem!important;letter-spacing:.01em!important}
  .aa-dog-judges-tools .aa-dog-judges-size{width:100px!important;min-width:100px!important}
  .aa-dog-judges-tools input[type=search],
  .aa-dog-judges-tools select{font-size:.68rem!important}
  .aa-dog-judges-tools select{width:100px!important;min-width:100px!important;padding-left:7px!important;padding-right:20px!important}
}
@media(max-width:420px){
  .aa-dog-judges-tools{grid-template-columns:1fr!important}
  .aa-dog-judges-tools .aa-dog-judges-size{justify-self:stretch!important;width:100%!important;min-width:0!important}
  .aa-dog-judges-tools select{width:100%!important;min-width:0!important}
}


/* 0.4.241 — kraj hodowli jako avatar psa + akcja Usuń z moich na rozszerzonym kafelku. */
.aa-dog-country-avatar{font-size:1.15rem!important;line-height:1!important;background:#f5efe3!important}
.aa-our-dog-photo.aa-dog-country-avatar{display:flex!important;align-items:center!important;justify-content:center!important;font-size:1.7rem!important;background:#f5efe3!important}
.aa-my-dog-direct-toggle,.aa-own-dog-card-action .aa-legacy-my-dog-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:0 9px!important;border:1px solid rgba(111,24,49,.32)!important;border-radius:999px!important;background:#fff8ed!important;color:#6f1831!important;text-decoration:none!important;font-size:.64rem!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}
.aa-my-dog-direct-toggle:hover,.aa-my-dog-direct-toggle:focus,.aa-own-dog-card-action .aa-legacy-my-dog-toggle:hover,.aa-own-dog-card-action .aa-legacy-my-dog-toggle:focus{background:#6f1831!important;color:#fff3dd!important;border-color:#6f1831!important}
@media(max-width:760px){.aa-own-dog-card-action .aa-my-dog-direct-toggle,.aa-own-dog-card-action .aa-legacy-my-dog-toggle{display:inline-flex!important;font-size:.61rem!important;padding:0 7px!important}}

/* 0.4.243 — profil psa: wyszukiwarka sędziów i liczba pozycji w jednym wierszu. */
@media(min-width:761px){
  .aa-dog-judges-tools{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    padding:12px 18px 10px!important;
  }
  .aa-dog-judges-tools label{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
  }
  .aa-dog-judges-tools label>span{
    display:block!important;
    height:auto!important;
    line-height:1.1!important;
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
  .aa-dog-judges-tools .aa-dog-judges-search{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .aa-dog-judges-tools .aa-dog-judges-search input[type=search]{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:180px!important;
  }
  .aa-dog-judges-tools .aa-dog-judges-size{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    justify-self:auto!important;
  }
}


/* 0.4.244 — Moje psy: usuwanie jako akcja drugorzędna + modal potwierdzenia. */
.aa-own-dog-card-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:7px!important;
}
.aa-own-dog-card-actions>.aa-my-dog-direct-toggle{
  min-height:0!important;
  padding:2px 3px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#7b2439!important;
  font-size:.61rem!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
  opacity:.82!important;
}
.aa-own-dog-card-actions>.aa-my-dog-direct-toggle:hover,
.aa-own-dog-card-actions>.aa-my-dog-direct-toggle:focus{
  background:transparent!important;
  color:#651425!important;
  opacity:1!important;
}
.aa-my-dog-confirm{
  position:fixed!important;inset:0!important;z-index:1000000!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:20px!important;background:rgba(24,28,23,.48)!important;
}
.aa-my-dog-confirm[hidden]{display:none!important}
.aa-my-dog-confirm__dialog{
  width:min(460px,calc(100vw - 32px))!important;
  padding:22px!important;border:1px solid rgba(111,24,49,.20)!important;border-radius:18px!important;
  background:#fffaf0!important;box-shadow:0 22px 60px rgba(30,24,20,.25)!important;color:#263a2f!important;
}
.aa-my-dog-confirm__dialog h3{margin:0 0 9px!important;font-size:1.18rem!important;color:#263a2f!important}
.aa-my-dog-confirm__dialog p{margin:0 0 18px!important;line-height:1.5!important;color:#584d42!important}
.aa-my-dog-confirm__actions{display:flex!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important}
.aa-my-dog-confirm__actions button,
.aa-my-dog-confirm__actions a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;
  padding:7px 15px!important;border-radius:999px!important;font-weight:800!important;text-decoration:none!important;cursor:pointer!important;
}
.aa-my-dog-confirm__cancel{border:1px solid #d7c8aa!important;background:#fffaf0!important;color:#33483a!important}
.aa-my-dog-confirm__remove{border:1px solid #6f1831!important;background:#6f1831!important;color:#fff3dd!important}
.aa-my-dog-confirm__remove:hover,.aa-my-dog-confirm__remove:focus{background:#571226!important;color:#fff3dd!important}
@media(max-width:760px){
  .aa-own-dog-card-actions{gap:4px!important}
  .aa-own-dog-card-actions>.aa-my-dog-direct-toggle{font-size:.58rem!important}
}


/* 0.4.247 — styles moved out of removed deworming module; own-dog inline profiles remain unchanged. */
.aa-our-dog-card-details{display:block;margin:0;padding:0;border:0;background:transparent}
.aa-our-dog-card-details>summary{list-style:none;cursor:pointer}
.aa-our-dog-card-details>summary::-webkit-details-marker{display:none}
.aa-own-dog-inline-chevron{width:10px;height:10px;border-right:2px solid #8b742d;border-bottom:2px solid #8b742d;transform:rotate(45deg);transition:transform .18s ease;flex:0 0 auto;margin-right:3px}
.aa-own-dog-inline-profile[open]>.aa-our-dog-card .aa-own-dog-inline-chevron{transform:rotate(225deg)}
.aa-own-dog-inline-body{margin-top:10px}
.aa-own-dog-inline-body>.aa-dog-profile.is-embedded{margin:0}
.aa-dog-profile.is-embedded>.aa-dog-profile-hero{margin-top:0}
.aa-dog-profile.is-embedded .aa-public-module-nav{display:none!important}
@media(max-width:700px){.aa-own-dog-inline-body{margin-top:8px}.aa-own-dog-inline-body .aa-dog-profile{padding-left:0;padding-right:0}}

/* 0.4.248 — żywe statystyki zgłoszeń Golden Retriever */
.aa-db-show-card__quick>.aa-show-registration-quick{min-width:94px;padding:7px 9px;border:0;border-radius:10px;background:#f0eadf;text-align:center;font:inherit;cursor:pointer;color:inherit}
.aa-db-show-card__quick>.aa-show-registration-quick:hover,.aa-db-show-card__quick>.aa-show-registration-quick:focus-visible{outline:1px solid #7b1830;background:#f7efe2}
.aa-db-show-card__quick>.aa-show-registration-quick b,.aa-db-show-card__quick>.aa-show-registration-quick small{display:block}
.aa-db-show-card__quick>.aa-show-registration-quick b{white-space:nowrap;color:#173d36;font-size:.84rem}
.aa-db-show-card__quick>.aa-show-registration-quick small{margin-top:1px;color:#766550;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.aa-show-registration-data{margin:14px 0;border:1px solid #d9cdbd;border-left:4px solid #c08b21;border-radius:10px;background:#fffaf1;overflow:hidden}
.aa-show-registration-data>summary{display:flex;align-items:center;gap:8px;padding:13px 16px;cursor:pointer;list-style:none}
.aa-show-registration-data>summary::-webkit-details-marker{display:none}
.aa-show-registration-data>summary h4{margin:0;color:#173d36;font-size:1rem}
.aa-show-registration-data>summary small{margin-left:auto;color:#766550;font-size:.78rem}
.aa-show-registration-data__body{padding:0 16px 16px}
.aa-show-registration-data__head{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px 12px;margin-bottom:10px;border-radius:8px;background:#f3eadb;color:#5d523f;font-size:.78rem}
.aa-show-registration-sexes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.aa-show-registration-sexes section{padding:12px;border:1px solid #e5dacb;border-radius:9px;background:#fff}
.aa-show-registration-sexes h5{display:flex;justify-content:space-between;gap:10px;margin:0 0 8px;color:#173d36;font-size:.92rem}
.aa-show-registration-sexes ul{list-style:none;margin:0;padding:0}
.aa-show-registration-sexes li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-top:1px solid #eee5d9;font-size:.82rem}
.aa-show-registration-sexes li:first-child{border-top:0}
.aa-show-registration-sexes p{margin:0;color:#807466;font-size:.8rem}
@media(max-width:760px){.aa-db-show-card__quick>.aa-show-registration-quick{min-width:88px}.aa-show-registration-sexes{grid-template-columns:1fr}.aa-show-registration-data>summary{align-items:flex-start;flex-wrap:wrap}.aa-show-registration-data>summary small{width:100%;margin-left:24px}.aa-show-registration-data__head{align-items:flex-start;flex-direction:column;gap:3px}}

/* 0.4.249 — szczegóły zgłoszeń otwierane z kafelka Golden Retriever w podsumowaniu. */
.aa-db-show-card__overview-golden.is-clickable{position:relative}
.aa-overview-golden-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}
.aa-overview-golden-toggle i{width:8px;height:8px;border-right:2px solid #6f1831;border-bottom:2px solid #6f1831;transform:rotate(45deg);transition:transform .18s ease;flex:0 0 auto;margin-right:2px}
.aa-overview-golden-toggle[aria-expanded="true"] i{transform:rotate(225deg)}
.aa-overview-golden-toggle:focus-visible{outline:2px solid #6f1831;outline-offset:4px;border-radius:4px}
.aa-show-registration-data--overview{margin:10px 0 0;border:1px solid #d9cdbd;border-left:4px solid #c08b21;border-radius:10px;background:#fffaf1;overflow:hidden}
.aa-show-registration-data--overview[hidden]{display:none!important}
.aa-show-registration-data--overview .aa-show-registration-data__body{padding:12px 16px 16px}
.aa-registration-extended-note{display:block;margin-top:4px;color:#8a5a11;font-size:.72rem;font-weight:800;line-height:1.25}
.aa-db-show-badge--extended{background:#f2d59b!important;color:#6b4410!important;border-color:#d2a253!important}
@media(max-width:760px){.aa-overview-golden-toggle{gap:7px}.aa-show-registration-data--overview .aa-show-registration-data__body{padding:10px 12px 12px}}

/* 0.4.250 — termin przedłużonych zapisów + nawigacja lokalizacji Google Maps / Waze. */
.aa-location-navigation{display:grid;gap:9px}
.aa-location-navigation__address{color:#244539!important;font-weight:800;text-decoration:underline!important;text-underline-offset:2px}
.aa-location-navigation__actions{display:flex;flex-wrap:wrap;gap:7px}
.aa-location-navigation__actions a,
.aa-location-navigation__actions button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border:1px solid #7b1830;border-radius:9px;background:#fffaf1;color:#7b1830!important;font:inherit;font-size:.72rem;font-weight:800;text-decoration:none!important;cursor:pointer}
.aa-location-navigation__actions a:hover,.aa-location-navigation__actions a:focus,
.aa-location-navigation__actions button:hover,.aa-location-navigation__actions button:focus{background:#7b1830;color:#fff3dd!important;border-color:#7b1830}
.aa-location-navigation__copy-status{color:#526744;font-size:.69rem;font-weight:800}
.aa-db-show-badge--extended{white-space:nowrap}
@media(max-width:760px){
  .aa-location-navigation__actions{display:grid;grid-template-columns:1fr 1fr}
  .aa-location-navigation__actions button{grid-column:1/-1}
}


/* 0.4.252 — modal podglądu zgłoszeń Golden Retriever. */
body.aa-registration-modal-open{overflow:hidden!important}
.aa-registration-modal[hidden]{display:none!important}
.aa-registration-modal{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;padding:24px}
.aa-registration-modal__backdrop{position:absolute;inset:0;background:rgba(20,25,22,.62);backdrop-filter:blur(2px)}
.aa-registration-modal__dialog{position:relative;z-index:1;width:min(760px,calc(100vw - 32px));max-height:min(84vh,820px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #d7c8b5;border-radius:18px;background:#fffaf1;box-shadow:0 24px 70px rgba(0,0,0,.28);color:#20382d}
.aa-registration-modal__header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e1d5c6;background:#fffaf1}
.aa-registration-modal__header small{display:block;margin:0 0 2px;color:#9c875f;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.aa-registration-modal__header h3{margin:0!important;color:#20382d!important;font-size:21px!important;line-height:1.2!important}
.aa-registration-modal__close{flex:0 0 auto;border:1px solid #761531!important;border-radius:999px!important;background:#761531!important;color:#fff7e8!important;padding:9px 14px!important;font-weight:700!important;cursor:pointer}
.aa-registration-modal__close:hover,.aa-registration-modal__close:focus-visible{background:#541023!important;color:#fff7e8!important}
.aa-registration-modal__content{overflow:auto;padding:18px 20px 22px}
.aa-registration-modal__show-title{margin:0 0 14px;font-weight:700;color:#20382d}
.aa-registration-modal__data{padding:0!important}
.aa-registration-modal .aa-show-registration-data__head{margin-bottom:12px}
.aa-registration-modal .aa-show-registration-sexes{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){
  .aa-registration-modal{align-items:flex-end;padding:0}
  .aa-registration-modal__dialog{width:100%;max-width:none;max-height:88vh;border-radius:18px 18px 0 0;border-bottom:0}
  .aa-registration-modal__header{padding:14px 15px;position:sticky;top:0;z-index:2}
  .aa-registration-modal__header h3{font-size:18px!important}
  .aa-registration-modal__close{padding:8px 11px!important;font-size:13px!important}
  .aa-registration-modal__content{padding:14px 14px calc(18px + env(safe-area-inset-bottom))}
  .aa-registration-modal .aa-show-registration-sexes{grid-template-columns:1fr!important}
}


/* 0.4.254 — treść katalogu i wyników w wspólnym modalu. */
.aa-registration-modal .aa-data-modal__data{margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.aa-registration-modal .aa-data-modal__data>p:first-child{margin-top:0}
.aa-registration-modal .aa-data-modal__data .aa-show-total-row{margin-top:0}
.aa-registration-modal .aa-data-modal__data details{margin-top:12px}
.aa-registration-modal .aa-data-modal__data .aa-show-ranked-list{max-width:none!important}
@media(max-width:700px){.aa-registration-modal .aa-data-modal__data .aa-show-total-row{align-items:flex-start;gap:10px}}

/* 0.4.255 — dopracowane modale Katalog / Wyniki; szczegółowe wyniki wewnątrz Wyników. */
.aa-registration-modal .aa-data-modal__data.is-catalog,
.aa-registration-modal .aa-data-modal__data.is-results{display:block!important}
.aa-registration-modal .aa-data-modal__data.is-catalog>.aa-show-total-row,
.aa-registration-modal .aa-data-modal__data.is-results>.aa-show-total-row{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  margin:0 0 14px!important;padding:14px 16px!important;border:1px solid #eadfce!important;border-radius:12px!important;background:#f5eddf!important
}
.aa-registration-modal .aa-data-modal__data.is-catalog>.aa-show-total-row .aa-show-golden-total,
.aa-registration-modal .aa-data-modal__data.is-results>.aa-show-total-row .aa-show-golden-total{margin:0!important;font-size:1rem!important;color:#20382d!important}
.aa-registration-modal .aa-data-modal__data.is-catalog>.aa-show-total-row .aa-show-golden-total strong,
.aa-registration-modal .aa-data-modal__data.is-results>.aa-show-total-row .aa-show-golden-total strong{font-size:1.55rem!important;line-height:1!important}
.aa-registration-modal .aa-data-modal__data.is-catalog>dl,
.aa-registration-modal .aa-data-modal__data.is-results>dl{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important
}
.aa-registration-modal .aa-data-modal__data.is-catalog>dl>div,
.aa-registration-modal .aa-data-modal__data.is-results>dl>div{
  display:block!important;margin:0!important;padding:12px 14px!important;border:1px solid #eadfce!important;border-radius:11px!important;background:#fffdf8!important;min-width:0!important
}
.aa-registration-modal .aa-data-modal__data.is-catalog>dl>div.is-wide,
.aa-registration-modal .aa-data-modal__data.is-results>dl>div.is-wide{grid-column:1/-1!important}
.aa-registration-modal .aa-data-modal__data.is-catalog>dl dt,
.aa-registration-modal .aa-data-modal__data.is-results>dl dt{margin:0 0 4px!important;font-size:.78rem!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.035em!important;color:#8f7d61!important}
.aa-registration-modal .aa-data-modal__data.is-catalog>dl dd,
.aa-registration-modal .aa-data-modal__data.is-results>dl dd{margin:0!important;font-size:1rem!important;font-weight:700!important;color:#20382d!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}
.aa-registration-modal .aa-data-modal__data .aa-show-source-classes,
.aa-registration-modal .aa-data-modal__data .aa-show-ranked-results{
  margin:12px 0 0!important;border:1px solid #e3d6c4!important;border-radius:12px!important;background:#fffdf8!important;overflow:hidden!important
}
.aa-registration-modal .aa-data-modal__data .aa-show-source-classes>summary,
.aa-registration-modal .aa-data-modal__data .aa-show-ranked-results>summary{
  display:flex!important;align-items:center!important;gap:8px!important;padding:12px 14px!important;background:#f8f1e6!important;color:#20382d!important;font-weight:800!important;cursor:pointer!important
}
.aa-registration-modal .aa-data-modal__data .aa-show-ranked-results>summary h5{margin:0!important;font-size:1rem!important;color:#20382d!important}
.aa-registration-modal .aa-data-modal__data .aa-show-ranked-results>summary small{margin-left:auto!important;color:#8b7960!important;font-size:.78rem!important}
.aa-registration-modal .aa-data-modal__data .aa-show-publication-classes{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:12px!important
}
.aa-registration-modal .aa-data-modal__data .aa-show-publication-classes>div{
  padding:12px!important;border:1px solid #eadfce!important;border-radius:10px!important;background:#fffaf2!important
}
.aa-registration-modal .aa-data-modal__data .aa-show-publication-classes>div>strong{display:block!important;margin:0 0 7px!important}
.aa-registration-modal .aa-data-modal__data .aa-show-publication-classes span{display:flex!important;justify-content:space-between!important;gap:12px!important;padding:5px 0!important;border-bottom:1px solid #eee3d5!important}
.aa-registration-modal .aa-data-modal__data .aa-show-publication-classes span:last-child{border-bottom:0!important}

/* Szczegółowe wyniki — czytelny układ, bez pionowego łamania nazw. */
.aa-registration-modal .aa-show-ranked-results .aa-show-result-sex{margin:0!important;border:0!important;border-top:1px solid #eadfce!important;border-radius:0!important;background:#fffdf8!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-result-sex>summary{padding:12px 14px!important;background:#fff9ef!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-result-sex>summary h6{margin:0!important;font-size:.98rem!important;color:#20382d!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-result-class{padding:12px 14px 4px!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-class-name{margin:0 0 9px!important;font-size:.9rem!important;color:#20382d!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-list{display:grid!important;gap:8px!important;max-width:none!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog){
  display:grid!important;grid-template-columns:42px 74px minmax(180px,1.4fr) minmax(120px,.8fr) minmax(190px,1fr)!important;
  grid-template-rows:auto auto!important;gap:4px 10px!important;align-items:center!important;
  padding:10px 12px!important;border:1px solid #eadfce!important;border-radius:10px!important;background:#fffaf3!important;min-width:0!important
}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{grid-column:1!important;grid-row:1/3!important;align-self:start!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number{grid-column:2!important;grid-row:1!important;white-space:nowrap!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{grid-column:3!important;grid-row:1/3!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{grid-column:4!important;grid-row:1/3!important;min-width:0!important;justify-self:start!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:5!important;grid-row:1!important;min-width:0!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:5!important;grid-row:2!important;min-width:0!important}
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner,
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder,
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner a,
.aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder a{
  overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important;line-height:1.35!important
}

@media(max-width:700px){
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl,
  .aa-registration-modal .aa-data-modal__data.is-results>dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aa-registration-modal .aa-data-modal__data .aa-show-publication-classes{grid-template-columns:1fr!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:38px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:4px 9px!important;padding:10px!important
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{grid-column:1!important;grid-row:1/6!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number,
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name,
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements,
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner,
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:2!important;grid-row:auto!important;width:auto!important;min-width:0!important}
}

/* 0.4.257 — zachowany pojedynczy marker w modalach; stabilizacja przypisań nie zmienia UI.
   Zostaje tylko nasz jeden chevron ▶ / ▼. */
.aa-registration-modal__data details>summary{list-style:none}
.aa-registration-modal__data details>summary::-webkit-details-marker{display:none}
.aa-registration-modal__data details>summary::marker{content:''}

/* 0.4.283 — szerszy modal Katalog/Wyniki na desktopie + czytelny link psa w profilu sędziego. */
@media (min-width: 901px){
  .aa-registration-modal__dialog{width:min(1200px,calc(100vw - 64px));max-width:96vw}
}
.aa-judge-dog-name-link{color:inherit!important;text-decoration:none!important;font-weight:inherit}
.aa-judge-dog-name-link:hover,.aa-judge-dog-name-link:focus-visible{text-decoration:underline!important;color:#174f3d!important}
.aa-registration-modal .aa-judge-dog-events{display:block!important}

/* 0.4.284 — szczegółowe wyniki: ocena i tytuły są odrębnymi kolumnami. */
@media(min-width:901px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{display:contents}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements>.aa-show-grade{
    grid-column:4;justify-self:start;align-self:center;white-space:nowrap;padding-right:10px;
  }
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements>.aa-show-result-badges{
    grid-column:5;display:flex;align-items:center;align-content:center;flex-wrap:wrap;gap:5px 7px;min-width:0;padding-left:4px;
  }
}
@media(max-width:900px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{grid-column:3/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-width:0}
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements>.aa-show-result-badges{display:flex;flex-wrap:wrap;gap:4px 6px;min-width:0}
}
@media(max-width:600px){
  .aa-show-calendar-wrap .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{grid-column:1/-1}
}

/* 0.4.291 — szczegółowe wyniki: sześć niezależnych kolumn.
   Ocena i tytuły nie współdzielą już kolumny z właścicielem/hodowcą. */
@media(min-width:901px){
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:42px 70px minmax(220px,1.45fr) minmax(105px,.55fr) minmax(150px,.8fr) minmax(240px,1.15fr)!important;
    column-gap:12px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{grid-column:1!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number{grid-column:2!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name{grid-column:3!important;grid-row:1/3!important;padding-right:8px!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{display:contents!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements>.aa-show-grade{grid-column:4!important;grid-row:1/3!important;align-self:center!important;white-space:normal!important;min-width:0!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements>.aa-show-result-badges{grid-column:5!important;grid-row:1/3!important;align-self:center!important;display:flex!important;flex-wrap:wrap!important;gap:5px!important;min-width:0!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-owner{grid-column:6!important;grid-row:1!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-breeder{grid-column:6!important;grid-row:2!important}
}

/* 0.4.292 — kompaktowy widok mobile: mniej dominujące fonty, pola i akcje.
   Zakres obejmuje publiczny kalendarz/bazę oraz modale Katalog/Wyniki. */
@media(max-width:700px){
  /* Modal danych: więcej treści na ekranie, bez utraty czytelności. */
  .aa-registration-modal__dialog{
    max-height:92vh!important;
    border-radius:14px 14px 0 0!important;
  }
  .aa-registration-modal__header{
    gap:10px!important;
    padding:9px 11px!important;
  }
  .aa-registration-modal__header small{
    margin-bottom:1px!important;
    font-size:9px!important;
    letter-spacing:.04em!important;
  }
  .aa-registration-modal__header h3{
    font-size:15px!important;
    line-height:1.15!important;
  }
  .aa-registration-modal__close{
    min-height:32px!important;
    padding:5px 10px!important;
    font-size:11px!important;
    line-height:1!important;
  }
  .aa-registration-modal__content{
    padding:9px 10px calc(12px + env(safe-area-inset-bottom))!important;
  }
  .aa-registration-modal__show-title{
    margin:0 0 9px!important;
    font-size:.86rem!important;
    line-height:1.25!important;
  }

  /* Główne podsumowanie i przycisk PDF. */
  .aa-registration-modal .aa-data-modal__data.is-catalog>.aa-show-total-row,
  .aa-registration-modal .aa-data-modal__data.is-results>.aa-show-total-row{
    gap:8px!important;
    margin-bottom:9px!important;
    padding:9px 10px!important;
    border-radius:9px!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>.aa-show-total-row .aa-show-golden-total,
  .aa-registration-modal .aa-data-modal__data.is-results>.aa-show-total-row .aa-show-golden-total{
    font-size:.78rem!important;
    line-height:1.15!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>.aa-show-total-row .aa-show-golden-total strong,
  .aa-registration-modal .aa-data-modal__data.is-results>.aa-show-total-row .aa-show-golden-total strong{
    font-size:1.2rem!important;
  }
  .aa-registration-modal .aa-show-document-preview,
  .aa-registration-modal .aa-show-document-direct{
    min-height:28px!important;
    height:auto!important;
    margin:0!important;
    padding:4px 8px!important;
    border-radius:7px!important;
    font-size:.64rem!important;
    line-height:1.1!important;
  }

  /* Kafelki Psy/Suki/NB/Sędzia. */
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl,
  .aa-registration-modal .aa-data-modal__data.is-results>dl{
    gap:7px!important;
    margin-bottom:9px!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl>div,
  .aa-registration-modal .aa-data-modal__data.is-results>dl>div{
    padding:8px 9px!important;
    border-radius:8px!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dt,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dt{
    margin-bottom:2px!important;
    font-size:.6rem!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dd,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dd{
    font-size:.82rem!important;
    line-height:1.25!important;
  }

  /* Sekcje Klasy / Wyniki szczegółowe. */
  .aa-registration-modal .aa-data-modal__data .aa-show-source-classes,
  .aa-registration-modal .aa-data-modal__data .aa-show-ranked-results{
    margin-top:8px!important;
    border-radius:9px!important;
  }
  .aa-registration-modal .aa-data-modal__data .aa-show-source-classes>summary,
  .aa-registration-modal .aa-data-modal__data .aa-show-ranked-results>summary{
    gap:5px!important;
    padding:8px 9px!important;
    font-size:.78rem!important;
    line-height:1.2!important;
  }
  .aa-registration-modal .aa-data-modal__data .aa-show-ranked-results>summary h5{
    font-size:.8rem!important;
  }
  .aa-registration-modal .aa-data-modal__data .aa-show-ranked-results>summary small{
    font-size:.6rem!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-sex>summary{
    padding:8px 9px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-sex>summary h6{
    font-size:.78rem!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-class{
    padding:8px 7px 3px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-class-name{
    margin-bottom:6px!important;
    font-size:.72rem!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-list{
    gap:6px!important;
  }

  /* Pojedynczy wynik: ciaśniejszy i mniejszy, nadal jedna czytelna kolumna danych. */
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog){
    grid-template-columns:30px minmax(0,1fr)!important;
    gap:2px 7px!important;
    padding:7px 8px!important;
    border-radius:8px!important;
    font-size:.72rem!important;
    line-height:1.25!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-place-badge{
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    font-size:.72rem!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-catalog-number{
    font-size:.62rem!important;
    line-height:1.2!important;
    color:#85786b!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name,
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-name a{
    font-size:.72rem!important;
    line-height:1.22!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog)>.aa-show-result-achievements{
    gap:3px 5px!important;
    font-size:.68rem!important;
    line-height:1.2!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-grade{
    font-size:.66rem!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-badges{
    gap:3px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-badges>*{
    padding:2px 5px!important;
    font-size:.58rem!important;
    line-height:1.15!important;
    border-radius:999px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-owner,
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-breeder,
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-owner a,
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-breeder a{
    font-size:.68rem!important;
    line-height:1.25!important;
  }

  /* Publiczne karty/listy: subtelne zmniejszenie kontrolek na telefonie. */
  .aa-show-calendar-wrap button,
  .aa-show-calendar-wrap .button,
  .aa-show-calendar-wrap a.button{
    min-height:28px;
  }
  .aa-show-calendar-wrap .aa-show-document-preview,
  .aa-show-calendar-wrap .aa-show-document-direct{
    min-height:27px!important;
    padding:3px 8px!important;
    font-size:.62rem!important;
  }
}

@media(max-width:390px){
  .aa-registration-modal__header h3{font-size:14px!important}
  .aa-registration-modal__close{padding:5px 8px!important;font-size:10px!important}
  .aa-registration-modal__content{padding-left:8px!important;padding-right:8px!important}
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl,
  .aa-registration-modal .aa-data-modal__data.is-results>dl{gap:6px!important}
  .aa-registration-modal .aa-show-ranked-results .aa-show-ranked-entry:not(.is-own-dog){grid-template-columns:28px minmax(0,1fr)!important;padding:6px 7px!important}
}


/* 0.4.293 — mobile compact + poprawny stos modali + ikona otwarcia karty. */
/* Warstwy: profil wystawy < katalog/wyniki < podgląd PDF. */
.aa-detail-modal{z-index:2147483000!important}
.aa-registration-modal{z-index:2147483400!important}
.aa-show-public-preview{z-index:2147483600!important}

/* Karta otwiera modal, więc nie pokazujemy starego chevrona „V”. */
.aa-db-show-card__chevron{
  width:24px!important;height:24px!important;border:0!important;border-radius:999px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(111,24,49,.07)!important;transform:none!important;
}
.aa-db-show-card__chevron::before{
  content:'›';display:block;color:#6f1831;font-size:1.45rem;font-weight:800;line-height:1;
  transform:translateY(-1px);
}
.aa-db-show-card[open] .aa-db-show-card__chevron{transform:none!important}

@media(max-width:760px){
  /* Psy / Suki / NB-ABS w jednym zwartym rzędzie; sędzia poniżej na całą szerokość. */
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl,
  .aa-registration-modal .aa-data-modal__data.is-results>dl{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;margin:6px 0 8px!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl>div,
  .aa-registration-modal .aa-data-modal__data.is-results>dl>div{
    min-width:0!important;padding:5px 6px!important;border-radius:7px!important;text-align:center!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl>div:nth-child(n+4),
  .aa-registration-modal .aa-data-modal__data.is-results>dl>div:nth-child(n+4){
    grid-column:1/-1!important;text-align:left!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dt,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dt{
    font-size:.52rem!important;line-height:1.05!important;margin:0 0 1px!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dd,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dd{
    margin:0!important;font-size:.74rem!important;line-height:1.12!important;
  }

  /* Starsza sekcja statystyk zgłoszeń — również w jednym rzędzie. */
  .aa-registration-modal .aa-show-registration-sexes{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
  }
  .aa-registration-modal .aa-show-registration-sexes>*{min-width:0!important;padding:5px 6px!important}

  /* Jeszcze ciaśniejsze akcje i pola na telefonie. */
  .aa-registration-modal .aa-show-document-preview,
  .aa-registration-modal .aa-show-document-direct,
  .aa-detail-modal .aa-show-document-preview,
  .aa-detail-modal .aa-show-document-direct{
    min-height:25px!important;padding:3px 7px!important;font-size:.6rem!important;border-radius:6px!important;
  }
  .aa-db-show-card__summary-actions a{
    min-height:28px!important;padding:5px 8px!important;font-size:.62rem!important;border-radius:7px!important;
  }
  .aa-db-show-card__chevron{width:22px!important;height:22px!important}
  .aa-db-show-card__chevron::before{font-size:1.28rem!important}
}

@media(max-width:390px){
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl,
  .aa-registration-modal .aa-data-modal__data.is-results>dl{gap:4px!important}
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl>div,
  .aa-registration-modal .aa-data-modal__data.is-results>dl>div{padding:4px 5px!important}
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dd,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dd{font-size:.7rem!important}
}

/* 0.4.296 — mobile: kompaktowe profile właściciela/hodowcy + modal encji nad modalem danych. */
.aa-detail-modal.aa-detail-modal--above-registration{z-index:2147483550!important}

@media(max-width:760px){
  /* Profile osób są informacyjne — na telefonie mają być znacznie gęstsze. */
  .aa-detail-modal .aa-owner-profile,
  .aa-detail-modal .aa-breeder-profile{
    padding:7px 7px 18px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-public-module-nav,
  .aa-detail-modal .aa-breeder-profile .aa-public-module-nav{
    gap:5px!important;
    margin-bottom:7px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-public-module-nav-link,
  .aa-detail-modal .aa-breeder-profile .aa-public-module-nav-link{
    min-height:31px!important;
    padding:5px 5px!important;
    border-radius:999px!important;
    font-size:.61rem!important;
    line-height:1.1!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px!important;
    border-radius:12px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-mark.is-large,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-mark.is-large{
    width:42px!important;
    height:42px!important;
    font-size:1.35rem!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero>div:nth-child(2)>span,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero>div:nth-child(2)>span{
    font-size:.52rem!important;
    letter-spacing:.06em!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero h2,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero h2{
    margin:2px 0 3px!important;
    font-size:1.18rem!important;
    line-height:1.08!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero p,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero p{
    margin:1px 0!important;
    font-size:.65rem!important;
    line-height:1.22!important;
  }
  /* Psy / Wystawy / Ostatnio zawsze w jednym rzędzie. */
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero dl,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero dl{
    grid-column:1/-1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero dl>div,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero dl>div{
    padding:5px 3px!important;
    border-radius:8px!important;
    min-width:0!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero dt,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero dt{
    font-size:.48rem!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-dog-hero dd,
  .aa-detail-modal .aa-breeder-profile .aa-golden-dog-hero dd{
    margin-top:1px!important;
    font-size:.78rem!important;
    line-height:1.05!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-profile-watch-bar,
  .aa-detail-modal .aa-breeder-profile .aa-profile-watch-bar{
    margin:7px 0 9px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-profile-watch-bar .aa-entity-watch-action,
  .aa-detail-modal .aa-breeder-profile .aa-profile-watch-bar .aa-entity-watch-action{
    min-height:31px!important;
    padding:5px 8px!important;
    font-size:.63rem!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-browser,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-browser{
    padding:8px!important;
    border-radius:12px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-browser-head,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-browser-head{
    margin-bottom:7px!important;
    gap:4px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-browser-head h3,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-browser-head h3{
    font-size:1rem!important;
    line-height:1.1!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-browser-head p,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-browser-head p{
    margin-top:1px!important;
    font-size:.58rem!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-grid,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-grid{
    gap:5px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-entity-inline-card>summary.aa-golden-db-dog-card,
  .aa-detail-modal .aa-breeder-profile .aa-entity-inline-card>summary.aa-golden-db-dog-card{
    grid-template-columns:30px minmax(0,1fr) 12px!important;
    gap:6px!important;
    min-height:54px!important;
    padding:6px 7px!important;
    border-radius:10px!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-mark,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-mark{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    font-size:.58rem!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-copy strong,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-copy strong{
    font-size:.7rem!important;
    line-height:1.13!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-copy small,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-copy small{
    margin-top:1px!important;
    font-size:.54rem!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-copy span,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-copy span{
    margin-top:2px!important;
    font-size:.54rem!important;
  }
  .aa-detail-modal .aa-owner-profile .aa-golden-db-dog-card>i,
  .aa-detail-modal .aa-breeder-profile .aa-golden-db-dog-card>i{
    font-size:.9rem!important;
  }
}


/* 0.4.297 — mobile: 4 statystyki sędziego w jednym rzędzie + wyśrodkowane krótkie modale danych. */
@media(max-width:760px){
  /* Sędzia: Wystawy / Oceny / Psy / Ostatnio w jednym zwartym rzędzie. */
  .aa-detail-modal .aa-judge-profile{
    padding:7px 7px 18px!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px!important;
    border-radius:12px!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-db-dog-mark.is-large{
    width:42px!important;
    height:42px!important;
    font-size:1.35rem!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero>div:nth-child(2)>span{
    font-size:.52rem!important;
    letter-spacing:.06em!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero h2{
    margin:2px 0 3px!important;
    font-size:1.18rem!important;
    line-height:1.08!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero p{
    margin:1px 0!important;
    font-size:.65rem!important;
    line-height:1.22!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero dl{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    margin:4px 0 0!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero dl>div{
    min-width:0!important;
    padding:5px 2px!important;
    border-radius:8px!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero dt{
    font-size:.43rem!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
  .aa-detail-modal .aa-judge-profile .aa-golden-dog-hero dd{
    margin-top:1px!important;
    font-size:.74rem!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }

  /* Katalog/Wyniki: nie jako bottom-sheet. Krótkie okno jest wyśrodkowane,
     długie samo rośnie do prawie pełnej wysokości i przewija zawartość. */
  .aa-registration-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:12px!important;
  }
  .aa-registration-modal__dialog{
    width:min(100%,720px)!important;
    max-width:calc(100vw - 24px)!important;
    height:auto!important;
    max-height:calc(100dvh - 24px)!important;
    border:1px solid #d7c8b5!important;
    border-radius:16px!important;
  }
  .aa-registration-modal__header{
    position:sticky!important;
    top:0!important;
  }
  .aa-registration-modal__content{
    flex:0 1 auto!important;
    max-height:calc(100dvh - 86px)!important;
    overflow:auto!important;
    padding-bottom:calc(12px + env(safe-area-inset-bottom))!important;
  }
}

/* 0.4.311 — pełna metryczka własnego psa / Wystawy.NET */
.aa-dog-profile-meta-04311{gap:7px!important}
.aa-dog-profile-meta-04311>span{display:inline-flex!important;align-items:center!important;gap:5px!important}
.aa-dog-profile-meta-04311>span b{font-weight:700}
.aa-dog-profile-meta-04311>span i{font-style:normal}
.aa-dog-profile-lineage-04311{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin-top:10px;padding:9px 11px;border:1px solid rgba(111,24,49,.12);border-radius:11px;background:rgba(255,255,255,.48);font-size:.76rem;line-height:1.35}
.aa-dog-profile-lineage-04311>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px;min-width:0}
.aa-dog-profile-lineage-04311 b{color:#6f1831}
.aa-dog-profile-lineage-04311 span{min-width:0;overflow-wrap:anywhere}
.aa-dog-profile-sync-04311{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}
.aa-dog-profile-sync-04311 button{appearance:none;border:1px solid #6f1831;border-radius:999px;background:#fffaf0;color:#6f1831;padding:6px 10px;font-size:.72rem;font-weight:700;cursor:pointer}
.aa-dog-profile-sync-04311 button:hover{background:#6f1831;color:#fff4df}
.aa-dog-profile-sync-04311 small{font-size:.66rem;color:#71686a}
@media(max-width:720px){
  .aa-dog-profile-lineage-04311{grid-template-columns:1fr!important;font-size:.68rem;padding:7px 8px;gap:5px}
  .aa-dog-profile-lineage-04311>div{grid-template-columns:62px minmax(0,1fr)}
  .aa-dog-profile-sync-04311 button{font-size:.66rem;padding:5px 8px}
  .aa-dog-profile-sync-04311 small{font-size:.61rem}
}

/* 0.4.313 — profile psów: jedna linia na osobę, właściciel i hodowca w osobnych wierszach; bez nawigacji modułów w modalu. */
.aa-dog-profile-identity-0230{
  grid-template-columns:1fr!important;
}
.aa-dog-profile-person-row{
  width:100%!important;
  min-width:0!important;
}
.aa-dog-profile-person-row>span{
  min-width:0!important;
}
.aa-dog-profile-person,
.aa-detail-modal .aa-dog-profile-person{
  max-width:100%!important;
  flex-wrap:nowrap!important;
}
.aa-dog-profile-person a,
.aa-dog-profile-person>span,
.aa-detail-modal .aa-dog-profile-person a,
.aa-detail-modal .aa-dog-profile-person>span{
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
@media(min-width:721px){
  .aa-dog-profile-person a,
  .aa-dog-profile-person>span,
  .aa-detail-modal .aa-dog-profile-person a,
  .aa-detail-modal .aa-dog-profile-person>span{white-space:nowrap!important}
}
.aa-detail-modal .aa-dog-profile>.aa-public-module-nav,
.aa-detail-modal .aa-watched-dog-profile>.aa-public-module-nav,
.aa-detail-modal .aa-golden-dog-profile>.aa-public-module-nav{
  display:none!important;
}

/* 0.4.314 — metryczka psa: właściciel i hodowca zawsze w osobnych, dwuwierszowych blokach. */
.aa-dog-profile-identity-0230,
.aa-detail-modal .aa-dog-profile-identity-0230{
  grid-template-columns:1fr!important;
  gap:7px!important;
}
.aa-dog-profile-person-row,
.aa-detail-modal .aa-dog-profile-person-row{
  grid-template-columns:1fr!important;
  gap:3px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
}
.aa-dog-profile-person-row>b,
.aa-detail-modal .aa-dog-profile-person-row>b{
  display:block!important;
  width:100%!important;
  line-height:1.2!important;
}
.aa-dog-profile-person-row>span,
.aa-detail-modal .aa-dog-profile-person-row>span{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
}
.aa-dog-profile-person,
.aa-detail-modal .aa-dog-profile-person{
  max-width:100%!important;
  min-width:0!important;
}
.aa-dog-profile-person a,
.aa-dog-profile-person>span,
.aa-detail-modal .aa-dog-profile-person a,
.aa-detail-modal .aa-dog-profile-person>span{
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  hyphens:none!important;
}

/* 0.4.315 — właściciel i hodowca obok siebie; dane osoby mogą zawijać się do dwóch linii. */
.aa-dog-profile-identity-0230,
.aa-detail-modal .aa-dog-profile-identity-0230{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
}
.aa-dog-profile-person-row,
.aa-detail-modal .aa-dog-profile-person-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto!important;
  gap:4px!important;
  min-width:0!important;
  width:100%!important;
  align-content:start!important;
}
.aa-dog-profile-person-row>b,
.aa-detail-modal .aa-dog-profile-person-row>b{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.aa-dog-profile-person-row>span,
.aa-detail-modal .aa-dog-profile-person-row>span{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  align-items:flex-start!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
}
.aa-dog-profile-person,
.aa-detail-modal .aa-dog-profile-person{
  display:flex!important;
  min-width:0!important;
  max-width:100%!important;
  align-items:flex-start!important;
  flex-wrap:wrap!important;
  column-gap:4px!important;
  row-gap:1px!important;
  line-height:1.25!important;
}
.aa-dog-profile-person a,
.aa-dog-profile-person>span:not(.aa-person-flag),
.aa-detail-modal .aa-dog-profile-person a,
.aa-detail-modal .aa-dog-profile-person>span:not(.aa-person-flag){
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  min-width:0!important;
}
.aa-dog-profile-person a,
.aa-detail-modal .aa-dog-profile-person a{
  flex:1 1 110px!important;
}
.aa-dog-profile-person small,
.aa-detail-modal .aa-dog-profile-person small{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
@media(max-width:540px){
  .aa-dog-profile-identity-0230,
  .aa-detail-modal .aa-dog-profile-identity-0230{
    grid-template-columns:1fr!important;
  }
}


/* 0.4.316 — profil psa: właściciel + hodowca obok siebie, czytelne dwie linie wewnątrz kafelka. */
.aa-dog-profile-identity-0230,
.aa-detail-modal .aa-dog-profile-identity-0230{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
}
.aa-dog-profile-person-row,
.aa-detail-modal .aa-dog-profile-person-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto minmax(34px,auto)!important;
  gap:3px!important;
  min-width:0!important;
  overflow:hidden!important;
}
.aa-dog-profile-person-row>span,
.aa-detail-modal .aa-dog-profile-person-row>span{
  display:block!important;
  min-width:0!important;
  width:100%!important;
}
.aa-dog-profile-person,
.aa-detail-modal .aa-dog-profile-person{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:5px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
.aa-dog-profile-person .aa-person-flag,
.aa-detail-modal .aa-dog-profile-person .aa-person-flag{grid-column:1;grid-row:1;align-self:start;margin-top:1px}
.aa-dog-profile-person a,
.aa-dog-profile-person>span:not(.aa-person-flag),
.aa-detail-modal .aa-dog-profile-person a,
.aa-detail-modal .aa-dog-profile-person>span:not(.aa-person-flag){
  grid-column:2;
  grid-row:1 / span 2;
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  line-height:1.22!important;
}
.aa-dog-profile-person small,
.aa-detail-modal .aa-dog-profile-person small{
  grid-column:3;
  grid-row:2;
  align-self:end;
  white-space:nowrap!important;
  margin:0!important;
  line-height:1.1!important;
}
.aa-dog-profile-person small:before,
.aa-detail-modal .aa-dog-profile-person small:before{content:'· '!important}
.aa-dog-profile-affix-row{grid-column:1/-1!important}
@media(max-width:540px){
  .aa-dog-profile-identity-0230,
  .aa-detail-modal .aa-dog-profile-identity-0230{grid-template-columns:1fr!important}
}

/* 0.4.316 — synchronizacja jest akcją administracyjną, a nie głównym CTA profilu. */
.aa-dog-profile-sync-04311{margin-top:7px!important;gap:5px!important}
.aa-dog-profile-sync-04311 button{padding:4px 8px!important;font-size:.66rem!important;line-height:1.2!important;min-height:26px!important}
.aa-dog-profile-sync-04311.is-synced{display:inline-flex!important;align-items:center!important;padding:3px 6px!important;border:1px solid #ded3c5;border-radius:999px;background:#fffaf1}
.aa-dog-profile-sync-state{font-size:.64rem;color:#6c665f;font-weight:700;white-space:nowrap}
.aa-dog-profile-sync-04311 .aa-dog-profile-resync{width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border-radius:50%!important;font-size:.82rem!important;display:inline-grid!important;place-items:center!important}


/* 0.4.317 — metryczka profilu: flaga, dwuliniowa nazwa i duży kod kraju jako trzy stabilne kolumny. */
.aa-dog-profile-person-04317,
.aa-detail-modal .aa-dog-profile-person-04317{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 30px!important;
  grid-template-rows:repeat(2,minmax(17px,auto))!important;
  align-items:center!important;
  column-gap:7px!important;
  width:100%!important;
  min-height:40px!important;
}
.aa-dog-profile-person-04317 .aa-person-flag,
.aa-detail-modal .aa-dog-profile-person-04317 .aa-person-flag{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  justify-self:center!important;
  margin:0!important;
  font-size:1.45rem!important;
  line-height:1!important;
}
.aa-dog-profile-person-04317>a,
.aa-dog-profile-person-04317>.aa-person-name,
.aa-detail-modal .aa-dog-profile-person-04317>a,
.aa-detail-modal .aa-dog-profile-person-04317>.aa-person-name{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  display:grid!important;
  grid-template-rows:repeat(2,minmax(17px,auto))!important;
  align-content:center!important;
  gap:0!important;
  min-width:0!important;
  line-height:1.12!important;
}
.aa-dog-profile-person-04317>a>span,
.aa-dog-profile-person-04317>.aa-person-name>span,
.aa-detail-modal .aa-dog-profile-person-04317>a>span,
.aa-detail-modal .aa-dog-profile-person-04317>.aa-person-name>span{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  min-width:0!important;
}
.aa-dog-profile-person-04317 small,
.aa-detail-modal .aa-dog-profile-person-04317 small{
  grid-column:3!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  justify-self:center!important;
  margin:0!important;
  padding:0!important;
  font-size:.86rem!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.03em!important;
  color:#5b514a!important;
  white-space:nowrap!important;
}
.aa-dog-profile-person-04317 small:before,
.aa-detail-modal .aa-dog-profile-person-04317 small:before{content:''!important}

/* 0.4.317 — synchronizacja profilu jest przy etykiecie „Profil wystawowy”. */
.aa-dog-profile-kicker-row-04317{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-width:0!important;
  margin-bottom:2px!important;
}
.aa-dog-profile-kicker-row-04317 .aa-dog-profile-kicker{margin:0!important}
.aa-dog-profile-kicker-row-04317 .aa-dog-profile-sync-04311{
  margin:0!important;
  flex:0 0 auto!important;
}
.aa-dog-profile-kicker-row-04317 .aa-dog-profile-sync-04311 button{
  min-height:22px!important;
  padding:3px 7px!important;
  font-size:.61rem!important;
}
@media(max-width:540px){
  .aa-dog-profile-person-04317,
  .aa-detail-modal .aa-dog-profile-person-04317{grid-template-columns:30px minmax(0,1fr) 27px!important;column-gap:5px!important}
  .aa-dog-profile-person-04317 .aa-person-flag,
  .aa-detail-modal .aa-dog-profile-person-04317 .aa-person-flag{font-size:1.28rem!important}
  .aa-dog-profile-person-04317 small,
  .aa-detail-modal .aa-dog-profile-person-04317 small{font-size:.76rem!important}
}

/* 0.4.318 — flaga w metryczce: większy medalion i mniejsza grafika flagi, aby obrys nie nachodził na flagę. */
.aa-dog-profile-person-04317 .aa-person-flag,
.aa-detail-modal .aa-dog-profile-person-04317 .aa-person-flag{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  flex-basis:28px!important;
  font-size:1.12rem!important;
  line-height:1!important;
  padding:2px!important;
  box-sizing:border-box!important;
}
@media(max-width:720px){
  .aa-dog-profile-person-04317 .aa-person-flag,
  .aa-detail-modal .aa-dog-profile-person-04317 .aa-person-flag{width:26px!important;height:26px!important;min-width:26px!important;flex-basis:26px!important;font-size:1.02rem!important;padding:2px!important}
}

/* 0.4.344 — subtelne ręczne odświeżenie statystyk Golden Retriever dla zalogowanych. */
.aa-overview-golden-line{display:flex;align-items:center;gap:6px;min-width:0}
.aa-overview-golden-line>.aa-overview-golden-toggle{flex:1 1 auto;min-width:0}
.aa-golden-refresh{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:#6f1831;font:600 16px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;opacity:.58;transition:opacity .16s ease,background .16s ease,transform .16s ease}
.aa-golden-refresh:hover,.aa-golden-refresh:focus-visible{opacity:1;background:rgba(111,24,49,.08);outline:none}
.aa-golden-refresh.is-loading span{display:inline-block;animation:aa-golden-refresh-spin .75s linear infinite}
.aa-golden-refresh.is-success{opacity:1;background:rgba(58,112,81,.10)}
.aa-golden-refresh.is-error{opacity:1;background:rgba(154,54,54,.10)}
.aa-golden-refresh::after{content:attr(data-tooltip);position:absolute;right:0;bottom:calc(100% + 8px);z-index:40;display:none;max-width:300px;width:max-content;padding:7px 9px;border:1px solid #d9cdbd;border-radius:7px;background:#fffaf1;color:#51483b;box-shadow:0 5px 16px rgba(41,31,22,.14);font-size:11px;font-weight:500;line-height:1.25;white-space:normal;text-align:left}
.aa-golden-refresh:hover::after,.aa-golden-refresh:focus-visible::after{display:block}
.aa-golden-refresh-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.aa-db-show-card__overview-golden.is-refreshed [data-aa-golden-summary="1"]{animation:aa-golden-refresh-pulse .9s ease}
@keyframes aa-golden-refresh-spin{to{transform:rotate(360deg)}}
@keyframes aa-golden-refresh-pulse{0%,100%{opacity:1}45%{opacity:.42}}
@media(max-width:760px){.aa-golden-refresh::after{right:-6px;max-width:240px}.aa-golden-refresh{flex-basis:24px;width:24px;height:24px}}

/* Długie tytuły i wyróżnienia wyników pozostają w swojej kolumnie. */
.aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-result-achievements,
.aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-result-badges,
.aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-result-titles,
.aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-special-awards{
  min-width:0;
  max-width:100%;
}
.aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-title-badge,
.aa-show-calendar-wrap .aa-show-ranked-entry .aa-show-special-award{
  box-sizing:border-box;
  width:auto;
  max-width:100%;
  height:auto;
  min-height:24px;
  padding:3px 8px;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  line-height:1.25;
  text-align:center;
}

/* Długie tytuły i wyróżnienia wyników pozostają w swojej kolumnie. */
.aa-show-ranked-entry .aa-show-result-achievements,
.aa-show-ranked-entry .aa-show-result-badges,
.aa-show-ranked-entry .aa-show-result-titles,
.aa-show-ranked-entry .aa-show-special-awards{
  min-width:0;
  max-width:100%;
}
.aa-show-ranked-entry .aa-show-title-badge,
.aa-show-ranked-entry .aa-show-special-award{
  box-sizing:border-box;
  width:auto;
  max-width:100%;
  height:auto;
  min-height:24px;
  padding:3px 8px;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
  line-height:1.25;
  text-align:center;
}

/* 0.4.362 — osobny modal psa z profilu sędziego zawsze nad modalem sędziego. */
.aa-detail-modal--judge-dog-child{z-index:2147483600!important;padding:32px!important}
.aa-detail-modal--judge-dog-child .aa-detail-modal__backdrop{background:rgba(18,25,22,.78)}
.aa-detail-modal--judge-dog-child .aa-detail-modal__dialog{
  height:auto!important;
  max-height:min(760px,calc(100dvh - 64px))!important;
}
.aa-detail-modal--judge-dog-child .aa-detail-modal__body{
  min-height:0!important;
  overflow:auto!important;
  scroll-behavior:smooth;
}
@media(min-width:901px){
  .aa-detail-modal--judge-dog-child .aa-golden-dog-relations,
  .aa-detail-modal--judge-dog-child .aa-dog-profile-relations{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
  }
}
@media(max-width:900px){
  .aa-detail-modal--judge-dog-child{padding:10px!important}
  .aa-detail-modal--judge-dog-child .aa-detail-modal__dialog{max-height:calc(100dvh - 20px)!important}
}

/* 0.4.363 — jeden standard wymiaru i ładowania modali encji na desktopie. */
@media(min-width:901px){
  .aa-detail-modal{padding:24px!important}
  .aa-detail-modal__dialog,
  .aa-detail-modal--judge-dog-child .aa-detail-modal__dialog{
    width:min(1320px,calc(100vw - 48px))!important;
    height:auto!important;
    min-height:0!important;
    max-height:min(820px,calc(100dvh - 48px))!important;
  }
  .aa-detail-modal__body,
  .aa-detail-modal--judge-dog-child .aa-detail-modal__body{
    flex:0 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
  }
  /* Właściciel i hodowca obok siebie; przydomek w osobnym pełnym wierszu. */
  .aa-detail-modal .aa-golden-dog-relations,
  .aa-detail-modal .aa-dog-profile-relations,
  .aa-detail-modal--judge-dog-child .aa-golden-dog-relations,
  .aa-detail-modal--judge-dog-child .aa-dog-profile-relations{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    align-items:start!important;
  }
  .aa-detail-modal .aa-golden-dog-relations>div:nth-child(n+3),
  .aa-detail-modal .aa-dog-profile-relations>div:nth-child(n+3),
  .aa-detail-modal--judge-dog-child .aa-golden-dog-relations>div:nth-child(n+3),
  .aa-detail-modal--judge-dog-child .aa-dog-profile-relations>div:nth-child(n+3){grid-column:1/-1!important}
}

/* 0.4.363 — ręczne odświeżenie jednej sekcji wystawy. */
.aa-show-refresh-line{display:flex;align-items:center;gap:6px;min-width:0}
.aa-show-section-refresh{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:transparent;color:#6f1831;cursor:pointer;font:700 16px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;opacity:.62;transition:opacity .16s ease,background .16s ease,transform .16s ease}
.aa-show-section-refresh:hover,.aa-show-section-refresh:focus-visible{opacity:1;background:rgba(111,24,49,.08);outline:none}
.aa-show-section-refresh.is-loading span{display:inline-block;animation:aa-golden-refresh-spin .75s linear infinite}
.aa-show-section-refresh.is-success{opacity:1;background:rgba(58,112,81,.10)}
.aa-show-section-refresh.is-error{opacity:1;background:rgba(154,54,54,.10)}
.aa-show-publication-source>summary .aa-show-section-refresh--source{margin-left:auto}
.aa-show-publication-source>summary .aa-show-section-refresh--source+*{margin-left:0}

/* 0.4.364 — jedna zasada profili: relacyjne listy domyślnie zwinięte. */
.aa-profile-relation-section{
  margin-top:24px;
  border:1px solid #e3d5bd;
  border-radius:16px;
  background:#fffaf1;
  overflow:hidden;
}
.aa-profile-relation-section > .aa-profile-relation-summary{
  min-height:70px;
  padding:0 18px;
  margin:0;
  border:0;
  background:#fffaf1;
  cursor:pointer;
  list-style:none;
}
.aa-profile-relation-section > .aa-profile-relation-summary::-webkit-details-marker{display:none}
.aa-profile-relation-section > .aa-profile-relation-summary h3{margin:0}
.aa-profile-relation-section > .aa-profile-relation-body{padding:18px}
.aa-profile-relation-section:not([open]) > .aa-profile-relation-body{display:none}
.aa-profile-relation-section[open] > .aa-profile-relation-summary{border-bottom:1px solid #eadfcd}
.aa-profile-relation-section .aa-dog-section-chevron{transition:transform .18s ease}
.aa-profile-relation-section[open] .aa-dog-section-chevron{transform:rotate(180deg)}

/* W profilu sędziego nie pokazujemy już pełnej, rozwiniętej wystawy w historii. */
.aa-judge-show-compact-list .aa-dog-profile-event--light{
  display:grid;
  grid-template-columns:minmax(120px,170px) minmax(0,1fr) 28px;
  align-items:center;
  gap:14px;
  min-height:76px;
  padding:12px 16px;
  border:1px solid #eadfcd;
  border-radius:12px;
  background:#fffdf8;
}
.aa-judge-show-compact-list .aa-dog-profile-event--light.is-clickable{cursor:pointer}
.aa-judge-show-compact-list .aa-dog-profile-event--light.is-clickable:hover{box-shadow:0 2px 10px rgba(63,45,28,.08)}
.aa-judge-show-open{font-size:24px;color:#7b1732;text-align:center}

@media (max-width: 760px){
  .aa-profile-relation-section > .aa-profile-relation-summary{min-height:60px;padding:0 14px}
  .aa-profile-relation-section > .aa-profile-relation-body{padding:12px}
  .aa-judge-show-compact-list .aa-dog-profile-event--light{grid-template-columns:1fr 22px;gap:8px}
  .aa-judge-show-compact-list .aa-dog-profile-event-date{grid-column:1 / 2}
  .aa-judge-show-compact-list .aa-dog-profile-event-main{grid-column:1 / 2}
  .aa-judge-show-open{grid-column:2;grid-row:1 / span 2}
}

/* 0.4.365 — wspólny wygląd zwijanych list profili + wystawy sędziego jak w kalendarzu. */
.aa-profile-relation-section{
  margin:18px 0 24px!important;
  border:1px solid #ded4c4!important;
  border-radius:16px!important;
  background:#fffdf8!important;
  overflow:hidden!important;
}
.aa-profile-relation-section > .aa-profile-relation-summary{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:72px!important;
  margin:0!important;
  padding:16px 18px!important;
  border:0!important;
  border-bottom:1px solid transparent!important;
  background:#f7f1e7!important;
  cursor:pointer!important;
  list-style:none!important;
}
.aa-profile-relation-section > .aa-profile-relation-summary h3{
  margin:0!important;padding:0!important;border:0!important;
  font-size:1.18rem!important;line-height:1.25!important;color:#12342d!important;
}
.aa-profile-relation-section > .aa-profile-relation-summary .aa-dog-section-summary-meta{
  display:flex!important;align-items:center!important;gap:12px!important;margin-left:auto!important;flex:0 0 auto!important;
}
.aa-profile-relation-section > .aa-profile-relation-summary .aa-dog-section-count{
  box-sizing:border-box!important;min-width:38px!important;min-height:38px!important;padding:0 10px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;
  background:#5a1f2b!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1.15!important;white-space:nowrap!important;
}
.aa-profile-relation-section > .aa-profile-relation-summary .aa-dog-section-chevron{
  width:10px!important;height:10px!important;margin:0 5px 5px 1px!important;border-right:2px solid #5a1f2b!important;border-bottom:2px solid #5a1f2b!important;
  transform:rotate(45deg)!important;transition:transform .18s ease!important;
}
.aa-profile-relation-section[open] > .aa-profile-relation-summary{border-bottom-color:#e8dfd2!important}
.aa-profile-relation-section[open] > .aa-profile-relation-summary .aa-dog-section-chevron{transform:rotate(225deg)!important;margin-top:7px!important;margin-bottom:0!important}
.aa-profile-relation-section > .aa-profile-relation-body{padding:18px!important}

.aa-judge-show-calendar-list{display:grid;gap:12px}
.aa-judge-show-calendar-list > .aa-show-card{margin:0!important;min-width:0}
.aa-judge-show-calendar-list > .aa-show-card > .aa-db-show-card{margin:0!important}
.aa-judge-show-calendar-list [data-aa-profile-calendar-show="1"] > .aa-db-show-card > .aa-db-show-card__summary{cursor:pointer}

@media(max-width:680px){
  .aa-profile-relation-section > .aa-profile-relation-summary{min-height:64px!important;padding:13px 14px!important;gap:10px!important}
  .aa-profile-relation-section > .aa-profile-relation-summary h3{font-size:1.02rem!important}
  .aa-profile-relation-section > .aa-profile-relation-summary .aa-dog-section-summary-meta{gap:9px!important}
  .aa-profile-relation-section > .aa-profile-relation-summary .aa-dog-section-count{min-width:34px!important;min-height:34px!important;padding:0 9px!important;font-size:12px!important}
  .aa-profile-relation-section > .aa-profile-relation-body{padding:12px!important}
}

/* 0.4.366 — profil sędziego: obie relacyjne listy używają dokładnie jednego wrappera. */
.aa-judge-profile .aa-judge-dogs.aa-profile-relation-section,
.aa-judge-profile .aa-judge-shows.aa-profile-relation-section{
  padding:0!important;
  background:#fffdf8!important;
}

/* 0.4.368 — pełne dane lokalizacji/organizatora w jednym komponencie. */
.aa-db-show-card__meta-collapse summary{position:relative}
.aa-db-show-card__meta-collapse summary .aa-show-section-refresh--meta{margin-left:auto;margin-right:8px}
.aa-db-show-card__meta-collapse-body .aa-show-meta-primary{display:block;color:#173f36;margin-bottom:4px}
.aa-db-show-card__meta-collapse-body .aa-show-meta-secondary{display:block;margin-top:2px}
.aa-show-location-source{display:block;margin-top:7px;color:#596b63;font-size:.72rem;line-height:1.35}
.aa-show-organizer-contact__links{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px}
.aa-show-organizer-contact__links a{font-weight:600}
.aa-show-organizer-contact small{display:block;margin-top:7px}
/* 0.4.404 — kanoniczna lokalizacja widoczna bez rozwijania dodatkowej sekcji. */
.aa-db-show-card__overview-location dd{display:flex;flex-direction:column;gap:2px}
.aa-db-show-card__overview-location dd>strong{font-size:.8rem;color:#173d36}
.aa-db-show-card__overview-location dd>small{display:block;color:#6f6254;font-size:.68rem;font-weight:650;line-height:1.35}
.aa-db-show-card__overview-location .aa-location-review-admin{color:#8a5a28;font-size:.62rem}
.aa-db-show-card__identity>.aa-db-show-card__location-summary{display:block;margin-top:3px;color:#6f6254;font-size:.68rem;font-weight:650;line-height:1.35}

/* 0.4.415 — zwarte podsumowanie wystawy bez duplikowania danych z nagłówka */
.aa-db-show-card__overview--compact > dl{
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) minmax(0,1.35fr);
}
.aa-db-show-card__overview--compact .aa-db-show-card__overview-registration dd{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.aa-db-show-card__overview--compact .aa-db-show-card__overview-registration dd small{
  display:block;
}
.aa-db-show-card__overview--compact .aa-db-show-card__overview-judge{
  min-width:0;
}
@media (max-width:900px){
  .aa-db-show-card__overview--compact > dl{grid-template-columns:1fr 1fr}
  .aa-db-show-card__overview--compact .aa-db-show-card__overview-judge{grid-column:1/-1}
}
@media (max-width:620px){
  .aa-db-show-card__overview--compact > dl{grid-template-columns:1fr}
  .aa-db-show-card__overview--compact .aa-db-show-card__overview-judge{grid-column:auto}
}

/* 0.4.416 — spójne, zwarte pigułki danych i czytelny adres mapy */
.aa-db-show-card__quick > .aa-golden-count-pill{
  min-width:88px;
  min-height:44px;
  padding:6px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}
.aa-db-show-card__quick > .aa-golden-count-pill b{
  line-height:1.15;
}
.aa-db-show-card__quick > .aa-golden-count-pill small{
  margin-top:2px;
  line-height:1;
}
.aa-db-show-card__overview-registration.is-history{
  background:#f4eee4;
  border-color:#d9c9ad;
}
.aa-db-show-card__overview-registration.is-history dd{
  display:flex;
  align-items:center;
  gap:7px;
  flex-direction:row;
}
.aa-location-navigation__address{
  display:block;
  color:#173d36;
  font-size:.92rem;
  line-height:1.35;
  margin-bottom:4px;
}
@media(max-width:760px){
  .aa-db-show-card__quick > .aa-golden-count-pill{min-width:82px;min-height:42px}
}


/* =========================================================
 * 0.4.417 — spójny system pastylek i akcji kart wystaw
 * Zakres: wyłącznie .aa-db-show-card
 * ========================================================= */

/* Wspólny rytm */
.aa-db-show-card{
  --aa-pill-h:30px;
  --aa-pill-r:12px;
  --aa-action-h:34px;
  --aa-action-r:10px;
  --aa-gap:7px;
}

/* INFORMACJE: rodzaj / zapisy / status / Goldenów */
.aa-db-show-card .aa-db-show-card__tags,
.aa-db-show-card .aa-db-show-card__quick{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--aa-gap);
}

.aa-db-show-card .aa-db-show-card__tags > *,
.aa-db-show-card .aa-golden-count-pill{
  min-height:var(--aa-pill-h);
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--aa-pill-r);
  padding:5px 10px;
  line-height:1.05;
  white-space:nowrap;
  border:0;
  font-weight:700;
}

/* Goldenów nie powinno wyglądać jak duży osobny kafel */
.aa-db-show-card .aa-golden-count-pill{
  min-width:auto !important;
  min-height:var(--aa-pill-h) !important;
  padding:5px 11px !important;
  background:#eee8dc;
  color:#143b34;
  box-shadow:none;
}
.aa-db-show-card .aa-golden-count-pill b{
  font-size:13px;
  line-height:1;
}
.aa-db-show-card .aa-golden-count-pill small{
  display:block;
  margin-left:6px;
  margin-top:0;
  font-size:9px;
  line-height:1;
  opacity:.72;
}

/* AKCJE */
.aa-db-show-card .aa-db-show-card__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:var(--aa-gap);
}

.aa-db-show-card .aa-db-show-card__actions > a,
.aa-db-show-card .aa-db-show-card__actions > button,
.aa-db-show-card .aa-db-show-card__actions .button,
.aa-db-show-card .aa-watch-button,
.aa-db-show-card .aa-remove-watch,
.aa-db-show-card .aa-google-calendar-link,
.aa-db-show-card .aa-report-dog-button{
  min-height:var(--aa-action-h);
  height:var(--aa-action-h);
  box-sizing:border-box;
  border-radius:var(--aa-action-r) !important;
  padding:0 12px !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  white-space:nowrap;
  font-weight:700;
  border-width:1px !important;
}

/* Stan "obserwujesz" zachowuje ten sam rozmiar co reszta */
.aa-db-show-card .aa-db-show-card__actions .is-active,
.aa-db-show-card .aa-db-show-card__actions .is-watching{
  min-height:var(--aa-action-h);
  height:var(--aa-action-h);
}

/* Strzałka to osobny mały kontroler, nie kolejna pastylka akcji */
.aa-db-show-card > summary .aa-db-show-card__chevron,
.aa-db-show-card > summary .aa-card-arrow,
.aa-db-show-card > summary .aa-show-card-arrow,
.aa-db-show-card > summary > .aa-db-show-card__arrow{
  width:30px;
  height:30px;
  min-width:30px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 !important;
}

/* Desktop: licznik Goldenów i akcje w jednej linii, bez przypadkowych różnic */
@media (min-width: 901px){
  .aa-db-show-card > summary{
    align-items:center;
  }
  .aa-db-show-card .aa-db-show-card__quick{
    align-self:center;
  }
}

/* Mobile: informacja -> akcje 2 kolumny, bez samotnych przycisków */
@media (max-width: 760px){
  .aa-db-show-card{
    --aa-pill-h:28px;
    --aa-action-h:38px;
    --aa-gap:7px;
  }

  .aa-db-show-card > summary{
    display:grid !important;
    grid-template-columns:1fr auto;
    column-gap:10px;
    row-gap:8px;
    align-items:start;
  }

  /* Główna treść zajmuje pełną szerokość poza strzałką */
  .aa-db-show-card > summary .aa-db-show-card__main,
  .aa-db-show-card > summary .aa-db-show-card__content,
  .aa-db-show-card > summary .aa-db-show-card__info{
    min-width:0;
  }

  /* Licznik Goldenów trafia do części informacyjnej, nie jako duży klocek */
  .aa-db-show-card .aa-db-show-card__quick{
    grid-column:1 / -1;
    justify-content:flex-start;
    width:100%;
  }

  /* Akcje: zawsze uporządkowana siatka 2-kolumnowa */
  .aa-db-show-card .aa-db-show-card__actions{
    grid-column:1 / -1;
    width:100%;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    justify-content:stretch;
  }

  .aa-db-show-card .aa-db-show-card__actions > a,
  .aa-db-show-card .aa-db-show-card__actions > button,
  .aa-db-show-card .aa-db-show-card__actions .button,
  .aa-db-show-card .aa-watch-button,
  .aa-db-show-card .aa-remove-watch,
  .aa-db-show-card .aa-google-calendar-link,
  .aa-db-show-card .aa-report-dog-button{
    width:100%;
    min-width:0;
  }

  /* Jeśli strzałka jest osobnym elementem summary, zostaje przy prawej krawędzi */
  .aa-db-show-card > summary .aa-db-show-card__chevron,
  .aa-db-show-card > summary .aa-card-arrow,
  .aa-db-show-card > summary .aa-show-card-arrow,
  .aa-db-show-card > summary > .aa-db-show-card__arrow{
    grid-column:2;
    grid-row:1;
    align-self:start;
  }
}

/* Bardzo wąski ekran: nadal 2 kolumny, ale z mniejszym paddingiem */
@media (max-width: 390px){
  .aa-db-show-card .aa-db-show-card__actions > a,
  .aa-db-show-card .aa-db-show-card__actions > button,
  .aa-db-show-card .aa-db-show-card__actions .button{
    padding:0 8px !important;
    font-size:12px;
  }
}


/* =========================================================
 * 0.4.418 — faktyczne ujednolicenie akcji + porządek mobile
 * Poprzednia wersja częściowo celowała w starą klasę __actions.
 * Ten blok dotyczy rzeczywistego .aa-db-show-card__summary-actions.
 * ========================================================= */

.aa-db-show-card{
  --aa-card-action-h:36px;
  --aa-card-action-r:10px;
  --aa-card-action-border:#6f1831;
  --aa-card-action-bg:#fffaf0;
  --aa-card-action-fg:#6f1831;
}

/* Jedna rodzina przycisków akcji */
.aa-db-show-card .aa-db-show-card__summary-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}

.aa-db-show-card .aa-db-show-card__summary-actions > a,
.aa-db-show-card .aa-db-show-card__summary-actions > a:link,
.aa-db-show-card .aa-db-show-card__summary-actions > a:visited{
  height:var(--aa-card-action-h)!important;
  min-height:var(--aa-card-action-h)!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px!important;
  border:1px solid var(--aa-card-action-border)!important;
  border-radius:var(--aa-card-action-r)!important;
  background:var(--aa-card-action-bg)!important;
  color:var(--aa-card-action-fg)!important;
  -webkit-text-fill-color:var(--aa-card-action-fg)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

/* Aktywnie obserwowana wystawa: ten sam kształt i rozmiar, tylko inny stan */
.aa-db-show-card .aa-db-show-card__summary-actions > a.aa-show-watch-action.is-watched,
.aa-db-show-card .aa-db-show-card__summary-actions > a.aa-show-watch-action.is-watched:link,
.aa-db-show-card .aa-db-show-card__summary-actions > a.aa-show-watch-action.is-watched:visited{
  border-color:#d6c3a7!important;
  background:#efe6d8!important;
  color:#5b4d42!important;
  -webkit-text-fill-color:#5b4d42!important;
}

.aa-db-show-card .aa-db-show-card__summary-actions > a:hover,
.aa-db-show-card .aa-db-show-card__summary-actions > a:focus-visible{
  border-color:#6f1831!important;
  background:#6f1831!important;
  color:#fff7e8!important;
  -webkit-text-fill-color:#fff7e8!important;
  outline:none!important;
  box-shadow:0 0 0 2px rgba(111,24,49,.12)!important;
}

/* Aktywny stan obserwacji na hover nadal wygląda jak akcja wyłączenia */
.aa-db-show-card .aa-db-show-card__summary-actions > a.aa-show-watch-action.is-watched:hover,
.aa-db-show-card .aa-db-show-card__summary-actions > a.aa-show-watch-action.is-watched:focus-visible{
  border-color:#8a4051!important;
  background:#f1dddd!important;
  color:#6f1831!important;
  -webkit-text-fill-color:#6f1831!important;
}

/* Desktop: stabilne kolumny i mniej pustego miejsca między licznikiem a akcjami */
@media (min-width:981px){
  .aa-db-show-card__summary{
    grid-template-columns:150px minmax(0,1fr) max-content max-content 28px!important;
    column-gap:12px!important;
  }
  .aa-db-show-card__quick{
    justify-content:flex-end!important;
    align-self:center!important;
  }
  .aa-db-show-card__summary-actions{
    align-self:center!important;
  }
}

/* Tablet: akcje wciąż zwarte, bez rozciągania */
@media (max-width:980px) and (min-width:761px){
  .aa-db-show-card__summary{
    grid-template-columns:130px minmax(0,1fr) auto 28px!important;
    row-gap:8px!important;
  }
  .aa-db-show-card__quick{
    grid-column:3!important;
    grid-row:1/3!important;
    align-self:center!important;
  }
  .aa-db-show-card__summary-actions{
    grid-column:2/4!important;
    justify-content:flex-start!important;
  }
}

/* MOBILE
 * Kolejność: data + strzałka / treść / informacje / akcje.
 * Akcje są zawsze pełną, równą siatką 2-kolumnową.
 * Jeśli liczba akcji jest nieparzysta, ostatnia zajmuje cały wiersz.
 */
@media (max-width:760px){
  .aa-db-show-card{
    --aa-card-action-h:38px;
  }

  .aa-db-show-card__summary{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 34px!important;
    grid-template-areas:
      "date chevron"
      "identity identity"
      "quick quick"
      "actions actions"!important;
    column-gap:8px!important;
    row-gap:8px!important;
    padding:12px 12px 13px!important;
    align-items:start!important;
  }

  .aa-db-show-card__date{
    grid-area:date!important;
    min-width:0!important;
  }
  .aa-db-show-card__identity{
    grid-area:identity!important;
    min-width:0!important;
  }
  .aa-db-show-card__quick{
    grid-area:quick!important;
    width:auto!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin:0!important;
  }
  .aa-db-show-card__summary-actions{
    grid-area:actions!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:0!important;
  }
  .aa-db-show-card__chevron{
    grid-area:chevron!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    align-self:start!important;
    justify-self:end!important;
    border-radius:999px!important;
  }

  .aa-db-show-card .aa-db-show-card__summary-actions > a,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:link,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:visited{
    width:100%!important;
    min-width:0!important;
    padding:0 8px!important;
    font-size:10px!important;
  }

  /* 1 lub 3 akcje: ostatnia nie zostawia pustej połowy wiersza */
  .aa-db-show-card .aa-db-show-card__summary-actions > a:last-child:nth-child(odd){
    grid-column:1/-1!important;
  }

  /* Informacyjne pastylki również zwarte — bez wysokich pudeł */
  .aa-db-show-card .aa-golden-count-pill{
    min-height:28px!important;
    height:28px!important;
    padding:0 10px!important;
    border-radius:11px!important;
  }

  .aa-db-show-card .aa-db-show-card__badges{
    gap:5px!important;
  }
  .aa-db-show-card .aa-db-show-badge{
    min-height:24px!important;
    display:inline-flex!important;
    align-items:center!important;
    padding:3px 8px!important;
    border-radius:10px!important;
  }

  /* Mniej pionowego oddechu w tożsamości karty */
  .aa-db-show-card__identity > strong{
    margin-bottom:3px!important;
  }
  .aa-db-show-card__identity > span{
    margin-top:1px!important;
  }
  .aa-db-show-card__badges{
    margin-top:6px!important;
  }
}

@media (max-width:390px){
  .aa-db-show-card__summary{
    padding:11px 10px 12px!important;
  }
  .aa-db-show-card .aa-db-show-card__summary-actions > a{
    font-size:9.5px!important;
    padding:0 6px!important;
  }
}


/* =========================================================
 * 0.4.419 — Goldeny jako informacja + 3 akcje w jednym rzędzie mobile
 * ========================================================= */

/* Goldeny należą do tej samej grupy co typ/status/zapisy */
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill{
  min-height:24px!important;
  height:24px!important;
  min-width:0!important;
  padding:3px 8px!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:#ece8df!important;
  color:#173d36!important;
  border:0!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill b{
  font-size:11px!important;
  line-height:1!important;
}
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill small{
  margin:0!important;
  font-size:8px!important;
  line-height:1!important;
  opacity:.72!important;
}

/* Po przeniesieniu Goldenów nie ma osobnej kolumny quick */
.aa-db-show-card .aa-db-show-card__quick{
  display:none!important;
}

@media (min-width:981px){
  .aa-db-show-card__summary{
    grid-template-columns:150px minmax(0,1fr) max-content 28px!important;
    column-gap:12px!important;
  }
  .aa-db-show-card__summary-actions{
    grid-column:3!important;
  }
  .aa-db-show-card__chevron{
    grid-column:4!important;
  }
}

@media (max-width:980px) and (min-width:761px){
  .aa-db-show-card__summary{
    grid-template-columns:130px minmax(0,1fr) 28px!important;
    row-gap:8px!important;
  }
  .aa-db-show-card__summary-actions{
    grid-column:2!important;
    justify-content:flex-start!important;
  }
  .aa-db-show-card__chevron{
    grid-column:3!important;
  }
}

/* MOBILE: dokładnie 3 akcje obok siebie */
@media (max-width:760px){
  .aa-db-show-card__summary{
    grid-template-areas:
      "date chevron"
      "identity identity"
      "actions actions"!important;
  }

  .aa-db-show-card__summary-actions{
    grid-area:actions!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  .aa-db-show-card .aa-db-show-card__summary-actions > a,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:link,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:visited{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    height:42px!important;
    padding:4px 5px!important;
    font-size:9.5px!important;
    line-height:1.1!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* W 0.4.419 nic nie rozciągamy na cały wiersz — zawsze 3 kolumny */
  .aa-db-show-card .aa-db-show-card__summary-actions > a:last-child:nth-child(odd){
    grid-column:auto!important;
  }

  .aa-db-show-card__badges{
    margin-top:7px!important;
    gap:5px!important;
    align-items:center!important;
  }

  .aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill{
    height:24px!important;
    min-height:24px!important;
  }
}

@media (max-width:390px){
  .aa-db-show-card .aa-db-show-card__summary-actions > a{
    font-size:9px!important;
    padding:3px 3px!important;
  }
}


/* =========================================================
 * 0.4.420 — subtelny separator + niższe przyciski akcji mobile
 * ========================================================= */
@media (max-width:760px){
  .aa-db-show-card__summary-actions{
    position:relative!important;
    margin-top:2px!important;
    padding-top:9px!important;
    gap:6px!important;
  }

  .aa-db-show-card__summary-actions::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:1px;
    background:rgba(98,86,63,.18);
    pointer-events:none;
  }

  .aa-db-show-card .aa-db-show-card__summary-actions > a,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:link,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:visited{
    min-height:35px!important;
    height:35px!important;
    padding:3px 5px!important;
    line-height:1.08!important;
  }

  .aa-db-show-card .aa-db-show-card__summary-actions > a.aa-show-watch-action.is-watched{
    min-height:35px!important;
    height:35px!important;
  }
}

@media (max-width:390px){
  .aa-db-show-card .aa-db-show-card__summary-actions > a,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:link,
  .aa-db-show-card .aa-db-show-card__summary-actions > a:visited{
    min-height:34px!important;
    height:34px!important;
  }
}


/* 0.4.421 — mobile: pastylki informacyjne w górnej belce wyśrodkowane i optycznie bardziej symetryczne. */
@media (max-width:760px){
  .aa-db-show-card__badges{
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    gap:6px!important;
    margin-top:8px!important;
  }
  .aa-db-show-card__badges .aa-db-show-badge{
    justify-content:center!important;
  }
}
@media (max-width:420px){
  .aa-db-show-card__badges{
    justify-content:center!important;
    gap:5px!important;
  }
}


/* =========================================================
 * 0.4.422 — porządek po rozwinięciu karty wystawy
 * - zwijane sekcje: Informacje o wystawie / Golden Retriever — katalog i wyniki
 * - Mapa i dojazd + Organizator w jednym rzędzie także na mobile
 * - niższe belki Moje psy / Katalog / Wyniki
 * - INFO / ICS / Edytuj wystawę w jednym wierszu
 * ========================================================= */

/* Zwijane główne sekcje w rozwiniętej karcie */
.aa-db-show-card__panel{
  margin:0 0 14px;
  padding:0;
  border:1px solid rgba(91,109,70,.16);
  border-radius:13px;
  background:#fffaf0;
  overflow:hidden;
}
.aa-db-show-card__panel > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:46px;
  padding:10px 14px;
  cursor:pointer;
  list-style:none;
}
.aa-db-show-card__panel > summary::-webkit-details-marker{display:none}
.aa-db-show-card__panel > summary h4{
  margin:0;
  color:#173d36;
  font-size:1rem;
}
.aa-db-show-card__panel > summary i{
  position:relative;
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:999px;
  background:#5b6d46;
}
.aa-db-show-card__panel > summary i:before,
.aa-db-show-card__panel > summary i:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:2px;
  border-radius:2px;
  background:#fff2e0;
  transform:translate(-50%,-50%);
}
.aa-db-show-card__panel > summary i:after{
  transform:translate(-50%,-50%) rotate(90deg);
  transition:opacity .18s ease;
}
.aa-db-show-card__panel[open] > summary i:after{opacity:0}
.aa-db-show-card__panel[open] > summary{border-bottom:1px solid rgba(91,109,70,.12)}
.aa-db-show-card__overview{padding:0!important}
.aa-db-show-card__overview > dl,
.aa-db-show-card__overview > .aa-db-show-card__meta-collapses{
  margin-left:14px;
  margin-right:14px;
}
.aa-db-show-card__overview > dl{margin-top:14px}
.aa-db-show-card__overview > .aa-db-show-card__meta-collapses{margin-bottom:14px}

/* Meta-sekcje obok siebie również na mobile */
@media (max-width:760px){
  .aa-db-show-card__meta-collapses{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .aa-db-show-card__meta-collapse > summary{
    min-height:38px!important;
    padding:7px 9px!important;
    font-size:.68rem!important;
  }
}
@media (max-width:380px){
  .aa-db-show-card__meta-collapses{grid-template-columns:1fr!important}
}

/* Golden Retriever jako zwijany blok */
.aa-show-golden-publication{
  padding:0!important;
  overflow:hidden;
}
.aa-show-golden-publication > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:48px;
  padding:12px 14px;
  cursor:pointer;
  list-style:none;
}
.aa-show-golden-publication > summary::-webkit-details-marker{display:none}
.aa-show-golden-publication > summary h4{
  margin:0!important;
  color:#173d36;
  font-size:1rem!important;
}
.aa-show-golden-publication > summary i{
  position:relative;
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:999px;
  background:#6f1831;
}
.aa-show-golden-publication > summary i:before,
.aa-show-golden-publication > summary i:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:2px;
  border-radius:2px;
  background:#fff7e8;
  transform:translate(-50%,-50%);
}
.aa-show-golden-publication > summary i:after{
  transform:translate(-50%,-50%) rotate(90deg);
  transition:opacity .18s ease;
}
.aa-show-golden-publication[open] > summary i:after{opacity:0}
.aa-show-golden-publication[open] > summary{border-bottom:1px solid rgba(111,24,49,.12)}
.aa-show-golden-publication__body{padding:14px}

/* Niższe, lżejsze belki w sekcji Golden Retriever */
.aa-show-publication-own-dogs > summary,
.aa-show-ranked-results > summary,
.aa-show-publication-source > summary{
  min-height:36px!important;
  padding:6px 8px!important;
  gap:8px!important;
}
.aa-show-publication-own-dogs > summary h5,
.aa-show-ranked-results > summary h5,
.aa-show-publication-source > summary h5{
  font-size:.96rem!important;
}
.aa-show-publication-own-dogs > summary small,
.aa-show-ranked-results > summary small,
.aa-show-publication-source > summary small{
  font-size:.76rem!important;
}

/* Dolne akcje admina / dokumentów w jednym rzędzie */
.aa-db-show-card__actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px!important;
  align-items:stretch;
}
.aa-db-show-card__actions > a{
  width:100%;
  justify-content:center;
  text-align:center;
}
@media (max-width:760px){
  .aa-db-show-card__body{padding:10px!important}
  .aa-db-show-card__panel > summary{min-height:42px;padding:9px 12px}
  .aa-db-show-card__overview > dl,
  .aa-db-show-card__overview > .aa-db-show-card__meta-collapses{margin-left:10px;margin-right:10px}
  .aa-db-show-card__overview > dl{margin-top:10px}
  .aa-db-show-card__overview > .aa-db-show-card__meta-collapses{margin-bottom:10px}
  .aa-show-golden-publication > summary{min-height:42px;padding:10px 12px}
  .aa-show-golden-publication__body{padding:10px}
  .aa-show-publication-own-dogs > summary,
  .aa-show-ranked-results > summary,
  .aa-show-publication-source > summary{
    min-height:32px!important;
    padding:5px 7px!important;
    gap:7px!important;
  }
  .aa-show-publication-own-dogs > summary h5,
  .aa-show-ranked-results > summary h5,
  .aa-show-publication-source > summary h5{font-size:.9rem!important}
  .aa-show-publication-own-dogs > summary small,
  .aa-show-ranked-results > summary small,
  .aa-show-publication-source > summary small{font-size:.72rem!important}
  .aa-db-show-card__actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .aa-db-show-card__actions > a{
    min-height:34px!important;
    height:34px!important;
    padding:0 6px!important;
    font-size:.64rem!important;
    line-height:1.05!important;
    white-space:normal!important;
  }
}
@media (max-width:420px){
  .aa-db-show-card__actions > a{font-size:.61rem!important}
}


/* =========================================================
 * 0.4.423 — poprawki sekcji rozwiniętej karty wystawy
 * - dopięcie zwiniętych zakładek Golden Retriever
 * - poprawa kafelków Mapa i dojazd / Organizator
 * - wyrównanie wysokości Moje psy / Katalog / Wyniki
 * ========================================================= */
.aa-db-show-card__meta-collapses{overflow:visible}
.aa-db-show-card__meta-collapse{box-sizing:border-box;min-width:0;overflow:hidden}
.aa-db-show-card__meta-collapse>summary{
  box-sizing:border-box;
  width:100%;
  align-items:center!important;
  gap:6px!important;
  overflow:hidden;
}
.aa-db-show-card__meta-collapse>summary .aa-show-section-refresh--meta{
  margin-left:auto!important;
  margin-right:4px!important;
  flex:0 0 auto;
}
.aa-db-show-card__meta-collapse>summary i{
  flex:0 0 20px;
  margin-left:0!important;
}
.aa-db-show-card__meta-collapse-body{padding-top:8px!important}

/* Sekcje Golden Retriever bardziej zwarte i równie wysokie */
.aa-show-publication-own-dogs,
.aa-show-ranked-results,
.aa-show-publication-source{
  padding:6px 8px!important;
  border-radius:10px!important;
}
.aa-show-publication-own-dogs>summary,
.aa-show-ranked-results>summary,
.aa-show-publication-source>summary{
  align-items:center!important;
  min-height:30px!important;
  padding:4px 6px!important;
  gap:8px!important;
}
.aa-show-publication-own-dogs>summary h5,
.aa-show-ranked-results>summary h5,
.aa-show-publication-source>summary h5{line-height:1.15!important}
.aa-show-publication-own-dogs>summary small,
.aa-show-ranked-results>summary small,
.aa-show-publication-source>summary small{
  line-height:1.15!important;
  margin-left:0!important;
}
.aa-show-publication-own-dogs>summary .aa-show-chevron,
.aa-show-ranked-results>summary .aa-show-chevron,
.aa-show-publication-source>summary .aa-show-chevron{align-self:center!important}
.aa-show-publication-own-dogs[open]>summary,
.aa-show-ranked-results[open]>summary,
.aa-show-publication-source[open]>summary{margin-bottom:6px!important}
.aa-show-own-dogs-empty{margin-top:4px!important;padding:8px 10px!important}

/* Dolne przyciski w jednej równej linii */
.aa-db-show-card__actions{align-items:stretch!important}
.aa-db-show-card__actions>a{display:inline-flex!important;align-items:center;justify-content:center}

@media (max-width:760px){
  .aa-db-show-card__meta-collapses{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .aa-db-show-card__meta-collapse>summary{
    min-height:36px!important;
    padding:6px 8px!important;
    font-size:.67rem!important;
  }
  .aa-db-show-card__meta-collapse>summary .aa-show-section-refresh--meta{margin-right:3px!important}
  .aa-show-publication-own-dogs,
  .aa-show-ranked-results,
  .aa-show-publication-source{padding:5px 6px!important}
  .aa-show-publication-own-dogs>summary,
  .aa-show-ranked-results>summary,
  .aa-show-publication-source>summary{
    min-height:28px!important;
    padding:4px 5px!important;
    gap:6px!important;
  }
  .aa-show-publication-own-dogs>summary h5,
  .aa-show-ranked-results>summary h5,
  .aa-show-publication-source>summary h5{font-size:.88rem!important}
  .aa-show-publication-own-dogs>summary small,
  .aa-show-ranked-results>summary small,
  .aa-show-publication-source>summary small{font-size:.7rem!important}
}
@media (max-width:430px){
  .aa-db-show-card__meta-collapses{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aa-db-show-card__meta-collapse>summary{font-size:.64rem!important}
}


/* =========================================================
 * 0.4.425 — bezpieczna korekta po regresji 0.4.424
 * Bazuje na działającej 0.4.423, bez kopiowania problematycznego CSS 0.4.424.
 * ========================================================= */

/* Mapa i dojazd / Organizator: identyczny układ 2-rzędowy na mobile.
   Rząd 1 = etykieta. Rząd 2 = odświeżanie + plus/minus. */
@media (max-width:760px){
  .aa-db-show-card__meta-collapses{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .aa-db-show-card__meta-collapse{
    min-width:0!important;
    overflow:hidden!important;
  }
  .aa-db-show-card__meta-collapse>summary{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    grid-template-rows:auto 22px!important;
    grid-template-areas:
      "label label"
      "refresh toggle"!important;
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    padding:6px 8px!important;
    box-sizing:border-box!important;
    align-items:center!important;
    gap:3px 6px!important;
  }
  .aa-db-show-card__meta-collapse>summary>span:first-child{
    grid-area:label!important;
    min-width:0!important;
    width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:.63rem!important;
    line-height:1!important;
  }
  .aa-db-show-card__meta-collapse>summary .aa-show-section-refresh--meta{
    grid-area:refresh!important;
    justify-self:start!important;
    margin:0!important;
  }
  .aa-db-show-card__meta-collapse>summary>i{
    grid-area:toggle!important;
    justify-self:end!important;
    margin:0!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
  }
}

/* Równe, niskie belki Moje psy / Katalog / Wyniki */
.aa-show-publication-own-dogs,
.aa-show-publication-source{box-sizing:border-box!important}
.aa-show-publication-own-dogs>summary,
.aa-show-publication-source>summary{
  min-height:32px!important;
  padding:5px 7px!important;
  align-items:center!important;
  gap:7px!important;
}
.aa-show-publication-own-dogs>summary h5,
.aa-show-publication-source>summary h5{
  font-size:.9rem!important;
  line-height:1.1!important;
}
.aa-show-publication-own-dogs>summary small,
.aa-show-publication-source>summary small{
  font-size:.7rem!important;
  line-height:1.1!important;
}
@media (max-width:760px){
  .aa-show-publication-own-dogs,
  .aa-show-publication-source{padding:5px 6px!important}
  .aa-show-publication-own-dogs>summary,
  .aa-show-publication-source>summary{min-height:30px!important;padding:4px 5px!important}
}

/* Dolne akcje pozostają w jednym rzędzie. */
.aa-db-show-card__actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
.aa-db-show-card__actions>a{
  width:100%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}


/* =========================================================
 * 0.4.426 — termin zapisów: odświeżanie w pastylce + historia w tooltipie
 * ========================================================= */
.aa-db-show-badge--status{gap:5px}
.aa-registration-status-text{display:inline-flex;align-items:center}
.aa-registration-pill-refresh{
  appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;color:currentColor!important;
  width:17px;height:17px;min-width:17px;min-height:17px;padding:0!important;margin:0 -2px 0 1px!important;
  border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:12px!important;line-height:1!important;cursor:pointer;opacity:.72;box-shadow:none!important
}
.aa-registration-pill-refresh:hover,.aa-registration-pill-refresh:focus-visible{opacity:1;background:rgba(111,24,49,.09)!important;outline:none}
.aa-registration-pill-refresh.is-loading span{display:inline-block;animation:aa-registration-pill-spin .8s linear infinite}
@keyframes aa-registration-pill-spin{to{transform:rotate(360deg)}}
.aa-registration-history-tooltip{
  appearance:none;-webkit-appearance:none;position:relative;font-family:inherit!important;cursor:help;border:0!important;outline:0
}
.aa-registration-history-tooltip::after{
  content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(3px);
  z-index:9999;width:max-content;max-width:min(300px,78vw);padding:7px 9px;border-radius:8px;background:#173d36;color:#fff7e8;
  font-size:11px;font-weight:700;line-height:1.3;white-space:normal;text-align:center;box-shadow:0 5px 16px rgba(0,0,0,.16);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,transform .14s ease,visibility .14s ease
}
.aa-registration-history-tooltip:hover::after,.aa-registration-history-tooltip:focus::after,.aa-registration-history-tooltip:focus-visible::after{
  opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)
}
.aa-db-show-card__overview--compact > dl{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
@media(max-width:620px){
  .aa-db-show-card__overview--compact > dl{grid-template-columns:1fr}
  .aa-registration-history-tooltip::after{left:0;transform:translateX(0) translateY(3px);max-width:70vw}
  .aa-registration-history-tooltip:hover::after,.aa-registration-history-tooltip:focus::after,.aa-registration-history-tooltip:focus-visible::after{transform:translateX(0) translateY(0)}
}


/* =========================================================
 * 0.4.427 — wynik odświeżenia terminu/statusu zapisów
 * ========================================================= */
.aa-registration-pill-refresh{position:relative!important;overflow:visible!important}
.aa-registration-pill-refresh::after{
  content:attr(data-tooltip);
  position:absolute;
  right:-8px;
  bottom:calc(100% + 10px);
  z-index:10020;
  width:max-content;
  max-width:min(330px,78vw);
  padding:8px 10px;
  border:1px solid #d9cdbd;
  border-radius:8px;
  background:#fffaf1;
  color:#51483b;
  box-shadow:0 6px 18px rgba(41,31,22,.18);
  font-size:11px;
  font-weight:650;
  line-height:1.35;
  white-space:normal;
  text-align:left;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(3px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.aa-registration-pill-refresh:hover::after,
.aa-registration-pill-refresh:focus::after,
.aa-registration-pill-refresh:focus-visible::after,
.aa-registration-pill-refresh.is-status-visible::after{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.aa-registration-history-tooltip{display:none!important}

@media(max-width:620px){
  .aa-registration-pill-refresh::after{
    position:fixed;
    left:50%;
    right:auto;
    bottom:auto;
    top:50%;
    transform:translate(-50%,-50%) translateY(3px);
    width:min(320px,82vw);
    max-width:82vw;
    font-size:12px;
  }
  .aa-registration-pill-refresh:hover::after,
  .aa-registration-pill-refresh:focus::after,
  .aa-registration-pill-refresh:focus-visible::after,
  .aa-registration-pill-refresh.is-status-visible::after{
    transform:translate(-50%,-50%) translateY(0);
  }
}


/* 0.4.428 — mobile: szersze kolumny w modalu „Zgłoszenia Golden Retriever”.
   Dwie wąskie kolumny powodowały łamanie nazw klas; na telefonie pokazujemy
   dwa pełnej szerokości bloki jeden pod drugim. */
@media(max-width:760px){
  .aa-registration-modal .aa-show-registration-sexes{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .aa-registration-modal .aa-show-registration-sexes > section,
  .aa-registration-modal .aa-show-registration-sexes > *{
    min-width:0!important;
    padding:12px 12px 10px!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .aa-registration-modal .aa-show-registration-sexes h5{
    margin:0 0 8px!important;
    font-size:1rem!important;
    line-height:1.2!important;
  }
  .aa-registration-modal .aa-show-registration-sexes li{
    gap:10px!important;
    padding:6px 0!important;
    font-size:.92rem!important;
    line-height:1.28!important;
  }
  .aa-registration-modal .aa-show-registration-sexes li span{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .aa-registration-modal .aa-show-registration-sexes li b,
  .aa-registration-modal .aa-show-registration-sexes h5 b{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
}
@media(max-width:420px){
  .aa-registration-modal .aa-show-registration-sexes > section,
  .aa-registration-modal .aa-show-registration-sexes > *{
    padding:11px 10px 9px!important;
  }
  .aa-registration-modal .aa-show-registration-sexes h5{
    font-size:.96rem!important;
  }
  .aa-registration-modal .aa-show-registration-sexes li{
    font-size:.88rem!important;
  }
}
\n\n/* 0.4.429 — mobile: równe przyciski niezależnie od ich liczby (2 lub 3). */\n@media(max-width:760px){\n  .aa-db-show-card__summary-actions{\n    display:flex!important;\n    flex-wrap:nowrap!important;\n    width:100%!important;\n    gap:6px!important;\n  }\n  .aa-db-show-card .aa-db-show-card__summary-actions > a,\n  .aa-db-show-card .aa-db-show-card__summary-actions > a:link,\n  .aa-db-show-card .aa-db-show-card__summary-actions > a:visited{\n    flex:1 1 0!important;\n    width:auto!important;\n    min-width:0!important;\n  }\n}\n

/* =========================================================
 * 0.4.430 — równa geometria wszystkich pastylek informacyjnych
 * ========================================================= */
.aa-db-show-card .aa-db-show-card__badges > .aa-db-show-badge,
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill{
  box-sizing:border-box!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 9px!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  vertical-align:middle!important;
}
.aa-db-show-card .aa-db-show-badge--status{
  gap:5px!important;
}
.aa-db-show-card .aa-registration-status-text{
  height:100%!important;
  display:inline-flex!important;
  align-items:center!important;
  line-height:1!important;
}
.aa-db-show-card .aa-registration-pill-refresh{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  flex:0 0 16px!important;
  padding:0!important;
  margin:0 -2px 0 1px!important;
  line-height:1!important;
}
@media(max-width:420px){
  .aa-db-show-card .aa-db-show-card__badges > .aa-db-show-badge,
  .aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill{
    height:24px!important;
    min-height:24px!important;
    padding:0 8px!important;
  }
}


/* =========================================================
 * 0.4.431 — główna belka wystawy: identyczna geometria wszystkich pastylek
 * Dotyczy desktop + mobile; ikona odświeżania statusu nie wpływa na wysokość.
 * ========================================================= */
.aa-db-show-card .aa-db-show-card__badges{
  align-items:center!important;
}
.aa-db-show-card .aa-db-show-card__badges > .aa-db-show-badge,
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:9px!important;
  padding-right:9px!important;
  border-radius:10px!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:24px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
}
.aa-db-show-card .aa-db-show-card__badges > .aa-db-show-badge > *,
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill > *{
  margin-top:0!important;
  margin-bottom:0!important;
}
.aa-db-show-card .aa-db-show-badge--status{
  gap:5px!important;
}
.aa-db-show-card .aa-registration-status-text,
.aa-db-show-card .aa-golden-count-pill > b{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:1!important;
}
.aa-db-show-card .aa-registration-pill-refresh{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  padding:0!important;
  margin:0 -2px 0 1px!important;
  border:0!important;
  line-height:1!important;
}
.aa-db-show-card .aa-registration-pill-refresh > span{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:12px!important;
  min-width:12px!important;
  max-width:12px!important;
  height:12px!important;
  min-height:12px!important;
  max-height:12px!important;
  margin:0!important;
  padding:0!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:12px!important;
}
@media(max-width:420px){
  .aa-db-show-card .aa-db-show-card__badges > .aa-db-show-badge,
  .aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill{
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:10px!important;
    line-height:24px!important;
  }
  .aa-db-show-card .aa-registration-status-text,
  .aa-db-show-card .aa-golden-count-pill > b{
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
  }
}


/* =========================================================
 * 0.4.433 — mobile: „Mapa i dojazd” / „Organizator” jako modale
 * Na telefonie oba kafelki pozostają w jednym rzędzie. Kliknięcie
 * otwiera zawartość w istniejącym modalu danych. Desktop bez zmian.
 * ========================================================= */
@media (max-width:620px){
  .aa-db-show-card__meta-collapses{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .aa-db-show-card__meta-collapse{
    min-width:0!important;
    border-radius:9px!important;
    overflow:hidden!important;
  }
  .aa-db-show-card__meta-collapse>summary{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 18px 18px!important;
    grid-template-rows:38px!important;
    grid-template-areas:"label refresh toggle"!important;
    min-height:38px!important;
    height:38px!important;
    padding:0 7px!important;
    gap:4px!important;
    align-items:center!important;
    border-bottom:0!important;
    cursor:pointer!important;
  }
  .aa-db-show-card__meta-collapse>summary>span:first-child{
    grid-area:label!important;
    min-width:0!important;
    width:auto!important;
    font-size:.62rem!important;
    font-weight:800!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .aa-db-show-card__meta-collapse>summary .aa-show-section-refresh--meta{
    grid-area:refresh!important;
    justify-self:center!important;
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
    min-height:18px!important;
    flex-basis:18px!important;
    margin:0!important;
    padding:0!important;
    font-size:12px!important;
  }
  .aa-db-show-card__meta-collapse>summary>i{
    grid-area:toggle!important;
    justify-self:end!important;
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
    min-height:18px!important;
    margin:0!important;
  }
  /* Te details są na mobile wyłącznie triggerami modala. */
  .aa-db-show-card__meta-collapse>.aa-db-show-card__meta-collapse-body{
    display:none!important;
  }
  .aa-db-show-card__meta-collapse[open]>summary i:after{
    opacity:1!important;
  }
  .aa-db-show-card__meta-collapse>summary>i:before,
  .aa-db-show-card__meta-collapse>summary>i:after{
    width:8px!important;
    height:2px!important;
  }

  /* Zawartość sklonowana do modala. */
  .aa-registration-modal__content .aa-meta-modal-data{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    padding:0!important;
    color:#173d36!important;
    font-size:.86rem!important;
    font-weight:650!important;
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-location-navigation__address,
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-meta-primary{
    display:block!important;
    margin:0!important;
    font-size:1rem!important;
    font-weight:800!important;
    line-height:1.35!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-meta-secondary{
    display:block!important;
    margin:0!important;
    font-size:.88rem!important;
    line-height:1.45!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-location-source,
  .aa-registration-modal__content .aa-meta-modal-data small{
    display:block!important;
    margin:0!important;
    font-size:.72rem!important;
    line-height:1.35!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-location-navigation__actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:2px!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-location-navigation__actions a,
  .aa-registration-modal__content .aa-meta-modal-data .aa-location-navigation__actions button{
    min-width:0!important;
    min-height:38px!important;
    height:38px!important;
    padding:0 9px!important;
    border-radius:9px!important;
    font-size:.76rem!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-location-navigation__actions button{
    grid-column:1/-1!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-organizer-contact__links{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px 14px!important;
    margin-top:2px!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-organizer-contact__links a{
    font-size:.84rem!important;
    font-weight:750!important;
    line-height:1.25!important;
  }
}


/* =========================================================
 * 0.4.434 — mobile: lżejsza typografia modali Meta + chevron
 * „Mapa i dojazd” / „Organizator” są akcjami otwierającymi modal,
 * więc zamiast znaku + pokazujemy strzałkę ›. Treść modali ma
 * stałą, kompaktową typografię w px, niezależną od dużego rem motywu.
 * ========================================================= */
@media (max-width:620px){
  /* Ikona akcji: modal, nie rozwijane details. */
  .aa-db-show-card__meta-collapse>summary>i{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .aa-db-show-card__meta-collapse>summary>i:before{
    content:"›"!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    background:transparent!important;
    border-radius:0!important;
    transform:none!important;
    color:#fff2e0!important;
    font-family:Arial,sans-serif!important;
    font-size:18px!important;
    font-weight:800!important;
    line-height:1!important;
  }
  .aa-db-show-card__meta-collapse>summary>i:after{
    display:none!important;
    content:none!important;
  }

  /* Modal Meta — wyraźnie mniejsza i spokojniejsza typografia. */
  .aa-registration-modal__content .aa-meta-modal-data{
    gap:7px!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.38!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-location-navigation__address{
    font-size:16px!important;
    font-weight:800!important;
    line-height:1.32!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-meta-primary{
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.38!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-meta-secondary{
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.4!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-location-source,
  .aa-registration-modal__content .aa-meta-modal-data small{
    font-size:12px!important;
    font-weight:650!important;
    line-height:1.35!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-organizer-contact__links{
    gap:6px 14px!important;
    margin-top:3px!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data .aa-show-organizer-contact__links a{
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.25!important;
  }
}


/* =========================================================
 * 0.4.435 — mobile: mniejsza typografia wewnątrz modali Meta
 * Szczególnie Organizator: treść kontaktowa ma być informacją,
 * nie dużym blokiem nagłówkowym. Zmiana tylko dla <=620 px.
 * ========================================================= */
@media (max-width:620px){
  /* Kontekst wystawy nad treścią modala Meta. */
  .aa-registration-modal__content:has(.aa-meta-modal-data) .aa-registration-modal__show-title{
    margin:0 0 8px!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.28!important;
  }

  /* Wspólna, spokojniejsza baza treści obu modali. */
  .aa-registration-modal__content .aa-meta-modal-data{
    gap:6px!important;
    font-size:13px!important;
    line-height:1.36!important;
  }

  /* Mapa i dojazd. */
  .aa-registration-modal__content .aa-meta-modal-data.is-location .aa-location-navigation__address{
    font-size:14px!important;
    font-weight:750!important;
    line-height:1.30!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data.is-location .aa-show-location-source,
  .aa-registration-modal__content .aa-meta-modal-data.is-location small{
    font-size:11.5px!important;
    line-height:1.32!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data.is-location .aa-location-navigation__actions a,
  .aa-registration-modal__content .aa-meta-modal-data.is-location .aa-location-navigation__actions button{
    font-size:12.5px!important;
    font-weight:700!important;
  }

  /* Organizator — celowo jeszcze mniejszy niż lokalizacja. */
  .aa-registration-modal__content .aa-meta-modal-data.is-organizer{
    font-size:12.5px!important;
    line-height:1.38!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data.is-organizer .aa-show-meta-primary{
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.36!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data.is-organizer .aa-show-meta-secondary{
    font-size:12.5px!important;
    font-weight:600!important;
    line-height:1.38!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data.is-organizer .aa-show-organizer-contact__links{
    gap:5px 13px!important;
    margin-top:2px!important;
  }
  .aa-registration-modal__content .aa-meta-modal-data.is-organizer .aa-show-organizer-contact__links a{
    font-size:12.5px!important;
    font-weight:700!important;
    line-height:1.2!important;
  }
}


/* 0.4.436 — „Moje psy”: zwarty i stabilny kafelek mobilny. */
@media(max-width:760px){
  .aa-account-my-dogs .aa-my-dogs-grid{
    gap:10px!important;
    margin-top:10px!important;
  }
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    display:grid!important;
    grid-template-columns:88px minmax(0,1fr) 44px!important;
    grid-template-rows:auto!important;
    column-gap:12px!important;
    align-items:center!important;
    min-height:128px!important;
    padding:12px!important;
    border-radius:16px!important;
  }
  .aa-account-my-dogs .aa-our-dog-photo{
    grid-column:1!important;
    width:88px!important;
    height:88px!important;
    border-radius:13px!important;
    align-self:center!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy{
    grid-column:2!important;
    min-width:0!important;
    align-self:center!important;
    padding:0!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy>span{
    margin:0 0 3px!important;
    font-size:.58rem!important;
    line-height:1.12!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy h3{
    margin:0 0 3px!important;
    font-size:1.26rem!important;
    line-height:1.08!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy p{
    margin:0!important;
    font-size:.72rem!important;
    line-height:1.28!important;
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy>div{
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:nowrap!important;
    gap:3px!important;
    margin-top:7px!important;
    font-size:.67rem!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy>div b{
    font-size:.76rem!important;
    line-height:1!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions{
    grid-column:3!important;
    min-width:44px!important;
    width:44px!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-action{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    border-radius:999px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-action>span{display:none!important}
  .aa-account-my-dogs .aa-own-dog-inline-chevron{
    width:11px!important;
    height:11px!important;
    margin:-3px 0 0!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle{
    max-width:44px!important;
    padding:0!important;
    font-size:0!important;
    line-height:1!important;
    text-decoration:none!important;
    opacity:.82!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle::before,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle::before{
    content:'×'!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    border-radius:999px!important;
    border:1px solid rgba(111,24,49,.25)!important;
    color:#7b2439!important;
    font-size:.9rem!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
}
@media(max-width:390px){
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:80px minmax(0,1fr) 40px!important;
    column-gap:10px!important;
    padding:10px!important;
  }
  .aa-account-my-dogs .aa-our-dog-photo{width:80px!important;height:80px!important}
  .aa-account-my-dogs .aa-our-dog-copy h3{font-size:1.15rem!important}
  .aa-account-my-dogs .aa-our-dog-copy p{font-size:.68rem!important}
  .aa-account-my-dogs .aa-our-dog-copy>div{font-size:.62rem!important}
}

/* =========================================================
 * 0.4.437 — dedykowany mobile layout profilu psa + bezpieczne „Usuń”.
 * Zakres tylko telefon/tablet; desktop pozostaje bez zmian.
 * ========================================================= */
@media (max-width:720px){
  /* Pełnoekranowy modal profilu: niższa, spokojniejsza belka. */
  .aa-detail-modal__head{
    min-height:52px!important;
    padding:6px 8px 6px 10px!important;
    gap:7px!important;
  }
  .aa-detail-modal__head-left{gap:6px!important;min-width:0!important}
  .aa-detail-modal__back{
    min-height:34px!important;
    padding:0 10px!important;
    font-size:12px!important;
    line-height:1!important;
  }
  .aa-detail-modal__head-left>strong{
    font-size:17px!important;
    line-height:1.1!important;
    min-width:0!important;
  }
  .aa-detail-modal__close{
    min-height:36px!important;
    padding:0 12px!important;
    font-size:12px!important;
    line-height:1!important;
  }
  .aa-detail-modal__body{padding:7px 6px 14px!important}
  .aa-detail-modal .aa-dog-profile{padding:0!important;margin:0!important}

  /* Hero: prawdziwy układ mobilny. Intro rozpinamy na siatkę rodzica,
     aby zdjęcie i metryka nie ściskały się w desktopowych kolumnach. */
  .aa-detail-modal .aa-dog-profile-hero{
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    gap:8px 12px!important;
    align-items:start!important;
    padding:12px!important;
    border-radius:14px!important;
  }
  .aa-detail-modal .aa-dog-profile-intro{display:contents!important}
  .aa-detail-modal .aa-dog-profile-kicker-row-04317{
    grid-column:1/-1!important;
    grid-row:1!important;
    margin:0 0 2px!important;
    min-height:26px!important;
  }
  .aa-detail-modal .aa-dog-profile-kicker{font-size:10px!important;line-height:1.15!important;letter-spacing:.08em!important}
  .aa-detail-modal .aa-dog-profile-sync-04311 button{min-height:24px!important;font-size:10px!important;padding:2px 7px!important}
  .aa-detail-modal .aa-dog-profile-photo{
    grid-column:1!important;
    grid-row:2 / span 2!important;
    width:104px!important;
    height:104px!important;
    margin:0!important;
    border-radius:12px!important;
  }
  .aa-detail-modal .aa-dog-profile-intro h2{
    grid-column:2!important;
    grid-row:2!important;
    align-self:end!important;
    margin:0!important;
    font-size:1.72rem!important;
    line-height:1!important;
  }
  .aa-detail-modal .aa-dog-profile-registered{
    grid-column:2!important;
    grid-row:3!important;
    align-self:start!important;
    margin:2px 0 0!important;
    font-size:.78rem!important;
    line-height:1.28!important;
  }

  /* Metryka psa na pełnej szerokości jako 2 kolumny; długie numery nie łamią etykiet. */
  .aa-detail-modal .aa-dog-profile-meta-04311{
    grid-column:1/-1!important;
    grid-row:4!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    margin:3px 0 0!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311>span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    min-width:0!important;
    min-height:40px!important;
    padding:6px 7px!important;
    border-radius:11px!important;
    font-size:.67rem!important;
    line-height:1.22!important;
    text-align:center!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311>span b{font-size:.66rem!important;line-height:1.15!important}
  .aa-detail-modal .aa-dog-profile-meta-04311>span i{min-width:0!important;overflow-wrap:anywhere!important;font-size:.67rem!important;line-height:1.18!important}
  .aa-detail-modal .aa-dog-profile-meta-04311>span:first-child:only-child{grid-column:1/-1!important}

  /* Właściciel / hodowca / przydomek: jedna kolumna, bez pustych bloków. */
  .aa-detail-modal .aa-dog-profile-identity-0230{
    grid-column:1/-1!important;
    grid-row:5!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin:4px 0 0!important;
    padding:9px 0 0!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row,
  .aa-detail-modal .aa-dog-profile-affix-row{
    min-height:0!important;
    padding:7px 8px!important;
    border-radius:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row>b,
  .aa-detail-modal .aa-dog-profile-affix-row>b{font-size:.7rem!important;line-height:1.15!important}
  .aa-detail-modal .aa-dog-profile-person-04317{
    grid-template-columns:28px minmax(0,1fr) 25px!important;
    min-height:34px!important;
    column-gap:5px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-04317>a,
  .aa-detail-modal .aa-dog-profile-person-04317>.aa-person-name{font-size:.74rem!important;line-height:1.15!important}
  .aa-detail-modal .aa-dog-profile-person-04317 small{font-size:.68rem!important}
  .aa-detail-modal .aa-dog-profile-affix-row>span{font-size:.74rem!important;line-height:1.25!important}

  /* Cztery główne liczniki: zwarta siatka 2x2. */
  .aa-detail-modal .aa-dog-profile-summary-line{
    grid-column:1/-1!important;
    grid-row:6!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    margin:4px 0 0!important;
    padding:0!important;
    border-top:0!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line>span{
    min-height:42px!important;
    padding:6px 7px!important;
    gap:5px!important;
    border-radius:11px!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line strong{font-size:1.12rem!important}
  .aa-detail-modal .aa-dog-profile-summary-line em{font-size:.62rem!important;white-space:nowrap!important}

  /* Statystyki kariery: pełna szerokość, ciaśniejsze karty. */
  .aa-detail-modal .aa-dog-profile-career-stats{
    grid-column:1/-1!important;
    grid-row:7!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin:2px 0 0!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-panel{padding:9px 10px!important;border-radius:12px!important}
  .aa-detail-modal .aa-dog-profile-stat-panel h3{
    margin:0 0 7px!important;
    padding:0 0 6px!important;
    font-size:.72rem!important;
    line-height:1.15!important;
  }
  .aa-detail-modal .aa-stat-icon{width:22px!important;height:22px!important;font-size:.68rem!important}
  .aa-detail-modal .aa-dog-profile-stat-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px 12px!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-list>span{font-size:.72rem!important;line-height:1.22!important;min-width:0!important}
  .aa-detail-modal .aa-dog-profile-stat-list em{min-width:0!important;overflow-wrap:anywhere!important}
  .aa-detail-modal .aa-dog-profile-stat-list strong{font-size:.8rem!important}

  /* Sekcje pod hero. */
  .aa-detail-modal .aa-dog-profile .aa-dog-section-head{
    min-height:50px!important;
    padding:9px 12px!important;
  }
  .aa-detail-modal .aa-dog-profile .aa-dog-section-head h3{font-size:1rem!important;line-height:1.15!important}
  .aa-detail-modal .aa-dog-section-count{min-width:38px!important;min-height:38px!important;font-size:.9rem!important}

  /* Sędziowie: filtry jedna pod drugą i pełna szerokość. */
  .aa-detail-modal .aa-dog-judges-tools{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:9px!important;
  }
  .aa-detail-modal .aa-dog-judges-tools label{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
  }
  .aa-detail-modal .aa-dog-judges-tools label>span{font-size:.62rem!important;line-height:1.15!important}
  .aa-detail-modal .aa-dog-judges-tools input,
  .aa-detail-modal .aa-dog-judges-tools select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:38px!important;
    padding:6px 9px!important;
    font-size:.72rem!important;
    box-sizing:border-box!important;
  }
  .aa-detail-modal .aa-dog-judges-list{padding:8px!important;gap:7px!important}
  .aa-detail-modal .aa-dog-judge-item>summary{
    grid-template-columns:34px minmax(0,1fr) auto 9px!important;
    gap:7px!important;
    padding:8px 9px!important;
  }
  .aa-detail-modal .aa-dog-judge-name{font-size:.77rem!important}
  .aa-detail-modal .aa-dog-judge-count{font-size:.6rem!important;padding:6px 7px!important}
}

/* „Moje psy”: usuwanie nie jest małym przypadkowym krzyżykiem.
   Pokazujemy czytelny tekst i istniejące potwierdzenie JS. */
@media(max-width:760px){
  .aa-account-my-dogs .aa-own-dog-card-actions{
    min-width:72px!important;
    width:72px!important;
    gap:6px!important;
  }
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:88px minmax(0,1fr) 72px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:68px!important;
    max-width:68px!important;
    min-height:30px!important;
    padding:4px 6px!important;
    border:1px solid rgba(111,24,49,.23)!important;
    border-radius:999px!important;
    background:#fffaf0!important;
    color:#7b2439!important;
    font-size:.54rem!important;
    font-weight:800!important;
    line-height:1.1!important;
    text-align:center!important;
    white-space:normal!important;
    opacity:.9!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle::before,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle::before{display:none!important;content:none!important}
}
@media(max-width:390px){
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:80px minmax(0,1fr) 66px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions{min-width:66px!important;width:66px!important}
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle{width:62px!important;max-width:62px!important;font-size:.5rem!important}
}


/* =========================================================
 * 0.4.438 — mobile: lżejsze akcje „Moje psy” i ciaśniejszy profil psa.
 * Wyłącznie mobile/tablet. Desktop bez zmian.
 * ========================================================= */
@media (max-width:720px){
  /* Belka profilu — mniej dominująca. */
  .aa-detail-modal__head{
    min-height:46px!important;
    padding:5px 7px 5px 8px!important;
    gap:6px!important;
  }
  .aa-detail-modal__back{
    min-height:30px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    font-size:11px!important;
  }
  .aa-detail-modal__head-left>strong{font-size:16px!important}
  .aa-detail-modal__close{
    min-height:32px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    font-size:11px!important;
  }
  .aa-detail-modal__body{padding:5px 5px 12px!important}

  /* Hero profilu — jeszcze ciaśniejszy, bez utraty czytelności. */
  .aa-detail-modal .aa-dog-profile-hero{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:7px 10px!important;
    padding:10px!important;
    border-radius:13px!important;
  }
  .aa-detail-modal .aa-dog-profile-kicker-row-04317{
    min-height:22px!important;
    margin-bottom:0!important;
  }
  .aa-detail-modal .aa-dog-profile-kicker{font-size:9px!important}
  .aa-detail-modal .aa-dog-profile-sync-04311 button{
    min-height:22px!important;
    padding:1px 6px!important;
    font-size:9px!important;
    border-radius:999px!important;
  }
  .aa-detail-modal .aa-dog-profile-photo{
    width:96px!important;
    height:96px!important;
    border-radius:11px!important;
  }
  .aa-detail-modal .aa-dog-profile-intro h2{
    font-size:1.58rem!important;
    line-height:1.02!important;
  }
  .aa-detail-modal .aa-dog-profile-registered{
    margin-top:1px!important;
    font-size:.72rem!important;
    line-height:1.22!important;
  }

  /* Rodowód / rejestracja / chip / płeć — niższe kafelki. */
  .aa-detail-modal .aa-dog-profile-meta-04311{
    gap:5px!important;
    margin-top:2px!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311>span{
    min-height:34px!important;
    padding:4px 6px!important;
    border-radius:10px!important;
    font-size:.61rem!important;
    line-height:1.16!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311>span b{font-size:.6rem!important}
  .aa-detail-modal .aa-dog-profile-meta-04311>span i{font-size:.61rem!important;line-height:1.14!important}

  /* Właściciel / hodowca / przydomek — mniej pustej przestrzeni. */
  .aa-detail-modal .aa-dog-profile-identity-0230{
    gap:4px!important;
    margin-top:2px!important;
    padding-top:7px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row,
  .aa-detail-modal .aa-dog-profile-affix-row{
    padding:5px 6px!important;
    border-radius:9px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row>b,
  .aa-detail-modal .aa-dog-profile-affix-row>b{font-size:.65rem!important}
  .aa-detail-modal .aa-dog-profile-person-04317{
    grid-template-columns:25px minmax(0,1fr) 22px!important;
    min-height:30px!important;
    column-gap:4px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-04317>a,
  .aa-detail-modal .aa-dog-profile-person-04317>.aa-person-name{font-size:.69rem!important;line-height:1.13!important}
  .aa-detail-modal .aa-dog-profile-person-04317 small{font-size:.62rem!important}
  .aa-detail-modal .aa-dog-profile-affix-row>span{font-size:.69rem!important;line-height:1.2!important}

  /* Liczniki — niższe i lżejsze. */
  .aa-detail-modal .aa-dog-profile-summary-line{
    gap:5px!important;
    margin-top:2px!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line>span{
    min-height:36px!important;
    padding:4px 6px!important;
    gap:4px!important;
    border-radius:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line strong{font-size:1rem!important}
  .aa-detail-modal .aa-dog-profile-summary-line em{font-size:.57rem!important}

  /* Rodzaj / Oceny / Klasy — mniej wysokości. */
  .aa-detail-modal .aa-dog-profile-career-stats{gap:5px!important;margin-top:0!important}
  .aa-detail-modal .aa-dog-profile-stat-panel{padding:7px 8px!important;border-radius:11px!important}
  .aa-detail-modal .aa-dog-profile-stat-panel h3{
    margin-bottom:5px!important;
    padding-bottom:5px!important;
    gap:6px!important;
    font-size:.67rem!important;
  }
  .aa-detail-modal .aa-stat-icon{width:20px!important;height:20px!important;font-size:.62rem!important}
  .aa-detail-modal .aa-dog-profile-stat-list{gap:3px 10px!important}
  .aa-detail-modal .aa-dog-profile-stat-list>span{font-size:.68rem!important;line-height:1.17!important}
  .aa-detail-modal .aa-dog-profile-stat-list strong{font-size:.75rem!important}

  /* Nagłówki dalszych sekcji profilu. */
  .aa-detail-modal .aa-dog-profile .aa-dog-section-head{
    min-height:44px!important;
    padding:7px 10px!important;
  }
  .aa-detail-modal .aa-dog-profile .aa-dog-section-head h3{font-size:.92rem!important}
  .aa-detail-modal .aa-dog-section-count{min-width:33px!important;min-height:33px!important;font-size:.8rem!important}

  /* Sędziowie — jeszcze bardziej zwarte narzędzia i wiersze. */
  .aa-detail-modal .aa-dog-judges-tools{gap:5px!important;padding:7px!important}
  .aa-detail-modal .aa-dog-judges-tools label{gap:3px!important}
  .aa-detail-modal .aa-dog-judges-tools label>span{font-size:.57rem!important}
  .aa-detail-modal .aa-dog-judges-tools input,
  .aa-detail-modal .aa-dog-judges-tools select{
    height:34px!important;
    padding:5px 8px!important;
    font-size:.68rem!important;
  }
  .aa-detail-modal .aa-dog-judges-list{padding:7px!important;gap:6px!important}
  .aa-detail-modal .aa-dog-judge-item>summary{
    grid-template-columns:31px minmax(0,1fr) auto 8px!important;
    gap:6px!important;
    padding:7px 8px!important;
  }
  .aa-detail-modal .aa-dog-judge-name{font-size:.72rem!important}
  .aa-detail-modal .aa-dog-judge-count{font-size:.56rem!important;padding:5px 6px!important}
}

@media (max-width:760px){
  /* „Moje psy” — akcje pomocnicze, nie dominujące. */
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:86px minmax(0,1fr) 58px!important;
    min-height:118px!important;
    column-gap:10px!important;
    padding:10px!important;
  }
  .aa-account-my-dogs .aa-our-dog-photo{width:86px!important;height:86px!important}
  .aa-account-my-dogs .aa-own-dog-card-actions{
    min-width:58px!important;
    width:58px!important;
    gap:5px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-action{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
  }
  .aa-account-my-dogs .aa-own-dog-inline-chevron{
    width:9px!important;
    height:9px!important;
    border-width:0 2px 2px 0!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle{
    width:54px!important;
    max-width:54px!important;
    min-height:24px!important;
    padding:2px 4px!important;
    border-radius:999px!important;
    font-size:.46rem!important;
    line-height:1.05!important;
    font-weight:750!important;
  }
  .aa-account-my-dogs .aa-our-dog-copy>span{font-size:.55rem!important}
  .aa-account-my-dogs .aa-our-dog-copy h3{font-size:1.18rem!important}
  .aa-account-my-dogs .aa-our-dog-copy p{font-size:.69rem!important;line-height:1.24!important}
  .aa-account-my-dogs .aa-our-dog-copy>div{margin-top:5px!important;font-size:.63rem!important}
  .aa-account-my-dogs .aa-our-dog-copy>div b{font-size:.72rem!important}
}
@media (max-width:390px){
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:78px minmax(0,1fr) 54px!important;
    column-gap:8px!important;
    padding:9px!important;
  }
  .aa-account-my-dogs .aa-our-dog-photo{width:78px!important;height:78px!important}
  .aa-account-my-dogs .aa-own-dog-card-actions{min-width:54px!important;width:54px!important}
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-own-dog-card-actions>.aa-legacy-my-dog-toggle{
    width:50px!important;
    max-width:50px!important;
    font-size:.43rem!important;
  }
}


/* 0.4.439 — mobile: właściciel i hodowca w jednym rzędzie; przydomek pełna szerokość. */
@media (max-width:760px){
  .aa-detail-modal .aa-dog-profile-identity-0230{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px 8px!important;
    align-items:start!important;
  }
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-person-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
    min-width:0!important;
    padding:5px 6px!important;
  }
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-person-row>b{
    display:block!important;
    margin:0!important;
    font-size:.62rem!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-person-row>span{
    min-width:0!important;
  }
  .aa-detail-modal .aa-dog-profile-person-04317{
    grid-template-columns:24px minmax(0,1fr) 20px!important;
    column-gap:4px!important;
    min-height:28px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-04317>a,
  .aa-detail-modal .aa-dog-profile-person-04317>.aa-person-name{
    font-size:.67rem!important;
    line-height:1.12!important;
    min-width:0!important;
  }
  .aa-detail-modal .aa-dog-profile-person-04317 small{
    font-size:.58rem!important;
    justify-self:end!important;
  }
  .aa-detail-modal .aa-dog-profile-person-04317 .aa-person-flag{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    flex-basis:23px!important;
    padding:2px!important;
    font-size:.9rem!important;
  }
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-affix-row{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr)!important;
    gap:6px!important;
    align-items:center!important;
    padding:4px 6px!important;
  }
  .aa-detail-modal .aa-dog-profile-affix-row>b{white-space:nowrap!important}
}
@media (max-width:390px){
  .aa-detail-modal .aa-dog-profile-identity-0230{gap:5px 6px!important}
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-person-row{padding:4px 5px!important}
  .aa-detail-modal .aa-dog-profile-person-04317{grid-template-columns:22px minmax(0,1fr) 18px!important;column-gap:3px!important}
  .aa-detail-modal .aa-dog-profile-person-04317>a,
  .aa-detail-modal .aa-dog-profile-person-04317>.aa-person-name{font-size:.64rem!important}
  .aa-detail-modal .aa-dog-profile-person-04317 .aa-person-flag{width:21px!important;height:21px!important;min-width:21px!important;flex-basis:21px!important}
}


/* 0.4.441 — „Moje psy”: dyskretne usuwanie pod statystykami zamiast dużego przycisku w kolumnie akcji. */
.aa-account-my-dogs .aa-my-dog-remove-inline{
  display:block!important;
  margin-top:4px!important;
  line-height:1!important;
}
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle{
  display:inline!important;
  min-height:0!important;
  height:auto!important;
  width:auto!important;
  max-width:none!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#7d5360!important;
  font-size:.57rem!important;
  font-weight:650!important;
  line-height:1.2!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
  white-space:nowrap!important;
}
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle:hover,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle:focus,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle:hover,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle:focus{
  background:transparent!important;
  color:#6f1831!important;
  text-decoration-thickness:2px!important;
}
@media(max-width:760px){
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:86px minmax(0,1fr) 38px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions{
    width:38px!important;
    min-width:38px!important;
    justify-content:flex-start!important;
  }
  .aa-account-my-dogs .aa-my-dog-remove-inline{margin-top:3px!important}
  .aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle{
    font-size:.54rem!important;
  }
}
@media(max-width:390px){
  .aa-account-my-dogs .aa-our-dog-card-details>.aa-our-dog-card{
    grid-template-columns:78px minmax(0,1fr) 36px!important;
  }
  .aa-account-my-dogs .aa-own-dog-card-actions{width:36px!important;min-width:36px!important}
}

/* 0.4.441 — „Moje psy”: link usuwania mniejszy, bordowy i dosunięty do prawej. */
.aa-account-my-dogs .aa-my-dog-remove-inline{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  width:100%!important;
  margin-top:3px!important;
  line-height:1!important;
}
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle{
  color:#6f1831!important;
  font-size:.52rem!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
  opacity:.9!important;
  text-align:right!important;
}
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle:hover,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle:focus,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle:hover,
.aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle:focus{
  color:#8d1538!important;
  opacity:1!important;
}
@media(max-width:760px){
  .aa-account-my-dogs .aa-my-dog-remove-inline{margin-top:2px!important}
  .aa-account-my-dogs .aa-my-dog-remove-inline .aa-my-dog-direct-toggle,
  .aa-account-my-dogs .aa-my-dog-remove-inline .aa-legacy-my-dog-toggle{font-size:.49rem!important}
}


/* =========================================================
 * 0.4.443 — liczba Goldenów na głównej belce jako ręczne odświeżenie
 * Bez dodatkowej ikony: klikana jest cała pastylka. Pod pastylkami
 * pokazujemy datę i godzinę ostatniego sprawdzenia.
 * ========================================================= */
.aa-db-show-card .aa-golden-count-pill--refreshable{
  appearance:none!important;
  -webkit-appearance:none!important;
  font-family:inherit!important;
  border:0!important;
  cursor:pointer!important;
  background:#eee8dc!important;
  color:#143b34!important;
  box-shadow:none!important;
}
.aa-db-show-card .aa-golden-count-pill--refreshable:hover,
.aa-db-show-card .aa-golden-count-pill--refreshable:focus-visible{
  filter:brightness(.97);
  outline:2px solid rgba(111,24,49,.22)!important;
  outline-offset:2px!important;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-loading{
  opacity:.68!important;
  cursor:progress!important;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-success{
  box-shadow:0 0 0 2px rgba(46,103,79,.18)!important;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-error{
  box-shadow:0 0 0 2px rgba(127,24,49,.18)!important;
}
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-pill-refresh-time{
  flex:1 0 100%!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  color:#756d61!important;
  font-size:9px!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
@media(max-width:420px){
  .aa-db-show-card .aa-db-show-card__badges > .aa-golden-pill-refresh-time{
    font-size:8px!important;
  }
}

/* =========================================================
 * 0.4.445 — widoczny toast po ręcznym odświeżeniu Goldenów.
 * Naprawa 0.4.444: prawdziwe nowe linie CSS zamiast literalnych \n.
 * ========================================================= */
.aa-db-show-card .aa-golden-pill-refresh-time{
  display:none!important;
}
.aa-golden-refresh-toast{
  position:fixed!important;
  left:50%!important;
  top:calc(14px + env(safe-area-inset-top, 0px))!important;
  bottom:auto!important;
  z-index:2147483000!important;
  display:block!important;
  visibility:visible!important;
  width:max-content!important;
  max-width:min(90vw,460px)!important;
  box-sizing:border-box!important;
  padding:10px 15px!important;
  border:1px solid rgba(111,24,49,.28)!important;
  border-radius:999px!important;
  background:#fffaf1!important;
  color:#403b34!important;
  box-shadow:0 10px 30px rgba(25,23,18,.30)!important;
  font:700 13px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-align:center!important;
  opacity:0;
  transform:translate(-50%,-10px) scale(.98);
  pointer-events:none!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
.aa-golden-refresh-toast.is-visible{
  opacity:1!important;
  transform:translate(-50%,0) scale(1)!important;
}
.aa-golden-refresh-toast.is-loading{
  border-color:rgba(176,132,26,.36)!important;
  color:#6b5514!important;
}
.aa-golden-refresh-toast.is-success{
  border-color:rgba(46,103,79,.34)!important;
  color:#244f3e!important;
}
.aa-golden-refresh-toast.is-error{
  border-color:rgba(127,24,49,.38)!important;
  color:#7f1831!important;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-loading{
  animation:aa-golden-pill-wait .85s ease-in-out infinite alternate;
}
@keyframes aa-golden-pill-wait{
  from{filter:brightness(1);}
  to{filter:brightness(.88);}
}
@media(max-width:760px){
  .aa-golden-refresh-toast{
    /* 0.4.446: toast poniżej nagłówka strony, nie na logo/menu. */
    top:calc(112px + env(safe-area-inset-top, 0px))!important;
    max-width:92vw!important;
    padding:9px 13px!important;
    font-size:12px!important;
  }
}


/* =========================================================
 * 0.4.447 — komunikat odświeżania Goldenów lokalnie w karcie.
 * Pojawia się bezpośrednio nad rzędem pastylek, przy wystawie
 * której licznik został kliknięty. Nie jest już toastem globalnym.
 * ========================================================= */
.aa-db-show-card .aa-golden-refresh-toast--local{
  position:static!important;
  left:auto!important;
  top:auto!important;
  bottom:auto!important;
  z-index:auto!important;
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 auto 7px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  box-shadow:0 3px 10px rgba(25,23,18,.12)!important;
  font:700 11px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  opacity:0;
  transform:translateY(3px) scale(.98)!important;
  pointer-events:none!important;
}
.aa-db-show-card .aa-golden-refresh-toast--local.is-visible{
  opacity:1!important;
  transform:translateY(0) scale(1)!important;
}
@media(max-width:760px){
  .aa-db-show-card .aa-golden-refresh-toast--local{
    position:static!important;
    top:auto!important;
    max-width:100%!important;
    margin:0 auto 6px!important;
    padding:5px 9px!important;
    font-size:10.5px!important;
  }
}


/* =========================================================
 * 0.4.448 — wynik odświeżenia liczby Goldenów jako popup.
 * Spójnie z odświeżaniem terminu zapisów: bez nowej linii
 * i bez zmiany wysokości karty.
 * ========================================================= */
.aa-db-show-card .aa-golden-count-pill--refreshable{
  position:relative!important;
  overflow:visible!important;
}
.aa-db-show-card .aa-golden-count-pill--refreshable::after{
  content:attr(data-aa-golden-status-message);
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  z-index:10020;
  width:max-content;
  max-width:min(330px,78vw);
  box-sizing:border-box;
  padding:8px 10px;
  border:1px solid #d9cdbd;
  border-radius:8px;
  background:#fffaf1;
  color:#51483b;
  box-shadow:0 6px 18px rgba(41,31,22,.18);
  font:650 11px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  white-space:normal;
  text-align:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-50%) translateY(3px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-status-visible::after{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-status-loading::after{
  border-color:rgba(176,132,26,.36);
  color:#6b5514;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-status-success::after{
  border-color:rgba(46,103,79,.34);
  color:#244f3e;
}
.aa-db-show-card .aa-golden-count-pill--refreshable.is-status-error::after{
  border-color:rgba(127,24,49,.38);
  color:#7f1831;
}
/* Stary lokalny wiersz 0.4.447 nie jest już używany. */
.aa-db-show-card .aa-golden-refresh-toast--local{display:none!important;}
@media(max-width:620px){
  .aa-db-show-card .aa-golden-count-pill--refreshable::after{
    position:fixed;
    left:50%;
    right:auto;
    bottom:auto;
    top:50%;
    width:min(320px,82vw);
    max-width:82vw;
    padding:8px 10px;
    font-size:12px;
    transform:translate(-50%,-50%) translateY(3px);
  }
  .aa-db-show-card .aa-golden-count-pill--refreshable.is-status-visible::after{
    transform:translate(-50%,-50%) translateY(0);
  }
}

/* =========================================================
 * 0.4.572 — prywatna pastylka „Nasze psy” + stałe ikony ↻.
 * Ikona ma zarezerwowaną szerokość, żeby mobile nie przerzucał
 * pastylek po rozpoczęciu/zakończeniu odświeżania.
 * ========================================================= */
.aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill--refreshable,
.aa-db-show-card .aa-db-show-card__badges > .aa-our-dogs-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  white-space:nowrap!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
.aa-db-show-card .aa-pill-refresh-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 11px!important;
  width:11px!important;
  min-width:11px!important;
  height:11px!important;
  font-size:11px!important;
  line-height:1!important;
  opacity:.62!important;
}
.aa-db-show-card .is-loading > .aa-pill-refresh-icon{animation:aa-golden-refresh-spin .75s linear infinite!important;opacity:.92!important}
.aa-db-show-card .aa-our-dogs-pill{
  appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;
  border:0!important;background:#f3e9dd!important;color:#6f1831!important;box-shadow:none!important;font-family:inherit!important;
  position:relative!important;overflow:visible!important;
}
.aa-db-show-card .aa-our-dogs-pill:hover,.aa-db-show-card .aa-our-dogs-pill:focus-visible{filter:brightness(.97);outline:2px solid rgba(111,24,49,.22)!important;outline-offset:2px!important}
.aa-db-show-card .aa-our-dogs-pill.is-loading{cursor:progress!important;opacity:.72!important}
.aa-db-show-card .aa-our-label-short{display:none}
.aa-db-show-card .aa-our-dogs-pill::after{
  content:attr(data-aa-our-status-message);position:absolute;left:50%;bottom:calc(100% + 10px);z-index:10020;width:max-content;max-width:min(330px,78vw);box-sizing:border-box;padding:8px 10px;border:1px solid #d9cdbd;border-radius:8px;background:#fffaf1;color:#51483b;box-shadow:0 6px 18px rgba(41,31,22,.18);font:650 11px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:normal;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(3px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.aa-db-show-card .aa-our-dogs-pill.is-status-visible::after{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.aa-db-show-card .aa-our-dogs-pill.is-status-loading::after{border-color:rgba(176,132,26,.36);color:#6b5514}
.aa-db-show-card .aa-our-dogs-pill.is-status-success::after{border-color:rgba(46,103,79,.34);color:#244f3e}
.aa-db-show-card .aa-our-dogs-pill.is-status-error::after{border-color:rgba(127,24,49,.38);color:#7f1831}
.aa-show-registration-data .aa-show-registration-sexes li{align-items:flex-start!important;flex-wrap:wrap!important}
.aa-show-registration-data .aa-our-registration-inline{display:flex;flex:1 0 100%;gap:4px;flex-wrap:wrap;margin-top:3px;color:#6f1831;font-size:10.5px;line-height:1.25}
.aa-show-registration-data .aa-our-registration-dog{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid rgba(111,24,49,.18);border-radius:999px;background:#fff6ef;white-space:nowrap}
.aa-show-registration-data .aa-our-registration-dog b{font-size:10.5px;color:#6f1831!important}
.aa-show-registration-data .aa-our-registration-dog em{font-style:normal;font-weight:700;color:#52614a}
@media(max-width:620px){
  .aa-db-show-card .aa-our-label-full{display:none}
  .aa-db-show-card .aa-our-label-short{display:inline}
  .aa-db-show-card .aa-db-show-card__badges > .aa-golden-count-pill--refreshable,
  .aa-db-show-card .aa-db-show-card__badges > .aa-our-dogs-pill{gap:3px!important}
  .aa-db-show-card .aa-pill-refresh-icon{flex-basis:10px!important;width:10px!important;min-width:10px!important;font-size:10px!important}
  .aa-db-show-card .aa-our-dogs-pill::after{position:fixed;left:50%;right:auto;bottom:auto;top:50%;width:min(320px,82vw);max-width:82vw;transform:translate(-50%,-50%) translateY(3px)}
  .aa-db-show-card .aa-our-dogs-pill.is-status-visible::after{transform:translate(-50%,-50%) translateY(0)}
}


/* =========================================================
 * 0.4.573 — czytelne nasze psy w statystykach zgłoszeń.
 * Imię jest linkiem do profilu; status ma własny kolor/pastylkę.
 * ========================================================= */
.aa-show-registration-data .aa-our-registration-dog{
  padding:2px 4px 2px 6px!important;
  background:#fffaf4!important;
  border-color:rgba(40,73,65,.18)!important;
  gap:5px!important;
}
.aa-show-registration-data .aa-our-registration-dog b,
.aa-show-registration-data .aa-our-registration-dog-link{
  color:#7f1831!important;
  font-size:10.8px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.aa-show-registration-data .aa-our-registration-dog-link:hover,
.aa-show-registration-data .aa-our-registration-dog-link:focus-visible{
  color:#173d36!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
.aa-show-registration-data .aa-our-registration-dog em{
  display:inline-flex!important;
  align-items:center!important;
  min-height:18px!important;
  padding:1px 5px!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:800!important;
  background:#eaf0f5!important;
  color:#285477!important;
}
.aa-show-registration-data .aa-our-registration-dog--accepted em{background:#e4f2e9!important;color:#246241!important}
.aa-show-registration-data .aa-our-registration-dog--sent em{background:#e8f0f8!important;color:#245b85!important}
.aa-show-registration-data .aa-our-registration-dog--cancelled em{background:#f8e5e8!important;color:#8a1f35!important}
.aa-db-show-card .aa-our-dogs-pill::after{line-height:1.45!important}


/* 0.4.574 — osobny wiersz „Nasze psy” + prywatne zgłoszenia w profilu psa. */
.aa-show-registration-data .aa-show-registration-sexes li{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important;align-items:center!important}
.aa-show-registration-data .aa-our-registration-inline--rows{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important;margin:4px 0 1px!important;padding:5px 7px!important;background:#f7f2e8!important;border-radius:8px!important;color:#263f37!important}
.aa-show-registration-data .aa-our-registration-caption{flex:0 0 auto;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7b6a49}
.aa-show-registration-data .aa-our-registration-items{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.aa-show-registration-data .aa-our-registration-dog{display:inline-flex!important;align-items:center!important;gap:5px!important;margin:0!important;padding:2px 4px 2px 6px!important;white-space:nowrap!important}
.aa-show-registration-data .aa-our-registration-dog-link{color:#23705d!important;font-weight:800!important}
.aa-show-registration-data .aa-our-registration-dog em{flex:0 0 auto!important}
.aa-dog-profile-entries-private{margin-top:20px}
.aa-dog-private-entries-list{display:grid;gap:7px;padding:12px 18px 18px}
.aa-dog-private-entry{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e1d3bd;border-radius:12px;background:#fffaf2;color:#243c34!important;text-decoration:none!important}
.aa-dog-private-entry:hover{border-color:#9a7452;background:#fff7ea}
.aa-dog-private-entry-date{font-weight:800;color:#7f1831}
.aa-dog-private-entry-main{display:flex;min-width:0;flex-direction:column;gap:2px}
.aa-dog-private-entry-main strong{font-size:14px}.aa-dog-private-entry-main small{color:#6b655a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aa-dog-private-entry-main em{font-style:normal;font-size:12px;color:#67583d}
.aa-dog-private-entry-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#e8f0f8;color:#245b85}.aa-dog-private-entry-status.is-accepted{background:#e4f2e9;color:#246241}.aa-dog-private-entry-status.is-cancelled{background:#f8e5e8;color:#8a1f35}
.aa-dog-private-entries-empty{padding:14px 18px;margin:0}
@media(max-width:620px){.aa-show-registration-data .aa-our-registration-inline--rows{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}.aa-dog-private-entry{grid-template-columns:1fr auto;gap:5px 8px}.aa-dog-private-entry-date{grid-column:1}.aa-dog-private-entry-main{grid-column:1}.aa-dog-private-entry-status{grid-column:2;grid-row:1/3;align-self:center}}


/* 0.4.575 — jeden modal z historią + czytelne nasze psy + grupowane zgłoszenia profilu. */
.aa-show-registration-data .aa-our-registration-inline--rows{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:0!important;margin:3px 0 2px!important;padding:0!important;background:transparent!important;border-radius:0!important}
.aa-show-registration-data .aa-our-registration-items{display:flex!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;min-width:0!important}
.aa-show-registration-data .aa-our-registration-dog{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:2px 0!important;white-space:nowrap!important;font-size:12px!important;line-height:1.25!important}
.aa-show-registration-data .aa-our-registration-dog-link,.aa-show-registration-data .aa-our-registration-dog>b{font-size:12px!important;font-weight:900!important;color:#23705d!important;text-decoration:none!important}
.aa-show-registration-data .aa-our-registration-separator{display:inline-block!important;color:#a58a64!important;font-weight:900!important;line-height:1!important}
.aa-show-registration-data .aa-our-registration-dog em{display:inline-flex!important;align-items:center!important;min-height:20px!important;padding:2px 7px!important;border-radius:999px!important;font-size:10px!important;line-height:1!important;font-style:normal!important;font-weight:800!important;background:#e8f0f8!important;color:#245b85!important}
.aa-show-registration-data .aa-our-registration-dog--accepted em{background:#e4f2e9!important;color:#246241!important}
.aa-show-registration-data .aa-our-registration-dog--cancelled em{background:#f8e5e8!important;color:#8a1f35!important}
@media(min-width:721px){.aa-show-registration-data .aa-our-registration-dog-link,.aa-show-registration-data .aa-our-registration-dog>b{font-size:13px!important}.aa-show-registration-data .aa-our-registration-dog em{font-size:10.5px!important}}
@media(max-width:620px){.aa-show-registration-data .aa-our-registration-inline--rows{align-items:center!important;flex-direction:row!important;justify-content:flex-end!important;margin-top:4px!important}.aa-show-registration-data .aa-our-registration-items{gap:5px!important}.aa-show-registration-data .aa-our-registration-dog{gap:5px!important;font-size:11px!important}.aa-show-registration-data .aa-our-registration-dog-link,.aa-show-registration-data .aa-our-registration-dog>b{font-size:11.5px!important}.aa-show-registration-data .aa-our-registration-dog em{padding:2px 6px!important;font-size:9.5px!important}}

.aa-registration-modal__header>div{flex:1 1 auto;min-width:0}
.aa-registration-modal__back,.aa-registration-modal__close{flex:0 0 auto}
@media(max-width:620px){.aa-registration-modal__header{gap:8px!important}.aa-registration-modal__header>div{min-width:0!important}.aa-registration-modal__header h3{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}.aa-registration-modal__back{padding:7px 9px!important;font-size:12px!important}.aa-registration-modal__close{white-space:nowrap!important}}

.aa-dog-profile-entries-private>.aa-dog-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important}
.aa-dog-profile-entries-private>.aa-dog-section-head h3{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.aa-dog-profile-entries-private>.aa-dog-section-head .aa-dog-section-summary-meta{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;margin-left:auto!important;white-space:nowrap!important}
.aa-dog-private-entries-groups{display:grid;gap:16px;padding:12px 18px 18px}
.aa-dog-private-entry-group{display:grid;gap:8px}
.aa-dog-private-entry-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}
.aa-dog-private-entry-group-head h4{margin:0!important;font-size:13px!important;color:#20382d!important;text-transform:none!important}
.aa-dog-private-entry-group-head span{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#7a1831;color:#fff7e8;font-size:11px;font-weight:800}
.aa-dog-private-entry-group.is-accepted .aa-dog-private-entry-group-head span{background:#2f7351}
.aa-dog-private-entry-group.is-sent .aa-dog-private-entry-group-head span{background:#2f648f}
.aa-dog-private-entry-group.is-cancelled .aa-dog-private-entry-group-head span{background:#8a1f35}
.aa-dog-private-entries-list{display:grid!important;gap:0!important;padding:0!important}
.aa-dog-private-entry{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:15px!important;margin:0!important;padding:13px 4px 13px 12px!important;border:0!important;border-top:1px solid rgba(36,27,29,.11)!important;border-radius:0!important;background:transparent!important;color:inherit!important;text-decoration:none!important}
.aa-dog-private-entry:first-child{border-top:0!important}
.aa-dog-private-entry .aa-dog-private-entry-status{margin-top:5px;display:inline-flex;width:max-content;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;background:#e8f0f8;color:#245b85}
.aa-dog-private-entry .aa-dog-private-entry-status.is-accepted{background:#e4f2e9;color:#246241}.aa-dog-private-entry .aa-dog-private-entry-status.is-cancelled{background:#f8e5e8;color:#8a1f35}
@media(max-width:720px){.aa-dog-private-entries-groups{padding:10px 12px 14px}.aa-dog-private-entry{grid-template-columns:1fr!important;gap:3px!important;padding:11px 2px!important}.aa-dog-private-entry .aa-dog-profile-event-date{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.aa-dog-private-entry .aa-dog-private-entry-status{margin-top:0!important}.aa-dog-profile-entries-private>.aa-dog-section-head h3{font-size:1rem!important}.aa-dog-profile-entries-private>.aa-dog-section-head .aa-dog-section-summary-meta{gap:6px!important}}

/* =========================================================
 * 0.4.579 — bezpieczne domknięcie prywatnych zgłoszeń.
 * Bazuje na 0.4.575 i nie zmienia globalnego układu profilu psa.
 * ========================================================= */

/* W modalu zgłoszeń zachowujemy jeden wiersz klasy: klasa | liczba | nasz pies/status. */
.aa-registration-modal__data .aa-show-registration-sexes li{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  column-gap:10px!important;
  align-items:center!important;
  min-height:32px!important;
}
.aa-registration-modal__data .aa-our-registration-inline--rows{
  grid-column:3!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  min-width:0!important;
}
.aa-registration-modal__data .aa-our-registration-items{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.aa-registration-modal__data .aa-our-registration-dog{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  white-space:nowrap!important;
}
.aa-registration-modal__data .aa-our-registration-dog-link{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  margin:0!important;
  padding:0!important;
  color:#23705d!important;
  font:900 15px/1.15 inherit!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
.aa-registration-modal__data .aa-our-registration-dog-link:hover,
.aa-registration-modal__data .aa-our-registration-dog-link:focus-visible{
  color:#7f1831!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
.aa-registration-modal__data .aa-our-registration-separator{
  display:inline-block!important;
  color:#a58a64!important;
  font-weight:900!important;
}
.aa-registration-modal__data .aa-our-registration-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:22px!important;
  padding:3px 9px!important;
  border:1px solid #cbddeb!important;
  border-radius:999px!important;
  background:#e6f0f8!important;
  color:#245b85!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  font-style:normal!important;
  white-space:nowrap!important;
}
.aa-registration-modal__data .aa-our-registration-dog--accepted .aa-our-registration-status{border-color:#c7e4d1!important;background:#e3f2e8!important;color:#246241!important}
.aa-registration-modal__data .aa-our-registration-dog--sent .aa-our-registration-status{border-color:#cbddeb!important;background:#e6f0f8!important;color:#245b85!important}
.aa-registration-modal__data .aa-our-registration-dog--cancelled .aa-our-registration-status{border-color:#ecc8d0!important;background:#f8e5e8!important;color:#8a1f35!important}

/* Profil psa otwierany z modala: zachowujemy pełną nazwę właściciela/hodowcy.
 * Zmieniamy tylko ten kontekst, bez dotykania zwykłego profilu. */
.aa-registration-modal__data .aa-dog-profile-person-04317{
  grid-template-columns:28px minmax(0,1fr) 25px!important;
  column-gap:5px!important;
  min-height:42px!important;
}
.aa-registration-modal__data .aa-dog-profile-person-04317>a>span,
.aa-registration-modal__data .aa-dog-profile-person-04317>.aa-person-name>span{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.14!important;
}
.aa-registration-modal__data .aa-dog-profile-person-row{overflow:visible!important}

/* Sekcja prywatnych zgłoszeń ma korzystać z natywnej belki profilu. */
.aa-dog-profile-entries-private{margin-top:20px!important}
.aa-dog-profile-entries-private>.aa-dog-section-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
}
.aa-dog-profile-entries-private>.aa-dog-section-head h3{min-width:0!important;margin:0!important}
.aa-dog-profile-entries-private>.aa-dog-section-head .aa-dog-section-summary-meta{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;margin-left:auto!important}
.aa-dog-private-entries-groups{display:grid!important;gap:18px!important;padding:14px 18px 18px!important}
.aa-dog-private-entry-group{display:grid!important;gap:9px!important}
.aa-dog-private-entry-group-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0 2px!important}
.aa-dog-private-entry-group-head h4{margin:0!important;font-size:13px!important;color:#20382d!important}
.aa-dog-private-entry-group-head span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:25px!important;height:25px!important;padding:0 7px!important;border-radius:999px!important;background:#7a1831!important;color:#fff7e8!important;font-size:11px!important;font-weight:800!important}
.aa-dog-private-entry-group.is-accepted .aa-dog-private-entry-group-head span{background:#2f7351!important}
.aa-dog-private-entry-group.is-sent .aa-dog-private-entry-group-head span{background:#2f648f!important}
.aa-dog-private-entry-group.is-cancelled .aa-dog-private-entry-group-head span{background:#8a1f35!important}
.aa-dog-private-entries-list{display:grid!important;gap:12px!important;padding:0!important}

/* Karta wystawy w prywatnych zgłoszeniach jest prawdziwym komponentem kalendarza.
 * Nie nakładamy na nią własnego layoutu. */
.aa-dog-private-entries-list>.aa-show-card{margin:0!important}

/* W profilu wystawy otwartym z prywatnych zgłoszeń nie pokazujemy globalnej nawigacji bazy. */
.aa-registration-modal__data .aa-show-profile-db>.aa-public-module-nav,
.aa-registration-modal__data .aa-show-profile-db>.aa-golden-db-back{display:none!important}

@media(max-width:620px){
  .aa-registration-modal__data .aa-show-registration-sexes li{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    column-gap:8px!important;
  }
  .aa-registration-modal__data .aa-our-registration-dog{gap:5px!important}
  .aa-registration-modal__data .aa-our-registration-dog-link{font-size:13px!important}
  .aa-registration-modal__data .aa-our-registration-status{min-height:21px!important;padding:3px 7px!important;font-size:9.5px!important}
  .aa-registration-modal__data .aa-our-registration-separator{font-size:10px!important}
  .aa-dog-private-entries-groups{padding:10px 12px 14px!important}
  .aa-dog-profile-entries-private>.aa-dog-section-head h3{font-size:1rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .aa-dog-profile-entries-private>.aa-dog-section-head .aa-dog-section-summary-meta{gap:6px!important;white-space:nowrap!important}
}

/* =========================================================
 * 0.4.580 — prywatne zgłoszenia: cztery natywne belki + stała kolumna liczby.
 * ========================================================= */

/* Każdy status jest osobną standardową belką profilu. Bez nadrzędnego kontenera. */
.aa-dog-private-entry-section{margin-top:18px!important}
.aa-dog-private-entry-section>.aa-dog-section-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
}
.aa-dog-private-entry-section>.aa-dog-section-head h3{
  min-width:0!important;
  margin:0!important;
}
.aa-dog-private-entry-section>.aa-dog-section-head .aa-dog-section-summary-meta{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
}
.aa-dog-private-entry-section>.aa-dog-private-entries-list{
  display:grid!important;
  gap:12px!important;
  padding:14px 18px 18px!important;
}
.aa-dog-private-entry-section.is-accepted>.aa-dog-section-head .aa-dog-section-count{background:#2f7351!important}
.aa-dog-private-entry-section.is-sent>.aa-dog-section-head .aa-dog-section-count{background:#2f648f!important}
.aa-dog-private-entry-section.is-cancelled>.aa-dog-section-head .aa-dog-section-count{background:#8a1f35!important}
.aa-dog-private-entry-section.is-past>.aa-dog-section-head .aa-dog-section-count{background:#6a6259!important}

/* W tabeli zgłoszeń liczba Goldenów ma własną, stałą kolumnę.
 * Dzięki temu 8/9/3 są w jednej pionowej osi niezależnie od długości imienia/statusu. */
.aa-registration-modal__data .aa-show-registration-sexes li{
  grid-template-columns:minmax(0,1fr) 34px minmax(150px,220px)!important;
  column-gap:10px!important;
}
.aa-registration-modal__data .aa-show-registration-sexes li>span:first-child{min-width:0!important}
.aa-registration-modal__data .aa-show-registration-sexes li>b{
  grid-column:2!important;
  width:34px!important;
  text-align:right!important;
  justify-self:end!important;
}
.aa-registration-modal__data .aa-our-registration-inline--rows{
  grid-column:3!important;
  width:100%!important;
  min-width:0!important;
}
.aa-registration-modal__data .aa-our-registration-items{
  width:100%!important;
  justify-content:flex-end!important;
}

@media(max-width:620px){
  .aa-dog-private-entry-section{margin-top:12px!important}
  .aa-dog-private-entry-section>.aa-dog-private-entries-list{padding:10px 10px 12px!important;gap:10px!important}
  .aa-dog-private-entry-section>.aa-dog-section-head h3{font-size:1rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .aa-dog-private-entry-section>.aa-dog-section-head .aa-dog-section-summary-meta{gap:6px!important;white-space:nowrap!important}
  .aa-registration-modal__data .aa-show-registration-sexes li{
    grid-template-columns:minmax(0,1fr) 28px minmax(108px,132px)!important;
    column-gap:6px!important;
  }
  .aa-registration-modal__data .aa-show-registration-sexes li>b{
    width:28px!important;
  }
}


/* =========================================================
 * 0.4.581 — wyrównanie layoutu zgłoszeń bez zmian logiki.
 * ========================================================= */

/* Prywatne zgłoszenia psa: kafel wystawy ma używać tej samej szerokości
 * co elementy Historii wystaw. Usuwamy dodatkowy wewnętrzny padding i
 * pionowy margines wynikający z kontekstu kalendarza. */
.aa-dog-private-entry-section>.aa-dog-private-entries-list{
  padding:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  max-width:none!important;
  width:auto!important;
}
.aa-dog-private-entry-section>.aa-dog-private-entries-list>.aa-show-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.aa-dog-private-entry-section>.aa-dog-private-entries-list>.aa-show-card>.aa-db-show-card{
  width:100%!important;
  max-width:none!important;
}

/* Informacje o wystawie: Golden Retriever i sędzia są równorzędnymi kolumnami,
 * tak jak Mapa i dojazd / Organizator poniżej. */
.aa-db-show-card__overview--compact>dl{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.aa-db-show-card__overview--compact .aa-db-show-card__overview-golden,
.aa-db-show-card__overview--compact .aa-db-show-card__overview-judge{
  grid-column:auto!important;
  min-width:0!important;
}

/* Modal zgłoszeń: nagłówek płci używa tej samej siatki co wiersze klas.
 * Suma jest nad kolumną liczb klas i ma formę wyraźnej okrągłej pastylki. */
.aa-registration-modal__data .aa-show-registration-sexes h5{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px minmax(150px,220px)!important;
  column-gap:10px!important;
  align-items:center!important;
}
.aa-registration-modal__data .aa-show-registration-sexes h5>b{
  grid-column:2!important;
  justify-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  border-radius:999px!important;
  background:#294d40!important;
  color:#fff8e8!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Na mobile pełna etykieta jest czytelniejsza — pastylka i tak przechodzi
 * do drugiego wiersza karty wystawy. */
@media(max-width:760px){
  .aa-db-show-card .aa-our-label-full{display:inline!important}
  .aa-db-show-card .aa-our-label-short{display:none!important}
}

@media(max-width:620px){
  .aa-db-show-card__overview--compact>dl{grid-template-columns:1fr!important}
  .aa-registration-modal__data .aa-show-registration-sexes h5{
    grid-template-columns:minmax(0,1fr) 28px minmax(108px,132px)!important;
    column-gap:6px!important;
  }
  .aa-registration-modal__data .aa-show-registration-sexes h5>b{
    width:27px!important;
    min-width:27px!important;
    height:27px!important;
    min-height:27px!important;
    font-size:11px!important;
  }
  .aa-dog-private-entry-section>.aa-dog-private-entries-list{
    padding:0!important;
  }
}


/* =========================================================
 * 0.4.582 — finalne wyrównanie zgłoszeń + wystawy rozwijane inline.
 * Tylko lokalny zakres prywatnych zgłoszeń / modala statystyk.
 * ========================================================= */

/* Standardowe kafle zgłoszonych wystaw: ta sama szerokość co historia wystaw. */
.aa-registration-modal__data .aa-dog-private-entry-section>.aa-dog-private-entries-list{
  box-sizing:border-box!important;
  display:grid!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:14px 18px 18px!important;
  gap:12px!important;
}
.aa-registration-modal__data .aa-dog-private-entry-section>.aa-dog-private-entries-list>.aa-show-card{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}
.aa-registration-modal__data [data-aa-private-entry-show="1"] details.aa-db-show-card>summary{
  cursor:pointer!important;
}

/* Modal zgłoszeń: trzy rzeczywiste kolumny: klasa | liczba | nasz pies/status. */
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 38px minmax(170px,230px)!important;
  column-gap:12px!important;
  align-items:center!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li>b{
  grid-column:2!important;
  width:38px!important;
  justify-self:center!important;
  text-align:center!important;
  font-weight:800!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-our-registration-inline--rows{
  grid-column:3!important;
  width:100%!important;
  min-width:0!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-our-registration-items{
  width:100%!important;
  justify-content:flex-end!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-our-registration-dog-link{
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.15!important;
  font-family:inherit!important;
  cursor:pointer!important;
}

/* Nagłówek Psy/Suki używa identycznej siatki; suma stoi dokładnie nad liczbami klas. */
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes h5{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 38px minmax(170px,230px)!important;
  column-gap:12px!important;
  align-items:center!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes h5>b{
  grid-column:2!important;
  justify-self:center!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:31px!important;
  min-width:31px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0!important;
  border-radius:999px!important;
  background:#294d40!important;
  color:#fff8e8!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:none!important;
}

/* W podsumowaniu wystawy Golden Retriever i sędzia zawsze są równą parą 50/50,
 * również na telefonie — tak jak Mapa i dojazd / Organizator. */
.aa-registration-modal__data .aa-db-show-card__overview--compact>dl{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.aa-registration-modal__data .aa-db-show-card__overview--compact .aa-db-show-card__overview-judge{
  grid-column:auto!important;
  min-width:0!important;
}

@media(max-width:620px){
  .aa-registration-modal__data .aa-dog-private-entry-section>.aa-dog-private-entries-list{
    padding:10px 12px 14px!important;
    gap:10px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li,
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes h5{
    grid-template-columns:minmax(0,1fr) 30px minmax(132px,1fr)!important;
    column-gap:7px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li>b{
    width:30px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes h5>b{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    font-size:11px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-our-registration-items{
    justify-content:flex-end!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-our-registration-dog-link{
    font-size:14px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-our-registration-status{
    margin-left:auto!important;
  }
  .aa-registration-modal__data .aa-db-show-card__overview--compact>dl{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .aa-registration-modal__data .aa-db-show-card__overview--compact dt,
  .aa-registration-modal__data .aa-db-show-card__overview--compact dd{
    min-width:0!important;
    overflow-wrap:anywhere!important;
  }
}


/* =========================================================
 * 0.4.585 — profil psa: lepszy balans desktopu, ciaśniejszy mobile
 * i jeden wspólny wygląd przycisku „← Wróć” we wszystkich modalach.
 * ========================================================= */

/* Wszystkie modalne przyciski powrotu mają wyglądać identycznie. */
.aa-detail-modal__back,
.aa-registration-modal__back,
.aa-detail-modal__back:hover,
.aa-detail-modal__back:focus,
.aa-detail-modal__back:active,
.aa-registration-modal__back:hover,
.aa-registration-modal__back:focus,
.aa-registration-modal__back:active{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:0 14px!important;
  border:1px solid #7b1734!important;
  border-radius:999px!important;
  background:#fffaf0!important;
  color:#7b1734!important;
  box-shadow:none!important;
  font:800 14px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.aa-detail-modal__back:hover,
.aa-registration-modal__back:hover{
  background:#f8eee4!important;
  border-color:#681329!important;
  color:#681329!important;
}
.aa-detail-modal__back:focus-visible,
.aa-registration-modal__back:focus-visible{
  outline:2px solid rgba(123,23,52,.30)!important;
  outline-offset:2px!important;
}
.aa-detail-modal__back[hidden],
.aa-registration-modal__back[hidden]{display:none!important}

/* Drugi egzemplarz liczników jest przeznaczony wyłącznie dla desktopu. */
.aa-dog-profile-summary-line--desktop{display:none!important}

@media (min-width:901px){
  /* Lewa metryczka nie potrzebuje już swoich liczników — trafiają pod statystyki kariery. */
  .aa-detail-modal .aa-dog-profile-intro > .aa-dog-profile-summary-line:not(.aa-dog-profile-summary-line--desktop){
    display:none!important;
  }
  .aa-detail-modal .aa-dog-profile-hero{
    grid-template-columns:204px minmax(330px,.92fr) minmax(500px,1.28fr)!important;
    grid-template-rows:auto auto!important;
    align-items:start!important;
    column-gap:22px!important;
    row-gap:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-photo{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    align-self:center!important;
  }
  .aa-detail-modal .aa-dog-profile-intro{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    align-self:center!important;
  }
  .aa-detail-modal .aa-dog-profile-career-stats{
    grid-column:3!important;
    grid-row:1!important;
    align-self:stretch!important;
    align-items:stretch!important;
    min-height:0!important;
    gap:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-career-stats>section{
    min-height:0!important;
    height:100%!important;
    align-self:stretch!important;
    padding:11px 12px!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-panel h3{
    margin-bottom:7px!important;
    padding-bottom:6px!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-list{gap:4px 8px!important}
  .aa-detail-modal .aa-dog-profile-summary-line--desktop{
    display:grid!important;
    grid-column:3!important;
    grid-row:2!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    align-self:end!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line--desktop>span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    min-height:38px!important;
    padding:5px 8px!important;
    margin:0!important;
    border:1px solid rgba(111,24,49,.13)!important;
    border-radius:11px!important;
    background:#fffaf4!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line--desktop strong{
    font-size:1.08rem!important;
    color:#7b1734!important;
    line-height:1!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line--desktop em{
    font-size:.66rem!important;
    color:#625859!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
}

@media (max-width:720px){
  /* Mobile zachowuje liczniki 2x2 w dotychczasowym miejscu, ale cały hero jest bardziej zwarty. */
  .aa-detail-modal .aa-dog-profile-summary-line--desktop{display:none!important}
  .aa-detail-modal .aa-dog-profile-hero{
    gap:5px 9px!important;
    padding:8px!important;
  }
  .aa-detail-modal .aa-dog-profile-kicker-row-04317{min-height:20px!important}
  .aa-detail-modal .aa-dog-profile-photo{width:92px!important;height:92px!important}
  .aa-detail-modal .aa-dog-profile-intro h2{font-size:1.52rem!important}
  .aa-detail-modal .aa-dog-profile-registered{font-size:.7rem!important;line-height:1.18!important}
  .aa-detail-modal .aa-dog-profile-meta-04311{gap:4px!important;margin-top:1px!important}
  .aa-detail-modal .aa-dog-profile-meta-04311>span{
    min-height:32px!important;
    padding:3px 5px!important;
    border-radius:9px!important;
  }
  .aa-detail-modal .aa-dog-profile-identity-0230{
    gap:4px 6px!important;
    margin-top:1px!important;
    padding-top:6px!important;
  }
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-person-row,
  .aa-detail-modal .aa-dog-profile-identity-0230>.aa-dog-profile-affix-row{
    padding:4px 5px!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line{gap:4px!important;margin-top:1px!important}
  .aa-detail-modal .aa-dog-profile-summary-line>span{
    min-height:34px!important;
    padding:3px 5px!important;
  }
  .aa-detail-modal .aa-dog-profile-career-stats{gap:4px!important}
  .aa-detail-modal .aa-dog-profile-stat-panel{padding:6px 7px!important}
  .aa-detail-modal .aa-dog-profile-stat-panel h3{
    margin-bottom:4px!important;
    padding-bottom:4px!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-list{gap:2px 9px!important}
  .aa-detail-modal .aa-dog-profile-stat-list>span{line-height:1.13!important}
  .aa-detail-modal__back,
  .aa-registration-modal__back{
    min-height:32px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
}

/* 0.4.587 — Moje obserwowane: profile encji zamiast starego rozwijania inline. */
.aa-my-watched--accordion .aa-my-watched-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.aa-my-watched--accordion .aa-my-watched-profile-item{
  position:relative;
  min-width:0;
  border:1px solid #dfd6c7;
  border-radius:16px;
  background:#fffaf2;
  overflow:hidden;
}
.aa-my-watched--accordion .aa-my-watched-profile-link,
.aa-my-watched--accordion .aa-my-watched-profile-link:link,
.aa-my-watched--accordion .aa-my-watched-profile-link:visited{
  min-height:88px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#20382d!important;
  -webkit-text-fill-color:currentColor;
  box-shadow:none!important;
  text-decoration:none!important;
}
.aa-my-watched--accordion .aa-my-watched-profile-link:hover,
.aa-my-watched--accordion .aa-my-watched-profile-link:focus{
  transform:none!important;
  background:#fffdf8!important;
}
.aa-my-watched--accordion .aa-my-watched-profile-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-height:32px;
  padding:0 10px 8px;
}
.aa-my-watched--accordion .aa-my-watched-profile-actions .aa-watch-state{
  display:none!important;
}
@media(max-width:760px){
  .aa-my-watched--accordion .aa-my-watched-list{
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  .aa-my-watched--accordion .aa-my-watched-profile-link{
    min-height:78px;
  }
}


/* 0.4.617 — wspólny komponent: Płeć | Umaszczenie | Data urodzenia, wiek po kliknięciu */
.aa-dog-vitals-unified{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  max-width:100%;
}
.aa-dog-vital-chip{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:0;
}
.aa-dog-vital-chip b{font-weight:700}
.aa-dog-vital-chip i{font-style:normal}
.aa-dog-birth-toggle{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  padding:0;
  margin:0;
  display:inline-flex;
  align-items:center;
  gap:5px;
  cursor:pointer;
  text-align:left;
}
.aa-dog-birth-toggle:hover i,
.aa-dog-birth-toggle:focus-visible i{text-decoration:underline}
.aa-dog-birth-toggle:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
  border-radius:4px;
}
.aa-dog-age-popover{
  position:absolute;
  z-index:45;
  left:0;
  top:calc(100% + 7px);
  min-width:max-content;
  max-width:min(280px,80vw);
  padding:8px 11px;
  border:1px solid rgba(111,24,49,.24);
  border-radius:10px;
  background:#fffaf0;
  box-shadow:0 8px 24px rgba(52,43,31,.14);
  color:#243d33;
  font-size:13px;
  line-height:1.35;
}
.aa-dog-age-popover[hidden]{display:none!important}

/* W bogatym profilu naszych psów komponent zachowuje wygląd istniejących pastylek. */
.aa-dog-profile-meta-04311 > .aa-dog-vitals-unified{
  display:contents;
}
.aa-dog-profile-meta-04311 .aa-dog-vital-chip{
  border:1px solid rgba(111,24,49,.14);
  border-radius:999px;
  padding:9px 12px;
  background:rgba(255,255,255,.58);
}

/* Zwykłe/obserwowane profile: te same dane i ta sama interakcja. */
.aa-dog-profile-meta .aa-dog-vitals-unified:not(.aa-dog-vitals-context-ours){
  gap:8px;
}
.aa-dog-profile-meta .aa-dog-vitals-unified:not(.aa-dog-vitals-context-ours) .aa-dog-vital-chip{
  border:1px solid rgba(111,24,49,.14);
  border-radius:999px;
  padding:8px 11px;
  background:rgba(255,255,255,.52);
}

@media (max-width:700px){
  .aa-dog-vitals-unified{gap:6px}
  .aa-dog-profile-meta-04311 > .aa-dog-vitals-unified{display:contents}
  .aa-dog-age-popover{
    left:auto;
    right:0;
    min-width:0;
    width:max-content;
    max-width:72vw;
  }
}


/* 0.4.620 — dog-vitals: bez podwójnej ramki.
   Wspólny wrapper jest wyłącznie kontenerem układu; ramkę mają tylko właściwe pastylki. */
.aa-dog-profile-meta .aa-dog-vitals-unified,
.aa-dog-profile-meta-04311 .aa-dog-vitals-unified{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
.aa-dog-profile-meta-04311 > .aa-dog-vitals-unified{
  display:contents!important;
}
.aa-dog-profile-meta .aa-dog-vitals-unified > .aa-dog-vital-chip,
.aa-dog-profile-meta-04311 .aa-dog-vitals-unified > .aa-dog-vital-chip{
  border:1px solid rgba(111,24,49,.14)!important;
  border-radius:999px!important;
  padding:9px 12px!important;
  background:rgba(255,255,255,.58)!important;
  box-shadow:none!important;
}
@media(max-width:720px){
  .aa-dog-profile-meta .aa-dog-vitals-unified,
  .aa-dog-profile-meta-04311 .aa-dog-vitals-unified{
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  .aa-dog-profile-meta .aa-dog-vitals-unified > .aa-dog-vital-chip,
  .aa-dog-profile-meta-04311 .aa-dog-vitals-unified > .aa-dog-vital-chip{
    padding:7px 10px!important;
  }
}


/* 0.4.621 — mobile: Umaszczenie + Data urodzenia w jednym rzędzie,
   z wyglądem zgodnym z kartami Rodowód / Rejestracja / Chip / Płeć. */
@media(max-width:720px){
  .aa-dog-profile-meta-04311 > .aa-dog-vitals-unified,
  .aa-dog-profile-meta > .aa-dog-vitals-unified{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:6px!important;
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }

  .aa-dog-profile-meta-04311 .aa-dog-vitals-unified > .aa-dog-vital-chip,
  .aa-dog-profile-meta .aa-dog-vitals-unified > .aa-dog-vital-chip{
    width:100%!important;
    min-width:0!important;
    min-height:36px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    margin:0!important;
    padding:7px 8px!important;
    border:1px solid rgba(171,126,37,.42)!important;
    border-radius:10px!important;
    background:#fffaf1!important;
    box-shadow:none!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.15!important;
    font-size:11px!important;
    font-weight:600!important;
    color:#7f631f!important;
  }

  .aa-dog-profile-meta-04311 .aa-dog-vitals-unified > .aa-dog-vital-chip strong,
  .aa-dog-profile-meta .aa-dog-vitals-unified > .aa-dog-vital-chip strong{
    font-size:11px!important;
    font-weight:700!important;
    line-height:1.15!important;
  }

  .aa-dog-profile-meta-04311 .aa-dog-vitals-unified > .aa-dog-vital-chip button,
  .aa-dog-profile-meta .aa-dog-vitals-unified > .aa-dog-vital-chip button{
    width:100%!important;
    min-width:0!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    font:inherit!important;
    line-height:inherit!important;
  }
}


/* 0.4.623 — mobile: vitals naprawdę jako 2 równe kafelki w jednym rzędzie.
   Nadpisujemy starszą, bardziej specyficzną regułę:
   .aa-detail-modal .aa-dog-profile-meta-04311 > span { display:flex!important; }
*/
@media(max-width:720px){
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:none!important;
    gap:6px!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip{
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:6px 7px!important;
    margin:0!important;
    box-sizing:border-box!important;
    border:1px solid rgba(171,126,37,.42)!important;
    border-radius:11px!important;
    background:#fffaf1!important;
    box-shadow:none!important;
    color:#7f631f!important;
    font-size:.67rem!important;
    line-height:1.18!important;
    text-align:center!important;
    white-space:normal!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip b,
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip i{
    font-size:.67rem!important;
    line-height:1.18!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified .aa-dog-birth-toggle{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    font:inherit!important;
    line-height:inherit!important;
    text-align:center!important;
  }
}


/* 0.4.624 — desktop: Umaszczenie + Data urodzenia obok siebie.
   Mobile z 0.4.623 pozostaje bez zmian. */
@media(min-width:721px){
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    flex:1 1 100%!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip{
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    margin:0!important;
    padding:7px 10px!important;
    border:1px solid rgba(111,24,49,.14)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.58)!important;
    box-shadow:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified .aa-dog-birth-toggle{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    font:inherit!important;
    line-height:inherit!important;
    text-align:center!important;
  }
}


/* 0.4.625 — pełny retusz MOBILE profilu psa.
   Tylko telefon; desktop od 721px pozostaje bez zmian. */
@media(max-width:720px){

  /* cała karta profilu i nagłówek */
  .aa-detail-modal .aa-dog-profile-card{
    padding:12px!important;
  }
  .aa-detail-modal .aa-dog-profile-top{
    gap:10px!important;
  }
  .aa-detail-modal .aa-dog-profile-title h2{
    font-size:2rem!important;
    line-height:1!important;
    margin:0 0 4px!important;
  }
  .aa-detail-modal .aa-dog-profile-title .aa-dog-full-name,
  .aa-detail-modal .aa-dog-profile-title h3{
    font-size:.9rem!important;
    line-height:1.2!important;
  }
  .aa-detail-modal .aa-dog-profile-kicker{
    font-size:.63rem!important;
    letter-spacing:.08em!important;
  }

  /* zdjęcie i lewa część nagłówka */
  .aa-detail-modal .aa-dog-profile-photo{
    width:112px!important;
    height:112px!important;
    min-width:112px!important;
  }

  /* główna metryczka: Rodowód / Rejestracja / Chip / Płeć */
  .aa-detail-modal .aa-dog-profile-meta-04311{
    gap:5px!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311 > span:not(.aa-dog-vitals-unified),
  .aa-detail-modal .aa-dog-profile-meta-04311 > a{
    min-height:34px!important;
    padding:6px 8px!important;
    border-radius:10px!important;
    font-size:.67rem!important;
    line-height:1.15!important;
  }

  /* DOB + umaszczenie - ten sam rytm co pola wyżej */
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified{
    gap:5px!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip{
    min-height:34px!important;
    padding:6px 8px!important;
    border-radius:10px!important;
    font-size:.67rem!important;
    line-height:1.15!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip b,
  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip i{
    font-size:.67rem!important;
    line-height:1.15!important;
  }
  .aa-detail-modal .aa-dog-profile-meta-04311 .aa-dog-birth-toggle{
    white-space:nowrap!important;
  }

  /* właściciel / hodowca */
  .aa-detail-modal .aa-dog-profile-person-grid{
    gap:8px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-card{
    padding:7px 8px!important;
    min-height:54px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-card > b{
    font-size:.66rem!important;
    margin-bottom:4px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row{
    gap:9px!important;
    align-items:center!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row .aa-flag,
  .aa-detail-modal .aa-dog-profile-person-row .aa-country-flag{
    margin-right:8px!important;
    flex:0 0 auto!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row a,
  .aa-detail-modal .aa-dog-profile-person-row .aa-person-name{
    font-size:.74rem!important;
    line-height:1.22!important;
    margin-left:2px!important;
  }
  .aa-detail-modal .aa-dog-profile-person-row .aa-person-country,
  .aa-detail-modal .aa-dog-profile-person-row > em,
  .aa-detail-modal .aa-dog-profile-person-row > small{
    margin-left:auto!important;
    padding-left:8px!important;
    font-size:.68rem!important;
  }

  /* przydomek */
  .aa-detail-modal .aa-dog-profile-kennel{
    padding:6px 8px!important;
    min-height:32px!important;
    font-size:.69rem!important;
  }

  /* liczniki */
  .aa-detail-modal .aa-dog-profile-counts{
    gap:6px!important;
  }
  .aa-detail-modal .aa-dog-profile-counts > *{
    min-height:42px!important;
    padding:6px 8px!important;
  }
  .aa-detail-modal .aa-dog-profile-counts strong{
    font-size:1.05rem!important;
    line-height:1!important;
  }
  .aa-detail-modal .aa-dog-profile-counts span,
  .aa-detail-modal .aa-dog-profile-counts small{
    font-size:.66rem!important;
  }

  /* panele statystyk */
  .aa-detail-modal .aa-dog-profile-stat-card{
    padding:9px 10px!important;
    border-radius:12px!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-card h3,
  .aa-detail-modal .aa-dog-profile-stat-card .aa-stat-title{
    font-size:.84rem!important;
    margin-bottom:6px!important;
  }
  .aa-detail-modal .aa-dog-profile-stat-card .aa-stat-row,
  .aa-detail-modal .aa-dog-profile-stat-card li{
    font-size:.74rem!important;
    line-height:1.25!important;
  }

  /* górna belka modala */
  .aa-detail-modal .aa-detail-modal-head{
    min-height:50px!important;
    padding:7px 10px!important;
  }
  .aa-detail-modal .aa-detail-modal-head .aa-back,
  .aa-detail-modal .aa-detail-modal-head .aa-close{
    min-height:36px!important;
    padding:7px 12px!important;
    font-size:.76rem!important;
  }
  .aa-detail-modal .aa-detail-modal-head .aa-detail-title{
    font-size:1rem!important;
  }

  /* mniejsze pionowe odstępy między sekcjami */
  .aa-detail-modal .aa-dog-profile-card + .aa-accordion,
  .aa-detail-modal .aa-dog-profile-card ~ .aa-accordion{
    margin-top:10px!important;
  }
}


/* 0.4.626 — MOBILE: naprawa pozycjonowania imienia / nagłówka obok zdjęcia.
   0.4.625 zwiększyło zdjęcie do 112px, ale starszy grid nadal miał węższą kolumnę,
   przez co zdjęcie nachodziło na blok tytułu. */
@media(max-width:720px){
  .aa-detail-modal .aa-dog-profile-hero{
    grid-template-columns:92px minmax(0,1fr)!important;
    column-gap:10px!important;
    row-gap:5px!important;
    align-items:start!important;
  }

  .aa-detail-modal .aa-dog-profile-photo{
    width:92px!important;
    height:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    grid-column:1!important;
    grid-row:auto!important;
    align-self:start!important;
    margin:0!important;
  }

  .aa-detail-modal .aa-dog-profile-intro{
    grid-column:2!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    align-self:center!important;
  }

  .aa-detail-modal .aa-dog-profile-title,
  .aa-detail-modal .aa-dog-profile-intro{
    overflow:visible!important;
  }

  .aa-detail-modal .aa-dog-profile-title h2,
  .aa-detail-modal .aa-dog-profile-intro h2{
    position:static!important;
    transform:none!important;
    margin:0 0 4px!important;
    padding:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .aa-detail-modal .aa-dog-profile-title .aa-dog-full-name,
  .aa-detail-modal .aa-dog-profile-title h3,
  .aa-detail-modal .aa-dog-profile-registered{
    position:static!important;
    transform:none!important;
    margin:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}


/* 0.4.627 — MOBILE: przywrócenie poprawnego układu zdjęcie | imię+nazwa.
   Intro musi być display:contents, aby jego dzieci mogły wejść bezpośrednio
   w kolumnę 2 siatki hero. */
@media(max-width:720px){
  .aa-detail-modal .aa-dog-profile-hero{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    column-gap:10px!important;
    row-gap:4px!important;
    align-items:start!important;
  }

  .aa-detail-modal .aa-dog-profile-intro{
    display:contents!important;
  }

  .aa-detail-modal .aa-dog-profile-kicker-row-04317{
    grid-column:1 / -1!important;
    grid-row:1!important;
  }

  .aa-detail-modal .aa-dog-profile-photo{
    grid-column:1!important;
    grid-row:2 / span 2!important;
    width:92px!important;
    height:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    align-self:start!important;
    margin:0!important;
  }

  .aa-detail-modal .aa-dog-profile-intro h2{
    grid-column:2!important;
    grid-row:2!important;
    align-self:end!important;
    position:static!important;
    transform:none!important;
    margin:0 0 3px!important;
    padding:0!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .aa-detail-modal .aa-dog-profile-registered{
    grid-column:2!important;
    grid-row:3!important;
    align-self:start!important;
    position:static!important;
    transform:none!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311{
    grid-column:1 / -1!important;
    grid-row:4!important;
  }
}


/* 0.4.628 — stała siatka metryczki własnego psa.
   Niezależnie od długości danych zawsze:
   Rodowód | Rejestracja
   Chip    | Płeć
   Umaszczenie | Data urodzenia
*/
.aa-detail-modal .aa-dog-profile-meta-04311{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  align-items:stretch!important;
}

.aa-detail-modal .aa-dog-profile-meta-04311 > span:not(.aa-dog-vitals-unified),
.aa-detail-modal .aa-dog-profile-meta-04311 > a{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin:0!important;
  justify-self:stretch!important;
}

.aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified > span.aa-dog-vital-chip{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin:0!important;
}

/* mobile: zachowujemy ten sam logiczny układ 2×2×2,
   tylko z ciaśniejszym odstępem */
@media(max-width:720px){
  .aa-detail-modal .aa-dog-profile-meta-04311{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }

  .aa-detail-modal .aa-dog-profile-meta-04311 > span.aa-dog-vitals-unified{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }
}


/* 0.4.629 — MOBILE: popover wieku ma własną, nieprzezroczystą warstwę. */
@media(max-width:720px){
  .aa-detail-modal .aa-dog-vital-birth{
    position:relative!important;
    overflow:visible!important;
    isolation:isolate!important;
  }
  .aa-detail-modal .aa-dog-vital-birth:has(.aa-dog-birth-toggle[aria-expanded="true"]){
    z-index:12000!important;
  }
  .aa-detail-modal .aa-dog-vital-birth .aa-dog-age-popover{
    position:absolute!important;
    z-index:12001!important;
    left:auto!important;
    right:0!important;
    top:calc(100% + 7px)!important;
    bottom:auto!important;
    width:max-content!important;
    min-width:155px!important;
    max-width:min(230px, calc(100vw - 28px))!important;
    box-sizing:border-box!important;
    padding:9px 12px!important;
    border:1px solid rgba(111,24,49,.28)!important;
    border-radius:11px!important;
    background:#fffaf0!important;
    background-color:#fffaf0!important;
    opacity:1!important;
    box-shadow:0 9px 24px rgba(45,35,29,.22)!important;
    color:#243d33!important;
    font-size:.72rem!important;
    line-height:1.3!important;
    white-space:nowrap!important;
    text-align:left!important;
    pointer-events:auto!important;
  }
  .aa-detail-modal .aa-dog-vital-birth .aa-dog-age-popover::before{
    content:""!important;
    position:absolute!important;
    right:18px!important;
    top:-6px!important;
    width:10px!important;
    height:10px!important;
    background:#fffaf0!important;
    border-left:1px solid rgba(111,24,49,.28)!important;
    border-top:1px solid rgba(111,24,49,.28)!important;
    transform:rotate(45deg)!important;
  }
  .aa-detail-modal .aa-dog-vital-birth.aa-age-popover-up .aa-dog-age-popover{
    top:auto!important;
    bottom:calc(100% + 7px)!important;
  }
  .aa-detail-modal .aa-dog-vital-birth.aa-age-popover-up .aa-dog-age-popover::before{
    top:auto!important;
    bottom:-6px!important;
    transform:rotate(225deg)!important;
  }
}


/* 0.4.630 — MOBILE: duża strefa dotykowa dla rozwijania wystaw sędziego.
   Prawa część kafelka (licznik + chevron) jest jednym czytelnym kontrolerem. */
.aa-dog-judge-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin-left:auto;
  cursor:pointer;
  flex:0 0 auto;
}

@media(max-width:720px){
  .aa-detail-modal .aa-dog-judge-item > summary{
    position:relative!important;
    min-height:48px!important;
    padding-right:6px!important;
  }

  .aa-detail-modal .aa-dog-judge-toggle{
    min-width:92px!important;
    min-height:44px!important;
    padding:4px 8px 4px 10px!important;
    margin:-4px -2px -4px 8px!important;
    border-radius:11px!important;
    box-sizing:border-box!important;
    justify-content:flex-end!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  .aa-detail-modal .aa-dog-judge-toggle:active,
  .aa-detail-modal .aa-dog-judge-toggle:focus-visible{
    background:rgba(111,24,49,.07)!important;
    outline:2px solid rgba(111,24,49,.18)!important;
    outline-offset:0!important;
  }

  .aa-detail-modal .aa-dog-judge-count{
    pointer-events:none!important;
    white-space:nowrap!important;
  }

  .aa-detail-modal .aa-dog-judge-chevron{
    width:12px!important;
    height:12px!important;
    min-width:12px!important;
    margin:0!important;
    pointer-events:none!important;
  }

  .aa-detail-modal .aa-dog-judge-copy{
    min-width:0!important;
  }
}


/* 0.4.651 — pełny katalog: osobny responsywny layout.
   Nie dziedziczymy siatki "wyników" (lokata/ocena/tytuły), bo wpis katalogowy
   ma inną strukturę: nr, pies, właściciel, hodowca. */
.aa-registration-modal .aa-show-standard-catalog-entries{
  min-width:0;
  margin-top:10px;
}
.aa-registration-modal .aa-show-catalog-detail-heading{
  margin:4px 0 12px!important;
  font-size:1.05rem!important;
  line-height:1.2!important;
  color:#20382d!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex{
  margin:0 0 12px;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex>summary{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:6px 8px!important;
  min-width:0!important;
  padding:5px 2px!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex>summary h6{
  margin:0!important;
  font-size:.95rem!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex>summary small{
  margin:0!important;
  font-size:.78rem!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-class{
  min-width:0;
  margin:10px 0 14px;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-class-name{
  margin:0 0 7px!important;
  font-size:.88rem!important;
  line-height:1.25!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry{
  display:grid!important;
  grid-template-columns:64px minmax(180px,1.25fr) minmax(180px,1fr) minmax(180px,1fr)!important;
  grid-template-rows:auto!important;
  gap:8px 12px!important;
  align-items:start!important;
  min-width:0!important;
  width:100%!important;
  padding:10px 12px!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-catalog-number{
  grid-column:1!important;grid-row:1!important;
  min-width:0!important;width:auto!important;
  white-space:nowrap!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-name{
  grid-column:2!important;grid-row:1!important;
  min-width:0!important;width:auto!important;
  font-size:.88rem!important;
  line-height:1.3!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner{
  grid-column:3!important;grid-row:1!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder{
  grid-column:4!important;grid-row:1!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner,
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder{
  display:block!important;
  min-width:0!important;width:auto!important;max-width:none!important;
  margin:0!important;
  font-size:.82rem!important;
  line-height:1.35!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry a{
  word-break:normal!important;
  overflow-wrap:break-word!important;
}

@media(max-width:900px){
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:5px 10px!important;
    padding:10px!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-catalog-number{
    grid-column:1!important;grid-row:1!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-name{
    grid-column:2!important;grid-row:1!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner{
    grid-column:2!important;grid-row:2!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder{
    grid-column:2!important;grid-row:3!important;
  }
}

@media(max-width:600px){
  .aa-registration-modal__content{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry{
    display:block!important;
    padding:10px 11px!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-catalog-number{
    display:block!important;
    margin:0 0 5px!important;
    font-size:.72rem!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-name{
    display:block!important;
    margin:0 0 8px!important;
    font-size:.91rem!important;
    line-height:1.28!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner,
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder{
    display:block!important;
    margin:5px 0 0!important;
    font-size:.82rem!important;
    line-height:1.4!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner b,
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder b{
    display:inline!important;
    margin-right:3px!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex>summary{
    gap:5px 7px!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex>summary h6{
    font-size:.9rem!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-result-sex>summary small{
    font-size:.75rem!important;
  }
}

/* 0.4.651 — końcowa osłona przed starymi regułami "wyników", które miały
   ustawienia grid-column dla owner/breeder i powodowały łamanie nazw co kilka liter. */
.aa-registration-modal .aa-data-modal__data.is-catalog .aa-show-catalog-entry .aa-show-result-name,
.aa-registration-modal .aa-data-modal__data.is-catalog .aa-show-catalog-entry .aa-show-result-owner,
.aa-registration-modal .aa-data-modal__data.is-catalog .aa-show-catalog-entry .aa-show-result-breeder{
  min-width:0!important;
  max-width:100%!important;
  word-break:normal!important;
  hyphens:none!important;
}


/* 0.4.652 — wspólny kontrakt wizualny Katalog + Wyniki.
   Dane bazowe psa mają ten sam rytm i typografię; Wyniki dodają lokatę, ocenę i tytuły. */
.aa-registration-modal .aa-show-dog-sex-group>summary{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:6px 9px!important;
  min-width:0!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary h6{
  margin:0!important;
  line-height:1.2!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary .aa-show-sex-count{
  margin:0!important;
  white-space:nowrap!important;
  line-height:1.2!important;
  font-weight:400!important;
}
.aa-registration-modal .aa-show-dog-entry{
  min-width:0!important;
}
.aa-registration-modal .aa-show-dog-entry .aa-show-catalog-number{
  color:#746f66!important;
  font-weight:400!important;
}
.aa-registration-modal .aa-show-dog-entry .aa-show-result-name{
  font-weight:700!important;
  line-height:1.25!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
.aa-registration-modal .aa-show-dog-entry .aa-show-result-owner,
.aa-registration-modal .aa-show-dog-entry .aa-show-result-breeder{
  line-height:1.35!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
.aa-registration-modal .aa-show-dog-entry .aa-show-result-owner b,
.aa-registration-modal .aa-show-dog-entry .aa-show-result-breeder b{
  font-weight:700!important;
}
.aa-registration-modal .aa-show-result-class>.aa-show-class-name small{
  font-size:.72em!important;
  font-weight:400!important;
  white-space:nowrap!important;
}

@media(max-width:600px){
  .aa-registration-modal .aa-show-dog-sex-group>summary{
    gap:5px 8px!important;
  }
  .aa-registration-modal .aa-show-dog-sex-group>summary h6{
    font-size:.95rem!important;
  }
  .aa-registration-modal .aa-show-dog-sex-group>summary .aa-show-sex-count{
    font-size:.76rem!important;
  }
  .aa-registration-modal .aa-show-dog-entry .aa-show-result-name{
    font-size:.91rem!important;
  }
  .aa-registration-modal .aa-show-dog-entry .aa-show-result-owner,
  .aa-registration-modal .aa-show-dog-entry .aa-show-result-breeder{
    font-size:.82rem!important;
  }
}


/* 0.4.653 — desktop/modal polish + wspólny Katalog/Wyniki. */
@media(min-width:901px){
  .aa-registration-modal__dialog{
    width:min(1400px,94vw)!important;
    max-width:1400px!important;
    max-height:88vh!important;
  }

  /* Kompaktowy górny pasek: katalog = Psy/Suki/Sędzia, wyniki = Psy/Suki/NB-ABS/Sędzia. */
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-results>dl{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl>div,
  .aa-registration-modal .aa-data-modal__data.is-results>dl>div{
    padding:9px 12px!important;
    min-height:58px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl>div.is-wide,
  .aa-registration-modal .aa-data-modal__data.is-results>dl>div.is-wide{
    grid-column:auto!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dt,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dt{
    margin-bottom:2px!important;
    font-size:.68rem!important;
  }
  .aa-registration-modal .aa-data-modal__data.is-catalog>dl dd,
  .aa-registration-modal .aa-data-modal__data.is-results>dl dd{
    font-size:.9rem!important;
  }
}

/* Flagi przy sędziach — ten sam czytelny rozmiar w modalach i podsumowaniu wystawy. */
.aa-inline-country-flag{
  display:inline-block!important;
  width:1.45em!important;
  min-width:1.45em!important;
  text-align:center!important;
  font-size:1.08em!important;
  line-height:1!important;
  vertical-align:-.08em!important;
  margin-right:.18em!important;
}
.aa-db-show-card__overview .aa-inline-country-flag,
.aa-registration-modal .aa-inline-country-flag{
  font-size:1.12em!important;
}

/* PSY / SUKI — widoczny element interaktywny, a nie zwykły tekst. */
.aa-registration-modal .aa-show-dog-sex-group{
  margin:12px 0!important;
  border:1px solid #dfd0bb!important;
  border-radius:11px!important;
  overflow:hidden!important;
  background:#fffaf1!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary{
  padding:10px 12px!important;
  background:#f3eadc!important;
  color:#20382d!important;
  cursor:pointer!important;
  user-select:none!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary:hover,
.aa-registration-modal .aa-show-dog-sex-group>summary:focus-visible{
  background:#ebdfcd!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary .aa-show-chevron{
  color:#7b1733!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary h6{
  font-weight:800!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary .aa-show-sex-count{
  color:#6f6252!important;
  font-weight:650!important;
}

/* Klasa jako wyraźna belka/pinezka z licznikiem. */
.aa-registration-modal .aa-show-result-class>.aa-show-class-name{
  display:flex!important;
  align-items:center!important;
  width:fit-content!important;
  max-width:100%!important;
  gap:8px!important;
  margin:10px 0 9px!important;
  padding:7px 10px!important;
  border-left:4px solid #7b1733!important;
  border-radius:8px!important;
  background:#efe4d2!important;
  color:#20382d!important;
  font-weight:800!important;
  line-height:1.2!important;
}
.aa-registration-modal .aa-show-result-class>.aa-show-class-name small{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:24px!important;
  height:22px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#7b1733!important;
  color:#fff7e8!important;
  font-size:.72rem!important;
  font-weight:800!important;
}

/* Większy kontrast pojedynczej karty psa. */
.aa-registration-modal .aa-show-dog-entry{
  background:#fbf1e3!important;
  border-color:#ddccb5!important;
  box-shadow:0 1px 0 rgba(82,57,31,.04)!important;
}

/* Flaga psa + data urodzenia na wspólnym meta-wierszu. */
.aa-show-dog-card-meta{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  min-width:0!important;
  color:#766957!important;
  font-size:.72rem!important;
  line-height:1.25!important;
}
.aa-show-dog-country-flag{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:1.5em!important;
  min-width:1.5em!important;
  font-size:1.12em!important;
  line-height:1!important;
}
.aa-show-dog-birth{
  position:relative!important;
  display:inline-flex!important;
  overflow:visible!important;
}
.aa-show-dog-birth-toggle{
  display:inline-flex!important;
  align-items:center!important;
  gap:3px!important;
  padding:2px 6px!important;
  border:1px solid rgba(123,23,51,.20)!important;
  border-radius:999px!important;
  background:#fffaf1!important;
  color:#5f574b!important;
  font-size:.72rem!important;
  line-height:1.2!important;
  cursor:pointer!important;
}
.aa-show-dog-birth-toggle:hover,
.aa-show-dog-birth-toggle:focus-visible{
  border-color:#7b1733!important;
  color:#7b1733!important;
}
.aa-show-dog-birth-toggle i{
  font-style:normal!important;
  text-decoration:underline!important;
  text-decoration-color:rgba(123,23,51,.35)!important;
  text-underline-offset:2px!important;
}

/* Meta psa w układzie katalogu. */
@media(min-width:901px){
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-dog-card-meta{
    grid-column:2!important;
    grid-row:2!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner{
    grid-row:1/3!important;
    align-self:center!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder{
    grid-row:1/3!important;
    align-self:center!important;
  }

  /* Wyniki: meta psa pod nazwą, reszta zachowuje dodatkowe pola wyniku. */
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-entry>.aa-show-dog-card-meta{
    grid-column:3!important;
    grid-row:3!important;
    margin-top:2px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-entry{
    grid-template-rows:auto auto auto!important;
  }
}

/* Telefon/tablet: karty i klasy wyraźniej odcinają się od tła. */
@media(max-width:900px){
  .aa-registration-modal .aa-show-dog-entry{
    background:#f7ead8!important;
    border:1px solid #d9c5aa!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-dog-card-meta{
    grid-column:2!important;
    grid-row:2!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-owner{
    grid-row:3!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-result-breeder{
    grid-row:4!important;
  }
}

@media(max-width:600px){
  .aa-registration-modal .aa-show-result-class>.aa-show-class-name{
    width:100%!important;
    box-sizing:border-box!important;
    justify-content:space-between!important;
    padding:8px 10px!important;
    background:#eadcc7!important;
    color:#173a2e!important;
  }
  .aa-registration-modal .aa-show-standard-catalog-entries .aa-show-catalog-entry>.aa-show-dog-card-meta{
    display:flex!important;
    margin:5px 0 7px!important;
  }
  .aa-registration-modal .aa-show-ranked-results .aa-show-result-entry>.aa-show-dog-card-meta{
    display:flex!important;
    margin:4px 0 7px!important;
  }
  .aa-show-dog-birth-toggle{
    font-size:.76rem!important;
    padding:3px 7px!important;
  }
}

/* Popover wieku w modalu ma zawsze warstwę nad kartą. */
.aa-registration-modal .aa-show-dog-birth:has(.aa-dog-birth-toggle[aria-expanded="true"]){
  z-index:12020!important;
}
.aa-registration-modal .aa-show-dog-birth .aa-dog-age-popover{
  z-index:12021!important;
}


/* 0.4.656 — klasy: własne kolory, liczniki bez nawiasów i zwijane listy. */
.aa-registration-modal .aa-show-collapsible-class{
  --aa-class-accent:#7b1733;
  --aa-class-soft:#f4e8e9;
  --aa-class-card:#fbf3ef;
  margin:10px 0 12px!important;
  border:0!important;
  border-radius:10px!important;
  overflow:visible!important;
}
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  gap:9px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:1px solid color-mix(in srgb,var(--aa-class-accent) 34%, #d9c7b2)!important;
  border-left:5px solid var(--aa-class-accent)!important;
  border-radius:9px!important;
  background:var(--aa-class-soft)!important;
  color:#20382d!important;
  font-weight:800!important;
  line-height:1.2!important;
  cursor:pointer!important;
  list-style:none!important;
  user-select:none!important;
}
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name::-webkit-details-marker{display:none!important;}
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name>span{
  flex:1 1 auto!important;
  min-width:0!important;
}
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name .aa-show-class-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:30px!important;
  height:25px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:var(--aa-class-accent)!important;
  color:#fffaf1!important;
  font-size:.77rem!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name .aa-show-class-chevron{
  flex:0 0 auto!important;
  width:8px!important;
  height:8px!important;
  border-right:2px solid var(--aa-class-accent)!important;
  border-bottom:2px solid var(--aa-class-accent)!important;
  transform:rotate(45deg)!important;
  transition:transform .16s ease!important;
  margin:0 3px 4px 1px!important;
}
.aa-registration-modal .aa-show-collapsible-class[open]>.aa-show-class-name .aa-show-class-chevron{
  transform:rotate(225deg)!important;
  margin:4px 3px 0 1px!important;
}
.aa-registration-modal .aa-show-collapsible-class>.aa-show-ranked-list{
  padding-top:7px!important;
}
.aa-registration-modal .aa-show-collapsible-class .aa-show-dog-entry{
  background:var(--aa-class-card)!important;
  border-color:color-mix(in srgb,var(--aa-class-accent) 25%, #dbcab4)!important;
  border-left:4px solid var(--aa-class-accent)!important;
}

/* Stałe kolory klas — identyczne w Katalogu i Wynikach. */
.aa-registration-modal .aa-show-class--minor-puppy{--aa-class-accent:#9a5a2f;--aa-class-soft:#f7eadf;--aa-class-card:#fff8f1;}
.aa-registration-modal .aa-show-class--puppy{--aa-class-accent:#b07a22;--aa-class-soft:#f7efd9;--aa-class-card:#fffaf0;}
.aa-registration-modal .aa-show-class--junior{--aa-class-accent:#477a57;--aa-class-soft:#e5f0e7;--aa-class-card:#f4faf5;}
.aa-registration-modal .aa-show-class--intermediate{--aa-class-accent:#3c7288;--aa-class-soft:#e2eef2;--aa-class-card:#f3f9fb;}
.aa-registration-modal .aa-show-class--open{--aa-class-accent:#5268a0;--aa-class-soft:#e7eaf4;--aa-class-card:#f6f7fc;}
.aa-registration-modal .aa-show-class--working{--aa-class-accent:#7a5b9e;--aa-class-soft:#eee7f4;--aa-class-card:#faf6fc;}
.aa-registration-modal .aa-show-class--champion{--aa-class-accent:#8b4564;--aa-class-soft:#f2e4ea;--aa-class-card:#fcf5f8;}
.aa-registration-modal .aa-show-class--veteran{--aa-class-accent:#6b6554;--aa-class-soft:#eeece5;--aa-class-card:#faf9f5;}
.aa-registration-modal .aa-show-class--other{--aa-class-accent:#7b1733;--aa-class-soft:#f2e4e8;--aa-class-card:#fbf4f5;}

/* Panel Klasy: suma przy PSY/SUKI + ten sam kod koloru przy każdej klasie. */
.aa-registration-modal .aa-show-publication-classes-sex>strong{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-bottom:7px!important;
}
.aa-registration-modal .aa-show-class-sex-total{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:28px!important;
  height:23px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#7b1733!important;
  color:#fff7e8!important;
  font-size:.76rem!important;
  font-weight:850!important;
}
.aa-registration-modal .aa-show-class-stat{
  --aa-class-accent:#7b1733;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}
.aa-registration-modal .aa-show-class-stat>i{
  display:inline-block!important;
  flex:0 0 auto!important;
  width:8px!important;
  height:8px!important;
  border-radius:999px!important;
  background:var(--aa-class-accent)!important;
}
.aa-registration-modal .aa-show-class-stat.aa-show-class--minor-puppy{--aa-class-accent:#9a5a2f;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--puppy{--aa-class-accent:#b07a22;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--junior{--aa-class-accent:#477a57;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--intermediate{--aa-class-accent:#3c7288;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--open{--aa-class-accent:#5268a0;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--working{--aa-class-accent:#7a5b9e;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--champion{--aa-class-accent:#8b4564;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--veteran{--aa-class-accent:#6b6554;}
.aa-registration-modal .aa-show-class-stat.aa-show-class--other{--aa-class-accent:#7b1733;}

@media(max-width:600px){
  .aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name{
    padding:9px 10px!important;
  }
  .aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name .aa-show-class-count{
    min-width:32px!important;
    height:26px!important;
    font-size:.79rem!important;
  }
}


/* 0.4.657 — pełne strefy kliknięcia tam, gdzie istnieje jedna akcja. */
.aa-registration-modal .aa-show-dog-sex-group>summary,
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name,
.aa-db-show-card__overview-golden.is-clickable{
  cursor:pointer!important;
}
.aa-registration-modal .aa-show-dog-sex-group>summary>span,
.aa-registration-modal .aa-show-dog-sex-group>summary>h6,
.aa-registration-modal .aa-show-dog-sex-group>summary>small,
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name>span,
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name>small,
.aa-registration-modal .aa-show-collapsible-class>.aa-show-class-name>i{
  pointer-events:none!important;
}
.aa-db-show-card__overview-golden.is-clickable:hover{
  background:#f0e7d8!important;
}
.aa-db-show-card__overview-judge:has(a.aa-show-entity-link.is-judge:only-child){
  cursor:pointer!important;
}
.aa-db-show-card__overview-judge:has(a.aa-show-entity-link.is-judge:only-child):hover{
  background:#f0e7d8!important;
}

/* Umaszczenie przy fladze i dacie urodzenia. */
.aa-dog-vital-coat-compact{
  position:relative!important;
  display:inline-flex!important;
  overflow:visible!important;
}
.aa-dog-coat-toggle{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:24px!important;
  padding:2px 7px!important;
  border:1px solid rgba(95,87,75,.24)!important;
  border-radius:999px!important;
  background:#fffaf1!important;
  color:#5f574b!important;
  font-size:.71rem!important;
  line-height:1.2!important;
  cursor:pointer!important;
}
.aa-dog-coat-toggle:hover,
.aa-dog-coat-toggle:focus-visible{
  border-color:#7b1733!important;
  color:#7b1733!important;
}
.aa-show-dog-coat-dot{
  font-size:.8rem!important;
  line-height:1!important;
  color:#8a7559!important;
}
.aa-show-dog-coat-label{font-weight:700!important;}
.aa-show-dog-coat-short{
  max-width:150px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-style:normal!important;
  color:#766957!important;
}
.aa-dog-coat-popover{
  position:absolute!important;
  z-index:12031!important;
  left:0!important;
  top:calc(100% + 7px)!important;
  min-width:170px!important;
  max-width:min(320px,78vw)!important;
  padding:8px 10px!important;
  border:1px solid #d7c5ae!important;
  border-radius:9px!important;
  background:#fffaf1!important;
  color:#443d35!important;
  box-shadow:0 5px 18px rgba(50,38,25,.16)!important;
  font-size:.76rem!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.aa-dog-vital-coat-compact.aa-coat-popover-up .aa-dog-coat-popover{
  top:auto!important;
  bottom:calc(100% + 7px)!important;
}
.aa-dog-coat-popover[hidden]{display:none!important;}

@media(max-width:600px){
  .aa-dog-coat-toggle{
    width:27px!important;
    min-width:27px!important;
    height:25px!important;
    min-height:25px!important;
    padding:0!important;
    justify-content:center!important;
  }
  .aa-show-dog-coat-label,
  .aa-show-dog-coat-short{display:none!important;}
  .aa-show-dog-coat-dot{font-size:.9rem!important;}
}


/* 0.4.658 — formalne nazewnictwo rodowodowe: zawsze „Umaszczenie”. */
.aa-show-dog-coat-dot{
  display:none!important;
}
.aa-dog-coat-toggle{
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:24px!important;
  padding:2px 7px!important;
  justify-content:flex-start!important;
}
.aa-show-dog-coat-label{
  display:inline!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
@media(max-width:600px){
  .aa-dog-coat-toggle{
    width:auto!important;
    min-width:0!important;
    height:25px!important;
    min-height:25px!important;
    padding:0 8px!important;
    justify-content:center!important;
  }
  .aa-show-dog-coat-label{
    display:inline!important;
    font-size:.72rem!important;
  }
  .aa-show-dog-coat-short{
    display:none!important;
  }
}


/* 0.4.659 — wspólna prezentacja kraju bez kodów ISO w UI. */
.aa-country-flag{
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif!important;
}
.aa-country-flag--compact{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:27px!important;
  min-height:24px!important;
  padding:0 2px!important;
  font-size:1.22rem!important;
  line-height:1!important;
  vertical-align:middle!important;
  cursor:pointer!important;
  border-radius:5px!important;
  isolation:isolate!important;
}
.aa-country-flag--compact:hover,
.aa-country-flag--compact:focus-visible,
.aa-country-flag--compact.is-open{
  background:#f0e7d8!important;
  outline:none!important;
}
.aa-country-popover{
  position:absolute!important;
  z-index:12050!important;
  left:50%!important;
  bottom:calc(100% + 6px)!important;
  transform:translateX(-50%)!important;
  width:max-content!important;
  max-width:220px!important;
  padding:6px 9px!important;
  border:1px solid #d7c5ae!important;
  border-radius:8px!important;
  background:#fffaf1!important;
  color:#443d35!important;
  box-shadow:0 5px 16px rgba(50,38,25,.16)!important;
  font-family:inherit!important;
  font-size:.75rem!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
.aa-country-popover[hidden]{display:none!important;}
.aa-country-full{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
}
.aa-country-flag--full{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:1.32rem!important;
  line-height:1!important;
}
.aa-country-name,
.aa-country-full-label{
  font-weight:600!important;
}
.aa-inline-country-flag{font-size:inherit!important;} /* zgodność starszych klas, bez zmiany profili */
@media(max-width:600px){
  .aa-country-flag--compact{
    min-width:30px!important;
    min-height:27px!important;
    font-size:1.3rem!important;
  }
}


/* 0.4.660 — pełna nazwa kraju widoczna bez klikania tylko przy sędziach. */
.aa-judge-with-country{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  flex-wrap:wrap!important;
}
.aa-judge-with-country .aa-show-entity-link.is-judge{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
}
.aa-judge-country-name{
  display:inline-block!important;
  color:#756b5e!important;
  font-size:.76rem!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.aa-db-show-card__overview-judge dd{min-width:0!important;}
.aa-db-show-card__overview-judge .aa-judge-with-country{width:100%!important;}
.aa-dog-judge-copy .aa-judge-country-name{margin-top:2px!important;}
@media(max-width:600px){
  .aa-db-show-card__overview-judge .aa-judge-with-country{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:4px!important;
  }
  .aa-db-show-card__overview-judge .aa-judge-country-name{
    padding-left:0!important;
    font-size:.82rem!important;
  }
  .aa-db-show-card__overview-judge .aa-country-flag--compact{
    min-width:32px!important;
    min-height:30px!important;
    font-size:1.45rem!important;
  }
}


/* 0.4.661 — sędzia: kraj w tej samej linii co nazwisko, gdy mieści się w szerokości.
 * Zawijanie pozostaje naturalne tylko dla naprawdę długich nazw. */
.aa-db-show-card__overview-judge .aa-judge-with-country{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  width:100%!important;
}
.aa-db-show-card__overview-judge .aa-show-entity-link.is-judge{
  flex:0 1 auto!important;
  min-width:0!important;
}
.aa-db-show-card__overview-judge .aa-judge-country-name{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  color:#756b5e!important;
  font-size:.76rem!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.aa-db-show-card__overview-judge .aa-judge-country-name::before{
  content:"·";
  margin-right:7px;
  color:#9a8f80;
}

@media(max-width:600px){
  .aa-db-show-card__overview-judge .aa-judge-with-country{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    gap:7px!important;
    flex-wrap:wrap!important;
  }
  .aa-db-show-card__overview-judge .aa-judge-country-name{
    display:inline!important;
    font-size:.78rem!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-db-show-card__overview-judge .aa-country-flag--compact{
    min-width:30px!important;
    min-height:28px!important;
    font-size:1.38rem!important;
  }
}


/* 0.4.662 — MOBILE: popover wieku startuje od lewej krawędzi daty i rozwija się w prawo.
 * Dzięki temu nie wpada pod lewą krawędź modala/karty. Istniejący JS nadal
 * koryguje pozycję, gdyby prawa krawędź zbliżyła się do viewportu. */
@media(max-width:720px){
  .aa-detail-modal .aa-dog-vital-birth .aa-dog-age-popover{
    left:0!important;
    right:auto!important;
  }
  .aa-detail-modal .aa-dog-vital-birth .aa-dog-age-popover::before{
    left:18px!important;
    right:auto!important;
  }
}


/* 0.4.663 — MOBILE: rzeczywista naprawa obcinania popovera wieku.
 * Problemem nie była wyłącznie pozycja: karta psa mogła przycinać warstwę.
 * Przy otwartym wieku karta dostaje overflow:visible i wyższy z-index,
 * a sam popover jest dodatkowo odsunięty od lewej krawędzi. */
@media(max-width:720px){
  .aa-registration-modal .aa-show-dog-entry:has(.aa-dog-birth-toggle[aria-expanded="true"]),
  .aa-detail-modal .aa-show-dog-entry:has(.aa-dog-birth-toggle[aria-expanded="true"]),
  .aa-registration-modal .aa-show-ranked-entry:has(.aa-dog-birth-toggle[aria-expanded="true"]),
  .aa-detail-modal .aa-show-ranked-entry:has(.aa-dog-birth-toggle[aria-expanded="true"]){
    position:relative!important;
    overflow:visible!important;
    z-index:12020!important;
  }

  .aa-registration-modal .aa-show-ranked-list,
  .aa-detail-modal .aa-show-ranked-list{
    overflow:visible!important;
  }

  .aa-registration-modal .aa-dog-vital-birth .aa-dog-age-popover,
  .aa-detail-modal .aa-dog-vital-birth .aa-dog-age-popover{
    left:12px!important;
    right:auto!important;
    z-index:12030!important;
  }

  .aa-registration-modal .aa-dog-vital-birth .aa-dog-age-popover::before,
  .aa-detail-modal .aa-dog-vital-birth .aa-dog-age-popover::before{
    left:12px!important;
    right:auto!important;
  }
}


/* 0.4.668 — kraje, relacje osób i metadane obserwowanych psów */
.aa-profile-country-line{
  margin:7px 0 0!important;
}
.aa-profile-country-full{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  max-width:100%!important;
  min-width:0!important;
  flex-wrap:wrap!important;
  color:#5f574d!important;
}
.aa-profile-country-full b{
  color:#51493f!important;
}
.aa-profile-country-flag{
  flex:0 0 auto!important;
}
.aa-golden-dog-relations>div{
  min-width:0!important;
}
.aa-golden-dog-relations>div>span{
  min-width:0!important;
  max-width:100%!important;
}
.aa-profile-people-list{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px 7px!important;
  overflow:visible!important;
}
.aa-profile-person{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  min-width:0!important;
}
.aa-profile-person-link{
  color:#2f6653!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
  font-weight:600!important;
}
.aa-profile-person-link:hover,
.aa-profile-person-link:focus{
  color:#7b1734!important;
}
.aa-profile-person-country{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  color:#6b6258!important;
  white-space:normal!important;
}
.aa-profile-person-separator{
  color:#a99e90!important;
}
.aa-my-watched-profile-item--dog .aa-golden-db-dog-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#7a6f63!important;
  font-size:.84rem!important;
  line-height:1.25!important;
}
@media(max-width:720px){
  .aa-profile-country-full,
  .aa-profile-person,
  .aa-profile-person-country{
    white-space:normal!important;
  }
  .aa-golden-dog-relations>div{
    grid-template-columns:1fr!important;
  }
}


/* 0.4.669 — relacje właściciel/hodowca: kraj nie może wychodzić poza kafel.
 * Na wąskich kaflach nazwa osoby i kraj dostają własne wiersze. */
.aa-detail-modal .aa-golden-dog-relations>div,
.aa-detail-modal .aa-dog-profile-relations>div,
.aa-detail-modal--judge-dog-child .aa-golden-dog-relations>div,
.aa-detail-modal--judge-dog-child .aa-dog-profile-relations>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start!important;
  gap:4px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.aa-detail-modal .aa-profile-people-list,
.aa-detail-modal--judge-dog-child .aa-profile-people-list{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
}
.aa-detail-modal .aa-profile-person,
.aa-detail-modal--judge-dog-child .aa-profile-person{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:3px!important;
  width:100%!important;
  max-width:100%!important;
}
.aa-detail-modal .aa-profile-person-link,
.aa-detail-modal .aa-profile-person-name,
.aa-detail-modal .aa-profile-person-country,
.aa-detail-modal--judge-dog-child .aa-profile-person-link,
.aa-detail-modal--judge-dog-child .aa-profile-person-name,
.aa-detail-modal--judge-dog-child .aa-profile-person-country{
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}
.aa-detail-modal .aa-profile-person-country,
.aa-detail-modal--judge-dog-child .aa-profile-person-country{
  justify-self:start!important;
  white-space:normal!important;
}
.aa-detail-modal .aa-profile-person-separator,
.aa-detail-modal--judge-dog-child .aa-profile-person-separator{
  display:none!important;
}


/* 0.4.670 — admin: ręczna korekta kraju */
.aa-profile-watch-bar{
  flex-wrap:wrap!important;
  gap:8px!important;
}
.aa-country-admin-form{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  padding:6px 8px!important;
  border:1px solid #d8c9b2!important;
  border-radius:10px!important;
  background:#fffaf1!important;
}
.aa-country-admin-form label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
}
.aa-country-admin-form select{
  min-width:150px!important;
  max-width:220px!important;
  height:34px!important;
}
.aa-country-admin-form button{
  min-height:34px!important;
  padding:5px 10px!important;
  border:1px solid #7b1734!important;
  border-radius:9px!important;
  background:#fffaf1!important;
  color:#7b1734!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.aa-country-admin-form small{
  flex-basis:100%!important;
  color:#74695f!important;
}


/* 0.4.672 — admin: przydomek hodowlany */
.aa-affix-admin-form{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  padding:6px 8px!important;
  border:1px solid #d8c9b2!important;
  border-radius:10px!important;
  background:#fffaf1!important;
}
.aa-affix-admin-form label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
}
.aa-affix-admin-form input[type="text"]{
  min-width:220px!important;
  max-width:360px!important;
  height:34px!important;
}
.aa-affix-admin-form button{
  min-height:34px!important;
  padding:5px 10px!important;
  border:1px solid #7b1734!important;
  border-radius:9px!important;
  background:#fffaf1!important;
  color:#7b1734!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.aa-affix-admin-form small{
  flex-basis:100%!important;
  color:#74695f!important;
}
.aa-affix-admin-form .aa-affix-suggestion{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#2f6653!important;
  text-decoration:underline!important;
}


/* 0.4.674 — admin: bezpieczna korekta nazwy osoby */
.aa-person-name-admin-form{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  padding:6px 8px!important;
  border:1px solid #d8c9b2!important;
  border-radius:10px!important;
  background:#fffaf1!important;
}
.aa-person-name-admin-form label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
}
.aa-person-name-admin-form input[type="text"]{
  min-width:220px!important;
  max-width:360px!important;
  height:34px!important;
}
.aa-person-name-admin-form button{
  min-height:34px!important;
  padding:5px 10px!important;
  border:1px solid #7b1734!important;
  border-radius:9px!important;
  background:#fffaf1!important;
  color:#7b1734!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.aa-person-name-admin-form small{
  flex-basis:100%!important;
  color:#74695f!important;
}
.aa-profile-admin-notice{
  margin:0 0 10px!important;
  padding:9px 12px!important;
  border-radius:10px!important;
  font-size:.88rem!important;
  line-height:1.35!important;
}
.aa-profile-admin-notice.is-success{
  background:#eef6ea!important;
  border:1px solid #9fbd8d!important;
  color:#315233!important;
}
.aa-profile-admin-notice.is-error{
  background:#fff0f2!important;
  border:1px solid #d9a0ad!important;
  color:#7b1734!important;
}


/* 0.4.675 — kontrolowane scalanie osób */
.aa-person-merge-admin{
  margin:10px 0 14px!important;
  border:1px solid #d8c9b2!important;
  border-radius:12px!important;
  background:#fffaf1!important;
  overflow:hidden!important;
}
.aa-person-merge-admin>summary{
  cursor:pointer!important;
  padding:12px 14px!important;
  font-weight:800!important;
  color:#7b1734!important;
}
.aa-person-merge-form{
  padding:0 14px 14px!important;
}
.aa-person-merge-step{
  display:flex!important;
  gap:8px 12px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  padding:10px 0!important;
  border-top:1px solid #eadfce!important;
}
.aa-person-merge-step>b{flex-basis:100%!important;color:#31483f!important}
.aa-person-merge-search,
.aa-person-merge-step input[type="text"],
.aa-person-merge-step select{
  min-height:36px!important;
  border:1px solid #d2bea0!important;
  border-radius:9px!important;
  background:#fffdf8!important;
}
.aa-person-merge-search{min-width:min(460px,100%)!important}
.aa-person-merge-compare{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:10px 0!important;
}
.aa-person-merge-compare>div{
  padding:10px!important;
  border:1px solid #ddd0bc!important;
  border-radius:10px!important;
  background:#fffdf8!important;
}
.aa-person-merge-compare small,.aa-person-merge-compare strong,.aa-person-merge-compare span{display:block!important}
.aa-person-merge-warning{
  margin:10px 0!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  background:#fff3dd!important;
  border:1px solid #e0c187!important;
  color:#664b20!important;
}
.aa-person-merge-submit{
  min-height:38px!important;
  padding:7px 14px!important;
  border:1px solid #7b1734!important;
  border-radius:9px!important;
  background:#7b1734!important;
  color:#fff4df!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.aa-person-merge-submit:disabled{opacity:.45!important;cursor:not-allowed!important}
@media(max-width:720px){
  .aa-person-merge-compare{grid-template-columns:1fr!important}
  .aa-person-merge-search{width:100%!important;min-width:0!important}
}


/* 0.4.676 — scalanie psów w obrębie jednego hodowcy */
.aa-breeder-dog-merge-admin{margin:10px 0 14px!important;border:1px solid #d8c9b2!important;border-radius:12px!important;background:#fffaf1!important;overflow:hidden!important}
.aa-breeder-dog-merge-admin>summary{cursor:pointer!important;padding:12px 14px!important;font-weight:800!important;color:#7b1734!important}
.aa-breeder-dog-merge-form{padding:0 14px 14px!important}
.aa-breeder-dog-merge-list{display:grid!important;gap:7px!important;margin:10px 0!important}
.aa-breeder-dog-merge-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:9px 10px!important;border:1px solid #e0d4c2!important;border-radius:10px!important;background:#fffdf8!important}
.aa-dog-merge-main{min-width:0!important}.aa-dog-merge-main b,.aa-dog-merge-main small{display:block!important}.aa-dog-merge-main small{color:#756b60!important;margin-top:2px!important}
.aa-dog-merge-target{white-space:nowrap!important;color:#62584e!important}
.aa-dog-merge-final-name{display:grid!important;gap:5px!important;margin:12px 0!important}
.aa-dog-merge-final-name input{min-height:38px!important;border:1px solid #d2bea0!important;border-radius:9px!important;padding:6px 9px!important}
.aa-dog-merge-submit{min-height:38px!important;padding:7px 14px!important;border:1px solid #7b1734!important;border-radius:9px!important;background:#7b1734!important;color:#fff4df!important;font-weight:800!important;cursor:pointer!important}
.aa-dog-merge-submit:disabled{opacity:.45!important;cursor:not-allowed!important}
@media(max-width:720px){.aa-breeder-dog-merge-row{grid-template-columns:auto minmax(0,1fr)!important}.aa-dog-merge-target{grid-column:2!important;white-space:normal!important}}


/* 0.4.678 — ręczna korekta nazwy pojedynczego psa */
.aa-dog-name-admin-form{
  display:flex!important;gap:7px!important;align-items:flex-end!important;flex-wrap:wrap!important;
  padding:8px 10px!important;border:1px solid #d8c9b2!important;border-radius:10px!important;background:#fffaf1!important;
}
.aa-dog-name-admin-form label{display:grid!important;gap:3px!important;min-width:min(360px,100%)!important;flex:1 1 300px!important}
.aa-dog-name-admin-form label span{font-size:12px!important;font-weight:800!important;color:#4c5b54!important}
.aa-dog-name-admin-form input[type="text"]{min-height:36px!important;border:1px solid #d2bea0!important;border-radius:8px!important;padding:6px 9px!important;background:#fffdf8!important}
.aa-dog-name-admin-form button{min-height:36px!important;padding:6px 11px!important;border:1px solid #7b1734!important;border-radius:8px!important;background:#7b1734!important;color:#fff4df!important;font-weight:800!important;cursor:pointer!important}
.aa-dog-name-admin-form small{flex-basis:100%!important;color:#756b60!important}


/* 0.4.679 — wspólny standard informacji na kafelkach psów */
.aa-standard-dog-card-0679 .aa-golden-db-dog-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#7b7165!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
.aa-standard-dog-card-0679 .aa-golden-db-dog-copy span{
  display:block!important;
  margin-top:4px!important;
}


/* 0.4.680 — grupowe scalanie osób */
.aa-person-group-merge-admin{margin:10px 0 14px!important;border:1px solid #d8c9b2!important;border-radius:12px!important;background:#fffaf1!important;overflow:hidden!important}
.aa-person-group-merge-admin>summary{cursor:pointer!important;padding:12px 14px!important;font-weight:800!important;color:#7b1734!important}
.aa-person-group-merge-form{padding:0 14px 14px!important}
.aa-group-merge-search-row{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;padding:10px 0!important;border-top:1px solid #eadfce!important}
.aa-group-merge-search{min-height:38px!important;min-width:min(520px,100%)!important;flex:1 1 360px!important;border:1px solid #d2bea0!important;border-radius:9px!important;padding:6px 9px!important;background:#fffdf8!important}
.aa-group-merge-add,.aa-group-person-remove{min-height:36px!important;border:1px solid #7b1734!important;border-radius:8px!important;background:#fffaf1!important;color:#7b1734!important;font-weight:800!important;padding:6px 11px!important;cursor:pointer!important}
.aa-group-person-remove:disabled{opacity:.55!important;cursor:default!important}
.aa-group-merge-selected{display:grid!important;gap:7px!important;margin:8px 0 12px!important}
.aa-group-person{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:6px 10px!important;align-items:center!important;padding:9px 10px!important;border:1px solid #dfd2be!important;border-radius:10px!important;background:#fffdf8!important}
.aa-group-person>label{grid-row:1/3!important}.aa-group-person>strong{min-width:0!important}.aa-group-person>small{grid-column:2!important;color:#746a5e!important}
.aa-group-person>.aa-group-person-remove{grid-column:3!important;grid-row:1/3!important}
.aa-group-merge-final{display:grid!important;gap:10px!important;margin:12px 0!important}
.aa-group-merge-final>label{display:grid!important;grid-template-columns:minmax(160px,220px) minmax(220px,1fr) minmax(220px,1fr)!important;gap:7px!important;align-items:center!important}
.aa-group-merge-final select,.aa-group-merge-final input{min-height:36px!important;border:1px solid #d2bea0!important;border-radius:8px!important;background:#fffdf8!important;padding:6px 8px!important}
.aa-person-group-merge-submit{min-height:38px!important;padding:7px 14px!important;border:1px solid #7b1734!important;border-radius:9px!important;background:#7b1734!important;color:#fff4df!important;font-weight:800!important;cursor:pointer!important}
.aa-person-group-merge-submit:disabled{opacity:.45!important;cursor:not-allowed!important}
@media(max-width:760px){.aa-group-person{grid-template-columns:auto minmax(0,1fr)!important}.aa-group-person>.aa-group-person-remove{grid-column:2!important;grid-row:auto!important;justify-self:start!important}.aa-group-merge-final>label{grid-template-columns:1fr!important}}


/* 0.4.681 — widoczna różnica między nazwą prezentacyjną a surową w bazie */
.aa-group-person-raw{
  grid-column:2!important;
  color:#9a6a58!important;
  font-size:11px!important;
  font-style:italic!important;
}
.aa-person-merge-compare .src-meta,
.aa-person-merge-compare .tgt-meta{
  overflow-wrap:anywhere!important;
}

/* 0.4.682 — spójne liczniki osób: unikalne psy / unikalne wystawy */
.aa-person-merge-admin .aa-person-merge-step small,
.aa-person-group-merge-admin .aa-group-person small{line-height:1.3!important}


/* 0.4.683 — czytelny stan osób już dodanych do grupowego merge */
.aa-group-merge-search-status{
  display:flex!important;
  gap:8px 14px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  margin:-2px 0 10px!important;
}
.aa-group-merge-selected-count{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:3px 9px!important;
  border:1px solid #d7c09c!important;
  border-radius:999px!important;
  background:#f6ecda!important;
  color:#6d1833!important;
  font-weight:800!important;
}
.aa-group-merge-search-status small{color:#756b60!important}
.aa-group-person-added{
  grid-column:2!important;
  justify-self:start!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:2px 8px!important;
  border-radius:999px!important;
  background:#f3e7d2!important;
  border:1px solid #d8c7aa!important;
  color:#6d1833!important;
  font-size:11px!important;
  font-weight:800!important;
}
@media(max-width:760px){
  .aa-group-person-added{grid-column:2!important}
}

/* 0.4.684 — komunikat o usunięciu kolidującej starej reguły słownika */
.aa-profile-admin-notice.is-success small{display:inline-block!important;margin-top:4px!important;color:inherit!important;opacity:.82!important}


/* 0.4.685 — trwała historia ręcznych zmian przy profilu */
.aa-manual-change-history{
  margin:10px 0 14px!important;
  border:1px solid #d8c9b2!important;
  border-radius:12px!important;
  background:#fffaf1!important;
  overflow:hidden!important;
}
.aa-manual-change-history>summary{
  cursor:pointer!important;
  padding:11px 13px!important;
  font-weight:800!important;
  color:#6f1833!important;
}
.aa-manual-change-history>summary span{
  display:inline-flex!important;
  min-width:25px!important;
  min-height:25px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-left:6px!important;
  border-radius:999px!important;
  background:#6f1833!important;
  color:#fff4df!important;
  font-size:11px!important;
}
.aa-manual-change-list{display:grid!important;gap:7px!important;padding:0 12px 12px!important}
.aa-manual-change-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px 12px!important;
  align-items:center!important;
  padding:9px 10px!important;
  border:1px solid #e2d6c4!important;
  border-radius:10px!important;
  background:#fffdf8!important;
}
.aa-manual-change-row strong,.aa-manual-change-row small,.aa-manual-change-row p{display:block!important}
.aa-manual-change-row small{margin-top:2px!important;color:#746a5e!important;font-size:11px!important}
.aa-manual-change-row p{margin:4px 0 0!important;color:#394d45!important}
.aa-manual-change-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.aa-manual-change-actions a{
  display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:4px 8px!important;
  border:1px solid #7b1734!important;border-radius:8px!important;background:#fffaf1!important;color:#7b1734!important;
  text-decoration:none!important;font-weight:800!important;font-size:12px!important;
}
.aa-manual-change-empty{padding:0 12px 12px!important;color:#756b60!important}
@media(max-width:720px){
  .aa-manual-change-row{grid-template-columns:1fr!important}
  .aa-manual-change-actions{justify-content:flex-start!important}
}

/* 0.4.686 — ręcznie zatwierdzona canonical_name pozostaje literalna */

/* 0.4.687 — czytelny komunikat blokady zapisu nazwy */
.aa-profile-admin-notice.is-error{overflow-wrap:anywhere!important}

/* 0.4.688 — poprawiony redirect po konflikcie nazwy osoby */


/* 0.4.689 — pokazuj realną wartość kryjącą się za wyborem merge */
.aa-person-merge-final-values label{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  flex-wrap:wrap!important;
}
.aa-merge-value{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:2px 7px!important;
  border:1px solid #d8c7aa!important;
  border-radius:999px!important;
  background:#f6ecda!important;
  color:#5f5144!important;
  font-size:11px!important;
  font-weight:700!important;
}


/* =========================================================
 * 0.4.690 — nagłówki kolumn w modalu statystyk zgłoszeń.
 * Klasa | Zgłoszenia | Nasze zgłoszenia.
 * ========================================================= */
.aa-registration-modal__data .aa-registration-columns-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px minmax(150px,220px)!important;
  column-gap:10px!important;
  align-items:end!important;
  margin:2px 0 4px!important;
  padding:0 0 6px!important;
  border-bottom:1px solid rgba(65,54,43,.13)!important;
  color:#776c5e!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}
.aa-registration-modal__data .aa-registration-columns-head>span{
  grid-column:1!important;
  text-align:left!important;
}
.aa-registration-modal__data .aa-registration-columns-head>b{
  grid-column:2!important;
  width:34px!important;
  text-align:center!important;
  font:inherit!important;
  color:inherit!important;
}
.aa-registration-modal__data .aa-registration-columns-head>em{
  grid-column:3!important;
  justify-self:end!important;
  text-align:right!important;
  font:inherit!important;
  font-style:normal!important;
  color:#23705d!important;
}
@media(max-width:620px){
  .aa-registration-modal__data .aa-registration-columns-head{
    grid-template-columns:minmax(0,1fr) 28px minmax(108px,132px)!important;
    column-gap:6px!important;
    font-size:9px!important;
    letter-spacing:0!important;
  }
  .aa-registration-modal__data .aa-registration-columns-head>b{
    width:28px!important;
  }
  .aa-registration-modal__data .aa-registration-columns-head>em{
    white-space:normal!important;
    line-height:1.1!important;
  }
}


/* =========================================================
 * 0.4.691 — przydomek na kafelku hodowcy + audyt kompletności.
 * ========================================================= */
.aa-breeder-card .aa-breeder-card-affix{
  display:block!important;
  margin-top:3px!important;
  color:#75695c!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:650!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:100%!important;
}
.aa-breeder-card .aa-breeder-card-affix.is-missing{
  color:#9a5361!important;
  font-style:italic!important;
}
.aa-breeder-audit-0691{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px 16px!important;
  align-items:center!important;
  margin:10px 0 14px!important;
  padding:12px 14px!important;
  border:1px solid #dfd0b8!important;
  border-radius:12px!important;
  background:#fffaf1!important;
}
.aa-breeder-audit-title strong,
.aa-breeder-audit-0691>div>strong{display:block!important;color:#20382d!important}
.aa-breeder-audit-title small,
.aa-breeder-audit-0691>div>small{display:block!important;margin-top:3px!important;color:#756b60!important}
.aa-breeder-audit-stats{
  grid-column:1/-1!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
.aa-breeder-audit-stats span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:29px!important;
  padding:3px 9px!important;
  border:1px solid #d8c7aa!important;
  border-radius:999px!important;
  background:#f6ecda!important;
  color:#4a4a40!important;
  font-size:11px!important;
  font-weight:700!important;
}
.aa-breeder-audit-stats span.is-missing{
  border-color:#e2bdc4!important;
  background:#fbebee!important;
  color:#7b1734!important;
}
.aa-breeder-audit-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  justify-content:flex-end!important;
}
.aa-breeder-audit-actions a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:6px 11px!important;
  border:1px solid #7b1734!important;
  border-radius:8px!important;
  background:#7b1734!important;
  color:#fff4df!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
@media(max-width:720px){
  .aa-breeder-audit-0691{grid-template-columns:1fr!important}
  .aa-breeder-audit-actions{justify-content:flex-start!important}
  .aa-breeder-card .aa-breeder-card-affix{font-size:10.5px!important}
}

/* 0.4.692 — lista hodowców i profil korzystają z tych samych source_ids dla przydomka. */


/* =========================================================
 * 0.4.693 — bezpieczny auto-fill braków hodowców.
 * ========================================================= */
.aa-breeder-autofill-0693{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px 16px!important;
  align-items:center!important;
  margin:10px 0 14px!important;
  padding:12px 14px!important;
  border:1px solid #c9d8cf!important;
  border-radius:12px!important;
  background:#f4faf6!important;
}
.aa-breeder-autofill-0693>div>strong{display:block!important;color:#20382d!important}
.aa-breeder-autofill-0693>div>small{display:block!important;margin-top:3px!important;color:#6b746e!important}
.aa-breeder-autofill-stats{
  grid-column:1/-1!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
.aa-breeder-autofill-stats span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:29px!important;
  padding:3px 9px!important;
  border:1px solid #c7d4cb!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#3e5046!important;
  font-size:11px!important;
  font-weight:700!important;
}
.aa-breeder-autofill-stats span.is-auto{
  border-color:#9bc3ad!important;
  background:#e9f7ef!important;
  color:#1f654c!important;
}
.aa-breeder-autofill-0693 .aa-breeder-audit-actions a.is-primary{
  background:#1f654c!important;
  border-color:#1f654c!important;
  color:#fff4df!important;
}
@media(max-width:720px){
  .aa-breeder-autofill-0693{grid-template-columns:1fr!important}
}


/* =========================================================
 * 0.4.694 — zewnętrzne wzbogacanie hodowców.
 * ========================================================= */
.aa-breeder-enrichment-0694{
  display:grid!important;
  gap:12px!important;
  margin:10px 0 14px!important;
  padding:13px 14px!important;
  border:1px solid #cfbea4!important;
  border-radius:12px!important;
  background:#fffaf1!important;
}
.aa-breeder-enrichment-title strong{display:block!important;color:#20382d!important}
.aa-breeder-enrichment-title small{display:block!important;margin-top:4px!important;color:#6f665c!important;max-width:900px!important}
.aa-breeder-enrichment-stats{
  display:flex!important;flex-wrap:wrap!important;gap:7px!important;
}
.aa-breeder-enrichment-stats span{
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  min-height:29px!important;padding:3px 9px!important;
  border:1px solid #d8c7aa!important;border-radius:999px!important;
  background:#fff!important;color:#4a4a40!important;font-size:11px!important;font-weight:700!important;
}
.aa-breeder-enrichment-stats span.is-auto{
  border-color:#9bc3ad!important;background:#e9f7ef!important;color:#1f654c!important;
}
.aa-breeder-enrichment-flow{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
}
.aa-breeder-enrichment-flow>div{
  position:relative!important;
  display:grid!important;
  align-content:start!important;
  gap:6px!important;
  min-width:0!important;
  padding:11px!important;
  border:1px solid #e0d3bf!important;
  border-radius:10px!important;
  background:#fffdf8!important;
}
.aa-breeder-enrichment-flow>div>b{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:25px!important;height:25px!important;border-radius:999px!important;
  background:#7b1734!important;color:#fff4df!important;font-size:12px!important;
}
.aa-breeder-enrichment-flow>div strong{color:#20382d!important}
.aa-breeder-enrichment-flow>div small{color:#746b61!important;line-height:1.3!important}
.aa-breeder-enrichment-flow a,
.aa-breeder-enrichment-flow button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:34px!important;padding:6px 10px!important;
  border:1px solid #7b1734!important;border-radius:8px!important;
  background:#7b1734!important;color:#fff4df!important;
  text-decoration:none!important;font-weight:800!important;font-size:12px!important;cursor:pointer!important;
}
.aa-breeder-enrichment-flow form{display:grid!important;gap:7px!important}
.aa-breeder-enrichment-flow input[type=file]{
  max-width:100%!important;font-size:11px!important;
}
@media(max-width:860px){
  .aa-breeder-enrichment-flow{grid-template-columns:1fr!important}
}

/* =========================================================
 * 0.4.697 — audyty hodowców w jednym modalu + zwijane sekcje.
 * ========================================================= */
.aa-breeder-audits-launch-0697{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  margin:10px 0 14px!important;padding:10px 12px!important;border:1px solid #d9c8ad!important;border-radius:11px!important;
  background:#fffaf1!important;
}
.aa-breeder-audits-launch-copy{min-width:0!important}
.aa-breeder-audits-launch-copy strong{display:block!important;color:#20382d!important;font-size:14px!important}
.aa-breeder-audits-launch-copy small{display:block!important;margin-top:2px!important;color:#756b60!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.aa-breeder-audits-open-0697,
.aa-breeder-audits-head-0697>button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:35px!important;padding:7px 13px!important;
  border:1px solid #7b1734!important;border-radius:8px!important;background:#7b1734!important;color:#fff4df!important;
  font-size:12px!important;font-weight:800!important;cursor:pointer!important;
}
.aa-breeder-audits-modal-0697{position:fixed!important;inset:0!important;z-index:100000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:22px!important}
.aa-breeder-audits-modal-0697[hidden]{display:none!important}
.aa-breeder-audits-backdrop-0697{position:absolute!important;inset:0!important;background:rgba(19,27,23,.58)!important;backdrop-filter:blur(2px)!important}
.aa-breeder-audits-dialog-0697{position:relative!important;z-index:1!important;width:min(1180px,96vw)!important;max-height:90vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #d5c3a7!important;border-radius:15px!important;background:#fdf8ef!important;box-shadow:0 22px 70px rgba(0,0,0,.28)!important}
.aa-breeder-audits-head-0697{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:14px 16px!important;border-bottom:1px solid #dfd0b8!important;background:#fffaf1!important}
.aa-breeder-audits-head-0697 small{display:block!important;color:#7b1734!important;font-size:10px!important;font-weight:850!important;letter-spacing:.08em!important}
.aa-breeder-audits-head-0697 h3{margin:2px 0 0!important;color:#20382d!important;font-size:19px!important;line-height:1.15!important}
.aa-breeder-audits-head-0697 p{margin:3px 0 0!important;color:#756b60!important;font-size:11px!important}
.aa-breeder-audits-body-0697{overflow:auto!important;padding:13px!important}
.aa-breeder-audits-section-0697{margin:0 0 10px!important;border:1px solid #ddccb1!important;border-radius:11px!important;background:#fffdf8!important;overflow:hidden!important}
.aa-breeder-audits-section-0697:last-child{margin-bottom:0!important}
.aa-breeder-audits-section-0697>summary{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:2px 36px!important;align-items:center!important;padding:12px 42px 12px 13px!important;cursor:pointer!important;list-style:none!important;background:#fffaf1!important}
.aa-breeder-audits-section-0697>summary::-webkit-details-marker{display:none!important}
.aa-breeder-audits-section-0697>summary:after{content:'+'!important;position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;width:23px!important;height:23px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#f3e6d1!important;color:#7b1734!important;font-size:18px!important;font-weight:800!important}
.aa-breeder-audits-section-0697[open]>summary:after{content:'−'!important}
.aa-breeder-audits-section-0697>summary span{color:#20382d!important;font-weight:800!important;font-size:14px!important}
.aa-breeder-audits-section-0697>summary small{grid-column:1/2!important;color:#766b60!important;font-size:11px!important;line-height:1.3!important}
.aa-breeder-audits-section-body-0697{padding:2px 10px 10px!important;border-top:1px solid #eadfce!important}
.aa-breeder-audits-section-body-0697>.aa-breeder-audit-0691,
.aa-breeder-audits-section-body-0697>.aa-breeder-autofill-0693,
.aa-breeder-audits-section-body-0697>.aa-breeder-enrichment-0694{margin:8px 0 0!important;border-radius:9px!important}
body.aa-breeder-audits-open-0697{overflow:hidden!important}
@media(max-width:720px){
  .aa-breeder-audits-launch-0697{align-items:flex-start!important}
  .aa-breeder-audits-launch-copy small{white-space:normal!important}
  .aa-breeder-audits-modal-0697{padding:7px!important}
  .aa-breeder-audits-dialog-0697{width:100%!important;max-height:96vh!important;border-radius:11px!important}
  .aa-breeder-audits-head-0697{padding:11px!important;align-items:flex-start!important}
  .aa-breeder-audits-head-0697 p{display:none!important}
  .aa-breeder-audits-section-0697>summary{grid-template-columns:1fr!important;padding-right:42px!important}
  .aa-breeder-audits-section-0697>summary small{grid-column:auto!important}
}


/* =========================================================
 * 0.4.700 — modal „Zgłoszenia Golden Retriever”:
 * nagłówek „Zgłoszenia” zawsze w jednej linii, także na mobile.
 * Poszerzamy środkową kolumnę bez zmiany danych ani logiki modala.
 * ========================================================= */
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head,
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li,
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes h5{
  grid-template-columns:minmax(0,1fr) 72px minmax(170px,230px)!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>b{
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  line-height:1!important;
  justify-self:center!important;
  text-align:center!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li>b{
  width:72px!important;
  justify-self:center!important;
  text-align:center!important;
}
@media(max-width:620px){
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head,
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li,
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes h5{
    grid-template-columns:minmax(0,1fr) 70px minmax(118px,1fr)!important;
    column-gap:7px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>b,
  .aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li>b{
    width:70px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head{
    font-size:9px!important;
  }
}


/* =========================================================
 * 0.4.701 — plan sędziowania + wykaz wystawców Wystawy.NET
 * w modalu „Zgłoszenia Golden Retriever”.
 * ========================================================= */
.aa-registration-source-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 12px!important;
  padding:9px 11px!important;
  border:1px solid #e1d3bd!important;
  border-radius:10px!important;
  background:#fffaf1!important;
}
.aa-registration-source-status{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px 12px!important;
  min-width:0!important;
  color:#5f5549!important;
  font-size:11px!important;
}
.aa-registration-source-status span{
  white-space:nowrap!important;
}
.aa-registration-source-status b{
  color:#245d49!important;
}
.aa-registration-source-status small{
  flex-basis:100%!important;
  color:#897b6a!important;
  font-size:10px!important;
}
.aa-registration-source-refresh{
  flex:0 0 auto!important;
  border:1px solid #8b1737!important;
  border-radius:9px!important;
  background:#fffaf3!important;
  color:#7b1734!important;
  padding:7px 10px!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.aa-registration-source-refresh:hover,
.aa-registration-source-refresh:focus{
  background:#8b1737!important;
  color:#fff4df!important;
}
.aa-registration-source-refresh.is-loading{opacity:.68!important;cursor:wait!important}
.aa-registration-source-refresh.is-success{background:#e9f6ee!important;color:#1f6a4b!important;border-color:#9bcbb0!important}
.aa-registration-source-refresh.is-error{background:#fff0f0!important;color:#8b1737!important}


/* 0.4.703 — klasy zgłoszeń zwijane jak w katalogu. */
.aa-show-registration-sexes ul{
  display:grid!important;
  gap:8px!important;
}
.aa-show-registration-sexes li.aa-registration-class-item{
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.aa-registration-class-card{
  margin:0!important;
  border:1px solid #e1d4c0!important;
  border-left:4px solid #8b1737!important;
  border-radius:10px!important;
  background:#fffdf8!important;
  overflow:hidden!important;
}
.aa-registration-class-card>summary{
  list-style:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  min-height:42px!important;
  padding:9px 12px!important;
  cursor:pointer!important;
  background:#f8f0e4!important;
  color:#213d32!important;
}
.aa-registration-class-card>summary::-webkit-details-marker{display:none!important}
.aa-registration-class-name{
  min-width:0!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
.aa-registration-class-summary-right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
.aa-registration-class-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:28px!important;
  height:28px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#2f684f!important;
  color:#fff8e9!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
}
.aa-registration-class-own{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
.aa-registration-class-own .aa-our-registration-inline{margin:0!important}
.aa-registration-class-chevron{
  width:8px!important;
  height:8px!important;
  border-right:2px solid #7b1734!important;
  border-bottom:2px solid #7b1734!important;
  transform:rotate(45deg)!important;
  transition:transform .16s ease!important;
  flex:0 0 auto!important;
}
.aa-registration-class-card[open] .aa-registration-class-chevron{transform:rotate(225deg)!important}
.aa-registration-class-card[open]>summary{
  border-bottom:1px solid #e4d7c5!important;
  background:#f6eddf!important;
}
.aa-registration-class-body{
  padding:9px 12px 11px!important;
  background:#fffdf8!important;
}
.aa-registration-class-body--empty{
  color:#8b7d6a!important;
  font-size:11px!important;
  font-style:italic!important;
}
.aa-registration-class-body-head{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:10px!important;
  padding:0 4px 6px!important;
  color:#927f66!important;
  font-size:9px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.aa-registration-exhibitors{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 16px!important;
}
.aa-registration-exhibitors li{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  min-height:34px!important;
  padding:6px 4px!important;
  border:0!important;
  border-top:1px solid #eee4d5!important;
  background:transparent!important;
  font-size:11px!important;
}
.aa-registration-exhibitors li>b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:start!important;
  min-width:30px!important;
  height:24px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#f1e6d5!important;
  color:#8b1737!important;
  font-size:10px!important;
  font-weight:900!important;
}
.aa-registration-exhibitors li>span{
  min-width:0!important;
  color:#30483e!important;
  line-height:1.25!important;
  font-weight:600!important;
}
.aa-registration-exhibitors li>span.is-missing{color:#9a8b78!important;font-style:italic!important;font-weight:400!important}

@media(max-width:620px){
  .aa-registration-class-card>summary{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:10px!important;
  }
  .aa-registration-class-name{font-size:13px!important}
  .aa-registration-class-summary-right{gap:7px!important}
  .aa-registration-class-own .aa-our-registration-dog{font-size:11px!important}
  .aa-registration-class-body{padding:8px 10px 10px!important}
  .aa-registration-class-body-head{grid-template-columns:48px minmax(0,1fr)!important}
  .aa-registration-exhibitors{grid-template-columns:1fr!important}
  .aa-registration-exhibitors li{
    grid-template-columns:48px minmax(0,1fr)!important;
    font-size:12px!important;
  }
}


/* =========================================================
 * 0.4.704 — pełna szerokość klas zgłoszeń + kolor klasy.
 * Każda klasa korzysta z własnego akcentu jak w katalogu.
 * ========================================================= */
.aa-registration-modal__data .aa-show-registration-sexes ul{
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
}
.aa-registration-modal__data .aa-show-registration-sexes li.aa-registration-class-item{
  width:100%!important;
  max-width:none!important;
}
.aa-registration-modal__data .aa-registration-class-card{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* młodsze szczenięta — zielony */
.aa-registration-class-item[data-aa-registration-class-key="mlodsze szczenieta"] .aa-registration-class-card{
  border-left-color:#4f8a62!important;
}
.aa-registration-class-item[data-aa-registration-class-key="mlodsze szczenieta"] .aa-registration-class-card>summary{
  background:#eaf4ec!important;
}
.aa-registration-class-item[data-aa-registration-class-key="mlodsze szczenieta"] .aa-registration-class-count{
  background:#4f8a62!important;
}

/* szczenięta — turkus */
.aa-registration-class-item[data-aa-registration-class-key="szczenieta"] .aa-registration-class-card{
  border-left-color:#3f8791!important;
}
.aa-registration-class-item[data-aa-registration-class-key="szczenieta"] .aa-registration-class-card>summary{
  background:#e8f3f5!important;
}
.aa-registration-class-item[data-aa-registration-class-key="szczenieta"] .aa-registration-class-count{
  background:#3f8791!important;
}

/* młodzież — niebieski */
.aa-registration-class-item[data-aa-registration-class-key="mlodziez"] .aa-registration-class-card{
  border-left-color:#5575ad!important;
}
.aa-registration-class-item[data-aa-registration-class-key="mlodziez"] .aa-registration-class-card>summary{
  background:#edf1f8!important;
}
.aa-registration-class-item[data-aa-registration-class-key="mlodziez"] .aa-registration-class-count{
  background:#5575ad!important;
}

/* pośrednia — błękit */
.aa-registration-class-item[data-aa-registration-class-key="posrednia"] .aa-registration-class-card{
  border-left-color:#4c8096!important;
}
.aa-registration-class-item[data-aa-registration-class-key="posrednia"] .aa-registration-class-card>summary{
  background:#eaf2f5!important;
}
.aa-registration-class-item[data-aa-registration-class-key="posrednia"] .aa-registration-class-count{
  background:#4c8096!important;
}

/* otwarta — indygo */
.aa-registration-class-item[data-aa-registration-class-key="otwarta"] .aa-registration-class-card{
  border-left-color:#596fb0!important;
}
.aa-registration-class-item[data-aa-registration-class-key="otwarta"] .aa-registration-class-card>summary{
  background:#edf0f8!important;
}
.aa-registration-class-item[data-aa-registration-class-key="otwarta"] .aa-registration-class-count{
  background:#596fb0!important;
}

/* użytkowa — fiolet */
.aa-registration-class-item[data-aa-registration-class-key="uzytkowa"] .aa-registration-class-card{
  border-left-color:#7956a6!important;
}
.aa-registration-class-item[data-aa-registration-class-key="uzytkowa"] .aa-registration-class-card>summary{
  background:#f1edf7!important;
}
.aa-registration-class-item[data-aa-registration-class-key="uzytkowa"] .aa-registration-class-count{
  background:#7956a6!important;
}

/* championów — bordowo-różowy */
.aa-registration-class-item[data-aa-registration-class-key="champion"] .aa-registration-class-card{
  border-left-color:#9a4967!important;
}
.aa-registration-class-item[data-aa-registration-class-key="champion"] .aa-registration-class-card>summary{
  background:#f6edf1!important;
}
.aa-registration-class-item[data-aa-registration-class-key="champion"] .aa-registration-class-count{
  background:#9a4967!important;
}

/* weteranów — ciepły brąz */
.aa-registration-class-item[data-aa-registration-class-key="weteran"] .aa-registration-class-card{
  border-left-color:#8a6c52!important;
}
.aa-registration-class-item[data-aa-registration-class-key="weteran"] .aa-registration-class-card>summary{
  background:#f5efe9!important;
}
.aa-registration-class-item[data-aa-registration-class-key="weteran"] .aa-registration-class-count{
  background:#8a6c52!important;
}

.aa-registration-modal__data .aa-registration-class-card[open]>summary{
  filter:saturate(1.03) brightness(.99)!important;
}


/* =========================================================
 * 0.4.705 — klasy zgłoszeń naprawdę na pełną szerokość.
 * Poprzednia wersja poszerzała kartę, ale nadrzędny li nadal był
 * traktowany jako 3-kolumnowy wiersz i karta lądowała tylko w 1. kolumnie.
 * ========================================================= */
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li.aa-registration-class-item{
  display:block!important;
  grid-template-columns:none!important;
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  justify-self:stretch!important;
  align-self:stretch!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li.aa-registration-class-item>.aa-registration-class-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li.aa-registration-class-item>.aa-registration-class-card>summary{
  width:100%!important;
  box-sizing:border-box!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-show-registration-sexes li.aa-registration-class-item .aa-registration-class-body{
  width:100%!important;
  box-sizing:border-box!important;
}


/* =========================================================
 * 0.4.706 — wystawcy: profile właścicieli, flagi i nagłówki 2×2.
 * ========================================================= */
.aa-registration-class-body-head{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 16px!important;
  padding:0 4px 6px!important;
}
.aa-registration-class-body-head>div{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:end!important;
  min-width:0!important;
}
.aa-registration-class-body-head strong,.aa-registration-class-body-head span{min-width:0!important}
.aa-registration-exhibitors li>a.aa-registration-owner-link,
.aa-registration-exhibitors li>span.aa-registration-owner-name{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  color:#30483e!important;
  line-height:1.25!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.aa-registration-exhibitors li>a.aa-registration-owner-link:hover{text-decoration:underline!important}
.aa-registration-owner-flag{flex:0 0 auto!important;font-size:15px!important;line-height:1!important}
.aa-registration-exhibitors li>.is-missing{color:#9a8b78!important;font-style:italic!important;font-weight:400!important}
@media(max-width:620px){
  .aa-registration-class-body-head{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
  .aa-registration-class-body-head>div{grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important}
  .aa-registration-class-body-head-second{display:none!important}
  .aa-registration-owner-flag{font-size:14px!important}
}

/* =========================================================
 * 0.4.708 — mobilny układ wystawców w panelu zgłoszeń.
 * Nadpisuje historyczną 3-kolumnową siatkę li z panelu klas.
 * ========================================================= */
@media(max-width:760px){
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-body{
    padding:8px 10px 10px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-body-head{
    display:block!important;
    padding:0 4px 5px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-body-head>div:first-child{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:end!important;
    width:100%!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-body-head-second{
    display:none!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
    width:100%!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors li{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    padding:6px 4px!important;
    box-sizing:border-box!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors li>b{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    width:auto!important;
    min-width:48px!important;
    height:24px!important;
    margin:0!important;
    padding:0 7px!important;
    text-align:center!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors li>a.aa-registration-owner-link,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors li>span.aa-registration-owner-name,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors li>span.is-missing{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:start!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    font-size:11px!important;
    line-height:1.22!important;
    font-weight:700!important;
    text-align:left!important;
    overflow-wrap:anywhere!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-exhibitors li>span.is-missing{
    font-weight:400!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-owner-flag{
    font-size:12px!important;
    line-height:1!important;
  }
}

/* =========================================================
 * 0.4.710 — Psy / Suki w modalu zgłoszeń domyślnie zwinięte,
 * zgodnie z hierarchią katalogu: płeć -> klasy -> wystawcy.
 * ========================================================= */
.aa-registration-modal .aa-show-registration-sexes{
  align-items:start!important;
}
.aa-registration-modal .aa-registration-sex-card{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #ddcfbd!important;
  border-radius:11px!important;
  background:#fffdf8!important;
  overflow:hidden!important;
}
.aa-registration-modal .aa-registration-sex-card>summary{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto 18px!important;
  gap:10px!important;
  align-items:center!important;
  min-height:46px!important;
  padding:10px 12px!important;
  list-style:none!important;
  cursor:pointer!important;
  color:#20382d!important;
  background:#f3eadb!important;
  font-size:15px!important;
  font-weight:800!important;
}
.aa-registration-modal .aa-registration-sex-card>summary::-webkit-details-marker{display:none!important}
.aa-registration-modal .aa-registration-sex-card>summary>b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:31px!important;
  height:31px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#275b4d!important;
  color:#fff7e8!important;
  font-size:12px!important;
  line-height:1!important;
}
.aa-registration-modal .aa-registration-sex-card>summary>i{
  width:8px!important;
  height:8px!important;
  border-right:2px solid #7b1734!important;
  border-bottom:2px solid #7b1734!important;
  transform:rotate(45deg)!important;
  transition:transform .16s ease!important;
  justify-self:center!important;
}
.aa-registration-modal .aa-registration-sex-card[open]>summary>i{
  transform:rotate(225deg)!important;
}
.aa-registration-modal .aa-registration-sex-card__body{
  padding:10px 12px 12px!important;
}
.aa-registration-modal .aa-registration-sex-card__body>ul{
  margin:0!important;
  padding:0!important;
}
@media(max-width:760px){
  .aa-registration-modal .aa-registration-sex-card>summary{
    min-height:44px!important;
    padding:9px 10px!important;
    font-size:14px!important;
  }
  .aa-registration-modal .aa-registration-sex-card__body{
    padding:8px 9px 10px!important;
  }
}


/* =========================================================
 * 0.4.713 — stałe kolumny w wierszach klas zgłoszeń.
 * Nagłówek i każdy wiersz korzystają z tej samej siatki:
 * Klasa | Zgłoszenia | Nasze zgłoszenia | chevron.
 * Dzięki temu obecność naszego psa nie przesuwa licznika ani etykiety.
 * ========================================================= */
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head,
.aa-registration-modal .aa-registration-modal__data .aa-registration-class-card>summary{
  grid-template-columns:minmax(0,1fr) 54px minmax(170px,230px) 18px!important;
  column-gap:10px!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head{
  padding-left:12px!important;
  padding-right:12px!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>span{grid-column:1!important}
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>b{
  grid-column:2!important;
  width:auto!important;
  justify-self:center!important;
  text-align:center!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>em{
  grid-column:3!important;
  width:100%!important;
  justify-self:stretch!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-class-summary-right{
  display:contents!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-class-count{
  grid-column:2!important;
  justify-self:center!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-class-own{
  grid-column:3!important;
  justify-self:end!important;
  width:100%!important;
  justify-content:flex-end!important;
  text-align:right!important;
}
.aa-registration-modal .aa-registration-modal__data .aa-registration-class-chevron{
  grid-column:4!important;
  justify-self:center!important;
}
@media(max-width:760px){
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-card>summary{
    grid-template-columns:minmax(0,1fr) 42px minmax(112px,150px) 14px!important;
    column-gap:6px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>em{
    white-space:normal!important;
    line-height:1.05!important;
  }
}


/* =========================================================
 * 0.4.715 — mobile: więcej miejsca na nazwę klasy.
 * Stałe kolumny pozostają, ale na telefonie kolumna "Klasa"
 * dostaje wyraźnie większy udział, a nasze zgłoszenie jest
 * kompaktowe. Nazwy klas nie są już łamane po 3–4 znaki.
 * ========================================================= */
@media(max-width:760px){
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-card>summary{
    grid-template-columns:minmax(118px,1fr) 38px minmax(96px,108px) 12px!important;
    column-gap:4px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head{
    padding-left:10px!important;
    padding-right:8px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-card>summary{
    padding-left:10px!important;
    padding-right:8px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-name{
    font-size:12px!important;
    line-height:1.18!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-count{
    min-width:30px!important;
    width:30px!important;
    height:30px!important;
    padding:0!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-own{
    min-width:0!important;
    justify-content:flex-end!important;
    gap:3px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-own .aa-our-registration-inline{
    gap:3px!important;
    min-width:0!important;
    justify-content:flex-end!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-own .aa-our-registration-dog{
    font-size:12px!important;
    white-space:nowrap!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-own .aa-our-registration-status{
    font-size:9px!important;
    line-height:1!important;
    padding:5px 7px!important;
    white-space:nowrap!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>span,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>b,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head>em{
    font-size:9px!important;
  }
}
@media(max-width:390px){
  .aa-registration-modal .aa-registration-modal__data .aa-registration-columns-head,
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-card>summary{
    grid-template-columns:minmax(110px,1fr) 34px minmax(90px,102px) 11px!important;
    column-gap:3px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-name{
    font-size:11px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-count{
    min-width:28px!important;
    width:28px!important;
    height:28px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-own .aa-our-registration-dog{
    font-size:11px!important;
  }
  .aa-registration-modal .aa-registration-modal__data .aa-registration-class-own .aa-our-registration-status{
    font-size:8px!important;
    padding:4px 6px!important;
  }
}

/* =========================================================
 * 0.4.716 — kompaktowy pasek źródeł przed wystawą.
 * ========================================================= */
.aa-registration-source-tools{
  padding:7px 10px!important;
  gap:10px!important;
  min-height:42px!important;
}
.aa-registration-source-status{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:2px!important;
  font-size:11px!important;
}
.aa-registration-source-status__main,
.aa-registration-source-status__meta{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px 10px!important;
  min-width:0!important;
}
.aa-registration-source-status__main span{
  white-space:nowrap!important;
}
.aa-registration-source-status__meta small{
  flex-basis:auto!important;
  white-space:nowrap!important;
}
.aa-refresh-label-short{display:none!important}

@media(max-width:760px){
  .aa-registration-source-tools{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:6px 8px!important;
    padding:8px 10px!important;
    margin-bottom:10px!important;
  }
  .aa-registration-source-status{
    min-width:0!important;
    gap:3px!important;
  }
  .aa-registration-source-status__main{
    gap:3px 8px!important;
    font-size:12px!important;
  }
  .aa-registration-source-status__meta{
    gap:4px!important;
  }
  .aa-registration-source-status__meta small{
    font-size:10px!important;
  }
  .aa-registration-source-status__meta .aa-pre-show-refresh-message{
    display:none!important;
  }
  .aa-registration-source-refresh{
    align-self:center!important;
    padding:7px 10px!important;
    min-height:34px!important;
    font-size:11px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
  .aa-refresh-label-full{display:none!important}
  .aa-refresh-label-short{display:inline!important}
}

/* 0.4.717 — admin: narzędzia edycji profilu schowane w jedną belkę */
.aa-profile-admin-tools{
  margin:10px 0 16px!important;
  border:1px solid #d8c9b2!important;
  border-radius:12px!important;
  background:#fffaf1!important;
  overflow:hidden!important;
}
.aa-profile-admin-tools>summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:44px!important;
  padding:10px 14px!important;
  cursor:pointer!important;
  list-style:none!important;
  color:#7b1734!important;
  font-weight:800!important;
}
.aa-profile-admin-tools>summary::-webkit-details-marker{display:none!important}
.aa-profile-admin-chevron{
  width:9px!important;height:9px!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  transform:rotate(45deg)!important;
  transition:transform .18s ease!important;
  margin-right:4px!important;
}
.aa-profile-admin-tools[open] .aa-profile-admin-chevron{transform:rotate(225deg)!important}
.aa-profile-admin-tools-body{
  padding:0 12px 12px!important;
  border-top:1px solid #eadfce!important;
}
.aa-profile-admin-tools-forms{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  padding-top:12px!important;
}
.aa-profile-admin-tools .aa-manual-change-history,
.aa-profile-admin-tools .aa-person-merge-admin,
.aa-profile-admin-tools .aa-person-group-merge-admin,
.aa-profile-admin-tools .aa-breeder-dog-merge-admin{
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:760px){
  .aa-profile-admin-tools{margin:8px 0 12px!important}
  .aa-profile-admin-tools>summary{min-height:42px!important;padding:9px 12px!important;font-size:15px!important}
  .aa-profile-admin-tools-body{padding:0 10px 10px!important}
  .aa-profile-admin-tools-forms{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding-top:10px!important}
  .aa-profile-admin-tools .aa-person-name-admin-form,
  .aa-profile-admin-tools .aa-country-admin-form,
  .aa-profile-admin-tools .aa-affix-admin-form{width:100%!important;margin:0!important;box-sizing:border-box!important}
  .aa-profile-admin-tools .aa-person-name-admin-form label,
  .aa-profile-admin-tools .aa-country-admin-form label,
  .aa-profile-admin-tools .aa-affix-admin-form label{width:100%!important}
  .aa-profile-admin-tools .aa-person-name-admin-form input[type="text"],
  .aa-profile-admin-tools .aa-country-admin-form select,
  .aa-profile-admin-tools .aa-affix-admin-form input[type="text"]{width:100%!important;min-width:0!important;max-width:none!important}
}

/* 0.4.718 — większe cele dotykowe kalendarza na mobile + wybór dnia z wieloma wystawami */
@media(max-width:850px){
  .aa-show-calendar-wrap .aa-show-day.has-shows{cursor:pointer;position:relative}
  .aa-show-calendar-wrap .aa-show-day.has-shows::after{content:"";position:absolute;inset:0;z-index:0}
  .aa-show-calendar-wrap .aa-show-day.has-shows>b,
  .aa-show-calendar-wrap .aa-show-day.has-shows>.aa-show-day-summary{position:relative;z-index:1}
}

/* 0.4.719 — lżejszy kalendarz mobilny i spójny wybór wystaw z dnia */
@media(max-width:850px){
  .aa-show-calendar-wrap .aa-show-day,
  .aa-show-calendar-wrap .aa-show-days .is-empty{min-height:52px!important;padding:2px!important}
  .aa-show-calendar-wrap .aa-show-day-summary{min-height:30px!important;width:100%;box-sizing:border-box;padding:2px 1px!important;margin-top:2px!important;gap:2px!important;align-content:center}
  .aa-show-calendar-wrap .aa-show-type-code{min-width:18px!important;height:18px!important;padding:0 3px!important;font-size:7.5px!important;box-shadow:none!important}
  .aa-show-calendar-wrap .aa-show-day-summary .aa-count{margin-top:0!important;font-size:7px!important}
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-day,
  .aa-show-calendar-wrap .aa-show-days .is-empty{min-height:48px!important}
  .aa-show-calendar-wrap .aa-show-day-summary{min-height:28px!important}
  .aa-show-calendar-wrap .aa-show-type-code{min-width:17px!important;height:17px!important;font-size:7px!important}
}

.aa-show-calendar-wrap .aa-show-day-chooser{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(20,22,18,.48);box-sizing:border-box}
.aa-show-calendar-wrap .aa-show-day-chooser__panel{width:min(520px,100%);max-height:min(78vh,680px);display:flex;flex-direction:column;border:1px solid #d8c28c;border-radius:16px;background:#fffdf8;overflow:hidden;box-shadow:0 12px 36px rgba(0,0,0,.18)}
.aa-show-calendar-wrap .aa-show-day-chooser__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid #e4d8bd;background:#fbf8f0;color:#26351f}
.aa-show-calendar-wrap .aa-show-day-chooser__head strong{font-size:18px;line-height:1;font-weight:900}
.aa-show-calendar-wrap .aa-show-day-chooser__head button{width:38px;height:38px;flex:0 0 38px;border:1px solid #8b6d2d;border-radius:999px;background:#fff;color:#6f1830;font-size:23px;line-height:1;cursor:pointer}
.aa-show-calendar-wrap .aa-show-day-chooser__list{min-height:0;overflow:auto;overflow-x:hidden;padding:8px;background:#fffdf8;box-sizing:border-box}
.aa-show-calendar-wrap .aa-show-day-chooser__item{--aa-day-kind:#66764c;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:46px;margin:0 0 6px;padding:7px 9px;border:1px solid #ded2b9;border-left:5px solid var(--aa-day-kind);border-radius:9px;background:#fff;color:#26351f;text-align:left;font-weight:800;cursor:pointer;box-sizing:border-box}
.aa-show-calendar-wrap .aa-show-day-chooser__item:last-child{margin-bottom:0}
.aa-show-calendar-wrap .aa-show-day-chooser__item[data-type="międzynarodowa" i]{--aa-day-kind:#b8851c}
.aa-show-calendar-wrap .aa-show-day-chooser__item[data-type="klubowa" i]{--aa-day-kind:#1c1c1c}
.aa-show-calendar-wrap .aa-show-day-chooser__item[data-type="specjalistyczna" i]{--aa-day-kind:#8d5640}
.aa-show-calendar-wrap .aa-show-day-chooser__item[data-type="krajowa" i]{--aa-day-kind:#5b6842}
.aa-show-calendar-wrap .aa-show-day-chooser__item[data-cancelled="1"]{--aa-day-kind:#b14c45}
.aa-show-calendar-wrap .aa-show-day-chooser__code{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:var(--aa-day-kind);color:#fff;font-size:10px;font-weight:900}
.aa-show-calendar-wrap .aa-show-day-chooser__title{min-width:0;font-size:13px;line-height:1.22;overflow-wrap:anywhere}
.aa-show-calendar-wrap .aa-show-day-chooser__item:focus-visible{outline:3px solid rgba(181,133,28,.32);outline-offset:2px}
@media(hover:hover) and (pointer:fine){
  .aa-show-calendar-wrap .aa-show-day-chooser__item:hover{background:#faf5e9}
}
@media(max-width:560px){
  .aa-show-calendar-wrap .aa-show-day-chooser{padding:10px}
  .aa-show-calendar-wrap .aa-show-day-chooser__panel{max-height:76vh;border-radius:14px}
  .aa-show-calendar-wrap .aa-show-day-chooser__head{padding:9px 10px}
  .aa-show-calendar-wrap .aa-show-day-chooser__head strong{font-size:17px}
  .aa-show-calendar-wrap .aa-show-day-chooser__head button{width:36px;height:36px;flex-basis:36px}
  .aa-show-calendar-wrap .aa-show-day-chooser__list{padding:7px}
  .aa-show-calendar-wrap .aa-show-day-chooser__item{grid-template-columns:32px minmax(0,1fr);gap:8px;min-height:44px;margin-bottom:5px;padding:6px 8px;border-left-width:5px}
  .aa-show-calendar-wrap .aa-show-day-chooser__code{width:28px;height:28px;font-size:9px}
  .aa-show-calendar-wrap .aa-show-day-chooser__title{font-size:12px;line-height:1.18}
}


/* 0.4.720 — pełne nazwy rang i pełna data w panelu dnia */
.aa-show-calendar-wrap .aa-show-day-chooser__item{grid-template-columns:118px minmax(0,1fr);gap:10px}
.aa-show-calendar-wrap .aa-show-day-chooser__code{display:flex;align-items:center;justify-content:center;width:auto;min-width:0;height:30px;padding:0 10px;border-radius:999px;white-space:nowrap;font-size:10px;line-height:1;font-weight:900}
.aa-show-calendar-wrap .aa-show-day-chooser__title{font-size:13px;line-height:1.2}
@media(max-width:640px){
  .aa-show-calendar-wrap .aa-show-day-chooser__item{grid-template-columns:108px minmax(0,1fr);gap:8px;padding:6px 8px}
  .aa-show-calendar-wrap .aa-show-day-chooser__code{height:28px;padding:0 8px;font-size:9.5px}
  .aa-show-calendar-wrap .aa-show-day-chooser__head strong{font-size:18px}
}
@media(max-width:380px){
  .aa-show-calendar-wrap .aa-show-day-chooser__item{grid-template-columns:100px minmax(0,1fr)}
  .aa-show-calendar-wrap .aa-show-day-chooser__code{font-size:9px;padding:0 7px}
}

/* 0.4.722 — kompaktowy panel dnia: krótsze pastylki rang i ciaśniejsze wiersze */
.aa-show-calendar-wrap .aa-show-day-chooser__item{
  grid-template-columns:104px minmax(0,1fr);
  gap:8px;
  min-height:42px;
  margin-bottom:4px;
  padding:5px 8px;
}
.aa-show-calendar-wrap .aa-show-day-chooser__code{
  height:26px;
  padding:0 8px;
  font-size:9px;
}
.aa-show-calendar-wrap .aa-show-day-chooser__title{
  font-size:12.5px;
  line-height:1.16;
}
@media(max-width:640px){
  .aa-show-calendar-wrap .aa-show-day-chooser__list{padding:6px}
  .aa-show-calendar-wrap .aa-show-day-chooser__item{
    grid-template-columns:96px minmax(0,1fr);
    gap:7px;
    min-height:40px;
    margin-bottom:4px;
    padding:5px 7px;
  }
  .aa-show-calendar-wrap .aa-show-day-chooser__code{
    height:25px;
    padding:0 7px;
    font-size:8.8px;
  }
  .aa-show-calendar-wrap .aa-show-day-chooser__title{
    font-size:12px;
    line-height:1.15;
  }
}
@media(max-width:380px){
  .aa-show-calendar-wrap .aa-show-day-chooser__item{grid-template-columns:90px minmax(0,1fr)}
  .aa-show-calendar-wrap .aa-show-day-chooser__code{font-size:8.5px;padding:0 6px}
}

/* =========================================================
 * 0.4.723 — spójny kraj/narodowość i przydomek hodowlany.
 * ========================================================= */
.aa-person-card-country{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin-top:3px!important;
  color:#6c6257!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:650!important;
}
.aa-profile-affix-line{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:6px 0 0!important;
  color:#5f574d!important;
}
.aa-profile-affix-line b{color:#51493f!important}
.aa-profile-person-affix{
  flex-basis:100%!important;
  display:block!important;
  margin:1px 0 0!important;
  color:#75695c!important;
  font-size:.82em!important;
  line-height:1.2!important;
}
.aa-profile-person-affix b{font-weight:700!important}
.aa-show-person-wrap{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:3px 6px!important;
  min-width:0!important;
  max-width:100%!important;
}
.aa-show-person-country,
.aa-show-person-affix{
  display:inline-block!important;
  color:#746a5f!important;
  font-size:.78em!important;
  line-height:1.2!important;
  font-weight:600!important;
}
.aa-show-person-country::before,
.aa-show-person-affix::before{
  content:'·';
  margin-right:5px!important;
  color:#ad9f8e!important;
}
@media(max-width:720px){
  .aa-person-card-country{font-size:10.5px!important}
  .aa-show-person-wrap{gap:2px 5px!important}
  .aa-show-person-country,.aa-show-person-affix{font-size:.74em!important}
  .aa-profile-person-affix{font-size:.78em!important}
}

/* 0.4.731 — statusy technicznych encji osób widoczne tylko dla administratora */
.aa-person-admin-flags{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
.aa-person-admin-flag{display:inline-flex;align-items:center;min-height:18px;padding:2px 7px;border:1px solid #c9bda9;border-radius:999px;background:#f1ece3;color:#665f55;font-size:10px;font-style:normal;font-weight:800;line-height:1;white-space:nowrap}
.aa-person-admin-flag.is-hidden{background:#eeeae2;color:#655f56;border-color:#cfc6b8}
.aa-person-admin-flag.is-protected{background:#e6efe1;color:#3f5c37;border-color:#abc39e}
.aa-person-admin-flag.is-merged{background:#f2e8cf;color:#6d4f17;border-color:#cfb36f}
.aa-person-admin-flag.is-alias{background:#e7edf2;color:#36566b;border-color:#a9bfcd}
@media(max-width:600px){.aa-person-admin-flags{gap:3px}.aa-person-admin-flag{font-size:9px;padding:2px 6px}}

/* 0.4.733 — filtr technicznych encji + czytelne statusy merge/alias */
.aa-person-admin-view-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px;padding:10px 12px;border:1px solid rgba(119,94,43,.22);border-radius:12px;background:rgba(255,252,244,.76)}
.aa-person-admin-view-filter span{font-size:12px;font-weight:700;color:#6f6656;margin-right:2px}
.aa-person-admin-view-filter a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;border:1px solid #8b1235;border-radius:999px;color:#7f1231;text-decoration:none;font-size:12px;font-weight:800;background:#fffaf0}
.aa-person-admin-view-filter a.is-active{background:#596b43;color:#fff4dc;border-color:#596b43;box-shadow:inset 0 0 0 1px rgba(255,244,220,.14)}
.aa-person-admin-view-filter a.is-active::before{content:'✓';font-weight:900;margin-right:5px}
@media(max-width:700px){.aa-person-admin-view-filter{gap:6px;padding:8px}.aa-person-admin-view-filter span{width:100%}.aa-person-admin-view-filter a{flex:1 1 auto;min-width:0;padding:6px 9px;font-size:11px}}

/* 0.4.740 — audyty: wszystkie sekcje startują zwinięte; najnowsza na górze i wyraźnie oznaczona. */
.aa-breeder-audits-section-new-0740{border:2px solid #c89f45!important;box-shadow:0 0 0 3px rgba(200,159,69,.12)!important}
.aa-breeder-audits-section-new-0740>summary{background:linear-gradient(90deg,#fff8e7 0%,#fffdf8 100%)!important}
.aa-breeder-audits-section-new-0740>summary:before{content:''!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:5px!important;background:#c89f45!important}
.aa-breeder-audits-new-badge-0740{display:inline-flex!important;align-items:center!important;margin-left:7px!important;padding:2px 7px!important;border-radius:999px!important;background:#7b1734!important;color:#fff7e8!important;font-style:normal!important;font-size:9px!important;font-weight:800!important;letter-spacing:.04em!important;vertical-align:middle!important}

/* 0.4.745 — jawna wersja w każdym audycie */
.aa-audit-version-badge-0745{display:inline-flex!important;align-items:center!important;margin-left:7px!important;padding:2px 7px!important;border:1px solid #b78b2e!important;border-radius:999px!important;background:#fff8df!important;color:#6d5317!important;font-style:normal!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important;vertical-align:middle!important}.aa-audit-version-warning-0745{margin:10px 0!important;padding:9px 11px!important;border:1px solid #c98b2d!important;border-radius:8px!important;background:#fff8e7!important;color:#5f4312!important}

/* 0.4.774 — dokumenty zgłoszeń i prywatny podgląd PDF */
.aa-registration-docs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.aa-registration-doc-link{border:1px solid #8f1736;background:#fff8e9;color:#6f122b;border-radius:8px;padding:7px 10px;font:inherit;font-weight:700;cursor:pointer}
.aa-registration-doc-link:hover,.aa-registration-doc-link:focus{background:#8f1736;color:#fff8e9;outline:none}
.aa-registration-confirmation-facts{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:8px;font-size:13px;color:#4b4f55}
.aa-registration-confirmation-facts span{display:inline-flex;gap:4px;align-items:baseline}
.aa-registration-pdf-modal[hidden]{display:none!important}.aa-registration-pdf-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px}
.aa-registration-pdf-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.66)}
.aa-registration-pdf-dialog{position:relative;z-index:1;width:min(1500px,96vw);height:min(94vh,1100px);background:#f8f3e8;border:1px solid #d7c7a9;border-radius:12px;box-shadow:0 22px 70px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}
.aa-registration-pdf-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;background:#fffaf0;border-bottom:1px solid #d7c7a9}
.aa-registration-pdf-dialog>header>div{display:flex;align-items:center;gap:8px}.aa-registration-pdf-dialog>header a,.aa-registration-pdf-dialog>header button{border:1px solid #7a1732;background:#7a1732;color:#fff8e9;border-radius:7px;padding:7px 11px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.aa-registration-pdf-dialog>header button[data-aa-registration-pdf-close]{font-size:22px;line-height:1;padding:5px 10px}
.aa-registration-pdf-dialog iframe{border:0;width:100%;height:100%;background:#fff}.aa-registration-pdf-open{overflow:hidden}
@media(max-width:700px){.aa-registration-pdf-modal{padding:0}.aa-registration-pdf-dialog{width:100vw;height:100vh;border-radius:0}.aa-registration-pdf-dialog>header{padding:8px}.aa-registration-pdf-dialog>header a,.aa-registration-pdf-dialog>header button{padding:6px 8px;font-size:12px}.aa-registration-confirmation-facts{display:grid;grid-template-columns:1fr 1fr}}

/* 0.4.775 — dokumenty zgłoszeń wyłącznie w modalnym panelu Zgłoszenia. */
.aa-registration-docs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 6px}.aa-registration-confirmation-facts{display:flex;flex-wrap:wrap;gap:8px 16px;margin:6px 0 10px;padding:9px 11px;border:1px solid rgba(115,75,35,.18);border-radius:10px;background:rgba(255,255,255,.48)}.aa-registration-confirmation-facts span{white-space:nowrap}.aa-show-publication-source.is-catalog .aa-show-preview-unavailable{display:block;margin-top:6px}

/* 0.4.776 — brak pustego placeholdera, gdy dokument potwierdzenia nie został jeszcze pozyskany. */
.aa-registration-docs:empty{display:none!important;margin:0!important;padding:0!important}
.aa-registration-confirmation-facts:empty{display:none!important;margin:0!important;padding:0!important;border:0!important}


/* 0.4.778 — kompaktowe dokumenty, wyróżniony ring/start Goldenów, viewer PDF nad wszystkimi modalami. */
.aa-registration-docs{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;margin:4px 0!important}
.aa-registration-doc-link{min-height:30px!important;padding:5px 9px!important;border-radius:7px!important;font-size:12px!important;line-height:1.15!important;font-weight:750!important}
.aa-registration-confirmation-facts{display:flex!important;align-items:center!important;gap:10px!important;margin:4px 0!important;padding:6px 8px!important;background:transparent!important;border:0!important}
.aa-registration-confirmation-primary{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap}
.aa-registration-confirmation-primary>span{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:118px!important;padding:7px 11px!important;border:1px solid rgba(91,105,64,.28)!important;border-radius:10px!important;background:#eef3e8!important;color:#23382f!important}
.aa-registration-confirmation-primary small{font-size:9px!important;line-height:1.1!important;text-transform:uppercase!important;letter-spacing:.035em!important;color:#66705e!important;font-weight:800!important}
.aa-registration-confirmation-primary b{font-size:18px!important;line-height:1.05!important;color:#234f42!important;margin-top:2px!important}
.aa-registration-confirmation-secondary{display:flex;flex-direction:column;gap:2px;padding-left:2px;color:#6b655c;font-size:11px;line-height:1.3}
.aa-registration-confirmation-secondary span{white-space:nowrap}.aa-registration-confirmation-secondary b{font-weight:750;color:#5c574f}
.aa-registration-pdf-modal{z-index:2147483646!important}
.aa-registration-pdf-backdrop{z-index:0!important}.aa-registration-pdf-dialog{z-index:1!important}
.aa-registration-pdf-dialog>header{display:grid!important;grid-template-columns:minmax(150px,1fr) auto auto!important;align-items:center!important;gap:10px!important;padding:8px 12px!important}
.aa-registration-pdf-dialog>header>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aa-registration-pdf-search{display:flex!important;align-items:center!important;gap:5px!important;min-width:min(520px,42vw)}
.aa-registration-pdf-search label{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.aa-registration-pdf-search label>span{font-size:11px;font-weight:750;color:#62594b;white-space:nowrap}
.aa-registration-pdf-search input{width:100%;min-width:180px;height:32px;padding:5px 9px;border:1px solid #cdbda3;border-radius:7px;background:#fff;color:#28362f;font:inherit;font-size:12px}
.aa-registration-pdf-search-nav{min-width:31px!important;height:31px!important;padding:3px 7px!important;font-size:18px!important;line-height:1!important}
.aa-registration-pdf-search-count{min-width:48px;font-size:11px;font-weight:800;color:#655c4f;text-align:center;white-space:nowrap}
.aa-registration-pdf-actions{display:flex!important;align-items:center!important;gap:6px!important}.aa-registration-pdf-dialog>header .aa-registration-pdf-actions a,.aa-registration-pdf-dialog>header .aa-registration-pdf-actions button{padding:6px 9px!important;font-size:12px!important}
.aa-registration-pdf-search-status{padding:5px 12px;border-bottom:1px solid #e1d6c4;background:#fffaf0;color:#5c554a;font-size:11px}.aa-registration-pdf-search-status.is-error{color:#8a1733;background:#fff2f1}
@media(max-width:900px){.aa-registration-pdf-dialog>header{grid-template-columns:1fr auto!important}.aa-registration-pdf-search{grid-column:1/-1;grid-row:2;min-width:0;width:100%}.aa-registration-pdf-actions{grid-column:2;grid-row:1}.aa-registration-confirmation-facts{align-items:flex-start!important;flex-direction:column!important}.aa-registration-confirmation-secondary{padding-left:0}}
@media(max-width:600px){.aa-registration-doc-link{font-size:11px!important;padding:5px 7px!important}.aa-registration-confirmation-primary>span{min-width:105px!important;padding:6px 8px!important}.aa-registration-confirmation-primary b{font-size:16px!important}.aa-registration-pdf-search label>span{display:none}.aa-registration-pdf-search input{min-width:0}.aa-registration-pdf-dialog>header .aa-registration-pdf-actions a,.aa-registration-pdf-dialog>header .aa-registration-pdf-actions button{padding:5px 7px!important;font-size:11px!important}}

/* =========================================================
 * 0.4.779 — uporządkowany pasek dokumentów i godzin:
 * desktop bez nadmiarowych odstępów, mobile bez nakładania.
 * ========================================================= */
@media (min-width: 901px){
  .aa-registration-source-tools{
    display:grid!important;
    grid-template-columns:minmax(220px,.85fr) auto minmax(310px,1fr) auto!important;
    align-items:center!important;
    column-gap:14px!important;
    row-gap:8px!important;
    padding:10px 12px!important;
  }
  .aa-registration-source-status,
  .aa-registration-docs,
  .aa-registration-confirmation-facts,
  .aa-registration-source-refresh{
    margin:0!important;
  }
  .aa-registration-docs{
    flex-wrap:nowrap!important;
    gap:5px!important;
  }
  .aa-registration-doc-link{
    min-height:28px!important;
    padding:4px 9px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
  .aa-registration-confirmation-facts{
    justify-content:flex-start!important;
    min-width:0!important;
    gap:8px!important;
  }
  .aa-registration-confirmation-primary{
    flex-wrap:nowrap!important;
    gap:6px!important;
  }
  .aa-registration-confirmation-primary>span{
    min-width:120px!important;
    padding:6px 10px!important;
  }
  .aa-registration-confirmation-primary b{font-size:17px!important}
  .aa-registration-confirmation-secondary{
    min-width:165px!important;
    font-size:10.5px!important;
  }
  .aa-registration-source-refresh{
    white-space:nowrap!important;
    min-height:32px!important;
    padding:6px 10px!important;
  }
}

@media (min-width: 761px) and (max-width: 1100px){
  .aa-registration-source-tools{
    grid-template-columns:minmax(210px,1fr) auto!important;
  }
  .aa-registration-docs{grid-column:2!important;grid-row:1!important}
  .aa-registration-confirmation-facts{grid-column:1/-1!important;grid-row:2!important}
  .aa-registration-source-refresh{grid-column:2!important;grid-row:2!important;justify-self:end!important}
}

@media (max-width: 760px){
  .aa-registration-source-tools{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    padding:12px!important;
  }
  .aa-registration-source-status{
    width:100%!important;
    gap:5px!important;
  }
  .aa-registration-source-status__main{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:4px 8px!important;
    font-size:12px!important;
  }
  .aa-registration-source-status__meta{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
  }
  .aa-registration-docs{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    margin:0!important;
  }
  .aa-registration-doc-link{
    width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    padding:6px 5px!important;
    font-size:11px!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .aa-registration-confirmation-facts{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    margin:0!important;
    padding:0!important;
  }
  .aa-registration-confirmation-primary{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .aa-registration-confirmation-primary>span{
    width:auto!important;
    min-width:0!important;
    min-height:64px!important;
    padding:8px 10px!important;
  }
  .aa-registration-confirmation-primary small{
    font-size:9px!important;
    white-space:normal!important;
  }
  .aa-registration-confirmation-primary b{font-size:20px!important}
  .aa-registration-confirmation-secondary{
    width:100%!important;
    padding:0 2px!important;
    gap:3px!important;
    font-size:12px!important;
  }
  .aa-registration-confirmation-secondary span{
    white-space:normal!important;
  }
  .aa-registration-source-refresh{
    position:static!important;
    width:100%!important;
    max-width:none!important;
    min-height:38px!important;
    margin:0!important;
    padding:8px 10px!important;
    align-self:stretch!important;
  }
}

@media (max-width: 430px){
  .aa-registration-docs{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .aa-registration-docs .aa-registration-doc-link:last-child:nth-child(odd){
    grid-column:1/-1!important;
  }
  .aa-registration-confirmation-primary>span{min-height:62px!important}
}

/* =========================================================
 * 0.4.780 — PDF.js viewer dokumentów zgłoszeń bez iframe.
 * Mobile: brak admin-post.php/Otwórz, pełny responsywny nagłówek.
 * ========================================================= */
.aa-registration-pdf-modal{z-index:2147483646!important;overscroll-behavior:contain}
.aa-registration-pdf-dialog{max-height:96vh!important}
.aa-registration-pdf-dialog>header{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(300px,560px) auto!important;grid-template-areas:"title search actions"!important;align-items:center!important;gap:8px 12px!important;padding:8px 12px!important;flex:0 0 auto}
.aa-registration-pdf-dialog>header>strong{grid-area:title;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aa-registration-pdf-search{grid-area:search;display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;width:100%}
.aa-registration-pdf-actions{grid-area:actions;display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap}
.aa-registration-pdf-dialog>header .aa-registration-pdf-actions a,.aa-registration-pdf-dialog>header .aa-registration-pdf-actions button{min-height:30px!important;padding:5px 8px!important;font-size:11px!important;line-height:1.15!important}
.aa-registration-pdf-viewer-toolbar{display:flex;align-items:center;gap:6px;padding:6px 10px;border-bottom:1px solid #d7c7a9;background:#f5ead5;flex:0 0 auto}
.aa-registration-pdf-viewer-toolbar button{min-width:31px;height:30px;padding:4px 8px;border:1px solid #7a1732;border-radius:6px;background:#fffaf0;color:#7a1732;font:inherit;font-weight:750;cursor:pointer}
.aa-registration-pdf-viewer-toolbar button:disabled{opacity:.4;cursor:default}
.aa-registration-pdf-viewer-toolbar [data-aa-registration-pdf-page-count]{min-width:58px;text-align:center;font-size:12px;font-weight:800;color:#51483d}
.aa-registration-pdf-viewer-spacer{flex:1}
.aa-registration-pdf-stage{position:relative;flex:1;min-height:0;overflow:auto;padding:14px;background:#202225;text-align:center;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.aa-registration-pdf-page{position:relative;display:inline-block;max-width:none;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.35);line-height:1}
.aa-registration-pdf-page canvas{display:block;max-width:none}
.aa-registration-pdf-text-layer{position:absolute;inset:0;overflow:hidden;text-align:left;line-height:1;pointer-events:auto}
.aa-registration-pdf-text-layer span{position:absolute;white-space:pre;color:transparent;transform-origin:0 0;cursor:text}
.aa-registration-pdf-text-layer span::selection{background:rgba(54,121,205,.38);color:transparent}
.aa-registration-pdf-text-layer span.is-match{background:rgba(255,222,77,.75);box-shadow:0 0 0 1px rgba(177,118,0,.75)}
.aa-registration-pdf-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;padding:9px 14px;border-radius:8px;background:rgba(255,250,240,.94);color:#3c342b;font-weight:750;box-shadow:0 4px 20px rgba(0,0,0,.2)}
.aa-registration-pdf-loading[hidden]{display:none!important}
.aa-registration-pdf-search-status{flex:0 0 auto}

@media(max-width:900px){
  .aa-registration-pdf-modal{padding:0!important;align-items:stretch!important}
  .aa-registration-pdf-dialog{width:100vw!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important}
  .aa-registration-pdf-dialog>header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"title actions" "search search"!important;gap:7px!important;padding:8px 9px!important}
  .aa-registration-pdf-dialog>header>strong{font-size:14px!important}
  .aa-registration-pdf-search{width:100%!important;min-width:0!important}
  .aa-registration-pdf-search label{min-width:0!important;flex:1 1 auto!important}
  .aa-registration-pdf-search input{min-width:0!important;width:100%!important;height:34px!important;font-size:16px!important}
  .aa-registration-pdf-search label>span{display:none!important}
  .aa-registration-pdf-actions{justify-self:end!important}
  .aa-registration-pdf-dialog>header .aa-registration-pdf-actions a,.aa-registration-pdf-dialog>header .aa-registration-pdf-actions button{padding:5px 7px!important;font-size:11px!important;min-height:30px!important}
  .aa-registration-pdf-viewer-toolbar{padding:5px 7px!important;gap:5px!important}
  .aa-registration-pdf-viewer-toolbar button{height:31px!important;padding:4px 7px!important;font-size:12px!important}
  .aa-registration-pdf-stage{padding:8px!important}
}
@media(max-width:520px){
  .aa-registration-pdf-dialog>header{grid-template-columns:minmax(0,1fr) auto!important}
  .aa-registration-pdf-actions a[data-aa-registration-pdf-download="1"],.aa-registration-pdf-actions button[data-aa-registration-pdf-print="1"]{font-size:10px!important;padding:5px 6px!important}
  .aa-registration-pdf-actions button[data-aa-registration-pdf-close="1"]{font-size:18px!important;line-height:1!important;padding:4px 7px!important}
  .aa-registration-pdf-search-nav{min-width:34px!important;height:34px!important;padding:3px 6px!important}
  .aa-registration-pdf-search-count{min-width:42px!important;font-size:10px!important}
  .aa-registration-pdf-viewer-toolbar [data-aa-registration-pdf-fit="1"]{font-size:0!important;min-width:34px!important}
  .aa-registration-pdf-viewer-toolbar [data-aa-registration-pdf-fit="1"]:after{content:"↔";font-size:15px!important}
}

/* 0.4.794 — administracyjna edycja i scalanie centralnego profilu psa */
.aa-dog-profile-admin-0794{flex:1 1 100%;margin:8px 0 0;border:1px solid rgba(111,24,49,.18);border-radius:12px;background:#fffaf0;overflow:hidden}
.aa-dog-profile-admin-0794>summary{cursor:pointer;list-style:none;padding:10px 14px;background:#6f1831;color:#fff3df;font-weight:800;font-size:.84rem;letter-spacing:.01em}
.aa-dog-profile-admin-0794>summary::-webkit-details-marker{display:none}
.aa-dog-profile-admin-0794>summary::after{content:'▾';float:right}
.aa-dog-profile-admin-0794[open]>summary::after{content:'▴'}
.aa-dog-profile-edit-form-0794{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px;padding:14px}
.aa-dog-profile-edit-form-0794 label,.aa-dog-manual-merge-0794 label{display:flex;flex-direction:column;gap:5px;min-width:0}
.aa-dog-profile-edit-form-0794 label>span,.aa-dog-manual-merge-0794 label>span{font-size:.76rem;font-weight:800;color:#443638}
.aa-dog-profile-edit-form-0794 .is-wide{grid-column:1/-1}
.aa-dog-profile-edit-form-0794 input[type=text],.aa-dog-profile-edit-form-0794 input[type=date],.aa-dog-profile-edit-form-0794 select,.aa-dog-manual-merge-0794 input{width:100%;min-height:40px;border:1px solid #c9b9ad;border-radius:8px;background:#fff;padding:6px 9px;color:#241b1d}
.aa-profile-force-similar{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:start!important;gap:8px!important;padding:8px 10px;border:1px solid #dcc9a6;border-radius:8px;background:#fff7e9}
.aa-profile-force-similar input{margin-top:2px}
.aa-profile-force-similar span{font-weight:700!important;line-height:1.35}
.aa-dog-profile-edit-actions{grid-column:1/-1;display:flex;justify-content:flex-start}
.aa-dog-profile-edit-actions button,.aa-dog-merge-pair-actions button,.aa-dog-manual-merge-0794 button{min-height:38px;padding:7px 13px;border:0;border-radius:8px;background:#6f1831;color:#fff3df;font-weight:800;cursor:pointer}
.aa-dog-profile-edit-actions button:hover,.aa-dog-profile-edit-actions button:focus,.aa-dog-merge-pair-actions button:hover,.aa-dog-merge-pair-actions button:focus,.aa-dog-manual-merge-0794 button:hover,.aa-dog-manual-merge-0794 button:focus{background:#81223d;color:#fff3df}
.aa-dog-profile-edit-form-0794>small{grid-column:1/-1;color:#675b5c;line-height:1.4}
.aa-dog-profile-merge-0794{border-color:rgba(72,88,55,.28)}
.aa-dog-profile-merge-0794>summary{background:#4f5d3d;color:#fff3df}
.aa-dog-profile-merge-help{margin:14px;padding:10px 12px;border-left:4px solid #8a985e;background:#f7f4e8;font-size:.82rem;line-height:1.45}
.aa-dog-merge-candidates-0794{padding:0 14px 14px}.aa-dog-merge-candidates-0794 h4{margin:4px 0 9px;color:#20382d}
.aa-dog-merge-candidate-0794{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid rgba(36,27,29,.1)}
.aa-dog-merge-candidate-0794 b{display:block}.aa-dog-merge-candidate-0794 small{display:block;margin-top:3px;color:#6b6060}
.aa-dog-merge-pair-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.aa-dog-merge-pair-actions form{margin:0}.aa-dog-merge-pair-actions button{font-size:.72rem;min-height:34px;padding:6px 9px;background:#4f5d3d}
.aa-dog-manual-merge-0794{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:0 14px 14px;padding-top:12px;border-top:1px solid rgba(36,27,29,.12)}
.aa-dog-manual-merge-0794 button{background:#4f5d3d;white-space:nowrap}
@media(max-width:720px){.aa-dog-profile-edit-form-0794{grid-template-columns:1fr}.aa-dog-profile-edit-form-0794 .is-wide,.aa-profile-force-similar,.aa-dog-profile-edit-actions,.aa-dog-profile-edit-form-0794>small{grid-column:1}.aa-dog-merge-candidate-0794{grid-template-columns:1fr}.aa-dog-merge-pair-actions{justify-content:flex-start}.aa-dog-manual-merge-0794{grid-template-columns:1fr}.aa-dog-manual-merge-0794 button{width:100%}}


/* =========================================================
 * 0.4.803 — profil psa: czytelne sterowanie edycją/scalaniem
 * ========================================================= */
.aa-profile-watch-bar>.aa-dog-profile-admin-0794{
  box-sizing:border-box!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open]){
  flex:0 0 auto!important;
  width:auto!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  overflow:visible!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open])>summary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:7px 14px!important;
  border:2px solid #7b1734!important;
  border-radius:999px!important;
  background:#fffaf1!important;
  color:#7b1734!important;
  font-size:.82rem!important;
  font-weight:800!important;
  line-height:1.15!important;
  cursor:pointer!important;
  user-select:none!important;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open])>summary::before{
  content:'✎'!important;
  margin-right:7px!important;
  font-size:1rem!important;
  line-height:1!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open])>summary::after{
  content:'▾'!important;
  float:none!important;
  margin-left:8px!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open])>summary:hover,
.aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open])>summary:focus-visible{
  background:#7b1734!important;
  color:#fff3df!important;
  box-shadow:0 3px 10px rgba(75,23,39,.18)!important;
  outline:0!important;
}
.aa-profile-watch-bar>.aa-dog-profile-merge-0794:not([open])>summary{
  border-color:#55613f!important;
  color:#40502f!important;
}
.aa-profile-watch-bar>.aa-dog-profile-merge-0794:not([open])>summary::before{
  content:'⇄'!important;
}
.aa-profile-watch-bar>.aa-dog-profile-merge-0794:not([open])>summary:hover,
.aa-profile-watch-bar>.aa-dog-profile-merge-0794:not([open])>summary:focus-visible{
  background:#55613f!important;
  color:#fff3df!important;
}

.aa-profile-watch-bar>.aa-dog-profile-admin-0794[open]{
  flex:1 1 100%!important;
  width:100%!important;
  margin:10px 0 2px!important;
  border:2px solid #7b1734!important;
  border-radius:13px!important;
  background:#fffaf1!important;
  overflow:hidden!important;
  box-shadow:0 5px 18px rgba(75,23,39,.08)!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794[open]>summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:44px!important;
  padding:10px 14px!important;
  background:#7b1734!important;
  color:#fff3df!important;
  font-size:.88rem!important;
  font-weight:850!important;
  cursor:pointer!important;
  user-select:none!important;
}
.aa-profile-watch-bar>.aa-dog-profile-admin-0794[open]>summary::after{
  content:'▴'!important;
  float:none!important;
  margin-left:10px!important;
}
.aa-profile-watch-bar>.aa-dog-profile-merge-0794[open]{
  border-color:#55613f!important;
  box-shadow:0 5px 18px rgba(64,80,47,.09)!important;
}
.aa-profile-watch-bar>.aa-dog-profile-merge-0794[open]>summary{
  background:#55613f!important;
  color:#fff3df!important;
}

.aa-dog-profile-edit-form-0794{
  gap:14px 16px!important;
  padding:18px!important;
}
.aa-dog-profile-edit-form-0794 label>span,
.aa-dog-manual-merge-0794 label>span{
  color:#33272a!important;
  font-size:.8rem!important;
  font-weight:800!important;
}
.aa-dog-profile-edit-form-0794 input[type=text],
.aa-dog-profile-edit-form-0794 input[type=date],
.aa-dog-profile-edit-form-0794 select,
.aa-dog-manual-merge-0794 input{
  box-sizing:border-box!important;
  min-height:46px!important;
  border:2px solid #b5a189!important;
  border-radius:10px!important;
  background:#fffdf8!important;
  color:#241b1d!important;
  padding:8px 12px!important;
  box-shadow:inset 0 1px 2px rgba(42,31,31,.03)!important;
}
.aa-dog-profile-edit-form-0794 input:hover,
.aa-dog-profile-edit-form-0794 select:hover,
.aa-dog-manual-merge-0794 input:hover{
  border-color:#8f7865!important;
}
.aa-dog-profile-edit-form-0794 input:focus,
.aa-dog-profile-edit-form-0794 select:focus,
.aa-dog-manual-merge-0794 input:focus{
  border-color:#7b1734!important;
  box-shadow:0 0 0 3px rgba(123,23,52,.13)!important;
  outline:0!important;
}
.aa-dog-profile-merge-0794 .aa-dog-manual-merge-0794 input:focus{
  border-color:#55613f!important;
  box-shadow:0 0 0 3px rgba(85,97,63,.14)!important;
}
.aa-profile-force-similar{
  padding:11px 13px!important;
  border:2px solid #d0b886!important;
  border-radius:10px!important;
  background:#fff5df!important;
}
.aa-profile-force-similar input[type=checkbox]{
  width:18px!important;
  height:18px!important;
  min-height:18px!important;
  cursor:pointer!important;
}
.aa-dog-profile-edit-actions button,
.aa-dog-merge-pair-actions button,
.aa-dog-manual-merge-0794 button{
  border:2px solid transparent!important;
  cursor:pointer!important;
  box-shadow:0 2px 7px rgba(0,0,0,.09)!important;
}
.aa-dog-profile-edit-actions button{
  background:#7b1734!important;
  color:#fff3df!important;
}
.aa-dog-profile-edit-actions button:hover,
.aa-dog-profile-edit-actions button:focus-visible{
  background:#8d2341!important;
  color:#fff3df!important;
  box-shadow:0 3px 10px rgba(75,23,39,.22)!important;
}
.aa-dog-profile-merge-help{
  margin:16px!important;
  padding:12px 14px!important;
  border:1px solid #bac4a6!important;
  border-left:5px solid #66734b!important;
  border-radius:9px!important;
  background:#f7f4e8!important;
  color:#2e3726!important;
}
.aa-dog-merge-candidates-0794{
  padding:0 16px 16px!important;
}
.aa-dog-merge-candidate-0794{
  margin-top:8px!important;
  padding:12px!important;
  border:1px solid #b8b09e!important;
  border-radius:10px!important;
  background:#fffdf8!important;
}
.aa-dog-merge-pair-actions button,
.aa-dog-manual-merge-0794 button{
  background:#55613f!important;
  color:#fff3df!important;
}
.aa-dog-merge-pair-actions button:hover,
.aa-dog-merge-pair-actions button:focus-visible,
.aa-dog-manual-merge-0794 button:hover,
.aa-dog-manual-merge-0794 button:focus-visible{
  background:#65734a!important;
  color:#fff3df!important;
}
.aa-dog-manual-merge-0794{
  margin:0 16px 16px!important;
  padding:14px!important;
  border:2px solid #9eaa87!important;
  border-radius:11px!important;
  background:#fbf8ec!important;
}
.aa-dog-profile-edit-form-0794>small{
  padding-top:2px!important;
  color:#5d5152!important;
  font-size:.76rem!important;
}
@media(max-width:720px){
  .aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open]){
    flex:1 1 auto!important;
  }
  .aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open])>summary{
    width:100%!important;
  }
  .aa-dog-profile-edit-form-0794{padding:14px!important}
  .aa-dog-manual-merge-0794{margin:0 14px 14px!important;padding:12px!important}
}

/* 0.4.805 — bezpieczna edycja właścicieli i hodowców w profilu psa */
.aa-dog-people-editor-0805{margin:0 14px 16px;padding:14px;border:2px solid #8d1737;border-radius:12px;background:#fffaf1}
.aa-dog-people-editor-0805 h4{margin:0 0 6px;color:#254838;font-size:1rem}
.aa-dog-people-help-0805{margin:0 0 12px;color:#5f5450;line-height:1.45}
.aa-dog-people-grid-0805{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.aa-dog-person-role-0805{border:1.5px solid #b9a28e;border-radius:10px;background:#fff;padding:12px;min-width:0}
.aa-dog-person-role-0805 h5{margin:0 0 9px;color:#6e1730;font-size:.92rem}
.aa-dog-person-existing-0805{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}
.aa-dog-person-chip-0805{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #8da17f;border-radius:9px;background:#f7f8ef;max-width:100%}
.aa-dog-person-chip-0805 strong{font-size:.82rem;color:#263e33;overflow-wrap:anywhere}
.aa-dog-person-chip-0805 small{font-size:.7rem;color:#6b625c}
.aa-dog-person-empty-0805{margin:0 0 10px;color:#746a64;font-style:italic}
.aa-dog-person-add-0805{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.aa-dog-person-add-0805 label{display:flex;flex-direction:column;gap:5px;min-width:0}
.aa-dog-person-add-0805 label>span{font-size:.74rem;font-weight:800;color:#443638}
.aa-dog-person-add-0805 input[type=text]{width:100%;min-height:42px;border:2px solid #9f866f;border-radius:9px;background:#fff;padding:7px 10px;color:#241b1d}
.aa-dog-person-add-0805 input[type=text]:hover{border-color:#6f5b49}
.aa-dog-person-add-0805 input[type=text]:focus{outline:3px solid rgba(141,23,55,.13);border-color:#8d1737}
.aa-dog-person-add-0805 button{min-height:42px;border:1px solid #8d1737;border-radius:9px;background:#8d1737;color:#fff7e8;font-weight:800;padding:8px 14px;cursor:pointer}
.aa-dog-person-add-0805 button:hover,.aa-dog-person-add-0805 button:focus{background:#6f102b;color:#fff7e8;cursor:pointer}
.aa-dog-person-add-0805>small{grid-column:1/-1;color:#6b625c;line-height:1.35}
.aa-dog-person-notice-0805{margin:0 14px 10px;padding:9px 11px;border-radius:8px;border:1px solid #7b956d;background:#f4f8ef;color:#29422f;font-weight:700}
.aa-dog-person-notice-0805.is-warn{border-color:#bd963d;background:#fff8df;color:#684f14}
@media(max-width:720px){.aa-dog-people-grid-0805{grid-template-columns:1fr}.aa-dog-person-add-0805{grid-template-columns:1fr}.aa-dog-person-add-0805 button{width:100%}}
/* 0.4.806 — trwałe relacje osób i czytelniejsza historia zmian */
.aa-dog-person-chip-0805 em{display:block;margin-top:3px;font-style:normal;color:#5b6f4b;font-size:12px;font-weight:700}
.aa-manual-change-row p{margin:.35rem 0 0;line-height:1.45;color:#4b4b43}
.aa-dog-people-help-0805 strong{color:#7d1436}

/* 0.4.816 FRONTEND-FAST — lekka karta rocznej listy kalendarza. */
.aa-show-card--lite-0416{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.aa-show-lite-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex:1;min-width:0}
.aa-show-lite-card__head small{display:block;opacity:.72;margin-bottom:4px}
.aa-show-lite-card__head h4{margin:0;font-size:1.08em;line-height:1.3}
.aa-show-lite-card__head p{margin:5px 0 0}
.aa-show-lite-golden{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:.78em;font-weight:700;background:#e8f2ea}
.aa-show-lite-card__actions{flex:0 0 auto}
.aa-show-lite-open{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:9px 14px;text-decoration:none;font-weight:700;background:#6f1733;color:#fff7e8!important}
.aa-show-lite-open:hover,.aa-show-lite-open:focus,.aa-show-lite-open:active,.aa-show-lite-open:visited{color:#fff7e8!important}
@media(max-width:720px){.aa-show-card--lite-0416{align-items:stretch;flex-direction:column}.aa-show-lite-card__head{flex-direction:column}.aa-show-lite-card__actions{width:100%}.aa-show-lite-open{width:100%;box-sizing:border-box}}

/* 0.4.821 — pełny profil psa: dane zdrowotne, DNA, pochodzenie i hodowlane. */
.aa-dog-extended-profile{margin:18px 0;border:1px solid rgba(91,109,70,.22);border-radius:18px;background:#fbf7ed;overflow:hidden}
.aa-dog-extended-profile>summary{list-style:none;cursor:pointer;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#173f3c;font-weight:800}
.aa-dog-extended-profile>summary::-webkit-details-marker{display:none}
.aa-dog-extended-profile>summary:after{content:'+';display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#5b6d46;color:#fff;font-size:18px;line-height:1}
.aa-dog-extended-profile[open]>summary:after{content:'−'}
.aa-dog-extended-profile>summary small{margin-left:auto;color:#7a6b54;font-weight:600;font-size:12px}
.aa-dog-extended-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 18px 18px}
.aa-dog-extended-group{min-width:0;padding:14px 15px;border:1px solid rgba(91,109,70,.16);border-radius:14px;background:#fffaf0}
.aa-dog-extended-group h4{margin:0 0 10px;color:#5b6d46;font-size:14px;text-transform:uppercase;letter-spacing:.03em}
.aa-dog-extended-row{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);gap:12px;padding:7px 0;border-top:1px solid rgba(91,109,70,.10);align-items:start}
.aa-dog-extended-row:first-of-type{border-top:0}
.aa-dog-extended-row b{color:#6d654f;font-size:12px}
.aa-dog-extended-row span{min-width:0;color:#173f3c;font-weight:650;overflow-wrap:anywhere}
.aa-dog-extended-edit{grid-column:1/-1;margin-top:8px;border-top:1px solid #d9d0be;padding-top:8px}
.aa-dog-extended-edit>summary{cursor:pointer;font-weight:800;color:#173f3c;margin-bottom:10px}
.aa-dog-extended-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.aa-dog-extended-edit-grid fieldset{min-width:0;border:1px solid #d9d0be;border-radius:10px;padding:10px;background:#faf7ef}
.aa-dog-extended-edit-grid legend{padding:0 5px;font-weight:800;color:#5b6d46}
.aa-dog-extended-edit-grid label{display:block;margin:8px 0}
.aa-dog-extended-edit-grid label span{display:block;margin:0 0 4px;font-size:12px;font-weight:700}
.aa-dog-extended-edit-grid textarea{width:100%;box-sizing:border-box;min-height:54px}
@media(max-width:760px){
 .aa-dog-extended-profile>summary{align-items:flex-start;flex-wrap:wrap;padding:13px 14px}
 .aa-dog-extended-profile>summary small{order:3;width:100%;margin-left:0}
 .aa-dog-extended-grid,.aa-dog-extended-edit-grid{grid-template-columns:1fr;padding-left:12px;padding-right:12px}
 .aa-dog-extended-row{grid-template-columns:42% minmax(0,58%);gap:8px}
}

/* 0.4.822 — pełny profil psa: zgodność ze „Szczegółami rodzica” i czytelny mobile. */
.aa-dog-extended-note{margin:0 18px 14px;padding:10px 12px;border-radius:12px;background:rgba(91,109,70,.07);color:#6d654f;font-size:13px}
.aa-dog-extended-group--other{grid-column:1/-1}
.aa-dog-extended-group--other .aa-dog-extended-row{grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr)}
.aa-dog-extended-group--orthopedic .aa-dog-extended-row,
.aa-dog-extended-group--eyes .aa-dog-extended-row,
.aa-dog-extended-group--dna .aa-dog-extended-row{grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr)}
@media(max-width:760px){
 .aa-dog-extended-note{margin:0 12px 12px}
 .aa-dog-extended-grid{gap:12px}
 .aa-dog-extended-group{padding:14px 14px 10px}
 .aa-dog-extended-group h4{font-size:16px;letter-spacing:.02em;margin-bottom:8px}
 .aa-dog-extended-row,
 .aa-dog-extended-group--other .aa-dog-extended-row,
 .aa-dog-extended-group--orthopedic .aa-dog-extended-row,
 .aa-dog-extended-group--eyes .aa-dog-extended-row,
 .aa-dog-extended-group--dna .aa-dog-extended-row{grid-template-columns:minmax(118px,38%) minmax(0,62%);gap:10px;padding:9px 0}
 .aa-dog-extended-row b{font-size:13px;line-height:1.35}
 .aa-dog-extended-row span{font-size:15px;line-height:1.45}
 .aa-dog-extended-row.is-wide-mobile{display:block;padding:11px 0}
 .aa-dog-extended-row.is-wide-mobile b{display:block;margin-bottom:5px}
 .aa-dog-extended-row.is-wide-mobile span{display:block;width:100%}
 .aa-dog-extended-group--other .aa-dog-extended-row{display:block}
 .aa-dog-extended-group--other .aa-dog-extended-row b{display:block;margin-bottom:5px}
 .aa-dog-extended-group--other .aa-dog-extended-row span{display:block;width:100%;font-size:16px}
}


/* 0.4.823 — szczegóły rodziców Fiony w faktycznym profilu CPT aa_dogs (profil renderowany przez snippet Katalog psów). */
.aa-dog-profile-extra-0823{display:grid;gap:24px;margin-top:24px}
.aa-dog-profile-extra-0823 .aa-dog-data-group--extra{margin:0}
.aa-dog-profile-extra-0823 .aa-dog-extra-row{display:grid;grid-template-columns:minmax(170px,34%) minmax(0,1fr);gap:14px 24px;align-items:start}
.aa-dog-profile-extra-0823 .aa-dog-extra-row .aa-data-value{min-width:0;overflow-wrap:anywhere;word-break:normal}
@media (max-width:700px){
  .aa-dog-profile-extra-0823{gap:18px;margin-top:18px}
  .aa-dog-profile-extra-0823 .aa-dog-extra-row{display:block;margin:0 0 18px}
  .aa-dog-profile-extra-0823 .aa-dog-extra-row .aa-data-label{display:block;margin:0 0 5px;font-weight:700}
  .aa-dog-profile-extra-0823 .aa-dog-extra-row .aa-data-value{display:block;width:100%;line-height:1.45}
}


/* 0.4.824 — frontend CPT aa_dogs renderowany przez wtyczkę. */
.aa-dog-profile-owned-0824 .aa-dog-owned-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px}
.aa-dog-profile-owned-0824 .aa-dog-owned-link{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#556046;color:#fff2e0!important;text-decoration:none!important;font-weight:700;line-height:1.2}
.aa-dog-profile-owned-0824 .aa-dog-owned-link:hover{background:#163a37;color:#fff2e0!important}
.aa-dog-profile-owned-0824 .aa-dog-back-wrap{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
.aa-dog-profile-owned-0824 .aa-dog-edit-button{background:#9b4040;color:#fff2e0!important}
@media(max-width:700px){
 .aa-dog-profile-owned-0824 .aa-dog-owned-row{display:flex;gap:10px}
 .aa-dog-profile-owned-0824 .aa-dog-owned-row.is-wide-mobile{display:block;margin-bottom:18px}
 .aa-dog-profile-owned-0824 .aa-dog-owned-row.is-wide-mobile .aa-data-label{display:block;width:auto;max-width:none;margin-bottom:5px}
 .aa-dog-profile-owned-0824 .aa-dog-owned-row.is-wide-mobile .aa-data-value{display:block;width:100%;font-size:15px;line-height:1.5}
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--other .aa-dog-owned-row,
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--eyes .aa-dog-owned-row,
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--dna .aa-dog-owned-row,
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--orthopedic .aa-dog-owned-row{display:block;margin-bottom:18px}
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--other .aa-data-label,
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--eyes .aa-data-label,
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--dna .aa-data-label,
 .aa-dog-profile-owned-0824 .aa-dog-owned-group--orthopedic .aa-data-label{display:block;margin-bottom:5px;max-width:none}
 .aa-dog-profile-owned-0824 .aa-dog-back-wrap{flex-direction:column}
 .aa-dog-profile-owned-0824 .aa-dog-back-wrap .aa-dog-button{width:100%;box-sizing:border-box;text-align:center}
}


/* 0.4.848 — kompaktowa belka kart ocen + szczegóły w osobnym modalu. */
.aa-show-judge-cards-0848{
  display:grid;grid-template-columns:minmax(170px,.9fr) minmax(0,1.8fr) auto;align-items:center;gap:14px;
  margin:12px 0 10px;padding:12px 14px;border:1px solid #ddc9b8;border-radius:14px;background:#fffaf1;color:#234a42;
}
.aa-show-judge-cards-0848__copy{display:grid;gap:2px;min-width:0}
.aa-show-judge-cards-0848__kicker{font-size:15px;font-weight:800;line-height:1.2}
.aa-show-judge-cards-0848__copy strong{font-size:12px;color:#756a5b;font-weight:700}
.aa-show-judge-cards-0848__dogs{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
.aa-show-judge-cards-0848__dog{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:6px 9px;border:1px solid #eadfce;border-radius:999px;background:#fff;color:#173f38;font-size:12px;line-height:1.1}
.aa-show-judge-cards-0848__dog b{font-weight:800}.aa-show-judge-cards-0848__dog em{font-style:normal;color:#6d665b}.aa-show-judge-cards-0848__dog i{font-style:normal;color:#7a1831;font-weight:800}
.aa-show-judge-cards-0848__open{border:1px solid #7a1831!important;border-radius:10px!important;background:#7a1831!important;color:#fff2e0!important;padding:9px 13px!important;font:800 12px/1.2 inherit!important;cursor:pointer!important;white-space:nowrap!important}
.aa-show-judge-cards-0848__open:hover,.aa-show-judge-cards-0848__open:focus{background:#5f1026!important;color:#fff2e0!important}
.aa-judge-cards-modal-0848[hidden]{display:none!important}
.aa-judge-cards-modal-0848{position:fixed!important;inset:0!important;z-index:2147483620!important;display:grid!important;place-items:center!important;padding:18px!important;box-sizing:border-box!important}
.aa-judge-cards-modal-0848__backdrop{position:absolute!important;inset:0!important;background:rgba(17,24,21,.82)!important;backdrop-filter:blur(2px)}
.aa-judge-cards-modal-0848__dialog{position:relative!important;z-index:1!important;width:min(1180px,96vw)!important;max-height:94vh!important;max-height:94dvh!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;border:1px solid #d9cab6!important;border-radius:20px!important;background:#f8f0df!important;box-shadow:0 24px 70px rgba(0,0,0,.34)!important;overflow:hidden!important}
.aa-judge-cards-modal-0848__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:14px 16px!important;border-bottom:1px solid #e3d7c6!important;background:#fffaf1!important}
.aa-judge-cards-modal-0848__head>div{display:grid!important;gap:2px!important;min-width:0!important}.aa-judge-cards-modal-0848__head span{font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#8d6542!important}.aa-judge-cards-modal-0848__head strong{font-size:18px!important;line-height:1.2!important;color:#173f38!important;overflow-wrap:anywhere!important}
.aa-judge-cards-modal-0848__close{border:0!important;border-radius:999px!important;background:#7a1831!important;color:#fff2e0!important;padding:10px 14px!important;font:800 12px/1 inherit!important;cursor:pointer!important;white-space:nowrap!important}
.aa-judge-cards-modal-0848__body{overflow:auto!important;padding:16px!important;display:grid!important;gap:14px!important;overscroll-behavior:contain!important}
.aa-judge-card-modal-0848{padding:15px!important;border:1px solid #dfd1bf!important;border-radius:16px!important;background:#fffaf1!important;box-shadow:0 2px 9px rgba(40,31,20,.05)!important}
.aa-judge-card-modal-0848__top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;border-bottom:1px solid #eadfce!important;padding-bottom:10px!important}
.aa-judge-card-modal-0848__identity{display:grid!important;gap:2px!important;min-width:0!important}.aa-judge-card-modal-0848__identity span{font-size:20px!important;font-weight:800!important;color:#173f38!important}.aa-judge-card-modal-0848__identity strong{font-size:13px!important;font-weight:600!important;color:#6f665a!important;overflow-wrap:anywhere!important}
.aa-judge-card-modal-0848__badges{display:flex!important;gap:6px!important;flex-wrap:wrap!important;justify-content:flex-end!important}.aa-judge-card-modal-0848__badges span{padding:6px 9px!important;border-radius:999px!important;background:#f1e4e6!important;color:#7a1831!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}
.aa-judge-card-modal-0848__meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:10px 0 12px!important}.aa-judge-card-modal-0848__meta span{display:inline-grid!important;grid-template-columns:auto auto!important;gap:5px!important;padding:6px 8px!important;border-radius:8px!important;background:#f5efe4!important;color:#514d45!important;font-size:12px!important}.aa-judge-card-modal-0848__meta b{color:#173f38!important}
.aa-judge-card-modal-0848__content{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:14px!important;align-items:start!important}
.aa-judge-card-modal-0848__texts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;min-width:0!important}
.aa-judge-card-text-0848{padding:12px 13px!important;border:1px solid #e5dac8!important;border-radius:12px!important;background:#fff!important;color:#263f3a!important;min-width:0!important}.aa-judge-card-text-0848.is-translation{background:#f1f3e9!important}.aa-judge-card-text-0848 h5,.aa-judge-card-modal-0848__scan h5{margin:0 0 8px!important;font-size:13px!important;color:#234a42!important}.aa-judge-card-text-0848 h5 span{margin-left:5px!important;font-size:10px!important;color:#7d7468!important}.aa-judge-card-text-0848 div{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
.aa-judge-card-modal-0848__scan{min-width:0!important}.aa-judge-report-image-0848{display:grid!important;gap:7px!important;width:100%!important;border:0!important;background:transparent!important;padding:0!important;text-align:center!important;cursor:zoom-in!important}.aa-judge-report-image-0848 img{display:block!important;width:100%!important;aspect-ratio:2 / 3!important;max-height:300px!important;object-fit:contain!important;border:1px solid #d6c8b5!important;border-radius:10px!important;background:#f6f2e8!important}.aa-judge-report-image-0848 span{font-size:11px!important;font-weight:800!important;color:#5d704e!important}
@media(max-width:900px){
 .aa-show-judge-cards-0848{grid-template-columns:minmax(0,1fr) auto}.aa-show-judge-cards-0848__dogs{grid-column:1/-1;grid-row:2}
 .aa-judge-card-modal-0848__content{grid-template-columns:minmax(0,1fr) 180px!important}.aa-judge-card-modal-0848__texts{grid-template-columns:1fr!important}
}
@media(max-width:640px){
 .aa-show-judge-cards-0848{grid-template-columns:1fr;gap:10px}.aa-show-judge-cards-0848__dogs{grid-column:auto;grid-row:auto}.aa-show-judge-cards-0848__open{width:100%!important}
 .aa-judge-cards-modal-0848{padding:0!important}.aa-judge-cards-modal-0848__dialog{width:100vw!important;max-height:100vh!important;max-height:100dvh!important;height:100dvh!important;border-radius:0!important;border:0!important}.aa-judge-cards-modal-0848__head{padding:12px!important}.aa-judge-cards-modal-0848__head strong{font-size:15px!important}.aa-judge-cards-modal-0848__body{padding:10px!important}.aa-judge-card-modal-0848{padding:12px!important}.aa-judge-card-modal-0848__top{display:grid!important;gap:8px!important}.aa-judge-card-modal-0848__badges{justify-content:flex-start!important}.aa-judge-card-modal-0848__content{grid-template-columns:1fr!important}.aa-judge-card-modal-0848__texts{grid-template-columns:1fr!important}.aa-judge-card-modal-0848__scan{max-width:240px!important}.aa-judge-report-image-0848 img{max-height:340px!important}
}

/* 0.4.848 — kraj właściciela/hodowcy: większa flaga, nazwa dopiero po najechaniu/kliknięciu. */
@media(min-width:721px){
 .aa-dog-profile-person-row>span{min-width:0!important}
 .aa-dog-profile-person-04317{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto!important;column-gap:8px!important;align-items:center!important;min-width:0!important;position:relative!important;overflow:visible!important}
 .aa-dog-profile-person-04317 .aa-person-flag-country-0847{grid-column:1!important;grid-row:1!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;display:grid!important;place-items:center!important;padding:2px!important;border:1px solid #d8c8ad!important;border-radius:50%!important;background:#f7eddc!important;font-size:1.65rem!important;line-height:1!important;cursor:pointer!important;position:relative!important;overflow:visible!important;outline:none!important;box-sizing:border-box!important}
 .aa-dog-profile-person-04317>a,.aa-dog-profile-person-04317>.aa-person-name{grid-column:2!important;grid-row:1!important;min-width:0!important}
 .aa-dog-profile-person-04317>.aa-country-full-label{display:none!important}
 .aa-dog-profile-person-04317 .aa-person-flag-country-0847::after{content:attr(data-country-label);position:absolute!important;left:50%!important;bottom:calc(100% + 8px)!important;transform:translateX(-50%)!important;z-index:2147482000!important;display:none;width:max-content!important;max-width:220px!important;padding:7px 10px!important;border:1px solid #d7c8b6!important;border-radius:8px!important;background:#fffaf1!important;color:#3f4437!important;box-shadow:0 6px 18px rgba(50,40,25,.2)!important;font-size:12px!important;font-weight:800!important;line-height:1.15!important;white-space:nowrap!important;pointer-events:none!important}
 .aa-dog-profile-person-04317 .aa-person-flag-country-0847:hover::after,.aa-dog-profile-person-04317 .aa-person-flag-country-0847:focus::after,.aa-dog-profile-person-04317 .aa-person-flag-country-0847.is-country-open::after{display:block!important}
}

html.aa-judge-cards-modal-open,body.aa-judge-cards-modal-open{overflow:hidden!important}


/* 0.4.849 — korekta warstwy modala kart ocen i okrągłych flag w profilu psa. */
.aa-judge-cards-modal-0848{z-index:2147483620!important}
.aa-judge-report-lightbox{z-index:2147483647!important}
@media(min-width:721px){
 .aa-dog-profile-person-04317 .aa-person-flag-country-0847{
   width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
   max-width:38px!important;max-height:38px!important;aspect-ratio:1 / 1!important;
   display:inline-grid!important;place-items:center!important;flex:0 0 38px!important;
   padding:0!important;margin:0!important;border-radius:999px!important;box-sizing:border-box!important;
   line-height:38px!important;overflow:visible!important;
 }
}
/* 0.4.851 — Moje psy: kafelki są stałą siatką 2×2; profil otwiera modal zamiast natywnego <details>. */
.aa-account-my-dogs .aa-my-dogs-grid > .aa-our-dog-card-details{
  grid-column:auto!important;
  align-self:start!important;
}
.aa-account-my-dogs .aa-our-dog-card-details > .aa-our-dog-card{
  max-width:100%!important;
}
.aa-account-my-dogs .aa-our-dog-card[data-aa-my-dog-open="1"]{
  cursor:pointer!important;
}
.aa-account-my-dogs .aa-own-dog-action-close{display:none!important}
@media(max-width:760px){
  .aa-account-my-dogs .aa-my-dogs-grid > .aa-our-dog-card-details{grid-column:1!important}
}

/* 0.4.852 — lekka karta kalendarza nigdy nie pokazuje okrojonego body inline.
 * Pełne dane (Moje psy, katalog, wyniki, karty ocen) są otwierane w profilu wystawy. */
.aa-db-show-card--calendar[data-aa-calendar-show-card="1"] > .aa-db-show-card__body{
  display:none!important;
}



/* 0.4.853 — dopracowanie kart ocen + stabilny tooltip kraju. */
.aa-show-judge-cards-0848{cursor:pointer!important}
.aa-show-judge-cards-0848:focus-visible{outline:2px solid #7a1831!important;outline-offset:2px!important}
.aa-show-judge-cards-0848__open{
  width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;
  padding:0!important;border:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;
  background:#7a1831!important;color:#fff2e0!important;
  font:800 18px/1 Arial,sans-serif!important;cursor:pointer!important;
  box-shadow:none!important;
}
.aa-show-judge-cards-0848__open:hover,.aa-show-judge-cards-0848__open:focus{
  background:#5f1026!important;color:#fff2e0!important;
}

@media(min-width:721px){
  .aa-judge-card-modal-0848__content{
    grid-template-columns:minmax(0,1fr) 160px!important;
    gap:12px!important;
    align-items:start!important;
  }
  .aa-judge-card-modal-0848__scan{
    align-self:start!important;
    padding:11px!important;
    border:1px solid #e5dac8!important;
    border-radius:12px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  .aa-judge-card-modal-0848__scan h5{margin:0 0 8px!important}
  .aa-judge-report-image-0848{width:100%!important;justify-items:center!important}
  .aa-judge-report-image-0848 img{
    width:128px!important;max-width:100%!important;max-height:192px!important;
    aspect-ratio:2 / 3!important;object-fit:contain!important;
  }
  .aa-judge-report-image-0848 span{font-size:10px!important;line-height:1.2!important;text-align:center!important}
}
@media(max-width:640px){
  .aa-show-judge-cards-0848__open{width:24px!important;height:24px!important;min-width:24px!important;justify-self:end!important}
}

/* Nazwa kraju jest renderowana w osobnym tooltipie dołączonym do body — bez clippingu przez kafelki/modale. */
.aa-dog-profile-person-04317 .aa-person-flag-country-0847::after{display:none!important;content:none!important}
.aa-country-tooltip-0853{
  position:fixed!important;z-index:2147483646!important;display:none!important;
  width:max-content!important;max-width:min(260px,calc(100vw - 24px))!important;
  padding:7px 10px!important;border:1px solid #d7c8b6!important;border-radius:8px!important;
  background:#fffaf1!important;color:#3f4437!important;box-shadow:0 6px 18px rgba(50,40,25,.22)!important;
  font-size:12px!important;font-weight:800!important;line-height:1.15!important;white-space:nowrap!important;
  pointer-events:none!important;box-sizing:border-box!important;
}
.aa-country-tooltip-0853.is-open{display:block!important}


/* 0.4.854 — plus kart ocen identyczny z belką „Golden Retriever — katalog i wyniki”. */
.aa-show-judge-cards-0848__open{
  position:relative!important;display:inline-block!important;flex:0 0 22px!important;
  width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:999px!important;
  background:#6f1831!important;color:transparent!important;box-shadow:none!important;cursor:pointer!important;
  font-size:0!important;line-height:0!important;
}
.aa-show-judge-cards-0848__open>i{
  position:absolute!important;inset:0!important;width:22px!important;height:22px!important;
  border-radius:999px!important;background:#6f1831!important;pointer-events:none!important;
}
.aa-show-judge-cards-0848__open>i:before,
.aa-show-judge-cards-0848__open>i:after{
  content:""!important;position:absolute!important;left:50%!important;top:50%!important;
  width:10px!important;height:2px!important;border-radius:2px!important;background:#fff7e8!important;
  transform:translate(-50%,-50%)!important;
}
.aa-show-judge-cards-0848__open>i:after{transform:translate(-50%,-50%) rotate(90deg)!important}
.aa-show-judge-cards-0848__open:hover,.aa-show-judge-cards-0848__open:focus{background:#6f1831!important;outline:none!important}
.aa-show-judge-cards-0848__open:hover>i,.aa-show-judge-cards-0848__open:focus>i{background:#6f1831!important}

/* 0.4.855 — karty ocen: mniejsze miniatury desktop + osobny, zwijany układ mobile. */
@media(min-width:901px){
  .aa-judge-card-modal-0848__content{
    grid-template-columns:minmax(0,1fr) 138px!important;
    gap:12px!important;
  }
  .aa-judge-card-modal-0848__scan{padding:9px!important}
  .aa-judge-report-image-0848 img{
    width:108px!important;max-width:108px!important;max-height:162px!important;
  }
  .aa-judge-report-image-0848 span{font-size:9.5px!important}
}

.aa-judge-card-modal-0848__mobile-toggle{display:none!important}

@media(max-width:640px){
  /* Zwarta belka przy wystawie: na telefonie tylko nazwa, licznik i plus. */
  .aa-show-judge-cards-0848{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 22px!important;
    gap:8px 10px!important;
    padding:14px 14px!important;
    min-height:0!important;
  }
  .aa-show-judge-cards-0848__copy{grid-column:1!important;grid-row:1!important;gap:2px!important}
  .aa-show-judge-cards-0848__kicker{font-size:15px!important}
  .aa-show-judge-cards-0848__copy strong{font-size:12px!important}
  .aa-show-judge-cards-0848__dogs{display:none!important}
  .aa-show-judge-cards-0848__open{
    grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:end!important;
    width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;
  }

  /* Modal: niższy sticky nagłówek i bardziej kompaktowa typografia. */
  .aa-judge-cards-modal-0848__dialog{height:100dvh!important}
  .aa-judge-cards-modal-0848__head{
    position:sticky!important;top:0!important;z-index:4!important;
    padding:9px 10px!important;gap:8px!important;min-height:54px!important;
  }
  .aa-judge-cards-modal-0848__head span{font-size:9px!important;letter-spacing:.06em!important}
  .aa-judge-cards-modal-0848__head strong{
    font-size:14px!important;line-height:1.15!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;max-width:calc(100vw - 112px)!important;
  }
  .aa-judge-cards-modal-0848__close{
    padding:8px 10px!important;font-size:11px!important;line-height:1!important;
  }
  .aa-judge-cards-modal-0848__body{padding:8px!important;gap:8px!important}

  /* Każdy pies = zwijana karta; domyślnie widoczny tylko nagłówek. */
  .aa-judge-card-modal-0848{
    position:relative!important;padding:10px!important;border-radius:13px!important;
    box-shadow:none!important;
  }
  .aa-judge-card-modal-0848__top{
    position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;
    gap:8px!important;align-items:center!important;padding:0 0 8px!important;border-bottom:0!important;
    cursor:pointer!important;
  }
  .aa-judge-card-modal-0848__identity{gap:1px!important}
  .aa-judge-card-modal-0848__identity span{font-size:17px!important;line-height:1.15!important}
  .aa-judge-card-modal-0848__identity strong{font-size:11px!important;line-height:1.25!important}
  .aa-judge-card-modal-0848__badges{
    grid-column:1!important;display:flex!important;gap:5px!important;justify-content:flex-start!important;
    margin-top:5px!important;
  }
  .aa-judge-card-modal-0848__badges span{padding:5px 8px!important;font-size:10px!important}
  .aa-judge-card-modal-0848__mobile-toggle{
    position:relative!important;display:grid!important;grid-column:2!important;grid-row:1 / span 2!important;
    place-items:center!important;align-self:center!important;
    width:28px!important;height:28px!important;padding:0!important;border:0!important;border-radius:999px!important;
    background:#6f1831!important;color:#fff7e8!important;cursor:pointer!important;
  }
  .aa-judge-card-modal-0848__mobile-toggle::before,
  .aa-judge-card-modal-0848__mobile-toggle::after{
    content:""!important;position:absolute!important;width:11px!important;height:2px!important;
    border-radius:2px!important;background:#fff7e8!important;
  }
  .aa-judge-card-modal-0848__mobile-toggle::after{transform:rotate(90deg)!important;transition:transform .15s ease!important}
  .aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__mobile-toggle::after{transform:rotate(0deg)!important}

  .aa-judge-card-modal-0848__meta,
  .aa-judge-card-modal-0848__content{display:none!important}
  .aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__top{
    border-bottom:1px solid #eadfce!important;padding-bottom:9px!important;
  }
  .aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__meta{display:flex!important}
  .aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__content{display:grid!important}

  .aa-judge-card-modal-0848__meta{
    gap:5px!important;margin:8px 0 9px!important;
  }
  .aa-judge-card-modal-0848__meta span{
    gap:4px!important;padding:5px 7px!important;font-size:10.5px!important;border-radius:7px!important;
  }
  .aa-judge-card-modal-0848__content{grid-template-columns:1fr!important;gap:8px!important}
  .aa-judge-card-modal-0848__texts{grid-template-columns:1fr!important;gap:8px!important}
  .aa-judge-card-text-0848{padding:9px 10px!important;border-radius:10px!important}
  .aa-judge-card-text-0848 h5,.aa-judge-card-modal-0848__scan h5{margin:0 0 6px!important;font-size:12px!important}
  .aa-judge-card-text-0848 h5 span{font-size:9px!important}
  .aa-judge-card-text-0848 div{font-size:12px!important;line-height:1.42!important}

  /* Skan jest tylko miniaturą; pełny dokument po tapnięciu. */
  .aa-judge-card-modal-0848__scan{
    width:142px!important;max-width:142px!important;padding:8px!important;margin-top:2px!important;
    border:1px solid #e5dac8!important;border-radius:10px!important;background:#fff!important;
    justify-self:start!important;box-sizing:border-box!important;
  }
  .aa-judge-report-image-0848{width:100%!important;gap:5px!important;justify-items:center!important}
  .aa-judge-report-image-0848 img{
    width:118px!important;max-width:118px!important;height:auto!important;max-height:176px!important;
    aspect-ratio:auto!important;object-fit:contain!important;border-radius:8px!important;
  }
  .aa-judge-report-image-0848 span{font-size:9.5px!important;line-height:1.15!important;text-align:center!important}
}

/* 0.4.856 — karty ocen: zwijane także na desktopie + usunięcie pustej przestrzeni na mobile. */
.aa-judge-cards-modal-0848__body{
  align-content:start!important;
  grid-auto-rows:max-content!important;
}
.aa-judge-card-modal-0848{
  min-height:0!important;
  height:auto!important;
}
.aa-judge-card-modal-0848__top{
  position:relative!important;
  cursor:pointer!important;
}
.aa-judge-card-modal-0848__mobile-toggle{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#7a1831!important;
  color:#fff7e8!important;
  cursor:pointer!important;
  align-self:center!important;
}
.aa-judge-card-modal-0848__mobile-toggle::before,
.aa-judge-card-modal-0848__mobile-toggle::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:10px!important;
  height:2px!important;
  border-radius:2px!important;
  background:#fff7e8!important;
  transform:translate(-50%,-50%)!important;
}
.aa-judge-card-modal-0848__mobile-toggle::after{
  transform:translate(-50%,-50%) rotate(90deg)!important;
  transition:transform .15s ease!important;
}
.aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__mobile-toggle::after{
  transform:translate(-50%,-50%) rotate(0deg)!important;
}
.aa-judge-card-modal-0848__meta,
.aa-judge-card-modal-0848__content{
  display:none!important;
}
.aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__meta{
  display:flex!important;
}
.aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__content{
  display:grid!important;
}
.aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__top{
  border-bottom:1px solid #eadfce!important;
}

@media(min-width:641px){
  .aa-judge-card-modal-0848{padding:13px 15px!important}
  .aa-judge-card-modal-0848__top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto 24px!important;
    align-items:center!important;
    gap:10px!important;
    padding-bottom:0!important;
    border-bottom:0!important;
  }
  .aa-judge-card-modal-0848__identity{grid-column:1!important}
  .aa-judge-card-modal-0848__badges{grid-column:2!important;justify-content:flex-end!important}
  .aa-judge-card-modal-0848__mobile-toggle{grid-column:3!important}
  .aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__top{padding-bottom:10px!important}
  .aa-judge-card-modal-0848__meta{margin:10px 0 12px!important}
  .aa-judge-card-modal-0848__content{grid-template-columns:minmax(0,1fr) 128px!important;gap:12px!important}
  .aa-judge-card-modal-0848__scan{padding:8px!important}
  .aa-judge-report-image-0848 img{
    width:92px!important;
    max-width:92px!important;
    height:auto!important;
    max-height:138px!important;
    aspect-ratio:auto!important;
  }
  .aa-judge-report-image-0848 span{font-size:9px!important}
}

@media(max-width:640px){
  .aa-judge-cards-modal-0848__body{
    align-content:start!important;
    grid-auto-rows:max-content!important;
    gap:7px!important;
  }
  .aa-judge-card-modal-0848{
    padding:10px 11px!important;
    min-height:0!important;
    height:auto!important;
  }
  .aa-judge-card-modal-0848__top{
    min-height:0!important;
    grid-template-columns:minmax(0,1fr) 28px!important;
    padding:0!important;
  }
  .aa-judge-card-modal-0848__badges{margin-top:4px!important}
  .aa-judge-card-modal-0848.is-open .aa-judge-card-modal-0848__top{padding-bottom:8px!important}
  .aa-judge-card-modal-0848__mobile-toggle{
    width:28px!important;height:28px!important;min-width:28px!important;
  }
  .aa-judge-card-modal-0848__scan{
    width:132px!important;max-width:132px!important;padding:7px!important;
  }
  .aa-judge-report-image-0848 img{
    width:108px!important;max-width:108px!important;max-height:162px!important;
  }
}


/* 0.4.857 — spokojniejsza kolorystyka kart ocen + stabilne zwijanie. */
.aa-judge-card-modal-0848__badges span{background:#f3efe4!important;color:#4f5f43!important;border:1px solid #e2dacb!important}
.aa-judge-card-modal-0848__badges span+span{background:#f7f1e8!important;color:#7a1831!important;border-color:#ead8dc!important}
.aa-judge-card-modal-0848__mobile-toggle::after{transition:none!important}
.aa-judge-card-modal-0848__meta,.aa-judge-card-modal-0848__content{animation:none!important;transition:none!important}
.aa-judge-card-modal-0848__edit{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border:1px solid #d8c9ad;border-radius:999px;background:#fffaf0;color:#6f1831;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}
.aa-judge-card-modal-0848__edit:hover,.aa-judge-card-modal-0848__edit:focus{background:#f3ead8;color:#6f1831}
@media(min-width:641px){.aa-judge-card-modal-0848__top{grid-template-columns:minmax(0,1fr) auto auto 24px!important}.aa-judge-card-modal-0848__identity{grid-column:1!important}.aa-judge-card-modal-0848__badges{grid-column:2!important}.aa-judge-card-modal-0848__edit{grid-column:3!important}.aa-judge-card-modal-0848__mobile-toggle{grid-column:4!important}}
@media(max-width:640px){.aa-judge-card-modal-0848__edit{position:absolute;right:38px;top:0}}

/* 0.4.861 — dyskretny przycisk i modal klas wystawowych psa. */
.aa-dog-profile-quick-actions{display:flex;justify-content:flex-end;align-items:center;margin:10px 0 4px}
.aa-dog-show-classes-trigger{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:6px 11px;border:1px solid #d9cbb3;border-radius:9px;background:#fffaf0;color:#6f1831;font:inherit;font-size:11px;font-weight:800;line-height:1;cursor:pointer;box-shadow:none}
.aa-dog-show-classes-trigger:hover,.aa-dog-show-classes-trigger:focus{background:#f4ead8;color:#6f1831;border-color:#c9b895;outline:none}
.aa-dog-show-classes-trigger__icon{font-size:14px;line-height:1;color:#52633f}
.aa-profile-watch-bar .aa-dog-show-classes-trigger{margin-left:auto}
.aa-show-classes-modal[hidden]{display:none!important}
.aa-show-classes-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:24px}
.aa-show-classes-modal__backdrop{position:absolute;inset:0;background:rgba(25,31,20,.68);backdrop-filter:blur(2px)}
.aa-show-classes-modal__dialog{position:relative;z-index:1;width:min(920px,calc(100vw - 32px));max-height:min(86vh,820px);overflow:hidden;border:1px solid #d8c9ad;border-radius:16px;background:#fffdf8;box-shadow:0 22px 70px rgba(0,0,0,.28);display:flex;flex-direction:column}
.aa-show-classes-modal__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e7dcc8;background:#f7f0e3}
.aa-show-classes-modal__head span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6b775e}
.aa-show-classes-modal__head h3{margin:2px 0 0;font-size:20px;line-height:1.2;color:#243322}
.aa-show-classes-modal__close{width:34px;height:34px;border:0;border-radius:50%;background:#6f1831;color:#fff8e8;font-size:24px;line-height:1;cursor:pointer}
.aa-show-classes-modal__body{padding:16px 18px 18px;overflow:auto}
.aa-show-classes-summary{display:grid;grid-template-columns:150px 150px minmax(0,1fr);gap:10px;margin-bottom:14px}
.aa-show-classes-summary>div{padding:10px 12px;border:1px solid #e5dbc9;border-radius:10px;background:#fbf7ef}
.aa-show-classes-summary small{display:block;margin-bottom:3px;color:#7b7468;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.aa-show-classes-summary strong{font-size:14px;color:#263523}
.aa-show-classes-summary__current div{display:flex;flex-wrap:wrap;gap:5px}
.aa-show-classes-summary__current span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#e8eddc;color:#425538;font-size:11px;font-weight:800}
.aa-show-classes-list{display:grid;gap:7px}
.aa-show-class-row{display:grid;grid-template-columns:minmax(190px,1fr) 190px 130px;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e5dccd;border-radius:10px;background:#fff}
.aa-show-class-row__main strong{display:block;font-size:13px;color:#273525}.aa-show-class-row__main span{display:block;margin-top:2px;font-size:10px;color:#7a746a}
.aa-show-class-row__dates{display:flex;align-items:center;gap:5px;font-size:11px;color:#5a5d55}.aa-show-class-row__dates b{font-weight:800;color:#394635}
.aa-show-class-row__status{justify-self:end;display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap;background:#eee9df;color:#665e54}
.aa-show-class-row.is-active{border-color:#b9c8a7;background:#f6f9ef}.aa-show-class-row.is-active .aa-show-class-row__status{background:#dce8cf;color:#355027}
.aa-show-class-row.is-upcoming .aa-show-class-row__status{background:#f1eadc;color:#755b2a}
.aa-show-class-row.is-conditional .aa-show-class-row__status{background:#efe4e7;color:#6f1831}
.aa-show-class-row.is-past{opacity:.62}
.aa-show-class-row p{grid-column:1/-1;margin:0;padding-top:6px;border-top:1px dashed #e9dfd0;font-size:10px;line-height:1.4;color:#6c665c}
.aa-show-classes-note{margin:14px 0 8px;font-size:10px;line-height:1.45;color:#6e685d}
.aa-show-classes-source{font-size:10px;font-weight:800;color:#6f1831;text-decoration:none}.aa-show-classes-source:hover{text-decoration:underline}
.aa-show-classes-empty{padding:18px;border:1px solid #e5dccd;border-radius:10px;background:#fbf7ef}.aa-show-classes-empty p{margin:6px 0 0}
@media(max-width:700px){
  .aa-dog-profile-quick-actions{justify-content:flex-start;margin:8px 0 2px}
  .aa-dog-show-classes-trigger{min-height:30px;padding:6px 9px;font-size:10px}
  .aa-show-classes-modal{padding:10px}
  .aa-show-classes-modal__dialog{width:100%;max-height:92dvh;border-radius:13px}
  .aa-show-classes-modal__head{padding:12px 13px}.aa-show-classes-modal__head h3{font-size:16px}.aa-show-classes-modal__close{width:30px;height:30px;font-size:21px}
  .aa-show-classes-modal__body{padding:11px 12px 14px}
  .aa-show-classes-summary{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}.aa-show-classes-summary__current{grid-column:1/-1}
  .aa-show-class-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:9px 10px}
  .aa-show-class-row__main{grid-column:1}.aa-show-class-row__status{grid-column:2;grid-row:1;align-self:start}
  .aa-show-class-row__dates{grid-column:1/-1;grid-row:2;flex-wrap:wrap}
  .aa-show-class-row p{grid-row:3;font-size:9.5px}
}


/* 0.4.862 — Klasy wystawowe: przycisk pod trzema panelami statystyk i modal zawsze nad profilem psa. */
.aa-dog-profile-career-stats .aa-dog-profile-quick-actions--stats{
  grid-column:1/-1!important;
  width:100%!important;
  margin:2px 0 0!important;
  padding:0!important;
  justify-content:flex-end!important;
  align-items:center!important;
}
.aa-show-classes-modal{z-index:2147483640!important;}
.aa-show-classes-modal__backdrop{z-index:0!important;}
.aa-show-classes-modal__dialog{z-index:1!important;}
@media(max-width:700px){
  .aa-dog-profile-career-stats .aa-dog-profile-quick-actions--stats{justify-content:flex-end!important;margin-top:4px!important;}
}

/* 0.4.863 — tytuły i klasy wystawowe w wolnym pasie pod trzema panelami, bez zmniejszania paneli. */
@media(min-width:1101px){
  .aa-detail-modal .aa-dog-profile-hero{
    grid-template-rows:auto auto auto!important;
  }
  .aa-detail-modal .aa-dog-profile-photo,
  .aa-detail-modal .aa-dog-profile-intro{
    grid-row:1 / span 3!important;
  }
  .aa-detail-modal .aa-dog-profile-career-stats{
    grid-column:3!important;
    grid-row:1!important;
  }
  .aa-detail-modal .aa-dog-profile-career-extra{
    grid-column:3!important;
    grid-row:2!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line--desktop{
    grid-column:3!important;
    grid-row:3!important;
  }
}
.aa-dog-profile-career-extra{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  margin:0;
  padding:0;
}
.aa-dog-profile-career-extra.is-empty{justify-content:flex-end}
.aa-dog-profile-official-titles{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  flex:1 1 auto;
}
.aa-dog-profile-official-titles__label{
  flex:0 0 auto;
  font-size:10px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.055em;
  color:#6b775e;
}
.aa-dog-profile-official-titles__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  min-width:0;
}
.aa-dog-title-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:28px;
  padding:5px 8px;
  border:1px solid #dfd3bd;
  border-radius:999px;
  background:#fbf6eb;
  color:#314331;
  line-height:1.05;
  white-space:nowrap;
}
.aa-dog-title-chip strong{font-size:10px;font-weight:800}
.aa-dog-title-chip em{font-size:9px;font-style:normal;color:#7a7165}
.aa-dog-profile-career-extra .aa-dog-show-classes-trigger{flex:0 0 auto}

@media(max-width:1100px){
  .aa-dog-profile-career-extra{
    grid-column:1/-1;
    width:100%;
    margin-top:2px;
  }
}
@media(max-width:700px){
  .aa-dog-profile-career-extra{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
    margin-top:4px;
  }
  .aa-dog-profile-career-extra.is-empty{align-items:flex-end}
  .aa-dog-profile-official-titles{align-items:flex-start;flex-direction:column;gap:5px;width:100%}
  .aa-dog-profile-official-titles__list{width:100%}
  .aa-dog-title-chip{min-height:26px;padding:5px 7px}
  .aa-dog-profile-career-extra .aa-dog-show-classes-trigger{align-self:flex-end}
}

/* 0.4.864 — dwa kafelki kariery dokładnie wpasowane pod trzema panelami statystyk. */
.aa-dog-profile-career-extra{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.aa-dog-profile-career-card{
  min-width:0;
  min-height:72px;
  padding:10px 12px;
  border:1px solid rgba(111,24,49,.12);
  border-radius:13px;
  background:rgba(255,253,248,.84);
  box-shadow:0 2px 8px rgba(45,36,25,.04);
  box-sizing:border-box;
}
.aa-dog-profile-career-card h3{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 7px;
  padding:0 0 6px;
  border-bottom:1px solid rgba(36,27,29,.08);
  font-size:.72rem;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.045em;
  color:#6f1831;
}
.aa-dog-profile-career-card--titles h3{color:#617044}
.aa-dog-profile-career-card--classes h3{color:#8a6b1e}
.aa-dog-profile-career-card .aa-dog-profile-official-titles__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  min-width:0;
}
.aa-dog-profile-career-card .aa-dog-title-chip{
  min-height:24px;
  padding:4px 7px;
}
.aa-dog-profile-career-card .aa-dog-title-chip strong{font-size:9.5px}
.aa-dog-profile-career-card .aa-dog-title-chip em{font-size:8.5px}
.aa-dog-profile-career-card__empty{
  font-size:10px;
  color:#7a7165;
}
.aa-dog-profile-career-card__action{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:30px;
}
.aa-dog-profile-career-card__action .aa-dog-show-classes-trigger{
  margin:0!important;
}
@media(min-width:1101px){
  .aa-detail-modal .aa-dog-profile-career-extra{
    grid-column:3!important;
    grid-row:2!important;
    align-self:stretch!important;
  }
  .aa-detail-modal .aa-dog-profile-summary-line--desktop{
    grid-row:3!important;
  }
}
@media(max-width:720px){
  .aa-dog-profile-career-extra{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .aa-dog-profile-career-card{min-height:0;padding:8px 9px}
}

/* 0.4.865 — tytuły jako lista, cały kafelek klas jako przycisk ze skrótem. */
.aa-dog-profile-title-rows{display:grid;gap:0}
.aa-dog-profile-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:5px 0;border-bottom:1px solid rgba(36,27,29,.07)}
.aa-dog-profile-title-row:last-child{border-bottom:0}
.aa-dog-profile-title-row strong{font-size:10px;line-height:1.25;color:#314331}
.aa-dog-profile-title-row time{font-size:9px;line-height:1.2;color:#7a7165;white-space:nowrap}
.aa-dog-profile-career-card--classes.aa-dog-show-classes-trigger{display:block!important;width:100%!important;margin:0!important;padding:10px 12px!important;text-align:left!important;border:1px solid rgba(111,24,49,.12)!important;border-radius:13px!important;background:rgba(255,253,248,.84)!important;color:inherit!important;box-shadow:0 2px 8px rgba(45,36,25,.04)!important;cursor:pointer!important}
.aa-dog-profile-career-card--classes.aa-dog-show-classes-trigger:hover,.aa-dog-profile-career-card--classes.aa-dog-show-classes-trigger:focus{background:#fbf6eb!important;border-color:#cdbd9e!important;outline:none!important}
.aa-dog-profile-career-card--classes h3{justify-content:flex-start}
.aa-career-card-arrow{margin-left:auto;font-size:18px;line-height:1;color:#8a6b1e}
.aa-dog-show-classes-summary-mini{display:grid;gap:5px}
.aa-dog-show-classes-summary-mini>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;align-items:start}
.aa-dog-show-classes-summary-mini span{font-size:9px;color:#7a7165}
.aa-dog-show-classes-summary-mini strong{font-size:10px;line-height:1.3;color:#314331;font-weight:800}
.aa-dog-show-classes-summary-mini .is-warning strong{color:#8a6b1e}
.aa-show-class-row.is-missing_working_certificate .aa-show-class-row__status,.aa-show-class-row.is-missing_champion_title .aa-show-class-row__status{background:#f1eadc;color:#755b2a}
@media(max-width:700px){
  .aa-dog-profile-title-row{grid-template-columns:1fr;gap:2px;padding:5px 0}
  .aa-dog-profile-title-row time{white-space:normal}
  .aa-dog-show-classes-summary-mini>div{grid-template-columns:88px minmax(0,1fr)}
}

/* 0.4.866 — kompaktowe, spójne nagłówki modułów na mobile. */
@media (max-width:760px){
  /* Wspólny język wizualny: Baza wystawowa / Moje psy / Moje obserwowane. */
  .aa-golden-db-hero,
  .aa-our-dogs-hero,
  .aa-my-watched .aa-golden-db-hero{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px 10px!important;
    padding:12px 14px!important;
    border-radius:16px!important;
    min-height:0!important;
    align-items:center!important;
  }
  .aa-golden-db-hero>div:first-child,
  .aa-our-dogs-hero>div:first-child{
    min-width:0!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  .aa-golden-db-kicker,
  .aa-our-dogs-hero span{
    margin:0 0 2px!important;
    font-size:9px!important;
    line-height:1.15!important;
    letter-spacing:.12em!important;
  }
  .aa-golden-db-hero h2,
  .aa-our-dogs-hero h2,
  .aa-my-watched .aa-golden-db-hero h2{
    margin:0!important;
    font-size:27px!important;
    line-height:1!important;
  }
  /* Opisy zajmowały najwięcej miejsca i na ekranie modułu nie są potrzebne. */
  .aa-golden-db-hero p,
  .aa-our-dogs-hero p,
  .aa-my-watched .aa-golden-db-hero p{
    display:none!important;
  }
  /* Zakres danych pozostaje, ale jako mała informacja pomocnicza. */
  .aa-golden-db-period{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:start!important;
    min-width:0!important;
    min-height:0!important;
    padding:4px 8px!important;
    border-radius:10px!important;
    gap:2px!important;
  }
  .aa-golden-db-period small{
    font-size:7px!important;
    line-height:1!important;
    letter-spacing:.08em!important;
  }
  .aa-golden-db-period strong{
    font-size:15px!important;
    line-height:1!important;
  }
  /* Użytkownik jako dyskretna pastylka zamiast dużego bloku. */
  .aa-golden-db-hero>.aa-panel-user-badge,
  .aa-our-dogs-hero>.aa-panel-user-badge,
  .aa-my-watched .aa-golden-db-hero>.aa-panel-user-badge{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:130px!important;
    min-height:0!important;
    padding:6px 9px!important;
    border-radius:11px!important;
  }
  .aa-panel-user-badge small{
    display:none!important;
  }
  .aa-panel-user-badge strong{
    margin:0!important;
    font-size:12px!important;
    line-height:1.05!important;
  }

  /* Kalendarz — ten sam kompaktowy charakter, bez wielkiego zielonego pola. */
  .aa-show-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px 10px!important;
    align-items:center!important;
    padding:12px 14px!important;
    min-height:0!important;
    border-radius:16px 16px 0 0!important;
  }
  .aa-show-hero>div:first-child{
    min-width:0!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  .aa-show-hero>div:first-child>span{
    font-size:9px!important;
    line-height:1.1!important;
    letter-spacing:.12em!important;
  }
  .aa-show-hero h2{
    margin:2px 0 0!important;
    font-size:28px!important;
    line-height:.98!important;
  }
  .aa-show-hero>p{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    margin:0!important;
    padding:5px 8px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .aa-show-hero>.aa-panel-user-badge{
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-self:start!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    padding:4px 8px!important;
    border-radius:10px!important;
  }
}

@media (max-width:430px){
  .aa-golden-db-hero h2,
  .aa-our-dogs-hero h2,
  .aa-my-watched .aa-golden-db-hero h2{
    font-size:24px!important;
  }
  .aa-show-hero h2{
    font-size:25px!important;
  }
}

/* =========================================================
 * 0.4.868 — plan oceniania sędziego z Planu sędziowania PDF.
 * Kafelek ringu zachowuje wygląd 0.4.778; modal jest odrębną,
 * lekką warstwą korzystającą wyłącznie z lokalnego cache.
 * ========================================================= */
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring{
  appearance:none!important;-webkit-appearance:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;min-width:118px!important;padding:7px 11px!important;border:1px solid rgba(91,105,64,.28)!important;border-radius:10px!important;background:#eef3e8!important;color:#23382f!important;font:inherit!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important
}
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring:hover,.aa-registration-confirmation-primary>.aa-registration-confirmation-ring:focus-visible{border-color:#506e59!important;background:#e3ecdc!important;outline:2px solid rgba(80,110,89,.18)!important;outline-offset:1px!important}
.aa-registration-confirmation-ring em{margin-top:3px!important;font-size:9px!important;line-height:1!important;font-style:normal!important;font-weight:800!important;color:#5b694f!important;text-transform:uppercase!important;letter-spacing:.025em!important}
.aa-judge-schedule-modal[hidden]{display:none!important}.aa-judge-schedule-modal{position:fixed!important;inset:0!important;z-index:2147483647!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important}
.aa-judge-schedule-backdrop{position:absolute!important;inset:0!important;background:rgba(24,28,25,.62)!important;backdrop-filter:blur(2px)}
.aa-judge-schedule-dialog{position:relative!important;z-index:1!important;width:min(920px,calc(100vw - 36px))!important;max-height:min(820px,calc(100vh - 36px))!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#fffdf8!important;border:1px solid #d6c9b5!important;border-radius:15px!important;box-shadow:0 24px 70px rgba(0,0,0,.28)!important;color:#27362f!important}
.aa-judge-schedule-dialog>header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:16px!important;padding:13px 16px!important;border-bottom:1px solid #e2d7c5!important;background:#f7f2e9!important}
.aa-judge-schedule-dialog>header>div{display:flex!important;flex-direction:column!important;gap:2px!important}.aa-judge-schedule-dialog>header strong{font-size:18px!important;line-height:1.2!important;color:#294d41!important}.aa-judge-schedule-dialog>header small{font-size:11px!important;line-height:1.3!important;color:#746b5e!important}
.aa-judge-schedule-dialog>header button{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:1px solid #cdbfa9!important;border-radius:8px!important;background:#fffaf1!important;color:#524b42!important;font-size:24px!important;line-height:30px!important;cursor:pointer!important}
.aa-judge-schedule-body{overflow:auto!important;padding:14px!important}.aa-judge-schedule-section+.aa-judge-schedule-section{margin-top:16px!important;padding-top:16px!important;border-top:2px solid #ddd0bb!important}
.aa-judge-schedule-summary{display:flex!important;align-items:stretch!important;justify-content:space-between!important;gap:10px!important;margin-bottom:9px!important}.aa-judge-schedule-summary>div{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:8px 11px!important;border:1px solid #ded3c1!important;border-radius:9px!important;background:#faf7f0!important}.aa-judge-schedule-summary>div:first-child{flex:1!important}.aa-judge-schedule-summary small{font-size:9px!important;line-height:1.15!important;text-transform:uppercase!important;letter-spacing:.045em!important;color:#756d61!important;font-weight:800!important}.aa-judge-schedule-summary strong{font-size:15px!important;line-height:1.25!important;color:#263d35!important}.aa-judge-schedule-summary b{font-size:20px!important;line-height:1!important;color:#244f42!important}
.aa-judge-schedule-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #ded4c3!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important;font-size:12px!important}.aa-judge-schedule-table th,.aa-judge-schedule-table td{padding:7px 9px!important;border-bottom:1px solid #eee6da!important;text-align:center!important;vertical-align:middle!important}.aa-judge-schedule-table th{background:#f2ede3!important;color:#5b554c!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.035em!important;font-weight:800!important}.aa-judge-schedule-table th:nth-child(2),.aa-judge-schedule-table td:nth-child(2){text-align:left!important}.aa-judge-schedule-table tr:last-child td{border-bottom:0!important}.aa-judge-schedule-table tr.is-golden td{background:#edf4e8!important}.aa-judge-schedule-table tr.is-golden td:nth-child(2){font-weight:850!important;color:#285244!important}
html.aa-judge-schedule-open{overflow:hidden!important}
@media(max-width:600px){
  .aa-registration-confirmation-primary>.aa-registration-confirmation-ring{min-width:105px!important;padding:6px 8px!important}.aa-registration-confirmation-ring em{font-size:8px!important}
  .aa-judge-schedule-modal{padding:8px!important;align-items:flex-end!important}.aa-judge-schedule-dialog{width:100%!important;max-height:92vh!important;border-radius:14px 14px 0 0!important}.aa-judge-schedule-dialog>header{padding:10px 11px!important}.aa-judge-schedule-dialog>header strong{font-size:16px!important}.aa-judge-schedule-body{padding:10px!important}.aa-judge-schedule-summary{gap:6px!important}.aa-judge-schedule-summary>div{padding:7px 8px!important}.aa-judge-schedule-summary strong{font-size:13px!important}.aa-judge-schedule-summary b{font-size:18px!important}
  .aa-judge-schedule-table{display:block!important;border:0!important;background:transparent!important}.aa-judge-schedule-table thead{display:none!important}.aa-judge-schedule-table tbody{display:flex!important;flex-direction:column!important;gap:6px!important}.aa-judge-schedule-table tr{display:grid!important;grid-template-columns:52px minmax(0,1fr) 42px!important;grid-template-areas:'time breed total' 'time counts total'!important;gap:1px 7px!important;padding:7px 8px!important;border:1px solid #e0d5c4!important;border-radius:9px!important;background:#fff!important}.aa-judge-schedule-table td{padding:0!important;border:0!important;text-align:left!important;background:transparent!important;font-size:11px!important}.aa-judge-schedule-table td:nth-child(1){grid-area:time;align-self:center;font-weight:850!important;color:#485c52!important}.aa-judge-schedule-table td:nth-child(2){grid-area:breed;font-size:12px!important;font-weight:750!important;white-space:normal!important}.aa-judge-schedule-table td:nth-child(3){grid-area:counts}.aa-judge-schedule-table td:nth-child(4){grid-area:counts;padding-left:48px!important}.aa-judge-schedule-table td:nth-child(3)::before{content:'Psy ';color:#817768}.aa-judge-schedule-table td:nth-child(4)::before{content:'Suki ';color:#817768}.aa-judge-schedule-table td:nth-child(5){grid-area:total;align-self:center;text-align:right!important}.aa-judge-schedule-table td:nth-child(5)::before{content:'Razem ';display:block;font-size:8px;color:#817768;text-transform:uppercase}.aa-judge-schedule-table td:nth-child(5) b{font-size:15px!important}.aa-judge-schedule-table tr.is-golden{background:#edf4e8!important}.aa-judge-schedule-table tr.is-golden td{background:transparent!important}
}

/* 0.4.876 — Plan oceniania: compact, readable UI without changing schedule data. */
.aa-judge-schedule-dialog>header{
  position:sticky!important;top:0!important;z-index:3!important;
  padding:12px 16px!important;background:#f7f2e9!important;
}
.aa-judge-schedule-dialog>header strong{font-size:19px!important;letter-spacing:-.015em!important}
.aa-judge-schedule-dialog>header small{margin-top:1px!important;font-size:12px!important}
.aa-judge-schedule-dialog>header button{border-radius:10px!important}
.aa-judge-schedule-body{padding:12px!important}
.aa-judge-schedule-summary{margin-bottom:10px!important;gap:8px!important}
.aa-judge-schedule-summary>div{min-height:54px!important;padding:7px 12px!important}
.aa-judge-schedule-summary>div:last-child{min-width:132px!important}
.aa-judge-schedule-summary small{font-size:10px!important;letter-spacing:.06em!important}
.aa-judge-schedule-summary strong{font-size:17px!important;line-height:1.15!important}
.aa-judge-schedule-summary b{font-size:24px!important}
.aa-judge-schedule-table{font-size:13px!important}
.aa-judge-schedule-table th,.aa-judge-schedule-table td{padding:8px 10px!important}
.aa-judge-schedule-table tr.is-golden td{background:#eaf3e7!important}
.aa-judge-schedule-table tr.is-golden td:nth-child(2){color:#245746!important}

@media (max-width:700px){
  .aa-judge-schedule-modal{padding:0!important;align-items:flex-end!important}
  .aa-judge-schedule-dialog{
    width:100%!important;max-height:94vh!important;
    border-radius:16px 16px 0 0!important;border-left:0!important;border-right:0!important;border-bottom:0!important;
  }
  .aa-judge-schedule-dialog>header{padding:10px 14px 9px!important;gap:10px!important}
  .aa-judge-schedule-dialog>header strong{font-size:17px!important;line-height:1.15!important}
  .aa-judge-schedule-dialog>header small{font-size:11px!important;line-height:1.25!important}
  .aa-judge-schedule-dialog>header button{width:38px!important;height:38px!important;min-width:38px!important;font-size:25px!important}
  .aa-judge-schedule-body{padding:9px 12px 14px!important}
  .aa-judge-schedule-section+.aa-judge-schedule-section{margin-top:10px!important;padding-top:10px!important}
  .aa-judge-schedule-summary{gap:6px!important;margin-bottom:7px!important}
  .aa-judge-schedule-summary>div{min-height:46px!important;padding:6px 9px!important;border-radius:8px!important}
  .aa-judge-schedule-summary>div:last-child{min-width:104px!important;flex:0 0 104px!important}
  .aa-judge-schedule-summary small{font-size:8px!important;line-height:1!important;letter-spacing:.055em!important}
  .aa-judge-schedule-summary strong{font-size:14px!important;line-height:1.1!important;margin-top:2px!important}
  .aa-judge-schedule-summary b{font-size:20px!important;line-height:1!important;margin-top:2px!important}

  .aa-judge-schedule-table{display:block!important;border:1px solid #e0d6c7!important;border-radius:10px!important;overflow:hidden!important;background:#fffdf9!important}
  .aa-judge-schedule-table tbody{display:block!important}
  .aa-judge-schedule-table tr{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr) 44px!important;
    grid-template-areas:'time breed total' 'time counts total'!important;
    column-gap:8px!important;row-gap:1px!important;
    min-height:56px!important;padding:7px 9px!important;
    border:0!important;border-radius:0!important;background:#fffdf9!important;
    border-bottom:1px solid #ece4d8!important;
  }
  .aa-judge-schedule-table tr:last-child{border-bottom:0!important}
  .aa-judge-schedule-table td{padding:0!important;border:0!important;background:transparent!important;min-width:0!important}
  .aa-judge-schedule-table td:nth-child(1){
    grid-area:time;align-self:center!important;
    font-size:14px!important;font-weight:850!important;line-height:1!important;color:#40594f!important;
  }
  .aa-judge-schedule-table td:nth-child(2){
    grid-area:breed;align-self:end!important;
    font-size:14px!important;font-weight:800!important;line-height:1.12!important;color:#2d3934!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  .aa-judge-schedule-table td:nth-child(3),
  .aa-judge-schedule-table td:nth-child(4){
    grid-area:counts;align-self:start!important;
    display:inline!important;font-size:11px!important;line-height:1.15!important;color:#665f55!important;
  }
  .aa-judge-schedule-table td:nth-child(3){padding-right:8px!important}
  .aa-judge-schedule-table td:nth-child(4){padding-left:48px!important}
  .aa-judge-schedule-table td:nth-child(3)::before{content:'Psy ';color:#8a8175!important}
  .aa-judge-schedule-table td:nth-child(4)::before{content:'Suki ';color:#8a8175!important}
  .aa-judge-schedule-table td:nth-child(5){
    grid-area:total;align-self:center!important;text-align:right!important;
    font-size:12px!important;line-height:1!important;color:#26362f!important;
  }
  .aa-judge-schedule-table td:nth-child(5)::before{
    content:'Razem';display:block!important;margin-bottom:3px!important;
    font-size:7px!important;line-height:1!important;letter-spacing:.05em!important;color:#948a7d!important;text-transform:uppercase!important;
  }
  .aa-judge-schedule-table td:nth-child(5) b{font-size:19px!important;line-height:1!important}
  .aa-judge-schedule-table tr.is-golden{background:#eaf3e7!important;box-shadow:inset 4px 0 0 #5b9178!important}
  .aa-judge-schedule-table tr.is-golden td{background:transparent!important}
  .aa-judge-schedule-table tr.is-golden td:nth-child(2){color:#245746!important}
}

@media (max-width:390px){
  .aa-judge-schedule-table tr{grid-template-columns:51px minmax(0,1fr) 40px!important;column-gap:6px!important;padding-left:8px!important;padding-right:8px!important}
  .aa-judge-schedule-table td:nth-child(1){font-size:13px!important}
  .aa-judge-schedule-table td:nth-child(2){font-size:13px!important}
  .aa-judge-schedule-table td:nth-child(4){padding-left:43px!important}
  .aa-judge-schedule-summary>div:last-child{min-width:92px!important;flex-basis:92px!important}
}


/* =========================================================
 * 0.4.877 — plan oceniania: wyraźne CTA + dopracowany modal.
 * Tylko UI; bez zmian parsera, cache i danych.
 * ========================================================= */
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring{
  position:relative!important;
  border:1.5px solid rgba(84,111,89,.48)!important;
  box-shadow:0 2px 7px rgba(45,63,52,.08)!important;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease!important;
}
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring:hover,
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring:focus-visible{
  transform:translateY(-1px)!important;
  box-shadow:0 5px 13px rgba(45,63,52,.14)!important;
  border-color:#476e5b!important;
}
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring em{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-top:5px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#7a1730!important;
  color:#fff4df!important;
  -webkit-text-fill-color:#fff4df!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.035em!important;
  box-shadow:0 1px 2px rgba(72,15,29,.14)!important;
}
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring em::after{
  content:'→'!important;
  font-size:11px!important;
  line-height:1!important;
}
.aa-registration-confirmation-primary>.aa-registration-confirmation-ring:active{transform:translateY(0)!important;box-shadow:none!important}

.aa-judge-schedule-dialog>header button{
  width:auto!important;
  min-width:0!important;
  height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:0 13px!important;
  border:1px solid #7a1730!important;
  border-radius:999px!important;
  background:#7a1730!important;
  color:#fff4df!important;
  -webkit-text-fill-color:#fff4df!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:850!important;
  box-shadow:0 2px 7px rgba(122,23,48,.16)!important;
}
.aa-judge-schedule-dialog>header button span{display:inline!important;color:#fff4df!important;-webkit-text-fill-color:#fff4df!important}
.aa-judge-schedule-dialog>header button b{font-size:20px!important;line-height:1!important;font-weight:500!important;color:#fff4df!important;-webkit-text-fill-color:#fff4df!important}
.aa-judge-schedule-dialog>header button:hover,
.aa-judge-schedule-dialog>header button:focus-visible{
  background:#8d1b38!important;
  border-color:#8d1b38!important;
  color:#fff4df!important;
  -webkit-text-fill-color:#fff4df!important;
  outline:2px solid rgba(122,23,48,.15)!important;
  outline-offset:2px!important;
}

/* Desktop: spokojna tabela z czytelniejszym rytmem. */
@media (min-width:701px){
  .aa-judge-schedule-table tbody tr:nth-child(even):not(.is-golden) td{background:#fbf8f2!important}
  .aa-judge-schedule-table td:first-child{font-weight:850!important;color:#35594b!important}
  .aa-judge-schedule-table td:last-child b{display:inline-flex!important;min-width:34px!important;justify-content:center!important;padding:4px 7px!important;border-radius:8px!important;background:#f2eadc!important;color:#253b33!important}
  .aa-judge-schedule-table tr.is-golden td:last-child b{background:#dbead8!important;color:#204c3f!important}
}

@media (max-width:700px){
  .aa-registration-confirmation-primary>.aa-registration-confirmation-ring em{
    margin-top:4px!important;padding:4px 7px!important;font-size:8px!important;
  }
  .aa-judge-schedule-dialog>header button{
    height:36px!important;padding:0 11px!important;font-size:11px!important;gap:5px!important;
  }
  .aa-judge-schedule-dialog>header button b{font-size:19px!important}

  .aa-judge-schedule-table tr{
    position:relative!important;
    min-height:58px!important;
    padding:7px 8px!important;
    background:#fffdf9!important;
  }
  .aa-judge-schedule-table tr:nth-child(even):not(.is-golden){background:#faf6ef!important}
  .aa-judge-schedule-table td:nth-child(1){
    justify-self:start!important;
    padding:5px 7px!important;
    border:1px solid #cfddcf!important;
    border-radius:999px!important;
    background:#edf3e9!important;
    color:#35594b!important;
    font-size:12px!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.38)!important;
  }
  .aa-judge-schedule-table td:nth-child(2){
    font-weight:850!important;
    color:#263c34!important;
  }
  .aa-judge-schedule-table td:nth-child(3),
  .aa-judge-schedule-table td:nth-child(4){color:#665d53!important}
  .aa-judge-schedule-table td:nth-child(5){
    align-self:center!important;
    min-width:38px!important;
    padding:5px 6px!important;
    border:1px solid #eadfce!important;
    border-radius:9px!important;
    background:#f7f0e5!important;
    text-align:center!important;
  }
  .aa-judge-schedule-table td:nth-child(5)::before{
    margin-bottom:2px!important;
    font-size:6.8px!important;
    color:#8b8174!important;
  }
  .aa-judge-schedule-table td:nth-child(5) b{font-size:18px!important;color:#263c34!important}
  .aa-judge-schedule-table tr.is-golden{
    background:linear-gradient(90deg,#e4f0e1 0%,#edf5ea 100%)!important;
    box-shadow:inset 4px 0 0 #4e866d!important;
  }
  .aa-judge-schedule-table tr.is-golden td:nth-child(1){
    border-color:#9fbea9!important;background:#dcebd9!important;color:#245746!important;
  }
  .aa-judge-schedule-table tr.is-golden td:nth-child(2){color:#1f5b47!important}
  .aa-judge-schedule-table tr.is-golden td:nth-child(5){
    border-color:#bdd3bd!important;background:#d6e8d4!important;
  }
}


/* =========================================================
 * 0.4.878 — plan oceniania: bezpieczny odstęp od góry na mobile.
 * Tylko UI; bez zmian parsera, cache i danych.
 * ========================================================= */
.aa-judge-schedule-dialog>header{
  position:relative!important;
  top:auto!important;
  flex:0 0 auto!important;
}
@media (max-width:700px){
  .aa-judge-schedule-modal{
    box-sizing:border-box!important;
    padding:20px 0 0!important;
    align-items:flex-end!important;
  }
  .aa-judge-schedule-dialog{
    box-sizing:border-box!important;
    max-height:calc(100% - 20px)!important;
    border-radius:16px 16px 0 0!important;
  }
}
@media (max-width:390px){
  .aa-judge-schedule-modal{padding-top:16px!important}
  .aa-judge-schedule-dialog{max-height:calc(100% - 16px)!important}
}

/* 0.4.880 — Champion Show ma własny kolor w kalendarzu desktop/mobile/mapie */
.aa-show-calendar-wrap .aa-show-day-event[data-type="Champion Show"],
.aa-show-calendar-wrap .aa-show-day-event[data-type="champion show" i]{
  border-color:#c9a9b3;
  border-left-color:#7b1734;
  background:#f7edf0;
  color:#3b171d;
}
.aa-show-calendar-wrap .aa-show-day-event[data-type="Champion Show"] strong,
.aa-show-calendar-wrap .aa-show-day-event[data-type="Champion Show"] em,
.aa-show-calendar-wrap .aa-show-day-event[data-type="champion show" i] strong,
.aa-show-calendar-wrap .aa-show-day-event[data-type="champion show" i] em{color:#5a1f2b}
.aa-show-calendar-wrap .aa-show-card[data-type="Champion Show"],
.aa-show-calendar-wrap .aa-show-card[data-type="champion show" i]{border-left-color:#7b1734}
.aa-show-calendar-wrap .aa-show-card[data-type="Champion Show"] .aa-show-kind,
.aa-show-calendar-wrap .aa-show-card[data-type="champion show" i] .aa-show-kind{
  border-color:#7b1734;background:#7b1734;color:#fff;
}
.aa-show-calendar-wrap .aa-show-type-code[data-type="Champion Show"],
.aa-show-calendar-wrap .aa-show-type-code[data-type="champion show" i]{
  min-width:20px;
  background:#7b1734;
  color:#fff;
}
.aa-show-map-legend .is-champion i{background:#7b1734}
.aa-show-map-popup-type.is-champion{background:#f4e3e8;border-color:#7b1734;color:#5a1f2b}


/* 0.4.901 — Baza wystawowa: jedna kanoniczna definicja kart wystaw.
 * Ramka i kolorowa krawędź odwzorowują mechanizm używany przez .aa-show-card w kalendarzu.
 * Usunięto nakładające się reguły 0.4.896–0.4.900 i pseudo-elementy. */
.aa-entity-inline-card--show{
  --aa-show-kind-color:#5b6842;
  box-sizing:border-box!important;
  border:1px solid #ddd2bd!important;
  border-left:6px solid var(--aa-show-kind-color)!important;
  border-radius:14px!important;
  background:#fffaf2!important;
  overflow:hidden!important;
}
.aa-entity-inline-card--show::before,
.aa-entity-inline-card--show::after{
  content:none!important;
  display:none!important;
}
.aa-entity-inline-card--show[data-show-kind="national"]{--aa-show-kind-color:#5b6842}
.aa-entity-inline-card--show[data-show-kind="international"]{--aa-show-kind-color:#b8851c}
.aa-entity-inline-card--show[data-show-kind="club"]{--aa-show-kind-color:#1c1c1c}
.aa-entity-inline-card--show[data-show-kind="special"]{--aa-show-kind-color:#8d5640}
.aa-entity-inline-card--show[data-show-kind="champion"]{--aa-show-kind-color:#7b1734}
.aa-entity-inline-card--show[data-show-kind="other"]{--aa-show-kind-color:#8b7a45}

.aa-show-date-badge{
  flex-direction:column!important;
  gap:0!important;
  line-height:1!important;
  letter-spacing:0!important;
  background:#edf0e1!important;
  color:#46563a!important;
}
.aa-show-date-badge b{display:block;font-size:15px;line-height:1;font-weight:900}
.aa-show-date-badge em{display:block;margin-top:3px;font-size:7.5px;line-height:1;font-style:normal;font-weight:900;letter-spacing:.055em}
.aa-entity-inline-card--show[data-show-kind="international"] .aa-show-date-badge{background:#f2e7cb!important;color:#755615!important}
.aa-entity-inline-card--show[data-show-kind="club"] .aa-show-date-badge{background:#eceae4!important;color:#272724!important}
.aa-entity-inline-card--show[data-show-kind="special"] .aa-show-date-badge{background:#efe2dc!important;color:#714330!important}
.aa-entity-inline-card--show[data-show-kind="champion"] .aa-show-date-badge{background:#f3e1e6!important;color:#7b1734!important}

/* Tablet */
@media (min-width:761px) and (max-width:1100px){
  .aa-entity-inline-card--show{
    border-left-width:6px!important;
    border-radius:14px!important;
  }
  .aa-entity-inline-card--show>summary.aa-show-db-card{
    grid-template-columns:46px minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .aa-entity-inline-card--show>summary .aa-show-date-badge{width:46px!important;height:46px!important;min-width:46px!important}
  .aa-show-date-badge b{font-size:16px!important}
  .aa-show-date-badge em{font-size:7.5px!important}
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy strong{
    font-size:13px!important;line-height:1.18!important;font-weight:800!important;letter-spacing:-.004em!important;
  }
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy small{
    margin-top:4px!important;font-size:12.2px!important;line-height:1.28!important;font-weight:700!important;color:#625c53!important;white-space:normal!important;
  }
}

/* Telefon — selektory celowo bardziej specyficzne niż starsze reguły wspólnych kart encji. */
@media (max-width:760px){
  .aa-entity-inline-card--show{
    border-left-width:6px!important;
    border-radius:14px!important;
  }
  .aa-entity-inline-card--show>summary.aa-show-db-card{
    grid-template-columns:44px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding-left:10px!important;
  }
  .aa-entity-inline-card--show>summary .aa-show-date-badge{width:44px!important;height:44px!important;min-width:44px!important}
  .aa-show-date-badge b{font-size:15px!important}
  .aa-show-date-badge em{font-size:7px!important;margin-top:2px!important}
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy strong{
    font-size:12.6px!important;line-height:1.16!important;font-weight:800!important;letter-spacing:-.004em!important;
  }
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy small{
    margin-top:4px!important;font-size:12.2px!important;line-height:1.24!important;font-weight:700!important;color:#625c53!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  }
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy span{
    margin-top:7px!important;font-size:11.2px!important;line-height:1.28!important;
  }
}
@media (max-width:390px){
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy strong{font-size:12.2px!important;line-height:1.15!important}
  .aa-entity-inline-card--show>summary.aa-show-db-card .aa-golden-db-dog-copy small{font-size:12px!important}
}


/* 0.4.902 — Baza wystawowa: naprawa specyficzności ramki.
 * Starsza reguła .aa-golden-db .aa-entity-inline-card z border:1px!important
 * resetowała border-left kart wystaw. Ten selektor ma tę samą/nadrzędną
 * specyficzność i jawnie ustawia pełną ramkę oraz kolorową lewą krawędź. */
.aa-golden-db .aa-entity-inline-card--show{
  --aa-show-kind-color:#5b6842;
  border:1px solid #ddd2bd!important;
  border-left:6px solid var(--aa-show-kind-color)!important;
  border-radius:14px!important;
  background:#fffaf2!important;
  overflow:hidden!important;
}
.aa-golden-db .aa-entity-inline-card--show[data-show-kind="national"]{--aa-show-kind-color:#5b6842}
.aa-golden-db .aa-entity-inline-card--show[data-show-kind="international"]{--aa-show-kind-color:#b8851c}
.aa-golden-db .aa-entity-inline-card--show[data-show-kind="club"]{--aa-show-kind-color:#1c1c1c}
.aa-golden-db .aa-entity-inline-card--show[data-show-kind="special"]{--aa-show-kind-color:#8d5640}
.aa-golden-db .aa-entity-inline-card--show[data-show-kind="champion"]{--aa-show-kind-color:#7b1734}
.aa-golden-db .aa-entity-inline-card--show[data-show-kind="other"]{--aa-show-kind-color:#8b7a45}


/* 0.4.903 — Baza wystawowa: proporcjonalna grubość akcentu jak w kartach kalendarza.
 * Ten sam mechanizm border-left; jedynie szerokość dopasowana do niższych kart listy. */
.aa-golden-db .aa-entity-inline-card--show{
  border-left-width:5px!important;
}
@media (min-width:761px) and (max-width:1100px){
  .aa-golden-db .aa-entity-inline-card--show{border-left-width:4px!important;}
}
@media (max-width:760px){
  .aa-golden-db .aa-entity-inline-card--show{border-left-width:5px!important;}
}

/* 0.4.927 — desktop: sędziowie obok siebie, bez wymuszania trzech osobnych wierszy. */
@media (min-width: 760px) {
 .aa-db-show-card__overview-judge dd { display:flex!important; flex-flow:row wrap!important; align-items:center!important; gap:0 9px!important; }
 .aa-db-show-card__overview-judge dd > br { display:none!important; }
 .aa-db-show-card__overview-judge .aa-judge-with-country { display:inline-flex!important; width:auto!important; flex:0 1 auto!important; flex-wrap:nowrap!important; }
 .aa-db-show-card__overview-judge .aa-judge-separator { display:inline!important; }
 .aa-db-show-card__overview-judge .aa-judge-country-name { white-space:nowrap!important; }
}

/* 0.4.934 — czytelne, oddzielne pozycje finałów Świerklaniec 2024.
   Wąski zakres: tylko archiwalne oficjalne konkurencje dodatkowe. */
.aa-show-final-competitions .aa-show-ranked-list {
  display: grid;
  gap: 7px;
}
.aa-show-final-competitions .aa-show-ranked-row {
  display: block;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #e7dccb;
  border-left: 3px solid #8b2441;
  border-radius: 7px;
  background: #fffaf3;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.aa-show-final-competitions .aa-show-ranked-row:nth-child(even) {
  background: #f7f1e7;
}
.aa-show-final-competitions .aa-show-ranked-row > strong {
  color: #314c40;
}
.aa-show-final-competitions .aa-show-result-class + .aa-show-result-class {
  margin-top: 21px;
}
@media (max-width: 600px) {
  .aa-show-final-competitions .aa-show-ranked-list { gap: 6px; }
  .aa-show-final-competitions .aa-show-ranked-row { padding: 10px 11px; }
}

/* 0.4.941 – ceny bez szerokiej tabeli; zwijane terminy i grupy */
.aa-price-panel-941{margin:10px 0;padding:10px 12px;background:#fffaf1;border:1px solid #d7c8a7;border-radius:12px;min-width:0}
.aa-price-panel-941>summary{cursor:pointer;color:#304d3c;font-weight:750;font-size:14px;padding:7px 4px;white-space:normal}
.aa-price-source-941{font-size:11px;font-weight:500;color:#66726b}
.aa-price-periods-941{display:grid;gap:7px;margin-top:10px}
.aa-price-period-941,.aa-price-group-941{border:1px solid #e1d7c3;border-radius:9px;overflow:hidden;min-width:0;background:#fffdfa}
.aa-price-period-941>summary,.aa-price-group-941>summary{cursor:pointer;display:flex;gap:8px;justify-content:space-between;align-items:center;padding:11px 12px;color:#365544;font-size:12px;font-weight:750}
.aa-price-period-941[open]>summary{background:#f4efdf}
.aa-price-period-941>summary span,.aa-price-group-941>summary i{font-style:normal;color:#718071}
.aa-price-group-941{margin:6px 7px}.aa-price-group-941>summary span{font-size:11px;white-space:nowrap}
.aa-price-row-941{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 12px;border-top:1px solid #e9e2d7;font-size:12px;line-height:1.4}
.aa-price-row-941 span{min-width:0;overflow-wrap:anywhere}.aa-price-row-941 strong{white-space:nowrap;color:#214b3a}
.aa-price-note-941{font-size:11px;line-height:1.45;margin:10px 4px;color:#5a635c}
.aa-our-refresh-941{border:0;background:transparent;color:#775a63;font-size:13px;padding:4px 6px;cursor:pointer}
.aa-our-cost-list-941{width:100%;max-width:100%;border:1px solid #dbc4bb;border-radius:10px;background:#fffcf8;padding:8px 10px;margin:7px 0;box-sizing:border-box;min-width:0}
.aa-our-cost-list-941[hidden]{display:none!important}
.aa-our-cost-row-941{display:flex;align-items:center;justify-content:space-between;gap:7px;border-bottom:1px solid #ebe2d9;padding:7px 1px;font-size:12px}
.aa-our-cost-dog-941{display:grid;gap:2px;min-width:0}.aa-our-cost-dog-941 strong{color:#274b3a}.aa-our-cost-dog-941 small{font-size:10px;overflow-wrap:anywhere;color:#68726b}
.aa-our-cost-amount-941{white-space:nowrap;text-align:right;color:#6c2840;font-size:11px}.aa-our-cost-total-941{font-size:11px;font-weight:700;text-align:right;padding:8px 0}
.aa-our-cost-footnote-941{font-size:10px;line-height:1.4;color:#786b65;margin:6px 0}

/* 0.4.942: zwarty cennik zgodny z innymi belkami w szczegółach wystawy */
.aa-price-panel-942{padding:0!important;margin:9px 0!important;border-radius:11px!important;overflow:hidden;background:#fffaf2!important}
.aa-price-panel-942>summary{min-height:43px!important;box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px!important;font-size:13px!important;line-height:1.25!important}
.aa-price-panel-942>summary::marker{content:''}.aa-price-panel-942>summary::-webkit-details-marker{display:none}
.aa-price-icon-942{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#536a48;color:#fff9ec;font-size:19px;font-weight:500;line-height:1}
.aa-price-panel-942[open] .aa-price-icon-942{font-size:0}.aa-price-panel-942[open] .aa-price-icon-942:after{content:'−';font-size:19px}
.aa-price-content-942{padding:0 10px 10px;border-top:1px solid #e8dec9}
.aa-price-terms-942{display:flex;gap:4px;margin:10px 0 6px;width:100%}
.aa-price-term-942{flex:1;min-width:0;padding:8px 4px;border:1px solid #dcd0bb;border-radius:7px;background:#fffdf8;color:#375641;font-size:11px;font-weight:650;cursor:pointer}
.aa-price-term-942.is-active{background:#41664f;border-color:#41664f;color:#fff9e9}
.aa-price-selected-942{font-size:11px;color:#59685c;margin:4px 3px 9px;line-height:1.35}
.aa-price-period-view-942[hidden]{display:none!important}
.aa-price-group-942{margin:0;border:0;border-bottom:1px solid #e4dccd;border-radius:0;background:transparent;overflow:visible}
.aa-price-group-942>summary{padding:10px 3px!important;min-height:36px;color:#365342;line-height:1.3}
.aa-price-group-942>summary strong{font-weight:700}.aa-price-group-942>summary span{font-weight:650;color:#536a5b}
.aa-price-group-942[open]>summary{color:#642d40}.aa-price-group-942 .aa-price-row-941{background:#fffdf8;padding:8px 6px}
.aa-price-notes-942{margin:8px 1px 0;color:#697469;font-size:11px}
.aa-price-notes-942>summary{font-weight:650;cursor:pointer;padding:5px 0}
.aa-price-notes-942 p{line-height:1.45;margin:6px 0}

/* 0.4.943: aligned summary style, visible cost panel outside summary, unobtrusive labels. */
.aa-price-panel-942>summary{font-weight:400!important;font-family:inherit!important}
.aa-price-panel-942>summary .aa-price-icon-942{width:23px;height:23px;font-weight:600;font-family:inherit}
.aa-price-panel-942>summary{background:#fffaf1!important}
.aa-our-cost-list-941[hidden]{display:none!important}
.aa-our-cost-list-941{margin:8px 9px 10px!important}

/* Our dogs count stays compact, independent of watch icon. */
.aa-db-show-card .aa-db-show-badge--our-dogs{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px!important;display:inline-flex!important;align-items:center!important;gap:3px!important;min-height:24px!important;color:#792040!important;border-radius:0!important}
.aa-db-show-card .aa-db-show-badge--our-dogs .aa-our-single-paw{font-size:15px!important;line-height:1!important}
.aa-db-show-card .aa-db-show-badge--our-dogs [data-aa-our-dogs-count]{font-size:12px!important}
.aa-db-show-card .aa-db-show-badge--our-dogs>span[aria-hidden="true"]{font-size:10px!important}
.aa-db-show-card .aa-db-show-card__date{gap:0!important;min-height:0!important}
.aa-db-show-card .aa-db-show-card__date>small:empty{display:none!important}

/* 0.4.954 — globally isolated star action. Not scoped to show card because
   detail preview can clone/reparent the summary into its own overlay. */
a.aa-zkwp-watch-icon-0954,
a.aa-zkwp-watch-icon-0954:link,
a.aa-zkwp-watch-icon-0954:visited,
a.aa-zkwp-watch-icon-0954:hover,
a.aa-zkwp-watch-icon-0954:focus,
a.aa-zkwp-watch-icon-0954:focus-visible,
a.aa-zkwp-watch-icon-0954:active,
.aa-db-show-card a.aa-zkwp-watch-icon-0954,
.aa-db-show-card a.aa-zkwp-watch-icon-0954:hover,
.aa-db-show-card a.aa-zkwp-watch-icon-0954.is-watched,
.aa-db-show-card a.aa-zkwp-watch-icon-0954.is-watched:hover{
 appearance:none!important;-webkit-appearance:none!important;
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;vertical-align:middle!important;
 width:38px!important;min-width:38px!important;max-width:38px!important;
 height:36px!important;min-height:36px!important;max-height:36px!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 box-shadow:none!important;text-shadow:none!important;filter:none!important;opacity:1!important;
 color:#792040!important;-webkit-text-fill-color:#792040!important;
 text-decoration:none!important;transform:none!important;transition:none!important;
 overflow:visible!important;font-size:0!important;line-height:1!important;
}
a.aa-zkwp-watch-icon-0954.is-watched,
a.aa-zkwp-watch-icon-0954.is-watched:is(:link,:visited,:hover,:focus,:focus-visible,:active),
.aa-db-show-card a.aa-zkwp-watch-icon-0954.is-watched,
.aa-db-show-card a.aa-zkwp-watch-icon-0954.is-watched:hover{
 color:#c18a20!important;-webkit-text-fill-color:#c18a20!important;
 background:transparent!important;background-color:transparent!important;
}
a.aa-zkwp-watch-icon-0954::before,
a.aa-zkwp-watch-icon-0954::after{content:none!important;display:none!important}
a.aa-zkwp-watch-icon-0954 svg.aa-show-star-svg{
 display:block!important;width:25px!important;height:25px!important;
 min-width:25px!important;min-height:25px!important;flex:0 0 25px!important;
 background:transparent!important;opacity:1!important;visibility:visible!important;
 filter:none!important;transform:none!important;pointer-events:none!important;
 fill:none!important;stroke:#792040!important;
}
a.aa-zkwp-watch-icon-0954 svg.aa-show-star-svg path{
 fill:none!important;stroke:#792040!important;stroke-width:1.5!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
a.aa-zkwp-watch-icon-0954.is-watched svg.aa-show-star-svg,
a.aa-zkwp-watch-icon-0954.is-watched svg.aa-show-star-svg path{
 stroke:#c18a20!important;fill:#c18a20!important;
}
a.aa-zkwp-watch-icon-0954:focus-visible{outline:2px solid #c18a20!important;outline-offset:2px!important}


/* 0.4.956 — wspólny hitbox i kolory SVG dla listy i modalu (bez zmian geometrii w hover). */
a.aa-zkwp-watch-icon-0954, a.aa-zkwp-watch-icon-0954:is(:link,:visited,:hover,:active,:focus,:focus-visible),
.aa-db-show-card a.aa-zkwp-watch-icon-0954:is(:link,:visited,:hover,:active,:focus,:focus-visible){
box-sizing:border-box!important;display:inline-flex!important;flex:0 0 38px!important;align-items:center!important;justify-content:center!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important;transform:none!important;transition:none!important;text-decoration:none!important;}
a.aa-zkwp-watch-icon-0954 svg.aa-show-star-svg{display:block!important;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;transform:none!important;filter:none!important;opacity:1!important;}
a.aa-zkwp-watch-icon-0954:not(.is-watched) svg.aa-show-star-svg path{fill:transparent!important;stroke:#792040!important;}
a.aa-zkwp-watch-icon-0954.is-watched svg.aa-show-star-svg path{fill:#c18a20!important;stroke:#c18a20!important;}

/* 0.4.958 — wyrownanie kontenera zgłoszeń i nazwa rodowodowa. */
.aa-db-show-card [data-aa-our-cost-panel="1"],.aa-db-show-card .aa-our-cost-list-941{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;margin:8px 0 10px!important}
.aa-db-show-card .aa-our-cost-pedigree-958{display:block;font-size:10.5px;line-height:1.4;color:#6b665f;overflow-wrap:anywhere}

/* 0.4.960 — one glyph for price-panel toggle; never overlay a literal + with a pseudo minus. */
.aa-price-panel-942>summary>.aa-price-icon-942{width:24px!important;height:24px!important;min-width:24px!important;display:grid!important;place-items:center!important;position:relative!important;font-size:0!important;line-height:1!important;padding:0!important;box-sizing:border-box!important}
.aa-price-panel-942>summary>.aa-price-icon-942::before{content:'+'!important;display:block!important;position:static!important;font:600 19px/1 Arial,sans-serif!important;transform:none!important;color:#fff9ec!important}
.aa-price-panel-942[open]>summary>.aa-price-icon-942::before{content:'−'!important}
.aa-price-panel-942>summary>.aa-price-icon-942::after{content:none!important;display:none!important}

/* 0.4.962: unified exhibition profile accordions; leave list cards untouched. */
.aa-show-profile-db .aa-price-panel-942>summary,.aa-show-profile-db .aa-db-show-card__overview>summary.aa-db-show-card__panel-summary,.aa-show-profile-db .aa-show-golden-publication>summary.aa-show-golden-publication__summary,.aa-show-profile-db .aa-db-show-card__overview>summary.aa-db-show-card__panel-summary h4,.aa-show-profile-db .aa-show-golden-publication>summary.aa-show-golden-publication__summary h4{font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.3!important}
.aa-show-profile-db .aa-db-show-card[open]>summary .aa-db-show-card__chevron,.aa-show-profile-db .aa-db-show-card[open]>summary .aa-card-arrow,.aa-show-profile-db .aa-db-show-card[open]>summary .aa-show-card-arrow,.aa-show-profile-db .aa-db-show-card[open]>summary .aa-db-show-card__arrow{display:none!important}

/* 0.4.963: same font for all accordion titles, including nested h4 on dashboard. */
.aa-golden-db.aa-show-profile-db .aa-price-panel-942 > summary,
.aa-golden-db.aa-show-profile-db .aa-db-show-card__overview > summary.aa-db-show-card__panel-summary,
.aa-golden-db.aa-show-profile-db .aa-db-show-card__overview > summary.aa-db-show-card__panel-summary > h4,
.aa-golden-db.aa-show-profile-db .aa-show-golden-publication > summary.aa-show-golden-publication__summary,
.aa-golden-db.aa-show-profile-db .aa-show-golden-publication > summary.aa-show-golden-publication__summary > h4{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:normal!important}

/* 0.4.963: same font for all accordion titles, including nested h4 on dashboard. */
.aa-golden-db.aa-show-profile-db .aa-price-panel-942 > summary,
.aa-golden-db.aa-show-profile-db .aa-db-show-card__overview > summary.aa-db-show-card__panel-summary,
.aa-golden-db.aa-show-profile-db .aa-db-show-card__overview > summary.aa-db-show-card__panel-summary > h4,
.aa-golden-db.aa-show-profile-db .aa-show-golden-publication > summary.aa-show-golden-publication__summary,
.aa-golden-db.aa-show-profile-db .aa-show-golden-publication > summary.aa-show-golden-publication__summary > h4{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:normal!important}

/* AA-ZKwP 0.4.964: spójne przyciski zamykania modali; tylko komponenty ZKwP. */
:is(.aa-detail-modal__close,.aa-registration-modal__close,.aa-show-classes-modal__close,.aa-show-public-preview-close){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 44px!important;flex-grow:0!important;flex-shrink:0!important;
  box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  padding:0!important;margin-left:auto!important;overflow:hidden!important;
  border:1px solid #6f1831!important;border-radius:50%!important;
  background:#6f1831!important;color:#fff4df!important;
  font:700 26px/1 system-ui,sans-serif!important;text-align:center!important;white-space:nowrap!important;
  cursor:pointer!important;box-shadow:none!important;
}
:is(.aa-detail-modal__close,.aa-registration-modal__close,.aa-show-classes-modal__close,.aa-show-public-preview-close):is(:hover,:focus-visible,:active){background:#541023!important;color:#fff4df!important;border-color:#541023!important}
:is(.aa-detail-modal__head,.aa-registration-modal__header,.aa-show-classes-modal__head,.aa-show-public-preview-head){display:flex;align-items:center;gap:10px}
:is(.aa-detail-modal__head-left,.aa-registration-modal__header>div,.aa-show-classes-modal__head>div,.aa-show-public-preview-head>strong){min-width:0;overflow-wrap:anywhere}

/* 0.4.966: wspólna gwiazdka do dodawania i usuwania obserwacji. */
.aa-entity-watch-action.aa-watch-star,
.aa-my-watched .aa-my-watched-row a.aa-watch-star,
.aa-profile-watch-bar a.aa-watch-star {box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;box-shadow:none!important;border-radius:9px!important;background:transparent!important;color:#275143!important;font-size:30px!important;font-weight:600!important;line-height:1!important;text-decoration:none!important;vertical-align:middle!important;flex:0 0 44px!important}
.aa-entity-watch-action.aa-watch-star.is-watched,
.aa-my-watched .aa-my-watched-row a.aa-watch-star.is-watched {color:#c39a42!important;background:transparent!important}
.aa-entity-watch-action.aa-watch-star:hover,.aa-entity-watch-action.aa-watch-star:focus-visible{background:#f3ecdf!important;outline:2px solid #c39a42!important;outline-offset:1px}
@media(max-width:760px){.aa-profile-watch-bar .aa-entity-watch-action.aa-watch-star,.aa-my-watched .aa-my-watched-row a.aa-watch-star{width:44px!important;max-width:44px!important}}

/* 0.4.968 — flagi jako obrazy, czytelne we wszystkich emulatorach. */
.aa-flag-image-0968{display:inline-block!important;width:1.45em!important;height:1.08em!important;max-width:100%!important;object-fit:contain!important;vertical-align:-.13em!important;flex:none!important;border:0!important;background:transparent!important;}
.aa-golden-db-dog-mark .aa-flag-image-0968,.aa-person-country-avatar .aa-flag-image-0968,.aa-dog-country-avatar .aa-flag-image-0968{width:30px!important;height:23px!important;vertical-align:middle!important;}

/* 0.4.974: transparent star for exhibition dog profile (all states). */
.aa-golden-dog-profile .aa-profile-watch-bar a.aa-dog-watch-star-0467:is(:link,:visited,:hover,:active,:focus),
.aa-golden-dog-profile .aa-profile-watch-bar a.aa-dog-watch-star-0467.is-watched{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important;outline:none!important}
.aa-golden-dog-profile .aa-profile-watch-bar a.aa-dog-watch-star-0467:focus-visible{outline:2px solid #b58a25!important;outline-offset:2px!important}

/* 0.4.975: Gwiazdki bazy wystaw i profilu — ten sam wygląd jak w kalendarzu. */
.aa-show-db-grid .aa-entity-inline-card--show{position:relative!important}
.aa-show-db-grid .aa-show-db-watch-toggle-0975{position:absolute!important;right:26px!important;top:13px!important;z-index:4!important;cursor:pointer!important}
.aa-show-db-grid .aa-show-db-card{padding-right:61px!important}
.aa-show-db-profile-watch-0975{display:flex;justify-content:flex-end;align-items:center;min-height:40px;margin:2px 10px 8px}
.aa-show-db-profile-watch-0975 .aa-show-db-watch-toggle-0975{cursor:pointer!important}
.aa-show-db-watch-toggle-0975{border:0!important;background:transparent!important;box-shadow:none!important}
@media(max-width:420px){.aa-show-db-grid .aa-show-db-watch-toggle-0975{right:18px!important;top:12px!important}}

/* 0.4.987: confirmation must render above even nested profile dialog and overlay. */
.aa-my-dog-confirm:not([hidden]){z-index:2147483646!important;isolation:isolate!important;visibility:visible!important;pointer-events:auto!important}
.aa-my-dog-confirm__dialog{position:relative!important;z-index:1!important}

/* 0.4.995 — spójne nagłówki i krótkie listy obserwowanych w modalach Centrum. */
.aa-modal-events-count995{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:8px 5px 8px;font:700 11px/1.2 Arial,sans-serif;color:#315944}
.aa-modal-events-count995 .aa-show-counter-live{color:#7b1e32;font-weight:800}
.aa-my-watched-intro995{margin:0 0 10px!important;color:#546557;font-size:12px;line-height:1.4}
.aa-my-watched--accordion .aa-my-watched-accordion-list{display:grid!important;gap:9px!important;margin-top:8px!important}
.aa-my-watched--accordion .aa-my-watched-group{border-radius:13px!important;margin:0!important}
.aa-my-watched--accordion .aa-my-watched-group__summary{min-height:54px!important;padding:6px 12px!important;gap:9px!important;grid-template-columns:30px minmax(0,1fr) auto 12px!important}
.aa-my-watched--accordion .aa-my-watched-group__summary>.aa-watched-title995{font-size:14px!important;font-weight:700!important;line-height:1.2!important;min-width:0}
.aa-my-watched--accordion .aa-my-watched-group__summary>.aa-watched-icon995{width:30px;height:30px;display:grid;place-items:center;background:#f1e5ce;border-radius:9px;color:#315944;font:700 18px/1 Arial,sans-serif}
.aa-my-watched--accordion .aa-my-watched-group__summary>b{min-width:28px!important;width:auto!important;height:28px!important;font-size:11px!important;padding:0 7px!important}
.aa-my-watched--accordion .aa-my-watched-group__summary>i{width:8px!important;height:8px!important}
.aa-my-watched--accordion .aa-my-watched-group--show .aa-watched-icon995{background:#f3e5bb;color:#81600c}
.aa-my-watched--accordion .aa-my-watched-group--dog .aa-watched-icon995{background:#e4eddb;color:#526c3c}
.aa-my-watched--accordion .aa-my-watched-group--judge .aa-watched-icon995{background:#f3e1e6;color:#7b1e32}
.aa-my-watched--accordion .aa-my-watched-group--owner .aa-watched-icon995{background:#eeeddc;color:#676b39}
.aa-my-watched--accordion .aa-my-watched-group--breeder .aa-watched-icon995{background:#f1e4d9;color:#946040}

/* 0.4.996 — consistent calendar year/month control geometry in AA modal. */
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav{width:100%;max-width:none;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:8px;align-items:center;margin:0;padding:5px 8px;}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{display:grid;grid-template-columns:58px minmax(0,1fr);gap:6px;align-items:center;width:100%;min-width:0;margin:0;padding:0;}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select>span,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select>span{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap;font-size:10px;letter-spacing:0;}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select select,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select select{box-sizing:border-box;width:100%;max-width:none;min-width:0;height:40px;min-height:40px;margin:0;padding:5px 8px;border-radius:9px;font-size:13px;}
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-arrow,
.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav>a{box-sizing:border-box;width:40px;height:40px;min-height:40px;margin:0;padding:0;display:grid!important;place-items:center!important;}
@media(max-width:560px){.aa-show-calendar-wrap .aa-show-date-controls .aa-show-nav,.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-switcher{grid-template-columns:40px minmax(0,1fr) 40px;}.aa-show-calendar-wrap .aa-show-date-controls .aa-show-year-select,.aa-show-calendar-wrap .aa-show-date-controls .aa-show-month-select{grid-template-columns:52px minmax(0,1fr);}}

/* 0.4.999 — mobile-safe map zoom controls (buttons, not navigation links) */
.aa-zkwp-map-zoom-buttons{display:flex;flex-direction:column;overflow:hidden;border-radius:4px;background:#fff;}
.aa-zkwp-map-zoom-button{display:block!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:0!important;border-bottom:1px solid #bbb!important;border-radius:0!important;background:#fff!important;color:#222!important;font:bold 21px/32px Arial,sans-serif!important;text-align:center!important;cursor:pointer!important;touch-action:manipulation;}
.aa-zkwp-map-zoom-button:last-child{border-bottom:0!important;}
.aa-zkwp-map-zoom-button:focus-visible{outline:2px solid #7b1734;outline-offset:-2px;}

/* 0.4.999 — Map info panel stays inside the map; no full-map overlay on mobile. */
.aa-show-map-stage{overflow-anchor:none;}
.aa-show-map-info-panel{overflow-anchor:none;}
@media(max-width:760px){
  .aa-show-map-info-panel{
    top:auto;
    right:6px;
    bottom:6px;
    left:6px;
    width:auto;
    height:auto;
    max-height:min(45%, 250px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .aa-show-map-info-content{max-height:none;overflow:visible;}
}

/* 0.4.1000: Keep the calendar viewport stable when an in-map information panel opens. */
.aa-show-calendar-wrap,.aa-show-map-panel,.aa-show-map-stage,.aa-show-map-canvas{overflow-anchor:none;}
@media(max-width:760px){
  .aa-show-map-stage{position:relative;}
  .aa-show-map-info-panel{position:absolute;top:auto;left:6px;right:6px;bottom:6px;max-height:220px;overflow-y:auto;overscroll-behavior:contain;}
}

/* 0.4.1008 — zachowaj idealnie okrągły licznik historii (również na mobile). */
.aa-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-profile-history-count,
.aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-profile-history-count,
.aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-profile-history-count {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}

/* 0.4.1010 — trzy liczniki na głównych belkach profilu psa.
   Jednaka geometria niezależna od tagu span/strong i jego stylów historycznych. */
.aa-dog-profile .aa-dog-profile-entries-private > .aa-dog-section-head .aa-dog-section-count,
.aa-dog-profile .aa-dog-judges > .aa-dog-judges-head .aa-dog-section-count,
.aa-dog-profile .aa-dog-profile-history-collapsible > .aa-dog-profile-history-head .aa-dog-section-count {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 64px!important;
  box-sizing:border-box!important;
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  height:64px!important;
  min-height:64px!important;
  max-height:64px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  font-size:19px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#fff!important;
  font-variant-numeric:tabular-nums;
}
.aa-dog-profile .aa-dog-profile-entries-private > .aa-dog-section-head .aa-dog-section-count { background:#336b91!important; }
.aa-dog-profile .aa-dog-judges > .aa-dog-judges-head .aa-dog-section-count { background:#602537!important; }
.aa-dog-profile .aa-dog-profile-history-collapsible > .aa-dog-profile-history-head .aa-dog-section-count { background:#a0772f!important; }
@media(max-width:390px){
  .aa-dog-profile .aa-dog-profile-entries-private > .aa-dog-section-head .aa-dog-section-count,
  .aa-dog-profile .aa-dog-judges > .aa-dog-judges-head .aa-dog-section-count,
  .aa-dog-profile .aa-dog-profile-history-collapsible > .aa-dog-profile-history-head .aa-dog-section-count{
    flex-basis:54px!important;width:54px!important;min-width:54px!important;max-width:54px!important;
    height:54px!important;min-height:54px!important;max-height:54px!important;font-size:17px!important;
  }
}

/* 0.4.1011 — zgłoszenia: priorytet nad wcześniejszym regułami is-sent/is-accepted. */
.aa-dog-profile .aa-dog-private-entry-section.is-sent > .aa-dog-section-head .aa-dog-section-summary-meta > .aa-dog-section-count,
.aa-dog-profile .aa-dog-private-entry-section.is-accepted > .aa-dog-section-head .aa-dog-section-summary-meta > .aa-dog-section-count {background-color:#336b91!important;background:#336b91!important;}
.aa-dog-profile .aa-dog-judges > .aa-dog-judges-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#602537!important;}
.aa-dog-profile .aa-dog-profile-history-collapsible:not(.aa-dog-profile-entries-private) > .aa-dog-profile-history-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#a0772f!important;}

/* 0.4.1022 — jeden typ belki = jedna nazwa i jeden kolor na wszystkich profilach.
   Klasy is-* wybierają kolor przed generycznym stylem historii. */
.aa-dog-profile .aa-dog-private-entry-section.is-sent > .aa-dog-section-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#336b91!important;}
.aa-dog-profile .aa-dog-private-entry-section.is-accepted > .aa-dog-section-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#2f7351!important;}
.aa-dog-profile .aa-dog-private-entry-section.is-cancelled > .aa-dog-section-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#b16b35!important;}
.aa-dog-profile .aa-dog-judges > .aa-dog-judges-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#602537!important;}
.aa-dog-profile .aa-dog-profile-history-collapsible:not(.aa-dog-profile-entries-private) > .aa-dog-profile-history-head .aa-dog-section-summary-meta > .aa-dog-section-count {background:#a0772f!important;}

/* 0.4.1031 — PDF viewer is a single fullscreen layer on mobile, not stacked dialogs. */
@media(max-width:900px){
 html.aa-registration-pdf-open [data-aa-registration-modal="1"]:not([data-aa-registration-pdf-modal="1"]){visibility:hidden!important;pointer-events:none!important}
 html.aa-registration-pdf-open .aa-registration-pdf-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:2147483647!important;display:flex!important;padding:0!important;overflow:hidden!important}
 html.aa-registration-pdf-open .aa-registration-pdf-dialog{width:100%!important;min-height:0!important;max-height:100dvh!important;height:100dvh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 html.aa-registration-pdf-open .aa-registration-pdf-stage{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}
}

/* 0.4.1035 — compact own-dog cards on mobile. Replaces the 0.4.1033 block,
   rather than layering additional competing layout overrides. Scoped to own dogs only. */
@media screen and (max-width:760px) {
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:none!important;
    grid-auto-rows:max-content!important;
    align-items:center!important;
    justify-content:stretch!important;
    align-content:start!important;
    gap:3px 10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    box-sizing:border-box!important;
    padding:10px 12px!important;
    overflow:visible!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > * {
    box-sizing:border-box!important;
    position:static!important;
    float:none!important;
    grid-row:auto!important;
    order:initial!important;
    min-width:0!important;
    max-width:100%!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    hyphens:none!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-home-name {
    display:block!important;
    grid-column:1!important;
    font-size:1.08rem!important;
    font-weight:700!important;
    line-height:1.25!important;
    color:#76213c!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-place-badge.is-place-none{display:none!important}
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-place-badge:not(.is-place-none) {
    display:inline-flex!important;
    grid-column:2!important;
    padding:3px 6px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-catalog-number {
    display:inline-flex!important;
    grid-column:2!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:end!important;
    padding:4px 9px!important;
    border-radius:999px!important;
    background:#f0e8da!important;
    white-space:nowrap!important;
    font-size:.77rem!important;
    line-height:1.3!important;
    font-variant-numeric:tabular-nums!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-result-name {
    display:block!important;
    grid-column:1/-1!important;
    font-size:.93rem!important;
    line-height:1.3!important;
    font-weight:700!important;
    padding-top:0!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-own-meta {
    display:flex!important;
    grid-column:1/-1!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:3px!important;
    font-size:.81rem!important;
    line-height:1.3!important;
    padding:0 0 7px!important;
    border-bottom:1px solid #e7dccc!important;
  }
  /* Klasa wystawowa bez odziedziczonych marginesów i minimalnych wysokości. */
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-own-meta .aa-show-result-class,
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-own-meta .aa-show-grade,
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-own-meta .aa-show-result-separator {
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    height:auto!important;
    line-height:1.25!important;
    align-self:center!important;
    white-space:normal!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-result-name a {
    line-height:inherit!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-own-titles {
    display:flex!important;
    grid-column:1/-1!important;
    flex-wrap:wrap!important;
    gap:5px!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-result-owner,
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-result-breeder {
    display:block!important;
    grid-column:1/-1!important;
    font-size:.82rem!important;
    line-height:1.4!important;
    padding:2px 0!important;
    color:#334f43!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-result-owner b,
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-result-breeder b {
    display:inline!important;
    margin:0 5px 0 0!important;
    font-size:.8rem!important;
    font-weight:700!important;
    color:#6f1831!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog > .aa-show-own-note {
    display:block!important;
    grid-column:1/-1!important;
    margin-top:3px!important;
    padding:6px 8px!important;
    border-radius:7px!important;
    background:#eef3e9!important;
    color:#315443!important;
    font-size:.77rem!important;
    line-height:1.3!important;
  }
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog a,
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog .aa-show-result-owner *,
  .aa-show-publication-own-dogs article.aa-show-ranked-entry.is-own-dog .aa-show-result-breeder * {
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    hyphens:none!important;
  }
}

/* 0.4.1036 — mobile dog details: long section labels never overlap count/chevron. */
@media(max-width:760px){
 .aa-golden-dog-profile .aa-dog-judges>.aa-dog-judges-head,
 .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head,
 .aa-watched-dog-profile .aa-dog-judges>.aa-dog-judges-head,
 .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head{
   display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
   align-items:center!important;column-gap:12px!important;min-width:0!important;
 }
 .aa-golden-dog-profile .aa-dog-judges>.aa-dog-judges-head h3,
 .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head h3,
 .aa-watched-dog-profile .aa-dog-judges>.aa-dog-judges-head h3,
 .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head h3{
   min-width:0!important;max-width:100%!important;white-space:normal!important;
   overflow-wrap:normal!important;word-break:normal!important;
   font-size:clamp(14px,4vw,17px)!important;line-height:1.25!important;
 }
 .aa-golden-dog-profile .aa-dog-judges>.aa-dog-judges-head .aa-dog-section-summary-meta,
 .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-summary-meta,
 .aa-watched-dog-profile .aa-dog-judges>.aa-dog-judges-head .aa-dog-section-summary-meta,
 .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-summary-meta{
   margin:0!important;display:inline-flex!important;justify-content:flex-end!important;
   min-width:0!important;white-space:nowrap!important;gap:9px!important;
 }
 .aa-golden-dog-profile .aa-dog-judges>.aa-dog-judges-head .aa-dog-section-count,
 .aa-golden-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-count,
 .aa-watched-dog-profile .aa-dog-judges>.aa-dog-judges-head .aa-dog-section-count,
 .aa-watched-dog-profile .aa-dog-profile-history-collapsible>.aa-dog-profile-history-head .aa-dog-section-count{
   flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;
   max-width:38px!important;min-height:38px!important;max-height:38px!important;
   padding:0!important;font-size:13px!important;
 }
 .aa-golden-dog-profile .aa-golden-dog-hero h2,
 .aa-watched-dog-profile .aa-golden-dog-hero h2{
   font-size:clamp(19px,5.4vw,23px)!important;line-height:1.2!important;
   overflow-wrap:break-word!important;word-break:normal!important;
 }
}

/* 0.4.1037 — jawny sygnał uszkodzonego odczytu właściciela z katalogu. */
.aa-person-data-warning-1037{display:inline-block;color:#87344b!important;font-weight:700;line-height:1.4;overflow-wrap:break-word;word-break:normal;}

/* 0.4.1040 — status miesiąca podczas bezpiecznej nawigacji wewnątrz panelu. */
.aa-show-calendar-wrap .aa-calendar-nav-loading-1040{font-size:12px;font-weight:700;color:#315d47;padding:5px 10px;align-self:center}
.aa-show-calendar-wrap[aria-busy="true"] .aa-show-date-controls{opacity:.7}

/* 0.4.1049 — mobilny edytor profilu: otwarty panel zajmuje cały wiersz.
   Poprzednie flex:1 1 100% było redukowane przez inne elementy paska. */
@media (max-width:760px){
 .aa-golden-dog-profile .aa-profile-watch-bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794[open]{grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:6px 0!important;box-sizing:border-box!important}
 .aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794:not([open]){min-width:0!important;max-width:100%!important}
 .aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794[open] .aa-dog-profile-edit-form-0794{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1fr)!important;padding:14px!important}
 .aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794[open] .aa-dog-profile-edit-form-0794 label{min-width:0!important;max-width:100%!important}
 .aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794[open] .aa-dog-profile-edit-form-0794 input,.aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794[open] .aa-dog-profile-edit-form-0794 select{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important}
 .aa-golden-dog-profile .aa-profile-watch-bar>.aa-dog-profile-admin-0794[open] .aa-dog-extended-edit-grid{grid-template-columns:minmax(0,1fr)!important}
}

/* 0.4.1051 — wspólny pasek naszych psów i czytelne potwierdzenie odświeżania. */
.aa-db-show-card .aa-db-show-card__badges>.aa-our-refresh-group-1051{display:inline-flex!important;align-items:stretch!important;flex:0 0 auto;gap:0!important;border:1px solid #d8d4c9!important;border-radius:999px!important;background:#f3e9dd!important;overflow:visible;white-space:nowrap;max-width:100%}
.aa-db-show-card .aa-our-refresh-group-1051>.aa-our-dogs-pill{border:0!important;border-radius:999px 0 0 999px!important;margin:0!important;padding:5px 8px!important;min-height:30px!important}
.aa-db-show-card .aa-our-refresh-group-1051>.aa-our-refresh-941{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;min-height:30px!important;margin:0!important;padding:4px!important;border:0!important;border-left:1px solid #d8d4c9!important;border-radius:0 999px 999px 0!important;background:#f3e9dd!important;color:#6f1831!important;font-size:18px!important;line-height:1!important;opacity:1!important;transition:background .15s ease}
.aa-db-show-card .aa-our-refresh-group-1051>.aa-our-refresh-941:hover,.aa-db-show-card .aa-our-refresh-group-1051>.aa-our-refresh-941:focus-visible{background:#e5ddd2!important;outline:2px solid #b48b6e!important;outline-offset:2px}
.aa-db-show-card .aa-our-refresh-group-1051>.aa-our-refresh-941.is-loading{animation:aa-golden-refresh-spin .8s linear infinite!important;background:#f5e9c8!important;cursor:progress!important}
.aa-refresh-dialog-1051[hidden]{display:none!important}
.aa-refresh-dialog-1051{position:fixed!important;inset:0!important;z-index:2147483600!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;box-sizing:border-box!important;background:rgba(13,31,24,.58)!important}
.aa-refresh-dialog-1051__box{width:min(480px,100%)!important;max-height:85dvh!important;overflow:auto!important;display:grid!important;gap:15px!important;padding:23px!important;border:1px solid #d8c6a6!important;border-radius:20px!important;background:#fffaf1!important;color:#234637!important;box-shadow:0 20px 60px #13271d55!important;font:500 15px/1.55 system-ui,sans-serif!important}
.aa-refresh-dialog-1051__box h3{margin:0!important;color:#6f1831!important;font:700 23px/1.2 Georgia,serif!important}
.aa-refresh-dialog-1051__message{margin:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-size:15px!important}
.aa-refresh-dialog-1051[data-state="loading"] .aa-refresh-dialog-1051__message:before{content:'↻';display:inline-block;margin-right:10px;color:#ad7b17;animation:aa-golden-refresh-spin .8s linear infinite}
.aa-refresh-dialog-1051__close{justify-self:end!important;min-height:42px!important;padding:9px 24px!important;border:0!important;border-radius:12px!important;background:#751937!important;color:#fffaf1!important;font-weight:750!important;cursor:pointer!important}
.aa-refresh-dialog-1051__close:focus-visible{outline:3px solid #c89b4d!important;outline-offset:2px!important}
/* Stare małe dymki zostają wyłączone, bo wszystkie szczegóły trafiają do modalu. */
.aa-db-show-card .aa-golden-count-pill--refreshable.is-status-visible::after,.aa-db-show-card .aa-our-dogs-pill.is-status-visible::after{display:none!important}
@media(max-width:620px){.aa-refresh-dialog-1051__box{padding:19px!important}.aa-refresh-dialog-1051__box h3{font-size:21px!important}}

/* 0.4.1052 — wyłącz poprzedni dymek terminu w każdej szerokości. */
.aa-db-show-card .aa-registration-pill-refresh::after{display:none!important;content:none!important}


/* 0.4.1077 — ujednolicone chevrony i stabilna odznaka miejsca w wynikach. */
.aa-show-place-badge{
  min-width:30px!important;
  width:30px!important;
  max-width:30px!important;
  min-height:30px!important;
  height:30px!important;
  max-height:30px!important;
  aspect-ratio:1/1!important;
  line-height:1!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}
.aa-show-ranked-entry.is-own-dog .aa-show-place-badge{
  justify-self:start!important;
  align-self:start!important;
}
.aa-show-publication-own-dogs>summary .aa-show-chevron,
.aa-show-ranked-results>summary .aa-show-chevron,
.aa-show-publication-source>summary .aa-show-chevron,
.aa-show-source-classes>summary .aa-show-chevron,
.aa-show-dog-sex-group>summary .aa-show-chevron{
  display:inline-flex!important;
  flex:0 0 10px!important;
  width:10px!important;
  height:10px!important;
  margin-right:4px!important;
  border-right:2px solid #6f1831!important;
  border-bottom:2px solid #6f1831!important;
  transform:rotate(-45deg)!important;
  transition:transform .16s ease!important;
}
.aa-show-publication-own-dogs[open]>summary .aa-show-chevron,
.aa-show-ranked-results[open]>summary .aa-show-chevron,
.aa-show-publication-source[open]>summary .aa-show-chevron,
.aa-show-source-classes[open]>summary .aa-show-chevron,
.aa-show-dog-sex-group[open]>summary .aa-show-chevron{
  transform:rotate(45deg)!important;
}
.aa-show-publication-own-dogs>summary .aa-show-chevron::before,
.aa-show-publication-own-dogs>summary .aa-show-chevron::after,
.aa-show-ranked-results>summary .aa-show-chevron::before,
.aa-show-ranked-results>summary .aa-show-chevron::after,
.aa-show-publication-source>summary .aa-show-chevron::before,
.aa-show-publication-source>summary .aa-show-chevron::after,
.aa-show-source-classes>summary .aa-show-chevron::before,
.aa-show-source-classes>summary .aa-show-chevron::after,
.aa-show-dog-sex-group>summary .aa-show-chevron::before,
.aa-show-dog-sex-group>summary .aa-show-chevron::after{
  content:none!important;
  display:none!important;
}
