/* Free tools under /tools/: templates, session ideas, and the invoice and quote makers. Flat, like the onboarding. */

.mk-tl {
  --tl-accent: var(--mk-blue, #047857);
  --tl-ink: var(--mk-ink, #182021);
  --tl-muted: var(--mk-muted, #626968);
  --tl-line: var(--mk-line, #DEDFDB);
  --tl-soft: var(--mk-soft, #F4F5F3);
  --tl-pale: var(--mk-pale-blue, #ecfdf5);
  color: var(--tl-ink);
  background: #FFFFFF;
}

/* ---------- Hero ---------- */

.mk-tl-hero {
  position: relative;
  padding: clamp(36px, 4.5vw, 64px) 0 0;
  background: var(--tl-soft);
  text-align: center;
  overflow: hidden;
}

.mk-tl-hero h1 {
  max-width: 20ch;
  margin: 0 auto 10px;
  font-family: var(--font-display, inherit);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mk-tl-date {
  margin: 0 0 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tl-accent);
}

.mk-tl-lead {
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--tl-muted);
  text-wrap: pretty;
}

.mk-tl-wave {
  display: block;
  height: clamp(32px, 4vw, 56px);
  margin-top: clamp(28px, 4vw, 44px);
  line-height: 0;
}

.mk-tl-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mk-tl-wave path { fill: #FFFFFF; }

.mk-tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--tl-accent);
  color: #FFFFFF;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.mk-tl-btn:hover,
.mk-tl-btn:focus-visible {
  background: var(--mk-blue-dark, #065f46);
  color: #FFFFFF;
}

/* ---------- Page layout ---------- */

.mk-tl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 72px;
}

.mk-tl-legal {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--tl-muted);
}

/* Inside the document, top left and top right: two quiet text links. */
.mk-tl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: calc(clamp(28px, 5vw, 64px) * -0.5) 0 24px;
}

.mk-tl-bar .mk-tl-word,
.mk-tl-bar .mk-tl-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--tl-accent);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.mk-tl-bar .mk-tl-word:hover,
.mk-tl-bar .mk-tl-word:focus-visible,
.mk-tl-bar .mk-tl-copy:hover,
.mk-tl-bar .mk-tl-copy:focus-visible {
  background: none;
  color: var(--mk-blue-dark, #065f46);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-tl-short { display: none; }

.mk-tl-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--tl-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.mk-tl-copy:hover,
.mk-tl-copy:focus-visible { border-color: var(--tl-accent); color: var(--tl-accent); }

.mk-tl-word {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--tl-accent);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.mk-tl-word:hover,
.mk-tl-word:focus-visible { background: var(--mk-blue-dark, #065f46); color: #FFFFFF; }

/* ---------- The document ---------- */

.mk-tl-doc {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: #FFFFFF;
  font-size: 1rem;
  line-height: 1.7;
}

.mk-tl-doc-title {
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tl-line);
  font-family: var(--font-display, inherit);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mk-tl-doc h3 {
  margin: 32px 0 10px;
  font-family: var(--font-display, inherit);
  font-size: 1.125rem;
  font-weight: 700;
}

.mk-tl-doc p { margin: 0 0 14px; }

.mk-tl-doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.mk-tl-doc li { margin-bottom: 6px; }

.mk-tl-doc-note {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--tl-soft);
  font-size: 0.9375rem;
  color: var(--tl-muted);
}

.mk-tl-blank {
  display: inline-block;
  width: 9em;
  height: 1.1em;
  border-bottom: 1px solid var(--tl-ink);
  vertical-align: baseline;
}

.mk-tl-fields { margin: 8px 0 18px; }

.mk-tl-field {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.mk-tl-field > span:first-child {
  flex: none;
  color: var(--tl-muted);
}

.mk-tl-line {
  display: block;
  flex: 1;
  height: 1.4em;
  border-bottom: 1px solid var(--tl-line);
}

.mk-tl-q { margin: 0 0 22px; }

.mk-tl-q .mk-tl-q-text {
  margin: 0 0 4px;
  font-weight: 600;
}

.mk-tl-q .mk-tl-q-hint {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  color: var(--tl-muted);
}

.mk-tl-line--answer { height: 2em; }

.mk-tl-doc .mk-tl-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.mk-tl-choices li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.mk-tl-choices li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid var(--tl-muted);
  border-radius: 3px;
}

.mk-tl-sign {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--tl-line);
}

.mk-tl-sign p {
  margin: 0 0 12px;
  font-weight: 600;
}

/* Below the document */

.mk-tl-use { margin-top: 40px; }

.mk-tl-use h2,
.mk-tl-faq h2,
.mk-tl-related h2 {
  margin: 0 0 14px;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mk-tl-use ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.65;
}

.mk-tl-use li { margin-bottom: 8px; }

.mk-tl-faq { margin-top: 48px; }

.mk-tl-faq details { border-bottom: 1px solid var(--tl-line); }

.mk-tl-faq details:first-of-type { border-top: 1px solid var(--tl-line); }

.mk-tl-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.mk-tl-faq summary::-webkit-details-marker { display: none; }

.mk-tl-faq summary::after {
  content: "+";
  flex: none;
  color: var(--tl-muted);
}

.mk-tl-faq details[open] summary::after { content: "\2212"; }

.mk-tl-faq details p {
  margin: 0 0 18px;
  line-height: 1.65;
  color: var(--tl-muted);
}

/* ---------- Side column: the form and the ad ---------- */

.mk-tl-side {
  position: sticky;
  top: calc(var(--util-h, 0px) + 96px);
  display: grid;
  gap: 20px;
}

.mk-tl-get {
  padding: 24px;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--util-h, 0px) + 96px);
}

.mk-tl-get h2 {
  margin: 0 0 6px;
  font-family: var(--font-display, inherit);
  font-size: 1.1875rem;
  font-weight: 700;
}

.mk-tl-get > p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--tl-muted);
}

.mk-tl-form label,
.mk-tl-maker-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.mk-tl-form input[type="text"],
.mk-tl-form input[type="email"],
.mk-tl-maker-form input:not([type="file"]):not([type="color"]),
.mk-tl-maker-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 6px 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--tl-line);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--tl-ink);
  font: inherit;
  font-weight: 400;
}

.mk-tl-form input::placeholder,
.mk-tl-maker-form input::placeholder,
.mk-tl-maker-form textarea::placeholder { color: #9AA09F; }

.mk-tl-form input:focus,
.mk-tl-maker-form input:focus,
.mk-tl-maker-form textarea:focus {
  border-color: var(--tl-accent);
  outline: 2px solid var(--tl-pale);
}

.mk-tl-form .mk-tl-btn { width: 100%; }

.mk-tl-form .mk-tl-hp {
  position: absolute;
  left: -9999px;
}

.mk-tl-status {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.mk-tl-status:empty { display: none; }

.mk-tl-status.is-error { color: var(--error, #C84A42); }

.mk-tl-status.is-done { color: var(--leaf-deep, #24824C); }

.mk-tl-status a { color: inherit; }

.mk-tl-fine,
.mk-tl-hint {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--tl-muted);
}

/* The one-time name and email pop-up. */
.mk-tl-gate {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--tl-ink);
}

.mk-tl-gate::backdrop { background: rgb(24 32 33 / 0.55); }

.mk-tl-gate form {
  position: relative;
  padding: 28px 26px 22px;
}

.mk-tl-gate h2 {
  margin: 0 0 8px;
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mk-tl-gate form > p:not(.mk-tl-status) {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--tl-muted);
}

.mk-tl-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--tl-soft);
  color: var(--tl-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.mk-tl-get .mk-tl-btn { width: 100%; }

/* The Mankai ad: a reel of scenes. Each scene is a real photo with a real Mankai screenshot floating over it,
   then its own headline, text and button. Scenes wipe in; the photo drifts; the layers move with the pointer. */
.mk-tl-ad {
  --px: 0;
  --py: 0;
  position: relative;
  border-radius: 18px;
  background: var(--tl-ink);
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}

.mk-tl-ad-reel {
  position: relative;
  display: grid;
}

.mk-tl-ad-scene {
  grid-area: 1 / 1;
  display: grid;
  grid-template-rows: 350px auto;
  opacity: 0;
  pointer-events: none;
}

.mk-tl-ad-scene.is-on {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1.4s ease;
}

.mk-tl-ad-scene.is-out {
  z-index: 0;
  opacity: 1;
}

/* While the photos blend, the outgoing words and screenshot step away first, so nothing overlaps. */
.mk-tl-ad-scene.is-out .mk-tl-ad-copy,
.mk-tl-ad-scene.is-out .mk-tl-ad-shot {
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* The picture: the photo drifts slowly, the screenshot floats over it, both nudged by the pointer. */
.mk-tl-ad-visual {
  position: relative;
  overflow: hidden;
}

.mk-tl-ad-photo {
  position: absolute;
  inset: -24px;
  background-position: center;
  background-size: cover;
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px)) scale(1.06);
  transition: transform 0.6s ease-out;
}

.is-on .mk-tl-ad-photo { animation: mk-ad-drift 9s ease-out forwards; }

@keyframes mk-ad-drift {
  from { scale: 1; }
  to { scale: 1.12; }
}

.mk-tl-ad-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(24 32 33 / 0) 30%, rgb(24 32 33 / 0.55) 62%, var(--tl-ink) 100%);
}

.mk-tl-ad-shot {
  --fx: 40px;
  --fy: -40px;
  --tilt: 4deg;
  position: absolute;
  width: min(68%, 340px);
  aspect-ratio: 5 / 4;
  margin: 0;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.45);
  transform: translate(calc(var(--px) * 18px), calc(var(--py) * 12px)) rotate(var(--tilt));
  transition: transform 0.6s ease-out;
}

/* The Mankai screen: drawn in HTML (inc/tools/ad-ui.php). 1em is a 28th of the card's width, so it scales cleanly. */
.mk-tl-ad-shot { container-type: inline-size; color: #182021; }

.ui {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  height: 100%;
  padding: 1.3em 1.4em;
  font: 400 calc(100cqi / 28) / 1.35 Inter, system-ui, sans-serif;
  text-align: left;
}
.ui p { margin: 0; }
.ui b { font-weight: 650; }
.ui small { display: block; font-size: 0.82em; color: #6B7274; }
.ui img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ui-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8em; font-size: 1.12em; }
.ui-top small { font-size: 0.72em; }
.ui-sub { font-size: 0.9em; color: #6B7274; }
.ui-h { margin: 0.35em 0 0.1em; font-size: 1.4em; font-weight: 700; letter-spacing: -0.02em; }
.ui-text { font-size: 0.92em; color: #3E4547; }
.ui-pill { flex: none; padding: 0.25em 0.75em; border-radius: 999px; font-size: 0.74em; font-style: normal; font-weight: 650; }
.ui-pill--dark { background: #182021; color: #FFFFFF; }
.ui-pill--blue { background: #047857; color: #FFFFFF; }
.ui-pill--green { background: #E3F3E9; color: #1E7A45; }
.ui-pill--amber { background: #FBEAD2; color: #9A5B10; }
.ui-btn { align-self: flex-start; padding: 0.55em 1.2em; border-radius: 999px; background: #047857; color: #FFFFFF; font-size: 0.9em; font-weight: 650; }
.ui-btn--sm { padding: 0.45em 0.9em; font-size: 0.72em; }
.ui-btn--line { border: 1px solid #D5D9DD; background: #FFFFFF; color: #182021; }
.ui-btns { display: flex; gap: 0.5em; }
.ui-rows { display: grid; border-top: 1px solid #ECEEF0; }
.ui-rows p { display: flex; justify-content: space-between; padding: 0.55em 0; border-bottom: 1px solid #ECEEF0; font-size: 0.92em; }
.ui-rows span { color: #4A5153; }
.ui-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1em; font-weight: 700; }
.ui-total b { font-size: 1.35em; letter-spacing: -0.02em; }
.ui-ok { display: inline-grid; flex: none; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #1E8A4E; color: #FFFFFF; font-size: 0.8em; font-style: normal; }
.ui-signed { display: flex; align-items: center; gap: 0.8em; margin-top: auto; padding: 0.8em 1em; border: 1px solid #E3E6E8; border-radius: 0.8em; }
.ui-signed span { display: grid; }
.ui-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35em; }
.ui-grid > span { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 0.3em; }
.ui-heart { position: absolute; top: 0.4em; right: 0.4em; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #FFFFFF; color: #B8BEC2; font-size: 0.8em; font-style: normal; }
.ui-heart.is-on { color: #E11D48; }
.ui-seg { display: flex; padding: 0.15em; border: 1px solid #E3E6E8; border-radius: 999px; font-size: 0.66em; }
.ui-seg i { padding: 0.25em 0.8em; border-radius: 999px; font-style: normal; color: #6B7274; }
.ui-seg i.is-on { background: #182021; color: #FFFFFF; }
.ui-day { position: relative; flex: 1; border-top: 1px solid #ECEEF0; }
.ui-day p { height: 20%; border-bottom: 1px solid #F0F2F4; font-size: 0.72em; color: #8A9194; }
.ui-ev { position: absolute; right: 0; left: 4.2em; display: grid; align-content: center; padding: 0 0.8em; border-radius: 0.45em; color: #FFFFFF; font-size: 0.8em; }
.ui-ev--green { background: #1DB46A; }
.ui-ev--blue { background: #047857; }
.ui-qa { display: grid; gap: 0.7em; }
.ui-qa p { padding-bottom: 0.6em; border-bottom: 1px solid #ECEEF0; font-size: 1.02em; }
.ui-qa small { margin-bottom: 0.15em; }
.ui-foot { display: flex; justify-content: space-between; margin-top: auto; font-size: 0.85em; color: #6B7274; }
.ui-foot b { color: #047857; }
.ui--flush { padding: 0; gap: 0; }
.ui-cover { display: block; height: 22%; }
.ui-pad { display: flex; flex-direction: column; padding: 0.9em 1.3em; }
.ui-pad .ui-pill { align-self: flex-start; }
.ui-list { display: grid; margin-top: 0.4em; }
.ui-list p { display: flex; align-items: center; gap: 0.75em; padding: 0.55em 0; border-bottom: 1px solid #ECEEF0; }
.ui-list span { display: grid; flex: 1; font-size: 0.9em; }
.ui-list em { font-size: 0.82em; font-style: normal; font-weight: 600; color: #047857; }
.ui-list em.ui-pill { font-size: 0.72em; }
.ui-ico { display: inline-grid; flex: none; place-items: center; width: 1.7em; height: 1.7em; border-radius: 0.45em; font-size: 0.8em; font-style: normal; font-weight: 700; }
.ui-ico--grey { background: #E9ECEF; color: #4A5153; }
.ui-ico--amber { background: #FBEAD2; color: #9A5B10; }
.ui-hero { display: flex; align-items: center; gap: 0.8em; padding: 0.9em; border-radius: 0.8em; background: #F5F6F8; }
.ui-hero span { display: grid; flex: 1; }
.ui-hero strong { font-size: 1.4em; letter-spacing: -0.02em; }
.ui-av { display: grid; flex: none; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #4A6B8C; color: #FFFFFF; font-size: 0.85em; font-style: normal; font-weight: 700; }
.ui--canvas { background: radial-gradient(#DCE0E5 1px, transparent 1px) 0 0 / 1.2em 1.2em, #F7F8FA; }
.ui-flow { display: grid; gap: 1.1em; margin: auto 0; }
.ui-node { position: relative; justify-self: center; width: 72%; padding: 0.6em 0.9em; border: 1px solid #E1E4E8; border-radius: 0.6em; background: #FFFFFF; box-shadow: 0 0.3em 0.8em rgb(24 32 33 / 0.06); font-size: 0.88em; }
.ui-node--r { justify-self: center; }
.ui-node + .ui-node::before { content: ""; position: absolute; top: -1.15em; left: 50%; width: 1px; height: 1.15em; background: #9ff2d1; }
.ui-node-tag { display: block; margin: -0.6em -0.9em 0.45em; padding: 0.3em 0.9em; border-radius: 0.6em 0.6em 0 0; color: #FFFFFF; font-size: 0.72em; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.ui-node-tag--blue { background: #2F6BEF; }
.ui-node-tag--amber { background: #F2A01A; }
.ui-node-tag--green { background: #1DB46A; }

/* It comes out of a corner and runs off the edge: top right, then bottom right, taking turns. */
.mk-tl-ad-shot--tr { top: 18px; right: var(--ad-bleed, -12px); }

.mk-tl-ad-shot--br { --fy: 40px; --tilt: -4deg; right: var(--ad-bleed, -12px); bottom: 84px; }

.is-on .mk-tl-ad-shot { animation: mk-ad-rise 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both; }

@keyframes mk-ad-rise {
  from { opacity: 0; translate: var(--fx) var(--fy); }
  to { opacity: 1; translate: 0 0; }
}

/* The words: label, headline landing word by word, one line, and the button. */
.mk-tl-ad-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  margin-top: -64px;
  padding: 0 24px 52px;
  background: none;
}

.mk-tl-ad-copy p { margin: 0; }

.mk-tl-ad-kicker {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.6);
}

.mk-tl-ad-head {
  font-family: var(--font-display, inherit);
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mk-tl-ad-head span {
  display: inline-block;
}

.is-on .mk-tl-ad-head span {
  animation: mk-ad-word 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 0.06s + 0.6s);
}

@keyframes mk-ad-word {
  from { opacity: 0; translate: 0 0.25em; }
  to { opacity: 1; translate: 0 0; }
}

.mk-tl-ad-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgb(255 255 255 / 0.78);
}

.is-on .mk-tl-ad-text,
.is-on .mk-tl-ad-cta { animation: mk-ad-word 0.9s ease-out 1.1s both; }

.mk-tl-ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-top: 6px;
  padding: 0 20px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--tl-ink);
  font-weight: 600;
  text-decoration: none;
}

.mk-tl-ad-cta:hover,
.mk-tl-ad-cta:focus-visible { background: var(--tl-pale); color: var(--tl-ink); }

/* A dot per scene along the bottom; the current one is a short white bar. */
.mk-tl-ad-dots {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  display: flex;
}

.mk-tl-ad-dots[hidden] { display: none; }

.mk-tl-ad-dots button {
  display: grid;
  place-items: center;
  width: 14px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mk-tl-ad-dots button::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.3);
  transition: width 0.4s ease, background 0.4s ease;
}

.mk-tl-ad-dots button[aria-current="true"] { width: 24px; }

.mk-tl-ad-dots button[aria-current="true"]::before { width: 16px; background: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .mk-tl-ad *,
  .mk-tl-ad-scene { animation: none; transition: none; }
}

/* ---------- Related templates ---------- */

.mk-tl-related {
  padding: 56px 0 72px;
  background: var(--tl-soft);
}

/* Three cards in a still row, with the "View all" button beside the heading. */
.mk-tl-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.mk-tl-related-head h2 { margin: 0; }

.mk-tl-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tl-accent);
  font-weight: 600;
  text-decoration: none;
}

.mk-tl-viewall:hover,
.mk-tl-viewall:focus-visible {
  color: var(--mk-blue-dark, #065f46);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The "More ..." row: three cards across, swipe or scroll for the rest, a dot per page. */
.mk-tl-cards.mk-tl-rail {
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 40px) / 3);
  grid-auto-flow: column;
  padding-bottom: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mk-tl-rail::-webkit-scrollbar { display: none; }

.mk-tl-rail > li { scroll-snap-align: start; }

.mk-tl-rail-dots {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.mk-tl-rail-dots:empty { display: none; }

.mk-tl-rail-dots button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mk-tl-rail-dots button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tl-line);
  transition: width 0.25s ease, background 0.25s ease;
}

.mk-tl-rail-dots button[aria-current="true"] { width: 26px; }

.mk-tl-rail-dots button[aria-current="true"]::before {
  width: 18px;
  background: var(--tl-accent);
}

@media (max-width: 900px) {
  .mk-tl-cards.mk-tl-rail { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 640px) {
  .mk-tl-cards.mk-tl-rail { grid-template-columns: none; grid-auto-columns: 86%; }
  /* On a phone the screen stays inside the card, so nothing on it is cut off. */
  .mk-tl-ad { --ad-bleed: 12px; }
}

/* A session type's photo: one fixed 2:1 frame on every card, so rows line up and nothing shifts as it loads. */
.mk-tl-card-photo {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  background: var(--tl-pale);
  overflow: hidden;
}

.mk-tl-card-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.mk-tl-card-photo.is-blank {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tl-accent);
}

.mk-tl-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-tl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.mk-tl-card:hover,
.mk-tl-card:focus-visible { border-color: var(--tl-accent); }

.mk-tl-card-paper {
  display: block;
  height: 196px;
  padding: 90px 15% 0;
  background-color: var(--tl-soft);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.mk-tl-card-paper > span { display: block; }

.mk-tl-card-kind {
  padding: 18px 20px 0;
  box-shadow: 0 -6px 24px rgb(0 0 0 / 0.18);
  border: 1px solid var(--tl-line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--tl-accent);
}

.mk-tl-card-doc {
  padding: 6px 20px 0;
  border-right: 1px solid var(--tl-line);
  border-left: 1px solid var(--tl-line);
  background: #FFFFFF;
  font-family: var(--font-display, inherit);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.mk-tl-card-lines {
  padding: 12px 20px 18px;
  border-right: 1px solid var(--tl-line);
  border-left: 1px solid var(--tl-line);
  background: #FFFFFF;
}

.mk-tl-card-lines i {
  display: block;
  height: 5px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--tl-line);
}

.mk-tl-card-lines i:nth-child(2) { width: 86%; }
.mk-tl-card-lines i:nth-child(3) { width: 92%; }
.mk-tl-card-lines i:nth-child(4) { width: 64%; }
.mk-tl-card-lines i:nth-child(5) { width: 78%; }

.mk-tl-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  border-top: 1px solid var(--tl-line);
}

.mk-tl-card-title {
  font-family: var(--font-display, inherit);
  font-size: 1.125rem;
  font-weight: 700;
}

.mk-tl-card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--tl-muted);
}

.mk-tl-card-count {
  margin-top: auto;
  padding-top: 4px;
  font-weight: 600;
  color: var(--tl-accent);
}

/* ---------- Session ideas: picture and text, swapping sides down the page ---------- */

.mk-tl-ideas {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  margin: 0;
  padding: 24px 0 clamp(48px, 6vw, 88px);
  list-style: none;
}

.mk-tl-idea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

/* Photo and text take turns sides on wide screens. Phones always show the photo first (one column). */
@media (min-width: 761px) {
  .mk-tl-idea:nth-child(even) .mk-tl-idea-img { order: 2; }
  /* The list picks up again after the ad at idea 6, which keeps the alternation going. */
  .mk-tl-ideas[start="6"] .mk-tl-idea:nth-child(odd) .mk-tl-idea-img { order: 2; }
  .mk-tl-ideas[start="6"] .mk-tl-idea:nth-child(even) .mk-tl-idea-img { order: 0; }
}

.mk-tl-idea-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--tl-pale), var(--tl-soft));
  overflow: hidden;
}

.mk-tl-idea-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-tl-idea-img span {
  font-family: var(--font-display, inherit);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  color: rgb(4 120 87 / 0.18);
}

.mk-tl-idea-num {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tl-accent);
}

.mk-tl-idea-text h2 {
  margin: 0 0 14px;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mk-tl-idea-text p:last-child {
  max-width: 52ch;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tl-muted);
}

/* Halfway down: the Mankai ad across both columns, with room above and below so it reads as an ad. */
.mk-tl-ad-wide { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 104px); }

.mk-tl-ad-wide .mk-tl-ad { border-radius: 24px; }

.mk-tl-ad-wide .mk-tl-ad-reel { min-height: 440px; }

.mk-tl-ad-wide .mk-tl-ad-scene { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }

.mk-tl-ad-wide .mk-tl-ad-visual { margin-left: -18%; }

.mk-tl-ad-wide .mk-tl-ad-visual { order: 2; }

.mk-tl-ad-wide .mk-tl-ad-shade { background: linear-gradient(90deg, var(--tl-ink) 0%, rgb(24 32 33 / 0.7) 22%, rgb(24 32 33 / 0) 55%); }

.mk-tl-ad-wide .mk-tl-ad-reel { min-height: 460px; }

.mk-tl-ad-wide .mk-tl-ad-shot { width: min(60%, 380px); }

.mk-tl-ad-wide .mk-tl-ad-shot--tr { top: 32px; }

.mk-tl-ad-wide .mk-tl-ad-shot--br { bottom: 32px; }

.mk-tl-ad-wide .mk-tl-ad-copy { align-content: center; gap: 14px; margin-top: 0; padding: 48px 32px 64px 56px; }

.mk-tl-ad-wide .mk-tl-ad-head { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }

.mk-tl-ad-wide .mk-tl-ad-text { max-width: 38ch; font-size: 1.0625rem; }

.mk-tl-ad-wide .mk-tl-ad-dots { left: 50px; bottom: 22px; }

/* The end of the page: prompts and what to bring, side by side with room to breathe. */
.mk-tl-idea-end {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 88px;
  border-top: 1px solid var(--tl-line);
}

.mk-tl-idea-end .mk-tl-use {
  margin-top: 0;
  padding: 44px 48px 8px 0;
}

.mk-tl-idea-end .mk-tl-use + .mk-tl-use {
  padding-right: 0;
  padding-left: 48px;
  border-left: 1px solid var(--tl-line);
}

.mk-tl-idea-end .mk-tl-use h2 { margin-bottom: 20px; }

.mk-tl-idea-end .mk-tl-use ul {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.mk-tl-idea-end .mk-tl-use li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.mk-tl-use--prompts li::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 0;
  font-family: var(--font-display, inherit);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tl-accent);
}

.mk-tl-use--bring li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--tl-accent);
  border-radius: 4px;
}

/* ---------- Full lists ---------- */

.mk-tl-list { padding: 16px 0 72px; }

.mk-tl-list-group { padding: 24px 0; }

.mk-tl-list-group h2 {
  margin: 0 0 20px;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
}

@media (max-width: 900px) {
  .mk-tl-ad-wide .mk-tl-ad-scene { grid-template-columns: none; grid-template-rows: 350px auto; }
  .mk-tl-ad-wide .mk-tl-ad-visual { order: 0; margin-left: 0; }
  .mk-tl-ad-wide .mk-tl-ad-shade { background: linear-gradient(180deg, rgb(24 32 33 / 0) 30%, rgb(24 32 33 / 0.55) 62%, var(--tl-ink) 100%); }
  .mk-tl-ad-wide .mk-tl-ad-reel { min-height: 0; }
  .mk-tl-ad-wide .mk-tl-ad-scene { grid-template-rows: 350px auto; }
  .mk-tl-ad-wide .mk-tl-ad-shot { width: min(66%, 330px); }
  .mk-tl-ad-wide .mk-tl-ad-shot--tr { top: 18px; }
  .mk-tl-ad-wide .mk-tl-ad-shot--br { bottom: 84px; }
  .mk-tl-ad-wide .mk-tl-ad-copy { margin-top: -64px; padding: 0 24px 52px; }
  .mk-tl-ad-wide .mk-tl-ad-dots { left: 18px; bottom: 16px; }
}

@media (max-width: 760px) {
  .mk-tl-idea,
  .mk-tl-idea-end { grid-template-columns: minmax(0, 1fr); }
  .mk-tl-idea-end .mk-tl-use { padding: 32px 0 8px; }
  .mk-tl-idea-end .mk-tl-use + .mk-tl-use { padding-left: 0; border-top: 1px solid var(--tl-line); border-left: 0; }
}

/* ---------- Invoice and quote makers ---------- */

.mk-tl-maker {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 16px;
  padding-bottom: 72px;
}

/* Form sections: a card with a header button; closed, it shows what is filled in. On phones only the first starts open. */
.mk-tl-acc {
  margin: 0 0 14px;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: #FFFFFF;
}

.mk-tl-acc-title { margin: 0; }

.mk-tl-acc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 16px;
  background: none;
  color: var(--tl-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mk-tl-acc-head:focus-visible { outline: 2px solid var(--tl-accent); outline-offset: -2px; }

.mk-tl-acc-label {
  font-family: var(--font-display, inherit);
  font-size: 1.0625rem;
  font-weight: 700;
}

.mk-tl-acc-sum {
  grid-column: 1;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--tl-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-tl-acc-head[aria-expanded="true"] .mk-tl-acc-sum { display: none; }

.mk-tl-acc-chev {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--tl-muted);
  transition: transform 0.2s ease;
}

.mk-tl-acc-head[aria-expanded="true"] .mk-tl-acc-chev { transform: rotate(180deg); }

.mk-tl-acc-panel { padding: 0 20px 6px; }

.mk-tl-acc-panel[hidden] { display: none; }

/* The logo chooser: a drop zone with the real file input laid over it, so click, keyboard and drop all work natively. */
.mk-tl-drop { margin: 0 0 14px; }

.mk-tl-drop [hidden] { display: none; }

.mk-tl-drop-title {
  display: block;
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.mk-tl-drop-zone { position: relative; }

.mk-tl-drop-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.mk-tl-drop-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px 16px;
  border: 1.5px dashed #BDC3C0;
  border-radius: 12px;
  background: var(--tl-soft);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mk-tl-drop-zone:hover .mk-tl-drop-face,
.mk-tl-drop-zone.is-over .mk-tl-drop-face {
  border-color: var(--tl-accent);
  background: var(--tl-pale);
}

.mk-tl-drop-input:focus-visible + .mk-tl-drop-face {
  border-color: var(--tl-accent);
  outline: 2px solid var(--tl-accent);
  outline-offset: 2px;
}

.mk-tl-drop-zone.is-error .mk-tl-drop-face {
  border-color: var(--error, #C84A42);
  background: var(--error-tint, #F8E8E6);
}

.mk-tl-drop-icon {
  box-sizing: content-box;
  padding: 9px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--tl-line);
  color: var(--tl-accent);
}

.mk-tl-drop-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
}

.mk-tl-drop-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--tl-accent);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
}

.mk-tl-drop-zone:hover .mk-tl-drop-btn { background: var(--mk-blue-dark, #065f46); }

.mk-tl-drop-or {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--tl-muted);
}

.mk-tl-drop-help {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--tl-muted);
}

/* A phone has no dropping: only the button is offered. */
@media (hover: none) {
  .mk-tl-drop-or { display: none; }
}

/* The chosen file: a thumbnail, its name and size, and a Remove link. */
.mk-tl-drop-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--tl-line);
  border-radius: 12px;
  background: #FFFFFF;
}

.mk-tl-drop-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  border: 1px solid var(--tl-line);
  border-radius: 8px;
  background: #FFFFFF;
  object-fit: contain;
}

.mk-tl-drop-meta {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.mk-tl-drop-name {
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-tl-drop-size {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--tl-muted);
}

.mk-tl-drop-remove {
  flex: none;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--tl-accent);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mk-tl-drop-remove:hover { color: var(--mk-blue-dark, #065f46); }

.mk-tl-drop-remove:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--tl-accent);
  outline-offset: 2px;
}

.mk-tl-drop-error {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #9C2F27; /* deeper than --error so small text keeps its contrast */
}

.mk-tl-maker-form input[type="color"] {
  display: block;
  width: 56px;
  height: 36px;
  margin: 6px 0 14px;
  padding: 2px;
  border: 1px solid var(--tl-line);
  border-radius: 8px;
  background: #FFFFFF;
}

.mk-tl-maker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mk-tl-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tl-line);
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.mk-tl-maker-form .mk-tl-item input:not([type="file"]):not([type="color"]) { margin: 0; font-size: 0.875rem; }

.mk-tl-item [data-f="label"] { grid-column: 1 / -1; }

.mk-tl-item button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--tl-soft);
  color: var(--tl-muted);
  font-size: 1.125rem;
  cursor: pointer;
}

.mk-tl-add {
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tl-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.mk-tl-maker-form > .mk-tl-btn { width: 100%; }

.mk-tl-maker-preview {
  position: sticky;
  top: calc(var(--util-h, 0px) + 96px);
  display: grid;
  gap: 20px;
}

.mk-tl-maker-sheet.cp-doc-sheet--screen {
  padding: 0;
  background: none;
}

.mk-tl-maker-sheet .cp-doc-sheet__card {
  min-height: 0;
  max-width: 816px;
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1080px) {
  .mk-tl-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .mk-tl-maker { grid-template-columns: 340px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 900px) {
  .mk-tl-layout,
  .mk-tl-maker { grid-template-columns: minmax(0, 1fr); }
  .mk-tl-side,
  .mk-tl-maker-preview { position: static; }
  .mk-tl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Two cards side by side between phone and three-up widths: the third would sit alone on a second row. */
@media (min-width: 641px) and (max-width: 900px) {
  .mk-tl-related .mk-tl-cards > li:nth-child(n + 3) { display: none; }
}

@media (max-width: 640px) {
  .mk-tl-cards { grid-template-columns: minmax(0, 1fr); }
  .mk-tl-doc { padding: 24px 20px; border-radius: 12px; }
  .mk-tl-bar { margin: -8px 0 18px; }
  .mk-tl-long { display: none; }
  .mk-tl-short { display: inline; }
  .mk-tl-field { flex-wrap: wrap; gap: 4px; }
  .mk-tl-field .mk-tl-line { flex-basis: 100%; }
  .mk-tl-blank { width: 6em; }
}

/* Phones and tablets: the sections you edit, then the invoice itself, then Download PDF and its note, then the ad. */
@media (max-width: 900px) {
  .mk-tl-maker { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .mk-tl-maker-form,
  .mk-tl-maker-preview { display: contents; }
  .mk-tl-maker-form > .mk-tl-acc { order: 1; }
  .mk-tl-maker-sheet { order: 2; margin: 10px 0 18px; }
  .mk-tl-maker-form > .mk-tl-btn { order: 3; width: 100%; margin-top: 18px; }
  .mk-tl-maker-form > .mk-tl-hint { order: 4; margin-bottom: 28px; }
  .mk-tl-maker-preview > .mk-tl-ad { order: 5; }
}

/* Desktop has room for everything: the sections stay open, with no chevron and nothing to fold. */
@media (min-width: 901px) {
  .mk-tl-acc-head { cursor: default; }
  .mk-tl-acc-chev { display: none; }
}
