/* SPDX-License-Identifier: AGPL-3.0-only
 * TASKS layout adapter. Brand tokens come from the live Miloslav Hub CSS.
 * No WordPress reset or copied central stylesheet belongs in this file.
 */
html.mh-tasks {
  --accent1: var(--mh-blue, #076a9f);
  --accent2: var(--mh-blue-dark, #04527d);
  --accent1-hover: var(--mh-blue-dark, #04527d);
  --accent2-hover: var(--mh-ink, #08233e);
  --focus-ring-color: var(--mh-blue, #076a9f);
  --header-gradient: linear-gradient(120deg, var(--mh-ink, #08233e), var(--mh-blue-dark, #04527d));
  --element-gradient: var(--header-gradient);
}
.mh-tasks :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--mh-blue, #076a9f);
  outline-offset: 4px;
}
.mh-tasks .header :where(a, button):focus-visible {
  outline-color: #fff;
}
.mh-tasks .mh-tasks-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  font-family: var(--mh-sans, "Segoe UI", Arial, sans-serif);
}
.mh-tasks .mh-tasks-brand img { width: 54px; height: 54px; flex: none; }
.mh-tasks .mh-tasks-brand span { display: grid; gap: 3px; }
.mh-tasks .mh-tasks-brand strong { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mh-tasks .mh-tasks-brand small { font-size: 11px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.mh-tasks .header .logo { width: auto; min-width: 190px; }
.mh-tasks .header .logo .mh-tasks-brand { height: 54px; padding: 6px 14px; background: none; color: #fff; }
.mh-tasks .header .mh-tasks-brand img { width: 34px; height: 34px; }
.mh-tasks .header .mh-tasks-brand strong { font-size: 15px; }
.mh-tasks .header .mh-tasks-brand small { font-size: 10px; }
.mh-tasks body.loginpage {
  min-height: 100vh;
  margin: 0;
  color: var(--mh-ink, #08233e);
  background: var(--mh-background, #edf5fa);
  font-family: var(--mh-sans, "Segoe UI", Arial, sans-serif);
}
.mh-tasks .mh-tasks-skip {
  position: absolute;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--mh-ink, #08233e);
  transform: translateY(-180%);
}
.mh-tasks .mh-tasks-skip:focus { transform: none; }
.mh-tasks .mh-tasks-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  width: min(1180px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px);
  box-sizing: border-box;
}
.mh-tasks .mh-tasks-entry > * { min-width: 0; }
.mh-tasks .mh-tasks-eyebrow {
  margin: 42px 0 16px;
  color: var(--mh-blue-dark, #04527d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mh-tasks .mh-tasks-intro h2 {
  margin: 0 0 22px;
  color: var(--mh-ink, #08233e);
  font-family: var(--mh-serif, Georgia, serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -.025em;
}
.mh-tasks .mh-tasks-description {
  max-width: 40ch;
  color: var(--mh-text, #3d5d75);
  font-size: 17px;
  line-height: 1.7;
}
.mh-tasks .mh-tasks-home { display: inline-block; margin-top: 24px; color: var(--mh-blue-dark, #04527d); text-decoration: underline; text-underline-offset: 4px; }
.mh-tasks .mh-tasks-form {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--mh-border, rgba(8,35,62,.14));
  border-radius: var(--mh-radius, 20px);
  background: var(--mh-white, #fff);
  box-shadow: var(--mh-shadow, 0 16px 40px rgba(16,50,77,.065));
}
.mh-tasks .mh-tasks-form .pageheader { margin: 0 0 26px; padding: 0; background: none; border: 0; box-shadow: none; }
.mh-tasks .mh-tasks-form .pagetitle { margin: 0; padding: 0; float: none; }
.mh-tasks .mh-tasks-form .pagetitle h1 { margin: 0; color: var(--mh-ink, #08233e); font-size: 28px; line-height: 1.25; }
.mh-tasks .mh-tasks-form .regcontent { width: auto; margin: 0; padding: 0; }
.mh-tasks .mh-tasks-form form > div { margin-bottom: 20px; }
.mh-tasks .mh-tasks-form label { display: block; margin-bottom: 8px; color: var(--mh-ink, #08233e); font-size: 14px; font-weight: 650; }
.mh-tasks .mh-tasks-form input:not([type=hidden]):not([type=checkbox]) {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  font-size: 16px;
  border-radius: 10px;
}
.mh-tasks .mh-tasks-form input:not([type=submit]):not([type=hidden]) {
  color: var(--mh-ink, #08233e);
  background: var(--mh-white, #fff);
  border: 1px solid var(--mh-muted, #52697d);
}
.mh-tasks .mh-tasks-form input[type=submit] { color: #fff; background: var(--mh-blue, #076a9f); border-color: var(--mh-blue, #076a9f); font-weight: 650; }
.mh-tasks .mh-tasks-form input[type=submit]:hover { background: var(--mh-blue-dark, #04527d); }
.mh-tasks .mh-tasks-form .forgotPwContainer { margin-top: 12px; }
.mh-tasks .mh-tasks-form a { color: var(--mh-blue-dark, #04527d); text-decoration: underline; text-underline-offset: 3px; }
.mh-tasks .mh-tasks-legal { margin: 24px 0 0; color: var(--mh-muted, #52697d); font-size: 12px; line-height: 1.7; }
.mh-tasks .mh-tasks-legal a { color: inherit; }
@media (max-width: 780px) {
  .mh-tasks .mh-tasks-entry { grid-template-columns: minmax(0,1fr); gap: 26px; align-content: center; padding: 24px 18px; }
  .mh-tasks .mh-tasks-intro .mh-tasks-eyebrow,
  .mh-tasks .mh-tasks-intro h2,
  .mh-tasks .mh-tasks-description,
  .mh-tasks .mh-tasks-intro .mh-tasks-home { display: none; }
  .mh-tasks .mh-tasks-brand img { width: 44px; height: 44px; }
  .mh-tasks .mh-tasks-form { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-tasks .mh-tasks-entry *, .mh-tasks .mh-tasks-skip { transition: none !important; scroll-behavior: auto !important; }
}

.mh-tasks .mh-tasks-form input::placeholder { color: var(--mh-muted, #52697d); opacity: 1; }
