/* Nowy wygląd panelu */

body.newstyle {
	background: #354979;
	color: #1c2434;
	font-family: Inter, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

body.newstyle.panel-light {
	background: #eef1f6;
}

body.newstyle input,
body.newstyle button,
body.newstyle select,
body.newstyle textarea {
	font-family: inherit;
}

body.newstyle #header,
body.newstyle div#header {
	background-color: #1e2740;
	margin-top: 20px;
	margin-bottom: 10px;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(20, 28, 50, 0.14);
	padding: 16px 18px;
}

body.newstyle #header a {
	font-weight: 500;
}

body.newstyle #header a:hover {
	text-decoration: none;
	opacity: 0.82;
}

body.newstyle #klient {
	font-weight: 500;
	font-size: 0.92em;
	line-height: 1.5;
}

body.newstyle #klient i {
	opacity: 0.85;
}

body.newstyle #klient div.opcje {
	margin-top: 8px;
	font-weight: 500;
	font-size: 0.92em;
}

body.newstyle #content {
	display: flow-root;
	padding-bottom: 40px;
}

body.newstyle div.alert {
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 12px;
	margin-bottom: 16px;
	font-weight: 500;
}

body.newstyle ul#lmenu {
	position: sticky;
	top: 16px;
	z-index: 20;
	width: 156px;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(28, 36, 60, 0.04), 0 8px 24px rgba(28, 36, 60, 0.06);
	font-size: 0.875em;
}

body.newstyle #lmenu li {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	background: #fff;
	margin-bottom: 0;
	padding: 12px 10px;
	border-bottom: 1px solid #eef1f6;
	color: #3d475c;
}

body.newstyle #lmenu li:last-child {
	border-bottom: 0;
}

body.newstyle #lmenu li:hover {
	background: #f5f7fb;
}

body.newstyle #lmenu i {
	width: 16px;
	flex: 0 0 16px;
	text-align: center;
	color: #8b93a7;
}

body.newstyle #lmenu li span {
	display: block;
	white-space: nowrap;
	font-weight: 500;
	margin-top: 0;
	color: #3d475c;
}

body.newstyle ul#lmenu li:hover i,
body.newstyle ul#lmenu li:hover span {
	color: #cb4052;
}

body.newstyle #lmenu li.active {
	background: #fff;
	box-shadow: inset 3px 0 0 #cb4052;
}

body.newstyle #lmenu li.active i {
	background: transparent;
	box-shadow: none;
}

body.newstyle #lmenu li.active i,
body.newstyle #lmenu li.active span {
	color: #cb4052;
	font-weight: 600;
}

body.newstyle div.box {
	box-sizing: border-box;
	border-radius: 14px;
	padding: 16px 18px 10px;
	margin-bottom: 16px;
	border: 1px solid rgba(28, 36, 60, 0.05);
	box-shadow: 0 1px 2px rgba(28, 36, 60, 0.04), 0 8px 24px rgba(28, 36, 60, 0.06);
}

body.newstyle div.wlmenu div.box {
	width: calc(1160px - 163px);
	max-width: calc(100vw - 173px);
}

body.newstyle .b40 {
	width: calc(35% - 113px);
}

body.newstyle #content.hpage {
	display: grid;
	grid-template-columns: 156px minmax(0, 704fr) minmax(0, 296fr);
	column-gap: 10px;
	align-items: start;
}

body.newstyle #content.hpage > ul#lmenu {
	grid-column: 1;
	grid-row: 2;
	float: none;
	margin-right: 0;
	align-self: start;
}

body.newstyle #content.hpage > .alert {
	grid-column: 1 / -1;
	grid-row: 1;
}

body.newstyle #content.hpage > .b60,
body.newstyle #content.hpage > .b40 {
	grid-row: 2;
	float: none;
	width: auto;
	min-width: 0;
}

body.newstyle #content.hpage > .b60 {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.newstyle #content.hpage > .b40 {
	grid-column: 3;
}

body.newstyle #content.hpage > .b60 > .box,
body.newstyle #content.hpage > .b40 > .box {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}

body.newstyle div.box_discussion#mainbox {
	box-sizing: content-box;
}

body.newstyle h1 {
	color: #1e2740;
	font-weight: 600;
	font-size: 1.12rem;
	letter-spacing: -0.015em;
	margin-bottom: 8px;
	line-height: 1.35;
}

body.newstyle div.box > h1:has(ul.as-selections),
body.newstyle div.box > h1:has(input#search) {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: nowrap;
}

body.newstyle div.b60 > div.box:has(> h1 :is(input#search, ul.as-selections)) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
	position: relative;
	z-index: 4;
	overflow: visible;
}

body.newstyle div.b60 > div.box:has(> h1 :is(input#search, ul.as-selections)) > h1 {
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 0;
	margin-bottom: 0;
}

body.newstyle div.b60 > div.box:has(> h1 :is(input#search, ul.as-selections)) > tools {
	float: none !important;
	order: 2;
	align-self: center;
	margin: 0 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	position: relative;
	z-index: 5;
}

body.newstyle div.b60 > div.box:has(> h1 :is(input#search, ul.as-selections)) > tools a {
	margin-left: 0;
}

body.newstyle div.b60 > div.box:has(> h1 :is(input#search, ul.as-selections)) > #grupy-lista {
	order: 3;
	flex: 1 0 100%;
	margin-top: 12px;
}

body.newstyle h2:not(.tnaglowek) {
	color: #1e2740;
	font-weight: 600;
	border-bottom: 1px solid #e6e9f0;
	padding-bottom: 8px;
}

body.newstyle div.box:has(.group-section) > tools.group-toolbar {
	float: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 12px;
}

body.newstyle div.box > tools.group-toolbar a.group-back {
	background: #fff !important;
	color: #1e2740 !important;
	border: 1px solid #e3e7ef;
}

body.newstyle div.box > tools.group-toolbar a.group-back:hover {
	background: #f5f7fb !important;
	color: #cb4052 !important;
	border-color: #cb4052;
}

body.newstyle tools.group-toolbar .tools-more-btn {
	padding: 5px 10px !important;
	border-radius: 8px !important;
}

body.newstyle .group-section h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 22px 0 12px;
	padding-bottom: 0;
	border-bottom: 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

body.newstyle .group-section h2 .group-h {
	flex: 1 0 auto;
	white-space: nowrap;
}

body.newstyle .group-section h2 tools {
	float: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	margin: 0;
	width: auto;
	font-size: 13px;
}

body.newstyle div.box > tools:not(.toper) a:not(.vstatus4),
body.newstyle h2 tools a {
	border-radius: 8px;
	font-weight: 500;
	padding: 5px 10px;
	letter-spacing: 0.01em;
	background: #cb4052;
	box-shadow: none;
}

body.newstyle div.box > tools:not(.toper) a:not(.vstatus4):hover,
body.newstyle h2 tools a:hover {
	background: #b23042;
}

body.newstyle tools.toper {
	background: #f3f5f8;
	border-radius: 10px;
}

body.newstyle tools.toper a {
	border-radius: 8px;
	background: #fff;
	color: #1e2740 !important;
	border: 1px solid #e3e7ef;
	font-weight: 500;
}

body.newstyle tools.toper a:hover {
	background: #fff;
	color: #cb4052 !important;
	border-color: #cb4052;
}

body.newstyle div.box dd {
	border-top: 1px solid #eef1f6;
	padding: 12px 8px;
	border-radius: 8px;
}

body.newstyle div.box .posiedzenia > dd:first-child,
body.newstyle div.box .dopobrania > dd:first-child {
	border-top: 0;
}

body.newstyle div.box dd:hover {
	background: #f5f7fb;
}

body.newstyle a.grupa,
body.newstyle a.posd {
	color: #1c2434;
	font-weight: 500;
}

body.newstyle a.grupa:hover,
body.newstyle a.posd:hover {
	color: #cb4052;
	text-decoration: none;
}

body.newstyle dd data {
	color: #6d7689;
	margin-top: 3px;
}

body.newstyle #grupy-lista .grupa-ile {
	float: right;
	min-width: 1.5em;
	margin: 0 0 0 12px;
	padding: 2px 8px;
	background: #eef1f6;
	color: #3d475c;
	font-weight: 600;
	font-size: 0.82em;
	line-height: 1.45;
	text-align: center;
	border-radius: 999px;
}

body.newstyle a.grupy-rozwin {
	color: #5c6578;
	font-weight: 500;
	border-top: 0;
	border-radius: 8px;
	margin-top: 4px;
	padding: 12px;
}

body.newstyle a.grupy-rozwin:hover {
	color: #cb4052;
	background: #f5f7fb;
}

body.newstyle div.dopobrania dd {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

body.newstyle div.dopobrania dd i {
	flex: 0 0 auto;
	margin-top: 3px;
	margin-right: 0;
	line-height: 1;
}

body.newstyle div.dopobrania a {
	flex: 1 1 auto;
	min-width: 0;
	color: #1c2434;
	font-weight: 500;
}

body.newstyle div.dopobrania dd:hover i {
	color: #cb4052;
}

body.newstyle h1 input#search,
body.newstyle ul.as-selections {
	border: 1px solid #e3e7ef;
	border-radius: 999px;
	background: #f4f6fa;
	box-shadow: none;
}

body.newstyle ul.as-selections {
	float: none;
	display: flow-root;
	width: 200px;
	margin: 0;
	padding: 3px 6px;
	box-sizing: border-box;
}

body.newstyle .as-field {
	position: relative;
	display: block;
	width: 200px;
	overflow: visible;
}

body.newstyle #as-results-klientor {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 40;
	width: 360px;
	margin: 4px 0 0;
}

body.newstyle #as-results-klientor ul.as-list {
	position: static;
	margin: 0 !important;
	width: 100% !important;
}

body.newstyle ul.as-selections.loadingg {
	background: #eef1f6;
}

body.newstyle ul.as-selections li.as-original input {
	background: transparent;
	height: 22px;
	font-size: 13px;
}

body.newstyle ul.as-list {
	border-radius: 12px;
	border: 1px solid #e6e9f0;
	box-shadow: 0 12px 32px rgba(28, 36, 60, 0.14);
	overflow: hidden;
	font-size: 14px;
}

body.newstyle div.box dd tools .tools-more-btn,
body.newstyle tools .tools-more-btn {
	border-radius: 8px !important;
	border-color: #e3e7ef !important;
	background: #fff !important;
	color: #5c6578 !important;
	padding: 4px 8px !important;
}

body.newstyle div.box dd tools .tools-more-btn:hover,
body.newstyle tools .tools-more-btn:hover {
	color: #cb4052 !important;
	border-color: #cb4052 !important;
	background: #fff !important;
}

body.newstyle div.box dd tools .tools-more-menu,
body.newstyle tools .tools-more-menu {
	border: 1px solid #e6e9f0;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(28, 36, 60, 0.14);
	padding: 6px;
}

body.newstyle div.box dd tools .tools-more-menu a,
body.newstyle tools .tools-more-menu a {
	border-radius: 6px;
	padding: 8px 10px;
	font-weight: 500;
}

body.newstyle div.box dd tools .tools-more-menu a:hover,
body.newstyle tools .tools-more-menu a:hover {
	background: #f5f7fb;
	color: #cb4052;
}

body.newstyle input[type=textbox],
body.newstyle input[type=password],
body.newstyle input[type=datetime-local],
body.newstyle input[type=email],
body.newstyle input[type=phone],
body.newstyle input[type=date],
body.newstyle input[type=time],
body.newstyle input[type=number],
body.newstyle input[type=tel],
body.newstyle select,
body.newstyle textarea,
body.newstyle input#fsearch,
body.newstyle input#psearch {
	border-radius: 8px;
	border-color: #e3e7ef;
}

body.newstyle input#fsearch,
body.newstyle input#psearch,
body.newstyle div.searcher input#fsearch {
	width: 100%;
	box-sizing: border-box;
	border-radius: 10px;
	border: 1px solid #e3e7ef;
	background: #f4f6fa;
	padding: 10px 14px;
}

body.newstyle div.podsumowanie .searcher {
	flex: 0 1 240px;
	min-width: 160px;
	margin: 0;
}

body.newstyle div.podsumowanie .searcher input#fsearch {
	margin: 0;
}

body.newstyle input[type=submit],
body.newstyle input[type=button] {
	border-radius: 8px;
	font-weight: 500;
}

body.newstyle .grupy-tabela-wrap {
	border: 1px solid #e6e9f0;
	border-radius: 12px;
	overflow: auto;
}

body.newstyle table.grupy-tabela thead th:first-child {
	border-top-left-radius: 11px;
}

body.newstyle table.grupy-tabela thead th:last-child {
	border-top-right-radius: 11px;
}

body.newstyle .grupy-tabela-wrap table.grupy-tabela {
	margin-top: 0;
}

body.newstyle table.grupy-tabela th {
	background: #f4f6fa;
	color: #5c6578;
	font-weight: 600;
	border-bottom: 1px solid #e6e9f0;
}

body.newstyle table.grupy-tabela td {
	border-bottom: 1px solid #eef1f6;
}

body.newstyle table.grupy-tabela tfoot td {
	background: #f4f6fa;
	border-top: 1px solid #e6e9f0;
	border-bottom: 0;
}

body.newstyle table.grupy-tabela tbody tr:hover td {
	background: #f7f8fb;
}

body.newstyle table.grupy-tabela tbody td:has(> a.grupa) {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

body.newstyle table.grupy-tabela tbody td:has(> a.grupa) > i {
	flex: 0 0 auto;
	margin-top: 3px;
	line-height: 1;
}

body.newstyle table.grupy-tabela tbody td:has(> a.grupa) > a.grupa {
	flex: 1 1 auto;
	min-width: 0;
}

body.newstyle div.podsumowanie,
body.newstyle .punkt,
body.newstyle .uzytkownik {
	border-radius: 10px;
}

body.newstyle div.podsumowanie {
	background: #f4f6fa;
}

body.newstyle .punkt,
body.newstyle .uzytkownik {
	border-color: #e6e9f0;
}

body.newstyle #mainbox > h1 {
	margin-top: 6px;
	margin-bottom: 14px;
	line-height: 1.5;
}

body.newstyle #mainbox > h2.tnaglowek {
	margin: 2px 0 16px;
	padding-bottom: 0;
	line-height: 1.45;
}

body.newstyle #mainbox > tools:not(.toper) {
	position: relative;
	z-index: 30;
}

body.newstyle #mainbox > tools:not(.toper) .tools-more-btn {
	padding: 5px 10px !important;
	border-radius: 8px !important;
	vertical-align: middle;
}

body.newstyle #mainbox > tools.toper {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	height: auto;
	padding: 12px 10px;
	margin: 0 0 18px;
}

body.newstyle #mainbox > tools.toper a {
	white-space: nowrap;
	flex: 0 0 auto;
	margin-right: 0;
}

body.newstyle div.punkt.active,
body.newstyle div.punkt.active:hover,
body.newstyle div.punkt.active textarea,
body.newstyle div.punkt.active input,
body.newstyle div.punkt.active:hover textarea,
body.newstyle div.punkt.active:hover input {
	background: #fdf2f4;
}

body.newstyle div.punkt.active {
	border-color: #f0c4cb;
	border-right: 5px solid #cb4052;
}

body.newstyle textarea.pnazwa {
	font-size: 1em;
	font-weight: 400;
	color: #4a5568;
	line-height: 1.45;
}

body.newstyle #mainbox a.vote,
body.newstyle #mainbox a.add_vote,
body.newstyle #mainbox a.file {
	box-sizing: border-box;
	max-width: calc(100% - 96px);
}

body.newstyle #mainbox a.vote:hover {
	max-width: calc(100% - 96px);
	white-space: normal;
	overflow: hidden;
}

body.newstyle ul.pager li a {
	border-radius: 8px;
}

body.newstyle div.powiadomienia div.pow {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2px 8px;
	border: 0;
	border-bottom: 1px solid #eef1f6;
	border-radius: 8px;
	padding: 12px 8px;
	margin: 0;
}

body.newstyle div.powiadomienia div.pow:hover {
	background: #f5f7fb;
}

body.newstyle div.powiadomienia div.pow i {
	float: none;
	flex: 0 0 auto;
	margin: 3px 0 0;
	font-size: 1.05em;
	color: #8b93a7;
}

body.newstyle div.powiadomienia n {
	font-weight: 600;
	color: #1c2434;
}

body.newstyle div.powiadomienia t {
	color: #6d7689;
}

body.newstyle div.powiadomienia czas {
	flex: 1 0 100%;
	margin: 2px 0 0 26px;
	color: #6d7689;
}

body.newstyle div.powiadomienia div.miesiac {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 8px;
	padding: 10px 14px;
	background: #e8ecf3;
	border-radius: 10px;
	color: #1e2740;
	font-weight: 600;
	letter-spacing: -0.01em;
}

body.newstyle div.powiadomienia div.miesiac .miesiac-nazwa,
body.newstyle div.powiadomienia div.miesiac .miesiac-ile {
	margin: 0;
}

body.newstyle div.powiadomienia div.miesiac .miesiac-ile {
	margin-left: auto;
	font-weight: 500;
	font-size: 0.85em;
	color: #5c6578;
	white-space: nowrap;
}

body.newstyle div.powiadomienia summary {
	display: block;
	margin-top: 16px;
	color: #5c6578;
}

body.newstyle div.posiedzenia > dd.miesiac,
body.newstyle div.posiedzenia > dd.miesiac:hover {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 8px;
	padding: 10px 14px;
	background: #e8ecf3;
	border: 0;
	border-radius: 10px;
	color: #1e2740;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: default;
}

body.newstyle div.posiedzenia > dd.miesiac .miesiac-nazwa,
body.newstyle div.posiedzenia > dd.miesiac .miesiac-ile {
	margin: 0;
}

body.newstyle div.posiedzenia > dd.miesiac .miesiac-ile {
	margin-left: auto;
	font-weight: 500;
	font-size: 0.85em;
	color: #5c6578;
	white-space: nowrap;
}

body.newstyle .ustawienia-kafelki {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 6px 0 22px;
}

body.newstyle .ustawienia-kafelek {
	background: #f4f6fa;
	border: 1px solid #e6e9f0;
	border-radius: 12px;
	padding: 14px 16px;
}

body.newstyle .ustawienia-kafelek span {
	display: block;
	margin-bottom: 6px;
	color: #5c6578;
	font-size: 0.82rem;
	font-weight: 500;
}

body.newstyle .ustawienia-kafelek strong {
	display: block;
	color: #1e2740;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

body.newstyle .ustawienia-kafelek em {
	display: block;
	margin-top: 4px;
	color: #6d7689;
	font-style: normal;
	font-size: 0.85rem;
}

body.newstyle .ustawienia table td:first-child {
	width: 190px;
	color: #3d475c;
}

body.newstyle .ustawienia-oddziel {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #e6e9f0;
}

body.newstyle .ustawienia-opcja {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0;
	color: #1e2740;
	font-weight: 500;
	cursor: pointer;
}

body.newstyle .ustawienia-opcja input {
	margin: 0;
}

body.newstyle .ustawienia-tlo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
}

body.newstyle .ustawienia-zapis {
	margin-top: 18px;
	text-align: right;
}

body.newstyle div#discussion {
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(28, 36, 60, 0.16);
}

body.newstyle.login #inner,
body.newstyle.login #content > .box.saved {
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

body.newstyle.login #inner {
	margin-top: 28px;
	padding: 28px 28px 20px;
	text-align: left;
}

body.newstyle.login #inner h1 {
	margin-bottom: 18px;
}

body.newstyle.login #logowanie span {
	margin: 0 0 12px;
}

body.newstyle.login #logowanie input[type=textbox],
body.newstyle.login #logowanie input[type=password] {
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #e3e7ef;
	background: #f4f6fa;
	font-size: 1rem;
}

body.newstyle.login #logowanie input[type=submit] {
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 4px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

body.newstyle.login #logowanie input[type=submit]:hover {
	background: #b23042;
}

body.newstyle.login #logowanie label {
	color: #3d475c;
	font-weight: 500;
	cursor: pointer;
}

body.newstyle.login #skod p {
	margin: 2px 0 10px;
	color: #5c6578;
	font-size: 0.92rem;
}

@media only screen and (max-width: 1178px) {
	body.newstyle #header,
	body.newstyle div#header {
		margin-top: 0;
		border-radius: 0;
	}
}
