html {
    font-family: 'Segoe UI', sans-serif;
}

body {
	margin: 0;
	padding-bottom: 82px;
}

.site-header {
	display: flex;
	position: relative;
	width: 100%;
	align-items: center;
	gap: 16px;
	min-height: 48px;
	padding: 0 24px;
	border-bottom: 1px solid #e1e5e9;
	background: #fff;
	color: #202832;
	box-sizing: border-box;
	z-index: 20;
}

.site-header-title {
	color: #202832;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.site-header-operator {
	overflow: hidden;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--operator-color, #1f5eff);
	color: #fff;
	font-size: .9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.burger {
	display: flex;
	width: 34px;
	height: 34px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-left: auto;
	padding: 6px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

.burger span {
	display: block;
	width: 16px;
	height: 2px;
	background: #202832;
}

.site-menu {
	position: fixed;
	inset: 0;
	z-index: 30;
	pointer-events: none;
}

.site-menu.open {
	pointer-events: auto;
}

.site-menu .menu-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .3);
	opacity: 0;
	transition: opacity .2s ease;
}

.site-menu.open .menu-overlay {
	opacity: 1;
}

.site-menu .menu-panel {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	width: min(280px, 85vw);
	height: 100%;
	flex-direction: column;
	gap: 4px;
	padding: 72px 20px 20px;
	box-sizing: border-box;
	background: #fff;
	box-shadow: -6px 0 20px rgba(24, 38, 53, .15);
	transform: translateX(100%);
	transition: transform .2s ease;
}

.site-menu.open .menu-panel {
	transform: translateX(0);
}

.site-menu .menu-panel a {
	padding: 12px 10px;
	border-radius: 6px;
	color: #202832;
	text-decoration: none;
}

.site-menu .menu-panel a:hover,
.site-menu .menu-panel a:focus {
	background: #f1f5ff;
	color: #1f5eff;
}

.app-tabbar {
	display: flex;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	height: 68px;
	align-items: center;
	justify-content: space-around;
	gap: 4px;
	padding: 4px 8px;
	box-sizing: border-box;
	border-top: 1px solid #d5dbe1;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 -4px 14px rgba(24, 38, 53, .1);
	z-index: 25;
}

.app-tabbar-item {
	display: flex;
	width: 20%;
	height: 58px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 4px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #68727d;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.app-tabbar-item {
	position: relative;
}

.app-tabbar-item .tabbar-icon {
	font-size: 1.25rem;
	line-height: 1.1;
}

.tabbar-badge {
	position: absolute;
	top: 2px;
	margin-left: 33px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	box-sizing: border-box;
	border-radius: 999px;
	background: #d92d20;
	color: #fff;
	font-size: .68rem;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
}

.app-tabbar-item small {
	font-size: .72rem;
	font-weight: 600;
}

.app-tabbar-item:hover,
.app-tabbar-item:focus {
	background: #f1f5ff;
	color: #1f5eff;
}

.login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 24px;
	box-sizing: border-box;
	background: #f3f5f7;
}

.login-card {
	width: min(100%, 420px);
	padding: 32px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.login-card h1 {
	margin: 0 0 24px;
	font-size: 1.5rem;
	text-align: center;
}

.login-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.login-form label {
	font-weight: 600;
}

.login-form input {
	padding: 11px 12px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	font: inherit;
}

.login-form button {
	margin-top: 10px;
	padding: 11px 12px;
	border: 0;
	border-radius: 6px;
	background: #1f5eff;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.login-message {
	padding: 11px 12px;
	border-radius: 6px;
}

.login-message-error {
	background: #fde8e8;
	color: #9b1c1c;
}

.login-message-info {
	background: #e8f1fd;
	color: #164a85;
}

.operator-page {
	max-width: 1180px;
	margin: 40px auto;
	padding: 0 24px;
}

.menu-page {
	max-width: 1180px;
	margin: 50px auto;
	/*! padding: 0 24px 48px; */
}

.menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 52px;
	padding: 24px 28px;
	border-radius: 0 0 14px 14px;
	background: #1f5eff;
	color: #fff;
	box-shadow: 0 4px 14px rgba(24, 38, 53, .16);
}

.menu-header h1,
.menu-header p {
	margin: 0;
}

.menu-header h1 {
	font-size: 1.8rem;
}

.menu-header p:last-child {
	margin-top: 5px;
	opacity: .85;
}

.menu-header-kicker {
	margin-bottom: 6px !important;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .8;
}

.menu-header .secondary-button {
	background: rgba(255, 255, 255, .18);
	white-space: nowrap;
}

.menu-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	max-width: 760px;
	margin: 0 auto;
}

.menu-action {
	display: flex;
	min-height: 150px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 24px;
	border: 1px solid #d5dbe1;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(24, 38, 53, .08);
	color: #202832;
	font-size: 1.1rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.menu-action strong {
	display: grid;
	width: 100px;
	height: 100px;
	place-items: center;
	border-radius: 50%;
	background: #e8efff;
	color: #1f5eff;
	font-size: 3.2rem;
}

.menu-action:hover,
.menu-action:focus {
	border-color: #1f5eff;
	box-shadow: 0 7px 18px rgba(31, 94, 255, .18);
	transform: translateY(-2px);
}

.cycle-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.cycle-page {
	max-width: 1180px;
}

.cycle-card {
	padding: 0;
	border: 1px solid #d5dbe1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(24, 38, 53, .08);
}

.cycle-card-open {
	display: block;
	width: 100%;
	padding: 20px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.cycle-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.cycle-card-header strong {
	margin: 0;
	font-size: 1.2rem;
}

.cycle-status {
	padding: 5px 8px;
	border-radius: 999px;
	background: #e5f6eb;
	color: #176b35;
	font-size: .8rem;
	font-weight: 700;
	white-space: nowrap;
}

.cycle-status-termine {
	background: #fff0d6;
	color: #9a5b00;
}

.cycle-filters {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: #68727d;
	font-size: .9rem;
}

.cycle-filter {
	padding: 6px 10px;
	border: 1px solid #c8ced4;
	border-radius: 999px;
	background: #fff;
	color: #68727d;
	font: inherit;
	cursor: pointer;
}

.cycle-filter.is-active,
.cycle-filter:hover,
.cycle-filter:focus {
	border-color: #1f5eff;
	background: #e8efff;
	color: #1f5eff;
}

.cycle-detail {
	margin: 0 0 14px;
	color: #5c6670;
	font-size: .9rem;
}

.cycle-details {
	display: grid;
	gap: 12px;
	margin: 0;
}

.cycle-details div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cycle-details > span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cycle-details small {
	color: #5c6670;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.cycle-card-hint {
	display: block;
	margin-top: 18px;
	color: #1f5eff;
	font-size: .9rem;
	font-weight: 700;
}

.cycle-tile-body {
	display: grid;
	grid-template-columns: minmax(90px, 1.1fr) minmax(90px, 1.5fr) minmax(120px, 1.2fr);
	align-items: center;
	gap: 12px;
	width: 100%;
}

.cycle-tile-body > span {
	min-width: 0;
}

.cycle-start-temperature,
.cycle-end-time {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cycle-start-temperature small,
.cycle-end-time small {
	color: #68727d;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.cycle-start-temperature strong {
	color: #df2e2e;
	font-size: 1.35rem;
}

.cycle-start-temperature span,
.cycle-end-time span {
	color: #68727d;
	font-size: .85rem;
}

.cycle-start-temperature .cycle-start-time {
	color: #202832;
	font-size: clamp(1.2rem, 5vw, 1.7rem);
	font-weight: 800;
	line-height: 1.1;
}

.cycle-progress-block {
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	/*! border: 1px solid #bfdfff; */
	padding: 7px 4px 14px;
	border-radius: 20px;
	/*! background: #358fff; */
	/*! color: white; */
}

.cycle-elapsed-display {
	font-size: clamp(1rem, 3vw, 1.45rem);
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
}

.cycle-progress-track {
	display: block;
	height: 5px;
	border-radius: 999px;
	background: #d9dee5;
	overflow: hidden;
	border: 1px solid #202832;
}

.cycle-progress-track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #208cec;
}

.cycle-end-time {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 8px;
	border-radius: 12px;
	background: #f1f5fa;
	text-align: center;
}

.cycle-end-time small {
	color: #68727d;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.cycle-end-time strong {
	font-size: clamp(1rem, 3vw, 1.45rem);
	white-space: nowrap;
}

.temperature-form select,
.temperature-form textarea,
.appliance-add select,
.appliance-add textarea {
	padding: 11px 12px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	font: inherit;
}

.appliance-table-wrapper {
	overflow-x: auto;
	margin: 16px 0 28px;
}

.appliance-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}

.appliance-card {
	border: 1px solid #d5dbe1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(24, 38, 53, .08);
	overflow: hidden;
}

.appliance-card--overdue {
	border-color: #d97706;
	box-shadow: 0 4px 16px rgba(217, 119, 6, .2);
}

.appliance-card--overdue .appliance-card-open {
	background: #fffaf0;
}

.appliance-card-open {
	display: flex;
	width: 100%;
	min-height: 220px;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 20px;
	border: 0;
	background: transparent;
	color: #202832;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.appliance-card-open:hover,
.appliance-card-open:focus {
	background: #f7f9ff;
	outline: 2px solid #1f5eff;
	outline-offset: -2px;
}

.appliance-card-heading {
	display: flex;
	width: 100%;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.appliance-card-heading strong {
	font-size: 1.2rem;
}

.appliance-card-heading span {
	padding: 5px 8px;
	border-radius: 999px;
	background: #e8efff;
	color: #1f5eff;
	font-size: .78rem;
	font-weight: 700;
	white-space: nowrap;
}

.appliance-description {
	color: #5c6670;
}

.appliance-reading-summary {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.appliance-last-reading {
	display: flex;
	min-width: 0;
	width: auto;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	text-align: center;
}

.appliance-last-reading small {
	color: #5c6670;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.appliance-last-reading span {
	color: #1f5eff;
	font-size: .9rem;
	font-weight: 600;
}

.appliance-last-temperature {
	margin: 4px 0;
	font-size: 2rem;
	line-height: 1.1;
	color: #1f5eff;
}

.appliance-reading-schedule {
	max-width: 45%;
	color: #1f5eff;
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: right;
}

.appliance-card-hint {
	color: #1f5eff;
	font-size: .9rem;
	font-weight: 700;
}

.appliance-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.appliance-table th,
.appliance-table td {
	padding: 12px;
	border: 1px solid #d5dbe1;
	text-align: left;
	vertical-align: top;
}

.appliance-table th {
	background: #f3f5f7;
	font-size: .85rem;
}

.appliance-add {
	margin-top: 24px;
	padding: 14px 16px;
	border: 1px solid #d5dbe1;
	border-radius: 8px;
	background: #fff;
}

.appliance-add summary {
	color: #1f5eff;
	font-weight: 700;
	cursor: pointer;
}

.appliance-add .login-form {
	margin-top: 16px;
}

.history-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.history-card {
	display: grid;
	grid-template-columns: minmax(170px, 1.1fr) minmax(120px, .7fr) minmax(240px, 1.5fr);
	gap: 18px;
	align-items: center;
	padding: 14px 18px;
	border: 1px solid #d5dbe1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(24, 38, 53, .08);
}

.history-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}

.history-card-header small,
.history-temperature small,
.history-meta small {
	color: #68727d;
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.history-card h2 {
	margin: 4px 0 0;
	font-size: 1.2rem;
}

.history-card-body {
	display: contents;
}

.history-temperature {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.history-temperature strong {
	color: #df2e2e;
	font-size: 1.8rem;
}

.history-cycle-temperature {
	display: flex;
	align-items: center;
	gap: 16px;
}

.history-cycle-temperature > span {
	display: flex;
	min-width: 86px;
	flex-direction: column;
	gap: 3px;
}

.history-cycle-temperature time {
	color: #68727d;
	font-size: .78rem;
}

.history-duration {
	display: block;
	margin-top: 8px;
	color: #202832 !important;
	font-size: .9rem !important;
}

.history-meta {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 18px;
}

.history-meta span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.history-operator-name {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--operator-color, #1f5eff);
	color: #fff;
}

.history-comment {
	grid-column: 1 / -1;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid #e6e9ed;
	color: #5c6670;
}

.cycle-details dt {
	color: #5c6670;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.cycle-details dd {
	margin: 0;
	font-weight: 600;
}

.page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.page-header h1 {
	margin: 0;
	font-size: 1.35rem;
}

.page-header h1 + p {
	margin: 4px 0 0;
}

.page-header p {
	margin: 0;
	color: #5c6670;
}

.operator-selector,
.modal-form form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.operator-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
}

.operator-card {
	display: flex;
	flex-direction: column;
	min-height: 145px;
	margin: 0;
	border: 1px solid #d5dbe1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(24, 38, 53, .08);
	overflow: hidden;
}

.operator-card-selected {
	border-color: #1f5eff;
	box-shadow: 0 0 0 2px rgba(31, 94, 255, .18);
}

.operator-card-select {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 20px;
	border: 0;
	background: transparent;
	color: #202832;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.operator-card-select strong {
	font-size: 1.15rem;
}

.operator-card-select span {
	color: #5c6670;
}

.operator-card-select small {
	margin-top: auto;
	color: #1f5eff;
	font-weight: 600;
}

.operator-color-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	border-radius: 50%;
	vertical-align: -1px;
}

.operator-card-edit {
	padding: 10px 20px;
	border-top: 1px solid #e6e9ed;
	color: #1f5eff;
	font-weight: 600;
	text-decoration: none;
}

.operator-card-edit:hover,
.operator-card-edit:focus {
	background: #f1f5ff;
}

.operator-selector select,
.modal-form input {
	padding: 11px 12px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	font: inherit;
}

.product-choice {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 8px;
	padding: 16px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
}

.product-choice legend {
	padding: 0 6px;
	font-weight: 700;
}

.product-choice select,
.product-choice input[type="text"] {
	padding: 11px 12px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	font: inherit;
}

.product-autocomplete {
	display: flex;
	gap: 8px;
}

.product-autocomplete input {
	flex: 1;
	min-width: 0;
	padding: 11px 12px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	font: inherit;
}

.cycle-start-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cycle-start-inputs > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-suggestions {
	display: flex;
	flex-direction: column;
	max-height: 220px;
	overflow-y: auto;
	margin-top: -4px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	background: #fff;
}

.product-suggestions[hidden],
.product-suggestion[hidden] {
	display: none;
}

.product-suggestion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid #e6e9ed;
	background: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.product-suggestion:last-child {
	border-bottom: 0;
}

.product-suggestion:hover,
.product-suggestion:focus {
	background: #f1f5ff;
	color: #1f5eff;
}

.product-suggestion small {
	color: #68727d;
}

.duration-control {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.duration-control input {
	flex: 1;
	min-width: 0;
	text-align: center;
}

.duration-control button {
	width: 42px;
	height: 44px;
	box-sizing: border-box;
	border: 0;
	border-radius: 6px;
	background: #1f5eff;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	cursor: pointer;
}

.operator-selector button,
.modal-form button,
.secondary-button {
	padding: 11px 14px;
	border: 0;
	border-radius: 6px;
	background: #1f5eff;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.secondary-button {
	background: #68727d;
}

.operator-message,
.operator-empty {
	padding: 12px;
	border-radius: 6px;
}

.operator-message-success {
	background: #e5f6eb;
	color: #176b35;
}

.operator-message-error {
	background: #fde8e8;
	color: #9b1c1c;
}

.operator-management-link {
	margin-top: 24px;
	text-align: right;
}

.small-button {
	display: inline-block;
	padding: 6px 9px;
	border: 1px solid #c8ced4;
	border-radius: 5px;
	background: transparent;
	color: #68727d;
	font-size: .8rem;
	text-decoration: none;
}

.small-button:hover,
.small-button:focus {
	border-color: #1f5eff;
	color: #1f5eff;
}

.appliance-edit-form select,
.appliance-edit-form textarea {
	padding: 11px 12px;
	border: 1px solid #c8ced4;
	border-radius: 6px;
	font: inherit;
}

.appliance-edit-list {
	display: grid;
	gap: 10px;
}

.appliance-edit-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px;
	border: 1px solid #d5dbe1;
	border-radius: 8px;
	background: #fff;
}

.appliance-edit-item > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.appliance-edit-item span {
	color: #68727d;
	font-size: .85rem;
}

.appliance-edit-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.appliance-edit-actions form {
	margin: 0;
}

.small-danger-button {
	padding: 6px 9px;
	border: 1px solid #e0a8a8;
	border-radius: 5px;
	background: transparent;
	color: #9b1c1c;
	font: inherit;
	font-size: .8rem;
	cursor: pointer;
}

.modal-form h2 {
	margin-top: 0;
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 10px;
}

@media (max-width: 920px) {
	.page-header {
		flex-direction: column;
	}

	.secondary-button {
		width: 100%;
	}

	.menu-header {
		align-items: stretch;
		flex-direction: column;
		margin-bottom: 32px;
	}

	.menu-actions {
		grid-template-columns: 1fr;
	}

	.cycle-grid {
		grid-template-columns: 1fr;
	}

	.history-grid {
		grid-template-columns: 1fr;
	}

	.history-card {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.history-card-body {
		display: grid;
		grid-template-columns: minmax(110px, .8fr) 1.2fr;
		gap: 16px;
	}

	.history-card-header {
		margin-bottom: 0;
	}

	.cycle-tile-body {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.cycle-start-temperature {
		grid-column: 1;
	}

	.cycle-progress-block {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.cycle-end-time {
		grid-column: 2;
		grid-row: 1;
		align-items: center;
	}
}

#modale {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.4);
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: all 1.3s ease;
	z-index: 999;
}

#modale.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

#modale-content {
	background: white;
	border-radius: 10px;
	padding: 20px;
	max-width: 90%;
	max-height: 80%;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	transform: translateY(10px) scale(0.95);
	opacity: 0;
	transition: all 1.25s ease;
	display: flex;
	flex-direction: column;
	color: #000;
}

#modale.open #modale-content {
	transform: translateY(50) scale(1);
	opacity: 1;
}

#modale-content > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    color: #000;
}

.new-cycle-frame {
	width: min(680px, 80vw);
	height: min(620px, 78vh);
	border: 0;
	background: #fff;
}

#modale-content .title {
	display: flex;
	flex: 1;
	justify-content: center;
	height: 30px;
	font-weight: bold;
}

#modale-content li:last-child {
	border-bottom: none;
}
