* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body,
input,
select,
textarea {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Roboto, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

select {
	-webkit-appearance: none;
	appearance: none;
	-webkit-padding-end: 25px;
	padding-right: 25px;
	-webkit-padding-start: 4px;
	padding-left: 4px;
	-moz-appearance: none;
	-moz-padding-end: 25px;
	/* -moz-padding-start: 4px; */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1MzmNZGAwAAABV0RVh0Q3JlYXRpb24gVGltZQAyLzE3LzA4IJyqWAAABBF0RVh0WE1MOmNvbS5hZG9iZS54bXAAPD94cGFja2V0IGJlZ2luPSIgICAiIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6MTE6NDEgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAwOC0wMi0xN1QwMjozNjo0NVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAwOC0wMy0yNFQxOTowMDo0Mlo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9wbmc8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgNR1SZAAAAB5QTFRFAAAA////oKCgoKCgxMTE0NDQ2dnZ4+Pj5eXl8PDw3yFXpQAAAAN0Uk5TAACzqB4m6AAAADVJREFUCNdjEIQCBqIYQsZAoAhkCM8EAkMgQ8CivaIZJCXAnBpmAGYwmDgzQBjMBozEmgwFAAE8DZuU/+YvAAAAAElFTkSuQmCC);
	background-position: right center;
	background-repeat: no-repeat;
	cursor: pointer;
	margin-top: 0px;
	margin-bottom: 0px;
	display: initial;
	border: 1px solid rgba(12, 12, 12, 0.1);
	border-radius: 2px;
}

body {
	font-size: 0.8em;
}

@media print {
	.no-print {
		display: none !important;
	}

	@media print {
		body {
			transform: scale(0.6);
			transform-origin: 0 0;
		}
	}

	div#container {
		overflow-y: visible;
		height: 100%;
	}

	div#core {
		background-color: #fff !important;
	}

	@page {
		size: landscape;
	}

	@viewport {
		orientation: landscape;
	}
}

/* eichert anfang */
#kanban {
	display: flex;
}

.column {
	border: 1px solid #ccc;
	margin: 5px;
	padding: 5px;
	min-width: 200px;
}

.card {
	border: 1px solid #999;
	margin: 5px;
	padding: 5px;
	background: #fff;
}

/* .modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 20px; border: 1px solid #000; } */
.hidden {
	display: none;
}

/* eichert ende */

div.kanban {
	display: inline-block;
	overflow-x: auto;
	white-space: nowrap;
}

div.column {
	display: inline-block;
	border: 1px solid #ddd;
	border-bottom: none;
	width: 200px;
	vertical-align: top;
	text-align: center;
	min-height: 1916px;
	white-space: normal;
}

div.columnContent {
	min-height: 1916px;
	padding-left: 0;
	padding-right: 0;
}

div.card {
	/* width: 90%; */
	height: 66px;
	/* max-height: 70px; */
	background-color: #eee;
	text-align: left;
	border: 1px solid #ccc;
	margin: 5px;
	text-overflow: ellipsis;
	overflow: hidden;
	cursor: move;
	white-space: normal;
	word-wrap: break-word;
}

div.card.hidden {
	display: none;
}

div.card span.cardUpdatedAgo {
	float: right;
	font-size: 10px;
	margin-top: 2px;
}

div.card div.cardDataLine {
	font-size: 10px;
	padding-left: 18px;
	text-align: right;
	padding-right: 10px;
}

/** 
 * Color codes
 */

div.card.yellow {
	background-color: yellow;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}

div.card.orange {
	background-color: orange;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}

div.card.blue {
	background-color: lightBlue;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}

div.card.gray {
	background-color: #eee;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}

div.card.green {
	background-color: #86ff44;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}

div.card.red {
	background-color: #FF7C7A;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}

div.card.pink {
	background-color: pink;
	border: 1px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1px;
	padding-right: 1px;
}




div.cardBorder {
	position: absolute;
	width: 7px;
	top: 3px;
	bottom: 3px;
	height: 100%;
	margin-right: 3px;
	float: left;
}

div.cardBorder.pending {
	background-color: purple;
}

div.cardBorder.blocked {
	background-color: red;
}

div.cardBorder.active {
	background-color: #ccc;
}

div.cardBorder.resolved {
	background-color: green;
}

div.cardBorder.new {
	background-color: lightGreen;
}

div.cardBorder.priority {
	background-color: magenta;
}

div.cardBorder.closed {
	background-color: #000;
}

div.cardBorder.cancelled {
	background-color: #555;
}

div.columnData span.count {
	font-weight: 700;
	font-size: 1.4em;
}

div.columnData span.wipLimit,
div.columnData span.wipSlash {
	font-size: 1.4em;
}


div.cardData {
	padding: 3px;
	padding-left: 10px;
	height: 42px;
	margin-bottom: 3px;
}

div.card a.tasklink {
	text-decoration: none;
	font-family: FontAwesome;
	margin-left: 3px;
	margin-right: 3px;
}

div.card span.remindericon {
	font-family: FontAwesome;
	margin-left: 3px;
	margin-right: 3px;
}

div.cardContent {
	white-space: pre-wrap;
	padding: 1px;
	text-overflow: ellipsis;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* two lines max (doesn't work in Firefox) */
	line-clamp: 2;
	-webkit-box-orient: vertical;
	/* box-orient is obsolete */
	max-height: 3em;
	/* for Firefox */
	font-size: smaller
}

div.columnLabel {
	background-color: #eee;
	cursor: pointer;
	font-size: 1.2em;
	padding: 2px;
}

span.cardAssignee {
	font-size: 10px;
	margin-left: 4px;
}

.ui-multiselect-optgroup-label {
	background-color: #f8f8f8;
	text-align: left !important;
	margin-top: 10px;
}

.ui-multiselect-checkboxes {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Chrome/Safari/Opera */
	-khtml-user-select: none;
	/* Konqueror */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* IE/Edge */
	user-select: none;
}

div#core {
	width: 100%;
	/* workaround for Chrome 47 flex layout bug */
	display: flex;
	flex-direction: row;
	flex: 1;
	min-height: 0;
	/* workaround for Chrome issue 506893 */
	background-color: #f9f9f9;
}

div#container {
	text-align: center;
	display: flex;
	vertical-align: top;
	flex: 3;
	overflow-y: auto;
	background-color: gainsboro;
}

div#navigator {
	display: flex;
	flex-direction: column;
	vertical-align: top;
	flex: 1;
	max-width: 260px;
	background-color: lavender;
}

body {
	padding: 0;
	min-height: 100vh;
	max-height: 100vh;
	margin: 0;
	display: flex;
	flex-direction: column;
}

div#toolbar {
	width: 100%;
	/* min-height: 50px; */
	margin-top: 0px;
	/*	
	padding-top: 6px; 
	padding-bottom: 2px; 
	*/
	border-bottom: 1px solid #e8e8e8;
	max-height: 62px !important;
}

td.toolbar-left {
	position: relative;
	text-align: left;
	vertical-align: middle;
	left: 0;
	padding-left: 15px;
	height: 62px;
	width: 33%;
	max-width: 33% !important;
}

td.toolbar-center {
	position: relative;
	text-align: center;
	vertical-align: middle;
	height: 62px;
	width: 33%;
	max-width: 33% !important;
}


td.toolbar-right {
	position: relative;
	text-align: right;
	right: 0;
	padding-right: 20px;
	height: 62px;
	width: 33%;
	max-width: 33% !important;
}


div#userprofile {
	display: inline-block;
	vertical-align: middle;
	margin-left: 20px;
}

div#userprofile img.picture {
	width: 32px;
	border-radius: 50%;
	vertical-align: middle;
	margin-bottom: 3px;
}

div#kanban {
	white-space: nowrap;
	margin-top: 15px;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	min-height: 2000px;
}

div#listtree {
	padding: 10px;
	overflow-y: auto;
}


input#taskname {
	width: 250px;
}

div.tasklist {
	font-size: 1.1em;
	padding: 5px;
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 200px;
	border-left: 4px solid #f9f9f9;
}

div.tasklist.selected {
	border-left: 4px solid #04C;
	font-weight: 700;
}

/**
 * Column collapse
 */

div.column.collapsed {
	width: 40px;
}

div.column.collapsed>div.columnContent>div.card {
	display: none;
}

div.column.collapsed>div.columnLabel {
	transform: rotate(90deg);
	margin-top: 60px;
	background-color: #fff;
	height: 1em;
	white-space: nowrap;
	margin-left: 12px;
}

div.column.collapsed>div.columnData {
	margin-top: -55px;
}



.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
}

div#taskModal>.modal-content {
	background-color: #fefefe;
	margin: 150px auto;
	/* 15% from the top and centered */
	border: 1px solid #888;
	width: 600px;
}

div#boardModal>.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	border: 1px solid #888;
	width: 900px;
}

div#createBoardModal>.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	/* 15% from the top and centered */
	border: 1px solid #888;
	width: 600px;
}

/* === STORAGE MODAL === */
#storageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    overflow: auto;           /* wichtig bei sehr großen Bildschirmen / viel Inhalt */
}

#storageModal .modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 1400px;         /* etwas breiter als bisher */
    max-height: 92vh;         /* nimmt fast die ganze Höhe, lässt aber Rand */
    overflow-y: auto;
    position: relative;
    margin: 20px auto;
}

/* Schönes Close-X oben rechts */
#storageModal .modal-content::before {
    content: "✕";
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

#storageModal .modal-content::before:hover {
    color: #e74c3c;
}

/* Inhalt etwas mehr Luft geben */
#storageModal .storeConfig {
    padding: 30px 35px 20px;
}

/* Die Karten innen schöner machen */
#storageModal .card-body {
    margin-bottom: 20px;
}


.storageSettingButtonBorders {
	border-style: solid;
	border-color: blue;
	border-width: 0 0 1px 0;
	width: 50%
}

div.boardColumnConfig {
	display: inline-block;
	width: 90px;
	margin: 5px;
	padding: 3px;
	text-align: center;
	background-color: #eee;
}

div.boardColumnConfig div.action {
	cursor: pointer;
	padding: 3px;
	margin-top: 10px;
}

div.boardColumnConfig input.columnId {
	color: blue;
}

div.boardColumnConfig div.action[data-type='left'] {
	display: inline-block;
	font-size: 16px;
}

div.boardColumnConfig div.action[data-type='right'] {
	display: inline-block;
	font-size: 16px;
}

div.boardColumnConfig div.action[data-type='delete'] img {
	width: 16px;
}


div.boardColumnConfig input {
	width: 80px;
	text-align: center;
	margin-top: 2px;
	border: 1px solid #ddd;
}

div.boardColumnConfig input:placeholder-shown {
	background-color: yellow;
	color: black;
}

div.column div.controls {
	margin: 3px;
	height: 22px;
}

.modal-form {
	padding: 20px;
}

.modal-form table.mainform {
	width: 100%;
}

.modal-form select,
.modal-form input,
.modal-form textarea {
	/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; */
	font-size: 1em;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #fff;
	border: 1px solid #ddd;
}

.modal input[type="text"],
.modal textarea {
	padding-left: 5px;
	padding-right: 5px;
}

.modal-form td {
	vertical-align: middle;
}

/**
 * Alertify modifications
 */

.alertify-buttons {
	padding: 14px 23px 14px !important;
}

.alertify-button {
	border-radius: 0px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}

img.toolbar-icon {
	vertical-align: middle;
	width: 18px;
	margin-left: 3px;
	margin-right: 3px;
	cursor: pointer;
	margin-bottom: 2px;
}

input.searchfield {
	padding: 5px;
	margin: 5px;
	border: 1px solid #eee;
	background-color: #fff;
	height: 23px;
	vertical-align: middle;
}

input.status {
	margin-right: 5px;
}

select#duefilter,
select#selectLanguage {
	margin: 5px;
	border: 1px solid #eee;
	background-color: #fff;
	color: #000;
	height: 23px;
	vertical-align: middle;
}

span.lateTask {
	color: #fff;
	background-color: darkRed;
	padding: 1px 3px 1px 3px;
}

span.closeTask {
	color: #000;
	background-color: yellow;
	padding: 1px 3px 1px 3px;
}

/**
 * 
 */
span.priorityicon {
	float: left;
}

span.taskvalue {
	float: left;
	margin-left: 10px;
	margin-right: 10px;
}

span.priorityicon img {
	width: 12px;
}


.button-add {
	cursor: pointer;
	width: 20px;
	height: 20px;
	float: left;
}

.button-trash {
	cursor: pointer;
	width: 20px;
	height: 20px;
	float: right;
}


table.boardTypeTable {
	margin: 13px;
}

table.boardTypeTable th {
	border-bottom: 1px solid #ccc;
}

table.boardTypeTable td {
	padding: 5px;
}

div.boardNameHeader {
	margin: 18px 24px;
	text-align: center;
}

select.wipLimit {
	width: 80px;
	text-align-last: center;
	margin-top: 2px;
	background-image: none;
	padding-left: 0;
	padding-right: 0;
	padding-top: 1px;
	padding-bottom: 1px;
}

.wipLimitExceeded {
	color: red;
}

.wipLimitWarning {
	color: orange;
}

.hidden {
	display: none;
}

.subtask input[type="checkbox"] {
	vertical-align: middle;
	cursor: pointer;
}

.subtask .subtask-name {
	vertical-align: middle;
}

#addSubtask {
	border: 1px solid #ddd;
	background-color: #fff;
	color: #000;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#subtaskName {
	width: 320px;
}

div.subtask-list {
	padding: 5px 0px 10px 0px;
	max-height: 110px;
	overflow-y: auto;
}

.subtask-name {
	white-space: nowrap;
	overflow-x: hidden;
	text-overflow: ellipsis;
	max-width: 400px;
	display: inline-block;
}

.subtask.completed .subtask-name {
	text-decoration: line-through;
}

.subtask-action {
	display: none;
	float: right;
	cursor: pointer;
	padding-right: 5px;
}

.subtask:hover {
	background-color: #eee;
}

.subtask:hover .subtask-action {
	display: inline-block;
}

.subtask-action img {
	width: 15px;
	padding-top: 2px;
	opacity: 0.6;
}

/* .subtask-row {
	background-color: gainsboro;
} */
table.navTable {
	border: 0;
	margin: 0;
	height: 50px !important;
	max-height: 50px !important;
	width: 100%;
}

.toolbar-mainline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	vertical-align: middle;
}

.toolbar-project-mobile {
	display: none;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.toolbar-meta {
	display: inline-block;
	margin-top: 0;
	margin-left: 10px;
	vertical-align: middle;
}

.toolbar-mobile-nav-slot {
	display: none;
}

@media (max-width: 900px) {
	body {
		max-height: none;
		overflow: hidden;
	}

	div#toolbar {
		max-height: none !important;
	}

	table.navTable,
	table.navTable tbody,
	table.navTable tr {
		display: block;
		height: auto !important;
		max-height: none !important;
	}

	table.navTable tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	td.toolbar-left,
	td.toolbar-center,
	td.toolbar-mobile-nav-slot,
	td.toolbar-right {
		display: block;
		max-width: none !important;
		height: auto;
		left: auto;
		right: auto;
		padding: 8px 12px;
		text-align: left;
	}

	td.toolbar-left {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		padding-right: 0;
	}

	td.toolbar-center {
		display: none;
	}

	td.toolbar-mobile-nav-slot {
		flex: 1 0 100%;
		width: 100%;
		padding: 0 12px 6px;
	}

	td.toolbar-right {
		display: flex;
		flex-wrap: wrap;
		flex: 1 0 100%;
		width: 100%;
		align-items: center;
		gap: 8px;
		padding-top: 4px;
		padding-bottom: 10px;
	}

	.toolbar-project-mobile {
		display: inline-block;
		flex: 1 1 auto;
		min-width: 0;
	}

	.toolbar-meta {
		display: none;
	}

	td.toolbar-right > * {
		margin: 0 !important;
	}

	input.searchfield,
	select#duefilter,
	select#selectLanguage {
		height: 34px;
	}

	input.searchfield {
		flex: 1 1 220px;
		min-width: 0;
	}

	select#duefilter {
		flex: 1 1 180px;
		min-width: 0;
	}

	select#selectLanguage {
		flex: 0 0 72px;
	}

	img.toolbar-icon {
		width: 22px;
		height: 22px;
	}

	div#core {
		flex-direction: column;
		overflow: hidden;
	}

	div#navigator {
		flex: 0 0 auto;
		max-width: none;
		width: 100%;
		max-height: 35vh;
		border-bottom: 1px solid #ddd;
		border-radius: 12px;
		overflow: hidden;
	}

	div#listtree {
		padding: 8px;
	}

	div.tasklist {
		width: 100%;
		font-size: 1em;
		padding: 10px 8px;
	}

	div#container {
		flex: 1 1 auto;
		min-height: 0;
		overflow: auto;
	}

	div#kanban {
		margin-top: 0;
		min-height: auto;
		min-width: max-content;
		padding: 8px 6px 18px;
	}

	div.column {
		width: 260px;
		min-width: 260px;
		min-height: auto;
	}

	div.columnContent {
		min-height: 40vh;
	}

	div.card {
		min-height: 72px;
		height: auto;
	}

	div.cardData {
		height: auto;
		min-height: 42px;
	}

	div#taskModal > .modal-content,
	div#boardModal > .modal-content,
	div#createBoardModal > .modal-content,
	#storageModal .modal-content {
		width: calc(100% - 24px);
		max-width: none;
		margin: 12px auto;
		max-height: calc(100vh - 24px);
	}

	.modal-form {
		padding: 14px;
	}

	.modal-form table.mainform,
	.modal-form table.mainform tbody,
	.modal-form table.mainform tr,
	.modal-form table.mainform td {
		display: block;
		width: 100%;
	}

	.modal-form table.mainform td {
		padding-bottom: 8px;
	}

	#taskModal > .modal-content {
		border: 0;
		border-radius: 18px;
		box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
		overflow: hidden;
		display: flex;
		flex-direction: column;
		max-height: calc(100vh - 24px);
	}

	#taskModal .modal-form {
		padding: 14px 14px 8px;
		background: linear-gradient(180deg, #f9fbff 0%, #f3f5f8 100%);
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	#taskModal .modal-form table.mainform tr {
		background: #fff;
		border: 1px solid #e4e8ee;
		border-radius: 14px;
		padding: 10px 12px;
		margin-bottom: 10px;
		box-shadow: 0 2px 8px rgba(22, 34, 51, 0.04);
	}

	#taskModal .modal-form table.mainform td:first-child {
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: #55606f;
		padding-bottom: 6px;
	}

	#taskModal .modal-form table.mainform td:not(:first-child) {
		padding-bottom: 0;
	}

	.modal-form select,
	.modal-form input,
	.modal-form textarea {
		width: 100% !important;
		max-width: 100%;
	}

	#taskModal .modal-form input,
	#taskModal .modal-form select,
	#taskModal .modal-form textarea {
		border-radius: 10px;
		border: 1px solid #d5dbe3;
		min-height: 40px;
		padding: 8px 10px;
		background: #fff;
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.03);
	}

	#taskModal .modal-form textarea {
		min-height: 96px;
		resize: vertical;
	}

	#taskModal .subtask-row td:last-child {
		padding-top: 2px;
	}

	#taskModal .subtask-controls {
		display: flex;
		align-items: center;
		gap: 8px;
		margin-top: 8px;
	}

	#taskModal #subtaskName {
		flex: 1 1 auto;
		width: auto;
	}

	#taskModal #addSubtask {
		flex: 0 0 42px;
		width: 42px;
		height: 42px;
		border-radius: 10px;
		font-size: 22px;
		line-height: 1;
	}

	#taskModal div.subtask-list {
		background: #f8fafc;
		border: 1px solid #e2e8f0;
		border-radius: 10px;
		padding: 8px;
		max-height: 160px;
	}

	#taskModal .subtask {
		padding: 6px 4px;
		border-radius: 8px;
	}

	#taskModal .subtask-name {
		max-width: calc(100% - 52px);
		white-space: normal;
		word-break: break-word;
	}

	#taskModal .alertify-buttons {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 12px 14px 16px !important;
		background: #fff;
		border-top: 1px solid #e8ecf1;
		flex: 0 0 auto;
	}

	#taskModal .alertify-button {
		width: 100%;
		min-height: 42px;
		border-radius: 10px !important;
	}

	#taskModal .alertify-button-cancel {
		background: #f2f4f7;
	}

	#taskModal .alertify-button-ok {
		background: #e8f0ff;
	}

	#subtaskName {
		width: calc(100% - 44px);
	}

	.subtask-name {
		max-width: calc(100% - 56px);
	}

	.alertify .ajs-dialog,
	.alertify .ajs-modal {
		max-width: 100%;
	}

	.alertify .ajs-dialog {
		width: calc(100% - 16px) !important;
		margin: 8px auto;
	}

	.alertify .ajs-body .ajs-content {
		word-break: break-word;
	}

	.alertify .ajs-input {
		width: 100%;
	}
}

.mobile-board-actions {
	position: fixed;
	inset: 0;
	z-index: 10001;
}

.mobile-board-actions-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.mobile-board-actions-sheet {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
	padding: 10px;
}

.mobile-board-actions-title {
	padding: 8px 10px 12px;
	font-weight: 700;
	text-align: center;
	border-bottom: 1px solid #eee;
	margin-bottom: 6px;
	word-break: break-word;
}

.mobile-board-actions-sheet button {
	display: block;
	width: 100%;
	border: 0;
	background: #fff;
	padding: 14px 12px;
	text-align: center;
	font-size: 16px;
	border-radius: 10px;
}

.mobile-board-actions-sheet button:hover,
.mobile-board-actions-sheet button:active {
	background: #f4f6f8;
}

.mobile-board-actions-sheet button.cancel {
	margin-top: 6px;
	font-weight: 700;
}
