/* AP GLS Wolontariusze: wygląd paneli w barwach GLS 2026 (głęboki morski #163d52, teal #2a6f86, krem #f7f3ea, piasek #e8c896, Open Sans + Caveat).
   Wersja 1.0.7: odświeżony, lżejszy wygląd; pola i przyciski zabezpieczone przed stylami motywu (BuddyBoss).
   Wersja 1.1.0: leady (CRM) i plan wydarzenia z didaskaliami. */
.agw {
	--agw-accent: #2a6f86;
	--agw-accent-dark: #163d52;
	--agw-accent-soft: #eaf3f5;
	--agw-accent-ring: rgba(42, 111, 134, .18);
	--agw-gold: #e8c896;
	--agw-gold-soft: #fbf3e4;
	--agw-gold-ink: #8a5d17;
	--agw-cream: #f7f3ea;
	--agw-ink: #102a3a;
	--agw-text: #344054;
	--agw-muted: #6b7280;
	--agw-border: #e6e8ec;
	--agw-line: #eef0f3;
	--agw-soft: #f6f7f9;
	--agw-ok: #12a150;
	--agw-warn: #d97706;
	--agw-bad: #d92d20;
	--agw-radius: 16px;
	--agw-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .04);
	--agw-shadow-lg: 0 12px 32px rgba(16, 24, 40, .08);
	color: var(--agw-text);
	font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	max-width: 1180px;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
}
.agw * { box-sizing: border-box; }
.agw-form { max-width: 760px; }
.agw h2, .agw h3, .agw h4 { color: var(--agw-ink); letter-spacing: -.015em; font-weight: 700; }
.agw h3 { margin: 24px 0 12px; font-size: 18px; line-height: 1.3; }
.agw h4 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--agw-muted); }
.agw a { color: var(--agw-accent); text-underline-offset: 2px; }
.agw-muted { color: var(--agw-muted); }
.agw-small { font-size: 13px; }
.agw-req { color: var(--agw-bad); }
.agw-warn-text { color: var(--agw-bad); }
.agw-nowrap { white-space: nowrap; }
.agw-intro { font-size: 17px; line-height: 1.55; }
.agw-empty { color: var(--agw-muted); font-size: 14px; padding: 14px; text-align: center; background: var(--agw-soft); border-radius: 12px; margin: 8px 0 0; }
.agw-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.agw-section-head h3 { margin: 0; }

/* Karty i komunikaty */
.agw-card { background: #fff; border: 1px solid var(--agw-border); border-radius: var(--agw-radius); box-shadow: var(--agw-shadow); padding: 20px 22px; margin-bottom: 16px; }
.agw-card > h3:first-child, .agw-card .agw-post-head h3 { margin-top: 0; }
.agw-card > :last-child { margin-bottom: 0; }
details.agw-card > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--agw-ink); }
details.agw-card > summary::-webkit-details-marker { display: none; }
details.agw-card > summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--agw-accent-soft); color: var(--agw-accent); font-weight: 700; transition: transform .15s; }
details.agw-card[open] > summary::before { content: "−"; }
details.agw-card[open] > summary { margin-bottom: 14px; }
.agw-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-size: 14px; border: 1px solid transparent; }
.agw-notice ul { margin: 6px 0 0 18px; }
.agw-ok { background: #ecfdf3; color: #05603a; border-color: #abefc6; }
.agw-err { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.agw-warn { background: #fffaeb; color: #93370d; border-color: #fedf89; }
.agw-info { background: var(--agw-accent-soft); color: var(--agw-accent-dark); border-color: #cfe3e9; }

/* Przyciski (z ochroną przed stylami motywu) */
.agw .agw-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 0 !important; height: auto !important; padding: 9px 16px !important; border-radius: 10px !important; border: 1px solid var(--agw-accent) !important; background: var(--agw-accent) !important; color: #fff !important; font: inherit; font-size: 14px !important; font-weight: 600 !important; line-height: 1.3 !important; cursor: pointer; text-decoration: none !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .08) !important; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.agw .agw-btn:hover { background: var(--agw-accent-dark) !important; border-color: var(--agw-accent-dark) !important; }
.agw .agw-btn:active { transform: translateY(1px); }
.agw .agw-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--agw-accent-ring) !important; }
.agw .agw-btn-ghost { background: #fff !important; color: var(--agw-ink) !important; border-color: var(--agw-border) !important; }
.agw .agw-btn-ghost:hover { background: var(--agw-soft) !important; border-color: #d0d5dd !important; }
.agw .agw-btn-danger { background: #fff !important; color: var(--agw-bad) !important; border-color: #fecdca !important; }
.agw .agw-btn-danger:hover { background: #fef3f2 !important; border-color: #fda29b !important; }
.agw .agw-btn-sm { padding: 7px 12px !important; font-size: 13px !important; border-radius: 9px !important; }
.agw .agw-btn-xs { padding: 4px 10px !important; font-size: 12px !important; border-radius: 8px !important; box-shadow: none !important; }
.agw .agw-btn-lg { padding: 13px 24px !important; font-size: 16px !important; border-radius: 12px !important; }
.agw button.agw-link, .agw .agw-link { display: inline; background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; box-shadow: none !important; color: var(--agw-accent) !important; cursor: pointer; font: inherit; font-size: 13px !important; line-height: 1.4 !important; text-decoration: underline; }
.agw .agw-link-danger { color: var(--agw-bad) !important; }
.agw .agw-icon-btn { display: inline-grid !important; place-items: center; width: 30px; height: 30px !important; min-height: 0 !important; padding: 0 !important; border-radius: 9px !important; border: 1px solid transparent !important; background: transparent !important; color: var(--agw-muted) !important; font-size: 16px !important; line-height: 1 !important; box-shadow: none !important; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s; }
.agw .agw-icon-btn:hover { background: var(--agw-soft) !important; color: var(--agw-ink) !important; }
.agw .agw-icon-btn.is-on { color: #c9932e !important; }
.agw .agw-icon-btn.is-on:hover { background: var(--agw-gold-soft) !important; }
.agw .agw-icon-danger:hover { background: #fef3f2 !important; color: var(--agw-bad) !important; }
.agw-inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; vertical-align: middle; }

/* Pola formularzy */
.agw label { display: block; font-size: 13px; font-weight: 600; color: var(--agw-ink); margin-bottom: 12px; }
.agw label > input, .agw label > select, .agw label > textarea { margin-top: 6px; font-weight: 400; }
.agw input[type=text], .agw input[type=email], .agw input[type=tel], .agw input[type=number], .agw input[type=date], .agw input[type=time], .agw input[type=search], .agw input[type=password], .agw textarea, .agw select { width: 100%; height: auto !important; min-height: 40px; padding: 9px 12px !important; border: 1px solid #d0d5dd !important; border-radius: 10px !important; font: inherit; font-size: 14px !important; line-height: 1.4 !important; background-color: #fff !important; color: var(--agw-text); max-width: 100%; box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important; transition: border-color .15s, box-shadow .15s; }
.agw select { -webkit-appearance: none; appearance: none; padding-right: 34px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; cursor: pointer; }
.agw textarea { min-height: 84px; resize: vertical; }
.agw input:focus, .agw textarea:focus, .agw select:focus { outline: none; border-color: var(--agw-accent) !important; box-shadow: 0 0 0 4px var(--agw-accent-ring) !important; }
.agw input[disabled] { background: var(--agw-soft) !important; color: var(--agw-muted); }
.agw input[type=checkbox], .agw input[type=radio] { accent-color: var(--agw-accent); width: 16px; height: 16px; }
.agw-inline-form select { width: auto; min-height: 34px; padding-top: 6px !important; padding-bottom: 6px !important; font-size: 13px !important; }
.agw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.agw-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }
.agw .agw-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px !important; font-weight: 400 !important; margin-bottom: 8px; cursor: pointer; }
.agw-check input { margin: 3px 0 0; flex: 0 0 auto; }
.agw-checks { margin-bottom: 12px; }
.agw-consent { font-size: 13px; font-weight: 400 !important; color: var(--agw-text); background: var(--agw-soft); padding: 12px 14px; border-radius: 12px; }
.agw-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.agw-teams-pref { margin-bottom: 12px; }
.agw .agw-pref-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--agw-line); margin: 0; font-weight: 400 !important; }
.agw-pref-row > span { flex: 1; }
.agw-pref-row small { display: block; color: var(--agw-muted); }
.agw .agw-pref-row select { width: 140px; flex: 0 0 auto; margin: 0; }
.agw-register h3 { margin-top: 28px; }
.agw-register h3:first-of-type { margin-top: 0; }
fieldset.agw-team-checks { border: 1px solid var(--agw-border); border-radius: 12px; padding: 12px 14px 8px; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
fieldset.agw-team-checks legend { font-size: 13px; font-weight: 600; color: var(--agw-ink); padding: 0 6px; }
.agw fieldset.agw-team-checks .agw-check { margin: 0; padding: 5px 10px; border: 1px solid var(--agw-border); border-radius: 999px; font-size: 13px !important; transition: background .15s, border-color .15s; }
fieldset.agw-team-checks .agw-check:has(input:checked) { background: var(--agw-accent-soft); border-color: #b6d4dd; color: var(--agw-accent-dark); }
fieldset.agw-team-checks small { flex-basis: 100%; margin-top: 6px; }

/* Nagłówek z liczbami */
.agw-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; padding: 26px 28px; margin-bottom: 18px; border-radius: 22px; color: var(--agw-cream);
	background: radial-gradient(80% 140% at 0% 100%, rgba(78,160,178,.40) 0%, rgba(78,160,178,0) 60%), radial-gradient(60% 90% at 100% 0%, rgba(232,200,150,.16) 0%, rgba(232,200,150,0) 60%), linear-gradient(135deg, #1f5570 0%, #163d52 65%, #10304a 100%); box-shadow: 0 16px 40px rgba(22, 61, 82, .22); }
.agw-hero::after { content: ""; position: absolute; top: 14px; right: -10px; width: 190px; height: 92px; pointer-events: none; opacity: .25;
	background: repeating-linear-gradient(178.5deg, transparent 0 9px, rgba(120,190,200,.9) 9px 11px); -webkit-mask: linear-gradient(90deg, transparent, #000 35%); mask: linear-gradient(90deg, transparent, #000 35%); }
.agw-hero > * { position: relative; z-index: 1; }
.agw-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.agw-logo { display: block; width: 180px; max-width: 46vw; height: auto; }
.agw-brand-meta { border-left: 1px solid rgba(247,243,234,.3); padding-left: 16px; line-height: 1.35; }
.agw-brand-meta b { display: block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--agw-gold); }
.agw-brand-meta span { font-size: 14px; color: var(--agw-cream); opacity: .85; }
.agw-hand { font-family: "Caveat", "Segoe Print", cursive; font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--agw-cream); }
/* Baner nad formularzem zgłoszenia */
.agw-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 28px 28px 24px; margin-bottom: 20px; color: var(--agw-cream);
	background: radial-gradient(80% 140% at 0% 100%, rgba(78,160,178,.40) 0%, rgba(78,160,178,0) 60%), radial-gradient(60% 90% at 100% 0%, rgba(232,200,150,.16) 0%, rgba(232,200,150,0) 60%), linear-gradient(135deg, #1f5570 0%, #163d52 65%, #10304a 100%); box-shadow: 0 16px 40px rgba(22, 61, 82, .22); }
.agw-banner::after { content: ""; position: absolute; top: 16px; right: -10px; width: 170px; height: 84px; pointer-events: none; opacity: .25;
	background: repeating-linear-gradient(178.5deg, transparent 0 9px, rgba(120,190,200,.9) 9px 11px); -webkit-mask: linear-gradient(90deg, transparent, #000 35%); mask: linear-gradient(90deg, transparent, #000 35%); }
.agw-banner > * { position: relative; z-index: 1; }
.agw-banner h2 { color: var(--agw-cream) !important; margin: 14px 0 4px !important; font-size: 28px; font-weight: 700; line-height: 1.2; }
.agw-banner .agw-logo { width: 220px; }
.agw-banner-when { font-weight: 600; font-size: 16px; }
.agw-banner-when span { color: var(--agw-gold); }
.agw-hero h2 { color: #fff !important; margin: 2px 0 8px !important; font-size: 26px; line-height: 1.2; }
.agw-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--agw-gold); }
.agw-hero-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.agw-hero-links a, .agw-hero-links span { color: var(--agw-cream) !important; text-decoration: none; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.agw-hero-links a:hover { background: rgba(255,255,255,.2); }
.agw-kpis { display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr)); gap: 10px; flex: 1 1 460px; max-width: 640px; }
.agw-kpi { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 84px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.1); color: #fff !important; text-decoration: none !important; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px); transition: background .15s, transform .15s; min-width: 0; }
a.agw-kpi:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.agw-kpi-v { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.agw-kpi-l { font-size: 12px; opacity: .8; }
.agw-kpi.is-warn .agw-kpi-v { color: var(--agw-gold); }

/* Nawigacja (jeden pasek), dni */
.agw-pills { display: flex; gap: 4px; overflow-x: auto; padding: 5px; margin-bottom: 18px; background: #fff; border: 1px solid var(--agw-border); border-radius: 14px; box-shadow: var(--agw-shadow); scrollbar-width: none; }
.agw-pills::-webkit-scrollbar { display: none; }
/* Menu dwupoziomowe: grupy (belka) + podzakładki aktywnej grupy */
.agw-nav-main:has(+ .agw-subnav) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; }
.agw-subnav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 10px; margin: 0 0 18px; background: #fff; border: 1px solid var(--agw-border); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: var(--agw-shadow); }
.agw-subnav::-webkit-scrollbar { display: none; }
.agw-subnav-tab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 12px 9px; font-size: 13px; font-weight: 600; color: var(--agw-muted) !important; text-decoration: none !important; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.agw-subnav-tab:hover { color: var(--agw-ink) !important; }
.agw-subnav-tab.is-active { color: var(--agw-accent-dark) !important; border-bottom-color: var(--agw-gold); }
.agw-pills-wrap { flex-wrap: wrap; overflow: visible; background: transparent; border: 0; box-shadow: none; padding: 0; gap: 6px; margin-top: -6px; }
.agw-pills-wrap .agw-pill-tab { background: #fff; border: 1px solid var(--agw-border); font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.agw-pills-wrap .agw-pill-tab.is-active { background: var(--agw-accent); border-color: var(--agw-accent); }
.agw-pill-tab { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 14px; border-radius: 10px; color: var(--agw-muted) !important; text-decoration: none !important; font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.agw-pill-tab:hover { background: var(--agw-soft); color: var(--agw-ink) !important; }
.agw-pill-tab.is-active { background: var(--agw-accent-dark); color: #fff !important; box-shadow: 0 2px 8px rgba(22, 61, 82, .25); }
.agw-count { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--agw-bad); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.agw-pill-tab.is-active .agw-count { background: var(--agw-gold); color: var(--agw-accent-dark); }
.agw-days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.agw-day-chip { display: flex; flex-direction: column; padding: 10px 16px; border: 1px solid var(--agw-border); border-radius: 12px; background: #fff; box-shadow: var(--agw-shadow); text-decoration: none !important; color: var(--agw-ink) !important; font-weight: 600; min-width: 120px; transition: border-color .15s; }
.agw-day-chip span { font-size: 12px; color: var(--agw-muted); font-weight: 400; }
.agw-day-chip:hover { border-color: #b6d4dd; }
.agw-day-chip.is-active { border-color: var(--agw-accent); box-shadow: 0 0 0 3px var(--agw-accent-ring); }
.agw-day-head { font-weight: 700; color: var(--agw-ink); margin: 22px 0 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; text-transform: capitalize; }
.agw-day-head::after { content: ""; flex: 1; height: 1px; background: var(--agw-border); }
.agw-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.agw-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agw-filters select, .agw-filters input { width: auto; min-height: 36px; padding-top: 7px !important; padding-bottom: 7px !important; font-size: 13px !important; }
.agw-filters { flex: 1 1 auto; }
.agw-filters input[type=search] { flex: 1 1 240px; width: auto; min-width: 200px; background-image: none !important; padding-left: 12px !important; }

/* Dyżur */
.agw-shift { position: relative; background: #fff; border: 1px solid var(--agw-border); border-radius: 14px; box-shadow: var(--agw-shadow); padding: 14px 16px 14px 20px; margin-bottom: 10px; overflow: hidden; }
.agw-shift::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--agw-ok); }
.agw-shift.is-short::before { background: var(--agw-warn); }
.agw-shift.is-mine { background: #fbfdfe; border-color: #cfe3e9; }
.agw-shift.is-mine::before { background: var(--agw-accent); }
.agw-shift-head { display: flex; gap: 16px; align-items: flex-start; }
.agw-shift-time { flex: 0 0 auto; display: flex; flex-direction: column; min-width: 96px; }
.agw-shift-time b { font-size: 17px; color: var(--agw-ink); font-variant-numeric: tabular-nums; }
.agw-shift-time span { font-size: 12px; color: var(--agw-muted); text-transform: capitalize; }
.agw-shift-main { flex: 1; min-width: 0; }
.agw-shift-title { font-weight: 600; color: var(--agw-ink); }
.agw-shift-desc { margin-top: 4px; }
.agw-shift-fill { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 96px; }
.agw-missing { font-size: 12px; color: var(--agw-warn); font-weight: 600; }
.agw-fill { display: inline-block; width: 72px; height: 6px; background: var(--agw-line); border-radius: 999px; overflow: hidden; vertical-align: middle; }
.agw-fill-bar { display: block; height: 100%; border-radius: 999px; background: var(--agw-ok); }
.agw-fill.is-mid .agw-fill-bar { background: var(--agw-warn); }
.agw-fill.is-low .agw-fill-bar { background: var(--agw-bad); }
.agw-fill-num { margin-left: 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; vertical-align: middle; color: var(--agw-ink); }
.agw-chip { display: inline-flex; gap: 5px; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--agw-accent-soft); color: var(--agw-accent-dark); font-size: 12px; font-weight: 600; vertical-align: middle; }
.agw-shift-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agw-shift-manage { font-size: 13px; }
.agw-conflict { margin: -6px 0 10px 14px; }

/* Ludzie */
.agw-people { list-style: none; margin: 10px 0 0; padding: 0; }
.agw-people li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--agw-line); flex-wrap: wrap; }
.agw-people li:first-child { border-top: 0; }
.agw-people-name { flex: 1; min-width: 140px; color: var(--agw-ink); }
.agw-people-contact { font-size: 13px; color: var(--agw-muted); }
.agw-people-add { padding-top: 8px; }
.agw-people-compact li { padding: 6px 0; }
.agw-avatar { --h: 225; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: hsl(var(--h) 55% 32%); background: hsl(var(--h) 70% 93%); box-shadow: inset 0 0 0 1px hsl(var(--h) 50% 86%); }
.agw-who { display: flex; align-items: center; gap: 12px; }
.agw-who-lg .agw-avatar { flex-basis: 52px; width: 52px; height: 52px; font-size: 17px; }
.agw-who-lg h3 { margin: 0 0 4px; }

/* Zespoły (koordynator) */
.agw-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-bottom: 18px; align-items: start; }
.agw-team-grid .agw-card { margin: 0; display: flex; flex-direction: column; }
.agw-team-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.agw-team-head h3 { margin: 0 0 6px; font-size: 17px; }
.agw-team-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.agw-team-tools { display: flex; gap: 6px; flex: 0 0 auto; }
.agw-team-desc { font-size: 13px; color: var(--agw-muted); margin: 10px 0 0; }
.agw-members { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--agw-line); border-radius: 12px; overflow: hidden; }
.agw-members li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-top: 1px solid var(--agw-line); }
.agw-members li:first-child { border-top: 0; }
.agw-members li:hover { background: #fafbfc; }
.agw-member-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--agw-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.agw-member-actions { display: flex; gap: 2px; flex: 0 0 auto; }
.agw-add-row { display: flex; gap: 8px; margin: 12px 0 0; align-items: center; }
.agw-add-row select { flex: 1; min-width: 0; margin: 0; }
.agw-add-row .agw-btn { flex: 0 0 auto; }

/* Plakietki */
.agw-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .01em; vertical-align: middle; border: 1px solid transparent; }
.agw-badge-ok { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.agw-badge-pending { background: #fffaeb; color: #b54708; border-color: #fedf89; }
.agw-badge-bad { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.agw-badge-info { background: var(--agw-accent-soft); color: var(--agw-accent-dark); border-color: #cfe3e9; }
.agw-badge-muted { background: var(--agw-soft); color: #475467; border-color: var(--agw-border); }
.agw-badge-gold { background: var(--agw-gold-soft); color: var(--agw-gold-ink); border-color: #f1dcb4; }

/* Tabele */
.agw-table-wrap { overflow-x: auto; margin-bottom: 16px; background: #fff; border: 1px solid var(--agw-border); border-radius: var(--agw-radius); box-shadow: var(--agw-shadow); }
.agw-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 !important; border: 0 !important; }
.agw-table th { background: #fafbfc; font-size: 12px; font-weight: 600; color: var(--agw-muted); padding: 11px 14px; text-align: left; border: 0 !important; border-bottom: 1px solid var(--agw-border) !important; white-space: nowrap; }
.agw-table td { padding: 12px 14px; border: 0 !important; border-bottom: 1px solid var(--agw-line) !important; vertical-align: middle; }
.agw-table tbody tr:last-child td { border-bottom: 0 !important; }
.agw-table tbody tr:hover td { background: #fafbfc; }
.agw-table td b, .agw-table td a b { color: var(--agw-ink); }
.agw-table .agw-group td { background: var(--agw-accent-soft); color: var(--agw-ink); }
.agw-table .agw-total td { font-weight: 600; background: var(--agw-soft); }
.agw-row-present td { background: #f6fef9; }
.agw-grid th small { display: block; text-transform: none; letter-spacing: 0; font-size: 11px; }
.agw-list { list-style: none; padding: 0; margin: 0; }
.agw-list li { padding: 10px 0; border-bottom: 1px solid var(--agw-line); }
.agw-list li:last-child { border-bottom: 0; }
.agw-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 12px 0 0; }
.agw-dl dt { color: var(--agw-muted); font-size: 13px; }
.agw-dl dd { margin: 0; color: var(--agw-ink); }
.agw-dl details summary { cursor: pointer; }

/* Ogłoszenia, instrukcje, zadania, zgłoszenia */
.agw-post-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.agw-post-head h3 { margin: 0; }
.agw-post.is-pinned { border-color: #f1dcb4; background: linear-gradient(180deg, var(--agw-gold-soft), #fff 70px); }
.agw-post-body { margin-top: 10px; }
.agw-post-files { margin-top: 10px; font-size: 14px; padding: 10px 12px; background: var(--agw-soft); border-radius: 10px; }
.agw-media-pick { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.agw-tasks { list-style: none; padding: 0; margin: 0; }
.agw-task { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--agw-border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--agw-shadow); }
.agw-task.is-done { opacity: .65; }
.agw-task.is-done b { text-decoration: line-through; }
.agw-task-main { flex: 1; min-width: 0; }
.agw-task-actions { font-size: 13px; white-space: nowrap; }
.agw-add summary { cursor: pointer; font-weight: 600; color: var(--agw-ink); }
.agw-add form { margin-top: 12px; }
.agw-request textarea { margin-bottom: 6px; }
.agw-actions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agw-actions-row h3 { flex-basis: 100%; margin: 0 0 4px; }
.agw-team .agw-chip { margin: 2px 4px 2px 0; }

/* Wątki: zgłoszenia i czat zespołu */
.agw-thread { list-style: none; padding: 0; margin: 12px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.agw-thread li { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--agw-soft); border: 1px solid var(--agw-line); max-width: 80%; align-self: flex-start; font-size: 14px; }
.agw-thread .agw-thread-staff { border-radius: 16px 16px 4px 16px; background: var(--agw-accent-soft); border-color: #d5e8ee; align-self: flex-end; }
.agw-thread li > .agw-small:first-child { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 12px; margin-bottom: 2px; }
.agw-thread li a { word-break: break-word; }
.agw-chat .agw-thread { max-height: 60vh; overflow-y: auto; padding: 4px 2px; }
.agw-chat form textarea { min-height: 70px; }
.agw-chat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 4px; }
.agw-chat-foot .agw-small { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.agw-chat-foot .agw-small label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; font-size: 13px; }
.agw-chat-foot .agw-small select { width: auto; min-height: 32px; padding-top: 5px !important; padding-bottom: 5px !important; font-size: 13px !important; }

/* Komunikacja */
.agw-channels { display: flex; gap: 18px; margin-bottom: 10px; }
.agw-recipients { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; margin-bottom: 12px; max-height: 320px; overflow: auto; padding: 10px 12px; border: 1px solid var(--agw-border); border-radius: 12px; }
.agw-recipients .agw-check { margin-bottom: 2px; }
.agw-recipients-search { margin-bottom: 6px; }
.agw-sent-body summary { cursor: pointer; color: var(--agw-accent); font-size: 13px; }
.agw-sent-text { background: var(--agw-accent-soft); border-radius: 10px; padding: 10px 12px; margin: 6px 0; font-size: 14px; }

/* Bilet */
.agw-coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; }
.agw-coupon code { font-size: 20px; font-weight: 700; letter-spacing: .08em; padding: 10px 16px; border-radius: 12px; background: var(--agw-gold-soft); border: 1px dashed #e2c48f; color: var(--agw-ink); }
.agw-ticket { border-color: #f1dcb4; }

/* Leady (CRM zespołu Promocja) */
.agw-kpis-light { margin-bottom: 16px; flex: none; max-width: none; }
.agw-kpis-light .agw-kpi { background: #fff; border: 1px solid var(--agw-border); color: var(--agw-ink) !important; box-shadow: var(--agw-shadow); backdrop-filter: none; }
.agw-kpis-light a.agw-kpi:hover { background: var(--agw-soft); }
.agw-kpis-light .agw-kpi-l { opacity: 1; color: var(--agw-muted); }
.agw-kpis-light .agw-kpi.is-warn .agw-kpi-v { color: var(--agw-warn); }
.agw-leads { list-style: none; margin: 0; padding: 0; }
.agw-lead { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; background: #fff; border: 1px solid var(--agw-border); border-left-width: 4px; border-left-color: var(--agw-accent); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--agw-shadow); }
.agw-lead.is-overdue { border-left-color: var(--agw-bad); }
.agw-lead.is-blocked { border-left-color: var(--agw-border); opacity: .7; }
.agw-lead-main { flex: 1; min-width: 0; }
.agw-lead-name { font-weight: 700; color: var(--agw-ink) !important; text-decoration: none !important; font-size: 15px; }
.agw-lead-side { text-align: right; flex: 0 0 auto; line-height: 1.5; }
.agw-lead-head h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.agw-lead-contact a { font-weight: 600; }
.agw-lead-gls { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--agw-line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.agw-avatar-lead { --h: 150; }
.agw-grid-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.agw-grid-lead .agw-card { margin: 0; }
.agw-lead-thread li { max-width: 100%; align-self: stretch; border-radius: 12px; }
.agw-lead-contact-form { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--agw-line); }
.agw-lead-bulk-bar { padding: 10px 12px; background: #fff; border: 1px solid var(--agw-border); border-radius: 12px; margin-bottom: 10px; }
.agw .agw-lead-bulk-bar .agw-check { margin: 0; }
.agw-lead-bulk-bar select { width: auto; }
.agw-lead-table td:first-child, .agw-lead-table th:first-child { width: 28px; padding-right: 0; }
.agw-row-blocked td { opacity: .6; }
.agw-import-preview th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--agw-accent); }
.agw-lead-form .agw-register { padding: 22px; }
.agw .agw-check select { width: auto; flex: 1 1 220px; max-width: 360px; margin: 0; }

/* Plan wydarzenia z didaskaliami */
.agw-plan { list-style: none; margin: 0 0 20px; padding: 0; position: relative; }
.agw-plan::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 2px; background: var(--agw-line); }
.agw-plan-item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 10px 0; }
.agw-plan-time { flex: 0 0 72px; display: flex; flex-direction: column; text-align: right; padding-top: 10px; }
.agw-plan-time b { font-size: 17px; color: var(--agw-ink); font-variant-numeric: tabular-nums; }
.agw-plan-time span { font-size: 12px; color: var(--agw-muted); font-variant-numeric: tabular-nums; }
.agw-plan-item::before { content: ""; position: absolute; left: 81px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--agw-accent); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--agw-line); z-index: 1; }
.agw-plan-item.is-break::before { background: var(--agw-muted); }
.agw-plan-item.is-music::before { background: #7c3aed; }
.agw-plan-item.is-announce::before { background: var(--agw-warn); }
.agw-plan-item.is-logistics::before { background: var(--agw-gold-ink); }
.agw-plan-item.is-other::before { background: #64748b; }
.agw-plan-main { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--agw-border); border-radius: 14px; padding: 12px 16px; box-shadow: var(--agw-shadow); }
.agw-plan-item.is-break .agw-plan-main { background: var(--agw-soft); }
.agw-plan-item.is-now .agw-plan-main { border-color: var(--agw-ok); box-shadow: 0 0 0 3px rgba(18, 161, 80, .18); }
.agw-plan-item.is-now::before { background: var(--agw-ok); }
.agw-plan-item.has-mine .agw-plan-main { border-left: 4px solid var(--agw-accent); }
.agw-plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.agw-plan-title { font-weight: 700; color: var(--agw-ink); font-size: 15px; }
.agw-plan-type { font-size: 11px; }
.agw-plan-desc { margin-top: 6px; font-size: 14px; }
.agw-cue { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--agw-gold-soft); border: 1px solid #f1dcb4; font-size: 14px; }
.agw-cue b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--agw-gold-ink); margin-bottom: 2px; }
.agw-cue-team { background: var(--agw-soft); border-color: var(--agw-border); }
.agw-cue-team b { color: var(--agw-muted); }
.agw-cue-team.is-mine { background: var(--agw-accent-soft); border-color: #b6d4dd; }
.agw-cue-team.is-mine b { color: var(--agw-accent-dark); }
.agw-plan-teamcues textarea { min-height: 56px; }
.agw-plan-form h4 { margin-top: 6px; }

@media (max-width: 700px) {
	.agw { font-size: 15px; }
	.agw-hero { display: block; padding: 20px; border-radius: 18px; }
	.agw-hero h2 { font-size: 22px; }
	.agw-logo { width: 150px; }
	.agw-banner { padding: 22px 20px; border-radius: 18px; }
	.agw-banner .agw-logo { width: 180px; }
	.agw-banner h2 { font-size: 23px; }
	.agw-brand { gap: 12px; }
	.agw-brand-meta { padding-left: 12px; }
	.agw-kpis { max-width: none; margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.agw-kpi { min-height: 72px; }
	.agw-kpi-v { font-size: 22px; }
	.agw-pills { margin-left: -2px; margin-right: -2px; }
	.agw-card { padding: 16px; }
	.agw-grid2, .agw-grid3 { grid-template-columns: 1fr; }
	.agw-team-grid { grid-template-columns: 1fr; }
	.agw-shift-head { flex-wrap: wrap; }
	.agw-shift-fill { flex-basis: 100%; flex-direction: row; align-items: center; gap: 10px; }
	.agw-dl { grid-template-columns: 1fr; gap: 2px; }
	.agw-dl dt { margin-top: 8px; }
	.agw-thread li { max-width: 92%; }
	.agw-day-chip { min-width: 0; flex: 1 1 45%; }
	.agw .agw-pref-row select { width: 120px; }
	.agw-task { flex-wrap: wrap; }
	.agw-filters input[type=search] { min-width: 0; flex: 1 1 100%; }
	.agw-grid-lead { grid-template-columns: 1fr; }
	.agw-lead { flex-wrap: wrap; }
	.agw-lead-side { text-align: left; flex-basis: 100%; }
	.agw-plan::before { left: 58px; }
	.agw-plan-item { gap: 12px; }
	.agw-plan-time { flex-basis: 48px; }
	.agw-plan-time b { font-size: 15px; }
	.agw-plan-item::before { left: 53px; }
	.agw-plan-main { padding: 10px 12px; }
}
@media print { .agw-hero, .agw-banner { background: none; color: #000; box-shadow: none; } .agw-hero::after, .agw-banner::after { display: none; } .agw-pills, .agw-toolbar, .agw-shift-actions, .agw-btn, .agw-days, .agw-kpis, .agw-plan-form, .agw-notice { display: none !important; } .agw-plan-item { break-inside: avoid; } .agw-plan-main { box-shadow: none; } .agw-cue { border-color: #999; } .agw-plan::before { display: none; } .agw-banner h2, .agw-banner-when, .agw-banner-when span { color: #000 !important; } .agw-banner .agw-logo { filter: invert(1); } }

/* 1.3.0: zakładki Stypendia i Ważne linki */
.agw .agw-info-page p{margin:0 0 .85em;line-height:1.55}
.agw .agw-info-page p:last-child{margin-bottom:0}
.agw .agw-info-page a.agw-btn{margin:4px 8px 4px 0}
.agw .agw-info-page h4{margin:1.2em 0 .4em}
.agw .agw-info-page h4:first-child{margin-top:0}

/* 1.4.1: poprawka wpisu kontaktu */
.agw .agw-contact-edit { margin-top: 6px; }
.agw .agw-contact-edit > summary { list-style: none; display: inline; }
.agw .agw-contact-edit > summary::-webkit-details-marker { display: none; }
.agw .agw-contact-edit[open] > summary { font-weight: 600; }
.agw .agw-contact-edit form { margin-top: 8px; }
