body.mklp-standalone-page {
	min-height: 100vh;
	margin: 0;
	background: #fff;
}

.mklp-standalone-main {
	width: 100%;
	min-height: 100vh;
	margin: 0;
}

.mklp {
	--mklp-blue: #123f70;
	--mklp-blue-dark: #0a2b4d;
	--mklp-sky: #eaf3fb;
	--mklp-ink: #152231;
	--mklp-muted: #5f6c78;
	--mklp-line: #dce4eb;
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 72px) clamp(16px, 4vw, 40px);
	color: var(--mklp-ink);
	font-family: inherit;
}

.mklp *,
.mklp *::before,
.mklp *::after {
	box-sizing: inherit;
}

.mklp__session {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 24px;
	color: var(--mklp-muted);
	font-size: 0.88rem;
}

.mklp__session a {
	color: var(--mklp-blue);
	font-weight: 700;
}

.mklp__hero {
	max-width: 780px;
	margin-bottom: clamp(28px, 5vw, 52px);
}

.mklp__eyebrow {
	margin: 0 0 10px;
	color: var(--mklp-blue);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mklp__title {
	margin: 0;
	color: var(--mklp-blue-dark);
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	font-weight: 780;
	letter-spacing: -0.025em;
	line-height: 1.1;
	text-wrap: balance;
}

.mklp__intro {
	max-width: 680px;
	margin-top: 20px;
	color: var(--mklp-muted);
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	line-height: 1.65;
}

.mklp__intro > * {
	margin-top: 0;
}

.mklp__intro > *:last-child {
	margin-bottom: 0;
}

.mklp__cloud-access {
	display: grid;
	max-width: 720px;
	padding: clamp(26px, 5vw, 44px);
	border: 1px solid var(--mklp-line);
	border-radius: 20px;
	place-items: center;
	background: linear-gradient(145deg, #f8fbfe, var(--mklp-sky));
	box-shadow: 0 14px 42px rgba(20, 46, 72, 0.09);
	text-align: center;
}

.mklp__cloud-button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 25px;
	border-radius: 11px;
	background: var(--mklp-blue);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 750;
	text-decoration: none !important;
	transition: background-color 180ms ease, transform 180ms ease;
}

.mklp__cloud-button:hover,
.mklp__cloud-button:focus-visible {
	background: var(--mklp-blue-dark);
	transform: translateY(-2px);
}

.mklp__cloud-button:focus-visible {
	outline: 3px solid rgba(18, 63, 112, 0.35);
	outline-offset: 4px;
}

.mklp__cloud-button svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
}

.mklp__cloud-access p {
	margin: 18px 0 0;
	color: var(--mklp-muted);
	font-size: 0.94rem;
}

.mklp-portal {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 24px);
}

.mklp-portal__card {
	position: relative;
	display: flex;
	min-height: 210px;
	flex-direction: column;
	padding: clamp(24px, 3.5vw, 34px);
	border: 1px solid var(--mklp-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 9px 30px rgba(20, 46, 72, 0.07);
	color: inherit !important;
	text-decoration: none !important;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a.mklp-portal__card:hover,
a.mklp-portal__card:focus-visible {
	border-color: rgba(18, 63, 112, 0.45);
	box-shadow: 0 17px 40px rgba(20, 46, 72, 0.13);
	transform: translateY(-3px);
}

a.mklp-portal__card:focus-visible {
	outline: 3px solid rgba(18, 63, 112, 0.32);
	outline-offset: 3px;
}

.mklp-portal__title {
	color: var(--mklp-blue-dark);
	font-size: clamp(1.25rem, 2.4vw, 1.55rem);
	font-weight: 780;
	line-height: 1.2;
}

.mklp-portal__text {
	margin-top: 12px;
	color: var(--mklp-muted);
	line-height: 1.55;
}

.mklp-portal__action {
	margin-top: auto;
	padding-top: 26px;
	color: var(--mklp-blue);
	font-size: 0.94rem;
	font-weight: 750;
}

.mklp-portal__card--disabled {
	background: #f6f8fa;
	box-shadow: none;
	opacity: 0.78;
}

.mklp-portal__badge {
	align-self: flex-start;
	margin-bottom: 14px;
	padding: 5px 9px;
	border-radius: 999px;
	background: #e5e9ed;
	color: #53606c;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mklp-tool__nav {
	margin-bottom: 28px;
}

.mklp-tool__nav a {
	color: var(--mklp-blue);
	font-weight: 700;
	text-decoration: none;
}

.mklp__hero--compact {
	margin-bottom: 30px;
}

.mklp-notice {
	margin: 0 0 24px;
	padding: 13px 16px;
	border-left: 4px solid #b32d2e;
	border-radius: 7px;
	background: #fcf0f1;
	color: #812525;
}

.mklp-notice--success {
	border-left-color: #16823d;
	background: #eff9f2;
	color: #11632f;
}

.mklp-create,
.mklp-vote-form,
.mklp-results,
.mklp-poll-description {
	margin-bottom: 26px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(20, 46, 72, 0.06);
}

.mklp-create > summary {
	padding: 20px 22px;
	color: var(--mklp-blue-dark);
	cursor: pointer;
	font-weight: 750;
}

.mklp-create[open] > summary {
	border-bottom: 1px solid var(--mklp-line);
}

.mklp-poll-form,
.mklp-vote-form,
.mklp-results,
.mklp-poll-description {
	padding: clamp(20px, 4vw, 30px);
}

.mklp-poll-form {
	display: grid;
	gap: 20px;
	margin: 0;
	border: 0;
	box-shadow: none;
}

.mklp-poll-form > label,
.mklp-slot-builder {
	display: grid;
	gap: 8px;
}

.mklp-poll-form label > span,
.mklp-slot-builder legend {
	color: var(--mklp-blue-dark);
	font-size: 0.9rem;
	font-weight: 720;
}

.mklp-poll-form input[type="text"],
.mklp-poll-form input[type="url"],
.mklp-poll-form input[type="datetime-local"],
.mklp-poll-form select,
.mklp-poll-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--mklp-line);
	border-radius: 9px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
}

.mklp-poll-wizard__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 6px;
	border-radius: 13px;
	background: #eef2f6;
}

.mklp-poll-wizard__steps button {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 9px;
	background: transparent;
	color: var(--mklp-muted);
	cursor: pointer;
	font: inherit;
	font-weight: 720;
}

.mklp-poll-wizard__steps button span {
	display: grid;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	place-items: center;
	background: #dce3e9;
	font-size: 0.76rem;
}

.mklp-poll-wizard__steps button.is-active {
	border-color: var(--mklp-line);
	background: #fff;
	box-shadow: 0 3px 12px rgba(20, 46, 72, 0.08);
	color: var(--mklp-blue-dark);
}

.mklp-poll-wizard__steps button.is-active span {
	background: var(--mklp-blue);
	color: #fff;
}

.mklp-poll-wizard__panel {
	display: grid;
	gap: 20px;
}

.mklp-poll-wizard__panel[hidden],
.mklp-poll-result-view[hidden],
[data-mklp-location-field][hidden],
[data-mklp-online-field][hidden] {
	display: none !important;
}

.mklp-poll-wizard__panel > label,
.mklp-poll-type-grid label,
.mklp-vote-comment,
.mklp-poll-finalize {
	display: grid;
	gap: 8px;
}

.mklp-poll-type-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.mklp-poll-wizard__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.mklp-poll-participants h3,
.mklp-poll-participants p {
	margin: 0 0 8px;
}

.mklp-poll-participant-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	margin-top: 16px;
}

.mklp-poll-participant-grid label {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 12px;
	border: 1px solid var(--mklp-line);
	border-radius: 9px;
	background: #f8fafb;
	font-weight: 650;
}

.mklp-poll-wizard__review {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 17px;
	border-left: 4px solid var(--mklp-blue);
	border-radius: 9px;
	background: var(--mklp-sky);
	color: var(--mklp-muted);
}

.mklp-poll-wizard__review strong {
	color: var(--mklp-blue-dark);
}

.mklp-poll-form textarea {
	resize: vertical;
}

.mklp-slot-builder {
	margin: 0;
	padding: 18px;
	border: 1px solid var(--mklp-line);
	border-radius: 12px;
}

.mklp-slot-builder > p {
	margin: 0 0 8px;
	color: var(--mklp-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.mklp-calendar-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
	gap: 18px;
	align-items: start;
}

.mklp-calendar,
.mklp-time-menu {
	border: 1px solid var(--mklp-line);
	border-radius: 13px;
	background: #fff;
}

.mklp-calendar {
	padding: 16px;
}

.mklp-calendar__header {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	text-align: center;
}

.mklp-calendar__header strong {
	color: var(--mklp-blue-dark);
	font-size: 1.05rem;
	text-transform: capitalize;
}

.mklp-calendar__header button {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--mklp-line);
	border-radius: 9px;
	place-items: center;
	background: #fff;
	color: var(--mklp-blue);
	cursor: pointer;
	font: inherit;
	font-weight: 800;
}

.mklp-calendar__header button:hover:not(:disabled),
.mklp-calendar__header button:focus-visible {
	border-color: var(--mklp-blue);
	background: var(--mklp-sky);
}

.mklp-calendar__header button:disabled {
	cursor: not-allowed;
	opacity: 0.32;
}

.mklp-calendar__weekdays,
.mklp-calendar__days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}

.mklp-calendar__weekdays {
	margin-bottom: 6px;
	color: var(--mklp-muted);
	font-size: 0.76rem;
	font-weight: 750;
	text-align: center;
}

.mklp-calendar__weekdays span {
	padding: 5px 0;
}

.mklp-calendar__day,
.mklp-calendar__empty-day {
	min-width: 0;
	min-height: 66px;
}

.mklp-calendar__day {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 9px;
	border: 1px solid transparent;
	border-radius: 9px;
	background: #f6f8fa;
	color: var(--mklp-blue-dark);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.mklp-calendar__day:hover:not(:disabled),
.mklp-calendar__day:focus-visible {
	border-color: rgba(18, 63, 112, 0.55);
	background: var(--mklp-sky);
	outline: 0;
}

.mklp-calendar__day:disabled {
	background: #fafbfc;
	color: #adb5bc;
	cursor: not-allowed;
}

.mklp-calendar__day--selected {
	border-color: rgba(18, 63, 112, 0.45);
	background: #e8f2fb;
}

.mklp-calendar__day--active {
	border-color: var(--mklp-blue);
	box-shadow: 0 0 0 2px rgba(18, 63, 112, 0.15);
}

.mklp-calendar__day small {
	display: grid;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	border-radius: 999px;
	place-items: center;
	background: var(--mklp-blue);
	color: #fff;
	font-size: 0.7rem;
	line-height: 1;
}

.mklp-time-menu {
	padding: 20px;
	box-shadow: 0 9px 26px rgba(20, 46, 72, 0.08);
}

.mklp-time-menu[hidden] {
	display: none;
}

.mklp-time-menu__eyebrow {
	margin: 0 0 5px;
	color: var(--mklp-blue);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mklp-time-menu h4 {
	margin: 0 0 17px;
	color: var(--mklp-blue-dark);
	font-size: 1.02rem;
	line-height: 1.35;
	text-transform: capitalize;
}

.mklp-time-row {
	display: grid;
	grid-template-columns: minmax(82px, 1fr) auto minmax(82px, 1fr) 40px;
	align-items: center;
	gap: 8px;
	margin-bottom: 9px;
}

.mklp-time-row__separator {
	color: var(--mklp-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.mklp-time-row input {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--mklp-line);
	border-radius: 8px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
}

.mklp-time-row input:focus {
	border-color: var(--mklp-blue);
	box-shadow: 0 0 0 3px rgba(18, 63, 112, 0.12);
	outline: 0;
}

.mklp-time-row__remove {
	border: 1px solid var(--mklp-line);
	border-radius: 8px;
	background: #fff;
	color: #a12a2a;
	cursor: pointer;
	font-size: 1.25rem;
}

.mklp-time-menu .mklp-secondary-button {
	width: 100%;
	margin-top: 4px;
}

.mklp-link-danger {
	width: 100%;
	margin-top: 12px;
	padding: 5px;
	border: 0;
	background: transparent;
	color: #a12a2a;
	cursor: pointer;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
}

.mklp-calendar-error {
	margin: 12px 0 0 !important;
	padding: 10px 12px;
	border-left: 4px solid #b32d2e;
	border-radius: 6px;
	background: #fcf0f1;
	color: #842627 !important;
	font-size: 0.88rem !important;
}

.mklp-slot-input {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px;
	gap: 8px;
	margin-bottom: 9px;
}

.mklp-slot-input button {
	border: 1px solid var(--mklp-line);
	border-radius: 8px;
	background: #fff;
	color: #a12a2a;
	cursor: pointer;
	font-size: 1.3rem;
}

.mklp-slot-input button:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.mklp-primary-button,
.mklp-secondary-button,
.mklp-danger-button {
	min-height: 44px;
	padding: 10px 17px;
	border-radius: 9px;
	cursor: pointer;
	font: inherit;
	font-weight: 720;
}

.mklp-primary-button {
	justify-self: start;
	border: 1px solid var(--mklp-blue);
	background: var(--mklp-blue);
	color: #fff;
}

.mklp-secondary-button {
	justify-self: start;
	border: 1px solid var(--mklp-blue);
	background: #fff;
	color: var(--mklp-blue);
}

.mklp-danger-button {
	border: 1px solid #b32d2e;
	background: #fff;
	color: #a52526;
}

.mklp-poll-list {
	display: grid;
	gap: 13px;
}

.mklp-poll-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 20px 22px;
	border: 1px solid var(--mklp-line);
	border-radius: 13px;
	background: #fff;
}

.mklp-poll-card:hover,
.mklp-poll-card:focus-visible {
	border-color: rgba(18, 63, 112, 0.45);
}

.mklp-poll-card__link {
	display: grid;
	min-width: 0;
	gap: 8px;
	color: var(--mklp-muted) !important;
	text-decoration: none !important;
}

.mklp-poll-card__duplicate {
	white-space: nowrap;
}

.mklp-poll-card__head,
.mklp-poll-meta,
.mklp-poll-manage {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mklp-poll-card strong {
	color: var(--mklp-blue-dark);
	font-size: 1.08rem;
}

.mklp-status {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e7eaed;
	color: #58636d;
	font-size: 0.76rem;
	font-weight: 750;
}

.mklp-status--open {
	background: #e6f5eb;
	color: #176538;
}

.mklp-poll-meta {
	justify-content: flex-start;
	margin-bottom: 20px;
	color: var(--mklp-muted);
	font-size: 0.9rem;
}

.mklp-poll-description {
	color: var(--mklp-muted);
	line-height: 1.6;
}

.mklp-poll-link {
	margin: -8px 0 20px;
}

.mklp-poll-final {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
	padding: 18px 20px;
	border: 1px solid #b9dbc6;
	border-radius: 13px;
	background: #eef9f1;
}

.mklp-poll-final div {
	display: grid;
	gap: 3px;
}

.mklp-poll-final span {
	color: #176538;
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mklp-poll-final strong {
	color: var(--mklp-blue-dark);
	font-size: 1.08rem;
}

.mklp-poll-description > *:first-child {
	margin-top: 0;
}

.mklp-poll-description > *:last-child {
	margin-bottom: 0;
}

.mklp-poll-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 18px;
	padding: 6px;
	border: 1px solid var(--mklp-line);
	border-radius: 14px;
	background: #eef2f6;
}

.mklp-poll-tabs__tab {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 10px;
	color: var(--mklp-muted);
	font-weight: 750;
	text-align: center;
	text-decoration: none !important;
}

.mklp-poll-tabs__tab small {
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(18, 63, 112, 0.08);
	font-size: 0.7rem;
	font-weight: 750;
}

.mklp-poll-tabs__tab.is-active {
	border-color: var(--mklp-line);
	background: #fff;
	box-shadow: 0 3px 12px rgba(20, 46, 72, 0.08);
	color: var(--mklp-blue-dark);
}

.mklp-poll-tabs__tab:focus-visible {
	outline: 3px solid rgba(18, 63, 112, 0.3);
	outline-offset: 2px;
}

.mklp-poll-panel[hidden] {
	display: none !important;
}

.mklp-poll-panel__closed {
	margin-bottom: 26px;
	padding: 24px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(20, 46, 72, 0.06);
	color: var(--mklp-muted);
}

.mklp-poll-panel__closed strong {
	color: var(--mklp-blue-dark);
}

.mklp-poll-panel__closed p {
	margin: 8px 0 0;
}

.mklp-vote-form h3,
.mklp-results h3 {
	margin: 0 0 20px;
	color: var(--mklp-blue-dark);
	font-size: 1.12rem;
}

.mklp-results__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.mklp-results__heading h3 {
	margin: 0;
}

.mklp-results__heading p {
	margin: 0;
	color: var(--mklp-muted);
	font-size: 0.78rem;
}

.mklp-vote-options {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.mklp-vote-comment {
	margin-bottom: 18px;
}

.mklp-vote-comment textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--mklp-line);
	border-radius: 9px;
	font: inherit;
	resize: vertical;
}

.mklp-vote-options fieldset {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--mklp-line);
	border-radius: 10px;
}

.mklp-vote-options legend {
	padding: 0 7px;
	color: var(--mklp-blue-dark);
	font-weight: 700;
}

.mklp-vote-options label {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px;
	border-radius: 8px;
	background: #f6f8fa;
}

.mklp-results__scroll {
	overflow-x: auto;
}

.mklp-poll-view-switch {
	display: inline-flex;
	gap: 4px;
	margin-bottom: 18px;
	padding: 4px;
	border-radius: 10px;
	background: #eef2f6;
}

.mklp-poll-view-switch button {
	padding: 8px 12px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--mklp-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 720;
}

.mklp-poll-view-switch button.is-active {
	background: #fff;
	box-shadow: 0 2px 8px rgba(20, 46, 72, 0.09);
	color: var(--mklp-blue-dark);
}

.mklp-results__comment {
	display: block;
	max-width: 220px;
	margin-top: 4px;
	color: var(--mklp-muted);
	font-size: 0.72rem;
	font-weight: 500;
	white-space: normal;
}

.mklp-poll-calendar-view {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mklp-poll-calendar-view article {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	padding: 15px;
	border: 1px solid var(--mklp-line);
	border-radius: 11px;
	background: #fff;
}

.mklp-poll-calendar-view article.is-recommended {
	border-color: #75b842;
	background: #f4faee;
}

.mklp-poll-calendar-view article > div:first-child {
	display: grid;
	align-content: start;
	text-align: center;
}

.mklp-poll-calendar-view article > div:first-child span,
.mklp-poll-calendar-view article > div:first-child small {
	color: var(--mklp-muted);
	font-size: 0.7rem;
}

.mklp-poll-calendar-view article > div:first-child strong {
	color: var(--mklp-blue-dark);
	font-size: 1.8rem;
}

.mklp-poll-calendar-view dl {
	display: grid;
	gap: 3px;
	margin: 0;
}

.mklp-poll-calendar-view dl div {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.mklp-poll-calendar-view dt,
.mklp-poll-calendar-view dd {
	margin: 0;
	font-size: 0.78rem;
}

.mklp-poll-calendar-view article > b {
	position: absolute;
	top: 8px;
	right: 8px;
	color: #176538;
	font-size: 0.66rem;
}

.mklp-results table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
}

.mklp-results th,
.mklp-results td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--mklp-line);
	text-align: center;
	vertical-align: middle;
}

.mklp-results th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	min-width: 170px;
	text-align: left;
	background: #fff;
	box-shadow: 1px 0 0 var(--mklp-line);
}

.mklp-results tbody th,
.mklp-results tfoot th {
	color: var(--mklp-blue-dark);
}

.mklp-results thead th:not(:first-child) {
	min-width: 112px;
	padding: 12px 8px;
}

.mklp-results__month,
.mklp-results__weekday,
.mklp-results__time {
	display: block;
	color: var(--mklp-muted);
	font-size: 0.76rem;
	font-weight: 650;
	line-height: 1.25;
}

.mklp-results__day {
	display: block;
	margin: 2px 0;
	color: var(--mklp-blue-dark);
	font-size: 1.55rem;
	line-height: 1;
}

.mklp-results__time {
	margin-top: 5px;
}

.mklp-results__best-label {
	display: block;
	margin-top: 7px;
	color: #176538;
	font-size: 0.68rem;
	font-weight: 750;
}

.mklp-results__best-column {
	background: #eaf7df;
}

.mklp-results thead .mklp-results__best-column {
	box-shadow: inset 0 4px 0 #75b842;
}

.mklp-results tfoot th,
.mklp-results tfoot td {
	background: #f7f9fb;
	font-size: 0.86rem;
	font-weight: 700;
}

.mklp-results tfoot .mklp-results__best-column {
	background: #eaf7df;
}

.mklp-choice {
	display: inline-grid;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	place-items: center;
	background: #e7eaed;
	color: #59636d;
	font-weight: 800;
}

.mklp-choice--yes {
	background: #dff2e5;
	color: #146334;
}

.mklp-choice--maybe {
	background: #fff0c9;
	color: #835e00;
}

.mklp-choice--no {
	background: #f8e2e2;
	color: #922c2d;
}

.mklp-poll-manage {
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-top: 22px;
}

.mklp-poll-finalize {
	min-width: min(100%, 320px);
	margin-right: auto;
}

.mklp-poll-finalize select {
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--mklp-line);
	border-radius: 9px;
	background: #fff;
	font: inherit;
}

.mklp__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 26px);
}

.mklp__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	color: var(--mklp-muted);
	text-align: center;
}

.mklp-card {
	min-width: 0;
	border: 1px solid var(--mklp-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(20, 46, 72, 0.07);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mklp-card:hover,
.mklp-card:focus-within {
	border-color: rgba(18, 63, 112, 0.42);
	box-shadow: 0 18px 42px rgba(20, 46, 72, 0.13);
	transform: translateY(-3px);
}

.mklp-card__link {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none !important;
}

.mklp-card__link:focus-visible {
	border-radius: 17px;
	outline: 3px solid rgba(18, 63, 112, 0.4);
	outline-offset: -3px;
}

.mklp-card__logo {
	position: relative;
	display: grid;
	min-height: 170px;
	padding: 30px;
	place-items: center;
	background:
		radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.94), transparent 42%),
		var(--mklp-sky);
}

.mklp-card__logo::after {
	position: absolute;
	right: 16px;
	bottom: 14px;
	width: 28px;
	height: 4px;
	border-radius: 2px;
	background: var(--mklp-blue);
	content: "";
	opacity: 0.22;
}

.mklp-card__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 108px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.mklp-card__fallback {
	display: grid;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	place-items: center;
	background: var(--mklp-blue);
	box-shadow: 0 12px 25px rgba(10, 43, 77, 0.2);
	color: #fff;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.mklp-card__fallback[hidden] {
	display: none;
}

.mklp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.mklp-card__name {
	margin: 0;
	color: var(--mklp-blue-dark);
	font-size: 1.2rem;
	font-weight: 760;
	line-height: 1.25;
}

.mklp-card__full-name {
	margin: 9px 0 0;
	color: var(--mklp-muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.mklp-card__action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 24px;
	color: var(--mklp-blue);
	font-size: 0.92rem;
	font-weight: 750;
}

.mklp-card__action svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
	transition: transform 180ms ease;
}

.mklp-card:hover .mklp-card__action svg {
	transform: translateX(3px);
}

.mklp-login {
	display: grid;
	min-height: min(680px, 72vh);
	place-items: center;
}

.mklp-login__card {
	width: min(100%, 480px);
	padding: clamp(28px, 6vw, 48px);
	border: 1px solid var(--mklp-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(20, 46, 72, 0.12);
}

.mklp-login__title {
	margin: 0;
	color: var(--mklp-blue-dark);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	line-height: 1.2;
}

.mklp-login__intro {
	margin: 14px 0 26px;
	color: var(--mklp-muted);
	line-height: 1.6;
}

.mklp-login__message {
	margin-bottom: 20px;
	padding: 12px 14px;
	border-left: 4px solid #b32d2e;
	border-radius: 6px;
	background: #fcf0f1;
	color: #8a2424;
	font-size: 0.92rem;
	line-height: 1.45;
}

.mklp-login__message--success {
	border-left-color: #008a20;
	background: #edfaef;
	color: #006b19;
}

.mklp-login__form {
	display: grid;
	gap: 18px;
}

.mklp-login__form label {
	display: grid;
	gap: 7px;
	color: var(--mklp-blue-dark);
	font-size: 0.9rem;
	font-weight: 700;
}

.mklp-login__form input {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 13px;
	border: 1px solid var(--mklp-line);
	border-radius: 10px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
	font-weight: 500;
}

.mklp-login__form input:focus {
	border-color: var(--mklp-blue);
	box-shadow: 0 0 0 3px rgba(18, 63, 112, 0.14);
	outline: 0;
}

.mklp-login__form button {
	min-height: 48px;
	margin-top: 4px;
	padding: 11px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--mklp-blue);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 750;
}

.mklp-login__form button:hover,
.mklp-login__form button:focus-visible {
	background: var(--mklp-blue-dark);
}

.mklp-login__secondary {
	margin: 20px 0 0;
	text-align: center;
}

.mklp-login__secondary a {
	color: var(--mklp-blue);
	font-size: 0.92rem;
	font-weight: 700;
}

.mklp-login__form button:focus-visible {
	outline: 3px solid rgba(18, 63, 112, 0.35);
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.mklp__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mklp-calendar-shell {
		grid-template-columns: 1fr;
	}

	.mklp-poll-type-grid,
	.mklp-poll-participant-grid,
	.mklp-poll-calendar-view {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mklp-case-dashboard { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.mklp-case-filters form { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
	.mklp__session {
		align-items: flex-start;
		flex-direction: column;
	}

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

	.mklp-portal {
		grid-template-columns: 1fr;
	}

	.mklp-portal__card {
		min-height: 180px;
	}

	.mklp-vote-options fieldset {
		grid-template-columns: 1fr;
	}

	.mklp-poll-tabs__tab {
		flex-direction: column;
		gap: 4px;
		padding: 9px 7px;
		font-size: 0.88rem;
	}

	.mklp-results__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.mklp-calendar {
		padding: 11px;
	}

	.mklp-calendar__weekdays,
	.mklp-calendar__days {
		gap: 3px;
	}

	.mklp-calendar__day,
	.mklp-calendar__empty-day {
		min-height: 48px;
	}

	.mklp-calendar__day {
		padding: 6px;
		font-size: 0.82rem;
	}

	.mklp-calendar__day small {
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		font-size: 0.62rem;
	}

	.mklp-poll-card__head,
	.mklp-poll-meta,
	.mklp-poll-manage {
		align-items: flex-start;
		flex-direction: column;
	}

	.mklp-poll-wizard__steps button {
		flex-direction: column;
		gap: 4px;
		padding: 7px 4px;
		font-size: 0.72rem;
	}

	.mklp-poll-type-grid,
	.mklp-poll-participant-grid,
	.mklp-poll-calendar-view,
	.mklp-poll-card {
		grid-template-columns: 1fr;
	}

	.mklp-poll-wizard__review,
	.mklp-poll-final {
		align-items: flex-start;
		flex-direction: column;
	}

	.mklp-poll-wizard__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.mklp-poll-wizard__actions button,
	.mklp-poll-card__duplicate,
	.mklp-poll-final .mklp-primary-button {
		width: 100%;
		justify-self: stretch;
		text-align: center;
	}

	.mklp-time-row {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 38px;
	}

	.mklp-case-dashboard,.mklp-case-filters form,.mklp-case-inline-form,.mklp-case-close-assistant form { grid-template-columns: 1fr; }
	.mklp-case-steps { grid-template-columns: 1fr; }
	.mklp-case-steps button { display: none; }
	.mklp-case-steps button.is-active { display: block; }
	.mklp-case-workspace__head,.mklp-case-task-list article,.mklp-case-file-list article,.mklp-case-version-list article,.mklp-case-share-list article { align-items: stretch; flex-direction: column; }
	.mklp-case-workspace__head > div:last-child,.mklp-case-upload,.mklp-case-task-list article form,.mklp-case-file-list article > div:last-child { align-items: stretch; flex-direction: column; }
	.mklp-case-timeline article { grid-template-columns: 1fr; gap: 5px; }
	.mklp-case-completion { grid-template-columns: 1fr auto; }
	.mklp-case-completion > div { grid-column: 1/-1; grid-row: 2; }

	.mklp-card__link {
		display: grid;
		grid-template-columns: 118px minmax(0, 1fr);
	}

	.mklp-card__logo {
		min-height: 160px;
		padding: 18px;
	}

	.mklp-card__logo img {
		max-height: 82px;
	}

	.mklp-card__fallback {
		width: 72px;
		height: 72px;
		font-size: 1.1rem;
	}

	.mklp-card__body {
		padding: 21px 18px;
	}
}

.mklp-pdf-toolbox {
	margin-top: 20px;
	padding: 24px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(18, 63, 112, .07);
}

.mklp-pdf-toolbox > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.mklp-pdf-toolbox > header h3 {
	margin: 4px 0 8px;
	color: var(--mklp-blue-dark);
	font-size: 1.35rem;
}

.mklp-pdf-toolbox > header p:not(.mklp__eyebrow) {
	max-width: 760px;
	margin: 0;
	color: var(--mklp-muted);
	line-height: 1.55;
}

.mklp-pdf-private-badge {
	flex: 0 0 auto;
	padding: 7px 11px;
	border-radius: 999px;
	background: #e6f5ec;
	color: #176538;
	font-size: .76rem;
	font-weight: 800;
}

.mklp-pdf-tabs {
	display: flex;
	gap: 5px;
	margin-bottom: 18px;
	padding: 5px;
	border-radius: 11px;
	background: #edf3f7;
	overflow-x: auto;
}

.mklp-pdf-tabs button {
	flex: 1 0 auto;
	min-height: 40px;
	padding: 8px 13px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--mklp-muted);
	font: inherit;
	font-size: .83rem;
	font-weight: 800;
	cursor: pointer;
}

.mklp-pdf-tabs button.is-active {
	background: #fff;
	color: var(--mklp-blue-dark);
	box-shadow: 0 2px 9px rgba(18, 63, 112, .11);
}

.mklp-pdf-tool-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.mklp-pdf-tool-card {
	min-width: 0;
	padding: 0;
	border: 1px solid #dbe5ed;
	border-radius: 12px;
	background: #f9fbfc;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mklp-pdf-tool-card:hover {
	border-color: #b8cada;
	box-shadow: 0 10px 24px rgba(18, 63, 112, .08);
	transform: translateY(-1px);
}

.mklp-pdf-tool-card[open] {
	grid-column: 1 / -1;
	background: #fff;
	box-shadow: 0 12px 28px rgba(18, 63, 112, .1);
	transform: none;
}

.mklp-pdf-tool-card__heading,
.mklp-pdf-protection__title {
	display: flex;
	align-items: center;
	gap: 13px;
}

.mklp-pdf-tool-card__heading {
	min-height: 112px;
	box-sizing: border-box;
	padding: 18px;
	cursor: pointer;
	list-style: none;
}

.mklp-pdf-tool-card__heading::-webkit-details-marker { display: none; }

.mklp-pdf-tool-card__heading:focus-visible {
	outline: 3px solid rgba(18, 77, 132, .24);
	outline-offset: -3px;
}

.mklp-pdf-tool-card__heading > div,
.mklp-pdf-protection__title > div {
	min-width: 0;
}

.mklp-pdf-tool-card__heading > div { flex: 1 1 auto; }

.mklp-pdf-tool-card__chevron {
	flex: 0 0 9px;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--mklp-blue-dark);
	border-bottom: 2px solid var(--mklp-blue-dark);
	transform: rotate(45deg);
	transition: transform .18s ease;
}

.mklp-pdf-tool-card[open] .mklp-pdf-tool-card__chevron { transform: rotate(225deg); }

.mklp-pdf-tool-card__body {
	padding: 0 18px 18px;
	border-top: 1px solid #e3eaf0;
}

.mklp-pdf-tool-card__body > form,
.mklp-pdf-tool-card__body > .mklp-pdf-tool-requirement,
.mklp-pdf-tool-card__body > .mklp-notice {
	margin-top: 18px;
}

.mklp-pdf-tool-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border: 1px solid #c6d8e7;
	border-radius: 14px;
	background: linear-gradient(145deg, #eef6fb, #dcebf5);
	color: var(--mklp-blue-dark);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.mklp-pdf-tool-icon svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mklp-pdf-tool-card h4 {
	margin: 0 0 5px;
	color: var(--mklp-blue-dark);
	font-size: 1rem;
}

.mklp-pdf-tool-card__heading p {
	margin: 0;
	color: var(--mklp-muted);
	font-size: .82rem;
	line-height: 1.5;
}

.mklp-pdf-tool-card form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px;
	margin: 0;
}

.mklp-pdf-tool-card form > button,
.mklp-pdf-tool-card form > .mklp-pdf-tool-status { grid-column: 1 / -1; }

.mklp-pdf-tool-card form label {
	display: grid;
	gap: 5px;
	color: var(--mklp-ink);
	font-size: .8rem;
	font-weight: 750;
}

.mklp-pdf-tool-card input[type="file"],
.mklp-pdf-tool-card input[type="text"],
.mklp-pdf-tool-card input[type="password"],
.mklp-pdf-tool-card input[type="number"],
.mklp-pdf-tool-card select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #b9c8d4;
	border-radius: 8px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
}

.mklp-pdf-tool-card input[type="file"] { padding: 6px; }
.mklp-pdf-tool-card input[type="range"] { width: 100%; }
.mklp-pdf-tool-card small { color: var(--mklp-muted); font-size: .72rem; font-weight: 500; }
.mklp-pdf-tool-card .mklp-primary-button { justify-content: center; justify-self: start; }
.mklp-pdf-tool-card.is-unavailable { background: #f6f7f8; opacity: .84; }

.mklp-pdf-tool-requirement {
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff0e7;
	color: #83501f;
	font-size: .78rem;
	font-weight: 700;
}

.mklp-pdf-tool-status {
	margin: 0;
	padding: 9px 11px;
	border-radius: 8px;
	background: #e6f5ec;
	color: #176538;
	font-size: .78rem;
	font-weight: 700;
}

.mklp-pdf-tool-status.is-error { background: #fdecec; color: #922828; }

@media (max-width: 800px) {
	.mklp-pdf-toolbox > header { flex-direction: column; }
	.mklp-pdf-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.mklp-pdf-toolbox { padding: 16px; }
	.mklp-pdf-tabs { margin-right: -4px; margin-left: -4px; }
	.mklp-pdf-tool-grid { grid-template-columns: 1fr; }
	.mklp-pdf-tool-card form { grid-template-columns: 1fr; }
	.mklp-pdf-tool-card form > * { grid-column: 1 !important; }
	.mklp-pdf-tool-card .mklp-primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.mklp-card,
	.mklp-card__action svg,
	.mklp__cloud-button,
	.mklp-portal__card,
	.mklp-pdf-tool-card,
	.mklp-pdf-tool-card__chevron,
	.mklp-calendar__day {
		transition: none;
	}

	.mklp-pdf-tool-card:hover { transform: none; }
}

.mklp-portal__card--management {
	border-color: #c9b06d;
	background: linear-gradient(145deg, #fffdf6, #f7f0dc);
}

.mklp-dashboard__hero {
	max-width: 900px;
	margin-bottom: 24px;
}

.mklp-dashboard__hero .mklp__title {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.mklp-dashboard__group + .mklp-dashboard__group {
	margin-top: 42px;
}

.mklp-dashboard__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 15px;
}

.mklp-dashboard__heading .mklp__eyebrow { margin-bottom: 5px; }

.mklp-dashboard__heading h3 {
	margin: 0;
	color: var(--mklp-blue-dark);
	font-size: clamp(1.2rem, 2vw, 1.48rem);
	line-height: 1.2;
}

.mklp-portal--consulting {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mklp-portal--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mklp-dashboard__group .mklp-portal__card {
	min-height: 178px;
	padding: 22px;
	border-radius: 15px;
}

.mklp-dashboard__group .mklp-portal__card--featured {
	grid-column: 1 / -1;
	min-height: 205px;
	border-color: #b8d0e3;
	background: linear-gradient(135deg, #f7fbfe 0%, #e7f2fa 100%);
}

.mklp-portal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border: 1px solid #c9dae7;
	border-radius: 13px;
	background: #edf5fa;
	color: var(--mklp-blue);
}

.mklp-portal__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mklp-dashboard__group .mklp-portal__title {
	font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.mklp-dashboard__group .mklp-portal__text {
	margin-top: 7px;
	font-size: .9rem;
	line-height: 1.45;
}

.mklp-portal__meta {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 12px;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(18, 63, 112, .08);
	color: var(--mklp-blue-dark);
	font-size: .72rem;
	font-weight: 750;
}

.mklp-dashboard__group .mklp-portal__action {
	padding-top: 18px;
	font-size: .84rem;
}

.mklp-portal__external {
	position: absolute;
	top: 18px;
	right: 18px;
	color: var(--mklp-muted);
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .02em;
}

.mklp-dashboard__group .mklp-portal__badge {
	position: absolute;
	top: 18px;
	right: 18px;
	margin: 0;
}

.mklp-dashboard__management {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 42px;
	padding: 15px 18px;
	border: 1px solid #ddd3b8;
	border-radius: 14px;
	background: #fffcf4;
}

.mklp-dashboard__management > div {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
}

.mklp-dashboard__management .mklp-portal__icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin: 0;
	border-color: #d9c99f;
	background: #f7eed7;
}

.mklp-dashboard__management span {
	display: grid;
	gap: 2px;
}

.mklp-dashboard__management strong { color: var(--mklp-blue-dark); }
.mklp-dashboard__management small { color: var(--mklp-muted); }

@media (max-width: 900px) {
	.mklp-portal--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.mklp-portal--consulting,
	.mklp-portal--compact {
		grid-template-columns: 1fr;
	}

	.mklp-dashboard__group .mklp-portal__card--featured { grid-column: auto; }
	.mklp-dashboard__management { align-items: stretch; flex-direction: column; }
	.mklp-dashboard__management .mklp-secondary-button { width: 100%; }
}

.mklp-management {
	max-width: 1180px;
}

.mklp-manage-tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin: 0 0 22px;
	padding: 6px;
	border: 1px solid #dfe5e1;
	border-radius: 14px;
	background: #f6f8f7;
}

.mklp-manage-tabs a {
	flex: 0 0 auto;
	padding: 10px 14px;
	border-radius: 9px;
	color: #33443d;
	font-weight: 700;
	text-decoration: none;
}

.mklp-manage-tabs a:hover,
.mklp-manage-tabs a:focus,
.mklp-manage-tabs a.is-active {
	background: #fff;
	color: #174c38;
	box-shadow: 0 2px 9px rgb(20 55 42 / 10%);
}

.mklp-manage-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.mklp-manage-stats a,
.mklp-manage-panel {
	border: 1px solid #dfe5e1;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgb(26 55 44 / 7%);
}

.mklp-manage-stats a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	color: #33443d;
	text-decoration: none;
}

.mklp-manage-stats strong {
	color: #174c38;
	font-size: 2rem;
}

.mklp-manage-panel {
	margin-bottom: 20px;
	padding: 24px;
}

.mklp-manage-panel h3 {
	margin: 0 0 8px;
}

.mklp-manage-form,
.mklp-manage-form label,
.mklp-manage-inline label {
	display: grid;
	gap: 7px;
}

.mklp-manage-form {
	gap: 20px;
}

.mklp-manage-form label > span,
.mklp-manage-inline label > span {
	font-weight: 700;
}

.mklp-manage-form input[type="text"],
.mklp-manage-form input[type="email"],
.mklp-manage-form input[type="password"],
.mklp-manage-form input[type="url"],
.mklp-manage-form select,
.mklp-manage-form textarea,
.mklp-manage-inline input {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #bfcac5;
	border-radius: 9px;
	background: #fff;
	color: #20352d;
	font: inherit;
}

.mklp-manage-password-button {
	justify-self: start;
	margin-top: 3px;
}

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

.mklp-manage-check {
	display: flex !important;
	align-items: center;
	gap: 10px !important;
}

.mklp-manage-check input {
	width: 18px;
	height: 18px;
}

.mklp-manage-check--danger span,
.mklp-tool-error {
	color: #9c2f2f;
}

.mklp-manage-heading,
.mklp-manage-options,
.mklp-manage-actions,
.mklp-manage-inline,
.mklp-manage-poll,
.mklp-manage-poll form {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mklp-manage-heading,
.mklp-manage-poll {
	justify-content: space-between;
}

.mklp-manage-actions {
	flex-wrap: wrap;
}

.mklp-manage-heading__user-actions {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	flex: 0 1 480px;
	width: min(100%, 480px);
	gap: 8px;
}

.mklp-manage-heading__user-actions .mklp-primary-button,
.mklp-manage-heading__user-actions .mklp-secondary-button {
	justify-self: stretch;
	width: 100%;
	min-width: 0;
	min-height: 40px;
	padding: 8px 10px;
	font-size: clamp(0.7rem, 1.7vw, 0.88rem);
	line-height: 1.2;
	white-space: nowrap;
}

.mklp-manage-user {
	border: 1px solid #dfe5e1;
	border-radius: 12px;
	background: #fafcfb;
}

.mklp-manage-user summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px;
	cursor: pointer;
}

.mklp-manage-user summary span:first-child,
.mklp-manage-poll > div {
	display: grid;
	gap: 3px;
}

.mklp-manage-user > div {
	padding: 0 16px 16px;
}

.mklp-manage-user--new {
	border-style: dashed;
	border-color: #91aa9f;
}

.mklp-manage-user--new[hidden] {
	display: none !important;
}

.mklp-manage-new-user__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px !important;
	border-bottom: 1px solid #dfe5e1;
}

.mklp-manage-new-user__heading > div {
	display: grid;
	gap: 3px;
}

.mklp-manage-new-user__heading small {
	color: var(--mklp-muted);
}

.mklp-manage-options {
	margin-top: 16px;
}

.mklp-manage-poll {
	padding: 16px 0;
	border-top: 1px solid #e7ece9;
}

.mklp-manage-poll:first-of-type {
	margin-top: 16px;
}

.mklp-manage-table {
	overflow-x: auto;
	margin-top: 18px;
}

.mklp-manage-table table {
	width: 100%;
	border-collapse: collapse;
}

.mklp-manage-table th,
.mklp-manage-table td {
	padding: 10px;
	border-bottom: 1px solid #e7ece9;
	text-align: left;
	white-space: nowrap;
}

@media (max-width: 720px) {
	.mklp-manage-stats,
	.mklp-manage-grid {
		grid-template-columns: 1fr;
	}

	.mklp-manage-heading,
	.mklp-manage-new-user__heading,
	.mklp-manage-poll,
	.mklp-manage-inline {
		align-items: stretch;
		flex-direction: column;
	}

	.mklp-manage-heading__user-actions {
		flex-basis: auto;
		width: 100%;
	}

	.mklp-manage-poll form {
		flex-wrap: wrap;
	}
}

.mklp-mail-tools__grid {
	display: grid;
	grid-template-columns: minmax(240px, .75fr) minmax(0, 1.55fr);
	gap: 18px;
}

.mklp-mail-card,
.mklp-pdf-protection {
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(18, 63, 112, .07);
}

.mklp-pdf-protection--standalone {
	margin-bottom: 20px;
}

.mklp-pdf-protection--tile {
	padding: 0;
	border-color: #dbe5ed;
	border-radius: 12px;
	background: #f9fbfc;
	box-shadow: none;
}

.mklp-pdf-protection--tile:hover {
	border-color: #b8cada;
	box-shadow: 0 10px 24px rgba(18, 63, 112, .08);
}

.mklp-pdf-protection--tile[open] {
	background: #fff;
	box-shadow: 0 12px 28px rgba(18, 63, 112, .1);
}

.mklp-pdf-tile-status {
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
}

.mklp-mail-card {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-direction: column;
	gap: 24px;
}

.mklp-mail-card h3,
.mklp-pdf-protection h3 {
	margin: 4px 0 8px;
	color: var(--mklp-blue-dark);
	font-size: 1.25rem;
}

.mklp-mail-card p:not(.mklp__eyebrow) {
	margin: 0;
	color: var(--mklp-muted);
	line-height: 1.6;
}

.mklp-pdf-protection__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.mklp-pdf-protection__title .mklp-pdf-tool-icon {
	flex-basis: 58px;
	width: 58px;
	height: 58px;
}

.mklp-pdf-engine {
	flex: 0 0 auto;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: .76rem;
	font-weight: 800;
}

.mklp-pdf-engine.is-ready { background: #e6f5ec; color: #176538; }
.mklp-pdf-engine.is-missing { background: #fff0e7; color: #92531d; }

.mklp-pdf-protection form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 18px;
	border: 1px solid #dbe5ed;
	border-radius: 12px;
	background: #f7fafc;
}

.mklp-pdf-protection form > label {
	display: grid;
	gap: 7px;
	color: var(--mklp-ink);
	font-size: .86rem;
	font-weight: 750;
}

.mklp-pdf-protection form .is-wide { grid-column: 1 / -1; }

.mklp-pdf-protection input[type="file"],
.mklp-pdf-protection input[type="password"],
.mklp-pdf-protection input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b9c8d4;
	border-radius: 9px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
}

.mklp-pdf-protection input[type="file"] { padding: 8px; }
.mklp-pdf-protection small { color: var(--mklp-muted); font-size: .76rem; line-height: 1.45; }

.mklp-pdf-password-actions,
.mklp-pdf-submit {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
}

.mklp-pdf-security {
	margin-top: 16px;
	padding: 15px 17px;
	border-left: 4px solid var(--mklp-blue);
	border-radius: 8px;
	background: var(--mklp-sky);
	color: var(--mklp-muted);
	font-size: .82rem;
}

.mklp-pdf-security strong { color: var(--mklp-blue-dark); }
.mklp-pdf-security ul { margin: 9px 0 0; padding-left: 19px; }
.mklp-pdf-security li + li { margin-top: 5px; }

@media (max-width: 850px) {
	.mklp-mail-tools__grid { grid-template-columns: 1fr; }
	.mklp-mail-card { align-items: stretch; }
}

@media (max-width: 600px) {
	.mklp-mail-card,
	.mklp-pdf-protection { padding: 17px; }
	.mklp-pdf-protection__head { flex-direction: column; }
	.mklp-pdf-protection form { grid-template-columns: 1fr; padding: 14px; }
	.mklp-pdf-protection form .is-wide { grid-column: auto; }
	.mklp-pdf-password-actions,
	.mklp-pdf-submit { align-items: stretch; flex-direction: column; }
	.mklp-pdf-password-actions .mklp-secondary-button,
	.mklp-pdf-submit .mklp-primary-button { justify-content: center; width: 100%; }
}

.mklp-work-time {
	max-width: 1180px;
}

.mklp-time-month-header {
	margin: 0 0 14px;
	padding: 18px;
	border: 1px solid #d6e2ea;
	border-radius: 16px;
	background: linear-gradient(135deg, #f8fbfd 0%, #fff 72%);
	box-shadow: 0 8px 26px rgba(18, 63, 112, 0.055);
}

.mklp-time-month-header__top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.mklp-time-month-header__top > div {
	min-width: 155px;
	text-align: center;
}

.mklp-time-month-header__top span,
.mklp-time-month-header__top h3 {
	display: block;
	margin: 0;
}

.mklp-time-month-header__top span {
	color: var(--mklp-muted);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mklp-time-month-header__top h3 {
	color: var(--mklp-blue-dark);
	font-size: 1.2rem;
}

.mklp-time-month-header__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #c9d8e3;
	border-radius: 50%;
	background: #fff;
	color: var(--mklp-blue-dark);
	font-size: 1.45rem;
	line-height: 1;
	text-decoration: none;
}

.mklp-time-month-header__arrow:hover,
.mklp-time-month-header__arrow:focus-visible {
	border-color: var(--mklp-blue);
	background: #edf5fb;
}

.mklp-time-month-header__timer {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	margin-left: auto;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e8f5ed;
	color: #17663d !important;
	font-size: 0.75rem !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.mklp-time-month-header__timer i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2c9a5e;
}

.mklp-time-month-header__kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
}

.mklp-time-month-header__kpis article {
	padding: 12px 14px;
	border-left: 3px solid #c8d8e4;
	border-radius: 9px;
	background: #fff;
}

.mklp-time-month-header__kpis span,
.mklp-time-month-header__kpis strong {
	display: block;
}

.mklp-time-month-header__kpis span {
	margin-bottom: 3px;
	color: var(--mklp-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.mklp-time-month-header__kpis strong {
	color: var(--mklp-blue-dark);
	font-size: 1.1rem;
}

.mklp-time-month-header__kpis .is-complete {
	border-left-color: #2c9a5e;
}

.mklp-time-month-header__kpis .has-warning {
	border-left-color: #c58a2d;
}

.mklp-time-tabs {
	display: flex;
	gap: 7px;
	margin: 0 0 20px;
	padding: 5px;
	border: 1px solid var(--mklp-line);
	border-radius: 13px;
	background: #f4f7f9;
	overflow-x: auto;
}

.mklp-time-tabs button {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 7px 15px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--mklp-blue-dark);
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 750;
	white-space: nowrap;
}

.mklp-time-mobile-fab {
	display: none;
}

.mklp-time-start-view {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: -10px 0 18px;
}

.mklp-time-start-view label {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	margin: 0;
	color: var(--mklp-muted);
	font-size: 0.76rem;
	font-weight: 700;
}

.mklp-time-start-view select {
	height: 44px;
	box-sizing: border-box;
	padding: 5px 30px 5px 9px;
	border: 1px solid #c6d4de;
	border-radius: 8px;
	background: #fff;
	color: var(--mklp-text);
	font: inherit;
}

.mklp-time-start-view .mklp-secondary-button {
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 10px;
	font-size: 0.76rem;
}

.mklp-time-tabs button:hover,
.mklp-time-tabs button:focus-visible {
	background: #e7eef4;
}

.mklp-time-tabs button.is-active {
	background: var(--mklp-blue);
	color: #fff;
	box-shadow: 0 4px 12px rgba(18, 63, 112, 0.16);
}

.mklp-time-tab-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	margin-left: 7px;
	padding: 0 5px;
	border-radius: 999px;
	background: #c83b3b;
	color: #fff;
	font-size: 0.68rem;
}

[data-mklp-work-time] .mklp-time-summary,
[data-mklp-work-time] .mklp-time-form,
[data-mklp-work-time] .mklp-time-timer,
[data-mklp-work-time] .mklp-time-favorites,
[data-mklp-work-time] .mklp-time-mobile-entry,
[data-mklp-work-time] .mklp-time-filter-summary,
[data-mklp-work-time] .mklp-time-quick-filters,
[data-mklp-work-time] .mklp-time-filters,
[data-mklp-work-time] .mklp-time-month-state,
[data-mklp-work-time] .mklp-time-week-overview,
[data-mklp-work-time] .mklp-time-month-overview,
[data-mklp-work-time] .mklp-time-list,
[data-mklp-work-time] .mklp-time-quality,
[data-mklp-work-time] .mklp-time-month-report,
[data-mklp-work-time] .mklp-time-edit-backdrop,
[data-mklp-work-time] .mklp-time-automation {
	display: none;
}

[data-mklp-work-time] .mklp-time-summary.is-time-tab-active,
[data-mklp-work-time] .mklp-time-form.is-time-tab-active,
[data-mklp-work-time] .mklp-time-timer.is-time-tab-active,
[data-mklp-work-time] .mklp-time-favorites.is-time-tab-active,
[data-mklp-work-time] .mklp-time-filter-summary.is-time-tab-active,
[data-mklp-work-time] .mklp-time-week-overview.is-time-tab-active,
[data-mklp-work-time] .mklp-time-month-overview.is-time-tab-active,
[data-mklp-work-time] .mklp-time-list.is-time-tab-active,
[data-mklp-work-time] .mklp-time-quality.is-time-tab-active,
[data-mklp-work-time] .mklp-time-month-report.is-time-tab-active,
[data-mklp-work-time] .mklp-time-edit-backdrop.is-time-tab-active,
[data-mklp-work-time] .mklp-time-automation.is-time-tab-active {
	display: block;
}

[data-mklp-work-time] .mklp-time-quick-filters.is-time-tab-active {
	display: flex;
}

[data-mklp-work-time] .mklp-time-filters.is-time-tab-active {
	display: grid;
}

[data-mklp-work-time]:not(.is-time-filter-open) .mklp-time-quick-filters.is-time-tab-active,
[data-mklp-work-time]:not(.is-time-filter-open) .mklp-time-filters.is-time-tab-active {
	display: none;
}

[data-mklp-work-time] .mklp-time-month-state.is-time-tab-active {
	display: flex;
}

.mklp-time-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.mklp-time-timer,
.mklp-time-favorites,
.mklp-time-quality,
.mklp-time-month-report,
.mklp-time-automation-card {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid var(--mklp-line);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.05);
}

.mklp-time-timer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-color: #b7d1e4;
	background: linear-gradient(135deg, #f7fbfe, #fff);
}

.mklp-time-timer > div:first-child,
.mklp-time-timer__heading,
.mklp-time-timer__actions,
.mklp-time-timer__actions form {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.mklp-time-timer small,
.mklp-time-timer strong,
.mklp-time-timer span,
.mklp-time-mobile-entry small,
.mklp-time-mobile-entry strong {
	display: block;
}

.mklp-time-timer strong[data-mklp-timer-start] {
	color: var(--mklp-blue-dark);
	font-size: 1.55rem;
	font-variant-numeric: tabular-nums;
}

.mklp-time-timer__pulse {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #2c9a5e;
	box-shadow: 0 0 0 6px rgba(44, 154, 94, 0.12);
	animation: mklp-timer-pulse 1.8s ease-in-out infinite;
}

.mklp-time-timer__pulse.is-paused {
	background: #a77422;
	box-shadow: 0 0 0 6px rgba(167, 116, 34, 0.12);
	animation: none;
}

@keyframes mklp-timer-pulse {
	50% { box-shadow: 0 0 0 10px rgba(44, 154, 94, 0.03); }
}

.mklp-time-timer__form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 1fr) auto;
	align-items: end;
	gap: 10px;
	width: 100%;
}

.mklp-time-timer__form label,
.mklp-time-mobile-entry label,
.mklp-time-automation-create label {
	display: grid;
	gap: 5px;
	font-size: 0.8rem;
	font-weight: 750;
}

.mklp-time-timer__form input,
.mklp-time-timer__form select,
.mklp-time-mobile-entry input,
.mklp-time-mobile-entry select,
.mklp-time-mobile-entry textarea,
.mklp-time-automation-create input,
.mklp-time-automation-create select,
.mklp-time-automation-create textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 11px;
	border: 1px solid #bccbd6;
	border-radius: 9px;
	background: #fff;
	font: inherit;
}

.mklp-time-favorites > div:first-child {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin-bottom: 10px;
}

.mklp-time-favorites > div:first-child span,
.mklp-time-automation-card p {
	color: var(--mklp-muted);
	font-size: 0.82rem;
}

.mklp-time-favorites > div:last-child {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 2px;
}

.mklp-time-favorites a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: max-content;
	padding: 8px 11px;
	border: 1px solid #cad8e2;
	border-radius: 999px;
	color: var(--mklp-blue-dark);
	text-decoration: none;
}

.mklp-time-favorites a:hover {
	border-color: var(--mklp-blue);
	background: #edf5fb;
}

.mklp-time-favorites small {
	color: var(--mklp-muted);
}

.mklp-time-mobile-entry {
	padding: 16px;
	border: 1px solid var(--mklp-line);
	border-radius: 15px;
	background: #fff;
}

.mklp-time-mobile-entry__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	grid-column: 1 / -1;
}

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

.mklp-time-automation-card {
	margin-bottom: 0;
}

.mklp-time-template-list {
	display: grid;
	gap: 8px;
	margin: 14px 0;
}

.mklp-time-template-list article,
.mklp-time-template-list article > div:last-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
}

.mklp-time-template-list article {
	padding: 11px;
	border: 1px solid #e0e8ee;
	border-radius: 11px;
	background: #f9fbfc;
}

.mklp-time-template-list article > div:first-child {
	display: grid;
	gap: 2px;
}

.mklp-time-template-list article span {
	color: var(--mklp-muted);
	font-size: 0.76rem;
}

.mklp-time-template-list form {
	margin: 0;
}

.mklp-time-template-list .mklp-secondary-button,
.mklp-time-template-list .mklp-danger-button {
	min-height: 32px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.74rem;
}

.mklp-time-automation-create {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #e1e9ef;
}

.mklp-time-automation-create summary {
	color: var(--mklp-blue-dark);
	cursor: pointer;
	font-weight: 800;
}

.mklp-time-automation-create > form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.mklp-time-wide {
	grid-column: 1 / -1;
}

.mklp-time-apply-due {
	margin: 12px 0;
}

.mklp-time-quality ul {
	margin: 12px 0 0;
	padding-left: 22px;
}

.mklp-time-quality li + li {
	margin-top: 6px;
}

[data-mklp-work-time] .mklp-time-timer.is-time-tab-active {
	display: flex;
}

[data-mklp-work-time] .mklp-time-automation.is-time-tab-active {
	display: grid;
}

.mklp-time-form,
.mklp-time-summary,
.mklp-time-list {
	padding: 22px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.06);
}

.mklp-time-edit-backdrop {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: rgba(13, 35, 57, 0.32);
	backdrop-filter: blur(2px);
}

[data-mklp-work-time] .mklp-time-edit-drawer.is-time-tab-active {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 910;
	display: block;
	width: min(520px, 94vw);
	height: 100vh;
	box-sizing: border-box;
	padding: 24px;
	border: 0;
	border-left: 1px solid #d3dfe7;
	border-radius: 0;
	overflow-y: auto;
	box-shadow: -18px 0 50px rgba(13, 35, 57, 0.2);
	animation: mklp-time-drawer-in 180ms ease-out;
}

.mklp-time-edit-drawer .mklp-time-form__grid {
	grid-template-columns: 1fr;
}

@keyframes mklp-time-drawer-in {
	from { transform: translateX(24px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

.mklp-time-form__heading,
.mklp-time-list__heading,
.mklp-time-entry,
.mklp-time-entry__actions,
.mklp-time-filters > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mklp-time-form h3,
.mklp-time-summary h3,
.mklp-time-list h3,
.mklp-time-chart h3 {
	margin: 0 0 16px;
	color: var(--mklp-blue-dark);
	font-size: 1.05rem;
}

.mklp-time-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
	margin-bottom: 18px;
}

.mklp-time-form label,
.mklp-time-filters label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.mklp-time-form input,
.mklp-time-form select,
.mklp-time-form textarea,
.mklp-time-filters input,
.mklp-time-filters select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #bccbd6;
	border-radius: 10px;
	background: #fff;
	color: var(--mklp-text);
	font: inherit;
}

.mklp-time-duration {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mklp-time-description {
	grid-column: 1 / -1;
}

.mklp-time-quick {
	display: flex;
	align-items: end;
	gap: 6px;
	flex-wrap: wrap;
}

.mklp-time-quick button {
	min-height: 34px;
	padding: 5px 10px;
	border: 1px solid var(--mklp-blue);
	border-radius: 999px;
	background: #fff;
	color: var(--mklp-blue);
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 750;
}

.mklp-time-quick button:hover,
.mklp-time-quick button:focus-visible {
	background: #edf5fb;
}

.mklp-time-description small,
.mklp-time-entry small {
	color: var(--mklp-muted);
	font-weight: 500;
}

.mklp-time-kpis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.mklp-time-kpis--wide {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mklp-time-summary-grid,
.mklp-manage-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mklp-time-summary-grid > div {
	padding: 16px;
	border: 1px solid #e0e8ee;
	border-radius: 13px;
	background: #fbfcfd;
}

.mklp-time-kpis article {
	padding: 14px;
	border-radius: 12px;
	background: #f3f7fa;
}

.mklp-time-kpis span,
.mklp-time-kpis strong {
	display: block;
}

.mklp-time-kpis span {
	margin-bottom: 5px;
	color: var(--mklp-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.mklp-time-kpis strong {
	color: var(--mklp-blue-dark);
	font-size: 1.35rem;
}

.mklp-time-chart + .mklp-time-chart {
	margin-top: 20px;
}

.mklp-time-analysis-card {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid #dce6ed;
	border-radius: 14px;
	background: #fff;
}

.mklp-time-analysis-tabs {
	display: flex;
	gap: 6px;
	margin: 4px 0 18px;
	padding-bottom: 9px;
	border-bottom: 1px solid #dfe8ee;
	overflow-x: auto;
}

.mklp-time-analysis-tabs button {
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--mklp-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 750;
	white-space: nowrap;
}

.mklp-time-analysis-tabs button:hover,
.mklp-time-analysis-tabs button.is-active {
	border-color: #c9d8e3;
	background: #edf5fb;
	color: var(--mklp-blue-dark);
}

.mklp-time-analysis-panel {
	display: none;
}

.mklp-time-analysis-panel.is-active {
	display: block;
}

.mklp-time-analysis-panel > .mklp-time-analysis-card {
	margin-top: 0;
	border: 0;
	padding: 0;
}

.mklp-time-analysis-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.mklp-time-analysis-heading h3 {
	margin-bottom: 4px;
}

.mklp-time-analysis-heading p,
.mklp-time-analysis-note {
	margin: 0 0 14px;
	color: var(--mklp-muted);
	font-size: 0.86rem;
}

.mklp-time-trend__chart {
	display: grid;
	grid-template-columns: repeat(12, minmax(34px, 1fr));
	align-items: end;
	gap: 7px;
	height: 230px;
	padding-top: 18px;
	overflow-x: auto;
}

.mklp-time-trend__chart > div {
	display: grid;
	grid-template-rows: 24px 155px 24px;
	align-items: end;
	gap: 5px;
	min-width: 34px;
	text-align: center;
}

.mklp-time-trend__value {
	color: var(--mklp-muted);
	font-size: 0.67rem;
	white-space: nowrap;
}

.mklp-time-trend__column {
	display: flex;
	height: 155px;
	align-items: flex-end;
	justify-content: center;
	border-bottom: 1px solid #ccd8e1;
}

.mklp-time-trend__column i {
	display: block;
	width: min(28px, 72%);
	min-height: 3px;
	border-radius: 6px 6px 2px 2px;
	background: var(--mklp-blue);
}

.mklp-time-trend__chart strong {
	font-size: 0.72rem;
}

.mklp-time-analysis-table {
	overflow-x: auto;
}

.mklp-time-analysis-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
}

.mklp-time-analysis-table th,
.mklp-time-analysis-table td {
	padding: 10px 9px;
	border-bottom: 1px solid #e3eaf0;
	text-align: left;
	white-space: nowrap;
}

.mklp-time-analysis-table th:not(:first-child),
.mklp-time-analysis-table td:not(:first-child) {
	text-align: right;
}

.mklp-time-case-status {
	display: flex;
	gap: 10px;
	margin: 0 0 14px;
	flex-wrap: wrap;
}

.mklp-time-case-status span {
	padding: 7px 10px;
	border-radius: 999px;
	background: #edf3f7;
	font-size: 0.78rem;
}

.mklp-time-quick-filters {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 18px 0 -4px;
	flex-wrap: wrap;
}

[data-mklp-work-time] .mklp-time-filter-summary.is-time-tab-active {
	display: flex;
}

.mklp-time-filter-summary {
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 18px 0 0;
	padding: 12px 14px;
	border: 1px solid #d7e2e9;
	border-radius: 12px;
	background: #f8fafb;
}

.mklp-time-filter-summary div,
.mklp-time-filter-summary span,
.mklp-time-filter-summary strong {
	display: block;
}

.mklp-time-filter-summary span {
	margin-bottom: 2px;
	color: var(--mklp-muted);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.mklp-time-filter-summary strong {
	color: var(--mklp-blue-dark);
	font-size: 0.88rem;
}

.mklp-time-filter-summary .mklp-secondary-button {
	min-height: 34px;
	padding: 5px 11px;
	font-size: 0.76rem;
}

.mklp-time-quick-filters > span {
	margin-right: 2px;
	color: var(--mklp-muted);
	font-size: 0.79rem;
	font-weight: 750;
}

.mklp-time-quick-filters a {
	padding: 6px 10px;
	border: 1px solid #c8d6e0;
	border-radius: 999px;
	background: #fff;
	color: var(--mklp-blue-dark);
	font-size: 0.76rem;
	font-weight: 750;
	text-decoration: none;
}

.mklp-time-quick-filters a:hover,
.mklp-time-quick-filters a.is-active {
	border-color: var(--mklp-blue);
	background: #edf5fb;
}

.mklp-time-bar + .mklp-time-bar {
	margin-top: 10px;
}

.mklp-time-bar > div {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
	font-size: 0.79rem;
}

.mklp-time-bar > span {
	display: block;
	height: 7px;
	overflow: hidden;
	border-radius: 999px;
	background: #e5edf3;
}

.mklp-time-bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--mklp-blue);
}

.mklp-time-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0;
	padding: 16px;
	border: 1px solid var(--mklp-line);
	border-radius: 14px;
	background: #f8fafb;
}

.mklp-time-filters > div {
	grid-column: 1 / -1;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 8px;
}

.mklp-time-filters .mklp-primary-button,
.mklp-time-filters .mklp-secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	min-height: 38px;
	box-sizing: border-box;
	margin: 0;
	padding: 6px 14px;
	border-radius: 9px;
	font-size: 0.82rem;
	font-weight: 750;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.mklp-time-entry {
	padding: 15px 0;
	border-top: 1px solid #e4ebf0;
}

.mklp-time-day-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px -8px 0;
	padding: 9px 10px;
	border-radius: 9px;
	background: #edf3f7;
}

.mklp-time-day-heading div,
.mklp-time-day-heading strong,
.mklp-time-day-heading span {
	display: block;
}

.mklp-time-day-heading strong {
	color: var(--mklp-blue-dark);
	font-size: 0.86rem;
}

.mklp-time-day-heading span {
	color: var(--mklp-muted);
	font-size: 0.72rem;
}

.mklp-time-day-heading b {
	color: var(--mklp-blue-dark);
	font-size: 0.9rem;
}

.mklp-time-entry:first-of-type {
	margin-top: 12px;
}

.mklp-time-entry > div:first-child {
	display: grid;
	gap: 3px;
}

.mklp-time-entry p {
	margin: 6px 0 0;
	color: var(--mklp-muted);
}

.mklp-time-entry__actions form {
	margin: 0;
}

.mklp-time-entry__actions {
	justify-content: flex-end;
	gap: 8px;
}

.mklp-time-entry__actions > strong {
	min-width: 68px;
	margin-right: 2px;
	text-align: right;
}

.mklp-time-entry__actions .mklp-secondary-button,
.mklp-time-entry__actions .mklp-danger-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	min-height: 32px;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.mklp-time-month-state {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--mklp-line);
	border-radius: 13px;
	background: #fff;
}

.mklp-time-week-overview {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid var(--mklp-line);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.05);
}

.mklp-time-week-overview__heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 13px;
}

.mklp-time-week-overview__heading > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid #cad8e2;
	border-radius: 50%;
	color: var(--mklp-blue-dark);
	font-size: 1.25rem;
	text-decoration: none;
}

.mklp-time-week-overview__heading > div {
	display: grid;
	gap: 1px;
}

.mklp-time-week-overview__heading span {
	color: var(--mklp-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.mklp-time-week-overview__heading strong {
	color: var(--mklp-blue-dark);
	font-size: 0.9rem;
}

.mklp-time-week-overview__heading b {
	margin-left: auto;
	color: var(--mklp-blue-dark);
}

.mklp-time-week-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 7px;
}

.mklp-time-week-days article {
	display: grid;
	gap: 2px;
	padding: 9px;
	border: 1px solid #dee7ed;
	border-radius: 9px;
	background: #f9fbfc;
	text-align: center;
}

.mklp-time-week-days article.is-today {
	border-color: var(--mklp-blue);
	background: #edf5fb;
}

.mklp-time-week-days span,
.mklp-time-week-days strong,
.mklp-time-week-days small {
	display: block;
}

.mklp-time-week-days span {
	font-size: 0.73rem;
	font-weight: 800;
}

.mklp-time-week-days small {
	color: var(--mklp-muted);
	font-size: 0.67rem;
}

.mklp-time-week-days strong {
	margin-top: 3px;
	color: var(--mklp-blue-dark);
	font-size: 0.78rem;
}

.mklp-time-month-state > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mklp-time-month-state form {
	margin: 0;
}

.mklp-time-month-overview {
	margin-bottom: 18px;
	padding: 22px;
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.06);
}

.mklp-time-month-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
	margin-top: 14px;
}

.mklp-time-month-legend {
	display: flex;
	gap: 12px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.mklp-time-month-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--mklp-muted);
	font-size: 0.7rem;
	font-weight: 700;
}

.mklp-time-month-legend span::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5dc;
	content: "";
}

.mklp-time-month-legend .is-progress::before { background: var(--mklp-blue); }
.mklp-time-month-legend .has-warning::before { background: #c58a2d; }
.mklp-time-month-legend .is-closed::before { background: #2c9a5e; }

.mklp-time-month-grid a {
	display: grid;
	gap: 3px;
	padding: 12px;
	border: 1px solid #d7e1e8;
	border-radius: 11px;
	background: #f8fafb;
	color: var(--mklp-text);
	text-decoration: none;
}

.mklp-time-month-grid a.is-empty {
	border-left: 4px solid #cbd5dc;
	background: #f6f8f9;
}

.mklp-time-month-grid a.is-progress {
	border-left: 4px solid var(--mklp-blue);
}

.mklp-time-month-grid a.has-warning {
	border-left: 4px solid #c58a2d;
	background: #fffaf0;
}

.mklp-time-month-grid a.is-closed {
	border-left: 4px solid #2c9a5e;
	background: #f2faf5;
}

.mklp-time-month-grid a:hover,
.mklp-time-month-grid a.is-active {
	border-color: var(--mklp-blue);
	background: #edf5fb;
}

.mklp-time-month-grid span,
.mklp-time-month-grid strong,
.mklp-time-month-grid small {
	display: block;
}

.mklp-time-month-grid span {
	font-size: 0.82rem;
	font-weight: 750;
}

.mklp-time-month-grid strong {
	color: var(--mklp-blue-dark);
	font-size: 1.05rem;
}

.mklp-time-month-grid small,
.mklp-time-locked {
	color: var(--mklp-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.mklp-time-print-report {
	display: none;
}

.mklp-activity-settings {
	display: grid;
	gap: 10px;
}

.mklp-activity-settings > div {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 130px auto;
	align-items: end;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--mklp-line);
	border-radius: 12px;
	background: #f8fafb;
}

.mklp-activity-settings__new {
	border-style: dashed !important;
}

.mklp-manage-stats--dashboard strong {
	font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.mklp-manage-dashboard-grid {
	margin: 18px 0;
}

.mklp-manage-dashboard-grid .mklp-manage-panel {
	margin: 0;
}

.mklp-manage-dashboard-list {
	display: grid;
	gap: 0;
	margin: 2px 0 18px;
}

.mklp-manage-dashboard-list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e3eaf0;
}

.mklp-manage-dashboard-list dt {
	color: var(--mklp-muted);
}

.mklp-manage-dashboard-list dd {
	margin: 0;
	color: var(--mklp-blue-dark);
	font-weight: 800;
}

@media print {
	.mklp-work-time {
		display: flex;
		flex-direction: column;
		max-width: none;
		padding: 0;
		background: #fff;
	}

	.mklp-work-time > * {
		display: none !important;
	}

	.mklp-work-time > .mklp-time-print-report {
		display: block !important;
		order: 2;
		color: #111;
	}

	.mklp-work-time > .mklp-time-month-report {
		display: block !important;
		order: 1;
		margin: 0 0 24px;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.mklp-time-month-report button,
	.mklp-time-month-report .mklp-time-bar > span {
		display: none !important;
	}

	.mklp-time-print-report h1 {
		margin: 0 0 16px;
		font-size: 22pt;
	}

	.mklp-time-print-report table {
		width: 100%;
		margin-top: 22px;
		border-collapse: collapse;
	}

	.mklp-time-print-report th,
	.mklp-time-print-report td {
		padding: 8px;
		border: 1px solid #aaa;
		text-align: left;
		font-size: 9.5pt;
	}

	.mklp-time-print-report th:last-child,
	.mklp-time-print-report td:last-child {
		text-align: right;
	}

	.mklp-time-signature {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 50px;
		margin-top: 70px;
	}

	.mklp-time-signature span {
		padding-top: 7px;
		border-top: 1px solid #555;
	}
}

@media (max-width: 850px) {
	.mklp-time-layout,
	.mklp-time-filters,
	.mklp-time-summary-grid,
	.mklp-manage-dashboard-grid,
	.mklp-time-automation,
	.mklp-time-timer__form {
		grid-template-columns: 1fr;
	}

	.mklp-time-timer {
		align-items: stretch;
		flex-direction: column;
	}

	.mklp-time-kpis--wide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mklp-time-month-header__kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mklp-time-month-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mklp-time-week-days {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.mklp-activity-settings > div {
		grid-template-columns: 1fr 110px;
	}
}

@media (max-width: 600px) {
	.mklp-work-time {
		padding-bottom: 76px;
	}

	.mklp-time-month-header {
		padding: 14px;
	}

	.mklp-time-month-header__top {
		justify-content: center;
		flex-wrap: wrap;
	}

	.mklp-time-month-header__timer {
		flex-basis: 100%;
		justify-content: center;
		margin: 2px auto 0;
	}

	.mklp-time-month-header__kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mklp-time-tabs {
		justify-content: flex-start;
		padding-bottom: 6px;
	}

	.mklp-time-tabs button {
		flex: 0 0 auto;
	}

	.mklp-time-start-view {
		align-items: stretch;
		flex-direction: column;
		margin-top: -8px;
	}

	.mklp-time-start-view label,
	.mklp-time-start-view select,
	.mklp-time-start-view .mklp-secondary-button {
		width: 100%;
		box-sizing: border-box;
	}

	.mklp-time-start-view label {
		align-items: stretch;
		flex-direction: column;
		height: auto;
	}

	[data-mklp-work-time] .mklp-time-filter-summary.is-time-tab-active {
		align-items: stretch;
		flex-direction: column;
	}

	.mklp-time-week-overview {
		padding: 14px;
	}

	.mklp-time-week-overview__heading {
		flex-wrap: wrap;
	}

	.mklp-time-week-overview__heading b {
		flex-basis: 100%;
		margin: 4px 0 0;
		text-align: center;
	}

	.mklp-time-week-days {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	[data-mklp-work-time] .mklp-time-edit-drawer.is-time-tab-active {
		width: 100vw;
		padding: 18px;
	}

	.mklp-time-mobile-fab {
		position: fixed;
		right: 18px;
		bottom: 18px;
		z-index: 80;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 10px 17px;
		border: 0;
		border-radius: 999px;
		background: var(--mklp-blue);
		box-shadow: 0 8px 24px rgba(18, 63, 112, 0.28);
		color: #fff;
		font: inherit;
		font-size: 0.86rem;
		font-weight: 800;
	}
	[data-mklp-work-time] .mklp-time-mobile-entry.is-time-tab-active {
		display: grid;
		gap: 12px;
	}

	.mklp-time-form__grid {
		grid-template-columns: 1fr;
	}

	.mklp-time-entry {
		align-items: flex-start;
		flex-direction: column;
	}

	.mklp-time-entry__actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.mklp-time-month-state {
		align-items: flex-start;
		flex-direction: column;
	}

	.mklp-time-month-grid,
	.mklp-activity-settings > div {
		grid-template-columns: 1fr;
	}

	.mklp-time-kpis--wide {
		grid-template-columns: 1fr;
	}

	.mklp-time-timer__actions,
	.mklp-time-template-list article,
	.mklp-time-template-list article > div:last-child {
		align-items: stretch;
		flex-direction: column;
	}

	.mklp-time-timer__actions form,
	.mklp-time-timer__actions button,
	.mklp-time-template-list form,
	.mklp-time-template-list .mklp-secondary-button,
	.mklp-time-template-list .mklp-danger-button {
		width: 100%;
	}

	.mklp-time-automation-create > form {
		grid-template-columns: 1fr;
	}
}

.mklp-case-toolbar,
.mklp-case-form__heading,
.mklp-case-form__footer,
.mklp-case-row,
.mklp-case-row__controls,
.mklp-case-row__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mklp-case-toolbar,
.mklp-case-form__heading,
.mklp-case-row {
	justify-content: space-between;
}

.mklp-case-toolbar {
	margin-bottom: 18px;
}

.mklp-case-list {
	display: grid;
	gap: 12px;
}

.mklp-case-row,
.mklp-case-form {
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.06);
}

.mklp-case-row > div:first-child {
	display: grid;
	flex: 1;
	gap: 3px;
}

.mklp-case-row strong,
.mklp-case-form__heading h3 {
	color: var(--mklp-blue-dark);
	font-size: 1.2rem;
}

.mklp-case-row small,
.mklp-case-form small {
	color: var(--mklp-muted);
}

.mklp-case-row__actions form {
	display: flex;
	margin: 0;
}

.mklp-case-row__controls {
	justify-content: flex-end;
	flex-wrap: wrap;
}

.mklp-case-row__actions {
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.mklp-case-row__actions .mklp-secondary-button,
.mklp-case-row__actions .mklp-danger-button,
.mklp-case-row__actions .mklp-case-status-menu > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	min-height: 32px;
	padding: 5px 10px;
	border-radius: 999px;
	margin: 0;
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.mklp-case-status-menu {
	position: relative;
	align-self: center;
	flex: 0 0 auto;
	height: 32px;
	min-height: 32px;
	margin: 0;
}

.mklp-case-status-menu > summary {
	box-sizing: border-box !important;
	block-size: 32px;
	min-block-size: 32px;
	max-block-size: 32px;
	padding-block: 0 !important;
	list-style: none;
}

.mklp-case-status-menu > summary::-webkit-details-marker {
	display: none;
}

.mklp-case-status-menu > summary::after {
	margin-left: 6px;
	content: "▾";
	font-size: 0.8em;
}

.mklp-case-status-menu[open] > summary::after {
	content: "▴";
}

.mklp-case-status-menu__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 5px);
	right: 0;
	box-sizing: border-box !important;
	width: 100%;
	height: auto !important;
	min-width: 0;
	min-height: 0 !important;
	padding: 3px;
	border: 1px solid var(--mklp-line);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(18, 63, 112, 0.14);
}

.mklp-case-status-menu__panel::before {
	position: absolute;
	top: -6px;
	right: 0;
	left: 0;
	height: 6px;
	content: "";
}

.mklp-case-status-menu__panel form {
	display: grid;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mklp-case-status-menu__panel button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 100%;
	height: 26px !important;
	min-height: 26px !important;
	padding: 2px 6px !important;
	border: 0;
	border-radius: 7px;
	background: #fff;
	color: var(--mklp-blue);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}

.mklp-case-status-menu__panel button:not(:disabled):hover,
.mklp-case-status-menu__panel button:not(:disabled):focus-visible {
	background: var(--mklp-sky);
}

.mklp-case-view {
	display: grid;
	gap: 18px;
}

.mklp-case-view__heading,
.mklp-case-view__section {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.06);
}

.mklp-case-view__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.mklp-case-view__heading h3,
.mklp-case-view__heading p,
.mklp-case-view__section h4 {
	margin-top: 0;
}

.mklp-case-view__heading h3 {
	margin-bottom: 10px;
	color: var(--mklp-blue-dark);
	font-size: 1.55rem;
}

.mklp-case-view__section h4 {
	margin-bottom: 18px;
	color: var(--mklp-blue-dark);
	font-size: 1.18rem;
}

.mklp-case-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
	margin: 0;
}

.mklp-case-detail {
	min-width: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #e8edf1;
}

.mklp-case-detail--wide {
	grid-column: 1 / -1;
}

.mklp-case-detail dt {
	margin-bottom: 5px;
	color: var(--mklp-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.mklp-case-detail dd {
	margin: 0;
	color: var(--mklp-ink);
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.mklp-case-detail__empty {
	color: #7a858f;
	font-style: italic;
}

.mklp-case-view .mklp-case-sensitive {
	margin-top: 20px;
}

.mklp-case-form {
	display: grid;
	gap: 24px;
}

.mklp-case-form__heading h3,
.mklp-case-form__heading p {
	margin: 0;
}

.mklp-case-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.mklp-case-steps button {
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #cbd7e2;
	border-radius: 9px;
	background: #f5f8fb;
	color: var(--mklp-blue);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.mklp-case-steps button.is-active {
	border-color: var(--mklp-blue);
	background: var(--mklp-blue);
	color: #fff;
}

.mklp-case-section {
	display: grid;
	gap: 22px;
	min-width: 0;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--mklp-line);
	border-radius: 13px;
}

.mklp-case-section[hidden] {
	display: none !important;
}

.mklp-case-section legend {
	padding: 0 8px;
	color: var(--mklp-blue-dark);
	font-size: 1.25rem;
	font-weight: 750;
}

.mklp-case-section label,
.mklp-case-group {
	display: grid;
	gap: 8px;
}

.mklp-case-section label > span,
.mklp-case-label {
	font-weight: 700;
}

.mklp-case-section input[type="text"],
.mklp-case-section input[type="date"],
.mklp-case-section select,
.mklp-case-section textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #bfcbd6;
	border-radius: 9px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
}

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

.mklp-case-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.mklp-case-check {
	display: flex !important;
	align-items: center;
	grid-template-columns: auto 1fr;
	gap: 8px !important;
	min-height: 42px;
	padding: 8px 11px;
	border: 1px solid #d7e0e8;
	border-radius: 9px;
	background: #f8fafc;
}

.mklp-case-check input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.mklp-case-sensitive {
	display: grid;
	gap: 15px;
	padding: 18px;
	border: 1px solid #e4c3a8;
	border-radius: 12px;
	background: #fff7f0;
}

.mklp-case-sensitive h4,
.mklp-case-sensitive p {
	margin: 0;
}

.mklp-case-help {
	padding: 12px 14px;
	border-radius: 9px;
	background: var(--mklp-sky);
}

.mklp-case-help summary {
	color: var(--mklp-blue);
	font-weight: 700;
	cursor: pointer;
}

.mklp-case-help dl {
	margin-bottom: 0;
}

.mklp-case-help dt {
	margin-top: 12px;
	font-weight: 700;
}

.mklp-case-help dd {
	margin: 3px 0 0;
	color: var(--mklp-muted);
}

.mklp-case-form__footer {
	justify-content: flex-end;
}

.mklp-case-form__footer [data-case-progress] {
	margin-right: auto;
	color: var(--mklp-muted);
}

.mklp-case-dashboard {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.mklp-case-dashboard article {
	display: grid;
	gap: 5px;
	padding: 16px;
	border: 1px solid var(--mklp-line);
	border-radius: 12px;
	background: #fff;
}

.mklp-case-dashboard span {
	color: var(--mklp-muted);
	font-size: 0.76rem;
	font-weight: 700;
}

.mklp-case-dashboard strong { color: var(--mklp-blue-dark); font-size: 1.45rem; }
.mklp-case-dashboard .has-warning { border-color: #d59a26; background: #fff9ec; }
.mklp-case-dashboard .has-alert { border-color: #c63b3b; background: #fff3f3; }

.mklp-case-filters {
	margin-bottom: 16px;
	border: 1px solid var(--mklp-line);
	border-radius: 12px;
	background: #f7f9fb;
}

.mklp-case-filters summary { padding: 14px 17px; color: var(--mklp-blue-dark); cursor: pointer; font-weight: 750; }
.mklp-case-filters form { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding: 0 17px 17px; }
.mklp-case-filters label { display: grid; gap: 5px; font-size: .78rem; font-weight: 700; }
.mklp-case-filters input,.mklp-case-filters select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--mklp-line); border-radius: 8px; background: #fff; font: inherit; }
.mklp-case-filters form > .mklp-case-filters__actions {
	display: flex;
	grid-column: 1/-1;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.mklp-case-filters__actions .mklp-primary-button,
.mklp-case-filters__actions .mklp-secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	height: 38px;
	min-height: 38px;
	box-sizing: border-box;
	margin: 0;
	padding: 6px 14px;
	border-radius: 9px;
	font-size: .82rem;
	font-weight: 750;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}

.mklp-case-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.mklp-case-completion { display: grid; grid-template-columns: auto minmax(120px,1fr) auto; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; background: #f4f7fa; }
.mklp-case-completion > div { height: 9px; border-radius: 999px; background: #dfe7ee; overflow: hidden; }
.mklp-case-completion i { display: block; width: 0; height: 100%; border-radius: inherit; background: #16823d; transition: width .2s ease; }
[data-case-autosave-status] { color: var(--mklp-muted); font-size: .75rem; }

.mklp-case-workspace {
	display: grid;
	gap: 16px;
	margin-top: 22px;
	padding: clamp(18px,3vw,28px);
	border: 1px solid var(--mklp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18,63,112,.06);
}

.mklp-case-workspace__head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.mklp-case-workspace__head h3,.mklp-case-workspace__head p { margin: 0; }
.mklp-case-workspace__head > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.mklp-case-workspace__tabs { display: flex; gap: 5px; overflow-x: auto; padding: 5px; border-radius: 11px; background: #eef2f6; }
.mklp-case-workspace__tabs button { flex: 0 0 auto; padding: 9px 13px; border: 0; border-radius: 8px; background: transparent; color: var(--mklp-muted); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 750; }
.mklp-case-workspace__tabs button.is-active { background: #fff; box-shadow: 0 2px 8px rgba(18,63,112,.1); color: var(--mklp-blue-dark); }
.mklp-case-workspace__panel[hidden] { display: none !important; }

.mklp-case-inline-form,.mklp-case-close-assistant form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; padding: 16px; border: 1px solid var(--mklp-line); border-radius: 11px; background: #f8fafc; }
.mklp-case-inline-form label,.mklp-case-close-assistant form > label:not(.mklp-case-check) { display: grid; gap: 5px; font-size: .82rem; font-weight: 700; }
.mklp-case-inline-form input,.mklp-case-inline-form select,.mklp-case-inline-form textarea,.mklp-case-close-assistant input,.mklp-case-close-assistant select,.mklp-case-close-assistant textarea { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #bdcbd7; border-radius: 8px; background: #fff; font: inherit; }
.mklp-case-inline-form .is-wide,.mklp-case-close-assistant .is-wide { grid-column: 1/-1; }
.mklp-case-inline-form > button,.mklp-case-close-assistant form > button { grid-column: 1/-1; }
.mklp-case-inline-actions { display: flex; align-items: end; gap: 8px; }

.mklp-case-timeline { display: grid; }
.mklp-case-timeline article { display: grid; grid-template-columns: 115px 1fr; gap: 17px; padding: 15px 0; border-bottom: 1px solid var(--mklp-line); }
.mklp-case-timeline time { color: var(--mklp-blue); font-size: .82rem; font-weight: 750; }
.mklp-case-timeline article > div { display: grid; gap: 3px; }
.mklp-case-timeline p { margin: 6px 0 0; white-space: normal; }
.mklp-case-timeline small,.mklp-case-task-list span,.mklp-case-file-list span,.mklp-case-version-list span,.mklp-case-share-list span { color: var(--mklp-muted); font-size: .76rem; }

.mklp-case-task-list,.mklp-case-file-list,.mklp-case-version-list,.mklp-case-share-list { display: grid; gap: 9px; }
.mklp-case-task-list article,.mklp-case-file-list article,.mklp-case-version-list article,.mklp-case-share-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid var(--mklp-line); border-radius: 10px; }
.mklp-case-task-list article > div,.mklp-case-file-list article > div:first-child,.mklp-case-version-list article > div,.mklp-case-share-list article > div { display: grid; gap: 3px; }
.mklp-case-task-list article form,.mklp-case-file-list article > div:last-child,.mklp-case-version-list form,.mklp-case-share-list form { display: flex; gap: 7px; margin: 0; }
.mklp-case-task-list .is-overdue { border-color: #c63b3b; background: #fff5f5; }
.mklp-case-task-list .is-done { opacity: .68; }
.mklp-case-task-list .is-done strong { text-decoration: line-through; }
.mklp-case-time-summary { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding: 14px; border-radius: 10px; background: var(--mklp-sky); }
.mklp-case-time-summary strong { color: var(--mklp-blue-dark); font-size: 1.2rem; }

.mklp-case-upload { display: flex; align-items: center; gap: 10px; margin: 14px 0 18px; }
.mklp-case-security-note { padding: 12px 14px; border-left: 4px solid #d29529; border-radius: 8px; background: #fff8e8; color: #6d521f; font-size: .82rem; }
.mklp-case-close-assistant { border: 1px solid #b9dbc6; border-radius: 11px; background: #f1faf4; }
.mklp-case-close-assistant summary { padding: 14px 16px; color: #176538; cursor: pointer; font-weight: 750; }
.mklp-case-close-assistant form { margin: 0; border: 0; border-top: 1px solid #cde5d5; border-radius: 0 0 11px 11px; background: transparent; }
.mklp-case-privacy-action { border: 1px solid #e1b9b9; border-radius: 10px; background: #fff7f7; }
.mklp-case-privacy-action summary { padding: 12px 15px; color: #932929; cursor: pointer; font-weight: 750; }
.mklp-case-privacy-action > div { padding: 0 15px 15px; }
.mklp-case-privacy-action form { margin: 0; }

.mklp-stat-filters,
.mklp-stat-chart,
.mklp-stat-kpis article,
.mklp-stat-privacy {
	border: 1px solid var(--mklp-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.06);
}

.mklp-stat-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 16px;
	padding: 20px;
}

.mklp-stat-filters label {
	display: grid;
	gap: 6px;
	font-size: 0.84rem;
	font-weight: 700;
}

.mklp-stat-filters select,
.mklp-stat-filters input {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #bdcad5;
	border-radius: 8px;
	background: #fff;
	color: var(--mklp-ink);
	font: inherit;
}

.mklp-stat-filters__actions {
	display: flex;
	align-items: center;
	grid-column: 1 / -1;
	flex-wrap: wrap;
	gap: 8px;
}

.mklp-stat-filters__actions .mklp-primary-button,
.mklp-stat-filters__actions .mklp-secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex: 0 0 auto;
	width: auto;
	height: 40px !important;
	min-height: 40px !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 7px 14px !important;
	border-radius: 9px;
	font-size: .84rem;
	font-weight: 750;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
}

.mklp-stat-privacy {
	margin-bottom: 16px;
	padding: 12px 14px;
	background: #f5f8fb;
	color: var(--mklp-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.mklp-stat-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.mklp-stat-kpis article {
	display: grid;
	gap: 7px;
	padding: 18px;
}

.mklp-stat-kpis span {
	color: var(--mklp-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.mklp-stat-kpis strong {
	color: var(--mklp-blue-dark);
	font-size: clamp(1.45rem, 3vw, 2rem);
}

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

.mklp-stat-chart {
	padding: 20px;
}

.mklp-stat-chart h3 {
	margin: 0 0 17px;
	color: var(--mklp-blue-dark);
	font-size: 1.05rem;
}

.mklp-stat-bar + .mklp-stat-bar {
	margin-top: 13px;
}

.mklp-stat-bar__label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 5px;
	font-size: 0.82rem;
}

.mklp-stat-bar__track {
	display: block;
	height: 9px;
	border-radius: 999px;
	background: #e8eef3;
	overflow: hidden;
}

.mklp-stat-bar__track > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--mklp-blue);
}

.mklp-stat-empty {
	margin: 0;
	color: var(--mklp-muted);
}

.mklp-stat-table {
	margin-top: 14px;
	padding: 20px;
	border: 1px solid var(--mklp-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(18, 63, 112, 0.06);
}

.mklp-stat-table h3 {
	margin: 0 0 15px;
	color: var(--mklp-blue-dark);
	font-size: 1.05rem;
}

.mklp-stat-table > div {
	overflow-x: auto;
}

.mklp-stat-table table {
	width: 100%;
	border-collapse: collapse;
}

.mklp-stat-table th,
.mklp-stat-table td {
	padding: 9px 10px;
	border-bottom: 1px solid #e7edf2;
	text-align: left;
}

.mklp-stat-table th {
	color: var(--mklp-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 850px) {
	.mklp-stat-filters,
	.mklp-stat-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media print {
	body.mklp-standalone-page { background: #fff; }
	.mklp-statistics { max-width: none; padding: 0; }
	.mklp-statistics .mklp__session,
	.mklp-statistics .mklp-tool__nav,
	.mklp-stat-filters,
	.mklp-statistics .mklp-primary-button,
	.mklp-statistics .mklp-secondary-button { display: none !important; }
	.mklp-stat-chart,
	.mklp-stat-kpis article,
	.mklp-stat-table { box-shadow: none; break-inside: avoid; }
}

@media (max-width: 720px) {
	.mklp-case-toolbar,
	.mklp-case-form__heading,
	.mklp-case-row {
		align-items: stretch;
		flex-direction: column;
	}

	.mklp-case-grid,
	.mklp-case-steps,
	.mklp-case-detail-grid {
		grid-template-columns: 1fr;
	}

	.mklp-case-row__actions {
		flex-wrap: wrap;
	}

	.mklp-case-row__controls {
		align-items: flex-start;
		justify-content: flex-start;
		flex-direction: column;
	}

	.mklp-case-form__footer {
		flex-wrap: wrap;
	}

	.mklp-case-view__heading {
		align-items: stretch;
		flex-direction: column;
	}

	.mklp-case-status-menu__panel {
		right: auto;
		left: 0;
	}

	.mklp-stat-grid,
	.mklp-stat-filters,
	.mklp-stat-kpis {
		grid-template-columns: 1fr;
	}
}
