:root {
  --ot-primary: #037EF3;
  --ot-primary-dark: #026fda;
  --ot-accent: #FFDD00;
  --ot-accent-dark: #f2cf00;
  --ot-ink: #0B1220;
  --ot-slate: #3A475A;
  --ot-bg: #F5F7FA;
  --ot-border: #E6EAF0;
  --ot-white: #ffffff;
  --ot-text: #0B1220;
  --ot-text-soft: #5B6677;
  --ot-footer-text: #B7C4D6;
  --ot-shadow: 0 18px 50px rgba(11, 18, 32, 0.10);
  --ot-shadow-soft: 0 12px 32px rgba(11, 18, 32, 0.08);
  --ot-radius: 18px;
  --ot-radius-sm: 12px;
  --ot-max: 1200px;
}

/* Helpers */
.ot-container {
  width: min(100% - 32px, var(--ot-max));
  margin: 0 auto;
}

.ot-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  background: var(--ot-primary);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
}

/* Header */
.ot-helpdesk-header {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(3, 126, 243, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-bottom: 1px solid var(--ot-border);
}

.ot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 14px 0;
}

.ot-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ot-logo {
  height: 42px;
  width: auto;
  display: block;
}

.ot-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.ot-nav-link,
.ot-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ot-ink);
  background: transparent;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ot-nav-link:hover,
.ot-nav-link:focus,
.ot-dropdown-toggle:hover,
.ot-dropdown-toggle:focus {
  background: rgba(3, 126, 243, 0.08);
  color: var(--ot-primary);
}

.ot-nav-home {
  background: rgba(3, 126, 243, 0.07);
}

.ot-nav-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ot-dropdown {
  position: relative;
}

.ot-dropdown-chevron {
  font-size: 0.82rem;
  line-height: 1;
}

.ot-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.ot-dropdown:hover .ot-dropdown-menu,
.ot-dropdown:focus-within .ot-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ot-dropdown-menu--support {
  width: 290px;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 18px;
  box-shadow: var(--ot-shadow);
  padding: 10px;
}

.ot-dropdown-menu--support a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ot-ink);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.ot-dropdown-menu--support a:hover,
.ot-dropdown-menu--support a:focus {
  background: rgba(3, 126, 243, 0.08);
  color: var(--ot-primary);
}

.ot-dropdown-menu--mega {
  width: min(860px, 92vw);
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 24px;
  box-shadow: var(--ot-shadow);
  padding: 18px;
}

.ot-mega {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.ot-mega-intro {
  padding: 6px 6px 6px 2px;
}

.ot-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ot-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ot-mega-intro h3 {
  margin: 0 0 12px;
  color: var(--ot-ink);
  font-size: 1.1rem;
  line-height: 1.3;
}

.ot-mega-intro p {
  margin: 0 0 16px;
  color: var(--ot-text-soft);
  line-height: 1.65;
}

.ot-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ot-mega-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 130px;
  padding: 16px;
  border: 1px solid var(--ot-border);
  border-radius: 18px;
  background: #fff;
  color: var(--ot-ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ot-mega-item:hover,
.ot-mega-item:focus {
  transform: translateY(-2px);
  box-shadow: var(--ot-shadow-soft);
  border-color: rgba(3, 126, 243, 0.24);
}

.ot-mega-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ot-primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ot-mega-title {
  color: var(--ot-ink);
  font-weight: 800;
  font-size: 0.98rem;
}

.ot-mega-text {
  color: var(--ot-text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ot-btn--primary {
  background: var(--ot-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(3, 126, 243, 0.22);
}

.ot-btn--primary:hover,
.ot-btn--primary:focus {
  background: var(--ot-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.ot-btn--secondary {
  background: #fff;
  color: var(--ot-primary);
  border: 1px solid rgba(3, 126, 243, 0.18);
}

.ot-btn--secondary:hover,
.ot-btn--secondary:focus {
  background: rgba(3, 126, 243, 0.06);
  color: var(--ot-primary-dark);
}

/* Search */
.ot-header-search {
  padding: 0 0 22px;
}

.ot-search-shell {
  background: var(--ot-white);
  border: 1px solid var(--ot-border);
  border-radius: 20px;
  box-shadow: var(--ot-shadow-soft);
  padding: 12px;
}

.ot-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ot-search-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ot-border);
  border-radius: 14px;
  padding: 0 16px;
  font-size: 0.96rem;
  color: var(--ot-text);
  background: #fff;
  outline: none;
}

.ot-search-input:focus {
  border-color: var(--ot-primary);
  box-shadow: 0 0 0 3px rgba(3, 126, 243, 0.14);
}

.ot-search-button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ot-accent);
  color: var(--ot-ink);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.ot-search-button:hover,
.ot-search-button:focus {
  background: var(--ot-accent-dark);
  transform: translateY(-1px);
}

/* Footer */
.ot-helpdesk-footer {
  margin-top: 52px;
  background:
    radial-gradient(circle at top left, rgba(3, 126, 243, 0.08), transparent 26%),
    var(--ot-ink);
  color: #d9e2ef;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ot-footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0 26px;
}

.ot-footer-logo {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.ot-footer-text {
  margin: 0;
  max-width: 430px;
  line-height: 1.72;
  color: var(--ot-footer-text);
}

.ot-footer-heading {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.ot-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ot-footer-links li + li {
  margin-top: 10px;
}

.ot-footer-links a {
  color: #cfd8e6;
  text-decoration: none;
  transition: color 0.18s ease;
}

.ot-footer-links a:hover,
.ot-footer-links a:focus {
  color: var(--ot-accent);
}

.ot-footer-mid {
  padding: 6px 0 28px;
}

.ot-footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
}

.ot-footer-card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ot-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ot-footer-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.3;
}

.ot-footer-card p {
  margin: 0;
  color: var(--ot-footer-text);
  line-height: 1.7;
}

.ot-footer-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.ot-btn--footer-primary {
  background: var(--ot-accent);
  color: var(--ot-ink);
}

.ot-btn--footer-primary:hover,
.ot-btn--footer-primary:focus {
  background: var(--ot-accent-dark);
  color: var(--ot-ink);
}

.ot-btn--footer-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.ot-btn--footer-secondary:hover,
.ot-btn--footer-secondary:focus {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.ot-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ot-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 20px;
  color: #94a3b8;
  font-size: 0.92rem;
}

.ot-footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ot-footer-legal a {
  color: #b8c5d6;
  text-decoration: none;
}

.ot-footer-legal a:hover,
.ot-footer-legal a:focus {
  color: var(--ot-accent);
}

/* Responsive */
@media (max-width: 1100px) {
  .ot-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ot-nav {
    width: 100%;
  }

  .ot-mega {
    grid-template-columns: 1fr;
  }

  .ot-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .ot-footer-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .ot-nav {
    gap: 8px;
  }

  .ot-nav-link,
  .ot-dropdown-toggle,
  .ot-btn--primary {
    width: 100%;
    justify-content: center;
  }

  .ot-dropdown {
    width: 100%;
  }

  .ot-dropdown-menu,
  .ot-dropdown-menu--mega,
  .ot-dropdown-menu--support {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .ot-dropdown:hover .ot-dropdown-menu,
  .ot-dropdown:focus-within .ot-dropdown-menu {
    display: block;
  }

  .ot-mega-grid {
    grid-template-columns: 1fr;
  }

  .ot-search-form {
    grid-template-columns: 1fr;
  }

  .ot-footer-top {
    grid-template-columns: 1fr;
  }

  .ot-footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ot-dropdown-menu--helpdesk {
  width: 280px;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 18px;
  box-shadow: var(--ot-shadow);
  padding: 10px;
}

.ot-dropdown-menu--helpdesk a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ot-ink);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.ot-dropdown-menu--helpdesk a:hover,
.ot-dropdown-menu--helpdesk a:focus {
  background: rgba(3, 126, 243, 0.08);
  color: var(--ot-primary);
}

.ot-dropdown--helpdesk .ot-dropdown-toggle {
  position: relative;
  background: linear-gradient(180deg, rgba(3, 126, 243, 0.12), rgba(3, 126, 243, 0.06));
  color: var(--ot-primary);
  box-shadow:
    0 0 0 1px rgba(3, 126, 243, 0.14),
    0 8px 24px rgba(3, 126, 243, 0.12),
    0 0 18px rgba(3, 126, 243, 0.10);
}

.ot-dropdown--helpdesk .ot-dropdown-toggle:hover,
.ot-dropdown--helpdesk .ot-dropdown-toggle:focus {
  background: linear-gradient(180deg, rgba(3, 126, 243, 0.16), rgba(3, 126, 243, 0.08));
  color: var(--ot-primary-dark);
  box-shadow:
    0 0 0 1px rgba(3, 126, 243, 0.18),
    0 10px 28px rgba(3, 126, 243, 0.14),
    0 0 22px rgba(3, 126, 243, 0.12);
}

.ot-dropdown--helpdesk .ot-dropdown-chevron {
  color: var(--ot-primary);
}

.ot-dropdown--helpdesk .ot-dropdown-toggle::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(3, 126, 243, 0.14) 0%, rgba(3, 126, 243, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.ot-dropdown--helpdesk .ot-dropdown-menu--helpdesk {
  box-shadow:
    var(--ot-shadow),
    0 0 0 1px rgba(3, 126, 243, 0.10),
    0 0 24px rgba(3, 126, 243, 0.08);
}

.ot-helpdesk-badge{
  margin-left:10px;
  padding:4px 10px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-radius:999px;
  background:rgba(3,126,243,.12);
  color:var(--ot-primary);
}

.ot-dropdown--helpdesk{
  margin-left:10px;
  padding-left:10px;
  border-left:1px solid var(--ot-border);
}
.ot-helpdesk-context{
  font-size:.85rem;
  background:#f7f9fc;
  border-bottom:1px solid var(--ot-border);
}

.ot-helpdesk-context .ot-container{
  padding:8px 0;
  color:var(--ot-text-soft);
}

.ot-context-sep{
  margin:0 6px;
}

.ot-search-shell{
  background:#fff;
  border:1px solid var(--ot-border);
  border-radius:22px;
  box-shadow:
    0 14px 40px rgba(11,18,32,.08),
    0 0 0 1px rgba(3,126,243,.06);
}

.ot-search-shell:hover{
  box-shadow:
    0 18px 50px rgba(11,18,32,.10),
    0 0 0 1px rgba(3,126,243,.10);
}

.ot-helpdesk-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.ot-helpdesk-actions a{
  padding:8px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--ot-border);
  font-size:.85rem;
  font-weight:600;
  text-decoration:none;
}

.ot-helpdesk-actions a:hover{
  background:rgba(3,126,243,.08);
  color:var(--ot-primary);
}

body{
  animation:otFade .25s ease;
}

@keyframes otFade{
  from{opacity:.0;transform:translateY(2px);}
  to{opacity:1;transform:none;}
}
/* =========================================================
   OpenTech Helpdesk - Advanced Portal UI Layer
   ========================================================= */

body {
  background:
    radial-gradient(circle at top right, rgba(3, 126, 243, 0.06), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fa 100%);
  color: var(--ot-text);
}

/* Constrain main portal content and give it a custom app-shell feel */
#main-content,
main,
.portal-layout,
.support-layout,
.kb-layout,
.ticket-layout,
.zd-content,
.lc-content,
[data-main-content] {
  width: min(100% - 32px, 1240px);
  margin: 28px auto 56px;
}

/* Main content card */
#main-content > *:first-child,
main > *:first-child,
.portal-layout > *:first-child,
.support-layout > *:first-child,
.kb-layout > *:first-child,
.ticket-layout > *:first-child,
.zd-content > *:first-child,
.lc-content > *:first-child,
[data-main-content] > *:first-child {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 234, 240, 0.95);
  border-radius: 24px;
  box-shadow:
    0 18px 50px rgba(11, 18, 32, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: 28px;
}

/* Headings inside helpdesk */
h1, h2, h3 {
  color: var(--ot-ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

p,
li,
td,
th,
label,
input,
select,
textarea,
button {
  font-size: 0.97rem;
}

/* Generic cards / tiles / article lists */
article,
section,
.card,
.tile,
.kb-card,
.ticket-card,
.category-card,
.topic-card {
  border-radius: 18px;
}

/* Links */
a {
  transition: color 0.18s ease, opacity 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
.btn,
.button {
  border-radius: 14px !important;
  font-weight: 700;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
select,
textarea {
  border-radius: 14px !important;
  border: 1px solid var(--ot-border) !important;
  min-height: 46px;
  box-shadow: none;
}

textarea {
  min-height: 130px;
  padding-top: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ot-primary) !important;
  box-shadow: 0 0 0 3px rgba(3, 126, 243, 0.14) !important;
  outline: none;
}

/* Tables / ticket history / article tables */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--ot-border);
  background: #fff;
}

thead th {
  background: #f8fbff;
  color: var(--ot-ink);
  font-weight: 800;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ot-border);
}

/* Chips / labels / statuses */
.badge,
.tag,
.label,
.status,
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Sidebar blocks if theme has them */
aside,
.sidebar,
.side-panel,
.kb-sidebar,
.ticket-sidebar {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ot-border);
  border-radius: 20px;
  padding: 18px;
}

/* Article/category cards hover polish */
.card:hover,
.tile:hover,
.kb-card:hover,
.category-card:hover,
.topic-card:hover,
article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(11, 18, 32, 0.08);
}

/* Search results / list groups */
ul,
ol {
  padding-left: 1.2rem;
}

.search-result,
.result-item,
.article-list-item,
.ticket-row {
  border-radius: 16px;
}

/* Footer spacing harmony */
.ot-helpdesk-footer {
  margin-top: 36px;
}

/* Mobile */
@media (max-width: 760px) {
  #main-content,
  main,
  .portal-layout,
  .support-layout,
  .kb-layout,
  .ticket-layout,
  .zd-content,
  .lc-content,
  [data-main-content] {
    width: min(100% - 20px, 1240px);
    margin: 18px auto 40px;
  }

  #main-content > *:first-child,
  main > *:first-child,
  .portal-layout > *:first-child,
  .support-layout > *:first-child,
  .kb-layout > *:first-child,
  .ticket-layout > *:first-child,
  .zd-content > *:first-child,
  .lc-content > *:first-child,
  [data-main-content] > *:first-child {
    padding: 18px;
    border-radius: 20px;
  }
}
.ot-helpdesk-context {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--ot-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ot-helpdesk-context .ot-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 42px;
  color: var(--ot-text-soft);
  font-size: 0.88rem;
}

.ot-helpdesk-context__label {
  color: var(--ot-primary);
  font-weight: 800;
}

.ot-context-sep {
  opacity: 0.45;
}

.ot-helpdesk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ot-helpdesk-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ot-border);
  color: var(--ot-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(11, 18, 32, 0.04);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.ot-helpdesk-action:hover,
.ot-helpdesk-action:focus {
  background: rgba(3, 126, 243, 0.06);
  border-color: rgba(3, 126, 243, 0.18);
  color: var(--ot-primary);
  box-shadow: 0 8px 20px rgba(3, 126, 243, 0.08);
  transform: translateY(-1px);
}

.ot-helpdesk-action__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .ot-helpdesk-actions {
    flex-direction: column;
  }

  .ot-helpdesk-action {
    width: 100%;
    justify-content: center;
  }
}

.ot-helpdesk-actions__label {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ot-primary);
}

.ot-search-hint{
  margin-top:10px;
  font-size:.85rem;
  color:var(--ot-text-soft);
}

.ot-search-hint strong{
  color:var(--ot-primary);
  font-weight:700;
}

@keyframes otHelpdeskGlow {
  0%{ box-shadow:0 0 12px rgba(3,126,243,.08);}
  50%{ box-shadow:0 0 18px rgba(3,126,243,.16);}
  100%{ box-shadow:0 0 12px rgba(3,126,243,.08);}
}

.ot-dropdown--helpdesk .ot-dropdown-toggle{
  animation:otHelpdeskGlow 6s ease-in-out infinite;
}

.article-body,
.kb-article,
.support-article{
  line-height:1.75;
  max-width:760px;
}

.article-body h2,
.article-body h3{
  margin-top:28px;
}

.success,
.alert-success,
.ticket-success{
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.2);
  border-radius:14px;
  padding:14px 16px;
  color:#166534;
  font-weight:600;
}
.ot-search-hint {
  margin-top: 12px;
}

.ot-helpdesk-actions__label {
  margin-top: 18px;
}

/* =========================
   Mobile optimization layer
   ========================= */

.ot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ot-logo {
  height: 38px;
  width: auto;
  display: block;
}

.ot-helpdesk-badge {
  white-space: nowrap;
}

.ot-helpdesk-context .ot-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  padding: 8px 0;
}

.ot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ot-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ot-nav-link,
.ot-dropdown-toggle,
.ot-btn--primary {
  min-height: 44px;
}

.ot-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.ot-search-input {
  width: 100%;
  min-width: 0;
}

.ot-search-hint {
  margin-top: 12px;
  line-height: 1.55;
}

.ot-helpdesk-actions__label {
  margin-top: 18px;
}

.ot-helpdesk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ot-helpdesk-action {
  min-height: 44px;
}

/* Tablet and down */
@media (max-width: 980px) {
  .ot-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ot-brand {
    justify-content: center;
  }

  .ot-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .ot-nav-link,
  .ot-dropdown,
  .ot-btn--primary {
    width: 100%;
  }

  .ot-nav-link,
  .ot-dropdown-toggle,
  .ot-btn--primary {
    justify-content: center;
    text-align: center;
  }

  .ot-dropdown-menu,
  .ot-dropdown-menu--support,
  .ot-dropdown-menu--helpdesk,
  .ot-dropdown-menu--mega {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    box-sizing: border-box;
  }

  .ot-dropdown:hover .ot-dropdown-menu,
  .ot-dropdown:focus-within .ot-dropdown-menu {
    display: block;
  }

  .ot-dropdown-menu--support a,
  .ot-dropdown-menu--helpdesk a {
    min-height: 44px;
  }

  .ot-mega {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ot-mega-grid {
    grid-template-columns: 1fr;
  }

  .ot-mega-item {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .ot-helpdesk-context .ot-container {
    font-size: 0.82rem;
    gap: 6px;
  }

  .ot-context-sep {
    display: none;
  }

  .ot-logo {
    height: 34px;
  }

  .ot-helpdesk-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
  }

  .ot-nav {
    grid-template-columns: 1fr;
  }

  .ot-nav-link,
  .ot-dropdown-toggle,
  .ot-btn--primary {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .ot-dropdown--helpdesk {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .ot-dropdown--helpdesk .ot-dropdown-toggle {
    box-shadow:
      0 0 0 1px rgba(3, 126, 243, 0.14),
      0 8px 24px rgba(3, 126, 243, 0.10),
      0 0 14px rgba(3, 126, 243, 0.08);
  }

  .ot-search-shell {
    padding: 12px;
    border-radius: 18px;
  }

  .ot-search-form {
    grid-template-columns: 1fr;
  }

  .ot-search-input,
  .ot-search-button {
    min-height: 48px;
    width: 100%;
  }

  .ot-search-hint {
    font-size: 0.84rem;
  }

  .ot-helpdesk-actions {
    flex-direction: column;
  }

  .ot-helpdesk-action {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
  }

  .ot-dropdown-menu--support,
  .ot-dropdown-menu--helpdesk,
  .ot-dropdown-menu--mega {
    padding: 10px;
    border-radius: 16px;
  }

  .ot-footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ot-footer-card {
    flex-direction: column;
    align-items: stretch;
  }

  .ot-footer-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ot-btn--footer-primary,
  .ot-btn--footer-secondary {
    width: 100%;
    justify-content: center;
  }

  .ot-footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ot-footer-legal {
    justify-content: center;
  }
}

.ot-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ot-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--ot-shadow-soft);
}

.ot-menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ot-ink);
  border-radius: 999px;
}

.ot-mobile-menu {
  display: none;
  border-top: 1px solid var(--ot-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ot-mobile-menu.is-open {
  display: block;
}

.ot-mobile-menu__inner {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
  padding: 14px 0 18px;
}

.ot-mobile-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ot-ink);
  text-decoration: none;
  font-weight: 700;
}

.ot-mobile-link:hover,
.ot-mobile-link:focus {
  background: rgba(3, 126, 243, 0.08);
  color: var(--ot-primary);
}

.ot-mobile-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ot-border);
}

.ot-mobile-section--helpdesk {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(3, 126, 243, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(3, 126, 243, 0.06), rgba(3, 126, 243, 0.03));
  box-shadow: 0 0 18px rgba(3, 126, 243, 0.06);
}

.ot-mobile-section--helpdesk .ot-mobile-link {
  background: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
}

.ot-mobile-section__title {
  margin: 0 0 8px;
  padding: 0 14px;
  color: var(--ot-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ot-mobile-cta {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

@media (max-width: 760px) {
  .ot-header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ot-nav--desktop {
    display: none;
  }

  .ot-menu-toggle {
    display: inline-flex;
  }

  .ot-brand {
    min-width: 0;
    max-width: calc(100% - 60px);
  }

  .ot-logo {
    height: 34px;
  }

  .ot-helpdesk-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
  }

  .ot-context-sep {
    display: none;
  }

  .ot-helpdesk-context .ot-container {
    gap: 4px;
    font-size: 0.82rem;
  }

  .ot-search-form {
    grid-template-columns: 1fr;
  }

  .ot-search-input,
  .ot-search-button,
  .ot-helpdesk-action {
    min-height: 48px;
  }

  .ot-helpdesk-actions {
    flex-direction: column;
  }

  .ot-helpdesk-action {
    width: 100%;
    justify-content: center;
  }
}

.ot-mobile-nav {
  display: none;
  position: relative;
}

.ot-mobile-nav summary {
  list-style: none;
}

.ot-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.ot-mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ot-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--ot-shadow-soft);
}

.ot-mobile-nav__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.ot-mobile-nav__icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ot-ink);
  border-radius: 999px;
}

.ot-mobile-nav[open] .ot-mobile-nav__toggle {
  background: rgba(3, 126, 243, 0.06);
  border-color: rgba(3, 126, 243, 0.18);
}

.ot-mobile-nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 100;
  width: min(92vw, 340px);
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--ot-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ot-mobile-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ot-ink);
  text-decoration: none;
  font-weight: 700;
}

.ot-mobile-link:hover,
.ot-mobile-link:focus {
  background: rgba(3, 126, 243, 0.08);
  color: var(--ot-primary);
}

.ot-mobile-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ot-border);
}

.ot-mobile-section--helpdesk {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(3, 126, 243, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(3, 126, 243, 0.06), rgba(3, 126, 243, 0.03));
  box-shadow: 0 0 18px rgba(3, 126, 243, 0.06);
}

.ot-mobile-section--helpdesk .ot-mobile-link {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.ot-mobile-section__title {
  margin: 0 0 8px;
  padding: 0 14px;
  color: var(--ot-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ot-mobile-cta {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

@media (max-width: 760px) {
  .ot-nav--desktop {
    display: none;
  }

  .ot-mobile-nav {
    display: block;
  }

  .ot-header-row {
    align-items: center;
    justify-content: space-between;
  }

  .ot-brand {
    min-width: 0;
    max-width: calc(100% - 62px);
  }

  .ot-logo {
    height: 34px;
  }

  .ot-helpdesk-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
  }

  .ot-context-sep {
    display: none;
  }

  .ot-helpdesk-context .ot-container {
    gap: 4px;
    font-size: 0.82rem;
    text-align: center;
  }

  .ot-search-form {
    grid-template-columns: 1fr;
  }

  .ot-search-input,
  .ot-search-button {
    width: 100%;
    min-height: 48px;
  }

  .ot-helpdesk-actions {
    flex-direction: column;
  }

  .ot-helpdesk-action {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

.ot-footer-status{
  display:flex;
  align-items:center;
}

.ot-status-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  font-size:.82rem;
  font-weight:600;
  text-decoration:none;
  color:#15803d;
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.2);
  border-radius:999px;
  transition:all .2s ease;
}

.ot-status-badge:hover{
  background:rgba(34,197,94,.14);
}

.ot-status-dot{
  width:8px;
  height:8px;
  background:#22c55e;
  border-radius:50%;
  box-shadow:0 0 6px rgba(34,197,94,.6);
}
