:root {
  --tik-navy:#0a1f41;
  --tik-mobile:#0a1f4f;
  --tik-focus:#1a7dff;
  --tik-action:#0756bb;
  --tik-bar:66px;
}
.tik-topbar {
  position:fixed; top:0; left:0; right:0; z-index:10;
  height:var(--tik-bar); background:#fff; color:var(--tik-navy);
  padding:0 clamp(16px,3.3vw,48px); display:flex; align-items:center; gap:18px;
  border-bottom:1px solid #dbe4ef;
}
.tik-brand { display:flex; align-items:center; }
.tik-brand img { display:block; width:205px; max-width:100%; height:auto; mix-blend-mode:multiply; }
@media(min-width:769px) { .tik-brand img { filter:brightness(1.06); } }
.tik-brand-label { font-weight:750; padding-left:18px; border-left:1px solid #dbe4ef; }
.tik-test { margin-left:auto; border-radius:99px; padding:3px 10px; background:#eef5ff; white-space:nowrap; font-size:.8rem; font-weight:650; color:#25496f; }
.tik-return { display:inline-flex; align-items:center; min-height:48px; color:var(--tik-navy); white-space:nowrap; font-weight:650; }
.tik-return:hover { color:var(--tik-action); text-decoration:underline; text-underline-offset:5px; }
body.tik-branded #layout { position:fixed; inset:var(--tik-bar) 0 0; height:auto; width:100%; }
.tik-branded #layout-menu { background-color:var(--tik-navy); }
.tik-branded #layout-menu .popover-header #logo { visibility:hidden; }
.tik-branded #taskmenu a.selected { background-color:#143461; }
.tik-branded :focus-visible { outline:3px solid var(--tik-focus); outline-offset:2px; }
.tik-branded .btn-primary { background:var(--tik-action); border-color:var(--tik-action); color:white; }
.tik-branded .btn-primary:hover { background:#084caa; border-color:#084caa; }
.tik-login-heading { margin:0 0 1.3rem; }
.tik-login-heading h2 { font-weight:750; color:var(--tik-navy); font-size:1.8rem; margin:0 0 .45rem; }
.tik-login-heading p { font-size:.94rem; color:#4d6078; margin:0; }
.tik-branded.task-login #logo { display:none; }
.tik-branded.task-login #login-form { padding:28px; max-width:430px; }
.tik-branded.task-login #layout-content { background:#fff; }
.tik-login-hero {
  position:fixed; top:var(--tik-bar); bottom:0; left:0; width:49%;
  display:flex; flex-direction:column; justify-content:center; padding:7vw;
  color:white; pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent 0 64px,#a7ccff14 65px),repeating-linear-gradient(90deg,transparent 0 64px,#a7ccff14 65px),radial-gradient(at 100% 100%,#1253a2,#0a1f41 68%);
}
.tik-company { font-weight:750; color:#b9d8ff; letter-spacing:.12em; margin:0 0 13px; }
.tik-title { font-size:clamp(2.55rem,5vw,5rem); font-weight:750; letter-spacing:-.045em; line-height:1.12; margin:0 0 13px; }
.tik-subtitle { color:#d8eaff; font-size:1.12rem; margin:0; }
.tik-save-warning { background:#fff3d5; color:#554113; border:1px solid #e5c16d; margin:8px; padding:10px 14px; font-weight:700; }
@media(min-width:769px) {
  .tik-branded.task-login #layout-content { margin-left:49%; }
}
@media(max-width:768px) {
  :root { --tik-bar:64px; }
  .tik-topbar { color:white; background:var(--tik-mobile); gap:8px; padding-inline:12px; }
  .tik-brand { background:white; padding:4px; border-radius:5px; }
  .tik-brand img { width:133px; }
  .tik-brand-label,.tik-test,.tik-login-hero { display:none; }
  .tik-return { color:white; margin-left:auto; }
  .tik-return:hover { color:#c5e1ff; }
  /* Let Elastic place its phone drawer above the page-level menu overlay. */
  html.layout-phone body.tik-branded #layout { position:absolute; }
  html.layout-phone:not(.dark-mode) .tik-branded #layout-menu { background:#fff; }
  html.layout-phone:not(.dark-mode) .tik-branded #layout-menu #taskmenu a.selected { background:#e7effb; color:var(--tik-navy); }
  .tik-branded.action-compose #toolbar-menu > li:has(> a.attach) { display:block !important; }
  .tik-branded.action-compose #toolbar-menu a.attach { min-height:48px; }
  .tik-branded.task-login #login-form { padding:16px; }
  .tik-branded #layout-content,
  .tik-branded #layout-list { padding-bottom:env(safe-area-inset-bottom); }
  .tik-branded.action-compose #compose_cc,
  .tik-branded.action-compose #compose_bcc { display:flex !important; }
}
@media(max-width:350px) {
  .tik-topbar { gap:5px; padding-inline:9px; }
  .tik-brand img { width:112px; }
  .tik-return { font-size:.84rem; }
}

