/* IBM Plex Sans and IBM Plex Mono. SIL Open Font License. See /fonts/OFL.txt. */

:root {
  --wylo-ink: #1c1915;
  --wylo-paper: #f4f1ea;
  --wylo-deep: #0f2a31;
  --wylo-frost: rgba(255, 252, 247, 0.92);
  --wylo-line: rgba(28, 25, 21, 0.18);
  --wylo-sans: "IBM Plex Sans", sans-serif;
  --wylo-mono: "IBM Plex Mono", ui-monospace, monospace;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}

.wylo-app {
  margin: 0;
  background: var(--wylo-paper);
  color: var(--wylo-ink);
  font-family: var(--wylo-sans);
}

.wylo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--wylo-accent, var(--wylo-deep));
  color: var(--wylo-on-accent, #fff);
  padding: 12px 28px;
  font-family: var(--wylo-sans);
}

.wylo-header img {
  height: 32px;
}

.wylo-title {
  font-weight: 600;
}

.wylo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.wylo-user {
  margin-left: auto;
  position: relative;
}

#user-menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--wylo-paper);
  color: var(--wylo-deep);
  font: inherit;
  font-weight: 600;
}

#user-menu {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 2;
  min-width: 16rem;
  padding: 12px 16px;
  background: var(--wylo-paper);
  color: var(--wylo-ink);
  border-radius: 12px;
}

#user-menu-upn {
  margin: 0 0 8px;
  font-family: var(--wylo-mono);
}

.wylo-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: inherit;
  text-decoration: none;
}

.wylo-header a:focus-visible {
  outline: 2px solid var(--wylo-paper);
  outline-offset: 2px;
}

.wylo-app :focus-visible {
  outline: 2px solid var(--wylo-deep);
  outline-offset: 2px;
}

.lede {
  max-width: 40rem;
}

.note {
  font-family: var(--wylo-mono);
}

.wylo-screen {
  padding: 28px 28px 88px;
  color: var(--wylo-ink);
  background:
    radial-gradient(ellipse 70% 42% at 8% -8%, rgba(255, 255, 255, 0.95), transparent 58%),
    var(--wylo-paper);
  font-family: var(--wylo-sans);
}

.wylo-screen button,
.wylo-screen select,
.wylo-screen input,
.wylo-screen textarea {
  min-height: 44px;
  color: var(--wylo-ink);
  font: inherit;
}

.wylo-screen input,
.wylo-screen select,
.wylo-screen textarea {
  background: #fffdf8;
  border: 1px solid rgba(28, 25, 21, 0.28);
  border-radius: 10px;
}

.wylo-screen label {
  display: block;
  margin-top: 12px;
  color: var(--wylo-ink);
}

.portal-group,
.wylo-surface,
.wylo-screen form,
#ticket-list,
#ticket-body,
#ticket-facts,
#ci-list,
#ci-body,
#ci-facts,
#watching-rows,
#workflow-designer fieldset {
  background: var(--wylo-frost);
  border: 1px solid var(--wylo-line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(28, 25, 21, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
}

#ticket-list button,
#watching-rows button,
#ci-list button,
#ticket-facts,
#ci-facts {
  font-family: var(--wylo-mono);
}

#watching-count,
#agent-watching-count {
  display: inline-block;
  min-width: 1.25em;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--wylo-paper);
  color: var(--wylo-deep);
  text-align: center;
}
