/* com_leg - profil uzytkownika. Wzor wizualny: addony LEG / SP Page Builder. */
.com-leg.profile.item.leg-profile { --leg-gold:#b08a45; --leg-soft:var(--color3,#f4f2f3); --leg-border:#e5e5e5; --leg-muted:#666a72; --leg-radius:var(--bRad,12px); --leg-shadow:0 2px 12px rgba(0,0,0,.075); --leg-gap:20px; --section-padding:12px; width:100%; margin:0 auto; color:#2c2e31; font-family:var(--font1,inherit); background-image:url('/images/leg/template/profile-pattern.svg'); background-repeat:repeat; background-size:900px 600px; }
.com-leg.profile.item.leg-profile *, .com-leg.profile.item.leg-profile *::before, .com-leg.profile.item.leg-profile *::after { box-sizing:border-box; }
.com-leg.profile.item.leg-profile img { max-width:100%; }
.com-leg.profile.item.leg-profile a:not(.btn) { text-decoration:none; }
.com-leg.profile.item.leg-profile .toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 14px; padding:0 4px; }
.com-leg.profile.item.leg-profile .toolbar .icon { width:17px; height:17px; object-fit:contain; }
.com-leg.profile.item.leg-profile .profile-nav-control { position:sticky; top:0; z-index:20; margin:0 0 14px; overflow:visible; border:0; background:transparent; box-shadow:none; }
.com-leg.profile.item.leg-profile .profile-nav-current { display:none; }
.com-leg.profile.item.leg-profile .profile-nav { display:flex; align-items:stretch; justify-content:space-between; gap:2px; padding:7px 16px 0; overflow-x:auto; border:1px solid var(--leg-border); border-top:2px solid var(--color1); border-radius:0 0 var(--leg-radius) var(--leg-radius); background:rgba(255,255,255,.97); box-shadow:var(--leg-shadow); scrollbar-width:thin; }
.com-leg.profile.item.leg-profile .profile-nav a { min-width:122px; flex:1 0 auto; position:relative; display:flex; flex-direction:column; align-items:center; gap:7px; padding:7px 8px 10px; color:#33383f; text-align:center; line-height:1.1; font-weight:700; text-transform:uppercase; white-space:nowrap; }
.com-leg.profile.item.leg-profile .profile-nav a::after { content:''; width:0; height:2px; position:absolute; bottom:0; left:50%; transform:translateX(-50%); background:var(--color1); transition:width .18s ease; }
.com-leg.profile.item.leg-profile .profile-nav a:hover::after,.com-leg.profile.item.leg-profile .profile-nav a:focus::after,.com-leg.profile.item.leg-profile .profile-nav a.active::after { width:72%; }
.com-leg.profile.item.leg-profile .profile-nav .nav-icon { width:44px; height:44px; display:flex; align-items:center; justify-content:center; border:1px solid #e2e2e2; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.09); }
.com-leg.profile.item.leg-profile .profile-nav .nav-icon img { width:24px; height:24px; object-fit:contain; }
.com-leg.profile.item.leg-profile .profile-nav a.active .nav-icon { border-color:var(--color1); background:var(--color1); }
.com-leg.profile.item.leg-profile .profile-nav a.active .nav-icon img { filter:brightness(0) invert(1); }
.com-leg.profile.item.leg-profile .profile-nav .nav-note { color:var(--leg-muted); text-transform:none; }
.com-leg.profile.item.leg-profile .hero { min-height:270px; display:flex; align-items:center; gap:40px; margin-bottom:28px; padding:28px 38px; overflow:hidden; border-radius:var(--leg-radius); background-color:var(--color2); background-image:linear-gradient(90deg,rgba(70,12,10,.12),rgba(70,12,10,.08)),url('/images/leg/template/profile-cover-default.svg'); background-size:cover; background-position:center right; color:#fff; box-shadow:var(--leg-shadow); }
.com-leg.profile.item.leg-profile .hero-person { min-width:0; flex:1 1 45%; display:flex; align-items:center; gap:24px; }
.com-leg.profile.item.leg-profile .hero .avatar { width:176px; height:176px; flex:0 0 176px; margin:0; overflow:hidden; border:3px solid rgba(255,255,255,.9); border-radius:50%; background:#fff; box-shadow:0 5px 20px rgba(0,0,0,.18); }
.com-leg.profile.item.leg-profile .hero .avatar img { width:100%; height:100%; display:block; object-fit:cover; }
.com-leg.profile.item.leg-profile .hero-copy { min-width:0; }
.com-leg.profile.item.leg-profile .hero h1 { margin:0 0 8px; color:#fff;  line-height:1;  }
.com-leg.profile.item.leg-profile .hero .role { max-width:540px; margin-bottom:12px; color:#fff;  line-height:1.2;  }
.com-leg.profile.item.leg-profile .hero-location { display:flex; align-items:center; gap:8px; color:#fff;  }
.com-leg.profile.item.leg-profile .hero-location img { width:18px; height:18px; filter:brightness(0) invert(1); }
.com-leg.profile.item.leg-profile .social-links { display:flex; align-items:center; gap:8px; margin-top:17px; }
.com-leg.profile.item.leg-profile .social-links a { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.82); border-radius:50%; background:rgba(255,255,255,.05); position:relative;top:0;transition:background-color .16s ease,top .16s ease; }
.com-leg.profile.item.leg-profile .social-links a:hover, .com-leg.profile.item.leg-profile .social-links a:focus { background:#fff; top:-2px; }
.com-leg.profile.item.leg-profile .social-links img { width:19px; height:19px; filter:brightness(0) invert(1); }
.com-leg.profile.item.leg-profile .social-links a:hover img, .com-leg.profile.item.leg-profile .social-links a:focus img { filter:none; }
.com-leg.profile.item.leg-profile .social-links-mobile { display:none; }
.com-leg.profile.item.leg-profile .hero-affiliations { flex:1 1 55%; display:flex; align-items:flex-start; justify-content:flex-end; gap:20px; }
.com-leg.profile.item.leg-profile .affiliation { min-width:0; flex:0 1 150px; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; color:#fff; }
.com-leg.profile.item.leg-profile .affiliation-logo { width:96px; height:96px; display:flex; overflow:hidden; align-items:center; justify-content:center; border:2px solid rgba(255,255,255,.88); border-radius:50%; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.12); }
.com-leg.profile.item.leg-profile .affiliation-logo img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.com-leg.profile.item.leg-profile .affiliation small { margin-top:3px; color:rgba(255,255,255,.76);  text-transform:uppercase;  }
.com-leg.profile.item.leg-profile .affiliation strong { max-width:150px; color:#fff;  line-height:1.2;  }
.com-leg.profile.item.leg-profile .affiliation.is-todo { opacity:.7; }
.com-leg.profile.item.leg-profile .affiliation.is-todo .affiliation-logo { border-style:dashed; background:rgba(255,255,255,.92); }
.com-leg.profile.item.leg-profile .profile-section { margin:0 0 26px; padding:var(--section-padding); scroll-margin-top:115px; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:rgba(255,255,255,.965); box-shadow:var(--leg-shadow); }
.com-leg.profile.item.leg-profile .profile-body { width:100%; min-width:0; }
.com-leg.profile.item.leg-profile .profile-body.has-sidebar { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,320px); gap:24px; align-items:start; }
.com-leg.profile.item.leg-profile .profile-main { min-width:0; }
.com-leg.profile.item.leg-profile .profile-sidebar { min-width:0; position:sticky; top:116px; }
.com-leg.profile.item.leg-profile .profile-sidebar-inner { min-width:0; }
.com-leg.profile.item.leg-profile .profile-sidebar-inner > * + * { margin-top:18px; }
.com-leg.profile.item.leg-profile .heading { display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.com-leg.profile.item.leg-profile .heading.centered { flex-direction:column; justify-content:center; gap:5px; text-align:center; }
.com-leg.profile.item.leg-profile .heading.compact { margin-bottom:18px; }
.com-leg.profile.item.leg-profile .heading .eyebrow{ color:var(--leg-gold); line-height:1;    }
.com-leg.profile.item.leg-profile .heading h2 { font-family:var(--font2,inherit); margin:0; color:#34363a;  line-height:1.06;  }
.com-leg.profile.item.leg-profile .heading h3 { font-family:var(--font2,inherit); margin:0; color:#34363a;  line-height:1.1;  }
.com-leg.profile.item.leg-profile .heading p { margin:2px 0 0; color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .heading-icon { width:34px; height:34px; display:flex; align-items:center; justify-content:center; margin-top:3px; border-radius:50%; background:#fff; box-shadow:0 1px 7px rgba(0,0,0,.1); }
.com-leg.profile.item.leg-profile .heading-icon img { width:19px; height:19px; }
.com-leg.profile.item.leg-profile .heading-icon i { color:var(--color1);  }
.com-leg.profile.item.leg-profile .title-accent { color:var(--color1); }
.com-leg.profile.item.leg-profile .section-heading { align-items:flex-start; }
.com-leg.profile.item.leg-profile .section-heading.small { margin-top:28px; }

.com-leg.profile.item.leg-profile .items { display:flex; flex-wrap:wrap; gap:var(--leg-gap); }
.com-leg.profile.item.leg-profile .profile-stats { justify-content:center; margin-bottom:26px; }
.com-leg.profile.item.leg-profile .stat-card { min-width:170px; flex:1 1 calc((100% - 80px)/5); min-height:225px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:14px 12px 18px; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; box-shadow:var(--leg-shadow); text-align:center; }
.com-leg.profile.item.leg-profile .stat-top { width:100%; display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.com-leg.profile.item.leg-profile .stat-top > span:not(.stat-icon) { height:1px; flex:1 1 auto; background:#d9b4ad; }
.com-leg.profile.item.leg-profile .stat-icon { width:34px; height:34px; flex:0 0 34px; display:flex; align-items:center; justify-content:center; border:1px solid #ead7d3; border-radius:50%; background:#fff; box-shadow:0 1px 6px rgba(0,0,0,.06); }
.com-leg.profile.item.leg-profile .stat-icon img { width:18px; height:18px; object-fit:contain; }
.com-leg.profile.item.leg-profile .stat-card > small { color:#44484f; line-height:1.15; }
.com-leg.profile.item.leg-profile .stat-card > strong { margin:12px 0 0; }
.com-leg.profile.item.leg-profile .stat-card > strong:not(.styl2) { color:var(--color1); line-height:1;  }
.com-leg.profile.item.leg-profile .stat-card > strong.stat-value-major { color:var(--color1); }
@supports ((-webkit-background-clip:text) or (background-clip:text)) { .com-leg.profile.item.leg-profile .stat-card > strong.stat-value-major { background-image:linear-gradient(90deg,var(--color1),var(--color2)); background-clip:text; -webkit-background-clip:text; color:transparent; -webkit-text-fill-color:transparent; } }
.com-leg.profile.item.leg-profile .stat-card > em { color:var(--leg-muted);  font-style:normal; }
.com-leg.profile.item.leg-profile .stat-card .text-value { max-width:190px; margin:8px 0 0; color:#4a4b4f;  line-height:1.25; }
.com-leg.profile.item.leg-profile .stat-symbol { width:82px; height:82px; display:flex; align-items:center; justify-content:center; margin:14px auto 8px; }
.com-leg.profile.item.leg-profile .stat-symbol img { width:100%; height:100%; object-fit:contain; }
.com-leg.profile.item.leg-profile .stat-symbol.recognition { width:92px; height:92px; }
.com-leg.profile.item.leg-profile .missing-value { color:var(--color1)!important; text-transform:uppercase; }
.com-leg.profile.item.leg-profile .card { border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; box-shadow:var(--leg-shadow); }
.com-leg.profile.item.leg-profile .about-card { padding:24px; }
.com-leg.profile.item.leg-profile .about-layout { display:flex; align-items:flex-start; gap:24px; }
.com-leg.profile.item.leg-profile .about-photo { flex:0 0 30%; min-width:0; margin:0; overflow:hidden; border-radius:10px; background:var(--leg-soft); }
.com-leg.profile.item.leg-profile .about-photo img { width:100%; height:auto; display:block; object-fit:cover; }
.com-leg.profile.item.leg-profile .about-copy { min-width:0; flex:1 1 auto; }
.com-leg.profile.item.leg-profile .about-copy .content > :first-child { margin-top:0; }
.com-leg.profile.item.leg-profile .about-copy .content > :last-child { margin-bottom:0; }
.com-leg.profile.item.leg-profile .why-donate { margin-top:18px; padding-top:16px; border-top:1px solid var(--leg-border); }
.com-leg.profile.item.leg-profile .why-donate h4 { margin:0 0 8px; color:var(--color1);  }
.com-leg.profile.item.leg-profile .future-card { display:flex; align-items:center; gap:22px; margin-top:22px; padding:18px; border-style:dashed; background:#fffdf7; }
.com-leg.profile.item.leg-profile .future-card > img { width:240px; max-height:145px; flex:0 0 240px; object-fit:contain; border-radius:10px; }
.com-leg.profile.item.leg-profile .future-card h3 { margin:5px 0 7px;  }
.com-leg.profile.item.leg-profile .future-card p { margin:0; color:var(--leg-muted);  line-height:1.45; }
.com-leg.profile.item.leg-profile .todo-label { display:inline-flex; padding:4px 8px; border:1px solid #ddbd78; border-radius:999px; background:#fff4d8; color:#7e611d;    text-transform:uppercase; }
.com-leg.profile.item.leg-profile .todo-box { display:flex; align-items:flex-start; gap:6px 16px; margin-top:20px; padding:13px 15px; border:1px dashed #d9b86c; border-radius:9px; background:#fff9e9; color:#6f5b2d; }
.com-leg.profile.item.leg-profile .todo-box strong { flex:0 0 auto;  }
.com-leg.profile.item.leg-profile .todo-box span { color:#746b54; font-size:12px; line-height:1.4; }
.com-leg.profile.item.leg-profile .todo-box.inline { margin-top:0; }
.com-leg.profile.item.leg-profile .blood-summary { margin-bottom:18px; }
.com-leg.profile.item.leg-profile .donations-layout { display:flex; align-items:stretch; gap:18px; }
.com-leg.profile.item.leg-profile .main-panel { min-width:0; flex:1.15 1 0; overflow:hidden; }
.com-leg.profile.item.leg-profile .main-content { display:flex; align-items:stretch; min-height:305px; }
.com-leg.profile.item.leg-profile .main-panel .photo { flex:0 0 40%; min-width:0; padding:12px 0 12px 12px; }
.com-leg.profile.item.leg-profile .main-panel .photo img { width:100%; height:100%; display:block; border-radius:10px; object-fit:cover; background:var(--leg-soft); }
.com-leg.profile.item.leg-profile .main-panel .body { min-width:0; flex:1 1 auto; padding:20px; }
.com-leg.profile.item.leg-profile .panel-heading { display:flex; align-items:center; gap:9px; margin-bottom:12px; color:#3e4146;   }
.com-leg.profile.item.leg-profile .panel-heading img { width:20px; height:20px; object-fit:contain; }
.com-leg.profile.item.leg-profile .main-panel h3 { margin:0 0 18px; color:#24272b;  line-height:1.1; }
.com-leg.profile.item.leg-profile .facts { display:flex; flex-wrap:wrap; gap:10px; }
.com-leg.profile.item.leg-profile .fact { min-width:150px; flex:1 1 calc(50% - 5px); display:flex; align-items:flex-start; gap:10px; padding:11px; border:1px solid #eeeeee; border-radius:9px; background:#fff; }
.com-leg.profile.item.leg-profile .fact > img { width:26px; height:26px; flex:0 0 26px; object-fit:contain; }
.com-leg.profile.item.leg-profile .fact > span { min-width:0; display:flex; flex-direction:column; gap:2px; }
.com-leg.profile.item.leg-profile .fact small { color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .fact strong { color:#31343a;  line-height:1.25; }
.com-leg.profile.item.leg-profile .fact b { color:var(--color1); font-size:13px; }
.com-leg.profile.item.leg-profile .fact.is-todo { border-style:dashed; background:#fff9e9; }
.com-leg.profile.item.leg-profile .history-panel { min-width:0; flex:.85 1 0; padding:18px; }
.com-leg.profile.item.leg-profile .history-list { display:flex; flex-direction:column; gap:8px; }
.com-leg.profile.item.leg-profile .history-item { min-width:0; display:flex; align-items:center; gap:12px; padding:10px 11px; border:1px solid #ececec; border-radius:9px; color:#33363b; transition:border-color .15s ease,box-shadow .15s ease; }
.com-leg.profile.item.leg-profile .history-item:hover, .com-leg.profile.item.leg-profile .history-item:focus { border-color:#d6aaa4; box-shadow:0 2px 8px rgba(0,0,0,.055); }
.com-leg.profile.item.leg-profile .history-icon { width:42px; height:42px; flex:0 0 42px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#f8ecea; }
.com-leg.profile.item.leg-profile .history-icon img { width:23px; height:23px; }
.com-leg.profile.item.leg-profile .history-body { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; gap:4px; }
.com-leg.profile.item.leg-profile .history-body strong { color:#34363a;  }
.com-leg.profile.item.leg-profile .history-body small { color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .history-item .arrow { width:15px; height:15px; flex:0 0 15px; }
.com-leg.profile.item.leg-profile .empty { padding:18px; color:var(--leg-muted); font-size:13px; text-align:center; }
.com-leg.profile.item.leg-profile .empty-card { width:100%; display:flex; align-items:center; justify-content:center; gap:16px; padding:26px; text-align:left; }
.com-leg.profile.item.leg-profile .empty-card > img { width:45px; height:45px; }
.com-leg.profile.item.leg-profile .empty-card h3 { margin:0 0 4px;  }
.com-leg.profile.item.leg-profile .empty-card p { margin:0; color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .next-donations { align-items:stretch; }
.com-leg.profile.item.leg-profile .donation-type-card { min-width:150px; flex:1 1 170px; display:flex; flex-direction:column; align-items:center; gap:6px; padding:16px 12px; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; box-shadow:var(--leg-shadow); text-align:center; }
.com-leg.profile.item.leg-profile .type-icon { width:72px; height:82px; display:flex; align-items:center; justify-content:center; }
.com-leg.profile.item.leg-profile .type-icon img { width:60px; height:60px; object-fit:contain; }
.com-leg.profile.item.leg-profile .donation-type-card h4 { margin:0; color:#33363a;  }
.com-leg.profile.item.leg-profile .donation-type-card small { color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .donation-type-card > strong { color:#45484d;  }
.com-leg.profile.item.leg-profile .availability { margin-top:auto; padding:5px 8px; border-radius:6px; font-size:10px; font-weight:800; }
.com-leg.profile.item.leg-profile .availability.ready { background:#edf8ec; color:#2f7030; }
.com-leg.profile.item.leg-profile .availability.waiting { background:#fff2e5; color:#966016; }
.com-leg.profile.item.leg-profile .private-strip { margin-top:22px; padding:18px; background:#fbfcfe; }
.com-leg.profile.item.leg-profile .private-metrics { display:flex; flex-wrap:wrap; gap:12px; }
.com-leg.profile.item.leg-profile .private-metrics > div { min-width:150px; flex:1 1 0; display:flex; flex-direction:column; gap:4px; padding:12px; border:1px solid #e5e9ef; border-radius:8px; background:#fff; }
.com-leg.profile.item.leg-profile .private-metrics small { color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .private-metrics strong { color:#34373c;  }
.com-leg.profile.item.leg-profile .organisation-cards { align-items:stretch; }
.com-leg.profile.item.leg-profile .organisation-card { min-width:250px; flex:1 1 calc(33.333% - 14px); display:flex; align-items:center; gap:14px; padding:14px 15px; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; box-shadow:var(--leg-shadow); color:#34373b; }
.com-leg.profile.item.leg-profile .organisation-card:hover, .com-leg.profile.item.leg-profile .organisation-card:focus { border-color:#d5aaa4; }
.com-leg.profile.item.leg-profile .organisation-card .org-icon { width:54px; height:54px; flex:0 0 54px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#f8ecea; }
.com-leg.profile.item.leg-profile .organisation-card .org-icon img { width:30px; height:30px; }
.com-leg.profile.item.leg-profile .organisation-card .body { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; gap:3px; }
.com-leg.profile.item.leg-profile .organisation-card small { color:var(--color1);   text-transform:uppercase; }
.com-leg.profile.item.leg-profile .organisation-card strong {  line-height:1.25; }
.com-leg.profile.item.leg-profile .organisation-card em { color:var(--leg-muted);  font-style:normal; }
.com-leg.profile.item.leg-profile .organisation-card .arrow { width:15px; height:15px; flex:0 0 15px; }
.com-leg.profile.item.leg-profile .organisation-card.is-todo { border-style:dashed; background:#fff9e9; }
.com-leg.profile.item.leg-profile .subsection-heading { align-items:flex-end; margin:28px 0 14px; border-bottom:1px solid var(--leg-border); padding-bottom:10px; }
.com-leg.profile.item.leg-profile .subsection-heading h3 { }
.com-leg.profile.item.leg-profile .private-badge { display:inline-flex; align-items:center; gap:6px; margin-left:auto; padding:6px 9px; border-radius:999px; background:#f0f3f8; color:#4b5667;  font-weight:800; }
.com-leg.profile.item.leg-profile .private-badge img { width:14px; height:14px; }
.com-leg.profile.item.leg-profile .fee-cards { align-items:stretch; }
.com-leg.profile.item.leg-profile .fee-card { min-width:190px; flex:1 1 210px; display:flex; flex-direction:column; gap:10px; padding:15px; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; box-shadow:var(--leg-shadow); }
.com-leg.profile.item.leg-profile .fee-year { display:flex; align-items:center; gap:8px; padding-bottom:9px; border-bottom:1px solid #eeeeee; }
.com-leg.profile.item.leg-profile .fee-year img { width:25px; height:25px; }
.com-leg.profile.item.leg-profile .fee-year strong { color:var(--color1);  }
.com-leg.profile.item.leg-profile .fee-row { display:flex; align-items:flex-start; gap:9px; }
.com-leg.profile.item.leg-profile .fee-row > img { width:19px; height:19px; flex:0 0 19px; margin-top:2px; }
.com-leg.profile.item.leg-profile .fee-row > span { min-width:0; display:flex; flex-direction:column; gap:2px; }
.com-leg.profile.item.leg-profile .fee-row small { color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .fee-row strong { color:#373a3f;  line-height:1.25; }
.com-leg.profile.item.leg-profile .events-layout { display:flex; align-items:stretch; gap:14px; }
.com-leg.profile.item.leg-profile .event-card { overflow:hidden; border:1px solid var(--leg-border); border-radius:15px; background:#fff; box-shadow:0 2px 12px rgba(28,30,35,.07); }
.com-leg.profile.item.leg-profile .featured-event { min-width:0; flex:1.14 1 0; display:flex; flex-direction:column; }
.com-leg.profile.item.leg-profile .featured-media { min-height:205px; padding:13px 16px 0; }
.com-leg.profile.item.leg-profile .featured-media a, .com-leg.profile.item.leg-profile .featured-media img { width:100%; height:100%; display:block; border-radius:12px; }
.com-leg.profile.item.leg-profile .featured-media img { object-fit:cover; background:#f7f7f7; }
.com-leg.profile.item.leg-profile .featured-body { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; padding:18px 22px; }
.com-leg.profile.item.leg-profile .event-card h4 { margin:0 0 10px; color:#303238;  line-height:1.22;  }
.com-leg.profile.item.leg-profile .event-card h4 a { color:inherit; }
.com-leg.profile.item.leg-profile .event-card h4 a:hover { color:var(--color1); }
.com-leg.profile.item.leg-profile .event-meta { display:flex; flex-direction:column; gap:6px; margin-bottom:13px; }
.com-leg.profile.item.leg-profile .event-meta > div { display:flex; align-items:flex-start; gap:8px; color:#555b64;  }
.com-leg.profile.item.leg-profile .event-meta img { width:15px; height:15px; flex:0 0 15px; margin-top:1px; }
.com-leg.profile.item.leg-profile .event-more { width:100%; max-width:340px; min-height:38px; align-self:flex-start; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:auto; padding:7px 12px; border:1.5px solid var(--color1); border-radius:8px; color:var(--color1); font-size:12px; font-weight:800; }
.com-leg.profile.item.leg-profile .event-more img { width:13px; height:13px; }
.com-leg.profile.item.leg-profile .event-more:hover, .com-leg.profile.item.leg-profile .event-more:focus { background:var(--color1); color:#fff; }
.com-leg.profile.item.leg-profile .event-more:hover img, .com-leg.profile.item.leg-profile .event-more:focus img { filter:brightness(0) invert(1); }
.com-leg.profile.item.leg-profile .secondary-events { min-width:0; flex:.96 1 0; display:flex; flex-direction:column; gap:12px; }
.com-leg.profile.item.leg-profile .side-event { min-height:135px; display:flex; }
.com-leg.profile.item.leg-profile .side-photo { flex:0 0 38%; min-width:0; padding:7px 0 7px 8px; }
.com-leg.profile.item.leg-profile .side-photo a, .com-leg.profile.item.leg-profile .side-photo img { width:100%; height:100%; display:block; border-radius:10px; }
.com-leg.profile.item.leg-profile .side-photo img { object-fit:cover; background:#f7f7f7; }
.com-leg.profile.item.leg-profile .side-body { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; padding:13px 16px; }
.com-leg.profile.item.leg-profile .side-event h4 { margin-bottom:7px;  }
.com-leg.profile.item.leg-profile .event-meta.compact { margin:0; gap:5px; }
.com-leg.profile.item.leg-profile .event-meta.compact > div {  }
.com-leg.profile.item.leg-profile .achievement-description { padding:22px 24px; color:#55585d;  line-height:1.62; }
.com-leg.profile.item.leg-profile .achievement-description .content > :first-child { margin-top:0; }
.com-leg.profile.item.leg-profile .achievement-description .content > :last-child { margin-bottom:0; }
.com-leg.profile.item.leg-profile .future-grid { margin-top:20px; }
.com-leg.profile.item.leg-profile .future-mini { min-width:210px; flex:1 1 calc(25% - 15px); position:relative; display:flex; flex-direction:column; align-items:center; padding:18px 15px; border:1px dashed #d9b86c; border-radius:var(--leg-radius); background:#fffdf7; text-align:center; }
.com-leg.profile.item.leg-profile .future-mini > img { width:44px; height:44px; margin:12px 0; opacity:.72; }
.com-leg.profile.item.leg-profile .future-mini h3 { margin:0 0 6px;  }
.com-leg.profile.item.leg-profile .future-mini p { margin:0; color:var(--leg-muted);  line-height:1.4; }
.com-leg.profile.item.leg-profile .award-subnav { display:flex; align-items:stretch; justify-content:center; gap:9px; margin-bottom:15px; }
.com-leg.profile.item.leg-profile .award-subnav a { min-width:0; flex:1 1 25%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:12px 9px; border:1px solid var(--leg-border); border-radius:9px; background:#fff; color:#404247; text-align:center; box-shadow:0 1px 7px rgba(0,0,0,.045); }
.com-leg.profile.item.leg-profile .award-subnav a:hover, .com-leg.profile.item.leg-profile .award-subnav a:focus { border-color:#d4a9a3; color:var(--color1); }
.com-leg.profile.item.leg-profile .award-subnav img { width:30px; height:30px; }
.com-leg.profile.item.leg-profile .award-subnav span { font-size:11px; line-height:1.2; font-weight:800; }
.com-leg.profile.item.leg-profile .todo-note { display:flex; align-items:center; gap:8px; margin-bottom:18px; padding:9px 12px; border-radius:7px; background:#fff9e9; color:#73684f; font-size:11px; }
.com-leg.profile.item.leg-profile .todo-note img { width:17px; height:17px; flex:0 0 17px; }
.com-leg.profile.item.leg-profile .award-grid { align-items:stretch; justify-content:center; }
.com-leg.profile.item.leg-profile .award-card { min-width:170px; flex:1 1 calc(20% - 16px); max-width:230px; position:relative; display:flex; flex-direction:column; align-items:center; gap:5px; padding:15px 12px 22px; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; color:#36383d; box-shadow:var(--leg-shadow); text-align:center; }
.com-leg.profile.item.leg-profile .award-card:hover, .com-leg.profile.item.leg-profile .award-card:focus { border-color:#d1a39d; }
.com-leg.profile.item.leg-profile .award-image { width:118px; height:118px; display:flex; align-items:center; justify-content:center; margin-bottom:3px; }
.com-leg.profile.item.leg-profile .award-image img { width:100%; height:100%; object-fit:contain; }
.com-leg.profile.item.leg-profile .award-card small { color:var(--leg-muted);  text-transform:uppercase; }
.com-leg.profile.item.leg-profile .award-card strong { min-height:32px; display:flex; align-items:center; justify-content:center;  line-height:1.25; }
.com-leg.profile.item.leg-profile .award-card em { color:var(--color1);  font-style:normal;  }
.com-leg.profile.item.leg-profile .award-arrow { width:22px; height:22px; position:absolute; right:8px; bottom:8px; display:flex; align-items:center; justify-content:center; border:1px solid var(--color1); border-radius:50%; }
.com-leg.profile.item.leg-profile .award-arrow img { width:11px; height:11px; }
.com-leg.profile.item.leg-profile .future-section { background:#fffefb; }
.com-leg.profile.item.leg-profile .profile-functions { margin:28px 0 0; padding-top:24px; border-top:1px solid var(--leg-border); }
.com-leg.profile.item.leg-profile .profile-functions-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-top:18px; }
.com-leg.profile.item.leg-profile .profile-function-card { display:flex; gap:13px; padding:17px; }
.com-leg.profile.item.leg-profile .profile-function-card > img { width:42px; height:42px; flex:0 0 42px; }
.com-leg.profile.item.leg-profile .profile-function-card small { color:var(--color1);  text-transform:uppercase;  }
.com-leg.profile.item.leg-profile .profile-function-card h4 { margin:3px 0;  }
.com-leg.profile.item.leg-profile .profile-function-card p { margin:0; color:var(--leg-muted);  }
.com-leg.profile.item.leg-profile .profile-function-card .content { margin-top:9px; color:#565b64;  line-height:1.45; }
.com-leg.profile.item.leg-profile .profile-function-card .content > :first-child { margin-top:0; }
.com-leg.profile.item.leg-profile .profile-function-card .content > :last-child { margin-bottom:0; }
.com-leg.profile.item.leg-profile .donor-corps-section { background:transparent; }
.com-leg.profile.item.leg-profile .donor-corps-section-heading { margin:0 0 22px; }

.com-leg.profile.item.leg-profile .donor-corps-section-heading h2 { margin:0; color:#2f3236;  line-height:1.02;  }
.com-leg.profile.item.leg-profile .donor-corps-section-heading h2::first-letter { color:inherit; }
.com-leg.profile.item.leg-profile .donor-corps-section-heading p { margin:6px 0 0; color:#555960;  line-height:1.35; }
.com-leg.profile.item.leg-profile .donor-corps-faq { margin:0; padding:var(--section-padding); border:1px solid #e2e3e5; border-radius:10px; background:#fff; box-shadow:0 4px 14px rgba(31,35,41,.06); }
.com-leg.profile.item.leg-profile .donor-corps-faq-item { border:0; border-top:1px solid #ececee; background:transparent; }
.com-leg.profile.item.leg-profile .donor-corps-faq-item:first-child { border-top:0; }
.com-leg.profile.item.leg-profile .donor-corps-faq-item summary { display:grid; grid-template-columns:54px minmax(0,1fr) auto; gap:16px; align-items:center; min-height:88px; padding:14px 0; color:#33363a; cursor:pointer; list-style:none; }
.com-leg.profile.item.leg-profile .donor-corps-faq-item summary::-webkit-details-marker { display:none; }
.com-leg.profile.item.leg-profile .donor-corps-faq-icon { width:50px; height:50px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #e1e3e6; border-radius:50%; background:#fff; color:var(--color1); box-shadow:0 3px 10px rgba(31,35,41,.07); }
.com-leg.profile.item.leg-profile .donor-corps-faq-icon i { font-size:18px; }
.com-leg.profile.item.leg-profile .donor-corps-faq-question { color:var(--color1);  line-height:1.25; font-weight:800; }
.com-leg.profile.item.leg-profile .donor-corps-faq-toggle { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border:1px solid #dedfe1; border-radius:6px; background:#fff; color:#3d4146;  font-weight:800; box-shadow:0 2px 7px rgba(31,35,41,.07); }
.com-leg.profile.item.leg-profile .donor-corps-faq-toggle i { color:var(--color1); font-size:14px; transition:transform .18s ease; }
.com-leg.profile.item.leg-profile .donor-corps-faq-item[open] .donor-corps-faq-toggle i { transform:rotate(180deg); }
.com-leg.profile.item.leg-profile .donor-corps-faq-answer { margin:-20px 88px 18px 70px; }
.com-leg.profile.item.leg-profile .donor-corps-faq-answer p { margin:0; color:#303338;  line-height:1.55; }
.com-leg.profile.item.leg-profile .donor-corps-list-heading { margin-top:30px; }
.com-leg.profile.item.leg-profile .donor-corps-list { display:flex; flex-direction:column; gap:12px; }
.com-leg.profile.item.leg-profile .donor-corps-list-card { display:grid; grid-template-columns:155px minmax(0,1fr) auto; gap:18px; align-items:center; min-width:0; padding:var(--section-padding); border:1px solid #e2e3e5; border-radius:10px; background:#fff; box-shadow:0 4px 14px rgba(31,35,41,.06); }
.com-leg.profile.item.leg-profile .donor-corps-list-media { width:145px; height:145px; display:flex; align-items:center; justify-content:center; }
.com-leg.profile.item.leg-profile .donor-corps-list-media img { width:100%; height:100%; object-fit:contain; }
.com-leg.profile.item.leg-profile .donor-corps-list-copy { min-width:0; }
.com-leg.profile.item.leg-profile .donor-corps-list-copy > span { display:block; margin:0 0 2px; color:#44484e;  line-height:1.2; font-weight:700; }
.com-leg.profile.item.leg-profile .donor-corps-list-copy h3 { margin:0 0 13px;  line-height:1.18;  }
.com-leg.profile.item.leg-profile .donor-corps-list-copy h3 a { color:var(--color1); }
.com-leg.profile.item.leg-profile .donor-corps-list-copy h3 a:hover,.com-leg.profile.item.leg-profile .donor-corps-list-copy h3 a:focus { color:var(--color2); }
.com-leg.profile.item.leg-profile .donor-corps-list-copy p { margin:0; color:#34373b;  line-height:1.55; }
.com-leg.profile.item.leg-profile .donor-corps-more { align-self:start; display:inline-flex; align-items:center; gap:7px; margin-top:3px; padding:6px 8px; border:1px solid #dedfe1; border-radius:6px; background:#fff; color:#3d4146;  font-weight:800; box-shadow:0 2px 7px rgba(31,35,41,.07); }
.com-leg.profile.item.leg-profile .donor-corps-more i { color:var(--color1); font-size:14px; }
.com-leg.profile.item.leg-profile .donor-corps-more:hover,.com-leg.profile.item.leg-profile .donor-corps-more:focus { color:var(--color1); }
.com-leg.profile.item.leg-profile .donor-corps-empty { margin-top:0; }
@media (max-width:767.9px) {  .com-leg.profile.item.leg-profile .donor-corps-faq { padding:var(--section-padding); } .com-leg.profile.item.leg-profile .donor-corps-faq-item summary { grid-template-columns:46px minmax(0,1fr) auto; gap:12px; } .com-leg.profile.item.leg-profile .donor-corps-faq-icon { width:44px; height:44px; } .com-leg.profile.item.leg-profile .donor-corps-faq-answer { margin:-12px 72px 17px 58px; } .com-leg.profile.item.leg-profile .donor-corps-list-card { grid-template-columns:120px minmax(0,1fr); } .com-leg.profile.item.leg-profile .donor-corps-list-media { width:112px; height:112px; } .com-leg.profile.item.leg-profile .donor-corps-more { grid-column:2; justify-self:start; } }
@media (max-width:575.9px) { .com-leg.profile.item.leg-profile .donor-corps-section-heading { padding-left:13px; }   .com-leg.profile.item.leg-profile .donor-corps-faq-item summary { grid-template-columns:42px minmax(0,1fr); gap:10px; min-height:76px; } .com-leg.profile.item.leg-profile .donor-corps-faq-icon { width:40px; height:40px; }  .com-leg.profile.item.leg-profile .donor-corps-faq-toggle { grid-column:2; justify-self:start; margin-top:-7px; } .com-leg.profile.item.leg-profile .donor-corps-faq-answer { margin:-4px 0 16px 52px; }  .com-leg.profile.item.leg-profile .donor-corps-list-card { grid-template-columns:88px minmax(0,1fr); gap:12px; padding:var(--section-padding); } .com-leg.profile.item.leg-profile .donor-corps-list-media { width:82px; height:82px; }  .com-leg.profile.item.leg-profile .donor-corps-list-copy h3 { margin-bottom:8px;  } .com-leg.profile.item.leg-profile .donor-corps-list-copy p {  line-height:1.45; } .com-leg.profile.item.leg-profile .donor-corps-more { grid-column:2; } }
.com-leg.profile.item.leg-profile .private-section { background:#fbfcfe; }
.com-leg.profile.item.leg-profile .private-details { overflow:hidden; }
.com-leg.profile.item.leg-profile .private-row { display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding:12px 16px; border-bottom:1px solid #edf0f4; }
.com-leg.profile.item.leg-profile .private-row:last-child { border-bottom:0; }
.com-leg.profile.item.leg-profile .private-row span { color:var(--leg-muted); font-size:12px; }
.com-leg.profile.item.leg-profile .private-row strong { color:#33373d;  text-align:right; }
.com-leg.profile.item.leg-profile .modules { margin-top:18px; }
.com-leg.profile.item.leg-profile .profile-module-actions { display:flex; flex-wrap:wrap; gap:8px; }
@media (max-width:1199.9px) { .com-leg.profile.item.leg-profile .hero { gap:24px; padding:26px; } .com-leg.profile.item.leg-profile .hero .avatar { width:150px; height:150px; flex-basis:150px; } .com-leg.profile.item.leg-profile .hero-affiliations { gap:12px; } .com-leg.profile.item.leg-profile .affiliation-logo { width:78px; height:78px; } .com-leg.profile.item.leg-profile .affiliation-logo img { width:40px; height:40px; } .com-leg.profile.item.leg-profile .stat-card { flex-basis:calc((100% - 40px)/3); } .com-leg.profile.item.leg-profile .award-card { flex-basis:calc(25% - 15px); } }
@media (max-width:991.9px) { .com-leg.profile.item.leg-profile .hero { align-items:flex-start; flex-direction:column; } .com-leg.profile.item.leg-profile .hero-person { width:100%; } .com-leg.profile.item.leg-profile .hero-affiliations { width:100%; justify-content:flex-start; } .com-leg.profile.item.leg-profile .profile-section { padding:var(--section-padding); } .com-leg.profile.item.leg-profile .donations-layout { flex-direction:column; } .com-leg.profile.item.leg-profile .main-panel .photo { flex-basis:36%; } .com-leg.profile.item.leg-profile .events-layout { flex-direction:column; } .com-leg.profile.item.leg-profile .featured-event { min-height:180px; flex-direction:row; } .com-leg.profile.item.leg-profile .featured-media { flex:0 0 38%; min-height:auto; padding:7px 0 7px 8px; } .com-leg.profile.item.leg-profile .featured-body { padding:14px 18px; } .com-leg.profile.item.leg-profile .award-card { flex-basis:calc(33.333% - 14px); } .com-leg.profile.item.leg-profile .future-mini { flex-basis:calc(50% - 10px); } }
@media (max-width:767.9px) { .com-leg.profile.item.leg-profile { background-size:700px auto; } .com-leg.profile.item.leg-profile .toolbar { align-items:stretch; flex-direction:column; } .com-leg.profile.item.leg-profile .profile-nav { padding-left:8px; padding-right:8px; } .com-leg.profile.item.leg-profile .profile-nav a { min-width:103px;  } .com-leg.profile.item.leg-profile .hero-person { align-items:center; flex-direction:column; text-align:center; } .com-leg.profile.item.leg-profile .hero-copy { display:flex; flex-direction:column; align-items:center; } .com-leg.profile.item.leg-profile .hero-affiliations { flex-wrap:wrap; justify-content:center; } .com-leg.profile.item.leg-profile .affiliation { flex-basis:calc(50% - 10px); } .com-leg.profile.item.leg-profile .about-layout { flex-direction:column; } .com-leg.profile.item.leg-profile .about-photo { width:100%; flex-basis:auto; } .com-leg.profile.item.leg-profile .stat-card { flex-basis:calc(50% - 10px); } .com-leg.profile.item.leg-profile .future-card { align-items:flex-start; flex-direction:column; } .com-leg.profile.item.leg-profile .future-card > img { width:100%; max-height:180px; flex-basis:auto; } .com-leg.profile.item.leg-profile .award-subnav { flex-wrap:wrap; } .com-leg.profile.item.leg-profile .award-subnav a { flex-basis:calc(50% - 5px); } .com-leg.profile.item.leg-profile .award-card { flex-basis:calc(50% - 10px); } .com-leg.profile.item.leg-profile .private-row { align-items:flex-start; flex-direction:column; gap:4px; } .com-leg.profile.item.leg-profile .private-row strong { text-align:left; } }
@media (max-width:575.9px) { .com-leg.profile.item.leg-profile { --leg-gap:14px; } .com-leg.profile.item.leg-profile .profile-section { padding:var(--section-padding); } .com-leg.profile.item.leg-profile .hero { padding:22px 16px; } .com-leg.profile.item.leg-profile .hero .avatar { width:134px; height:134px; flex-basis:134px; } .com-leg.profile.item.leg-profile .hero-affiliations { gap:8px; } .com-leg.profile.item.leg-profile .affiliation-logo { width:68px; height:68px; } .com-leg.profile.item.leg-profile .affiliation-logo img { width:34px; height:34px; } .com-leg.profile.item.leg-profile .stat-card { min-width:0; flex-basis:100%; min-height:190px; } .com-leg.profile.item.leg-profile .about-card { padding:16px; } .com-leg.profile.item.leg-profile .main-content { flex-direction:column; } .com-leg.profile.item.leg-profile .main-panel .photo { min-height:220px; flex-basis:auto; padding:10px 10px 0; } .com-leg.profile.item.leg-profile .fact { flex-basis:100%; } .com-leg.profile.item.leg-profile .organisation-card { min-width:0; flex-basis:100%; } .com-leg.profile.item.leg-profile .fee-card { min-width:0; flex-basis:100%; } .com-leg.profile.item.leg-profile .featured-event { flex-direction:column; } .com-leg.profile.item.leg-profile .featured-media { min-height:180px; flex-basis:auto; padding:8px 8px 0; } .com-leg.profile.item.leg-profile .side-event { min-height:125px; } .com-leg.profile.item.leg-profile .award-subnav a { flex-basis:100%; } .com-leg.profile.item.leg-profile .award-card { min-width:0; max-width:none; flex-basis:100%; } .com-leg.profile.item.leg-profile .future-mini { min-width:0; flex-basis:100%; } .com-leg.profile.item.leg-profile .todo-box { flex-direction:column; } }
.com-leg.profile.item.leg-profile [role="tabpanel"][hidden] { display:none !important; }
.com-leg.profile.item.leg-profile .activity-stats { margin-top:22px; }
.com-leg.profile.item.leg-profile .favorite-centers { margin:0 0 22px; padding:20px; }
.com-leg.profile.item.leg-profile .favorite-centers h3 { margin:0 0 12px;  }
.com-leg.profile.item.leg-profile .center-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
.com-leg.profile.item.leg-profile .center-item { display:flex; flex-direction:column; gap:3px; padding:12px 14px; border:1px solid var(--leg-border); border-radius:10px; background:#fff; }
.com-leg.form.leg-profile-edit .profile-style-preview { margin-top:18px; padding:18px; border:1px solid #ddd; border-radius:12px; }
.com-leg.form.leg-profile-edit .preview-card { margin-top:10px; padding:24px; border-radius:10px; background:#f5f5f5; }
.com-leg.form.leg-profile-edit .preview-card[data-style="2"] { background:#f3e8e7; }
.com-leg.form.leg-profile-edit .preview-card[data-style="3"] { background:#2f3135; color:#fff; }
.com-leg.profile.item.leg-profile .profile-extra-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0 0; }
.com-leg.profile.item.leg-profile .profile-extra-gallery figure { margin:0; overflow:hidden; border-radius:var(--leg-radius); background:#f3f4f6; }
.com-leg.profile.item.leg-profile .profile-extra-gallery img { display:block; width:100%; height:100%; min-height:220px; max-height:380px; object-fit:cover; }
@media (max-width:760px) { .com-leg.profile.item.leg-profile .profile-extra-gallery { grid-template-columns:1fr; } .com-leg.profile.item.leg-profile .profile-extra-gallery img { min-height:0; max-height:420px; } }
/* 3.0.18 - profile activity collections and Pioneer status. */
.com-leg.profile.item.leg-profile .pioneer-badge{display:inline-flex;margin-top:10px;padding:6px 11px;align-items:center;border:1px solid color-mix(in srgb,var(--color1) 35%,#fff);border-radius:999px;background:color-mix(in srgb,var(--color1) 8%,#fff);color:var(--color1);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.com-leg.profile.item.leg-profile .profile-tabs .nav-note {display:block;margin-top:2px;color:#a63b3b;font-weight:700;white-space:nowrap}
.com-leg.profile.item.leg-profile .activity-management-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 18px}
.com-leg.profile.item.leg-profile .pioneer-locked{display:flex;max-width:760px;margin:0 auto 28px;padding:14px 18px;flex-direction:column;gap:4px;border-left:4px solid var(--color1)}
.com-leg.profile.item.leg-profile .pioneer-locked strong{}.com-leg.profile.item.leg-profile .pioneer-locked span{color:#677487;font-size:13px}
.com-leg.profile.item.leg-profile .activity-block{position:relative;margin:40px 0 50px;min-width:0}
.com-leg.profile.item.leg-profile .activity-heading{margin-bottom:20px}.com-leg.profile.item.leg-profile .activity-heading h3{margin-bottom:7px}.com-leg.profile.item.leg-profile .activity-heading p{max-width:760px;margin:0 auto;color:#697586}
.com-leg.profile.item.leg-profile .activity-carousel{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:12px;align-items:center;min-width:0}
.com-leg.profile.item.leg-profile .activity-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);grid-template-rows:1fr;gap:14px;overflow-x:auto;padding:5px 4px 14px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
.com-leg.profile.item.leg-profile .activity-track::-webkit-scrollbar{display:none}
.com-leg.profile.item.leg-profile .activity-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;scroll-snap-align:start;border:1px solid #e3e6eb;border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(26,38,55,.07)}
.com-leg.profile.item.leg-profile .activity-card > .activity-media{display:flex;height:170px;align-items:center;justify-content:center;overflow:hidden;background:#f3f5f7;color:var(--color1);font-size:38px;text-decoration:none}
.com-leg.profile.item.leg-profile .activity-card > .activity-media img{display:block;width:100%;height:100%;object-fit:cover}.com-leg.profile.item.leg-profile .activity-card > .activity-media.fallback{background:linear-gradient(145deg,#f7f8fa,#eef1f4)}
.com-leg.profile.item.leg-profile .activity-body{display:flex;min-height:126px;padding:14px 15px 13px;flex:1;flex-direction:column;text-align:center}.com-leg.profile.item.leg-profile .activity-date{display:block;margin-bottom:6px;color:#b37a1e;}.com-leg.profile.item.leg-profile .activity-body h4{margin:0;line-height:1.28}.com-leg.profile.item.leg-profile .activity-body h4 a{color:#2e343a;text-decoration:none}.com-leg.profile.item.leg-profile .activity-body h4 a:hover{text-decoration:underline}.com-leg.profile.item.leg-profile .activity-place{margin:7px 0 0;color:#697586;line-height:1.35}.com-leg.profile.item.leg-profile .activity-links{display:flex;margin-top:auto;padding-top:11px;gap:12px;align-items:center;justify-content:center}.com-leg.profile.item.leg-profile .activity-links a{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid #e0e4e8;border-radius:50%;color:#b37a1e;text-decoration:none}.com-leg.profile.item.leg-profile .activity-links a:hover{border-color:#c89949;background:#fffaf1}
.com-leg.profile.item.leg-profile .activity-function .activity-card{justify-content:center;min-height:205px}.com-leg.profile.item.leg-profile .activity-function .activity-body{justify-content:center}.com-leg.profile.item.leg-profile .activity-function .activity-date{}.com-leg.profile.item.leg-profile .activity-function .activity-body h4{}
.com-leg.profile.item.leg-profile .activity-nav{display:inline-flex;width:38px;height:38px;padding:0;align-items:center;justify-content:center;border:1px solid #e1e5ea;border-radius:50%;background:#fff;color:var(--color1);box-shadow:0 3px 10px rgba(23,34,48,.08);cursor:pointer}.com-leg.profile.item.leg-profile .activity-nav:disabled{opacity:.3;cursor:default}
.com-leg.profile.item.leg-profile .activity-statistics{margin-top:42px}.com-leg.profile.item.leg-profile .activity-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.com-leg.profile.item.leg-profile .activity-stat-card{min-height:128px;justify-content:center}.com-leg.profile.item.leg-profile .activity-stat-card small{color:#a36f1e;text-transform:uppercase}.com-leg.profile.item.leg-profile .activity-stat-card strong{margin-top:7px;}
@media(max-width:980px){.com-leg.profile.item.leg-profile .activity-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.com-leg.profile.item.leg-profile .activity-track{grid-auto-columns:minmax(210px,42vw)}.com-leg.profile.item.leg-profile .profile-functions-history .activity-track,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-track{grid-auto-columns:minmax(210px,42vw)}}
@media(max-width:640px){.com-leg.profile.item.leg-profile .activity-carousel{grid-template-columns:1fr}.com-leg.profile.item.leg-profile .activity-nav{display:none}.com-leg.profile.item.leg-profile .activity-track{grid-auto-columns:minmax(78vw,1fr);padding-inline:2px}.com-leg.profile.item.leg-profile .activity-stats{grid-template-columns:1fr 1fr}.com-leg.profile.item.leg-profile .activity-management-actions .btn{flex:1 1 180px}.com-leg.profile.item.leg-profile .activity-card > .activity-media{height:180px}}
/* 3.0.95 - profile variants differ only by the hero background image. */
.com-leg.profile.item.leg-profile .private-section{margin-top:24px;padding:22px;border:1px solid #d8dce1;border-radius:12px;background:#f3f4f6}.com-leg.profile.item.leg-profile .private-section .private-details{background:#fafafa}.com-leg.profile.item.leg-profile .private-badge {display:inline-flex;align-items:center;gap:7px;color:#69717b;}.com-leg.profile.item.leg-profile .private-badge img{width:16px;height:16px;opacity:.7}
/* 3.0.20 - profile content/sidebar split below the full-width hero and tabs. */
@media (max-width:991.9px) { .com-leg.profile.item.leg-profile .profile-body.has-sidebar { display:block; } .com-leg.profile.item.leg-profile .profile-sidebar { position:static; margin-top:22px; } }
/* Profile edit 3.0.54: responsive tabs, guarded navigation and semantic 12-column field layout. */
.com-leg.form.leg-profile-edit { max-width:none; }
.com-leg.leg-profile-edit > .header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
.com-leg.leg-profile-edit > .header .profile-edit-header-copy { min-width:0; }
.com-leg.leg-profile-edit > .header .profile-edit-back-profile { flex:0 0 auto; margin-top:.1rem; white-space:nowrap; }
@media (max-width:640px) { .com-leg.leg-profile-edit > .header { flex-direction:column; } .com-leg.leg-profile-edit > .header .profile-edit-back-profile { align-self:flex-end; } }
.com-leg.form.leg-profile-edit .fields { max-width:none; }
.com-leg.leg-profile-edit .profile-edit-navigation { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.75rem; align-items:stretch; margin:0 0 1.5rem; padding:.4rem; border:1px solid #e1e6ec; border-radius:.9rem; background:#f5f7f9; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps { display:flex; min-width:0; margin:0; padding:0; gap:.2rem; overflow-x:auto; flex-wrap:nowrap; list-style:none; scrollbar-width:thin; scroll-snap-type:x proximity; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps li { flex:0 0 auto; min-width:0; scroll-snap-align:start; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a,
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps span.disabled { display:flex; min-height:48px; align-items:center; gap:.5rem; padding:.7rem .9rem; border:0; border-radius:.65rem; background:transparent; color:#4b5563; text-decoration:none; white-space:nowrap; transition:background .15s ease,color .15s ease,box-shadow .15s ease; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a:hover { background:#fff; color:#20252b; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a.active { background:#fff; color:#c91520; box-shadow:0 1px 4px rgba(25,33,44,.08),inset 0 -3px 0 #d71924; font-weight:700; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps i { width:1.05rem; flex:0 0 1.05rem; text-align:center; opacity:.78; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a.active i { opacity:1; }
.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps span.disabled { opacity:.45; cursor:not-allowed; }
.com-leg.leg-profile-edit .profile-edit-achievements { display:inline-flex; min-height:48px; align-items:center; justify-content:center; gap:.55rem; padding:.65rem 1rem; border-color:#d71924; border-radius:.65rem; background:#fff; color:#c91520; white-space:nowrap; }
.com-leg.leg-profile-edit .profile-edit-achievements:hover { border-color:#b70f19; background:#fff7f7; color:#b70f19; }
.com-leg.leg-profile-edit .profile-step-intro { margin:0 0 1.25rem; color:#4e5f76; font-size:1rem; }
.com-leg.leg-profile-edit .profile-form-section { margin:0 0 1.55rem; }
.com-leg.leg-profile-edit .profile-form-section + .profile-form-section { padding-top:1.15rem; border-top:1px solid #e7ebef; }
.com-leg.leg-profile-edit .profile-form-section-head { margin:0 0 .9rem; }
.com-leg.leg-profile-edit .profile-form-section-head h2 { margin:0; color:#2b3036;   }
.com-leg.leg-profile-edit .profile-form-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:1rem 1.25rem; align-items:start; }
.com-leg.leg-profile-edit .profile-form-field { min-width:0; grid-column:span 6; }
.com-leg.leg-profile-edit .profile-form-field.span-4 { grid-column:span 4; }
.com-leg.leg-profile-edit .profile-form-field.span-6 { grid-column:span 6; }
.com-leg.leg-profile-edit .profile-form-field.span-8 { grid-column:span 8; }
.com-leg.leg-profile-edit .profile-form-field.span-12,
.com-leg.leg-profile-edit .profile-form-field.wide { grid-column:1 / -1; }
.com-leg.leg-profile-edit .profile-form-grid .control-group { display:block; margin:0; }
.com-leg.leg-profile-edit .profile-form-grid .control-label { padding:0 0 .45rem; }
.com-leg.leg-profile-edit .profile-form-grid .controls { width:100%; max-width:none; }
.com-leg.leg-profile-edit .profile-form-grid .sfile { max-width:none; }
.com-leg.leg-profile-edit select[data-slistajax-ready="1"] { display:none !important; }
.com-leg.leg-profile-edit [data-slistajax-ready="1"] > select.form-select { display:none !important; }
.com-leg.leg-profile-edit .profile-form-field:focus-within { position:relative; z-index:2000; }
.com-leg.leg-profile-edit .profile-form-field .choices { width:100%; max-width:100%; margin:0; }
.com-leg.leg-profile-edit .profile-form-field .choices.is-open { position:relative; z-index:2001; }
.com-leg.leg-profile-edit .profile-form-field .choices__inner { width:100%; min-height:44px; border:1px solid var(--leg-form-border); border-radius:var(--leg-form-radius); background:#fff; }
.com-leg.leg-profile-edit .profile-form-field .choices__list--dropdown, .com-leg.leg-profile-edit .profile-form-field .choices__list[aria-expanded] { z-index:2002; }
.com-leg.leg-profile-edit [data-profile-field="plec"] .profile-gender-options { display:inline-flex; flex-wrap:nowrap; gap:0; align-items:stretch; }
.com-leg.leg-profile-edit [data-profile-field="plec"] .profile-gender-options .btn { display:inline-flex; min-height:var(--leg-form-control-height); height:var(--leg-form-control-height); margin:0; align-items:center; justify-content:center; border-radius:0; }
.com-leg.leg-profile-edit [data-profile-field="plec"] .profile-gender-options .btn:first-of-type { border-radius:var(--leg-form-radius) 0 0 var(--leg-form-radius); }
.com-leg.leg-profile-edit [data-profile-field="plec"] .profile-gender-options .btn:last-of-type { border-radius:0 var(--leg-form-radius) var(--leg-form-radius) 0; }
.com-leg.leg-profile-edit .profile-blood-group-field { min-width:0; margin:0; padding:0; border:0; }
.com-leg.leg-profile-edit .profile-blood-group-field legend { width:auto; margin:0 0 .65rem; padding:0; font-size:1rem; font-weight:600; }
.com-leg.leg-profile-edit .profile-blood-group-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; }
.com-leg.leg-profile-edit .profile-blood-group-option { position:relative; display:flex; min-width:0; min-height:92px; gap:.7rem; align-items:center; justify-content:center; padding:.8rem; border:1px solid #dfe5ec; border-radius:.75rem; background:#fff; cursor:pointer; transition:border-color .15s ease,box-shadow .15s ease,background .15s ease; }
.com-leg.leg-profile-edit .profile-blood-group-option:hover { border-color:#c8d0da; background:#fafbfc; }
.com-leg.leg-profile-edit .profile-blood-group-option:focus-within { outline:2px solid #0d6efd; outline-offset:2px; }
.com-leg.leg-profile-edit .profile-blood-group-option:has(input:checked) { border-color:#d71520; box-shadow:0 0 0 2px rgba(215,21,32,.12); background:#fff8f8; }
.com-leg.leg-profile-edit .profile-blood-group-option input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.com-leg.leg-profile-edit .profile-blood-group-icon { display:flex; flex:0 0 58px; width:58px; height:58px; align-items:center; justify-content:center; }
.com-leg.leg-profile-edit .profile-blood-group-icon img { display:block; width:58px; height:58px; object-fit:contain; }
.com-leg.leg-profile-edit .profile-blood-group-label { min-width:0;  line-height:1.2; }
.com-leg.leg-profile-edit .profile-preferences { display:grid; gap:0; border-top:1px solid #e3e8ee; }
.com-leg.leg-profile-edit .profile-preference { display:grid; grid-template-columns:minmax(24rem,1.05fr) minmax(23rem,1fr) auto; gap:1.25rem; align-items:center; padding:1.45rem .35rem; border:0; border-bottom:1px solid #e3e8ee; background:#fff; }
.com-leg.leg-profile-edit .profile-preference-control .control-group { display:flex; flex-wrap:nowrap; gap:1.25rem; align-items:center; margin:0; }
.com-leg.leg-profile-edit .profile-preference-control .control-label { flex:1 1 auto; min-width:0; padding-top:0; font-size:1.05rem; font-weight:700; }
.com-leg.leg-profile-edit .profile-preference-control .controls { flex:0 0 auto; width:auto; max-width:none; }
.com-leg.leg-profile-edit .profile-preference-control .btn-group { display:inline-flex; flex-wrap:nowrap; white-space:nowrap; }
.com-leg.leg-profile-edit .profile-preference-hint { display:flex; min-width:0; gap:.75rem; align-items:flex-start; padding:.9rem 1.1rem; border-radius:.75rem; background:#f1f3f7; color:#456185; font-size:1rem; line-height:1.45; }
.com-leg.leg-profile-edit .profile-preference-hint i { flex:0 0 auto; margin-top:.15rem; }
.com-leg.leg-profile-edit .profile-preference-details { justify-self:end; display:inline-flex; min-height:44px; align-items:center; gap:.5rem; padding:.65rem 1rem; border:1px solid #e11924; border-radius:.5rem; background:#fff; color:#d71520; font:inherit; font-size:1rem; font-weight:700; cursor:pointer; white-space:nowrap; }
.com-leg.leg-profile-edit .profile-preference-details:hover { background:#fff7f7; }
.com-leg.leg-profile-edit .profile-preference-less { display:none; }
.com-leg.leg-profile-edit .profile-preference-details[aria-expanded="true"] .profile-preference-more { display:none; }
.com-leg.leg-profile-edit .profile-preference-details[aria-expanded="true"] .profile-preference-less { display:inline-flex; align-items:center; gap:.5rem; }
.com-leg.leg-profile-edit .profile-preference-details[aria-expanded="true"] { background:#e30613; color:#fff; border-color:#e30613; }
.com-leg.leg-profile-edit .profile-preference-details-body { grid-column:1 / -1; min-width:0; width:100%; box-sizing:border-box; padding:1.6rem 1.9rem; border:1px solid #ffd5d8; border-radius:.75rem; background:linear-gradient(110deg,#fffafa,#fff4f5); }
.com-leg.leg-profile-edit .profile-preference-details-body[hidden] { display:none !important; }
.com-leg.leg-profile-edit .profile-preference-details-inner { padding-left:1.4rem; border-left:2px solid #f2b7bc; }
.com-leg.leg-profile-edit .profile-preference-details-body h3 { margin:0 0 .6rem;  }
.com-leg.leg-profile-edit .profile-preference-details-body p { max-width:72rem; margin:0; line-height:1.6; }
.com-leg.leg-profile-edit .profile-preference-safe { display:flex; gap:.8rem; align-items:center; margin-top:1.2rem; padding:.9rem 1.1rem; border-radius:.65rem; background:#fff0f1; color:#d71520; font-weight:600; }
.com-leg.leg-profile-edit .profile-preference-safe i { flex:0 0 auto; font-size:1.25rem; }
.com-leg.leg-profile-edit .profile-preference-examples { margin-top:1.35rem; }
.com-leg.leg-profile-edit .profile-preference-example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:.75rem; }
.com-leg.leg-profile-edit .profile-preference-example { display:flex; min-width:0; gap:.75rem; align-items:center; color:#36597b; }
.com-leg.leg-profile-edit .profile-preference-example-icon { display:flex; flex:0 0 48px; width:48px; height:48px; align-items:center; justify-content:center; border-radius:50%; background:#fff; color:#e30613; font-size:1.25rem; }
.com-leg.leg-profile-edit .profile-preference-footer { display:flex; gap:.8rem; align-items:center; margin-top:1.25rem; padding:.85rem 1rem; border-radius:.65rem; background:#f1f3f7; color:#456185; }
.com-leg.leg-profile-edit .profile-function-assignments { margin-top:1.5rem; padding:1rem; border-left:4px solid #c51420; background:#fafafa; }
.com-leg.leg-profile-edit .profile-function-assignments h2 {  }
.com-leg.leg-profile-edit .profile-style-choice { display:grid; grid-template-columns:minmax(18rem,1fr) minmax(20rem,1fr); gap:1.25rem; align-items:stretch; margin-bottom:1.2rem; }
.com-leg.leg-profile-edit .profile-style-choice .control-group { display:block; margin:0; }
.com-leg.leg-profile-edit .profile-style-choice .control-label { display:block; padding:0 0 .65rem; }
.com-leg.leg-profile-edit .profile-style-choice .controls { max-width:none; }
.com-leg.form.leg-profile-edit .profile-style-preview { display:flex; min-height:100%; margin-top:0; padding:1rem; flex-direction:column; border:1px solid #d7dfe8; border-radius:.8rem; background:#f8fafc; }
.com-leg.leg-profile-edit .preview-card { flex:1 1 auto; margin-top:.7rem; padding:1.5rem; border-radius:.65rem; font-weight:700; }
@media (max-width:1100px) { .com-leg.leg-profile-edit .profile-preference { grid-template-columns:1fr 1fr; } .com-leg.leg-profile-edit .profile-preference-details { grid-column:1 / -1; justify-self:start; } }
@media (max-width:900px) { .com-leg.leg-profile-edit .profile-form-field,.com-leg.leg-profile-edit .profile-form-field.span-4,.com-leg.leg-profile-edit .profile-form-field.span-6,.com-leg.leg-profile-edit .profile-form-field.span-8 { grid-column:span 6; } .com-leg.leg-profile-edit .profile-form-field.span-12,.com-leg.leg-profile-edit .profile-form-field.wide { grid-column:1 / -1; } .com-leg.leg-profile-edit .profile-blood-group-options { grid-template-columns:repeat(2,minmax(0,1fr)); } .com-leg.leg-profile-edit .profile-preference-example-grid { grid-template-columns:1fr; } }
@media (max-width:760px) { .com-leg.leg-profile-edit .profile-edit-navigation { grid-template-columns:1fr; padding:.35rem; } .com-leg.leg-profile-edit .profile-edit-navigation .profile-steps { padding-bottom:.15rem; } .com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a,.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps span.disabled { min-height:44px; padding:.6rem .75rem; } .com-leg.leg-profile-edit .profile-edit-achievements { width:100%; } .com-leg.leg-profile-edit .profile-preference { grid-template-columns:1fr; padding:1.1rem .1rem; } .com-leg.leg-profile-edit .profile-preference-control .control-group { align-items:flex-start; flex-direction:column; } .com-leg.leg-profile-edit .profile-preference-details { justify-self:start; } .com-leg.leg-profile-edit .profile-preference-details-body { padding:1.2rem; } .com-leg.leg-profile-edit .profile-preference-details-inner { padding-left:1rem; } .com-leg.leg-profile-edit .profile-style-choice { grid-template-columns:1fr; } }
@media (max-width:620px) { .com-leg.leg-profile-edit .profile-form-field,.com-leg.leg-profile-edit .profile-form-field.span-4,.com-leg.leg-profile-edit .profile-form-field.span-6,.com-leg.leg-profile-edit .profile-form-field.span-8,.com-leg.leg-profile-edit .profile-form-field.span-12,.com-leg.leg-profile-edit .profile-form-field.wide { grid-column:1 / -1; } }
@media (max-width:520px) { .com-leg.leg-profile-edit .profile-blood-group-options { grid-template-columns:1fr; } }
.com-leg.leg-profile-edit .profile-pioneer-fields { margin-top:24px; padding:20px; border:1px solid var(--border-color,#d8dee8); border-radius:12px; background:#fff; }
.com-leg.leg-profile-edit .profile-pioneer-fields.is-locked { background:#f3f4f6; opacity:.72; }
.com-leg.leg-profile-edit .profile-pioneer-fields-head { margin-bottom:18px; }
.com-leg.leg-profile-edit .profile-pioneer-fields-head h2 { margin:0 0 6px;  }
.com-leg.leg-profile-edit .profile-pioneer-fields-head p { margin:0; color:#6b7280;  }
.com-leg.leg-profile-edit .profile-activities-table-wrap { overflow-x:auto; margin-top:18px; }
.com-leg.leg-profile-edit .profile-activities-table { width:100%; border-collapse:collapse; }
.com-leg.leg-profile-edit .profile-activities-table th,.com-leg.leg-profile-edit .profile-activities-table td { padding:10px; border-top:1px solid #e5e7eb; vertical-align:top; }
.com-leg.leg-profile-edit .profile-activities-table thead th { border-top:0; text-align:left; color:#6b7280; font-size:.8rem; }
.com-leg.leg-profile-edit .profile-activities-table tbody th { width:48px; }
.com-leg.leg-profile-edit .profile-activities-table .control-group { display:block; margin-bottom:0; }
.com-leg.leg-profile-edit .profile-activities-table .control-label { padding:0 0 .45rem; }
.com-leg.leg-profile-edit .profile-activities-table .controls,.com-leg.leg-profile-edit .profile-activities-table .sfile { width:100%; max-width:none; }
.com-leg.leg-profile-edit .profile-unsaved-dialog { width:min(560px,calc(100vw - 2rem)); padding:0; border:0; border-radius:1rem; background:#fff; color:#242b33; box-shadow:0 24px 70px rgba(23,34,48,.24); }
.com-leg.leg-profile-edit .profile-unsaved-dialog::backdrop { background:rgba(20,27,35,.52); }
.com-leg.leg-profile-edit .profile-unsaved-dialog-inner { display:grid; grid-template-columns:auto minmax(0,1fr); gap:1rem; padding:1.4rem; }
.com-leg.leg-profile-edit .profile-unsaved-dialog-icon { display:flex; width:2.7rem; height:2.7rem; align-items:center; justify-content:center; border-radius:50%; background:#fff1f1; color:var(--leg-gold); font-size:1.15rem; }
.com-leg.leg-profile-edit .profile-unsaved-dialog-copy h2 { margin:0 0 .5rem;  }
.com-leg.leg-profile-edit .profile-unsaved-dialog-copy p { margin:0; color:#5f6b78; line-height:1.5; }
.com-leg.leg-profile-edit .profile-unsaved-dialog-actions { display:flex; grid-column:1 / -1; flex-wrap:wrap; gap:.6rem; justify-content:flex-end; margin-top:.35rem; }

@media (max-width:520px) { .com-leg.leg-profile-edit .profile-unsaved-dialog-inner { grid-template-columns:1fr; } .com-leg.leg-profile-edit .profile-unsaved-dialog-icon { display:none; } .com-leg.leg-profile-edit .profile-unsaved-dialog-actions { grid-column:1; flex-direction:column-reverse; } .com-leg.leg-profile-edit .profile-unsaved-dialog-actions .btn { width:100%; } }

/* 3.0.72: rzeczywiste miniatury styli profilu i komunikaty ustawień. */
.com-leg.leg-profile-edit .profile-style-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.75rem}
.com-leg.leg-profile-edit .profile-style-thumbnail{display:grid;gap:.45rem;padding:.55rem;border:1px solid #d7dfe8;border-radius:.75rem;background:#fff;text-align:left;cursor:pointer}
.com-leg.leg-profile-edit .profile-style-thumbnail.active{outline:2px solid var(--color1,#a82b22);outline-offset:1px}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas{display:block;min-height:82px;border-radius:.55rem;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas span{display:block;width:72%;height:34px;margin:24px auto 0;border-radius:.4rem;background:rgba(255,255,255,.78)}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="1"]{background:linear-gradient(rgba(37,4,8,.91),rgba(74,6,12,.88)),repeating-linear-gradient(45deg,#9d1118 0 14px,#3b1115 14px 28px)}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="2"]{background:linear-gradient(120deg,#530710,#8b0b15 48%,#d31925)}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="3"]{background:linear-gradient(rgba(17,27,10,.91),rgba(47,61,22,.88)),repeating-linear-gradient(25deg,#49583a 0 18px,#69764c 18px 34px,#443d28 34px 46px)}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="4"]{background:linear-gradient(rgba(31,27,15,.92),rgba(65,54,25,.88)),repeating-linear-gradient(28deg,#9a8754 0 16px,#51482e 16px 28px,#b8a26a 28px 43px,#393522 43px 53px)}
.com-leg.leg-profile-edit .profile-privacy-fixed-note,.com-leg.leg-profile-edit .profile-pioneer-only-note{display:flex;align-items:flex-start;gap:.65rem;margin:1rem 0 0;padding:.9rem 1rem;border:1px solid #d7dfe8;border-radius:.75rem;background:#f8fafc;line-height:1.45}
.com-leg.leg-profile-edit .profile-pioneer-only-note{margin:0 0 1rem;background:#fffaf0}
@media (max-width:640px){.com-leg.leg-profile-edit .profile-style-thumbnails{grid-template-columns:1fr}}

/* 3.0.74: shared expandable information card, awards editing and hard Pioneer lock. */
.com-leg.leg-profile-edit .profile-info-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:1rem; align-items:start; margin:0 0 1.25rem; padding:1rem 1rem 1rem 1.25rem; border:1px solid #efc9c9; border-left:4px solid #d72c2c; border-radius:.75rem; background:linear-gradient(90deg,#fffafa,#fff); }
.com-leg.leg-profile-edit .profile-info-card-icon { display:flex; width:3rem; height:3rem; align-items:center; justify-content:center; border-radius:50%; background:#fdecec; color:#c92b2b; }
.com-leg.leg-profile-edit .profile-info-card-copy { min-width:0; }
.com-leg.leg-profile-edit .profile-info-card-copy h2 { margin:0 0 .2rem; color:#c62a2a;    }
.com-leg.leg-profile-edit .profile-info-card-copy p { margin:.1rem 0; line-height:1.45; }
.com-leg.leg-profile-edit .profile-info-card-accent { color:#c62a2a; font-weight:700; }
.com-leg.leg-profile-edit .profile-info-card-details { margin-top:.8rem; }
.com-leg.leg-profile-edit .profile-info-card-details ul { margin:.55rem 0 .55rem 1.25rem; padding:0; }
.com-leg.leg-profile-edit .profile-info-card-details li { margin:.25rem 0; }
.com-leg.leg-profile-edit .profile-info-card-toggle { align-self:center; white-space:nowrap; }
.com-leg.leg-profile-edit .profile-info-card-toggle i { margin-left:.45rem; }
.com-leg.leg-profile-edit .profile-awards-actions { display:flex; justify-content:flex-start; margin-top:.75rem; }
.com-leg.leg-profile-edit .profile-pioneer-controls { min-inline-size:0; margin:0; padding:0; border:0; }
.com-leg.leg-profile-edit .profile-pioneer-fields.is-locked .profile-pioneer-controls { cursor:not-allowed; }
@media (max-width:760px) { .com-leg.leg-profile-edit .profile-info-card { grid-template-columns:auto minmax(0,1fr); } .com-leg.leg-profile-edit .profile-info-card-toggle { grid-column:1 / -1; width:100%; } }
.com-leg.leg-profile-edit .profile-unsaved-fields { margin-top:.85rem; padding:.75rem .85rem; border-radius:.65rem; background:#f7f8fa; color:#485461; }
.com-leg.leg-profile-edit .profile-unsaved-fields strong { display:block; margin-bottom:.35rem; color:#2d3742;  }
.com-leg.leg-profile-edit .profile-unsaved-fields ul { margin:0; padding-left:1.15rem; }
.com-leg.leg-profile-edit .profile-unsaved-fields li + li { margin-top:.2rem; }

/* 3.0.77 - profile overview, ordinary/Pioneer split and mockup-aligned presentation. */
.com-leg.profile.item.leg-profile .profile-section-main { padding:0; border:0; background:transparent; box-shadow:none; }
.com-leg.profile.item.leg-profile .profile-overview { padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .profile-overview-heading { margin-bottom:18px; }
.com-leg.profile.item.leg-profile .profile-overview-heading h2 {  }
.com-leg.profile.item.leg-profile .profile-overview-heading .profile-first-name { color:#2c2e31; }
.com-leg.profile.item.leg-profile .profile-overview-heading .profile-last-name { color:var(--color1);  }
.com-leg.profile.item.leg-profile .profile-role-title { color:var(--leg-gold)!important;    }
.com-leg.profile.item.leg-profile .profile-heading-divider,.com-leg.profile.item.leg-profile .section-heading-divider { width:min(420px,72%); display:flex; align-items:center; gap:12px; margin:2px 0 3px; }
.com-leg.profile.item.leg-profile .profile-heading-divider::before,.com-leg.profile.item.leg-profile .profile-heading-divider::after,.com-leg.profile.item.leg-profile .section-heading-divider::before,.com-leg.profile.item.leg-profile .section-heading-divider::after { content:""; height:1px; flex:1 1 auto; background:#ddd7cf; }
.com-leg.profile.item.leg-profile .profile-heading-divider .heading-icon,.com-leg.profile.item.leg-profile .section-heading-divider .heading-icon { flex:0 0 34px; margin:0; }
.com-leg.profile.item.leg-profile .profile-overview .profile-stats { margin-bottom:0; gap:14px; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card { min-width:130px; min-height:205px; padding:13px 10px 16px; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card > small { min-height:2.35em; display:flex; align-items:flex-start; justify-content:center; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card > strong { line-height:.95; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card .stat-value-major { margin-top:85px; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card .text-value { min-height:2.8em; display:flex; align-items:flex-start; justify-content:center; margin-top:8px; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card-image .stat-symbol { display:flex; align-items:center; justify-content:center; margin:12px auto 8px; }
.com-leg.profile.item.leg-profile .profile-overview .stat-card-image .stat-symbol img { max-width:100%; max-height:100%; object-fit:contain; }
.com-leg.profile.item.leg-profile .profile-overview .stat-symbol { width:86px; height:86px; }
.com-leg.profile.item.leg-profile .profile-overview .stat-symbol.recognition { width:86px; height:86px; }
.com-leg.profile.item.leg-profile .profile-basic-bio { margin:16px 2px 28px; color:#404247; font-size:clamp(17px,1.45vw,23px); line-height:1.55; }
.com-leg.profile.item.leg-profile .profile-basic-bio > :first-child { margin-top:0; }
.com-leg.profile.item.leg-profile .profile-basic-bio > :last-child { margin-bottom:0; }
.com-leg.profile.item.leg-profile .pioneer-profile-block { margin-top:24px; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .about-copy { width:100%; max-width:none; color:#55585d!important; line-height:1.58!important; font-weight:400!important; letter-spacing:normal!important; text-align:justify!important; }
.com-leg.profile.item.leg-profile .profile-functions-history,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja { margin:24px 0 0; padding:var(--section-padding); border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:#fff; box-shadow:var(--leg-shadow); }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-track { grid-auto-columns:calc((100% - 56px)/5); }
.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-track { grid-auto-columns:calc((100% - 56px)/5); }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-heading p,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-heading p { width:100%; text-align:center; }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-card { min-height:205px; }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-body { min-height:205px; justify-content:flex-start; padding:14px 12px 16px; }
.com-leg.profile.item.leg-profile .function-card-mark { width:34px; height:34px; display:flex; align-items:center; justify-content:center; margin:0 auto 8px; border:1px solid #e2d7cf; border-radius:50%; background:#fff; color:var(--color1); box-shadow:0 2px 8px rgba(0,0,0,.06); }
.com-leg.profile.item.leg-profile .function-card-mark img { width:22px; height:22px; object-fit:contain; }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-date { margin-top:3px; color:#696969; }
.com-leg.profile.item.leg-profile .profile-functions-history .function-field-label { display:block; margin-top:7px; color:var(--color1); text-transform:uppercase; }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-body h4 { color:#2e343a; line-height:1.28;  }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-place { }
.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-card > .activity-media { height:205px; }
.com-leg.profile.item.leg-profile .hero-affiliations .affiliation-logo img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.com-leg.profile.item.leg-profile .affiliation small:empty { display:none; }
@media (max-width:991.9px) { .com-leg.profile.item.leg-profile .profile-section-main { padding:0; } }
@media (max-width:767.9px) { .com-leg.profile.item.leg-profile .profile-overview,.com-leg.profile.item.leg-profile .pioneer-profile-block,.com-leg.profile.item.leg-profile .profile-functions-history,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja { padding:var(--section-padding); } }


/* 3.0.78 - Membership tab aligned with the client mockup. */
.com-leg.profile.item.leg-profile .membership-panel { padding:0; border:0; background:transparent; box-shadow:none; }
.com-leg.profile.item.leg-profile .membership-group + .membership-group { margin-top:18px; }
.com-leg.profile.item.leg-profile .membership-group-heading,.com-leg.profile.item.leg-profile .membership-section-heading { margin:0 0 12px; }

.com-leg.profile.item.leg-profile .membership-group-heading h2,.com-leg.profile.item.leg-profile .membership-section-heading h2 { margin:0; line-height:1.05;  }

.com-leg.profile.item.leg-profile .membership-group-heading p,.com-leg.profile.item.leg-profile .membership-section-heading p { margin:4px 0 0; color:#4e5156;  line-height:1.35; }
.com-leg.profile.item.leg-profile .membership-organisation-list { display:flex; flex-direction:column; gap:12px; }
.com-leg.profile.item.leg-profile .membership-organisation-card { min-width:0; display:flex; align-items:stretch; overflow:hidden; border:1px solid #e3e4e6; border-left:4px solid var(--color1); border-radius:12px; background:#fff; box-shadow:0 4px 15px rgba(32,35,40,.08); }
.com-leg.profile.item.leg-profile .membership-organisation-copy { min-width:0; flex:1 1 auto; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .membership-organisation-copy h3 { margin:0 0 12px; color:#24272b;  line-height:1.2;  }
.com-leg.profile.item.leg-profile .membership-organisation-copy h3 a { color:inherit; }
.com-leg.profile.item.leg-profile .membership-organisation-copy h3 a:hover { color:var(--color1); }
.com-leg.profile.item.leg-profile .membership-contact-list { max-width:520px; margin:0; }
.com-leg.profile.item.leg-profile .membership-contact-list > div { display:grid; grid-template-columns:minmax(120px,40%) minmax(0,1fr); align-items:start; gap:12px; padding:7px 0; border-top:1px solid #eeeeef; }
.com-leg.profile.item.leg-profile .membership-contact-list > div:first-child { border-top:0; }
.com-leg.profile.item.leg-profile .membership-contact-list dt,.com-leg.profile.item.leg-profile .membership-contact-list dd { margin:0; }
.com-leg.profile.item.leg-profile .membership-contact-list dt { display:flex; align-items:center; gap:8px; color:#34373b;  font-weight:700; }
.com-leg.profile.item.leg-profile .membership-contact-list dt i { width:14px; flex:0 0 14px; color:var(--color1); text-align:center; }
.com-leg.profile.item.leg-profile .membership-contact-list dd { color:#4b4e53;  line-height:1.45; overflow-wrap:anywhere; }
.com-leg.profile.item.leg-profile .membership-contact-list dd a { color:inherit; }
.com-leg.profile.item.leg-profile .membership-contact-list dd a:hover { color:var(--color1); }
.com-leg.profile.item.leg-profile .membership-organisation-logo { flex:0 0 37%; min-width:180px; display:flex; align-items:center; justify-content:center; padding:var(--section-padding); background:linear-gradient(135deg,#fff 0,#fff 72%,#faf8f5 72%); }
.com-leg.profile.item.leg-profile .membership-organisation-logo img { width:100%; height:170px; object-fit:contain; }
.com-leg.profile.item.leg-profile .membership-fees-section,.com-leg.profile.item.leg-profile .membership-events-section { margin-top:26px; }
.com-leg.profile.item.leg-profile .membership-section-heading-actions { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.com-leg.profile.item.leg-profile .membership-fee-cta { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; padding:8px 13px; border-radius:7px; background:var(--color1); color:#fff;  font-weight:800; text-align:center; }
.com-leg.profile.item.leg-profile .membership-fee-cta:hover,.com-leg.profile.item.leg-profile .membership-fee-cta:focus { color:#fff; filter:brightness(.94); }
.com-leg.profile.item.leg-profile .membership-fee-summary { margin-top:14px; padding:var(--section-padding); border:1px solid #e4e5e7; border-radius:12px; background:#fff; box-shadow:0 4px 15px rgba(32,35,40,.07); }
.com-leg.profile.item.leg-profile .membership-fee-summary dl { margin:0; }
.com-leg.profile.item.leg-profile .membership-fee-summary dl > div { display:grid; grid-template-columns:minmax(180px,48%) minmax(0,1fr); gap:14px; align-items:center; padding:10px 0; border-top:1px solid #eeeeef; }
.com-leg.profile.item.leg-profile .membership-fee-summary dl > div:first-child { border-top:0; }
.com-leg.profile.item.leg-profile .membership-fee-summary dt,.com-leg.profile.item.leg-profile .membership-fee-summary dd { margin:0; }
.com-leg.profile.item.leg-profile .membership-fee-summary dt { display:flex; align-items:center; gap:9px; color:#2f3236;   }
.com-leg.profile.item.leg-profile .membership-fee-summary dt i { width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; color:var(--color1); }
.com-leg.profile.item.leg-profile .membership-fee-summary dd { color:#25282c;   text-align:right; }
.com-leg.profile.item.leg-profile .membership-fee-summary .membership-fee-counts dd { display:flex; flex-direction:column; gap:2px; align-items:flex-end;   }
.com-leg.profile.item.leg-profile .membership-fee-summary .membership-fee-counts strong { min-width:22px; display:inline-block; color:var(--color1);  text-align:right; }
.com-leg.profile.item.leg-profile .membership-fee-years { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin-top:12px; }
.com-leg.profile.item.leg-profile .membership-fee-year-card { min-width:0; min-height:126px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:5px; padding:var(--section-padding); border:1px solid #e5e6e8; border-radius:10px; background:#fff; color:#34373b; box-shadow:0 3px 12px rgba(32,35,40,.06); text-align:center; }
.com-leg.profile.item.leg-profile .membership-fee-year-card:hover,.com-leg.profile.item.leg-profile .membership-fee-year-card:focus { border-color:#d8aaa5; color:#34373b; }
.com-leg.profile.item.leg-profile .membership-fee-gift { width:52px; height:52px; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.com-leg.profile.item.leg-profile .membership-fee-gift img { width:100%; height:100%; object-fit:contain; border-radius:50%; }
.com-leg.profile.item.leg-profile .membership-fee-gift.is-empty { border:1px solid #e7e7e8; background:#fff; }
.com-leg.profile.item.leg-profile .membership-fee-year-card > strong { color:var(--color1);  line-height:1; }
.com-leg.profile.item.leg-profile .membership-fee-year-card > small { display:flex; align-items:center; gap:4px; margin-top:auto; color:#62666d;  line-height:1.2; text-transform:uppercase; }
.com-leg.profile.item.leg-profile .membership-fee-year-card.is-confirmed > small i { color:var(--color1); }
.com-leg.profile.item.leg-profile .membership-featured-event { display:flex; overflow:hidden; margin-top:14px; border:1px solid #e4e5e7; border-radius:12px; background:#fff; box-shadow:0 4px 15px rgba(32,35,40,.08); }
.com-leg.profile.item.leg-profile .membership-featured-event-media { flex:0 0 56%; min-width:0; padding:var(--section-padding) 0 var(--section-padding) var(--section-padding); }
.com-leg.profile.item.leg-profile .membership-featured-event-media img { width:100%; height:250px; display:block; border-radius:9px; object-fit:cover; background:#f7f7f7; }
.com-leg.profile.item.leg-profile .membership-featured-event-body { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .membership-featured-event-body h3,.com-leg.profile.item.leg-profile .membership-event-list-card h3 { margin:0 0 8px; color:#292c30;  line-height:1.2;  }
.com-leg.profile.item.leg-profile .membership-event-name { margin:-2px 0 10px; color:#656a71;  line-height:1.35; }
.com-leg.profile.item.leg-profile .membership-event-meta { display:flex; flex-direction:column; gap:7px; margin:5px 0 14px; }
.com-leg.profile.item.leg-profile .membership-event-meta span { display:flex; align-items:flex-start; gap:7px; color:#4f5359;  line-height:1.35; }
.com-leg.profile.item.leg-profile .membership-event-meta i { width:13px; flex:0 0 13px; color:var(--color1); text-align:center; }
.com-leg.profile.item.leg-profile .membership-event-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:32px; margin-top:auto; padding:6px 13px; border:1px solid var(--color1); border-radius:6px; color:var(--color1);  font-weight:800; }
.com-leg.profile.item.leg-profile .membership-event-button:hover,.com-leg.profile.item.leg-profile .membership-event-button:focus { background:var(--color1); color:#fff; }
.com-leg.profile.item.leg-profile .membership-events-all { display:flex; align-items:center; gap:9px; margin:10px 0 12px; padding:var(--section-padding); border:1px solid #ececed; border-radius:9px; background:#fff;  }
.com-leg.profile.item.leg-profile .membership-events-all > i { color:var(--color1); }
.com-leg.profile.item.leg-profile .membership-events-all span { flex:1 1 auto; color:#52565b; }
.com-leg.profile.item.leg-profile .membership-events-all a { display:flex; align-items:center; gap:5px; color:#2e3135; font-weight:800; }
.com-leg.profile.item.leg-profile .membership-events-all a:hover { color:var(--color1); }
.com-leg.profile.item.leg-profile .membership-event-list { display:flex; flex-direction:column; gap:10px; }
.com-leg.profile.item.leg-profile .membership-event-list-card { min-width:0; display:grid; grid-template-columns:42% minmax(0,1fr); gap:12px; padding:var(--section-padding); border:1px solid #e5e6e8; border-radius:11px; background:#fff; box-shadow:0 3px 12px rgba(32,35,40,.06); }
.com-leg.profile.item.leg-profile .membership-event-list-media img { width:100%; height:122px; display:block; border-radius:8px; object-fit:cover; background:#f7f7f7; }
.com-leg.profile.item.leg-profile .membership-event-list-card > div { min-width:0; display:flex; flex-direction:column; padding:4px 5px 3px 0; }

.com-leg.profile.item.leg-profile .membership-event-meta.compact { margin:0 0 8px; gap:5px; }


@media (max-width:767.9px) { .com-leg.profile.item.leg-profile .membership-organisation-logo { flex-basis:34%; min-width:130px; padding:var(--section-padding); } .com-leg.profile.item.leg-profile .membership-organisation-logo img { height:140px; } .com-leg.profile.item.leg-profile .membership-fee-years { grid-template-columns:repeat(3,minmax(0,1fr)); } .com-leg.profile.item.leg-profile .membership-featured-event { flex-direction:column; } .com-leg.profile.item.leg-profile .membership-featured-event-media { flex-basis:auto; padding:var(--section-padding) var(--section-padding) 0; } .com-leg.profile.item.leg-profile .membership-featured-event-media img { height:220px; } }
@media (max-width:575.9px) {  .com-leg.profile.item.leg-profile .membership-organisation-card { flex-direction:column-reverse; } .com-leg.profile.item.leg-profile .membership-organisation-logo { min-width:0; width:100%; padding:var(--section-padding) var(--section-padding) 0; background:#fff; } .com-leg.profile.item.leg-profile .membership-organisation-logo img { height:155px; } .com-leg.profile.item.leg-profile .membership-contact-list > div { grid-template-columns:110px minmax(0,1fr); gap:8px; } .com-leg.profile.item.leg-profile .membership-section-heading-actions { align-items:stretch; flex-direction:column; } .com-leg.profile.item.leg-profile .membership-fee-cta { align-self:flex-start; } .com-leg.profile.item.leg-profile .membership-fee-summary dl > div { grid-template-columns:minmax(0,1fr) auto; } .com-leg.profile.item.leg-profile .membership-fee-years { grid-template-columns:repeat(2,minmax(0,1fr)); } .com-leg.profile.item.leg-profile .membership-event-list-card { grid-template-columns:1fr; } .com-leg.profile.item.leg-profile .membership-event-list-media img { height:180px; } }
/* 3.0.79 - INFO KREW */
.com-leg.profile.item.leg-profile .profile-section-blood { padding:0 0 var(--section-padding); border:0; background:transparent; box-shadow:none; }
.com-leg.profile.item.leg-profile .profile-section-blood > .blood-heading { margin:0 0 14px; padding:0 8px; }
.com-leg.profile.item.leg-profile .profile-section-blood > .blood-heading:not(:first-child) { margin-top:30px; }
.com-leg.profile.item.leg-profile .blood-heading h2 { color:#34363a; }
.com-leg.profile.item.leg-profile .blood-heading p { margin:3px 0 0; color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-last-stack { display:flex; flex-direction:column; gap:18px; }
.com-leg.profile.item.leg-profile .blood-last-card,.com-leg.profile.item.leg-profile .blood-history-card { font-family:var(--font1,inherit); }
.com-leg.profile.item.leg-profile .blood-last-card { min-width:0; display:flex; flex-direction:row; align-items:stretch; overflow:hidden; }
.com-leg.profile.item.leg-profile .blood-last-photo { min-width:0; flex:0 1 45%; display:flex; padding:var(--section-padding) 0 var(--section-padding) var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-last-photo img { width:100%; height:100%; display:block; border-radius:10px; object-fit:cover; background:var(--leg-soft); }
.com-leg.profile.item.leg-profile .blood-last-body { min-width:0; flex:1 1 55%; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-card-kicker { display:flex; align-items:center; gap:8px; margin-bottom:9px; color:#3d4045; font-weight:800; }
.com-leg.profile.item.leg-profile .blood-card-kicker img { width:18px; height:18px; object-fit:contain; }
.com-leg.profile.item.leg-profile .blood-last-body h3 { margin:0 0 13px; color:#25282d; line-height:1.1; }
.com-leg.profile.item.leg-profile .blood-facts { display:flex; flex-wrap:wrap; gap:14px; }
.com-leg.profile.item.leg-profile .blood-fact { min-width:220px; flex:1 1 calc(50% - 7px); display:flex; gap:12px; align-items:center; min-height:96px; padding:16px 18px; border:1px solid #ededed; border-radius:12px; background:#fff; }
.com-leg.profile.item.leg-profile .blood-fact > img { width:38px; height:38px; flex:0 0 38px; object-fit:contain; }
.com-leg.profile.item.leg-profile .blood-fact > span { min-width:0; display:flex; flex-direction:column; gap:3px; }
.com-leg.profile.item.leg-profile .blood-fact-brand { width:82px; max-width:38px; height:60px; flex:0 0 82px; display:flex!important; align-items:center; justify-content:center; }
.com-leg.profile.item.leg-profile .blood-fact-brand img { max-width:100%; max-height:58px; object-fit:contain; }
.com-leg.profile.item.leg-profile .blood-fact small { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-fact strong { color:#33363a; line-height:1.25; }
.com-leg.profile.item.leg-profile .blood-fact b { color:var(--color1); }
.com-leg.profile.item.leg-profile .blood-history-card { min-width:0; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-history-list { display:flex; flex-direction:column; gap:10px; }
.com-leg.profile.item.leg-profile .blood-history-row { min-width:0; display:flex; align-items:center; gap:16px; padding:16px 18px; border:1px solid #ececec; border-radius:8px; color:#303339; background:#fff; transition:border-color .15s ease,box-shadow .15s ease; }
.com-leg.profile.item.leg-profile .blood-history-row:hover,.com-leg.profile.item.leg-profile .blood-history-row:focus { border-color:#d7aaa4; box-shadow:0 2px 8px rgba(0,0,0,.05); }
.com-leg.profile.item.leg-profile .blood-history-drop { width:54px; height:54px; flex:0 0 54px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#f9eeee; }
.com-leg.profile.item.leg-profile .blood-history-drop img { width:30px; height:30px; }
.com-leg.profile.item.leg-profile .blood-history-copy { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; gap:2px; }
.com-leg.profile.item.leg-profile .blood-history-copy strong { color:#33363a; }
.com-leg.profile.item.leg-profile .blood-history-copy small { overflow:hidden; color:var(--leg-muted); text-overflow:ellipsis; white-space:nowrap; }
.com-leg.profile.item.leg-profile .blood-history-copy em { overflow:hidden; color:#555960; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.com-leg.profile.item.leg-profile .blood-history-logo { width:96px; height:64px; flex:0 0 96px; display:flex; align-items:center; justify-content:center; }
.com-leg.profile.item.leg-profile .blood-history-logo img { max-width:92px; max-height:60px; object-fit:contain; }
.com-leg.profile.item.leg-profile .blood-history-more { margin-top:7px; }
.com-leg.profile.item.leg-profile .blood-history-more summary { cursor:pointer; padding:8px 10px; border-radius:7px; background:#f5f5f5; color:#44484e; text-align:center; list-style:none; }
.com-leg.profile.item.leg-profile .blood-history-more summary::-webkit-details-marker { display:none; }
.com-leg.profile.item.leg-profile .blood-history-more[open] summary { margin-bottom:7px; }
.com-leg.profile.item.leg-profile .blood-days-card { display:flex; flex-direction:row; align-items:center; flex-wrap:nowrap; gap:12px; margin:0 0 12px; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-days-card img { width:18px; height:18px; }
.com-leg.profile.item.leg-profile .blood-days-card span { color:#404348; white-space:nowrap; }
.com-leg.profile.item.leg-profile .blood-days-card strong { margin:0; padding:4px 8px; border-radius:6px; background:#fff1ef; color:var(--color1); }
.com-leg.profile.item.leg-profile .blood-availability-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.com-leg.profile.item.leg-profile .blood-availability-card { min-width:0; min-height:245px; display:flex; flex-direction:column; align-items:center; gap:5px; padding:12px 8px 10px; text-align:center; }
.com-leg.profile.item.leg-profile .blood-availability-card h4 { min-height:32px; margin:0; color:#33363a; line-height:1.2; }
.com-leg.profile.item.leg-profile .blood-drop-large { width:70px; height:86px; display:flex; align-items:center; justify-content:center; }
.com-leg.profile.item.leg-profile .blood-drop-large img { width:58px; height:58px; object-fit:contain; }
.com-leg.profile.item.leg-profile .blood-availability-card small { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-availability-card > strong { color:#35383d; }
.com-leg.profile.item.leg-profile .blood-availability-card .availability { margin:3px 0 2px; }
.com-leg.profile.item.leg-profile .blood-availability-card p { margin:auto 0 0; color:#666a72; line-height:1.35; }
.com-leg.profile.item.leg-profile .blood-type-2 .blood-drop-large img { filter:hue-rotate(25deg) saturate(.82) brightness(1.25); }
.com-leg.profile.item.leg-profile .blood-type-3 .blood-drop-large img { filter:hue-rotate(-18deg) saturate(.85) brightness(.85); }
.com-leg.profile.item.leg-profile .blood-type-4 .blood-drop-large img { filter:saturate(1.25) brightness(1.08); }
.com-leg.profile.item.leg-profile .blood-type-5 .blood-drop-large img { filter:hue-rotate(145deg) saturate(.75) brightness(1.15); }
.com-leg.profile.item.leg-profile .blood-map-widget { min-height:280px; padding:var(--section-padding); overflow:hidden; }
.com-leg.profile.item.leg-profile .blood-map-widget img,.com-leg.profile.item.leg-profile .blood-map-widget iframe { max-width:100%; }
.com-leg.profile.item.leg-profile .blood-stat-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.com-leg.profile.item.leg-profile .blood-stat-metric { min-width:0; display:grid; grid-template-columns:34px minmax(0,1fr); column-gap:9px; align-items:center; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-stat-metric img { width:26px; height:26px; grid-row:1 / span 2; }
.com-leg.profile.item.leg-profile .blood-stat-metric span { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-stat-metric strong { color:#34373b; line-height:1.05; }
.com-leg.profile.item.leg-profile .blood-stat-dashboard { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:10px; }
.com-leg.profile.item.leg-profile .blood-chart-card { min-width:0; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-chart-card h3 { margin:0 0 13px; color:#33363b; }
.com-leg.profile.item.leg-profile .blood-year-chart { min-height:165px; display:flex; align-items:flex-end; gap:7px; padding:8px 4px 0; border-bottom:1px solid #e9e9e9; }
.com-leg.profile.item.leg-profile .blood-year-bar { min-width:0; flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:3px; }
.com-leg.profile.item.leg-profile .blood-year-bar .bar { width:100%; height:115px; display:flex; align-items:flex-end; justify-content:center; }
.com-leg.profile.item.leg-profile .blood-year-bar .bar i { width:min(36px,76%); height:var(--bar-height); min-height:4px; display:block; border-radius:4px 4px 0 0; background-image:linear-gradient(to bottom,var(--color1),var(--color2)); }
.com-leg.profile.item.leg-profile .blood-year-bar strong { color:#4b4e53; }
.com-leg.profile.item.leg-profile .blood-year-bar small { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-type-breakdown { display:flex; flex-direction:column; gap:9px; }
.com-leg.profile.item.leg-profile .blood-type-row { min-width:0; display:grid; grid-template-columns:23px minmax(0,1fr) auto; gap:7px; align-items:center; }
.com-leg.profile.item.leg-profile .blood-type-row > img { width:20px; height:20px; }
.com-leg.profile.item.leg-profile .blood-type-row > span { min-width:0; display:flex; flex-direction:column; gap:4px; }
.com-leg.profile.item.leg-profile .blood-type-row strong { overflow:hidden; color:#41444a; text-overflow:ellipsis; white-space:nowrap; }
.com-leg.profile.item.leg-profile .blood-type-row span > i { height:4px; overflow:hidden; border-radius:3px; background:#f0eeee; }
.com-leg.profile.item.leg-profile .blood-type-row span > i b { width:var(--bar-width); height:100%; display:block; background-image:linear-gradient(to bottom,var(--color1),var(--color2)); }
.com-leg.profile.item.leg-profile .blood-type-row em { color:#55595e; font-style:normal; }
.com-leg.profile.item.leg-profile .blood-year-summary-title { display:flex; align-items:center; gap:7px; margin:13px 0 8px; padding:0 4px; }
.com-leg.profile.item.leg-profile .blood-year-summary-title img { width:16px; height:16px; }
.com-leg.profile.item.leg-profile .blood-year-summary-title strong { color:#484b50; }
.com-leg.profile.item.leg-profile .blood-year-summary-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.com-leg.profile.item.leg-profile .blood-year-summary-card { min-width:0; display:flex; flex-direction:column; gap:3px; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-year-summary-card strong { color:#44474c; }
.com-leg.profile.item.leg-profile .blood-year-summary-card span { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-year-summary-card em { color:var(--color1); font-style:normal;  }
.com-leg.profile.item.leg-profile .blood-tax-rules { margin-bottom:10px; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-tax-rules-card { display:flex; flex-direction:column; gap:0; }
.com-leg.profile.item.leg-profile .blood-tax-rules-lead { margin:0; color:#3e4146; line-height:1.7; }
.com-leg.profile.item.leg-profile .blood-tax-rules-cta { margin:24px 0 0; padding:22px 0; border-top:1px solid #dedede; border-bottom:1px solid #dedede; }
.com-leg.profile.item.leg-profile .blood-tax-rules-cta a { display:inline-flex; align-items:center; gap:12px; color:var(--color1); text-decoration:none; }
.com-leg.profile.item.leg-profile .blood-tax-rules-cta a::before { content:"\f101"; color:var(--color1); font:var(--fa-font-solid); line-height:1; }
.com-leg.profile.item.leg-profile .blood-tax-rules-cta a:hover,.com-leg.profile.item.leg-profile .blood-tax-rules-cta a:focus { color:var(--color2); text-decoration:underline; }
.com-leg.profile.item.leg-profile .blood-tax-rules-legal { display:flex; align-items:flex-start; gap:16px; margin-top:22px; }
.com-leg.profile.item.leg-profile .blood-tax-rules-legal-icon { width:54px; height:54px; flex:0 0 54px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:color-mix(in srgb,var(--color1) 7%,#fff); color:var(--color1); }
.com-leg.profile.item.leg-profile .blood-tax-rules-legal-icon i { font-size:24px; }
.com-leg.profile.item.leg-profile .blood-tax-rules-legal-copy { min-width:0; display:flex; flex-direction:column; gap:4px; }
.com-leg.profile.item.leg-profile .blood-tax-rules-legal-copy strong { color:#33373d; }
.com-leg.profile.item.leg-profile .blood-tax-rules-legal-copy span { color:#3e4146; line-height:1.55; }
.com-leg.profile.item.leg-profile .blood-tax-rules-heading { display:flex; align-items:center; gap:14px; margin-bottom:14px; color:var(--color1); }
.com-leg.profile.item.leg-profile .blood-tax-rules-icon { width:54px; height:54px; flex:0 0 54px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:color-mix(in srgb,var(--color1) 7%,#fff); color:var(--color1); }
.com-leg.profile.item.leg-profile .blood-tax-rules-icon i { font-size:24px; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content > *:first-child { margin-top:0; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content > *:last-child { margin-bottom:0; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content ul { margin:16px 0 0; padding:0; list-style:none; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content li { position:relative; padding-left:32px; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content li::before { content:"\f101"; position:absolute; left:4px; top:.08em; color:var(--color1); font:var(--fa-font-solid); }
.com-leg.profile.item.leg-profile .blood-tax-rules a { color:var(--color1); text-decoration:none; }
.com-leg.profile.item.leg-profile .blood-tax-rules a:hover,.com-leg.profile.item.leg-profile .blood-tax-rules a:focus { color:var(--color2); text-decoration:underline; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content > p:last-child { position:relative; min-height:58px; margin-top:22px; padding:18px 0 0 72px; border-top:1px solid #dedede; }
.com-leg.profile.item.leg-profile .blood-tax-rules-content > p:last-child::before { content:"\f24e"; width:54px; height:54px; position:absolute; top:18px; left:0; display:flex; align-items:center; justify-content:center; border-radius:50%; background:color-mix(in srgb,var(--color1) 7%,#fff); color:var(--color1); font:var(--fa-font-solid);  }
.com-leg.profile.item.leg-profile .blood-tax-rules h2:not(:first-child),.com-leg.profile.item.leg-profile .blood-tax-rules h3:not(:first-child),.com-leg.profile.item.leg-profile .blood-tax-rules h4:not(:first-child) { margin-top:20px; padding-top:16px; border-top:1px solid #e7e7e7; }

.com-leg.profile.item.leg-profile .blood-tax-year { margin-bottom:10px; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-tax-year h3,.com-leg.profile.item.leg-profile .blood-tax-donations h3,.com-leg.profile.item.leg-profile .blood-tax-history h3,.com-leg.profile.item.leg-profile .blood-tax-summary h3 { margin:0 0 12px; color:#3b3e43; }
.com-leg.profile.item.leg-profile .blood-tax-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.com-leg.profile.item.leg-profile .blood-tax-metrics > div { min-width:0; display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid #ededed; border-radius:8px; }
.com-leg.profile.item.leg-profile .blood-tax-metrics img { width:22px; height:22px; }
.com-leg.profile.item.leg-profile .blood-tax-metrics span { min-width:0; display:flex; flex-direction:column; gap:2px; }
.com-leg.profile.item.leg-profile .blood-tax-metrics small { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-tax-metrics strong { color:#34373b; }
.com-leg.profile.item.leg-profile .blood-tax-metrics strong.accent { color:var(--color1); }
.com-leg.profile.item.leg-profile .blood-tax-donations { margin-bottom:10px; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-tax-donation-head,.com-leg.profile.item.leg-profile .blood-tax-donation-row { display:grid; grid-template-columns:1fr 1.4fr 90px; gap:10px; align-items:center; }
.com-leg.profile.item.leg-profile .blood-tax-donation-head { padding:0 8px 6px; color:var(--leg-muted); text-transform:uppercase; }
.com-leg.profile.item.leg-profile .blood-tax-donation-row { padding:8px; border-top:1px solid #eeeeee; color:#3e4146; }
.com-leg.profile.item.leg-profile .blood-tax-donation-row small { color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-tax-bottom-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr); gap:10px; }
.com-leg.profile.item.leg-profile .blood-tax-history,.com-leg.profile.item.leg-profile .blood-tax-summary { min-width:0; padding:var(--section-padding); }
.com-leg.profile.item.leg-profile .blood-tax-history-row { display:grid; grid-template-columns:45px minmax(0,1fr) 72px; gap:8px; align-items:center; margin:7px 0; }
.com-leg.profile.item.leg-profile .blood-tax-history-row > strong { min-width:45px; }

.com-leg.profile.item.leg-profile .blood-tax-history-row > span { height:5px; overflow:hidden; border-radius:4px; background:#f0eeee; }
.com-leg.profile.item.leg-profile .blood-tax-history-row > span i { width:var(--bar-width); height:100%; display:block; background-image:linear-gradient(to bottom,var(--color1),var(--color2)); }
.com-leg.profile.item.leg-profile .blood-tax-history-row em { color:#4e5156; font-style:normal; text-align:right; }
.com-leg.profile.item.leg-profile .blood-tax-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.com-leg.profile.item.leg-profile .blood-tax-summary h3 { grid-column:1 / -1; margin-bottom:2px; }
.com-leg.profile.item.leg-profile .blood-tax-summary > div { min-width:0; display:flex; align-items:flex-start; gap:10px; padding:9px; border:1px solid #ececec; border-radius:8px; }
.com-leg.profile.item.leg-profile .blood-tax-summary-icon { width:38px; height:38px; flex:0 0 38px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:color-mix(in srgb,var(--color1) 7%,#fff); }
.com-leg.profile.item.leg-profile .blood-tax-summary-icon img { width:22px; height:22px; object-fit:contain; }
.com-leg.profile.item.leg-profile .blood-tax-summary-copy { min-width:0; display:flex; flex-direction:column; gap:2px; color:var(--leg-muted); }
.com-leg.profile.item.leg-profile .blood-tax-summary-value { display:inline-block; width:max-content; max-width:100%; background-image:linear-gradient(to bottom,var(--color1),var(--color2)); background-clip:text; -webkit-background-clip:text; color:var(--color1); -webkit-text-fill-color:transparent; }
.com-leg.profile.item.leg-profile .blood-tax-note { display:flex; align-items:flex-start; gap:9px; margin-top:10px; padding:10px 12px; border:1px solid #ecd8d4; border-radius:8px; background:#fff8f7; color:#6a5b58; line-height:1.4; }
.com-leg.profile.item.leg-profile .blood-tax-note img { width:18px; height:18px; flex:0 0 18px; }
@media (max-width:991.9px) { .com-leg.profile.item.leg-profile .blood-stat-dashboard,.com-leg.profile.item.leg-profile .blood-tax-bottom-grid { grid-template-columns:1fr; } .com-leg.profile.item.leg-profile .blood-availability-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .com-leg.profile.item.leg-profile .blood-year-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:767.9px) { .com-leg.profile.item.leg-profile .profile-section-blood { padding-bottom:var(--section-padding); } .com-leg.profile.item.leg-profile .blood-last-card { flex-direction:column; } .com-leg.profile.item.leg-profile .blood-last-photo { flex-basis:auto; padding:var(--section-padding) var(--section-padding) 0; } .com-leg.profile.item.leg-profile .blood-facts { padding-right:0; } .com-leg.profile.item.leg-profile .blood-stat-metrics,.com-leg.profile.item.leg-profile .blood-tax-metrics { grid-template-columns:1fr; } .com-leg.profile.item.leg-profile .blood-tax-donation-head { display:none; } .com-leg.profile.item.leg-profile .blood-tax-donation-row { grid-template-columns:1fr; gap:3px; } }
@media (max-width:575.9px) { .com-leg.profile.item.leg-profile .profile-section-blood > .blood-heading { padding:0 2px; } .com-leg.profile.item.leg-profile .blood-fact { flex-basis:100%; } .com-leg.profile.item.leg-profile .blood-availability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .com-leg.profile.item.leg-profile .blood-year-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .com-leg.profile.item.leg-profile .blood-tax-summary { grid-template-columns:1fr; } }

/* 3.0.80 - Pionier achievements tab according to the client mockup. */
.com-leg.profile.item.leg-profile .profile-section-achievements{padding-top:4px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-management-actions{justify-content:flex-end;margin:0 0 10px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-block,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics{margin:0 0 24px;padding:var(--section-padding);border:1px solid #e2e4e7;border-radius:10px;background:#fff;box-shadow:0 3px 14px rgba(23,34,48,.05)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading{margin-bottom:22px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading .eyebrow{color:#a8751d;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading h3{max-width:760px;margin:4px auto 8px;color:#303338;line-height:1.16}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading p{max-width:760px;color:#666b72;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-track{grid-auto-columns:calc((100% - 40px)/5);gap:10px;padding-bottom:10px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading p{width:100%;text-align:center}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{border-radius:7px;box-shadow:0 2px 8px rgba(26,38,55,.06)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card > .activity-media{height:150px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-body{min-height:104px;padding:11px 10px 10px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-date{margin-bottom:4px;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-body h4{line-height:1.25;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-place{margin-top:5px;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-links{padding-top:8px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-links a{width:24px;height:24px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-recognition .activity-card > .activity-media{background:#f7f4ef}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-recognition .activity-card > .activity-media img{object-fit:contain;padding:8px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics{margin-top:0}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-card{display:grid;min-width:0;min-height:118px;padding:14px 12px;align-content:center;justify-items:center;border:1px solid #e2e4e7;border-radius:8px;background:#fff;text-align:center;box-shadow:0 2px 8px rgba(26,38,55,.05)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-icon{display:inline-flex;width:34px;height:34px;margin-bottom:7px;align-items:center;justify-content:center;border:1px solid #e6d5b6;border-radius:50%;color:#b17918;font-size:15px}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-card small{color:#a36f1e;line-height:1.25;text-transform:uppercase}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-card strong{margin-top:5px;color:#34373b;line-height:1.05}
.com-leg.profile.item.leg-profile .profile-section-achievements .achievement-basic-heading{margin-bottom:18px}
.com-leg.profile.item.leg-profile .profile-section-achievements .achievement-description{max-width:820px;margin:0 auto;padding:var(--section-padding);text-align:left}
@media(max-width:980px){.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.com-leg.profile.item.leg-profile .profile-section-achievements .activity-track{grid-auto-columns:minmax(190px,42vw)}}
@media(max-width:640px){.com-leg.profile.item.leg-profile .profile-section-achievements .activity-block,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics{padding:var(--section-padding)}.com-leg.profile.item.leg-profile .profile-section-achievements .activity-track{grid-auto-columns:minmax(72vw,1fr)}.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stats{grid-template-columns:1fr 1fr}}


/* 3.0.81 - awards overview and Krzyz Zaslugi progress. */
.com-leg.profile.item.leg-profile .profile-section-awards{padding:var(--section-padding) 0;border:0;background:transparent;box-shadow:none}
.com-leg.profile.item.leg-profile .awards-overview-heading{margin:0 0 16px;padding:0 18px}
.com-leg.profile.item.leg-profile .awards-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:720px;margin:0 auto 24px;padding:0 18px}
.com-leg.profile.item.leg-profile .award-family-card{position:relative;display:flex;min-width:0;min-height:174px;padding:12px 9px 14px;flex-direction:column;align-items:center;justify-content:flex-end;border:1px solid #e0e2e5;border-radius:8px;background:#fff;color:#34373b;text-align:center;box-shadow:0 2px 8px rgba(25,35,48,.05)}
.com-leg.profile.item.leg-profile .award-family-card:hover,.com-leg.profile.item.leg-profile .award-family-card:focus{border-color:#d6aaa5;color:#34373b}
.com-leg.profile.item.leg-profile .award-family-image{display:flex;width:92px;height:88px;margin:auto 0 5px;align-items:center;justify-content:center}
.com-leg.profile.item.leg-profile .award-family-image img{max-width:100%;max-height:100%;object-fit:contain}
.com-leg.profile.item.leg-profile .award-family-card>span:not(.award-family-image){min-height:30px;font-weight:700;line-height:1.2}
.com-leg.profile.item.leg-profile .award-family-card small{margin-top:5px;color:#b10b13;}
.com-leg.profile.item.leg-profile .award-family-card>i{position:absolute;right:7px;bottom:7px;color:#c00;font-size:11px}
.com-leg.profile.item.leg-profile .award-family-missing{position:absolute;top:69px;color:#c00;text-transform:uppercase}
.com-leg.profile.item.leg-profile .award-cross-section{margin-top:10px}
.com-leg.profile.item.leg-profile .award-cross-title{padding:0 8px 12px;border-left:4px solid #c7000b}
.com-leg.profile.item.leg-profile .award-cross-title h2{margin:0;color:#34373b;line-height:1.05}
.com-leg.profile.item.leg-profile .award-cross-title h2::first-letter{color:#c7000b}
.com-leg.profile.item.leg-profile .award-cross-title p{margin:4px 0 0;color:#565b63;}
.com-leg.profile.item.leg-profile .award-cross-summary{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;margin:10px 0 18px;padding:0 8px}
.com-leg.profile.item.leg-profile .award-cross-main{min-width:0}
.com-leg.profile.item.leg-profile .award-cross-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}
.com-leg.profile.item.leg-profile .award-cross-metrics article{display:grid;min-height:72px;padding:10px;align-content:center;justify-items:center;border:1px solid #e6e7e9;border-radius:7px;background:#fff;text-align:center}
.com-leg.profile.item.leg-profile .award-cross-metrics strong{color:#c3000a;line-height:1}
.com-leg.profile.item.leg-profile .award-cross-metrics span{margin-top:6px;color:#4d5055;}
.com-leg.profile.item.leg-profile .award-cross-links{overflow:hidden;border:1px solid #e5e7e9;border-radius:7px;background:#fff}
.com-leg.profile.item.leg-profile .award-cross-links>div,.com-leg.profile.item.leg-profile .award-cross-links>a{display:flex;min-height:42px;padding:9px 12px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eceef0;color:#42464c;}
.com-leg.profile.item.leg-profile .award-cross-links>*:last-child{border-bottom:0}
.com-leg.profile.item.leg-profile .award-cross-links span{display:flex;align-items:center;gap:8px}
.com-leg.profile.item.leg-profile .award-cross-links i{color:#c6000c}
.com-leg.profile.item.leg-profile .award-cross-links strong{color:#b60009;}
.com-leg.profile.item.leg-profile .award-cross-description{margin-top:8px;padding:11px 13px;border:1px solid #e9e4dd;border-radius:7px;background:#fffdf9;color:#56595e;line-height:1.4}
.com-leg.profile.item.leg-profile .award-cross-description>*:first-child{margin-top:0}
.com-leg.profile.item.leg-profile .award-cross-description>*:last-child{margin-bottom:0}
.com-leg.profile.item.leg-profile .award-cross-current{display:flex;padding:12px 8px;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}
.com-leg.profile.item.leg-profile .award-cross-current>span{max-width:150px;margin-bottom:8px;color:#36393e;font-weight:800}
.com-leg.profile.item.leg-profile .award-cross-current img{width:132px;height:150px;object-fit:contain}
.com-leg.profile.item.leg-profile .award-cross-current strong{margin-top:6px;color:#b60009;}
.com-leg.profile.item.leg-profile .award-progress-levels{display:grid;gap:12px;padding:0 8px}
.com-leg.profile.item.leg-profile .award-progress-level{display:grid;grid-template-columns:150px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid #e5e7e9;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(24,34,46,.04)}
.com-leg.profile.item.leg-profile .award-level-medal{display:flex;min-width:0;padding:14px 10px;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #eceef0;text-align:center}
.com-leg.profile.item.leg-profile .award-level-medal img{width:86px;height:86px;object-fit:contain}
.com-leg.profile.item.leg-profile .award-level-medal small{margin-top:5px;color:#a8741c;text-transform:uppercase}
.com-leg.profile.item.leg-profile .award-level-medal strong{margin-top:3px;line-height:1.25}
.com-leg.profile.item.leg-profile .award-level-progress{min-width:0;padding:0 12px 10px}
.com-leg.profile.item.leg-profile .award-path-tabs{display:flex;gap:2px;margin-bottom:10px}
.com-leg.profile.item.leg-profile .award-path-tabs button{min-width:100px;padding:7px 15px;border:1px solid #e2e4e6;border-top:0;border-radius:0 0 5px 5px;background:#f7f7f8;color:#3f4247;cursor:pointer}
.com-leg.profile.item.leg-profile .award-path-tabs button.active{border-color:#c7000b;background:#c7000b;color:#fff}
.com-leg.profile.item.leg-profile .award-requirement-row{display:grid;grid-template-columns:145px minmax(90px,1fr) 64px;gap:10px;min-width:0;padding:6px 0;align-items:center}
.com-leg.profile.item.leg-profile .award-requirement-copy{display:flex;min-width:0;flex-direction:column}

.com-leg.profile.item.leg-profile .award-requirement-copy span{color:#c2000a;font-weight:700}
.com-leg.profile.item.leg-profile .award-requirement-row.met .award-requirement-copy span{color:#198548}
.com-leg.profile.item.leg-profile .award-requirement-progress{height:9px;overflow:hidden;border:1px solid #e3e5e8;border-radius:3px;background:#f4f5f6}
.com-leg.profile.item.leg-profile .award-requirement-progress span{display:block;width:var(--progress);height:100%;background:#c32a1d}
.com-leg.profile.item.leg-profile .award-requirement-row.met .award-requirement-progress span{background:#198548}
.com-leg.profile.item.leg-profile .award-requirement-row b{text-align:right}
.com-leg.profile.item.leg-profile .award-path-footer{display:flex;margin-top:4px;justify-content:flex-start;color:#565a60;}
.com-leg.profile.item.leg-profile .award-no-criteria{margin:12px 0;color:#73777d;}
.com-leg.profile.item.leg-profile .award-level-status{display:table;margin:7px 0 0 auto;padding:5px 9px;border:1px solid #efc5c7;border-radius:14px;background:#fff8f8;color:#c4000b;font-weight:700}
.com-leg.profile.item.leg-profile .award-level-status i{margin-right:5px}
.com-leg.profile.item.leg-profile .award-level-status.awarded{border-color:#b9dfc8;background:#f4fbf6;color:#187d43}
.com-leg.profile.item.leg-profile .award-level-status.eligible{border-color:#efdc9d;background:#fffaf0;color:#9a6810}
.com-leg.profile.item.leg-profile .award-level-status.pending{border-color:#cad8ea;background:#f6f9fd;color:#315d91}
.com-leg.profile.item.leg-profile .award-config-note{display:flex;margin:16px 8px;padding:12px 14px;align-items:center;gap:10px;border:1px solid #ead7b6;border-radius:7px;background:#fffaf2;color:#76541d;}
.com-leg.profile.item.leg-profile .awards-list-heading{margin-top:28px}
@media(max-width:900px){.com-leg.profile.item.leg-profile .awards-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.com-leg.profile.item.leg-profile .award-cross-summary{grid-template-columns:1fr}.com-leg.profile.item.leg-profile .award-cross-current{order:-1}.com-leg.profile.item.leg-profile .award-cross-current img{width:112px;height:122px}}
@media(max-width:640px){.com-leg.profile.item.leg-profile .profile-section-awards{padding-bottom:var(--section-padding)}.com-leg.profile.item.leg-profile .awards-family-grid{gap:7px;padding:0 4px}.com-leg.profile.item.leg-profile .award-family-card{min-height:154px}.com-leg.profile.item.leg-profile .award-cross-title{margin:0 2px}.com-leg.profile.item.leg-profile .award-cross-summary,.com-leg.profile.item.leg-profile .award-progress-levels{padding:0 2px}.com-leg.profile.item.leg-profile .award-cross-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.com-leg.profile.item.leg-profile .award-cross-metrics article{padding:8px 4px}.com-leg.profile.item.leg-profile .award-progress-level{grid-template-columns:1fr}.com-leg.profile.item.leg-profile .award-level-medal{border-right:0;border-bottom:1px solid #eceef0}.com-leg.profile.item.leg-profile .award-level-progress{padding:0 10px 10px}.com-leg.profile.item.leg-profile .award-path-tabs{overflow-x:auto}.com-leg.profile.item.leg-profile .award-path-tabs button{min-width:96px;flex:0 0 auto}.com-leg.profile.item.leg-profile .award-requirement-row{grid-template-columns:1fr 74px}.com-leg.profile.item.leg-profile .award-requirement-progress{grid-column:1/-1;grid-row:2}.com-leg.profile.item.leg-profile .award-requirement-row b{grid-column:2;grid-row:1}}

/* 3.0.83 - Wirtualne Medale: wizualny placeholder bez mechanizmu przyznawania */
.com-leg.profile.item.leg-profile .virtual-medals-section{padding:0 0 var(--section-padding);border:0;background:transparent;box-shadow:none}
.com-leg.profile.item.leg-profile .virtual-medals-owned{margin:0 0 28px;padding:var(--section-padding);background:#fff}
.com-leg.profile.item.leg-profile .virtual-medals-owned-heading{margin-bottom:14px}
.com-leg.profile.item.leg-profile .virtual-medals-owned-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:680px;margin:0 auto}
.com-leg.profile.item.leg-profile .virtual-medal-preview-card{display:flex;min-width:0;min-height:130px;padding:13px 10px;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e3e4e6;border-radius:8px;background:#fff;text-align:center;box-shadow:0 2px 8px rgba(26,38,55,.05)}
.com-leg.profile.item.leg-profile .virtual-medal-preview-icon{display:flex;width:62px;height:62px;margin-bottom:7px;align-items:center;justify-content:center}
.com-leg.profile.item.leg-profile .virtual-medal-preview-icon img{width:100%;height:100%;object-fit:contain;opacity:.62;filter:grayscale(.2)}
.com-leg.profile.item.leg-profile .virtual-medal-preview-card strong{line-height:1.25}
.com-leg.profile.item.leg-profile .virtual-medal-preview-card small{margin-top:5px;color:#a36f1e;text-transform:uppercase}
.com-leg.profile.item.leg-profile .virtual-medals-title{margin:0 0 22px}

.com-leg.profile.item.leg-profile .virtual-medals-title h2{margin:0;color:#303338;line-height:1.05;}
.com-leg.profile.item.leg-profile .virtual-medals-title h2::first-letter{color:inherit}
.com-leg.profile.item.leg-profile .virtual-medals-title p{margin:5px 0 0;color:#555960;}
.com-leg.profile.item.leg-profile .virtual-medals-placeholder-note{display:flex;gap:12px;align-items:flex-start;margin:0 0 18px;padding:14px 16px;border-color:#ead6ac;background:#fffaf0}
.com-leg.profile.item.leg-profile .virtual-medals-placeholder-icon{display:flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;border:1px solid #e3c98e;border-radius:50%;color:#a8751d}
.com-leg.profile.item.leg-profile .virtual-medals-placeholder-note strong{display:block;margin-bottom:3px;color:#7e5716;}
.com-leg.profile.item.leg-profile .virtual-medals-placeholder-note p{margin:0;color:#665f51;line-height:1.5}
.com-leg.profile.item.leg-profile .virtual-medals-about{margin:0 0 26px;padding:var(--section-padding);background:#fff}
.com-leg.profile.item.leg-profile .virtual-medals-about-heading{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.com-leg.profile.item.leg-profile .virtual-medals-about-icon{display:flex;width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;border:1px solid #e4e5e7;border-radius:50%}
.com-leg.profile.item.leg-profile .virtual-medals-about-icon img{width:24px;height:24px;object-fit:contain}
.com-leg.profile.item.leg-profile .virtual-medals-about h3{margin:0;color:var(--color1);}
.com-leg.profile.item.leg-profile .virtual-medals-about ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.com-leg.profile.item.leg-profile .virtual-medals-about li{position:relative;padding:10px 12px 10px 34px;border-top:1px solid #eceef0;color:#4c5056;line-height:1.5}
.com-leg.profile.item.leg-profile .virtual-medals-about li:first-child{border-top:0}
.com-leg.profile.item.leg-profile .virtual-medals-about li::before{content:"›";position:absolute;top:7px;left:8px;color:var(--color1);font-size:18px;font-weight:900}
.com-leg.profile.item.leg-profile .virtual-medal-family{margin:0 0 28px}
.com-leg.profile.item.leg-profile .virtual-medal-family-heading{margin:0 0 14px}

.com-leg.profile.item.leg-profile .virtual-medal-family-heading h3{margin:0;color:#303338;line-height:1.08;}
.com-leg.profile.item.leg-profile .virtual-medal-family-heading h3::first-letter{color:inherit}
.com-leg.profile.item.leg-profile .virtual-medal-family-subtitle{margin:3px 0 8px;color:#585d64;}
.com-leg.profile.item.leg-profile .virtual-medal-family-heading>p:last-child{max-width:820px;margin:0;color:#555960;line-height:1.5}
.com-leg.profile.item.leg-profile .virtual-medal-levels{padding:var(--section-padding);background:#fff}
.com-leg.profile.item.leg-profile .virtual-medal-levels-title{display:flex;gap:7px;align-items:center;margin:0 0 12px;color:var(--color1);}
.com-leg.profile.item.leg-profile .virtual-medal-levels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.com-leg.profile.item.leg-profile .virtual-medal-level-card{display:flex;min-width:0;min-height:210px;padding:15px 10px;flex-direction:column;align-items:center;border:1px solid #e1e3e6;border-radius:8px;background:#fff;text-align:center;box-shadow:0 2px 8px rgba(26,38,55,.05)}
.com-leg.profile.item.leg-profile .virtual-medal-level-icon{display:flex;width:82px;height:82px;margin:0 auto 8px;align-items:center;justify-content:center}
.com-leg.profile.item.leg-profile .virtual-medal-level-icon img{width:100%;height:100%;object-fit:contain;opacity:.72}
.com-leg.profile.item.leg-profile .virtual-medal-level-card small{position:relative;margin-bottom:4px;padding:0 16px;color:#b34b3b;text-transform:uppercase}
.com-leg.profile.item.leg-profile .virtual-medal-level-card small::before,.com-leg.profile.item.leg-profile .virtual-medal-level-card small::after{content:"";position:absolute;top:50%;width:12px;height:1px;background:#d8a69f}
.com-leg.profile.item.leg-profile .virtual-medal-level-card small::before{left:0}
.com-leg.profile.item.leg-profile .virtual-medal-level-card small::after{right:0}
.com-leg.profile.item.leg-profile .virtual-medal-level-card strong{line-height:1.25}
.com-leg.profile.item.leg-profile .virtual-medal-level-card p{min-height:30px;margin:5px 0 10px;color:#6a6e74;line-height:1.35}
.com-leg.profile.item.leg-profile .virtual-medal-planned{display:inline-flex;gap:5px;align-items:center;margin-top:auto;padding:4px 7px;border:1px solid #d7dbc9;border-radius:999px;background:#fafcf6;color:#6d775d;font-weight:800}
.com-leg.profile.item.leg-profile .virtual-medal-family-note{display:flex;gap:8px;align-items:flex-start;margin-top:10px;padding:9px 10px;border:1px solid #e8e8e8;border-radius:7px;background:#fbfbfb;color:#656a70;line-height:1.4}
.com-leg.profile.item.leg-profile .virtual-medal-family-note i{margin-top:1px;color:var(--color1)}
@media(max-width:900px){.com-leg.profile.item.leg-profile .virtual-medal-levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.com-leg.profile.item.leg-profile .virtual-medals-owned-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.com-leg.profile.item.leg-profile .virtual-medals-owned{padding:var(--section-padding)}.com-leg.profile.item.leg-profile .virtual-medals-owned-grid{grid-template-columns:1fr}.com-leg.profile.item.leg-profile .virtual-medal-preview-card{min-height:104px}.com-leg.profile.item.leg-profile .virtual-medals-about{padding:var(--section-padding)}.com-leg.profile.item.leg-profile .virtual-medal-levels{padding:var(--section-padding)}.com-leg.profile.item.leg-profile .virtual-medal-levels-grid{grid-template-columns:1fr 1fr}.com-leg.profile.item.leg-profile .virtual-medal-level-card{min-height:190px}.com-leg.profile.item.leg-profile .virtual-medal-level-icon{width:68px;height:68px}}


/* 3.0.94 - desktop/tablet tabs restored, mobile selector retained, profile style backgrounds from top1-top4. */
.com-leg.profile.item.leg-profile.profile-style-1 .hero { background-image:url('/images/leg/profile/topy/top1.jpg'); }
.com-leg.profile.item.leg-profile.profile-style-2 .hero { background-image:url('/images/leg/profile/topy/top2.jpg'); }
.com-leg.profile.item.leg-profile.profile-style-3 .hero { background-image:url('/images/leg/profile/topy/top3.jpg'); }
.com-leg.profile.item.leg-profile.profile-style-4 .hero { background-image:url('/images/leg/profile/topy/top4.jpg'); }
.com-leg.profile.item.leg-profile.profile-style-1 .hero,.com-leg.profile.item.leg-profile.profile-style-2 .hero,.com-leg.profile.item.leg-profile.profile-style-3 .hero,.com-leg.profile.item.leg-profile.profile-style-4 .hero { background-repeat:no-repeat; background-size:cover; background-position:center right; }
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="1"] { background:url('/images/leg/profile/topy/top1.jpg') center right / cover no-repeat; }
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="2"] { background:url('/images/leg/profile/topy/top2.jpg') center right / cover no-repeat; }
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="3"] { background:url('/images/leg/profile/topy/top3.jpg') center right / cover no-repeat; }
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas[data-style="4"] { background:url('/images/leg/profile/topy/top4.jpg') center right / cover no-repeat; }
@media (min-width:768px) and (max-width:1199.9px) {
.com-leg.profile.item.leg-profile .profile-nav { gap:0; padding:6px 8px 0; }
.com-leg.profile.item.leg-profile .profile-nav a { min-width:96px; gap:5px; padding:6px 5px 9px; }
.com-leg.profile.item.leg-profile .profile-nav .nav-icon { width:38px; height:38px; }
.com-leg.profile.item.leg-profile .profile-nav .nav-icon img { width:21px; height:21px; }
}
@media (max-width:767.9px) {
.com-leg.profile.item.leg-profile .profile-nav-control { top:0; border:1px solid var(--leg-border); border-radius:var(--leg-radius); background:rgba(255,255,255,.98); box-shadow:var(--leg-shadow); }
.com-leg.profile.item.leg-profile .profile-nav-current { min-height:60px; display:flex; align-items:center; gap:12px; padding:8px 12px; cursor:pointer; list-style:none; color:#33383f; }
.com-leg.profile.item.leg-profile .profile-nav-current::-webkit-details-marker { display:none; }
.com-leg.profile.item.leg-profile .profile-nav-current::marker { content:""; }
.com-leg.profile.item.leg-profile .profile-nav-current:focus-visible { outline:2px solid var(--color1); outline-offset:-2px; border-radius:var(--leg-radius); }
.com-leg.profile.item.leg-profile .profile-nav-current .nav-icon { width:44px; height:44px; flex:0 0 44px; display:flex; align-items:center; justify-content:center; border:1px solid var(--color1); border-radius:50%; background:var(--color1); box-shadow:0 2px 8px rgba(0,0,0,.09); }
.com-leg.profile.item.leg-profile .profile-nav-current .nav-icon img { width:24px; height:24px; object-fit:contain; filter:brightness(0) invert(1); }
.com-leg.profile.item.leg-profile .profile-nav-current-label { min-width:0; flex:1 1 auto; color:#33383f; line-height:1.1;  text-transform:uppercase; }
.com-leg.profile.item.leg-profile .profile-nav-chevron { width:34px; height:34px; flex:0 0 34px; display:flex; align-items:center; justify-content:center; color:var(--color1); transition:transform .18s ease; }
.com-leg.profile.item.leg-profile .profile-nav-control[open] .profile-nav-chevron { transform:rotate(180deg); }
.com-leg.profile.item.leg-profile .profile-nav { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:4px; padding:7px 8px 9px; overflow:visible; border:0; border-top:1px solid #ececec; border-radius:0 0 var(--leg-radius) var(--leg-radius); background:#fff; box-shadow:none; }
.com-leg.profile.item.leg-profile .profile-nav a { min-width:0; min-height:54px; flex:0 0 auto; display:grid; grid-template-columns:44px minmax(0,1fr); align-items:center; gap:12px; padding:5px 8px; border-radius:10px; text-align:left; white-space:normal; }
.com-leg.profile.item.leg-profile .profile-nav a::after { display:none; }
.com-leg.profile.item.leg-profile .profile-nav a:hover,.com-leg.profile.item.leg-profile .profile-nav a:focus { background:#f8f6f6; color:#33383f; }
.com-leg.profile.item.leg-profile .profile-nav a.active { background:color-mix(in srgb,var(--color1) 9%,#fff); color:var(--color1); }
.com-leg.profile.item.leg-profile .profile-nav .nav-icon { width:44px; height:44px; }
.com-leg.profile.item.leg-profile .profile-nav .nav-icon img { width:24px; height:24px; }
.com-leg.profile.item.leg-profile .profile-nav .nav-note { grid-column:2; margin-top:-7px; }
.com-leg.profile.item.leg-profile .hero { min-height:0; align-items:stretch; flex-direction:column; gap:15px; padding:18px 16px 16px; background-size:cover; background-position:center right; }
.com-leg.profile.item.leg-profile .hero-person { width:100%; flex:0 0 auto; align-items:center; flex-direction:row; gap:14px; text-align:left; }
.com-leg.profile.item.leg-profile .hero-copy { min-width:0; display:flex; flex-direction:column; align-items:flex-start; text-align:left; }
.com-leg.profile.item.leg-profile .hero .avatar { width:112px; height:112px; flex:0 0 112px; }
.com-leg.profile.item.leg-profile .hero h1 { margin-bottom:6px;  line-height:1.05; }
.com-leg.profile.item.leg-profile .hero .role { max-width:none; margin-bottom:8px;  line-height:1.25; }
.com-leg.profile.item.leg-profile .hero-location { justify-content:flex-start;  }
.com-leg.profile.item.leg-profile .social-links-primary { display:none; }
.com-leg.profile.item.leg-profile .social-links-mobile { display:flex; justify-content:flex-start; margin-top:0; }
.com-leg.profile.item.leg-profile .social-links a { width:34px; height:34px; }
.com-leg.profile.item.leg-profile .social-links img { width:17px; height:17px; }
.com-leg.profile.item.leg-profile .hero-affiliations { width:100%; flex:0 0 auto; flex-wrap:nowrap; justify-content:flex-start; gap:10px; padding-top:13px; overflow-x:auto; border-top:1px solid rgba(255,255,255,.28); scrollbar-width:none; }
.com-leg.profile.item.leg-profile .hero-affiliations::-webkit-scrollbar { display:none; }
.com-leg.profile.item.leg-profile .affiliation { flex:0 0 auto; }
.com-leg.profile.item.leg-profile .affiliation-logo { width:58px; height:58px; }
.com-leg.profile.item.leg-profile .affiliation-logo img { width:100%; height:100%; }
.com-leg.profile.item.leg-profile .affiliation small,.com-leg.profile.item.leg-profile .affiliation strong { display:none; }
}
@media (max-width:420px) {
.com-leg.profile.item.leg-profile .hero { padding-inline:13px; }
.com-leg.profile.item.leg-profile .hero-person { gap:11px; }
.com-leg.profile.item.leg-profile .hero .avatar { width:96px; height:96px; flex-basis:96px; }
.com-leg.profile.item.leg-profile .hero h1 {  }
.com-leg.profile.item.leg-profile .hero .role {  }
.com-leg.profile.item.leg-profile .affiliation-logo { width:54px; height:54px; }
}

@media (max-width:767.9px) { .com-leg.profile.item.leg-profile .blood-days-card { gap:10px; } .com-leg.profile.item.leg-profile .blood-days-card span { white-space:normal; } }
@media (max-width:575.9px) { .com-leg.profile.item.leg-profile .blood-tax-rules-legal { flex-direction:column; gap:10px; } }
.com-leg.profile.item.leg-profile .award-level-status.rejected{border-color:#e7b9bc;background:#fff5f5;color:#b20b14}
.com-leg.profile.item.leg-profile .award-requirement-row.unevaluable .award-requirement-copy span{color:#8a6415}
.com-leg.profile.item.leg-profile .award-requirement-row.unevaluable .award-requirement-progress span{background:#a8afb8}

/* 3.0.100 - profile cards, Pioneer activity logos and four-card desktop carousels. */
.com-leg.profile.item.leg-profile .profile-overview .stat-card .stat-value-major { display:flex; flex:1 1 auto; align-items:center; justify-content:center; margin:0; padding:12px 0 4px; }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-track,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-track { grid-auto-columns:calc((100% - 42px)/4); }
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-track { grid-auto-columns:calc((100% - 30px)/4); }
.com-leg.profile.item.leg-profile .affiliation-logo { width:108px; height:108px; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; }
.com-leg.profile.item.leg-profile .hero-affiliations .affiliation-logo img { width:100%; height:100%; border-radius:0; object-fit:contain; }
.com-leg.profile.item.leg-profile .stat-symbol.recognition-empty { border:1px dashed #d8dce1; border-radius:10px; background:#fafbfc; }
.com-leg.profile.item.leg-profile .blood-cross-empty-info { min-height:auto!important; margin-top:6px!important; color:#60656b!important; font-weight:600!important; line-height:1.25!important; text-transform:none!important; }
.com-leg.profile.item.leg-profile .stat-card-cta { margin-top:7px; color:var(--color1);  line-height:1.2; text-decoration:underline!important; text-underline-offset:2px; }
@media(max-width:980px){.com-leg.profile.item.leg-profile .profile-functions-history .activity-track,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-track,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-track{grid-auto-columns:minmax(210px,42vw)}}
@media(max-width:767.9px){.com-leg.profile.item.leg-profile .affiliation-logo{width:68px;height:68px}}
@media(max-width:640px){.com-leg.profile.item.leg-profile .profile-functions-history .activity-track,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-track,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-track{grid-auto-columns:minmax(78vw,1fr)}}
@media(max-width:420px){.com-leg.profile.item.leg-profile .affiliation-logo{width:62px;height:62px}}

/* 3.0.102 - mobile profile/edit refinements and flex-based activity carousels. */
.com-leg.profile.item.leg-profile .activity-carousel { display:flex; grid-template-columns:none; }
.com-leg.profile.item.leg-profile .activity-track { display:flex; flex:1 1 auto; min-width:0; }
.com-leg.profile.item.leg-profile .activity-card { flex:0 0 190px; }
.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-card { flex-basis:calc((100% - 42px)/4); }
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card { flex-basis:calc((100% - 30px)/4); }
.com-leg.profile.item.leg-profile .hero-affiliations .affiliation-logo img { border-radius:50%; }
.com-leg.leg-profile-edit .profile-edit-achievements-mobile { display:none; }
@media(max-width:980px){.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-card,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex-basis:42vw}}
@media(max-width:760px){.com-leg.leg-profile-edit .profile-edit-navigation{display:block;padding:.35rem}.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps{display:flex;flex-wrap:wrap;overflow:visible;gap:.3rem;padding:0;scroll-snap-type:none}.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps li{flex:0 1 auto}.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a,.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps span.disabled{width:auto;min-height:40px;flex:0 1 auto;padding:.5rem .62rem;font-size:.82rem}.com-leg.leg-profile-edit .profile-edit-navigation>.profile-edit-achievements{display:none}.com-leg.leg-profile-edit .profile-edit-achievements-mobile{display:block}.com-leg.leg-profile-edit .profile-edit-achievements-mobile a{border:1px solid #d71924;background:#fff;color:#c91520}.com-leg.leg-profile-edit .profile-activities-table-wrap{overflow:visible}.com-leg.leg-profile-edit .profile-activities-table,.com-leg.leg-profile-edit .profile-activities-table tbody,.com-leg.leg-profile-edit .profile-activities-table tr,.com-leg.leg-profile-edit .profile-activities-table th,.com-leg.leg-profile-edit .profile-activities-table td{display:block;width:100%}.com-leg.leg-profile-edit .profile-activities-table thead{display:none}.com-leg.leg-profile-edit .profile-activities-table tbody{display:grid;gap:12px}.com-leg.leg-profile-edit .profile-activities-table tr{padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fafbfc}.com-leg.leg-profile-edit .profile-activities-table th,.com-leg.leg-profile-edit .profile-activities-table td{box-sizing:border-box;border:0;padding:0}.com-leg.leg-profile-edit .profile-activities-table th[scope="row"]{width:34px;margin:0 0 9px;padding:5px 0;border-radius:999px;background:#fff0f1;color:var(--color1);text-align:center}.com-leg.leg-profile-edit .profile-activities-table td+td{margin-top:10px}.com-leg.leg-profile-edit .profile-activities-table .sfile{width:100%;max-width:none}}
@media(max-width:767.9px){.com-leg.profile.item.leg-profile .toolbar{flex-direction:row;align-items:center;justify-content:space-between;gap:6px}.com-leg.profile.item.leg-profile .toolbar .btn{min-width:0;padding:.45rem .55rem;gap:4px;font-size:clamp(11px,3.2vw,14px);white-space:nowrap}.com-leg.profile.item.leg-profile .toolbar .icon{width:14px;height:14px}.com-leg.profile.item.leg-profile .social-links.social-links-mobile{width:100%;justify-content:center}.com-leg.profile.item.leg-profile .hero-affiliations{justify-content:center}}
@media(max-width:640px){.com-leg.profile.item.leg-profile .activity-track{padding-inline:0}.com-leg.profile.item.leg-profile .activity-card,.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main > .activity-relacja .activity-card,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex-basis:100%}}
@media(max-width:575.9px){.com-leg.profile.item.leg-profile .blood-availability-grid{grid-template-columns:1fr}.com-leg.profile.item.leg-profile .private-section>.section-heading{display:flex;flex-wrap:wrap;align-items:flex-start}.com-leg.profile.item.leg-profile .private-section>.section-heading .private-badge{order:-1;width:100%;flex:0 0 100%;box-sizing:border-box;justify-content:flex-start;margin:0 0 10px}.com-leg.profile.item.leg-profile .private-section>.section-heading>div{min-width:0;flex:1 1 calc(100% - 14px)}}
/* 3.0.103 - mobile profile edit navigation mirrors the profile dropdown. */
.com-leg.leg-profile-edit .profile-edit-nav-control{margin:0 0 1.5rem}.com-leg.leg-profile-edit .profile-edit-nav-control>summary{display:none}.com-leg.leg-profile-edit .profile-edit-nav-control>.profile-edit-navigation{margin-bottom:0}.com-leg.leg-profile-edit .profile-edit-nav-current{list-style:none}.com-leg.leg-profile-edit .profile-edit-nav-current::-webkit-details-marker{display:none}
@media(max-width:760px){.com-leg.leg-profile-edit .profile-edit-nav-control{position:relative}.com-leg.leg-profile-edit .profile-edit-nav-control>summary{display:flex;min-height:48px;padding:.65rem .8rem;align-items:center;gap:.65rem;border:1px solid #e1e6ec;border-radius:.8rem;background:#f5f7f9;color:#34373b;cursor:pointer}.com-leg.leg-profile-edit .profile-edit-nav-current-icon{display:inline-flex;width:1.2rem;flex:0 0 1.2rem;align-items:center;justify-content:center;color:var(--color1)}.com-leg.leg-profile-edit .profile-edit-nav-current>span:nth-child(2){min-width:0;flex:1}.com-leg.leg-profile-edit .profile-edit-nav-chevron{margin-left:auto;transition:transform .15s ease}.com-leg.leg-profile-edit .profile-edit-nav-control[open] .profile-edit-nav-chevron{transform:rotate(180deg)}.com-leg.leg-profile-edit .profile-edit-nav-control>.profile-edit-navigation{display:block;margin:.45rem 0 0;padding:.35rem;border:1px solid #e1e6ec;border-radius:.8rem;background:#f5f7f9}.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps{display:flex;flex-direction:column;gap:.25rem;overflow:visible;padding:0}.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps li{width:100%;flex:0 0 auto}.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps a,.com-leg.leg-profile-edit .profile-edit-navigation .profile-steps span.disabled{width:100%;min-height:42px;padding:.58rem .7rem}.com-leg.leg-profile-edit .profile-edit-navigation>.profile-edit-achievements{display:none}.com-leg.leg-profile-edit .profile-edit-achievements-mobile{display:block}}
/* 3.0.103 - awards tab: direct club/custom groups and owner actions. */
.com-leg.profile.item.leg-profile .profile-awards-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0 0 18px}.com-leg.profile.item.leg-profile .profile-awards-toolbar .btn{display:inline-flex;align-items:center;gap:7px}.com-leg.profile.item.leg-profile .profile-awards-groups{display:grid;gap:22px}.com-leg.profile.item.leg-profile .profile-awards-group{min-width:0}.com-leg.profile.item.leg-profile .awards-group-heading{margin:0 0 10px}.com-leg.profile.item.leg-profile .awards-group-heading h3{margin:0}.com-leg.profile.item.leg-profile .profile-awards-group .award-grid{margin-top:0}.com-leg.profile.item.leg-profile .profile-awards-group+.profile-awards-group{padding-top:4px;border-top:1px solid #eceef0}
@media(max-width:575.9px){.com-leg.profile.item.leg-profile .profile-awards-toolbar{justify-content:stretch}.com-leg.profile.item.leg-profile .profile-awards-toolbar .btn{flex:1 1 100%;justify-content:center}}
@media(max-width:760px){.com-leg.leg-profile-edit .profile-edit-nav-control:not([open])>.profile-edit-navigation{display:none}.com-leg.leg-profile-edit .profile-edit-nav-control[open]>.profile-edit-navigation{display:block}}

/* 3.0.119 - contextual panels in profile editor. */
.com-leg.leg-profile-edit .profile-blood-pioneer{margin:1.5rem 0 1rem;padding-top:1.1rem;border-top:1px solid #e7ebef}
.com-leg.leg-profile-edit .profile-blood-pioneer>h2{margin:0 0 .9rem;}
.com-leg.leg-profile-edit .profile-blood-pioneer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.com-leg.leg-profile-edit .profile-blood-pioneer-card{min-width:0;padding:15px 16px;border:1px solid #e2e7ed;border-radius:10px;background:#f8f9fb}
.com-leg.leg-profile-edit .profile-blood-pioneer-card h3{margin:0 0 7px;color:var(--color1);}
.com-leg.leg-profile-edit .profile-blood-pioneer-card p{margin:0;line-height:1.5}
.com-leg.leg-profile-edit .profile-pioneer-organisations-note{margin:14px 0;padding:11px 14px;border-left:3px solid var(--color1);background:#f8f9fb;line-height:1.5}
.com-leg.leg-profile-edit .profile-legion-awards-intro-list{display:grid;gap:13px;margin:1rem 0 .3rem;padding:0;list-style:none}
.com-leg.leg-profile-edit .profile-legion-awards-intro-list li{position:relative;margin:0;padding-left:1.2rem;line-height:1.5}
.com-leg.leg-profile-edit .profile-legion-awards-intro-list li::before{top:6px;left:-3px;background:var(--color1);content:""}
.com-leg.leg-profile-edit .profile-legion-awards-intro-list strong{margin-right:.2rem}
@media(max-width:760px){.com-leg.leg-profile-edit .profile-blood-pioneer-grid{grid-template-columns:1fr}}

/* 3.0.120 - badge catalogue information, horizontal profile style chooser. */
.com-leg.leg-profile-edit .profile-own-awards-intro{margin:1.25rem 0 1.5rem;padding:1.4rem 1.6rem;border:1px solid var(--color1);border-radius:12px;background:linear-gradient(125deg,#fff 0%,#fdf4f5 100%)}
.com-leg.leg-profile-edit .profile-own-awards-intro h3{margin:0 0 .2rem;color:var(--color1);}
.com-leg.leg-profile-edit .profile-own-awards-intro>p{margin:0 0 .95rem;color:#536781}
.com-leg.leg-profile-edit .profile-own-awards-intro ul{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.com-leg.leg-profile-edit .profile-own-awards-intro li{display:flex;position:relative;min-width:0;gap:.75rem;padding-left:1.5rem;align-items:center;line-height:1.5}
.com-leg.leg-profile-edit .profile-own-awards-intro li::before{top:6px;left:-3px;background:var(--color1);content:""}
.com-leg.leg-profile-edit .profile-own-awards-intro li>span{min-width:0;flex:1}
.com-leg.leg-profile-edit .profile-own-awards-intro li strong{}
.com-leg.leg-profile-edit .profile-own-awards-intro .btn{flex:0 0 auto;white-space:nowrap}
.com-leg.leg-profile-edit .profile-style-choice{display:block;min-width:0}
.com-leg.form.leg-profile-edit .profile-style-preview{min-height:0;margin-top:1.1rem;padding:0;border:0;background:transparent}
.com-leg.leg-profile-edit .profile-style-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-top:.75rem}
.com-leg.leg-profile-edit .profile-style-thumbnail{min-width:0}
.com-leg.leg-profile-edit .profile-style-thumbnail-canvas{width:100%;min-height:0;aspect-ratio:2.7/1}
@media(max-width:991.9px){.com-leg.leg-profile-edit .profile-style-thumbnails{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.com-leg.leg-profile-edit .profile-style-thumbnails{grid-template-columns:1fr}.com-leg.leg-profile-edit .profile-own-awards-intro{padding:1.1rem}.com-leg.leg-profile-edit .profile-own-awards-intro li{align-items:flex-start;flex-direction:column;gap:.5rem}.com-leg.leg-profile-edit .profile-own-awards-intro .btn{align-self:flex-start}}

/* Progress moved from the editor to the public profile. */
.com-leg.leg-profile .recognition-editor-section-head{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.com-leg.leg-profile .recognition-editor-section-head>div{min-width:0}
.com-leg.leg-profile .recognition-editor-section-head h2{margin-bottom:4px}
.com-leg.leg-profile .recognition-editor-section-head p{margin:0;color:var(--leg-muted);line-height:1.45}
.com-leg.leg-profile .recognition-editor-empty{margin:0;padding:14px 16px;border:1px dashed #d7dde5;border-radius:10px;background:#fafbfc;color:var(--leg-muted)}
.com-leg.leg-profile .recognition-editor-award-strip{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:thin}
.com-leg.leg-profile .recognition-editor-award-card{display:flex;flex:0 0 180px;min-width:0;min-height:184px;padding:14px;flex-direction:column;align-items:center;justify-content:flex-end;border:1px solid #e1e5ea;border-radius:12px;background:#fff;color:inherit;text-align:center;text-decoration:none;box-shadow:0 3px 12px rgba(30,42,58,.06)}
.com-leg.leg-profile .recognition-editor-award-card:hover{border-color:#ef9096;box-shadow:0 4px 16px rgba(195,0,11,.1)}
.com-leg.leg-profile .recognition-editor-award-image{display:flex;width:96px;height:96px;margin:auto auto 10px;align-items:center;justify-content:center}
.com-leg.leg-profile .recognition-editor-award-image img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.com-leg.leg-profile .recognition-editor-award-card strong{line-height:1.25}
.com-leg.leg-profile .recognition-editor-award-card small{margin-top:5px;color:var(--leg-gold);}
.com-leg.leg-profile .recognition-editor-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.com-leg.leg-profile .recognition-editor-stat{display:grid;min-width:0;padding:14px 10px;grid-template-columns:26px 1fr;grid-template-rows:auto auto;column-gap:8px;border:1px solid #e2e7ed;border-radius:10px;background:#fff}
.com-leg.leg-profile .recognition-editor-stat>i{grid-row:1 / 3;align-self:center;color:var(--leg-gold);font-size:1.1rem;text-align:center}
.com-leg.leg-profile .recognition-editor-stat strong{line-height:1.15}
.com-leg.leg-profile .recognition-editor-stat span{overflow:hidden;color:var(--leg-muted);font-size:.75rem;line-height:1.25;text-overflow:ellipsis}
.com-leg.leg-profile .recognition-editor-sex-warning{margin:14px 0 0;max-width:none}
.com-leg.leg-profile .recognition-editor-levels{display:grid;gap:12px}
.com-leg.leg-profile .recognition-editor-level{overflow:hidden;border:1px solid #e2e6eb;border-radius:12px;background:#fff;box-shadow:0 2px 10px rgba(30,42,58,.04)}
.com-leg.leg-profile .recognition-editor-level.status-eligible{border-color:#e3c05f}
.com-leg.leg-profile .recognition-editor-level.status-pending{border-color:#9eb9d8}
.com-leg.leg-profile .recognition-editor-level.status-awarded{border-color:#93caa9}
.com-leg.leg-profile .recognition-editor-level.status-rejected{border-color:#e3a4a8}
.com-leg.leg-profile .recognition-editor-level-head{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #edf0f3}
.com-leg.leg-profile .recognition-editor-level-identity{display:flex;min-width:0;gap:12px;align-items:center;color:inherit;text-decoration:none}
.com-leg.leg-profile .recognition-editor-level-identity>span:last-child{display:flex;min-width:0;flex-direction:column}
.com-leg.leg-profile .recognition-editor-level-identity strong{line-height:1.25}
.com-leg.leg-profile .recognition-editor-level-identity small{margin-top:3px;color:var(--leg-muted)}
.com-leg.leg-profile .recognition-editor-level-image{display:flex;flex:0 0 58px;width:58px;height:58px;align-items:center;justify-content:center}
.com-leg.leg-profile .recognition-editor-level-image img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.com-leg.leg-profile .recognition-editor-status{display:inline-flex;flex:0 0 auto;gap:7px;align-items:center;padding:6px 10px;border:1px solid #e7b9bc;border-radius:999px;background:#fff5f5;color:#b20b14;font-size:.8rem;font-weight:700;white-space:nowrap}
.com-leg.leg-profile .recognition-editor-status.eligible{border-color:#e8d391;background:#fffaf0;color:#8a6415}
.com-leg.leg-profile .recognition-editor-status.pending{border-color:#bfd0e4;background:#f5f9fd;color:#315d91}
.com-leg.leg-profile .recognition-editor-status.awarded{border-color:#b4dcc4;background:#f3faf5;color:#187d43}
.com-leg.leg-profile .recognition-editor-status.rejected{border-color:#e7b9bc;background:#fff5f5;color:#b20b14}
.com-leg.leg-profile .recognition-editor-path-tabs{display:flex;gap:4px;padding:10px 14px 0;overflow-x:auto;border-bottom:1px solid #edf0f3}
.com-leg.leg-profile .recognition-editor-path-tab{display:inline-flex;gap:6px;align-items:center;margin:0 0 -1px;padding:8px 12px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#596474;font:inherit;font-size:.82rem;font-weight:700;white-space:nowrap;cursor:pointer}
.com-leg.leg-profile .recognition-editor-path-tab.active{border-color:#e1e5ea;background:#fff;color:var(--leg-gold)}
.com-leg.leg-profile .recognition-editor-path-tab i{color:#187d43}
.com-leg.leg-profile .recognition-editor-path-panel{padding:14px}
.com-leg.leg-profile .recognition-editor-requirement{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,.7fr);gap:8px 18px;align-items:center;padding:10px 0;border-bottom:1px solid #f0f2f4}
.com-leg.leg-profile .recognition-editor-requirement:last-of-type{border-bottom:0}
.com-leg.leg-profile .recognition-editor-requirement-copy{display:flex;min-width:0;flex-direction:column}
.com-leg.leg-profile .recognition-editor-requirement-copy strong{}
.com-leg.leg-profile .recognition-editor-requirement-copy span{margin-top:2px;color:#b20b14;font-size:.76rem;font-weight:600}
.com-leg.leg-profile .recognition-editor-requirement.met .recognition-editor-requirement-copy span{color:#187d43}
.com-leg.leg-profile .recognition-editor-requirement.unevaluable .recognition-editor-requirement-copy span{color:#8a6415}
.com-leg.leg-profile .recognition-editor-requirement-values{display:flex;gap:14px;justify-content:flex-end;color:var(--leg-muted);font-size:.76rem;white-space:nowrap}
.com-leg.leg-profile .recognition-editor-requirement-values b{color:#253242}
.com-leg.leg-profile .recognition-editor-progressbar{grid-column:1 / -1;overflow:hidden;height:7px;border-radius:999px;background:#e9edf1}
.com-leg.leg-profile .recognition-editor-progressbar>span{display:block;width:var(--recognition-progress,0);height:100%;border-radius:inherit;background:#e6a700}
.com-leg.leg-profile .recognition-editor-requirement.met .recognition-editor-progressbar>span{background:#2a914d}
.com-leg.leg-profile .recognition-editor-requirement.unevaluable .recognition-editor-progressbar>span{background:#a8afb8}
.com-leg.leg-profile .recognition-editor-path-summary{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f3;}
.com-leg.leg-profile .recognition-editor-path-summary .met{display:inline-flex;gap:6px;align-items:center;color:#187d43;}
.com-leg.leg-profile .recognition-editor-own .profile-awards-actions{margin-top:12px}
@media (max-width:980px){.com-leg.leg-profile .recognition-editor-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.com-leg.leg-profile .recognition-editor-section-head,.com-leg.leg-profile .recognition-editor-level-head{align-items:stretch;flex-direction:column}.com-leg.leg-profile .recognition-editor-section-head .btn{align-self:flex-start}.com-leg.leg-profile .recognition-editor-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.com-leg.leg-profile .recognition-editor-level-head{gap:10px}.com-leg.leg-profile .recognition-editor-status{align-self:flex-start}.com-leg.leg-profile .recognition-editor-requirement{grid-template-columns:1fr}.com-leg.leg-profile .recognition-editor-requirement-values{justify-content:flex-start;white-space:normal}.com-leg.leg-profile .recognition-editor-progressbar{grid-column:1}.com-leg.leg-profile .recognition-editor-path-summary{align-items:flex-start;flex-direction:column}}
.com-leg.leg-profile .recognition-editor-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.com-leg.leg-profile .recognition-editor-guide>div{display:flex;min-width:0;gap:10px;padding:12px;border:1px solid #e4e8ed;border-radius:10px;background:#fafbfc;color:var(--leg-muted);font-size:.79rem;line-height:1.4}.com-leg.leg-profile .recognition-editor-guide i{margin-top:2px;color:var(--leg-gold)}.com-leg.leg-profile .recognition-editor-guide span{display:block;min-width:0}.com-leg.leg-profile .recognition-editor-guide strong{display:block;margin-bottom:3px;color:#253242}.com-leg.leg-profile .recognition-editor-guide strong+*{display:inline}@media(max-width:760px){.com-leg.leg-profile .recognition-editor-guide{grid-template-columns:1fr}}

.com-leg.leg-profile .about-copy { flex:1; min-width:0; }

/* 3.0.131: profile overview graphics without lower captions. */
.com-leg.profile.item.leg-profile .profile-overview .stat-card-image .stat-symbol,.com-leg.profile.item.leg-profile .profile-overview .stat-symbol.recognition{width:124px;height:124px;max-width:100%;margin:12px auto 0;align-items:center;justify-content:center}
.com-leg.profile.item.leg-profile .profile-overview .stat-card-image .stat-symbol img{max-width:100%;max-height:100%;object-fit:contain}
.com-leg.profile.item.leg-profile .profile-overview .stat-card-image{display:flex;flex-direction:column;align-items:center}
.com-leg.profile.item.leg-profile .profile-overview .stat-card-image .stat-card-cta{margin-top:auto}
/* Portrait width 35% as requested, without changing mobile single-column layout. */
@media(min-width:768px){.com-leg.profile.item.leg-profile .about-photo{flex:0 0 35%;max-width:35%}}
/* Consistent headers: all profile achievements sections use the same readable hierarchy. */
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading .eyebrow,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics .activity-heading .eyebrow,.com-leg.profile.item.leg-profile .pioneer-profile-block .heading .eyebrow{color:#a8751d}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading h3,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics .activity-heading h3,.com-leg.profile.item.leg-profile .pioneer-profile-block .heading h3{line-height:1.2;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-heading p,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics .activity-heading p,.com-leg.profile.item.leg-profile .pioneer-profile-block .heading p{line-height:1.5;text-align:center;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-block,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-statistics{--activity-accent:#a8751d}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-kind,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-year{display:block;color:#936d33;line-height:1.3;text-align:center}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-date,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-place{text-align:center}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-body h4{text-align:center}
.com-leg.profile.item.leg-profile .activity-relacja .activity-body{min-height:0;padding:8px 6px 10px}
.com-leg.profile.item.leg-profile .activity-relacja .activity-body h4{margin:2px 0}
.com-leg.profile.item.leg-profile .activity-relacja .activity-card>.activity-media{height:205px}
.com-leg.profile.item.leg-profile .activity-relacja .activity-card>.activity-media img{width:100%;height:100%;object-fit:cover}
.com-leg.profile.item.leg-profile .profile-functions-history .activity-place{text-align:center}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-card small{color:#737373;text-transform:none;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-card strong{color:#bc2830;}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-stat-icon{border:0;color:#ad1e29;font-size:22px}
@media(max-width:767.9px){.com-leg.profile.item.leg-profile .profile-overview .stat-card-image .stat-symbol,.com-leg.profile.item.leg-profile .profile-overview .stat-symbol.recognition{width:102px;height:102px}}

/* Five cards on wide screens as in the approved visual examples. */
/* 3.0.132: five visible cards must exactly match their own gaps (14px/10px). */
@media(min-width:981px){
.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main>.activity-relacja .activity-card{flex-basis:calc((100% - 56px)/5)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex-basis:calc((100% - 40px)/5)}
}
/* No phantom horizontal scroll from the track's old 4px side paddings. */
.com-leg.profile.item.leg-profile .activity-track{padding-inline:0}
/* Shared headings use a centered subtitle and the intended styl5 class. */
.com-leg.profile.item.leg-profile .heading.centered>p{max-width:760px;margin:2px auto 0;text-align:center}
/* Navigation arrows cannot shrink into vertical ovals inside flex carousels. */
.com-leg.profile.item.leg-profile .activity-nav{box-sizing:border-box;flex:0 0 38px;width:38px;min-width:38px;height:38px;min-height:38px;aspect-ratio:1;border-radius:50%;line-height:1}
/* Suppress tiny overflows when five or fewer items fit on desktop; keep both disabled arrows visible. */
.com-leg.profile.item.leg-profile .activity-carousel.is-static .activity-track{overflow-x:hidden;scroll-snap-type:none;scroll-behavior:auto}
.com-leg.profile.item.leg-profile .activity-carousel.is-static .activity-nav{pointer-events:none}


/* 3.0.138: full-width cards per breakpoint, sized against carousel track (not viewport). */
@media (min-width:1400px){
.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main>.activity-relacja .activity-card{flex:0 0 calc((100% - 56px)/5)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex:0 0 calc((100% - 40px)/5)}
}
@media (min-width:1200px) and (max-width:1399.9px){
.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main>.activity-relacja .activity-card{flex:0 0 calc((100% - 28px)/3)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex:0 0 calc((100% - 20px)/3)}
}
@media (min-width:768px) and (max-width:1199.9px){
.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main>.activity-relacja .activity-card{flex:0 0 calc((100% - 14px)/2)}
.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex:0 0 calc((100% - 10px)/2)}
}
@media (max-width:767.9px){
.com-leg.profile.item.leg-profile .activity-card,.com-leg.profile.item.leg-profile .profile-functions-history .activity-card,.com-leg.profile.item.leg-profile .profile-section-main>.activity-relacja .activity-card,.com-leg.profile.item.leg-profile .profile-section-achievements .activity-card{flex:0 0 100%}
.com-leg.profile.item.leg-profile .activity-track{padding-inline:0}
}

/* 3.0.139: existing title bars follow the height of their heading only. */
.com-leg.profile.item.leg-profile .membership-group-heading h2,.com-leg.profile.item.leg-profile .membership-section-heading h2,.com-leg.profile.item.leg-profile .donor-corps-section-heading h2,.com-leg.profile.item.leg-profile .virtual-medals-title h2,.com-leg.profile.item.leg-profile .virtual-medal-family-heading h3,.com-leg.profile.item.leg-profile .blood-heading h2,.com-leg.profile.item.leg-profile .private-section > .section-heading h2 { position:relative; width:fit-content; max-width:100%; padding-left:18px; }
.com-leg.profile.item.leg-profile .membership-group-heading h2::before,.com-leg.profile.item.leg-profile .membership-section-heading h2::before,.com-leg.profile.item.leg-profile .donor-corps-section-heading h2::before,.com-leg.profile.item.leg-profile .virtual-medals-title h2::before,.com-leg.profile.item.leg-profile .virtual-medal-family-heading h3::before,.com-leg.profile.item.leg-profile .blood-heading h2::before,.com-leg.profile.item.leg-profile .private-section > .section-heading h2::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; border-radius:2px; background:var(--color1); }

/* 3.0.140: keep eyebrow and subtitle aligned with the heading text, not its ::before bar. */
.com-leg.profile.item.leg-profile .private-section > .section-heading > div > .eyebrow,.com-leg.profile.item.leg-profile .private-section > .section-heading > div > p,.com-leg.profile.item.leg-profile .membership-group-heading > p,.com-leg.profile.item.leg-profile .membership-section-heading > p,.com-leg.profile.item.leg-profile .membership-section-heading > div > p,.com-leg.profile.item.leg-profile .donor-corps-section-heading > p,.com-leg.profile.item.leg-profile .virtual-medals-title > p,.com-leg.profile.item.leg-profile .virtual-medal-family-heading > p,.com-leg.profile.item.leg-profile .blood-heading > div > .eyebrow,.com-leg.profile.item.leg-profile .blood-heading > div > p { padding-left:18px; }
