:root {
  --otm-shell-width: 1320px;
  --otm-gutter: clamp(16px, 3vw, 32px);
  --otm-section-gap: clamp(20px, 3vw, 36px);
  --otm-surface: #fff;
  --otm-border: #dce6f0;
  --otm-text: #153554;
}

body.otm-public-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.otm-public-page main.otm-public-main.wrap {
  width: 100%;
  max-width: var(--otm-shell-width);
  padding: var(--otm-section-gap) var(--otm-gutter);
  flex: 1 0 auto;
}

.otm-public-page main.otm-public-main.wrap:has(.otm-news-public) {
  padding: 0;
}

.otm-public-page .otm-public-header__bar,
.otm-public-page .otm-public-footer__inner {
  max-width: var(--otm-shell-width);
  padding-inline: var(--otm-gutter);
}

body.layout-sticky-subnav .mdk-header-layout__content.page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
}

body.layout-sticky-subnav .page > :where(.page__container,.page__heading-container):not(.page__header-nav) {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--otm-shell-width);
  margin-inline: auto;
  padding-inline: var(--otm-gutter);
}

body.layout-sticky-subnav #header .navbar-main {
  padding-inline: 0 !important;
  border-bottom: 1px solid var(--otm-border);
}

body.layout-sticky-subnav #header .navbar-main > .container-fluid {
  width: 100%;
  max-width: var(--otm-shell-width);
  margin-inline: auto;
  padding-inline: var(--otm-gutter) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: clamp(8px, 1.5vw, 24px);
  position: relative;
}

body.layout-sticky-subnav #header .navbar-main > .container-fluid > :is(.logo-container,.nav,.search-form,.dropdown,.otm-account-tools) {
  float: none;
  margin: 0 !important;
  align-self: center !important;
}

body.layout-sticky-subnav #header .navbar-main .logo-container {
  order: 1;
  width: clamp(110px, 14vw, 178px) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

body.layout-sticky-subnav #header .navbar-main .logo-container a {
  padding: 0 !important;
  justify-content: flex-start !important;
}

body.layout-sticky-subnav #header .navbar-main .logo-container .logo-img {
  display: block;
  width: 100% !important;
  max-height: 40px !important;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

body.layout-sticky-subnav #header .navbar-main .search-form {
  order: 2;
  position: static !important;
  width: min(25vw, 290px);
  min-width: 0;
  max-width: 290px;
  flex: 0 1 290px !important;
}

body.layout-sticky-subnav #header .navbar-main .search-form input {
  min-width: 0;
}

body.layout-sticky-subnav #header .navbar-main > .container-fluid > .nav {
  order: 3;
  margin-inline-start: auto !important;
  white-space: nowrap;
}

body.layout-sticky-subnav #header .navbar-main > .container-fluid > .otm-account-tools {
  order: 3;
  margin-inline-start: auto !important;
  flex: 0 0 auto;
  gap: clamp(2px, .9vw, 14px);
  white-space: nowrap;
}

body.layout-sticky-subnav #header .navbar-main .otm-account-tools > .dropdown {
  margin-inline-end: 0 !important;
}

body.layout-sticky-subnav #header .navbar-main > .container-fluid > .dropdown {
  order: 4;
  flex: 0 0 auto;
}

body.layout-sticky-subnav #header .navbar-main :is(.notification-icon,.navbar-toggler-dashboard) {
  margin: 0 !important;
  border: 0 !important;
  padding: 0 8px !important;
  min-width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

body.layout-sticky-subnav #header .navbar-main .navbar-toggler-dashboard img {
  width: 26px;
  height: 26px;
  object-fit: cover;
}

body.layout-sticky-subnav #header #notification-popup,
body.layout-sticky-subnav #header .navbar-company-menu {
  max-width: calc(100vw - 2 * var(--otm-gutter));
  max-height: min(70dvh, 460px);
  overflow-y: auto;
}

body.layout-sticky-subnav #header .navbar-company-menu .dropdown-item {
  white-space: normal;
}

.otm-mobile-signin {
  display: none;
}

body.layout-sticky-subnav .page__header-nav .navbar-secondary {
  width: 100%;
  margin: 0 !important;
}

body.layout-sticky-subnav .page__header-nav .navbar-nav {
  gap: 0;
}

.otm-site-footer {
  flex: 0 0 auto;
  margin-block-start: auto;
  padding-block: 20px;
  background: #122742;
  color: #e1ebf4;
}

.otm-site-footer__inner {
  width: 100%;
  max-width: var(--otm-shell-width);
  margin-inline: auto;
  padding-inline: var(--otm-gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px 24px;
  font-size: .875rem;
}

.otm-site-footer__contact,
.otm-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.otm-site-footer :is(a,a:hover) { color: #f2f7fc; }
.otm-site-footer__copyright { text-align: center; }
.otm-site-footer__links { justify-content: flex-end; }

body.layout-sticky-subnav .page > .otm-site-footer {
  margin-block-start: auto;
}

body.layout-sticky-subnav .page > :where(.page__container,.otm-news-host,.otm-home-exam-section):has(+ .otm-site-footer) {
  margin-block-end: var(--otm-section-gap);
}

.otm-home-categories,
.otm-home-exam-section {
  padding-block: var(--otm-section-gap);
}

.otm-author-grid,
.otm-my-exam-grid,
.otm-results-grid {
  gap: clamp(12px, 1.5vw, 22px);
}

.otm-list-page :is(.otm-author-card,.otm-my-exam-card,.otm-result-card) {
  border-radius: 12px;
}

.otm-author-card .otm-author-portrait {
  object-fit: cover;
  border-radius: 12px;
}

.otm-author-card .otm-author-portrait[src="/author.svg"] {
  object-fit: contain;
}

.otm-list-page .otm-author-filters a {
  min-height: 44px;
  border-radius: 8px;
}

.exam-page-wrapper :is(.card-body,.exam-meta,.exam-meta-item,.exam-meta-text) {
  min-width: 0;
}

.exam-page-wrapper .exam-meta-icon {
  flex: 0 0 26px;
}

.exam-page-wrapper .exam-meta-text {
  overflow-wrap: anywhere;
}

.otm-public-page .otm-v15-filter-wrap {
  overflow: visible;
}
.otm-public-page .otm-v14-filterbar.otm-v15-filterbar {
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) !important;
}

.otm-exam-flow,
.otm-payment-flow {
  color: var(--otm-text);
}

.otm-exam-flow > h1,
.otm-payment-flow h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.23;
  overflow-wrap: anywhere;
}

.otm-exam-flow > :is(h1,form,p,.alert,nav,.card),
.otm-payment-flow > :is(h1,.card) {
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
}

.otm-exam-flow > :is(h1,p,.alert,nav),
.otm-payment-flow > h1 {
  margin-block-end: 16px;
}

.otm-exam-flow nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.otm-exam-flow nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.otm-exam-flow .card,
.otm-payment-flow .card {
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(21, 53, 84, .06);
}

.otm-exam-flow .quiz-question {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.otm-exam-flow .quiz-question :is(pre, mjx-container[display="true"]) {
  max-width: 100%;
  overflow-x: auto;
}

.otm-exam-flow :is(.quiz-question, label) img {
  height: auto;
  max-width: 100%;
}

.otm-exam-flow label[for^="choice-"] {
  align-self: stretch;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.otm-exam-flow .otm-exam-choice {
  align-items: center !important;
  gap: 8px;
  padding: 9px 12px;
  min-height: 44px;
  border: 1px solid var(--otm-border);
  border-radius: 8px;
}

.otm-exam-flow .otm-exam-choice:has(:checked) {
  border-color: #77a8d4;
  background: #eef6ff;
}

.otm-exam-flow .otm-exam-choice.text-success {
  border-color: #8bc4a2;
  background: #eef9f2;
}

.otm-exam-flow .otm-exam-choice input {
  flex: 0 0 auto;
  margin: 0 !important;
  accent-color: #1769aa;
}

.otm-exam-flow .otm-exam-choice label p:last-child { margin-bottom: 0; }
.otm-exam-flow .otm-exam-choice label p:first-child { display: inline; }
.otm-payment-flow .card-body { padding: clamp(18px, 3vw, 34px); }

@media (max-width: 1099px) {
  body.layout-sticky-subnav #header .navbar-main > .container-fluid > button[data-toggle="sidebar"] {
    display: inline-flex !important;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    order: 0;
    border: 0;
    margin-inline-start: -8px;
  }

  html[dir] body.layout-sticky-subnav .page__header.page__header-nav,
  body.layout-sticky-subnav .page__header.page__header-nav {
    display: none !important;
  }

  .otm-public-page .otm-public-links { display: none; }
  .otm-public-page .otm-public-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (min-width: 1100px) {
  body.layout-sticky-subnav #header .navbar-main > .container-fluid > button[data-toggle="sidebar"] {
    display: none !important;
  }

  .otm-public-page .otm-public-dropdown { display: none; }
}

@media (max-width: 820px) {
  .otm-public-page .otm-v14-filterbar.otm-v15-filterbar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .exam-page-wrapper .exam-meta-grid { gap: 5px; }
  .exam-page-wrapper .exam-meta-item { gap: 4px; }
}

@media (max-width: 991px) {
  body.layout-sticky-subnav #header .navbar-main .otm-mobile-signin {
    order: 5;
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 13px;
    border-radius: 8px;
    background: #0866c2;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  body.layout-sticky-subnav #header .navbar-main > .container-fluid {
    gap: 4px;
  }

  body.layout-sticky-subnav #header .navbar-main .search-form {
    display: none !important;
  }

  body.layout-sticky-subnav #header .navbar-main .logo-container {
    width: clamp(88px, 29vw, 135px) !important;
  }

  body.layout-sticky-subnav #header .navbar-main > .container-fluid > .otm-account-tools {
    gap: 0;
  }

  body.layout-sticky-subnav #header .navbar-main .teacher-income-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    min-height: 44px;
  }

  .otm-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .otm-site-footer__copyright { text-align: start; }
  .otm-site-footer__links { justify-content: flex-start; }

  body:has(.otm-mobile-dock) .otm-site-footer,
  body.otm-public-page .otm-public-footer {
    padding-block-end: calc(76px + env(safe-area-inset-bottom));
  }

  .otm-exam-flow #finish-exam button,
  .otm-payment-flow form button {
    width: 100%;
  }
}

@media (max-width: 375px) {
  body.layout-sticky-subnav #header .navbar-main .teacher-income-box .income-icon { display: none; }
  body.layout-sticky-subnav #header .navbar-main .teacher-income-box .income-amount { font-size: 12px !important; }
  .otm-public-page .otm-public-header__bar { gap: 6px; }
  .otm-public-page .otm-public-actions { gap: 6px; }
  .otm-public-page .otm-public-brand img { width: 116px; }
}

body.layout-login-centered-boxed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100dvh;
  height: auto;
  padding: 20px var(--otm-gutter);
}

.layout-login-centered-boxed .layout-login-centered-boxed__form {
  width: min(100%, 460px);
  max-width: 100%;
}

.layout-login-centered-boxed .card-body {
  border: 1px solid var(--otm-border);
  border-radius: 14px;
}

.layout-login-centered-boxed form { margin-top: 16px; }
.otm-recovery-brand { display: inline-flex; margin-block: 8px 0; }
.otm-recovery-brand img { object-fit: contain; }

.otm-question-editor__help {
  margin-top: 12px;
  border: 1px solid var(--otm-border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--otm-text);
}

.otm-question-editor__help summary {
  min-height: 44px;
  padding-block: 10px;
  font-weight: 650;
  cursor: pointer;
}

.otm-question-editor__help[open] {
  padding-bottom: 12px;
}

@media (max-width: 991px) {
  .otm-question-editor__aside { padding-bottom: 12px; }
  .otm-question-editor__aside + .card-form__body { padding-top: 12px; }
  #sual .ql-toolbar.ql-snow,
  #sual .ql-container.ql-snow {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #sual .ql-toolbar.ql-snow .ql-formats {
    margin: 3px 5px;
  }
}

.exam-page-wrapper .card-body .flex-grow-1,
.exam-page-wrapper .exam-card-top-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) and (max-width: 991px) {
  .exam-page-wrapper .card-body > .d-flex:has(.exam-card-top) {
    flex-direction: column !important;
  }
}

body.otm-home-shell .otm-v14-home-hero__inner {
  max-width: var(--otm-shell-width);
  padding-inline: var(--otm-gutter);
}

body.otm-home-shell .otm-benefits {
  max-width: var(--otm-shell-width);
  margin-block: 0;
  padding: var(--otm-section-gap) var(--otm-gutter);
}

body.otm-home-shell .otm-benefits h2 {
  margin: 0 0 16px;
}

@media (max-width: 600px) {
  body.otm-home-shell .otm-v14-home-hero__inner {
    min-height: 0;
    gap: 12px;
    padding: 23px var(--otm-gutter) 16px !important;
  }

  body.otm-home-shell .otm-v14-stage {
    min-height: clamp(175px, 51vw, 220px);
  }

  body.otm-home-shell .otm-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.otm-home-shell .otm-benefit {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--otm-border);
    border-radius: 8px;
    overflow-wrap: anywhere;
  }

  body.otm-home-shell .otm-benefit__icon,
  body.otm-home-shell .otm-benefit__icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 820px) {
  .otm-news-admin-wrap.otm-news-studio-v22 .otm-news-table,
  .u24 .u24-table {
    display: block;
    min-width: 0 !important;
  }

  .otm-news-admin-wrap .otm-news-table thead,
  .u24 .u24-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .otm-news-admin-wrap .otm-news-table tbody,
  .u24 .u24-table tbody {
    display: grid;
    gap: 10px;
    padding: 10px;
    background: #f4f8fc;
  }

  .otm-news-admin-wrap .otm-news-table tr,
  .u24 .u24-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    align-items: center;
    border: 1px solid var(--otm-border);
    border-radius: 9px;
    padding: 8px;
    background: var(--otm-surface);
  }

  .otm-news-admin-wrap.otm-news-studio-v22 .otm-news-table td,
  .u24 .u24-table td {
    min-width: 0;
    padding: 5px !important;
    border: 0 !important;
    overflow-wrap: anywhere;
  }

  .otm-news-admin-wrap .otm-news-table td:first-child,
  .u24 .u24-table td:first-child {
    grid-column: 1 / -1;
  }

  .otm-news-admin-wrap .otm-news-table td:nth-child(even),
  .u24 .u24-table td:nth-child(even) {
    justify-self: start;
  }

  .otm-news-admin-wrap .otm-news-table td:nth-child(odd):not(:first-child),
  .u24 .u24-table td:nth-child(odd):not(:first-child) {
    justify-self: end;
  }

  .otm-news-admin-wrap .otm-news-table .otm-news-table-action,
  .u24 .u24-table .u24-open {
    min-height: 44px;
  }
}

.otm-news-admin-wrap.otm-news-studio-v22 .otm-news-media-grid .otm-news-upload-native {
  width: 1px !important;
  min-width: 0 !important;
  max-width: 1px !important;
}

@media (max-width: 820px) {
  .u24 .u24-name > div { min-width: 0; }
  .u24 .u24-name small { overflow-wrap: anywhere; }
  .u24 .u24-avatar { flex: none; }

  .otm-news-admin-wrap .otm-news-admin-news strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .otm-news-admin-wrap.otm-news-studio-v22 .otm-news-admin-news__image {
    width: 52px !important;
    height: 42px !important;
  }
}

.otm-exam-nav-drawer > summary {
  display:flex; align-items:center; min-height:44px; gap:10px; list-style:none; cursor:pointer;
}
.otm-exam-nav-drawer > summary::-webkit-details-marker { display:none; }
.otm-exam-nav-drawer > summary::marker { content:''; }
.otm-exam-nav-drawer .otm-system-trigger__chevron { margin-inline-start:auto; flex:none; }
.otm-exam-nav-drawer[open] .otm-system-trigger__chevron { transform:rotate(180deg); }
.otm-exam-nav-drawer__links { padding:0 10px 7px 29px; }
.otm-exam-nav-drawer__links a { display:flex; align-items:center; min-height:44px; padding:4px 8px; border-radius:7px; }
.otm-exam-nav-drawer__links a[aria-current], .otm-system-menu__panel a[aria-current] { background:#eaf4fd !important; font-weight:700; }

.page__header-nav .nav-link[href="/elanlar"] {
  position:relative;
  isolation:isolate;
}
.page__header-nav .nav-link[href="/elanlar"]::before {
  content:''; position:absolute; z-index:-1; inset:calc(50% - 17px) 4px;
  border-radius:8px; border:1px solid #ffe19b64; background:#ffe19b26;
}
.sidebar-menu-button[href="/elanlar"], .otm-public-dropdown a[href="/elanlar"], .otm-public-links a[href="/elanlar"] {
  color:#725019 !important; background:#fff4db; border-radius:7px; font-weight:700;
}
.sidebar-menu-button[href="/elanlar"] .sidebar-menu-icon { color:#866019; }

.otm-exam-nav-drawer__links a { gap:10px; }
.otm-exam-nav-drawer__links .otm-exam-nav-link-icon {
    color:#6486a2;
    flex:none;
}
.otm-exam-nav-drawer__links a:is(:hover,[aria-current]) .otm-exam-nav-link-icon { color:#0b69b9; }

html body.otm-home-shell .otm-home-welcome {
  --welcome-ink:#132e52;
  --welcome-blue:#1957ae;
  position:relative;
  isolation:isolate;
  width:100%;
  margin:0;
  overflow:hidden;
  background:radial-gradient(ellipse at 82% 35%,#c4dcfa,transparent 53%),linear-gradient(104deg,#f8fbff 12%,#ebf4ff 63%,#dcecff);
  border-bottom:1px solid #d6e5f5;
  color:var(--welcome-ink);
  font-family:"Segoe UI",system-ui,sans-serif;
}
.otm-home-welcome *,
.otm-home-welcome *::before,
.otm-home-welcome *::after { box-sizing:border-box; }
.otm-home-welcome__inner {
  display:grid !important;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  align-items:center;
  gap:18px;
  width:min(100%,1320px);
  margin-inline:auto;
  padding:20px clamp(16px,3vw,32px);
}
.otm-home-welcome__copy { position:relative; z-index:3; min-width:0; }
.otm-home-welcome h1 {
  margin:0 0 12px;
  color:var(--welcome-ink);
  font-size:clamp(30px,3.45vw,48px);
  font-weight:760;
  line-height:1.05;
  letter-spacing:-.045em;
}
.otm-home-welcome h1 span { color:var(--welcome-blue); white-space:nowrap; }
.otm-home-welcome .otm-home-welcome__copy > p {
  max-width:48ch; margin:0 0 19px; color:#3c536d; font-size:15px; line-height:1.55;
}
.otm-home-welcome .otm-home-welcome__actions { display:flex; flex-wrap:wrap; gap:8px; }
.otm-home-welcome .otm-home-welcome__actions a {
  display:inline-flex; align-items:center; gap:8px;
  min-height:44px; padding:6px 14px;
  border:1px solid transparent; border-radius:8px; font-size:13px; font-weight:700; text-decoration:none !important;
}
.otm-home-welcome .otm-home-welcome__primary { color:#fff !important; background:#1559b2; }
.otm-home-welcome .otm-home-welcome__primary:hover { background:#0e478e; }
.otm-home-welcome .otm-home-welcome__secondary { color:#174b89 !important; background:#f6fbff; border-color:#a7c2e0 !important; }
.otm-home-welcome .otm-home-welcome__actions a:focus-visible { outline:3px solid #296dbd; outline-offset:2px; }
.otm-home-welcome__graphic {
  position:relative;
  height:185px;
  min-width:0;
  isolation:isolate;
}
.otm-home-welcome__graphic::before {
  content:'';
  position:absolute;
  inset:8px -22px;
  z-index:-1;
  background:radial-gradient(#578ecc79 1px,transparent 1.4px) 0 0/13px 13px;
  mask-image:radial-gradient(ellipse at center,#000,transparent 75%);
}
.otm-home-welcome__orbit {
  position:absolute; inset:25px 8px 19px 7px;
  border:1px solid #6394ce72; border-radius:50%; transform:rotate(-13deg);
}
.otm-home-welcome__orbit::before,.otm-home-welcome__orbit::after {
  content:''; position:absolute; border-radius:50%; background:#286dc0;
}
.otm-home-welcome__orbit::before {width:9px;height:9px;left:12%;top:15%}
.otm-home-welcome__orbit::after {width:6px;height:6px;right:12%;bottom:15%;background:#d38722}
.otm-home-welcome__sheet {
  position:absolute; top:50%; left:50%;
  width:149px; height:167px; border:1px solid #8ab2dd; border-radius:13px;
}
.otm-home-welcome__sheet--back {
  background:#6b9ee1; transform:translate(-37%,-51%) rotate(13deg);
}
.otm-home-welcome__sheet--front {
  display:flex; flex-direction:column; justify-content:center; gap:10px;
  padding:16px; background:linear-gradient(150deg,#fff,#f3f8ff);
  box-shadow:0 12px 24px #1c4c8528; transform:translate(-66%,-49%) rotate(-10deg);
}
.otm-home-welcome__bar { width:55%; height:7px; background:#1759a9; border-radius:3px; margin-bottom:5px; }
.otm-home-welcome__line { display:flex; align-items:center; gap:8px; height:19px; padding:3px 5px; background:#edf4fc; border-radius:5px; }
.otm-home-welcome__line i { width:9px; height:9px; border:1px solid #779fc7; border-radius:3px; }
.otm-home-welcome__line b { width:68%; height:4px; background:#9ab7d5; border-radius:3px; }
.otm-home-welcome__line.is-checked { background:#dbeaff; }
.otm-home-welcome__line.is-checked i { background:#3272c2; border-color:#3272c2; }
.otm-home-welcome__check {
  position:absolute; top:60%; left:63%; width:45px; height:45px; border:2px solid #fff; border-radius:50%;
  background:#195db4; box-shadow:0 5px 13px #1d467b49;
}
.otm-home-welcome__check::before {
  content:''; position:absolute; top:11px; left:14px; width:10px; height:17px;
  border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg);
}
@media(max-width:860px) {
  .otm-home-welcome__inner { grid-template-columns:minmax(0,1fr); }
  .otm-home-welcome__graphic {
    position:absolute; z-index:-1; top:3px; right:0; width:175px; overflow:hidden;
    transform:scale(.68); transform-origin:top right; opacity:.25; pointer-events:none;
  }
}
@media(max-width:600px) {
  .otm-home-welcome__inner { padding:22px 16px; }
  .otm-home-welcome h1 { font-size:clamp(26px,7.5vw,34px); }
  .otm-home-welcome .otm-home-welcome__copy > p { font-size:14px; margin-bottom:16px; }
  .otm-home-welcome .otm-home-welcome__actions { gap:6px; }
  .otm-home-welcome .otm-home-welcome__actions a { padding-inline:8px; gap:4px; font-size:12px; }
  .otm-home-welcome__graphic { opacity:.13; }
}

body.otm-home-shell #otm-home-categories-title { scroll-margin-top:135px; }
@media(max-width:767px) {
  body.otm-home-shell #otm-home-categories-title { scroll-margin-top:80px; }
}

#header .navbar-main a.otm-header-signin,
.otm-public-header a.otm-header-signin {
  background-color:#0866c2 !important;
  color:#fff !important;
  border-color:transparent !important;
}
#header .navbar-main a.otm-header-signin:hover,
.otm-public-header a.otm-header-signin:hover {
  background-color:#07539f !important;
}
#header .navbar-main a.otm-header-signin svg,
.otm-public-header a.otm-header-signin svg {
  flex:none;
  vertical-align:middle;
  color:inherit;
  stroke:currentColor;
}
#header .navbar-main a.otm-mobile-signin,
.otm-public-header a.otm-header-signin { gap:5px; }
.otm-public-header a.otm-header-signin { display:inline-flex; align-items:center; }

/* v72: stable footer and dock across guest, logged-in and ads pages */
.otm-site-footer { position:relative; z-index:1; box-sizing:border-box; margin-top:auto; width:100%; padding:24px 0; background:#112a44; border-top:1px solid #2a4360; color:#e2ecf6; }
.otm-site-footer__inner { max-width:1320px; margin:auto; padding-inline:clamp(18px,3vw,34px); display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:14px 28px; font:500 14px/1.5 'Segoe UI',Arial,sans-serif; }
.otm-site-footer__contact,.otm-site-footer__links {display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; min-width:0; }
.otm-site-footer__links {justify-content:flex-end;}
.otm-site-footer :is(a,a:hover) {color:#e5eef9; text-decoration:none;}
.otm-site-footer a:hover {text-decoration:underline; text-underline-offset:4px;}
.otm-site-footer__copyright {text-align:center; white-space:nowrap; color:#b9c9da;}
/* OTM guest homepage's dock is generated by otm-ui.js; seo-public.css is not loaded there. */
.otm-mobile-dock.otm-legacy-mobile-dock {display:none !important;}
@media (max-width:770px) {
  .otm-mobile-dock.otm-legacy-mobile-dock {box-sizing:border-box; display:grid !important; position:fixed; inset:auto 0 0; z-index:1050; grid-template-columns:repeat(5,minmax(0,1fr)); gap:2px; padding:7px 6px max(8px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #dce7ef; box-shadow:0 -5px 24px #142c4215;}
  .otm-legacy-mobile-dock a {display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:49px; padding:4px 1px; border-radius:9px; text-align:center; color:#526984; font:600 clamp(9px,2.3vw,11px)/1.2 'Segoe UI',Arial,sans-serif; text-decoration:none;}
  .otm-legacy-mobile-dock a.is-active {background:#eaf5ff; color:#1267b5;}
  .otm-legacy-dock-icon {font-size:22px; line-height:1;}
  body:has(.otm-legacy-mobile-dock) .otm-site-footer {padding-bottom:calc(88px + env(safe-area-inset-bottom));}
}
@media (max-width:767px) {
  .otm-site-footer {padding-top:24px;}
  .otm-site-footer__inner {grid-template-columns:1fr; gap:12px; justify-items:center; text-align:center;}
  .otm-site-footer__contact,.otm-site-footer__links {justify-content:center;}
  .otm-site-footer__copyright {text-align:center;}
}
@media (min-width:768px) and (max-width:980px) {
  .otm-site-footer__inner {grid-template-columns:1fr auto;}
  .otm-site-footer__copyright {grid-row:2;grid-column:1/-1;}
}

/* v73 footer: same layout in guest and authorized views. Prevent desktop dock bleed. */
.otm-site-footer {min-width:0;display:block;clear:both;padding-block:25px;}
.otm-site-footer__inner {width:min(1320px,100%);box-sizing:border-box;margin-inline:auto;}
.otm-site-footer__contact a,.otm-site-footer__links a {display:inline-flex;align-items:center;min-height:28px;}
@media (min-width:771px) {
  html body .otm-legacy-mobile-dock {display:none!important;visibility:hidden!important;}
}
@media (max-width:767px) {
  .otm-site-footer__inner {display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;}
  .otm-site-footer__contact,.otm-site-footer__links {justify-content:center!important;}
  .otm-site-footer__copyright {text-align:center!important;order:3;}
  .otm-site-footer {padding-bottom:calc(68px + env(safe-area-inset-bottom));}
}

/* v117: keep six mobile destinations aligned in one row, including narrow phones. */
@media (max-width:770px) {
  body .otm-mobile-dock.otm-mobile-dock--six {grid-template-columns:repeat(6,minmax(0,1fr)) !important; gap:2px; padding-inline:4px;}
  body .otm-mobile-dock--six a {min-width:0; text-align:center; font-size:clamp(9px,2.3vw,11px); line-height:1.2;}
  .otm-mobile-dock--six .otm-legacy-dock-icon {display:flex; align-items:center; justify-content:center; height:22px;}
  .otm-mobile-dock--six a > svg,.otm-mobile-dock--six .otm-legacy-dock-icon svg {display:block; width:22px; height:22px; flex-shrink:0;}
}
