/* Helpdesk 3PG — ekrany na froncie. Język wizualny Mailer3PG / AdsManagera (decyzja usera 27.09.2026: „tam stylizacja jest
   idealna"): białe karty bez ramek na jasnym tle, pola wypełnione tłem zamiast obramowania, przyciski-pigułki, stany jako
   tonalne pigułki. Kolory marki z motywu: akcent i granat przez zmienne (ACRA --c-*, WF --accent/--ink), z domyślnymi. */
.hd3g {
	--bg: #edf1f6; --s1: #ffffff; --s2: #e9eef4; --s3: #dbe3ec;
	--tx: var(--c-granat, var(--ink, #0B1D3A)); --tekst: #172231; --dim: #45556a; --dim2: #57667a;
	--acc: var(--c-turkus, var(--accent, #00A3A3)); --acc-h: color-mix(in srgb, var(--acc) 82%, #000);
	/* tło przycisku z białym napisem: z motywu (--accent-btn, WF #BF500B = 4,81:1), inaczej akcent */
	--acc-btn: var(--accent-btn, var(--acc)); --acc-btn-h: var(--accent-btn-h, var(--acc-h));
	--ton: color-mix(in srgb, var(--acc) 12%, #fff); --ton-h: color-mix(in srgb, var(--acc) 22%, #fff); --ton-tx: color-mix(in srgb, var(--acc) 62%, #000);
	--ok: #16875a; --ok-ton: color-mix(in srgb, #16875a 12%, #fff);
	--warn: #9a5c00; --warn-ton: color-mix(in srgb, #f5a623 18%, #fff);
	--red: #c8102e; --red-ton: color-mix(in srgb, #c8102e 10%, #fff);
	--fiolet: #5140b3; --fiolet-ton: color-mix(in srgb, #6d5bd0 12%, #fff);
	--r: 16px; --r-sm: 11px;
	--cien: 0 1px 2px rgba(11, 29, 58, .08), 0 4px 16px -8px rgba(11, 29, 58, .16);
	--cien-duzy: 0 18px 50px -14px rgba(11, 29, 58, .28);
	--font-d: var(--font-d, inherit);
	color: var(--tekst); font-size: 15px; line-height: 1.55;
}
.hd3g--panel { max-width: 1280px; margin: 0 auto; padding-block: 4px 48px; }
.hd3g--moje, .hd3g--formularz { max-width: 860px; margin: 0 auto; padding-block: 4px 40px; }
.hd3g *, .hd3g *::before, .hd3g *::after { box-sizing: border-box; }
.hd3g h2, .hd3g h3, .hd3g h4 { font-family: var(--font-d); color: var(--tx); margin: 0; letter-spacing: -.02em; line-height: 1.25; }
.hd3g h2 { font-size: 1.5rem; } .hd3g h3 { font-size: 1.05rem; margin-bottom: 12px; } .hd3g h4 { font-size: .95rem; margin-bottom: 8px; }
.hd3g p { margin: 0 0 10px; }
.hd3g a { color: var(--ton-tx); }
.hd3g svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hd3g-laduje, .hd3g-maly { color: var(--dim); font-size: 13.5px; }
.hd3g-laduje { padding: 24px 0; }
.hd3g [hidden] { display: none !important; } /* komponenty z display:flex nie mogą przebić atrybutu hidden */
/* tło aplikacji za kartami: bez niego białe karty znikają na białej stronie motywu */
.hd3g-strona--panel .acra-main, .hd3g-strona--moje .acra-main, body.hd3g-strona--panel, body.hd3g-strona--moje { background: #edf1f6; }
.hd3g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hd3g-glowa { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 6px 0 16px; }
.hd3g-lead { color: var(--dim); margin: 4px 0 0; max-width: 64ch; font-size: 14.5px; }
.hd3g-wstecz { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--dim) !important; text-decoration: none; min-height: 32px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.hd3g-wstecz:hover { color: var(--tx) !important; } .hd3g-wstecz svg { width: 16px; height: 16px; }

/* karty */
.hd3g-karta { background: var(--s1); border-radius: var(--r); padding: 22px; box-shadow: var(--cien); margin-bottom: 14px; min-width: 0; }
.hd3g-karta--ton { background: var(--s2); box-shadow: none; }
.hd3g-pusto { background: var(--s1); border-radius: var(--r); padding: 34px 24px; text-align: center; box-shadow: var(--cien); color: var(--dim); }
.hd3g-pusto strong { display: block; color: var(--tx); font-size: 1.05rem; margin-bottom: 4px; }

/* przyciski */
.hd3g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--acc-btn); color: #fff !important; font: inherit; font-weight: 600; font-size: 14.5px; padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none !important; line-height: 1.2; min-height: 44px; transition: background .15s, box-shadow .15s; }
.hd3g-btn:hover { background: var(--acc-btn-h); }
.hd3g-btn:disabled { background: var(--s3); color: var(--dim) !important; cursor: progress; }
.hd3g-btn--jasny { background: var(--s2); color: var(--ton-tx) !important; } .hd3g-btn--jasny:hover { background: var(--ton); }
.hd3g-btn--czerwony { background: var(--red); } .hd3g-btn--czerwony:hover { background: #a30d25; }
.hd3g-btn--maly { min-height: 36px; padding: 7px 14px; font-size: 13.5px; }
.hd3g-btn--pelny { width: 100%; }
.hd3g-btn svg { width: 16px; height: 16px; }
.hd3g-ik { position: relative; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--s2); border: 0; border-radius: 12px; color: var(--ton-tx); cursor: pointer; padding: 0; }
.hd3g-ik:hover { background: var(--ton); } .hd3g-ik svg { width: 18px; height: 18px; }
.hd3g-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ton-tx); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hd3g-btn:focus-visible, .hd3g-ik:focus-visible, .hd3g-zakladka:focus-visible, .hd3g-link:focus-visible, .hd3g-wybor:focus-within, .hd3g-wiersz-link:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.hd3g-przyciski { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* pola: wypełnione tłem, bez ramek */
.hd3g-pole { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.hd3g-pole-etyk { font-size: 13px; font-weight: 600; color: var(--dim); }
.hd3g-pole-etyk em { font-style: normal; font-weight: 500; color: var(--dim2); }
.hd3g input[type=text], .hd3g input[type=email], .hd3g input[type=tel], .hd3g input[type=search], .hd3g input[type=date], .hd3g input[type=time], .hd3g select, .hd3g textarea {
	width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 0; border-radius: var(--r-sm); background: var(--s2); color: var(--tekst); outline: none; transition: background .15s, box-shadow .15s; min-height: 44px; -webkit-appearance: none; appearance: none; }
.hd3g select { padding-right: 36px; cursor: pointer; 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='%235a6b7e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.hd3g input:hover, .hd3g select:hover, .hd3g textarea:hover { background-color: var(--s3); }
.hd3g input:focus, .hd3g select:focus, .hd3g textarea:focus { background-color: var(--s1); box-shadow: 0 0 0 2px var(--acc); }
.hd3g input::placeholder, .hd3g textarea::placeholder { color: color-mix(in srgb, var(--dim) 65%, transparent); }
.hd3g textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.hd3g-pole--blad input, .hd3g-pole--blad textarea, .hd3g-pole--blad select { box-shadow: 0 0 0 2px var(--red); background: var(--s1); }
.hd3g-pole-blad { font-size: 13px; color: var(--red); font-weight: 600; }
.hd3g-siatka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.hd3g-miod { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* wybór tematu i zamówienia: kafle-pigułki */
.hd3g-wybory { display: flex; flex-wrap: wrap; gap: 8px; }
.hd3g-wybor { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 9px 15px; min-height: 40px; background: var(--s2); border-radius: 999px; cursor: pointer; transition: background .15s, box-shadow .15s; }
.hd3g-wybor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hd3g-wybor:hover { background: var(--s3); }
.hd3g-wybor.on { background: var(--ton); color: var(--ton-tx); box-shadow: inset 0 0 0 1.5px var(--acc); font-weight: 600; }
.hd3g-zamowienia { display: grid; gap: 8px; }
.hd3g-zam { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 15px; background: var(--s2); border-radius: 14px; cursor: pointer; transition: background .15s, box-shadow .15s; }
.hd3g-zam input { position: absolute; opacity: 0; }
.hd3g-zam:hover { background: var(--s3); }
.hd3g-zam.on { background: var(--ton); box-shadow: inset 0 0 0 2px var(--acc); }
.hd3g-zam-nr { font-weight: 700; color: var(--tx); font-variant-numeric: tabular-nums; }
.hd3g-zam-opis { font-size: 13px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-zam-stan { font-size: 12.5px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.hd3g-kolko { width: 20px; height: 20px; border-radius: 50%; background: var(--s1); box-shadow: inset 0 0 0 2px var(--s3); }
.hd3g-zam.on .hd3g-kolko { box-shadow: inset 0 0 0 6px var(--acc); }

/* „piszesz jako" */
.hd3g-ja { display: flex; align-items: center; gap: 12px; padding: 12px 15px; background: var(--s2); border-radius: 14px; margin-bottom: 16px; }
.hd3g-awatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ton); color: var(--ton-tx); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.hd3g-ja strong { display: block; color: var(--tx); font-size: 14.5px; line-height: 1.3; } .hd3g-ja span { font-size: 13px; color: var(--dim); }

/* pliki */
.hd3g-pliki { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hd3g-plik-wybierz { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; min-height: 40px; border-radius: 999px; background: var(--s2); color: var(--ton-tx); font-weight: 600; font-size: 14px; cursor: pointer; }
.hd3g-plik-wybierz:hover { background: var(--ton); } .hd3g-plik-wybierz svg { width: 16px; height: 16px; }
.hd3g-plik-wybierz input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hd3g-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: var(--s2); padding: 6px 8px 6px 12px; border-radius: 999px; max-width: 100%; }
.hd3g-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-chip button { border: 0; background: transparent; color: var(--dim); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; min-width: 24px; min-height: 24px; }
.hd3g-chip--plik { background: var(--s1); box-shadow: inset 0 0 0 1px var(--s3); text-decoration: none; color: var(--ton-tx); font-weight: 600; cursor: pointer; border: 0; font-family: inherit; }
.hd3g-chip--plik svg { width: 15px; height: 15px; }
.hd3g-chip--kwarantanna { color: var(--red); }

/* komunikaty */
.hd3g-uwaga { padding: 11px 14px; border-radius: 12px; font-size: 14px; background: var(--s2); color: var(--dim); margin-bottom: 14px; }
.hd3g-uwaga--blad { background: var(--red-ton); color: var(--red); font-weight: 600; }
.hd3g-uwaga--ok { background: var(--ok-ton); color: var(--ok); font-weight: 600; }
.hd3g-uwaga--warn { background: var(--warn-ton); color: var(--warn); font-weight: 600; }
.hd3g-sukces { text-align: center; padding: 34px 22px; }
.hd3g-sukces-ik { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-ton); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.hd3g-sukces-ik svg { width: 28px; height: 28px; }
.hd3g-sukces .hd3g-nr-duzy { font-family: var(--font-d); font-size: 1.8rem; color: var(--tx); display: block; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.hd3g-zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--dim); margin: 4px 0 16px; cursor: pointer; }
.hd3g-zgoda input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc); flex: none; }

/* zakładki-pigułki */
.hd3g-zakladki { display: inline-flex; gap: 3px; background: var(--s3); padding: 4px; border-radius: 999px; margin-bottom: 14px; flex-wrap: wrap; max-width: 100%; }
.hd3g-zakladka { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--dim); padding: 8px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; white-space: nowrap; }
.hd3g-zakladka:hover { color: var(--tx); }
.hd3g-zakladka.on { background: var(--s1); color: var(--tx); box-shadow: var(--cien); }
.hd3g-licznik { font-size: 11.5px; font-weight: 700; background: var(--s2); color: var(--dim); border-radius: 999px; padding: 1px 7px; min-width: 20px; text-align: center; }
.hd3g-zakladka.on .hd3g-licznik { background: var(--ton); color: var(--ton-tx); }

/* stany */
.hd3g-stan { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--s2); color: var(--dim); white-space: nowrap; }
.hd3g-stan::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hd3g-stan--otwarte { background: var(--warn-ton); color: var(--warn); }
.hd3g-stan--czeka_na_klienta { background: var(--ton); color: var(--ton-tx); }
.hd3g-stan--zamkniete { background: var(--s2); color: var(--dim); }
.hd3g-stan--klient-otwarte { background: var(--s2); color: var(--dim); }
.hd3g-stan--klient-czeka_na_klienta { background: var(--ok-ton); color: var(--ok); }
.hd3g-znacznik { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--s2); color: var(--dim); white-space: nowrap; }
.hd3g-znacznik--mail { background: var(--fiolet-ton); color: var(--fiolet); }
.hd3g-znacznik--nowa { background: var(--acc); color: #fff; }
.hd3g-znacznik--warn { background: var(--warn-ton); color: var(--warn); }

/* lista zgłoszeń klienta: karty */
.hd3g-lista { display: grid; gap: 10px; }
.hd3g-wiersz { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; background: var(--s1); border-radius: var(--r); padding: 15px 18px; box-shadow: var(--cien); text-decoration: none !important; color: inherit !important; transition: box-shadow .15s, transform .15s; cursor: pointer; border: 0; font: inherit; text-align: left; width: 100%; }
.hd3g-wiersz:hover { box-shadow: 0 6px 20px -8px rgba(11, 29, 58, .25); }
.hd3g-wiersz-temat { font-weight: 700; color: var(--tx); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-wiersz-meta { font-size: 13px; color: var(--dim); display: flex; gap: 10px; flex-wrap: wrap; }
.hd3g-wiersz .hd3g-stan { grid-row: 1 / 3; grid-column: 2; }

/* wątek */
.hd3g-watek { display: flex; flex-direction: column; gap: 12px; }
.hd3g-wiad { max-width: 88%; background: var(--s1); border-radius: 18px; padding: 14px 16px; box-shadow: var(--cien); }
.hd3g-wiad--klient { align-self: flex-start; border-top-left-radius: 6px; }
.hd3g-wiad--obsluga { align-self: flex-end; background: var(--ton); box-shadow: none; border-top-right-radius: 6px; }
.hd3g-wiad--notatka { align-self: stretch; max-width: none; background: var(--warn-ton); box-shadow: none; border-radius: 14px; }
.hd3g-wiad--ukryta { outline: 2px dashed var(--warn); outline-offset: -2px; }
.hd3g-wiad-glowa { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; font-size: 13px; color: var(--dim); }
.hd3g-wiad-glowa strong { color: var(--tx); font-size: 13.5px; }
.hd3g-wiad-tresc { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.hd3g-wiad-pliki { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hd3g-wiad-stopka { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--dim); align-items: center; }
.hd3g-dzien { align-self: center; font-size: 12px; font-weight: 600; color: var(--dim2); padding: 2px 10px; }

/* odpowiedź */
.hd3g-odpowiedz { background: var(--s1); border-radius: var(--r); padding: 16px; box-shadow: var(--cien); margin-top: 16px; }
.hd3g-odpowiedz textarea { min-height: 120px; }
.hd3g-odpowiedz-dol { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.hd3g-odpowiedz-dol .hd3g-przyciski select { width: auto; min-height: 44px; font-size: 14px; }

/* panel obsługi: układ */
.hd3g-panel-narz { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.hd3g-szukaj { position: relative; flex: 1 1 260px; max-width: 420px; }
.hd3g-szukaj svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); pointer-events: none; }
.hd3g-szukaj input { padding-left: 38px !important; }
.hd3g-tabela-ramka { overflow-x: auto; background: var(--s1); border-radius: var(--r); box-shadow: var(--cien); }
.hd3g-tabela { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.hd3g-tabela th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--dim); padding: 13px 14px 10px; white-space: nowrap; }
.hd3g-tabela td { padding: 12px 14px; border-top: 1px solid var(--s2); vertical-align: middle; }
.hd3g-tabela tbody tr { cursor: pointer; transition: background .12s; }
.hd3g-tabela tbody tr:hover { background: color-mix(in srgb, var(--s2) 55%, #fff); }

.hd3g-kol-temat { max-width: 380px; } .hd3g-kol-temat strong { color: var(--tx); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-kol-temat small { color: var(--dim); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--dim); }
.hd3g-stronicowanie { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

.hd3g-szczegoly { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.hd3g-bok { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 2px 4px 12px; margin: -2px -4px 0; }
.hd3g-bok .hd3g-karta { padding: 16px 18px; margin: 0; }
.hd3g-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14px; }
.hd3g-dl dt { color: var(--dim); font-size: 13px; } .hd3g-dl dd { margin: 0; overflow-wrap: anywhere; color: var(--tekst); }
.hd3g-mini-lista { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 6px; }
.hd3g-mini-lista li { margin: 0 !important; list-style: none; } .hd3g-mini-lista li::before, .hd3g-mini-lista li::marker { content: none; }
.hd3g-mini-lista li { padding: 9px 11px; background: var(--s2); border-radius: 11px; font-size: 13.5px; }
.hd3g-mini-lista li strong { color: var(--tx); } .hd3g-mini-lista li small { display: block; color: var(--dim); font-size: 12.5px; }
.hd3g-mini-lista button { all: unset; cursor: pointer; display: block; }
.hd3g-akcje-watku { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.hd3g-akcje-watku select { width: auto; min-width: 150px; min-height: 38px; padding-block: 7px; font-size: 14px; }
.hd3g-kompozytor-narz { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.hd3g-kompozytor-narz select { width: auto; max-width: 280px; min-height: 38px; padding-block: 7px; font-size: 14px; }
.hd3g-plan { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hd3g-plan input { width: auto; min-height: 38px; padding-block: 7px; font-size: 14px; }

/* okno i toast (poza .hd3g — wartości wprost) */
.hd3g-dlg-tlo { position: fixed; inset: 0; z-index: 100000; background: rgba(11, 29, 58, .32); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.hd3g-dlg { background: #fff; max-width: 520px; width: 100%; padding: 24px; border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(11, 29, 58, .45); max-height: calc(100dvh - 32px); overflow-y: auto; }
.hd3g-dlg--szeroki { max-width: 860px; }
.hd3g-dlg iframe { width: 100%; height: 60vh; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8ef; }
.hd3g-toast { position: fixed; z-index: 100001; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); transform: translateX(-50%); background: #0B1D3A; color: #fff; padding: 11px 18px; font: 600 14.5px/1.3 system-ui, sans-serif; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(11, 29, 58, .5); transition: opacity .4s; max-width: calc(100vw - 32px); }
.hd3g-toast--blad { background: #c8102e; } .hd3g-toast--out { opacity: 0; }
.hd3g-odmowa { padding: 24px 0; color: #5a6b7e; }

@media (max-width: 980px) {
	.hd3g-szczegoly { grid-template-columns: minmax(0, 1fr); }
	.hd3g-bok { position: static; max-height: none; } /* telefon: najpierw rozmowa i odpowiedź, kontekst klienta pod nią */
}
/* Telefon: pismo pól 16 px (Safari nie przybliża), cele 44 px, zakładki przewijane, tabela jako karty. */
@media (max-width: 640px) {
	.hd3g input[type=text], .hd3g input[type=email], .hd3g input[type=tel], .hd3g input[type=search], .hd3g input[type=date], .hd3g input[type=time], .hd3g select, .hd3g textarea { font-size: 16px; }
	.hd3g-siatka { grid-template-columns: minmax(0, 1fr); }
	.hd3g-karta { padding: 18px 16px; }
	.hd3g-zakladki { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.hd3g-zakladki::-webkit-scrollbar { display: none; }
	.hd3g-zakladka { min-height: 40px; flex: none; }
	.hd3g-wiad { max-width: 96%; }
	.hd3g-wiersz { grid-template-columns: minmax(0, 1fr); }
	.hd3g-wiersz .hd3g-stan { grid-row: auto; grid-column: auto; justify-self: start; }
	.hd3g-tabela-ramka { background: transparent; box-shadow: none; overflow: visible; }
	.hd3g-tabela thead { display: none; }
	.hd3g-tabela tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; background: var(--s1); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; box-shadow: var(--cien); }
	.hd3g-tabela td { display: block; padding: 0; border: 0; }
	.hd3g-tabela .hd3g-kol-temat { grid-column: 1 / -1; max-width: none; }
	.hd3g-tabela tr.nowe td:first-child { box-shadow: none; }
	.hd3g-tabela td[data-etyk]::before { content: attr(data-etyk) ' '; font-size: 11.5px; font-weight: 600; color: var(--dim); }
	.hd3g-akcje-watku select, .hd3g-kompozytor-narz select { flex: 1 1 100%; max-width: none; }
	.hd3g-glowa h2 { font-size: 1.3rem; }
	.hd3g-dlg { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { .hd3g *, .hd3g-toast { transition: none !important; } }

/* ---------- panel 0.2: lista jak skrzynka, etykiety akcji, paleta szablonów ---------- */
.hd3g-skrzynka { display: grid; gap: 8px; }
.hd3g-poz { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 14px; align-items: start; background: var(--s1); border-radius: 14px; padding: 14px 16px; box-shadow: var(--cien); cursor: pointer; text-align: left; border: 0; font: inherit; color: inherit; width: 100%; transition: box-shadow .15s; }
.hd3g-poz:hover { box-shadow: 0 1px 2px rgba(11,29,58,.1), 0 10px 26px -10px rgba(11,29,58,.3); }
.hd3g-poz:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

.hd3g-poz .hd3g-awatar { grid-row: 1 / 4; width: 40px; height: 40px; font-size: 14px; }
.hd3g-poz--nowa .hd3g-awatar { background: var(--acc); color: #fff; }
.hd3g-poz-kto { display: flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 14px; }
.hd3g-poz-kto strong { color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-poz-kto span { color: var(--dim); font-size: 13px; white-space: nowrap; }
.hd3g-poz-temat { font-weight: 700; color: var(--tx); font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hd3g-poz--nowa .hd3g-poz-temat { font-weight: 800; }
.hd3g-poz-fragment { color: var(--dim); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hd3g-poz-fragment b { color: var(--tekst); font-weight: 600; }
.hd3g-poz-prawo { grid-column: 3; grid-row: 1 / 4; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hd3g-czas { font-size: 13px; font-weight: 700; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd3g-czas--srednio { color: var(--warn); } .hd3g-czas--dlugo { color: var(--red); }
.hd3g-poz-znaczki { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.hd3g-etyk { display: inline-flex; flex-direction: column; gap: 3px; }
.hd3g-etyk > span { font-size: 11.5px; font-weight: 700; color: var(--dim); }
.hd3g-akcje-watku { background: var(--s1); border-radius: 14px; padding: 12px 14px; box-shadow: var(--cien); gap: 12px; }
.hd3g-wiad--klient { box-shadow: 0 1px 2px rgba(11,29,58,.08), 0 6px 20px -10px rgba(11,29,58,.25); }
.hd3g-wiad--obsluga { background: color-mix(in srgb, var(--acc) 15%, #fff); }
.hd3g-wiad-glowa strong { font-size: 14px; }
.hd3g-wiad-tresc { color: var(--tekst); }
/* paleta szablonów */
.hd3g-paleta-tlo { position: fixed; inset: 0; z-index: 100000; background: rgba(11,29,58,.32); backdrop-filter: blur(2px); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; }
.hd3g-paleta { width: 100%; max-width: 900px; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(11,29,58,.5); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: 80vh; overflow: hidden; }
.hd3g-paleta-szukaj { padding: 14px; border-bottom: 1px solid var(--s2); }
.hd3g-paleta-szukaj input { font-size: 16px !important; min-height: 48px !important; }
.hd3g-paleta-cialo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: 0; }
.hd3g-paleta-lista { overflow-y: auto; padding: 8px; border-right: 1px solid var(--s2); }
.hd3g-paleta-folder { font-size: 11.5px; font-weight: 700; color: var(--dim); padding: 10px 10px 4px; }
.hd3g-paleta-poz { display: block; width: 100%; text-align: left; border: 0; background: transparent; font: inherit; padding: 9px 10px; border-radius: 10px; cursor: pointer; color: var(--tekst); }
.hd3g-paleta-poz strong { display: block; font-size: 14.5px; color: var(--tx); }
.hd3g-paleta-poz small { display: block; font-size: 12.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-paleta-poz.on, .hd3g-paleta-poz:hover { background: var(--ton); }
.hd3g-paleta-poz mark { background: color-mix(in srgb, #f5c542 45%, #fff); color: inherit; border-radius: 3px; padding: 0 1px; }
.hd3g-paleta-podglad { overflow-y: auto; padding: 16px 18px; background: var(--s2); }
.hd3g-paleta-podglad pre { white-space: pre-wrap; font: inherit; font-size: 14.5px; margin: 0; color: var(--tekst); line-height: 1.55; }
.hd3g-paleta-podglad .hd3g-brak { background: var(--warn-ton); color: var(--warn); font-weight: 700; border-radius: 4px; padding: 0 3px; }
.hd3g-paleta-stopka { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--s2); font-size: 12.5px; color: var(--dim); flex-wrap: wrap; }
.hd3g-paleta-stopka kbd { font: 600 11.5px ui-monospace, monospace; background: var(--s2); border-radius: 5px; padding: 2px 6px; color: var(--tx); }
@media (max-width: 700px) {
	.hd3g-paleta-cialo { grid-template-columns: minmax(0, 1fr); }
	.hd3g-paleta-podglad { display: none; }
	.hd3g-poz { grid-template-columns: minmax(0, 1fr) auto; }
	.hd3g-poz .hd3g-awatar { display: none; }
	.hd3g-poz-prawo { grid-column: 2; }
}

/* szablony jako karty */
.hd3g-folder { margin-bottom: 18px; }
.hd3g-folder-tytul { display: flex; align-items: center; gap: 8px; font-size: .95rem !important; margin: 0 0 8px !important; }
.hd3g-szablon { display: flex; gap: 12px; align-items: center; background: var(--s1); border-radius: 14px; padding: 12px 14px; box-shadow: var(--cien); }
.hd3g-szablon-tresc { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: inherit; display: grid; gap: 2px; }
.hd3g-szablon-tresc strong { color: var(--tx); font-size: 15px; }
.hd3g-szablon-tresc span { color: var(--dim); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd3g-szablon-tresc mark { background: color-mix(in srgb, #f5c542 45%, #fff); color: inherit; border-radius: 3px; }
.hd3g-ik--czerwony { color: var(--red); } .hd3g-ik--czerwony:hover { background: var(--red-ton); }
@media (max-width: 640px) { .hd3g-ik { width: 44px; height: 44px; } }

/* audyt mobilny 28.09.2026 (360/390 px): pierwszy ekran wątku dla rozmowy, Wyślij z klawiaturą w zasięgu */
.hd3g-ja span { overflow-wrap: anywhere; }
@media (max-width: 640px) {
	.hd3g-akcje-watku { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
	.hd3g-akcje-watku > .hd3g-etyk:nth-child(3) { display: none; } /* kategoria (spam/powiadomienie) — rzadka akcja, na telefonie tylko stan i prowadzący */
	.hd3g-akcje-watku select { min-width: 0; width: 100%; font-size: 14px; padding: 8px 26px 8px 10px; background-position: right 9px center; }
	.hd3g-etyk > span { font-size: 10.5px; }
	.hd3g-btn .hd3g-maly { display: none; }                 /* „wpisz / w pustym polu” — na telefonie bez klawiatury fizycznej */
	.hd3g-paleta-stopka > span:first-child { display: none; } /* ↑ ↓ Enter Esc */
	.hd3g--panel .hd3g-glowa > .hd3g-lead { display: none; }
	.hd3g--panel .hd3g-glowa { margin-top: 0; }
	.hd3g-odpowiedz textarea { min-height: 96px; height: 110px; }
	.hd3g-odpowiedz-dol .hd3g-przyciski { width: 100%; }
	.hd3g-odpowiedz-dol .hd3g-przyciski select { flex: 1 1 100%; }
	.hd3g-odpowiedz-dol .hd3g-przyciski .hd3g-btn { flex: 1 1 0; }
	.hd3g-paleta-tlo { padding-top: 12px; }
	.hd3g-paleta { max-height: calc(100dvh - 24px); }
}

/* wiadomość jak w tickecie / mailu: pełna szerokość, nagłówek, treść — nie dymek czatu (także u klienta) */
.hd3g .hd3g-wiad { max-width: none; width: 100%; align-self: stretch; border-radius: 14px; padding: 0; background: #fff; box-shadow: 0 1px 2px rgba(11, 29, 58, .07), 0 4px 16px -10px rgba(11, 29, 58, .2); overflow: hidden;  }

.hd3g .hd3g-wiad--obsluga { background: #fff; }
.hd3g .hd3g-wiad--notatka { background: color-mix(in srgb, #f5a623 9%, #fff); box-shadow: none; }
.hd3g .hd3g-wiad-glowa { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--s2); background: color-mix(in srgb, var(--s2) 45%, #fff); font-size: 13px; }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa { background: color-mix(in srgb, var(--acc) 7%, #fff); }
.hd3g .hd3g-wiad--notatka .hd3g-wiad-glowa { background: transparent; border-bottom-color: color-mix(in srgb, #f5a623 25%, #fff); }
.hd3g .hd3g-wiad-glowa .hd3g-awatar { width: 30px; height: 30px; font-size: 11.5px; }
.hd3g .hd3g-wiad-glowa strong { font-size: 14px; color: var(--tx); }
.hd3g .hd3g-wiad-rola { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--s2); color: var(--dim); }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-rola { background: var(--ton); color: var(--ton-tx); }
.hd3g .hd3g-wiad--notatka .hd3g-wiad-rola { background: var(--warn-ton); color: var(--warn); }
.hd3g .hd3g-wiad-data { margin-left: auto; color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.hd3g .hd3g-wiad-tresc { padding: 14px 16px; font-size: 15px; line-height: 1.6; min-height: 22px; }
.hd3g .hd3g-wiad-pliki { padding: 0 16px 12px; margin: 0; }
.hd3g .hd3g-wiad-stopka { padding: 0 16px 12px; margin: 0; }


/* strony rozmowy bez paska na krawędzi: klient = neutralny nagłówek, zespół = nagłówek w tonie akcentu, notatka = ciepły (ai-design-hater 28.09.2026) */
.hd3g .hd3g-wiad--klient .hd3g-wiad-glowa { background: var(--s2); }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa { background: var(--ton); }
.hd3g .hd3g-wiad-rola { font-size: 12px; letter-spacing: 0; }

/* rozmowa lewo–prawo, czytelna z daleka (uwaga usera 28.09.2026): pełne karty ~85% szerokości, strona = kto pisze,
   biuro z pełnym nagłówkiem w kolorze akcentu i białym tekstem, klient z ciemnym neutralnym nagłówkiem. */
.hd3g .hd3g-wiad { max-width: 86%; border: 1px solid #cfd7e1; box-shadow: 0 1px 2px rgba(11, 29, 58, .08); }
.hd3g .hd3g-wiad--klient { align-self: flex-start; }
.hd3g .hd3g-wiad--obsluga { align-self: flex-end; border-color: color-mix(in srgb, var(--acc) 55%, #fff); }
.hd3g .hd3g-wiad--klient .hd3g-wiad-glowa { background: #dde3ea; color: #1b2735; border-bottom-color: #cfd7e1; }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa { background: var(--acc); color: #fff; border-bottom-color: var(--acc); }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa strong, .hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa .hd3g-wiad-data, .hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa .hd3g-maly { color: #fff; }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-glowa .hd3g-awatar { background: rgba(255, 255, 255, .22); color: #fff; }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-rola { background: rgba(255, 255, 255, .2); color: #fff; }
.hd3g .hd3g-wiad--klient .hd3g-wiad-glowa .hd3g-awatar { background: #fff; color: #33475c; }
.hd3g .hd3g-wiad--klient .hd3g-wiad-rola { background: #fff; color: #33475c; }
.hd3g .hd3g-wiad--obsluga .hd3g-wiad-tresc { background: color-mix(in srgb, var(--acc) 5%, #fff); }
.hd3g .hd3g-wiad--notatka, .hd3g .hd3g-wiad--szkic { max-width: 86%; align-self: flex-end; }
.hd3g .hd3g-wiad--notatka { border-color: #e6c46a; }
.hd3g .hd3g-wiad--notatka .hd3g-wiad-glowa { background: #f6e3a8; color: #5b4300; }
.hd3g .hd3g-wiad--notatka .hd3g-wiad-rola { background: #fff5d6; color: #7a5a00; }
/* strona klienta: po jego stronie (prawej) JEGO wiadomości, odpowiedzi biura po lewej — konwencja komunikatora */
.hd3g--moje .hd3g-wiad--klient { align-self: flex-end; }
.hd3g--moje .hd3g-wiad--obsluga { align-self: flex-start; }
.hd3g-app .hd3g-tk-watek { background: #e9edf2; }
@media (max-width: 640px) { .hd3g .hd3g-wiad, .hd3g .hd3g-wiad--notatka, .hd3g .hd3g-wiad--szkic { max-width: 94%; } }

/* Wiadomość do grupy (B1) i odsłanianie niepotwierdzonych danych (S4) */
.hd3g-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tx); cursor: pointer; min-height: 32px; }
.hd3g-chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--acc); }
.hd3g-chk-rzad { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hd3g-grupa-produkty { margin-top: 6px !important; max-height: 220px; overflow: auto; }
.hd3g-grupa-info { margin: 12px 0 4px; }
.hd3g-grupa-info > p { margin: 0 0 8px; }
.hd3g-grupa-probka { white-space: pre-wrap; margin-top: 4px; }
.hd3g-odslon { display: grid; gap: 8px; justify-items: start; }
.hd3g-odslon p { margin: 0; }
.hd3g-dlg [hidden] { display: none !important; }
.hd3g-uwaga--info { background: var(--s2); color: var(--tx); }
.hd3g-uwaga--info a { color: var(--acc); font-weight: 600; }
.hd3g-dodatki:empty { display: none; }
.hd3g-wart--poufne { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; word-break: break-all; }
/* Temat tylko po zalogowaniu (wariant B strony kontaktu, 28.09.2026) */
/* Formularz krok po kroku: do wyboru tematu widać tylko tematy; tematy zamówieniowe osobną grupą */
.hd3g [hidden] { display: none !important; }
.hd3g-form--start > :not([data-pole=typ]):not(.hd3g-ja):not([data-zawsze]) { display: none !important; }
.hd3g-grupa-tematow + .hd3g-grupa-tematow { margin-top: 16px; }
.hd3g-grupa-tytul { display: block; font-size: 13px; font-weight: 700; color: var(--tx); margin-bottom: 8px; }
.hd3g-grupa-tytul em { font-style: normal; font-weight: 500; color: var(--dim); }
.hd3g-form--konto > :not([data-pole=typ]):not(.hd3g-dodatki):not(.hd3g-ja) { display: none !important; }
.hd3g-form--info > :not([data-pole=typ]):not(.hd3g-dodatki) { display: none !important; }
.hd3g-form--info .hd3g-uwaga--info { font-size: 16px; padding: 16px 18px; }
.hd3g-zapro { background: var(--tx); color: #fff; border-radius: 16px; padding: 22px; margin-bottom: 8px; }
.hd3g-zapro h3 { margin: 0 0 10px; font-size: 18px; color: #fff; }
.hd3g-zapro-zalety { list-style: none; padding: 0 !important; margin: 0 0 16px !important; display: grid; gap: 8px; }
.hd3g-zapro-zalety li { position: relative; padding-left: 16px; color: rgba(255,255,255,.82); margin: 0 !important; }
.hd3g-zapro-zalety li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.hd3g-zapro .hd3g-btn { text-decoration: none; }
.hd3g-zapro .hd3g-maly { color: rgba(255,255,255,.72); margin: 12px 0 0; }
.hd3g-zapro .hd3g-maly a { color: #fff; font-weight: 600; }
@media (max-width: 600px) { .hd3g-zapro .hd3g-btn { width: 100%; justify-content: center; } }

/* ===== Formularz klienta: ma wyglądać jak formularz (uwaga usera 28.09.2026: „mdłe, nie wyróżniają się przyciski”) =====
   Białe pola z widoczną krawędzią, tematy i zamówienia jako pola wyboru z kółkiem, jeden wyrazisty przycisk. Tylko .hd3g-form —
   panel pracownika zostaje przy polach tonalnych. */
.hd3g-form .hd3g-pole-etyk { font-size: 14.5px; font-weight: 700; color: var(--tx); }
.hd3g-form .hd3g-pole-etyk em { font-weight: 500; color: var(--dim); }
.hd3g-form input[type=text], .hd3g-form input[type=email], .hd3g-form input[type=tel], .hd3g-form textarea, .hd3g-form select {
	background: #fff; border: 1.5px solid #c3cdd9; border-radius: 10px; min-height: 48px; font-size: 16px; }
.hd3g-form input:hover, .hd3g-form textarea:hover, .hd3g-form select:hover { background-color: #fff; border-color: #95a5b8; }
.hd3g-form input:focus, .hd3g-form textarea:focus, .hd3g-form select:focus { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
.hd3g-form .hd3g-pole--blad input, .hd3g-form .hd3g-pole--blad textarea { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }
.hd3g-form .hd3g-wybory { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.hd3g-form .hd3g-wybor { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; background: #fff; border: 1.5px solid #c3cdd9; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--tx); box-shadow: none; line-height: 1.3; }
.hd3g-form .hd3g-wybor::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px #95a5b8; background: #fff; transition: box-shadow .12s; }
.hd3g-form .hd3g-wybor:hover { background: #fff; border-color: var(--acc); }
.hd3g-form .hd3g-wybor.on { background: color-mix(in srgb, var(--acc) 7%, #fff); border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); color: var(--tx); font-weight: 600; }
.hd3g-form .hd3g-wybor.on::before { box-shadow: inset 0 0 0 6px var(--acc); }
.hd3g-form .hd3g-grupa-tytul { font-size: 15px; margin-bottom: 10px; }
.hd3g-form .hd3g-zam { background: #fff; border: 1.5px solid #c3cdd9; border-radius: 12px; }
.hd3g-form .hd3g-zam:hover { background: #fff; border-color: var(--acc); }
.hd3g-form .hd3g-zam.on { background: color-mix(in srgb, var(--acc) 7%, #fff); border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
.hd3g-form .hd3g-kolko { box-shadow: inset 0 0 0 2px #95a5b8; }
.hd3g-form .hd3g-przyciski .hd3g-btn, .hd3g-zapro .hd3g-btn { min-height: 52px; padding: 14px 32px; font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--acc) 70%, transparent); }
.hd3g-form [data-pole=typ] { margin-bottom: 22px; }
@media (max-width: 600px) { .hd3g-form .hd3g-przyciski .hd3g-btn { width: 100%; } .hd3g-form .hd3g-wybory { grid-template-columns: 1fr; } }

/* ===== Moje zgłoszenia: kontrast listy (uwaga usera 28.09.2026: „mały kontrast”) ===== */
.hd3g--moje .hd3g-zakladki { background: #fff; box-shadow: inset 0 0 0 1.5px #c3cdd9; }
.hd3g--moje .hd3g-zakladka { color: var(--tekst); }
.hd3g--moje .hd3g-zakladka.on { background: var(--tx); color: #fff; box-shadow: none; }
.hd3g--moje .hd3g-zakladka.on .hd3g-licznik { background: rgba(255,255,255,.18); color: #fff; }
.hd3g--moje .hd3g-wiersz { border: 1.5px solid #c3cdd9; box-shadow: none; padding: 16px 18px; }
.hd3g--moje .hd3g-wiersz:hover { border-color: var(--acc); box-shadow: 0 6px 18px -10px rgba(11, 29, 58, .35); }
.hd3g--moje .hd3g-wiersz-temat { font-size: 15.5px; }
.hd3g--moje .hd3g-wiersz-meta { color: #3d4c60; font-size: 13.5px; }
.hd3g--moje .hd3g-stan { font-size: 13px; padding: 5px 12px; }
.hd3g--moje .hd3g-stan--klient-otwarte { background: #e3ecf8; color: #1e4f8f; }            /* „Wysłane” – czeka na nas */
.hd3g--moje .hd3g-stan--klient-czeka_na_klienta { background: var(--acc); color: #fff; }   /* „Odpowiedzieliśmy” – do przeczytania */
.hd3g--moje .hd3g-stan--klient-zamkniete, .hd3g--moje .hd3g-stan--zamkniete { background: #e6e9ee; color: #3d4c60; }

/* ===== Audyt mobilny 28.09.2026: krótszy formularz, przyklejony nagłówek, szerokość ===== */
.hd3g-form :is(input, textarea, select, .hd3g-pole, .hd3g-uwaga) { scroll-margin-top: var(--hd3g-gora, 84px); }
.hd3g-temat-podsum { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px;
	background: color-mix(in srgb, var(--acc) 7%, #fff); border: 1.5px solid var(--acc); font-size: 15px; color: var(--tx); }
.hd3g-temat-podsum strong { font-weight: 700; }
.hd3g-temat-wybrany .hd3g-temat-podsum { display: flex; }
.hd3g-temat-wybrany > .hd3g-grupa-tematow, .hd3g-temat-wybrany > .hd3g-wybory, .hd3g-temat-wybrany > .hd3g-pole-etyk { display: none !important; }
.hd3g-form .hd3g-wybory { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.hd3g-zam-opis { white-space: normal !important; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
	.hd3g-form .hd3g-wybor { min-height: 44px; padding: 9px 14px; font-size: 14.5px; }
	.hd3g-form .hd3g-wybory { gap: 6px; }
	.hd3g-form .hd3g-grupa-tematow + .hd3g-grupa-tematow { margin-top: 12px; }
	.hd3g-zam { grid-template-columns: auto minmax(0, 1fr); }
	.hd3g-zam > :last-child:not(.hd3g-kolko) { grid-column: 2; justify-self: start; }
}
/* Moje zgłoszenia na telefonie: formularz bez karty (karta + wcięcie zabierały ~20% szerokości, uwaga usera 28.09.2026) */
@media (max-width: 600px) {
	.hd3g--moje .hd3g-form.hd3g-karta { padding: 0; background: none; box-shadow: none; border-radius: 0; }
	.hd3g--moje .hd3g-form + *, .hd3g--moje [hidden] + .hd3g-zakladki { margin-top: 8px; }
}
/* Kafel zamówienia: numer i data w jednej linii, pozycje pod spodem, stan jako kolorowa etykieta */
.hd3g-zam-tresc { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hd3g-zam-nr { font-size: 15px; }
.hd3g-zam-opis { font-size: 13.5px; color: #3d4c60; }
.hd3g-zam-stan { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6e9ee; color: #3d4c60; }
.hd3g-zam-stan--wtoku { background: #e3ecf8; color: #1e4f8f; }
.hd3g-zam-stan--ok { background: #e3f3ea; color: #1d6b43; }
.hd3g-zam-stan--czeka { background: #fdf0dc; color: #8a5200; }
.hd3g-bez-ikony svg { display: none; }
