
html.mk-on { --mk-side-w: 0px; }
html.mk-on body { margin: 0; background: var(--mk-page); color: var(--mk-body); font-family: var(--mk-font); font-size: 15px; line-height: 1.55; font-weight: 400; }
html.mk-on.mk-drawer body { overflow: hidden; }

.mk-skip { position: absolute; left: -9999px; top: 8px; z-index: 3000; padding: 10px 16px; border-radius: 8px; background: var(--mk-surface); color: var(--mk-text); font-weight: 700; }
.mk-skip:focus { left: 8px; }

.mk-topm { position: sticky; top: 0; z-index: 1900; height: 56px; padding: 0 6px; display: flex; align-items: center; gap: 4px; background: var(--mk-chrome); box-sizing: border-box; }
.mk-topm .mk-logo img { height: 24px; width: auto; display: block; margin-left: 2px; }
.mk-topm .mk-grow { flex: 1 1 auto; }
.mk-ib { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; border-radius: 10px; background: transparent; color: var(--mk-chrome-text); cursor: pointer; text-decoration: none; }
html.mk-on a.mk-ib, html.mk-on a.mk-ib:visited { color: var(--mk-chrome-text); font-weight: inherit; }
html.mk-on .mk-ib:hover, html.mk-on .mk-ib:focus { background: var(--mk-chrome-2); color: var(--mk-chrome-text); text-decoration: none; }
.mk-ib:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: 1px; }
.mk-av { width: 32px; height: 32px; border-radius: 50%; background: var(--mk-avatar); color: var(--mk-avatar-text); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }

.mk-side { position: fixed; z-index: 2000; top: 0; bottom: 0; left: 0; width: 300px; max-width: calc(100vw - 48px); box-sizing: border-box; display: flex; flex-direction: column; padding: 6px 10px 12px; background: var(--mk-chrome); color: var(--mk-chrome-text); transform: translateX(-105%); visibility: hidden; transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 220ms; box-shadow: var(--mk-shadow-2); }
html.mk-drawer .mk-side { transform: none; visibility: visible; transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.mk-scrim { position: fixed; inset: 0; z-index: 1990; background: var(--mk-scrim); opacity: 0; visibility: hidden; transition: opacity 200ms, visibility 0s linear 200ms; border: 0; padding: 0; margin: 0; width: 100%; cursor: pointer; }
html.mk-drawer .mk-scrim { opacity: 1; visibility: visible; transition: opacity 200ms; }
.mk-side * { box-sizing: border-box; }
.mk-side-h { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; margin: 0 0 8px; padding-left: 6px; }
.mk-side-h img { height: 24px; width: auto; display: block; }
.mk-side-h .mk-mark { display: none; }
.mk-side .mk-fold { display: none; }
.mk-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
html.mk-on .mk-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--mk-chrome-text); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
html.mk-on .mk-nav a:hover, html.mk-on .mk-nav a:focus { background: var(--mk-chrome-2); color: var(--mk-chrome-text); text-decoration: none; }
html.mk-on .mk-nav a:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: -2px; }
html.mk-on .mk-nav a.on, html.mk-on .mk-nav a.on:hover { background: var(--mk-chrome-on); color: var(--mk-chrome-on-text); }
.mk-nav svg { flex: none; }
.mk-nav .mk-l { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.mk-on .mk-nav a.mk-sub { padding-left: 44px; font-size: 14px; font-weight: 500; color: var(--mk-chrome-text-2); }
html.mk-on .mk-nav a.mk-sub.on { position: relative; background: transparent; color: var(--mk-chrome-text); font-weight: 700; }
html.mk-on .mk-nav a.mk-sub.on:hover, html.mk-on .mk-nav a.mk-sub.on:focus { background: var(--mk-chrome-2); }
html.mk-on .mk-nav a.mk-sub.on::before { content: ''; position: absolute; left: 21px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--mk-chrome-on); }
.mk-subs { display: none; flex-direction: column; gap: 2px; }
.mk-grp.open > .mk-subs { display: flex; margin: 6px 0 8px; }
.mk-grp > a .mk-chev { transition: transform 150ms; opacity: .8; }
.mk-grp.open > a .mk-chev { transform: rotate(90deg); }
.mk-theme { flex: none; display: flex; margin: 0 0 8px; padding: 0 2px; }
.mk-theme-b { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--mk-chrome-text-2); cursor: pointer; }
.mk-theme-b:hover { background: var(--mk-chrome-2); color: var(--mk-chrome-text); }
.mk-theme-b:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: 1px; }
.mk-theme-b .mk-ti, .mk-theme-b .mk-tl { display: none; }
.mk-theme-b { width: auto; gap: 10px; padding: 0 12px; font-size: 14px; font-weight: 600; }
html[data-mk-theme="light"] .mk-ti-light, html[data-mk-theme="dark"] .mk-ti-dark, html:not([data-mk-theme="light"]):not([data-mk-theme="dark"]) .mk-ti-auto { display: block; }
.mk-n { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; background: var(--mk-chrome-on); color: var(--mk-chrome-on-text); }
.mk-n.is-due { background: var(--mk-accent); color: var(--mk-on-accent); }
.mk-order { flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 10px 0 12px; border-radius: 10px; background: var(--mk-chrome-on); font-size: 15px; font-weight: 700; text-decoration: none; }
html.mk-on a.mk-order, html.mk-on a.mk-order:hover, html.mk-on a.mk-order:focus { color: var(--mk-chrome-on-text); text-decoration: none; }
html.mk-on a.mk-order:hover { background: var(--mk-chrome-text); }
.mk-order.mk-order-tk { margin-top: -4px; background: transparent; border: 1px solid var(--mk-chrome-head); }
html.mk-on a.mk-order.mk-order-tk, html.mk-on a.mk-order.mk-order-tk:focus { color: var(--mk-chrome-text); }
html.mk-on a.mk-order.mk-order-tk:hover { background: var(--mk-chrome-2); color: var(--mk-chrome-text); }
@media (min-width: 980px) { .mk-order.mk-order-tk { display: none; } }

.mk-me { flex: none; position: relative; border-top: 1px solid var(--mk-chrome-2); padding-top: 10px; }
.mk-me-b { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 4px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--mk-chrome-text); font: inherit; text-align: left; cursor: pointer; }
.mk-me-b:hover, .mk-me-b[aria-expanded="true"] { background: var(--mk-chrome-2); }
.mk-me-b:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: -2px; }
.mk-me-b .mk-av { width: 34px; height: 34px; flex: none; }
.mk-me-t { flex: 1 1 auto; min-width: 0; }
.mk-me-n { display: block; font-size: 14px; font-weight: 700; color: var(--mk-chrome-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-me-c { display: block; font-size: 12px; color: var(--mk-chrome-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-menu { display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 5; padding: 6px; border-radius: 12px; background: var(--mk-surface); border: 1px solid var(--mk-line); box-shadow: var(--mk-shadow-2); }
.mk-menu.open { display: block; }
.mk-me-m { flex: none; position: relative; }
.mk-menu-m { left: auto; right: 0; bottom: auto; top: calc(100% + 6px); width: 260px; max-width: calc(100vw - 16px); }
html.mk-on .mk-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--mk-text); font-size: 15px; font-weight: 600; text-decoration: none; }
html.mk-on .mk-menu a:hover, html.mk-on .mk-menu a:focus { background: var(--mk-surface-2); color: var(--mk-text); text-decoration: none; }
.mk-menu hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--mk-line); }
html.mk-on .mk-menu .mk-menu-theme { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--mk-text); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
html.mk-on .mk-menu .mk-menu-theme:hover, html.mk-on .mk-menu .mk-menu-theme:focus { background: var(--mk-surface-2); }
html.mk-on .mk-menu .mk-menu-theme:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: -2px; }
.mk-menu-theme .mk-ti, .mk-menu-theme .mk-tl { display: none; }
.mk-menu-theme .mk-ti { flex: none; }

.mk-main { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.mk-bar { display: none; }
.mk-page { flex: 1 0 auto; width: 100%; max-width: 1920px; margin: 0 auto; padding: 20px 16px 40px; box-sizing: border-box; }
html.mk-on .mk-page > .container { width: auto; max-width: none; padding: 0; margin: 0; z-index: auto; }
html.mk-on .mk-page .container { width: auto; max-width: none; }
html.mk-on .mk-page .row { margin-left: -8px; margin-right: -8px; }
html.mk-on .mk-page [class*="col-"] { padding-left: 8px; padding-right: 8px; }

.mk-out .mk-topm { position: static; }

@media (min-width: 980px) {
  html.mk-on.mk-in { --mk-side-w: 248px; }
  html.mk-on.mk-in.mk-folded { --mk-side-w: 72px; }
  .mk-topm { display: none; }
  .mk-out .mk-topm { display: flex; height: 64px; padding: 0 24px; }
  .mk-out .mk-topm .mk-logo img { height: 28px; }
  .mk-scrim { display: none; }
  .mk-side { width: var(--mk-side-w); max-width: none; transform: none; visibility: visible; transition: width 200ms cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: none; padding: 14px 12px; }
  .mk-side .mk-close { display: none; }
  .mk-side .mk-fold { display: inline-flex; color: var(--mk-chrome-text-2); }
  .mk-side-h { margin-bottom: 18px; padding-left: 8px; }
  .mk-side-h img { height: 26px; }
  .mk-main { margin-left: var(--mk-side-w); transition: margin-left 200ms cubic-bezier(0.2, 0.7, 0.2, 1); }
  .mk-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px 20px; flex-wrap: wrap; min-height: 64px; padding: 10px 32px; box-sizing: border-box; background: var(--mk-surface); border-bottom: 1px solid var(--mk-line); }
  html.mk-on .mk-bar a.mk-bl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--mk-text); text-decoration: none; }
  html.mk-on .mk-bar a.mk-bl:hover { color: var(--mk-link-hover); }
  .mk-page { padding: 28px 32px 48px; }
  html.mk-on .mk-page .row { margin-left: -12px; margin-right: -12px; }
  html.mk-on .mk-page [class*="col-"] { padding-left: 12px; padding-right: 12px; }

  html.mk-folded .mk-side-h { justify-content: center; padding-left: 0; }

  html.mk-folded .mk-side-h { flex-direction: column; height: auto; gap: 6px; }
  html.mk-folded .mk-side-h .mk-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  html.mk-folded .mk-side-h .mk-full { display: none; }
  html.mk-folded .mk-side-h .mk-mark { display: block; }
  html.mk-folded .mk-nav .mk-l, html.mk-folded .mk-nav .mk-chev, html.mk-folded .mk-subs, html.mk-folded .mk-me-t, html.mk-folded .mk-order .mk-l { display: none; }
  html.mk-folded.mk-on .mk-nav a { justify-content: center; padding: 0; position: relative; }
  html.mk-folded .mk-nav .mk-n { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; font-size: 11px; }
  html.mk-folded .mk-order { padding: 0; }
  html.mk-folded .mk-me-b { justify-content: center; padding: 4px 0; }
  html.mk-folded .mk-menu { right: auto; width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .mk-side, .mk-scrim, .mk-main { transition: none !important; }
}
@media print {
  .mk-side, .mk-topm, .mk-bar, .mk-scrim { display: none !important; }
  .mk-main { margin: 0 !important; }
}
html.mk-on .mk-nav a.on .mk-n:not(.is-due) { background: var(--mk-chrome); color: var(--mk-chrome-text); }

.mk-tp { display: flex; align-items: center; justify-content: flex-end; gap: 6px; width: max-content; max-width: calc(100% - 32px); min-height: 44px; margin: 4px 16px 0 auto; color: var(--mk-text-2); font-size: 14px; font-weight: 600; text-decoration: none; }
html.mk-on a.mk-tp:hover, html.mk-on a.mk-tp:focus { color: var(--mk-text); text-decoration: underline; }
html.mk-on a.mk-tp { color: var(--mk-text-2); }

@media (min-width: 980px) {
  html.mk-folded .mk-grp > .mk-subs { display: none; position: fixed; left: var(--mk-side-w); top: 0; z-index: 2100; width: 240px; margin-left: 4px; padding: 8px; flex-direction: column; gap: 2px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 10px; box-shadow: var(--mk-shadow-2); }

  html.mk-folded .mk-grp > .mk-subs::after { content: ''; position: absolute; left: -19px; top: 0; bottom: 0; width: 19px; }
  html.mk-folded .mk-grp > .mk-subs::before { content: attr(data-mk-h); display: block; padding: 4px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mk-text-2); }
  html.mk-folded .mk-grp:hover > .mk-subs, html.mk-folded .mk-grp:focus-within > .mk-subs, html.mk-folded .mk-grp.is-fly > .mk-subs { display: flex; }
  html.mk-folded .mk-grp.is-shut > .mk-subs { display: none; }
  html.mk-folded.mk-on .mk-nav .mk-grp > .mk-subs a.mk-sub { justify-content: flex-start; padding: 0 10px; border-radius: 8px; color: var(--mk-text); font-size: 14px; font-weight: 500; white-space: normal; }

  html.mk-folded .mk-nav .mk-grp > .mk-subs .mk-n { position: static; min-width: 22px; height: 22px; line-height: 22px; padding: 0 7px; font-size: 12px; }
  html.mk-folded.mk-on .mk-nav .mk-grp > .mk-subs a.mk-sub:hover, html.mk-folded.mk-on .mk-nav .mk-grp > .mk-subs a.mk-sub:focus { background: var(--mk-surface-2); color: var(--mk-text); }
  html.mk-folded.mk-on .mk-nav .mk-grp > .mk-subs a.mk-sub.on { background: var(--mk-ok-bg); color: var(--mk-text); font-weight: 700; }
  html.mk-folded.mk-on .mk-grp:hover > a, html.mk-folded.mk-on .mk-grp.is-fly > a, html.mk-folded.mk-on .mk-grp:focus-within > a { background: var(--mk-chrome-2); }
  html.mk-folded.mk-on .mk-grp > a.on, html.mk-folded.mk-on .mk-grp:hover > a.on { background: var(--mk-chrome-on); }
}

.mk-co-bar { gap: 6px; padding: 0 10px; }
.mk-co-secure { display: inline-flex; align-items: center; gap: 6px; color: var(--mk-chrome-text-2); font-size: 13px; font-weight: 600; margin-right: 4px; }
.mk-co-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 8px; color: var(--mk-chrome-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.mk-co-link:hover, .mk-co-link:focus { background: var(--mk-chrome-2); color: var(--mk-chrome-text); text-decoration: none; }
.mk-co-wide { display: none; }
@media (min-width: 600px) { .mk-co-wide { display: inline; } }
@media (min-width: 980px) { html.mk-folded .mk-grp > .mk-subs { margin-top: 0; margin-bottom: 0; } html.mk-folded.mk-on .mk-nav .mk-grp > .mk-subs a.mk-sub.on::before { display: none; } }
html.mk-on .mk-co-bar a.mk-co-link, html.mk-on .mk-co-bar a.mk-co-link:hover, html.mk-on .mk-co-bar a.mk-co-link:focus { color: var(--mk-chrome-text); }
@media (min-width: 980px) { html.mk-folded .mk-theme { justify-content: center; padding: 0; } html.mk-folded .mk-theme-b { width: 44px; padding: 0; } html.mk-folded .mk-theme-b .mk-tl { display: none !important; } }
html.mk-on [id] { scroll-margin-top: 96px; }
.mk-dlg { width: min(440px, calc(100vw - 32px)); padding: 22px 22px 18px; border: 1px solid var(--mk-line); border-radius: 14px; background: var(--mk-surface); color: var(--mk-text); box-shadow: var(--mk-shadow-2); font-family: inherit; }
.mk-dlg::backdrop { background: var(--mk-scrim); }
.mk-dlg-text { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--mk-text); }
.mk-dlg-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.mk-dlg-acts button { min-height: 44px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.mk-dlg-no { border: 1px solid var(--mk-line-strong); background: var(--mk-surface); color: var(--mk-text); }
.mk-dlg-ok { border: 0; background: var(--mk-brand); color: var(--mk-on-brand); }
.mk-dlg-ok.is-danger { background: var(--mk-accent); color: var(--mk-on-accent); }
.mk-dlg button:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: 2px; }
.kq-staff { outline: 1px dashed var(--mk-line-strong); outline-offset: -1px; border-radius: 10px; }
.kq-stag { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 11px; font-weight: 600; line-height: 1.4; color: var(--mk-text-2); background: var(--mk-surface-2); border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.kq-stag svg { width: 12px; height: 12px; flex-shrink: 0; }
html.mk-folded .mk-nav .kq-stag { display: none; }
.kq-stag-i { padding: 3px; background: transparent; color: inherit; opacity: 0.8; }
.kq-stag-i svg { width: 14px; height: 14px; }
.kq-stag-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mk-3ds { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 32px auto 48px; padding: 28px 20px; max-width: 620px; box-sizing: border-box; text-align: center; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 14px; }
.mk-3ds-ic { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mk-accent); color: var(--mk-on-accent); }
html.mk-on .mk-3ds h1 { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--mk-text); }
html.mk-on .mk-3ds p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: var(--mk-text-2); }
html.mk-on .mk-3ds p b { color: var(--mk-text); }
.mk-3ds-wait { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--mk-text-2); }
.mk-3ds-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--mk-line); border-top-color: var(--mk-brand); animation: mk3dsSpin 900ms linear infinite; }
@keyframes mk3dsSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mk-3ds-spin { animation: none; } }
.mk-3ds-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.mk-3ds-frm .errorbox { margin-top: 10px; font-size: 14px; color: var(--mk-text-2); }
.mk-3ds [hidden] { display: none !important; }
@media (max-width: 600px) { .mk-3ds { margin: 16px 16px 32px; padding: 22px 16px; } .mk-3ds-acts .mk-btn { width: 100%; } }
