/*
Theme Name: aka_Koren
Author: aka_Koren
Author URI: https://vk.com/aka_koren
Description: theme for aka_koren site
Tags: aka_koren
Text Domain: akaKoren
*/
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url(Manrope-Variable.ttf) format("truetype"); }
button:hover, input[type="submit"]:hover { cursor: pointer; }
input, button, select, textarea, a, img {
	transition: 250ms;
	text-decoration: none !important;
}
p { margin: 0 0 10px 0; }
.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }
.ttu { text-transform: uppercase; }
.m0 { margin: 0; }
.p0 { padding: 0; }
.posr { position: relative; }
.mb0 { margin-bottom: 0 !important; }
.db { display: block; }
.dib { display: inline-block; }
img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}
:root {
	--ink: #171532;
	--ok: #2FB178;
	--muted: #7A798F;
	--mute2: #A4A3B6;
	--line: #E9EAF1;
	--field: #F3F4F9;
	--pill: #151327;
	--danger: #E0556D;
	--blue: #4B7BF5;
	--amber: #E08A00;
	--accent: #6C5AE6;
}
body, main, section, header, footer {
	font-family: Manrope;
	font-weight: 400;
	color: var(--ink);
	overflow-x: hidden !important;
}
body {
	margin: 0 !important;
	background-color: var(--field);
}
*, *:hover, *:focus, *:active, *:before, *:after {
	outline: none !important;
	box-sizing: border-box;
}

section#planfakt {
	position: relative;
	max-width: 1280px;
	height: 100vh;
	margin: auto;
}

.planfakt_login {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	max-height: 830px;
	width: 100%;
	position: absolute;
	margin: auto;
	display: flex;
	letter-spacing: -2%;
}

.planfakt_login .left {
	width: 44%;
	color: white;
	padding: 52px 56px;
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.planfakt_login .logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 20px;
	filter: grayscale(1);
}

.planfakt_login h1 {
	margin-bottom: 16px;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 800;
}

.planfakt_login .left .text {
	margin-bottom: 90px;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 500;
	color: #FFFFFFDB;
}

.planfakt_login .text p:last-child { margin-bottom: 0; }

.planfakt_login .line {
	margin: 0;
	line-height: 16px;
	color: #FFFFFFB2;
	font-size: 12px;
	font-weight: 600;
}

.planfakt_login .right {
	width: 56%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.planfakt_login .right .wrap {
	width: 100%;
	max-width: 380px;
}

.planfakt_login .right .logo { display: none; }

.planfakt_login .wrap .title {
	margin-bottom: 7px;
	line-height: 28px;
	font-size: 23px;
	font-weight: 800;
}

.planfakt_login .wrap .text {
	margin-bottom: 24px;
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
	color: var(--muted);
}

.planfakt_login .wrap label {
	display: flex;
	flex-flow: column;
	gap: 8px;
	margin-bottom: 16px;
	position: relative;
}

.planfakt_login .wrap label span {
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
}

.planfakt_login .wrap input, .planfakt_login .wrap [type="submit"] {
	height: 50px;
	width: 100%;
	padding: 0 14px;
	border: 1px solid var(--line);
	background-color: var(--field);
	border-radius: 12px;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: var(--ink);

}

.planfakt_login .wrap input::placeholder { color: var(--muted); }

.planfakt_login .wrap label button {
	position: absolute;
	width: 20px;
	height: 20px;
	padding: 0;
	background: none;
	border: none;
	right: 14px;
	bottom: 14px;
}

.planfakt_login .wrap label button:hover { opacity: 0.8; }

.planfakt_login .wrap [type="submit"] {
	color: white;
	background-color: var(--pill);
	border-color: var(--pill);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 700;
	margin: 24px 0;
}

.planfakt_login .wrap [type="submit"]:hover {
	color: white;
	background-color: var(--accent);
}

.planfakt_login .sub {
	margin: 0;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
}

.planfakt_cab_master, .planfakt_cab_worker, .planfakt_dashboard,
.planfakt_cab_buh, .planfakt_cab_admin { display: none; }

.heading {
	margin-bottom: 28px;
	background-color: white;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	padding: 16px 40px;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}

.heading .left {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
	gap: 16px;
}

.heading .logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -2%;
}

.heading .logo img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.heading .cabinet_type {
	padding: 4px;
	background-color: var(--field);
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 2px;
}

.heading .cabinet_type button {
	background-color: transparent;
	border: none;
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--muted);
	font-weight: 700;
	font-size: 14px;
	border-radius: 9px;
	height: 38px;
	padding: 0 14px;
}

.heading .cabinet_type button img { opacity: 0.7; }

.heading .cabinet_type button:hover { color: var(--ink); }

.heading .cabinet_type button:hover img { opacity: 0.9; }

.heading .cabinet_type button.active {
	color: var(--ink);
	background-color: white;
	box-shadow: 0px 6px 18px -12px #29215C47;
}

.heading .cabinet_type button.active img { opacity: 1; }

.heading .cabinet_buh {
	display: none;
	padding-left: 12px;
	height: 20px;
	display: flex;
	align-items: center;
	border-left: 1px solid var(--line);
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
}

.heading .right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.heading .user {
	display: flex;
	gap: 10px;
	align-items: center;
}

.heading .user .initials {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	color: white;
	background: linear-gradient(135deg, #8B78F2 0%, #4A37C9 71.43%);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
}

.heading .user .name {
	margin-bottom: 2px;
	line-height: 1.2;
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}

.heading .user .type {
	margin: 0;
	line-height: 1.2;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.heading .logout {
	height: 40px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	border: none;
	color: var(--danger);
	font-size: 14px;
	font-weight: 700;
	background-color: #E0556D1A;
	border-radius: 11px;
}

.heading .logout:hover { opacity: 0.7; }

.tabs { padding: 0 40px; }

.tabs .tab { display: none; }

.tabs .tab.active { display: block; }

.info_cards {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 22px;
}

.info_cards .card {
	width: calc(25% - 10.5px);
	background-color: white;
	border-radius: 16px;
	padding: 18px;
	min-height: 108px;
}

.info_cards .card .title {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 24px;
	line-height: 1;
	letter-spacing: -2%;
	font-weight: 800;
	color: var(--ink);
	margin-bottom: 14px;
}

.info_cards .card .title .icon {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--field);
}

.info_cards .card[data-clr="p"] .title .icon { background: #6C5AE621; }
.info_cards .card[data-clr="g"] .title .icon { background: #2FB17821; }
.info_cards .card[data-clr="r"] .title .icon { background: #E0556D21; }
.info_cards .card[data-clr="y"] .title .icon { background: #E08A0021; }
.info_cards .card[data-clr="b"] .title .icon { background: #4B7BF521; }

.info_cards .card .text {
	margin: 0;
	line-height: 1;
	font-weight: 500;
	font-size: 13px;
	color: var(--muted);
}

.table_nav {
	margin-bottom: 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: row wrap;
	gap: 12px;
}

.table_nav .left {
	display: flex;
	flex-flow: row wrap;
	gap: 12px;
}

.table_nav .date {
	display: flex;
	align-items: center;
	text-align: center;
	background-color: white;
	gap: 12px;
	padding: 4px;
	border-radius: 12px;
	border: 1px solid var(--line);
	transition: 250ms;
}

.table_nav .date button {
	padding: 0;
	border: none;
	background-color: transparent;
	width: 34px;
	height: 34px;
	border-radius: 8px;
}

.table_nav .date button:hover { background-color: var(--field); }

.table_nav .date button:hover img { filter: brightness(0.2); }

.table_nav .date span {
	color: var(--ink);
	font-weight: 700;
	font-size: 14px;
	min-width: 120px;
}

.table_nav select {
	appearance: none;
	padding: 0 34px 0 14px;
	border: 1px solid var(--line);
	background-color: white;
	cursor: pointer;
	background-image: url(planimg/select.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 12px) center;
	border-radius: 12px;
}

.table_nav input {
	height: 100%;
	border: 1px solid var(--line);
	background-color: white;
	border-radius: 12px;
	padding: 0 12px 0 40px;
	background-image: url(planimg/search.svg);
	background-repeat: no-repeat;
	background-position: 12px center;
}

.table_nav .date:hover, .table_nav select:hover, .table_nav input:hover { border-color: var(--ink); }

.table_nav button {
	height: 44px;
	gap: 8px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: white;
	background-color: var(--pill);
	border: 1px solid var(--pill);
	font-weight: 700;
	font-size: 14px;
}

.table_nav button:hover {
	background-color: white;
	color: var(--pill);
}

.table_nav button:hover img { filter: brightness(0); }

.table_block {
	margin-bottom: 22px;
	background-color: white;
	border-radius: 18px;
	border: 1px solid var(--line);
}

.table_head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 6px;
}

.worker_table_card {
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.1;
}

.worker_table_card .initials {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 12px;
	background: linear-gradient(135deg, #8B78F2 0%, #4A37C9 71.43%);
	color: white;
	font-weight: 700;
	font-size: 14px;
}

.worker_table_card .title {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 4px;
}

.worker_table_card .title .name {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -1%;
	color: var(--ink);
}

.worker_table_card .title .group {
	display: flex;
	align-items: center;
	height: 20px;
	padding: 2px 8px;
	border-radius: 20px;
	background: #4B7BF51F;
	color: var(--blue);
	font-weight: 700;
	font-size: 11px;
}

.worker_table_card .text {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	display: flex;
	gap: 3px;
}

.table_head .right {
	display: flex;
	align-items: center;
	gap: 40px;
}

.table_head .stats {
	display: flex;
	gap: 20px;
	text-align: right;
	line-height: 1.2;
}

.table_head .stats .title {
	margin-bottom: 4px;
	color: var(--muted);
	font-weight: 500;
	font-size: 13px;
}

.table_head .stats .text {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -1%;
}

.table_head .stats .text[data-clr="r"] { color: var(--danger); }

.table_head .stats .text[data-clr="g"] { color: var(--ok); }

.table_head .actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.table_head .close_shift {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-end;
	min-width: 200px;
}

.table_head .close_shift.close_shift_closed { cursor: default; }

.table_head .close_shift .btn {
	position: relative;
	width: 42px;
	height: 24px;
	border-radius: 12px;
	background-color: var(--line);
	transition: 250ms;
}

.table_head .close_shift .btn:before {
	position: absolute;
	content: '';
	border-radius: 100%;
	background-color: white;
	height: 18px;
	width: 18px;
	transition: 250ms;
	left: 3px;
	top: 0;
	bottom: 0;
	margin: auto;
}

.table_head .close_shift:hover .btn { background-color: var(--ok); }

.table_head .close_shift.close_shift_closed .btn { background-color: var(--ok); }

.table_head .close_shift.close_shift_closed .btn:before { left: calc(100% - 21px); }

.table_head .close_shift .text {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	transition: 250ms;
}

.table_head .close_shift:hover .text { color: var(--ink); }

.table_head .close_shift.close_shift_closed .text {	color: var(--ok) !important; }

.table_head .close_shift .done {
	height: 28px;
	display: flex;
	align-items: center;
	padding: 0 12px;
	border-radius: 20px;
	background-color: #2FB1781F;
	gap: 6px;
	color: var(--ok);
	font-size: 12px;
	font-weight: 600;
}

.table_head .actions button {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background-color: transparent;
}

.table_head .actions button:hover { border-color: var(--ink); }

.table_head .actions button:hover img { filter: brightness(0.2); }

.table_wrap {
	margin-bottom: 6px;
	padding: 0 20px 6px 20px;
	white-space: nowrap;
	overflow-x: auto;
}

.table_wrap table { width: 100%; }

.table_wrap table thead {
	font-weight: 700;
	font-size: 11px;
	color: var(--mute2);
}

.table_wrap table thead td {
	height: 30px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}

.table_wrap table td.del {
	text-align: center;
	width: 44px;
}

.table_wrap table td.del button {
	background-color: transparent;
	border: none;
	width: 30px;
	height: 30px;
}

.table_wrap table td.del button:hover img { filter: brightness(0.2); }

.table_wrap table td {
	padding: 0 12px;
	border-bottom: 1px solid var(--line);
}

.table_wrap table tbody td { height: 56px; }

.table_wrap table tbody tr.debt td { background-color: #FEF3E2; }

.table_wrap table td:first-child {
	text-align: left;
	padding-left: 10px;
}

.table_wrap table td:last-child { padding-right: 8px; }

.table_wrap table select {
	border: none;
	cursor: pointer;
	background-color: var(--field);
	height: 38px;
	padding: 0 30px 0 12px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	border-radius: 10px;
	appearance: none;
	background-repeat: no-repeat;
	background-image: url(planimg/select.svg);
	background-position: calc(100% - 10px); center;
}

.table_wrap table td.plan, .table_wrap table td.fact { width: 100px; }

.table_wrap table td.plan span, .table_wrap table td.fact input {
	text-align: center;
	width: 72px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background-color: var(--field);
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}

.table_wrap table td.fact input {
	appearance: textfield;
	-moz-appearance: textfield;
	border: 1px solid #6C5AE659;
}

.table_wrap table td.fact input:focus { border-color: var(--ink); }

.table_wrap table td.fact input::-webkit-outer-spin-button, .table_wrap table td.fact input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.table_wrap table td.cost {
	width: 110px;
	text-align: right;
}

.table_wrap table tbody td.cost {
	color: var(--muted);
	font-weight: 500;
	font-size: 14px;
}

.table_wrap table td.sum {
	text-align: right;
	width: 110px;
}

.table_wrap table tbody td.sum {
	color: var(--ink);
	font-weight: 700;
	font-size: 14px;
}

.table_wrap table tbody td.operation p {
	margin-bottom: 0;
	line-height: 1.1;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
}

.table_wrap table tbody tr.debt td.operation p { color: var(--amber); }

.table_wrap table tbody td.operation span {
	line-height: 1.1;
	color: var(--amber);
	font-weight: 600;
	font-size: 12px;
}

.table_wrap table tfoot td {
	height: 46px;
	border-bottom: 1px dashed var(--line);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.table_wrap table tfoot td.sum {
	font-size: 16px;
	color: var(--accent);
}

.tables_buh .table_wrap table tfoot td.sum { color: var(--ok); }

.table_buttons {
	margin-bottom: 16px;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.table_buttons button {
	padding: 2px 12px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid transparent;
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: var(--line);
	font-weight: 500;
	font-size: 13px;
}

.table_buttons button.add {
	background-color: #6C5AE617;
	color: var(--accent);
}

.table_buttons button.move {
	color: var(--amber);
	background-color: #E08A001C;
}

.table_buttons button:hover { border-color: var(--mute2); }

.table_buttons span {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.workers_title {
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.workers_title p {
	margin: 0;
	line-height: 20px;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
}

.workers_title span {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.worker_list {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 14px;
}

.worker_list .worker_card {
	width: calc(50% - 7px);
	min-height: 74px;
	background-color: white;
	padding: 10px 14px;
	border-radius: 15px;
	border: 1px solid var(--line);
	background-repeat: no-repeat;
	background-image: url(planimg/worker_link.svg);
	background-position: calc(100% - 15px) center;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: 250ms;
	position: relative;
	z-index: 1;
}

.worker_list .worker_card.worker_card_you {
	border-color: var(--accent);
	background-color: white;
}

.worker_list .worker_card span.you {
	position: absolute;
	z-index: 2;
	top: -10px;
	right: 66px;
	color: white;
	background-color: var(--accent);
	border-radius: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	padding: 2px 8px;
	line-height: 1;
	font-size: 11px;
	font-weight: 700;
}

.worker_list .worker_card:not([disabled]) { cursor: pointer; }

.worker_list .worker_card:not([disabled]):hover { border-color: var(--ink); }

.worker_list .worker_card[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
	filter: grayscale(1);
}

.worker_list .worker_card .initials {
	width: 46px;
	height: 46px;
	border-radius: 100%;
	text-transform: uppercase;
	color: white;
	font-weight: 700;
	font-size: 14px;
	background: linear-gradient(135deg, #8B78F2 0%, #4A37C9 71.43%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.worker_list .worker_card .name {
	margin-bottom: 2px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.worker_list .worker_card .text {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.worker_list .worker_card .text span:first-child {
	position: relative;
	padding-right: 10px;
}

.worker_list .worker_card .text span:first-child:after {
	right: 4px;
	content: '·';
	position: absolute;
}

.workers_table { display: none; }

.workers_table .back {
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: white;
	height: 42px;
	padding: 0 15px;
	border-radius: 12px;
	border: 1px solid var(--line);
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}

.workers_table .back:hover { border-color: var(--ink); }

.workers_table .worker_table_card { margin-bottom: 22px; }

.planfakt_cab_worker .workers_table .worker_table_card { margin-bottom: 0; }

.workers_table .tables .title {
	margin: 20px 20px 4px 20px;
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
	line-height: 1.2;
}

.plan_popup {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: #1513278C;
	top: 0;
	left: 0;
}

.plan_popup .wrap {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	background-color: white;
	padding: 24px 26px 0 36px;
	border-radius: 20px;
	width: 98%;
	max-width: 460px;
	height: 98%;
	max-height: 500px;
	overflow-y: auto;
}

.plan_popup#popup_add_user .wrap { max-height: 440px; }
.plan_popup#popup_add_operation .wrap { max-height: 320px; }

.plan_popup .title {
	margin-bottom: 6px;
	line-height: 1;
	color: var(--ink);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -2%;
}

.plan_popup .text {
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.plan_popup form {
	display: flex;
	flex-flow: row wrap;
	gap: 15px 12px;
	margin-bottom: 20px;
}

.plan_popup form label {
	display: block;
	width: 100%;
}

.plan_popup form label.half { width: calc(50% - 6px); }

.plan_popup form label span {
	display: block;
	margin-bottom: 8px;
	line-height: 1;
	color: var(--ink);
	font-weight: 600;
	font-size: 12px;
}

.plan_popup form label input, .plan_popup form label select {
	width: 100%;
	height: 44px;
	padding: 0 13px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	background-color: var(--field);
	border: 1px solid var(--line);
	border-radius: 11px;
	appearance: none;
}

.plan_popup form label input:focus, .plan_popup form label select:focus { border-color: var(--ink); }

.plan_popup form label select {
	cursor: pointer;
	background-image: url(planimg/select.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 12px) center;
}

.plan_popup form .role {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
}

.plan_popup form .role p {
	width: 100%;
	margin-bottom: 8px;
	line-height: 1;
	color: var(--ink);
	font-weight: 600;
	font-size: 12px;
}

.plan_popup form .role label {
	display: block;
	width: calc(50% - 6px);
}

.plan_popup form .role label input { display: none; }

.plan_popup form .role label input + span {
	display: flex;
	width: 100%;
	height: 46px;
	background-color: var(--field);
	border: 2px solid var(--line);
	border-radius: 11px;
	align-items: center;
	cursor: pointer;
	gap: 10px;
	padding: 2px 12px;
	font-weight: 700;
	font-size: 14px;
	transition: 250ms;
}

.plan_popup form .role label input + span img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.plan_popup form .role label input + span:hover { border-color: var(--muted); }

.plan_popup form .role label input:checked + span { border-color: var(--accent); }

.plan_popup .buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.plan_popup .buttons button {
	width: 132px;
	height: 46px;
	border: none;
	border-radius: 11px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 2%;
}

.plan_popup .buttons button:last-child {
	width: calc(100% - 142px);
	color: white;
	background-color: var(--accent);
	border: 1px solid var(--accent);
}

.plan_popup .buttons button:hover {
	background-color: var(--ink);
	color: white;
}

.plan_popup .buttons button:last-child:hover {
	color: var(--accent);
	background-color: white;
	border-color: var(--accent);
}

.planfakt_cab_buh .buh_wrap { padding: 0 40px; }

.buh_head {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 20px;
}

.buh_head .title {
	color: var(--ink);
	margin-bottom: 6px;
	line-height: 1.2;
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -2%;
}

.buh_head .text {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.buh_head button {
	background-color: var(--ok);
	border: none;
	color: white;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
}

.buh_head button:hover { background-color: var(--ink); }

.buh_date {
	margin-bottom: 20px;
	background-color: white;
	padding: 14px 16px;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 12px;
	border-radius: 16px;
}

.buh_date .date_type {
	border-radius: 11px;
	background-color: var(--field);
	padding: 4px;
	display: flex;
	gap: 4px;
}

.buh_date .date_type input { display: none; }

.buh_date .date_type input + span {
	display: flex;
	align-items: center;
	height: 36px;
	padding: 4px 14px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	transition: 250ms;
	cursor: pointer;
	border-radius: 8px;
}

.buh_date .date_type input + span:hover { color: var(--accent); }

.buh_date .date_type input:checked + span {
	color: white;
	background-color: var(--accent);
}

.buh_date .date_period {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: 20px;
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
}

.buh_date .date_period input {
	padding: 0 10px;
	height: 36px;
	border: 1px solid var(--field);
	border-radius: 10px;
	background-color: var(--field);
	font-weight: 500;
	font-size: 13px;
}

.buh_date .date_period input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }

.buh_date .date_period input:focus, .buh_date .date_period input:active { border-color: var(--ink); }

.buh_date .date_info {
	background-color: #6C5AE617;
	border-radius: 20px;
	padding: 0 12px;
	height: 32px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--accent);
}

.table_nav_buh .left > * { height: 42px; }

.table_nav_buh .result {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.tables_buh .table_head .left {
	display: flex;
	align-items: center;
	gap: 38px;
}

.tables_buh .table_wrap table thead td.msr { text-align: left; }

.tables_buh .table_wrap table td.msr span {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 2px 9px;
	border-radius: 8px;
	background-color: var(--field);
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.tables_buh .table_wrap table td.fact { text-align: right; }

.tables_buh .table_wrap table td.fact span {
	background-color: transparent;
	border: none;
	text-align: right;
	justify-content: flex-end;
	width: auto;
}

.planfakt_cab_worker .workers_block { padding: 0 40px; }

.workers_block .workers_info {
	margin-bottom: 26px;
	padding: 28px 32px;
	color: white;
	border-radius: 22px;
	background: linear-gradient(123.69deg, #7E6BF2 10%, #6C5AE6 46.67%, #5842DA 76.67%);
	position: relative;

}

.workers_block .workers_info:before {
	position: absolute;
	z-index: 1;
	content: url(planimg/star.svg);
	height: 106px;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 15px;
	opacity: 0.2;
}

.workers_block .workers_info * {
	position: relative;
	z-index: 3;
}

.workers_block .workers_info .title {
	margin-bottom: 6px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -2%;
}

.workers_block .workers_info .text {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	opacity: 0.86;
}

.worker_heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.worker_heading .buttons {
	display: flex;
	justify-content: flex-end;
	gap: 4px;
	padding: 4px;
	background-color: white;
	border-radius: 12px;
}

.worker_heading .buttons button {
	height: 38px;
	padding: 4px 18px;
	border-radius: 9px;
	background-color: transparent;
	border: none;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
}

.worker_heading .buttons button:hover { color: var(--accent); }

.worker_heading .buttons button.active {
	color: white;
	background-color: var(--accent);
}

.workers_table { padding: 0 40px; }

.planfakt_cab_master .workers_table { padding: 0; }

.worker_tables {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.worker_tables .tables { width: calc(100% - 320px); }

.worker_tables .table_block { display: none; }

.worker_tables .table_block.active { display: block; }

.worker_tables .table_head p {
	margin: 0;
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -1%;
}

.worker_tables .table_head span {
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.worker_tables .table_block tfoot td { border-bottom: none; }

.worker_tables .table_block:first-child tfoot td { height: 120px; }

.worker_tables .table_wrap table td.plan, .worker_tables .table_wrap table td.fact { text-align: center; }

.worker_tables .table_wrap table td.summ, .worker_tables .table_wrap table td.stat {
	width: 120px;
	text-align: right;
}

.worker_tables .table_wrap table tbody td.summ {
	font-size: 14px;
	font-weight: 700;
}

.worker_tables .table_wrap table tfoot td.summ {
	font-size: 16px;
	letter-spacing: -1%;
	color: var(--accent);
}

.worker_tables .table_wrap table tbody td.stat span {
	background-color: var(--field);
	color: var(--ink);
	border-radius: 20px;
	padding: 2px 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	font-weight: 600;
	font-size: 12px;
}

.worker_tables .table_wrap table tbody td.stat span[data-clr="g"] {
	color: var(--ok);
	background: #2FB1781F;
}

.worker_tables .table_wrap table tbody td.stat span[data-clr="r"] {
	color: var(--danger);
	background: #E0556D1A;
}

.table_save {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.table_save button {
	color: white;
	background-color: var(--pill);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 9px;
	justify-content: center;
	border: 1px solid var(--pill);
	height: 46px;
	padding: 2px 20px;
}

.table_save button:hover {
	color: var(--pill);
	background-color: white;
}

.table_save button:hover img { filter: brightness(0.2); }

.table_save p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.worker_tables .summary { width: 300px; }

.worker_tables .summary > * { margin-bottom: 16px; }

.plan_done {
	border-radius: 18px;
	background: linear-gradient(168.69deg, #7E6BF2 8.33%, #6C5AE6 54.17%, #4F3DD2 91.67%);
	padding: 24px;
	color: white;
	position: relative;
}

.plan_done:after {
	position: absolute;
	z-index: 1;
	content: url(planimg/star1.svg);
	top: 0;
	right: 0;
	opacity: 0.2;
}

.plan_done > * {
	position: relative;
	z-index: 2;
}

.plan_done .title {
	margin-bottom: 4px;
	line-height: 1.2;
	font-size: 13px;
	font-weight: 500;
}

.plan_done .text {
	line-height: 1.2;
	font-size: 34px;
	font-weight: 800;
	margin-bottom: 4px;
	letter-spacing: -3%;
}

.plan_done .sub {
	line-height: 1.2;
	margin-bottom: 20px;
	font-weight: 600;
	font-size: 12px;
}

.progress p {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	line-height: 1.2;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.9;
}

.progress .line {
	height: 8px;
	border-radius: 20px;
	background-color: #FFFFFF40;
	position: relative;
}

.progress .line:after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 20px;
	width: var(--done, 0%);
	background-color: white;
}

.plan_stats {
	padding: 18px;
	border-radius: 16px;
	background-color: white;
}

.plan_stats .title {
	margin-bottom: 12px;
	font-weight: 600;
	font-size: 12px;
	line-height: 1.3;
	color: var(--ink);
}

.stats_wrap .line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 36px;
	border-bottom: 1px solid var(--line);
}

.stats_wrap .line:last-child { border-bottom: none; }

.stats_wrap .line p {
	margin: 0;
	color: var(--muted);
	font-weight: 500;
	font-size: 13px;
}

.stats_wrap .line span {
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.dashboard_wrap {
	margin-bottom: 16px;
	padding: 0 40px;
}

.dboard_title {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
	gap: 12px;
}

.dboard_title p {
	color: var(--ink);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -1%;
	margin: 0;
}

.dboard_title span {
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.cabinets_links {
	margin-bottom: 28px;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	gap: 16px;
}

.cabinets_links .cabinet_link {
	width: calc(25% - 12px);
	background-color: white;
	padding: 22px;
	border-radius: 18px;
	min-height: 230px;
}

.cabinets_links .cabinet_link .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background-color: var(--field);
}

.cabinets_links .cabinet_link .icon[data-clr="p"] { background: #6C5AE621; }
.cabinets_links .cabinet_link .icon[data-clr="b"] { background: #4B7BF521; }
.cabinets_links .cabinet_link .icon[data-clr="g"] { background: #2FB17821; }
.cabinets_links .cabinet_link .icon[data-clr="y"] { background: #E08A0021; }

.cabinets_links .cabinet_link .title {
	margin-bottom: 6px;
	line-height: 1.2;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -1%;
	color: var(--ink);
}

.cabinets_links .cabinet_link .text {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	margin-bottom: 14px;
	min-height: 54px;
}

.cabinets_links .cabinet_link button {
	border: none;
	background-color: transparent;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-size: 14px;
	font-weight: 700;
}

.cabinets_links .cabinet_link button:hover { color: var(--ink); }

.cabinets_links .cabinet_link button:hover img { filter: grayscale(0.8); }

.planfakt_dashboard .worker_list .worker_card { width: calc(33% - 7px); }

.planfakt_cab_admin, .admin_wrap, .admin_wrap .admin_nav { height: 100%; }

.admin_wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.admin_wrap .admin_nav {
	background-color: white;
	width: 260px;
	padding: 18px 14px;
}

.admin_nav .logo {
	display: flex;
	align-items: center;
	padding: 8px;
	gap: 10px;
	color: var(--ink);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -2%;
	margin-bottom: 4px;
}

.admin_nav .title {
	line-height: 1.1;
	margin-bottom: 4px;
	padding: 16px 10px 8px 10px;
	color: var(--mute2);
	font-size: 11px;
	font-weight: 700;
}

.admin_nav .buttons {
	padding-bottom: 18px;
	gap: 4px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-flow: column;
}

.admin_nav .buttons button {
	display: flex;
	flex-flow: row;
	text-align: left;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
	padding: 2px 12px;
	height: 44px;
	border-radius: 12px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	background-color: transparent;
	border: none;
}

.admin_nav .buttons button:hover { color: var(--ink); }

.admin_nav .buttons button span {
	background-color: var(--field);
	border-radius: 20px;
	height: 20px;
	width: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.admin_nav .buttons button.active {
	color: white;
	background-color: var(--accent);
}

.admin_nav .buttons button.active span { background: #FFFFFF38; }

.admin_nav .buttons button.active img { filter: brightness(0) invert(1); }

.admin_nav .buttons button b { width: 24px; }

.admin_nav .user {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.admin_nav .user .initials {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 38px;
	height: 38px;
	border-radius: 100%;
	color: white;
	background: linear-gradient(135deg, #8B78F2 0%, #4A37C9 71.43%);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
}

.admin_nav .user .name {
	margin-bottom: 2px;
	line-height: 1.2;
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}

.admin_nav .user .type {
	margin: 0;
	line-height: 1.2;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.admin_nav button.back, .admin_nav button.logout {
	width: 100%;
	height: 42px;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: var(--muted);
	font-weight: 700;
	font-size: 14px;
	border: none;
	background-color: transparent;
}

.admin_nav button.back:hover, .admin_nav button.logout:hover { color: var(--ink); }

.admin_nav button.back:hover img, .admin_nav button.logout:hover img { filter: brightness(0.2); }

.admin_wrap .admin_tabs {
	width: calc(100% - 260px);
	padding: 26px 34px;
}

.admin_tabs .admin_tab { display: none; }

.admin_tabs .admin_tab.active { display: block; }

.admin_heading {
	margin-bottom: 24px;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
	justify-content: space-between;
}

.admin_heading button {
	width: 230px;
	height: 44px;
	background-color: var(--pill);
	border: 1px solid var(--pill);
	display: flex;
	align-items: center;
	gap: 9px;
	color: white;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	padding: 2px;
	border-radius: 12px;
}

.admin_heading button:hover {
	background-color: white;
	color: var(--pill);
}

.admin_heading button:hover img { filter: brightness(0.2); }

.admin_heading .info { width: calc(100% - 250px); }

.admin_heading .info p {
	margin-bottom: 6px;
	line-height: 1;
	font-size: 23px;
	font-weight: 800;
	color: var(--ink);
}

.admin_heading .info span {
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.users_nav {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	margin-bottom: 16px;
	gap: 10px;
}

.users_nav .buttons {
	padding: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
	border-radius: 12px;
	background-color: white;
	border: 1px solid var(--line);
}

.users_nav .buttons button {
	height: 36px;
	padding: 4px 14px;
	border-radius: 9px;
	font-weight: 700;
	font-size: 14px;
	color: var(--muted);
	background-color: transparent;
	border: none;
}

.users_nav .buttons button:hover { color: var(--ink); }

.users_nav .buttons button.active {
	color: white;
	background-color: var(--accent);
}

.operation_search { margin-bottom: 16px; }

.admin_tabs input {
	height: 42px;
	padding: 10px 12px 10px 40px;
	border: 1px solid var(--line);
	background-color: white;
	border-radius: 11px;
	box-shadow: 0px 6px 18px -12px #29215C47;
	font-weight: 500;
	font-size: 14px;
	color: var(--ink);
	width: 250px;
	background-repeat: no-repeat;
	background-image: url(planimg/search.svg);
	background-position: 12px center;
}

.admin_tabs input:focus { border-color: var(--ink); }

.admin_table {
	width: 100%;
	white-space: nowrap;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 18px;
	background-color: var(--field);
}

.admin_table table { width: 100%; }

.admin_table table thead td {
	height: 44px;
	font-size: 12px;
	font-weight: 700;
	color: var(--mute2);
	padding: 0 16px;
}

.admin_table table thead td.measure { text-align: left; }

.admin_table table tbody td {
	background-color: white;
	padding: 0 16px;
	border-top: 1px solid var(--line);
	height: 68px;
}

.admin_table table td:last-child {
	text-align: right;
	width: 110px;
}

.admin_table table tbody td.name span {
	display: inline-flex;
	vertical-align: middle;
	margin-right: 12px;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	color: white;
	background: linear-gradient(135deg, #8B78F2 0%, #4A37C9 71.43%);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
}

.admin_table table tbody td.name p {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.admin_table table tbody td.login span, .admin_table table tbody td.pword span, .admin_table table tbody td.measure span {
	cursor: pointer;
	height: 26px;
	padding: 2px 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 8px;
	background-color: var(--field);
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	transition: 250ms;
}

.admin_table table tbody td.measure span { cursor: default; }

.admin_table table tbody td.login span:hover, .admin_table table tbody td.pword span:hover { color: var(--ink); }

.admin_table table tbody td.role span {
	background-color: var(--field);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 6px;
	height: 26px;
	padding: 2px 10px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
}

.admin_table table tbody td.role span[data-clr="b"] {
	color: var(--blue);
	background: #4B7BF51F;
}

.admin_table table tbody td.role span[data-clr="g"] {
	color: var(--ok);
	background: #2FB1781F;
}

.admin_table table td.price {
	width: 180px;
	text-align: right;
}

.admin_table table tbody td.price span {
	color: var(--ink);
	font-size: 16px;
	font-weight: 800;
}

.admin_table table tbody td.price span[data-clr="p"] { color: var(--muted); }

.admin_table table tbody td.actions button {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	border: 1px solid var(--line);
	background-color: white;
	margin-right: 4px;
}

.admin_table table tbody td.actions button:last-child { margin-right: 0; }

.admin_table table tbody td.actions button:hover { border-color: var(--ink); }

.admin_table table tbody td.actions button:hover img { filter: brightness(0.2); }

.admin_table table tbody td.status span {
	height: 24px;
	display: inline-flex;
	align-items: center;
	padding: 0 8px 0 18px;
	border-radius: 20px;
	position: relative;
	background-color: var(--field);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.admin_table table tbody td.status span:before {
	position: absolute;
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 100%;
	background-color: var(--ink);
	top: 0;
	bottom: 0;
	left: 7px;
	margin: auto;
}

.admin_table table tbody td.status span[data-clr="g"] {
	background: #2FB17821;
	color: var(--ok);
}
.admin_table table tbody td.status span[data-clr="y"] {
	background: #E08A0021;
	color: var(--amber);
}
.admin_table table tbody td.status span[data-clr="r"] {
	background: #E0556D21;
	color: var(--danger);
}
.admin_table table tbody td.status span[data-clr="g"]:before { background: var(--ok); }
.admin_table table tbody td.status span[data-clr="y"]:before { background: var(--amber); }
.admin_table table tbody td.status span[data-clr="r"]:before { background: var(--danger); }

.drag_upload {
	cursor: pointer;
	background-color: white;
	text-align: center;
	margin-bottom: 16px;
	padding: 24px;
	height: 246px;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	border: 2px dashed var(--line);
	transition: 250ms;
	line-height: 1.2;
	border-radius: 18px;
}

.drag_upload:hover { border-color: var(--ink); }

.drag_upload .icon {
	margin-bottom: 16px;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #6C5AE61F;
}

.drag_upload p { margin-bottom: 0; }

.drag_upload .title {
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -1%;
}

.drag_upload .text {
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
}

.drag_upload .sub {
	color: var(--mute2);
	font-size: 12px;
	font-weight: 600;
}

.doc_buttons {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.doc_buttons button {
	color: var(--ink);
	height: 44px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 11px;
	background-color: white;
	border: none;
}

.doc_buttons button:hover {
	color: white;
	background-color: var(--accent);
}

.doc_buttons button:hover img { filter: brightness(0) invert(1); }

.admin_table .doc_info {
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	padding: 4px 20px;
}

.admin_table .doc_info p { margin-bottom: 0; }

.admin_table .doc_info p.title {
	gap: 10px;
	display: flex;
	align-items: center;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.admin_table .doc_info p.nums {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.doc_import {
	background-color: white;
	height: 70px;
	padding: 8px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	border-top: 1px solid var(--line);
}

.doc_import p {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.doc_import button {
	height: 44px;
	padding: 2px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	background-color: var(--ok);
	border: none;
	font-size: 14px;
	font-weight: 700;
	border-radius: 12px;
	color: white;
	line-height: 1;
}

.doc_import button:hover { background-color: var(--accent); }

.admin_table .table_wrap {
	padding: 0;
	margin: 0;
}

@media(min-width: 992px) and (max-width: 1199px) {
	.planfakt_login .left {
		width: calc(100% - 500px);
		padding: 50px 32px;
	}
	.planfakt_login .right { width: 500px; }
	.planfakt_login h1 { font-size: 30px; }
	.info_cards .card {
		min-height: 90px;
		padding: 12px;
	}
	.info_cards .card .text { font-size: 12px; }
	.table_head {
		flex-flow: column;
		align-items: flex-start;
		gap: 8px;
		padding: 12px 20px;
	}
	.planfakt_cab_buh .buh_wrap { padding: 0 20px; }
	.buh_date { padding: 12px 6px; }
	.buh_date .date_type input + span {
		font-size: 14px;
		font-weight: 600;
		padding: 4px 10px;
	}
	.buh_date .date_period { margin-right: 0; }
	.workers_block .workers_info .text { max-width: 700px; }
	.workers_table { padding: 0 20px; }
	.worker_tables .tables { width: calc(100% - 310px); }
	.worker_tables .table_head { flex-flow: row wrap; }
	.worker_tables .table_wrap { padding: 0 10px 6px 10px; }
	.worker_tables .table_block:first-child tfoot td { height: 80px; }
	.cabinets_links .cabinet_link .title { min-height: 40px; }
	.cabinets_links .cabinet_link .text { min-height: 72px; }
	.planfakt_dashboard .worker_list .worker_card { width: calc(50% - 7px); }
	.admin_wrap .admin_nav {
		width: 250px;
		padding: 16px 8px;
	}
	.admin_wrap .admin_tabs {
		width: calc(100% - 250px);
		padding: 20px 12px;
	}
}

@media(min-width: 768px) and (max-width: 991px) {
	.planfakt_login .left {
		width: calc(100% - 360px);
		padding: 50px 24px;
	}
	.planfakt_login .right {
		width: 360px;
		padding: 0 20px;
	}
	.planfakt_login h1 { font-size: 24px; }
	.planfakt_login .left .text {
		font-size: 12px;
		margin-bottom: 40px;
	}
	.heading {
		margin-bottom: 16px;
		padding: 12px;
	}
	.heading .left, .heading .right { gap: 12px; }
	.heading .logo {
		gap: 6px;
		font-size: 16px;
	}
	.heading .logo img {
		height: 32px;
		width: 32px;
	}
	.heading .cabinet_type button {
		gap: 6px;
		font-size: 12px;
		padding: 0 8px;
		height: 32px;
	}
	.heading .user { gap: 8px; }
	.heading .user .initials {
		width: 36px;
		height: 36px;
		font-size: 12px;
	}
	.heading .user .name { font-size: 12px; }
	.heading .user .type { font-size: 10px; }
	.heading .logout {
		font-size: 12px;
		gap: 6px;
		padding: 0 10px;
		height: 32px;
	}
	.tabs { padding: 0 20px; }
	.info_cards .card {
		padding: 12px;
		min-height: 100px;
	}
	.info_cards .card .title {
		gap: 12px;
		font-size: 18px;
	}
	.table_nav {
		gap: 6px;
		margin-bottom: 16px;
	}
	.table_nav .left, .table_nav .date { gap: 6px; }
	.table_nav .date span {
		font-size: 12px;
		min-width: 100px;
	}
	.table_nav .date button {
		width: 30px;
		height: 30px;
	}
	.table_nav input {
		padding: 0 6px 0 30px;
		background-position: 6px center;
		width: 180px;
		font-size: 12px;
	}
	.table_nav button {
		height: 40px;
		gap: 6px;
		padding: 0 12px;
		font-size: 12px;
	}
	.table_head {
		flex-flow: column;
		align-items: flex-start;
		gap: 8px;
		padding: 12px 20px;
	}
	.table_head .right {
		flex-flow: column;
		align-items: flex-start;
		gap: 12px;
	}
	.worker_table_card .initials {
		width: 40px;
		height: 40px;
		font-size: 12px;
	}
	.table_head .close_shift { min-width: 1px; }
	.table_wrap table td.cost, .table_wrap table td.sum { width: 100px; }
	.planfakt_cab_buh .buh_wrap { padding: 0 20px; }
	.buh_head { position: relative; }
	.buh_head .title {
		height: 40px;
		display: flex;
		align-items: center;
	}
	.buh_head button {
		height: 40px;
		position: absolute;
		top: 0;
		right: 0;
	}
	.buh_date {
		gap: 12px;
		justify-content: center;
	}
	.buh_date .date_type, .buh_date .date_period {
		margin: 0;
		width: calc(50% - 8px);
	}
	.planfakt_cab_worker .workers_block { padding: 0 20px; }
	.workers_block .workers_info .text { max-width: 550px; }
	.workers_table { padding: 0 20px; }
	.worker_tables {
		flex-flow: column;
		gap: 16px;
	}
	.worker_tables .tables, .worker_tables .summary { width: 100%; }
	.worker_tables .table_block:first-child tfoot td { height: 60px; }
	.worker_tables .summary {
		display: flex;
		flex-flow: row wrap;
		align-items: flex-start;
		justify-content: center;
		gap: 20px;
	}
	.worker_tables .summary > div { width: 320px; }
	.dashboard_wrap { padding: 0 20px; }
	.cabinets_links .cabinet_link { width: calc(50% - 8px); }
	.planfakt_dashboard .worker_list .worker_card { width: calc(50% - 7px); }
	.admin_wrap {
		flex-flow: column;
		justify-content: flex-start;
		gap: 16px;
	}
	.admin_wrap .admin_nav, .admin_wrap .admin_tabs {
		width: 100%;
		height: auto;
		padding: 12px 20px;
	}
	.admin_wrap .admin_nav {
		display: flex;
		flex-flow: row wrap;
		align-items: flex-start;
		justify-content: space-between;
	}
	.admin_nav .title { padding: 0 10px 10px 10px; }
	.admin_nav .buttons {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.admin_nav .buttons button br { display: none; }
}

@media(min-width: 1px) and (max-width: 767px) {
	.planfakt_login .left { display: none; }
	.planfakt_login .right {
		width: 100%;
		padding: 0 16px;
	}
	.planfakt_login .right .logo {
		display: flex;
		margin-bottom: 16px;
	}
	.planfakt_login .wrap .text { max-width: 300px; }
	.heading {
		margin-bottom: 16px;
		padding: 12px;
		flex-flow: column;
		gap: 8px;
		align-items: flex-start;
	}
	.heading .left, .heading .right { gap: 10px; }
	.heading .right {
		width: 100%;
		justify-content: space-between;
	}
	.heading .logo {
		gap: 6px;
		font-size: 16px;
	}
	.heading .logo img {
		height: 32px;
		width: 32px;
	}
	.heading .cabinet_type button {
		gap: 4px;
		font-size: 10px;
		padding: 0 8px;
		height: 32px;
		width: 100px;
	}
	.heading .user { gap: 8px; }
	.heading .user .initials {
		width: 36px;
		height: 36px;
		font-size: 12px;
	}
	.heading .user .name { font-size: 12px; }
	.heading .user .type { font-size: 10px; }
	.heading .logout {
		font-size: 12px;
		gap: 6px;
		padding: 0 10px;
		height: 32px;
	}
	.tabs { padding: 0 10px; }
	.info_cards { gap: 6px; }
	.info_cards .card {
		padding: 12px;
		min-height: 100px;
		width: calc(50% - 3px);
	}
	.info_cards .card .title {
		gap: 12px;
		font-size: 18px;
	}
	.table_nav {
		gap: 6px;
		margin-bottom: 16px;
		width: 320px;
		margin: 0 auto 12px auto;
	}
	.table_nav .left, .table_nav .date { gap: 6px; }
	.table_nav .date span {
		font-size: 12px;
		min-width: 100px;
	}
	.table_nav .date button {
		width: 30px;
		height: 30px;
	}
	.table_nav .search {
		height: 40px;
		width: 320px;
	}
	.table_nav input { width: 100%; }
	.table_nav button {
		height: 40px;
		width: 320px;
	}
	.table_head {
		flex-flow: column;
		align-items: flex-start;
		gap: 8px;
		padding: 8px;
	}
	.table_head .right {
		flex-flow: column;
		align-items: flex-start;
		gap: 12px;
	}
	.worker_table_card { gap: 6px; }
	.worker_table_card .title .name { font-size: 12px; }
	.worker_table_card .initials {
		width: 32px;
		height: 32px;
		font-size: 10px;
		border-radius: 10px;
	}
	.table_head .close_shift { min-width: 1px; }
	.table_wrap { padding: 0 10px 6px 10px; }
	.table_wrap table td.cost, .table_wrap table td.sum { width: 100px; }
	.table_buttons {
		flex-flow: column;
		gap: 8px;
		margin-bottom: 8px;
	}
	.table_buttons button {
		justify-content: center;
		width: 100%;
	}
	.table_head .close_shift .done {
		padding: 0 6px;
		font-size: 8px;
		width: 90px;	
	}
	.table_head .close_shift .text { font-size: 10px; }
	.table_buttons span { font-size: 12px; }
	.worker_list { flex-flow: column; }
	.worker_list .worker_card {
		width: 100%;
		padding: 10px;
	}
	.plan_popup .wrap {
		border-radius: 16px;
		padding: 20px 16px;
		max-height: 550px;
	}
	.plan_popup#popup_add_user .wrap { max-height: 480px; }
	.plan_popup#popup_add_operation .wrap { max-height: 400px; }
	.plan_popup .text { margin-bottom: 16px; }
	.plan_popup form {
		margin-bottom: 16px;
		gap: 10px;
}
	.plan_popup form label.half { width: 100%; }
	.plan_popup .buttons button { font-size: 12px; }
	.planfakt_cab_buh .buh_wrap { padding: 0 20px; }
	.buh_head {
		flex-flow: column;
		gap: 12px;
		align-items: flex-start;
	}
	.buh_head button {
		height: 40px;
		width: 100%;
		justify-content: center;
	}
	.buh_date {
		justify-content: center;
		padding: 10px;
	}
	.buh_date .date_type input + span {
		height: 30px;
		font-size: 12px;
		padding: 2px 10px;
	}
	.buh_date .date_period {
		gap: 6px;
		margin-right: 0;
	}
	.buh_date .date_period input {
		padding: 0 6px;
		font-size: 11px;
	}
	.buh_date .date_info { font-size: 11px; }
	.table_nav_buh .left {
		flex-flow: column;
		justify-content: center;
		align-items: center;
	}
	.table_nav_buh select { width: 100%; }
	.table_nav_buh .result {
		height: 24px;
		width: 100%;
		text-align: center;
		justify-content: center;
	}
	.tables_buh .table_head .left {
		flex-flow: column;
		gap: 12px;
	}
	.worker_table_card .title { margin-bottom: 0; }
	.planfakt_cab_worker .workers_block { padding: 0 20px; }
	.workers_table { padding: 0 20px; }
	.worker_heading {
		flex-flow: column;
		align-items: flex-start;
		gap: 16px;
	}
	.worker_heading .buttons {
		width: 100%;
		justify-content: center;
	}
	.worker_heading .buttons button { width: calc(50% - 2px); }
	.worker_tables .table_head p, .worker_tables .table_head span {
		width: 100%;
		text-align: center;
	}
	.worker_tables .table_block { margin-bottom: 0; }
	.workers_block .workers_info {
		margin-bottom: 20px;
		padding: 16px;
		border-radius: 16px;
	}
	.workers_block .workers_info .title {
		margin-bottom: 10px;
		font-size: 18px;
	}
	.worker_tables {
		flex-flow: column;
		gap: 16px;
	}
	.worker_tables .tables, .worker_tables .summary { width: 100%; }
	.worker_tables .table_block:first-child tfoot td { height: 60px; }
	.dashboard_wrap { padding: 0 20px; }
	.cabinets_links .cabinet_link, .planfakt_dashboard .worker_list .worker_card { width: 100%; }
	.dboard_title, .workers_title {
		flex-flow: column;
		margin-bottom: 16px;
		text-align: center;
	}
	.workers_title p { font-size: 14px; }
	.planfakt_dashboard .worker_list .worker_card { width: calc(50% - 7px); }
	.admin_wrap {
		flex-flow: column;
		justify-content: flex-start;
		gap: 16px;
	}
	.admin_wrap .admin_nav, .admin_wrap .admin_tabs {
		width: 100%;
		height: auto;
		padding: 12px 16px;
	}
	.admin_nav .title { padding: 0 10px 10px 10px; }
	.admin_nav .buttons button br { display: none; }
	.admin_heading, .doc_buttons {
		gap: 12px;
		flex-flow: column;
		text-align: center;
	}
	.admin_heading .info, .admin_heading button, .doc_buttons button, .doc_import button { width: 100%; }
	.users_nav { flex-flow: column; }
	.users_nav .buttons, .admin_tabs input { width: 100%; }
	.users_nav .buttons button { width: 33%; }
	.drag_upload { line-height: 1.4; }
	.admin_table .doc_info, .doc_import {
		height: auto;
		padding: 12px;
		flex-flow: column;
		gap: 12px;
	}
	.admin_table .doc_info p.title { font-size: 12px; }
	.admin_table .doc_info p.nums, .doc_import p {
		font-size: 10px;
		letter-spacing: -3%;
	}
}