:root {
  --bg-offcolor-rgb: 226, 231, 236; /* #E2E7EC */
  --fg-offcolor-rgb: 28, 38, 53; /* #1C2635 */
}

.ibm-plex-sans-condensed-regular {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

[data-theme="dark"] {
  --bs-body-bg: #151A21;
  --bs-body: #F1F5F6;
  --bs-body-color: #F1F5F6;
  --bg-offcolor-rgb: 28, 38, 53; /* #1C2635 */
  --fg-offcolor-rgb: 226, 231, 236; /* #E2E7EC */
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background-color: rgba(var(--bg-offcolor-rgb), 1);
  color: var(--bs-body-color);
}

button {
  color: var(--bs-body-color);
}

.list-group-item,
.offcanvas {
  color: var(--bs-body-color);
}

.btn-close {
  background: none;
}

.list-group-item,
.card,
.offcanvas {
  background-color: var(--bs-body-bg);
}

h5.section-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
}

a, .nav-link {
  color: var(--bs-body-color);
}

.nav-link:focus,
.nav-link:hover,
a:hover {
  color: rgba(var(--fg-offcolor-rgb), 1);
}

.clickable-hover-border:hover {
  background-color: rgba(var(--bg-offcolor-rgb), 0.6);
}

.bg-offcolor {
  background-color: rgba(var(--bg-offcolor-rgb), 1);
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-toggler {
    display: inline-block !important;
  }
}

#mainNav.nav li a { font-weight: bold; }

.nav-underline .nav-link.active {
  border-bottom-color: currentcolor;
}

.nav-underline .nav-link {
  border-bottom: 1px solid transparent;
}

.task-group-row {
  border-bottom: 1px solid rgba(var(--bg-offcolor-rgb), 1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.task-group-section {
  border-left: 1px solid rgba(var(--bg-offcolor-rgb), 1);
}

.hover-clickable:hover {
  background-color: rgba(var(--bg-offcolor-rgb), 1);
}

.dropdown-hide-caret.dropdown-toggle::after {
  display: none;
}

.text-muted-more {
  color: #ccc;
}

.text-bold {
  font-weight: bold;
}

.no-bullets {
  list-style-type: none;
}

/* Right-aligned, fixed-width metric column so the goal icons that follow it
   line up vertically regardless of the value's width. */
.lever-lift {
  display: inline-block;
  min-width: 4rem;
  text-align: right;
}

.text-important-maintain {
  color: rgba(220, 53, 69, 1);
}

.text-important-enjoy {
  color: rgba(255, 193, 7, 1);
}

a.no-link, a.no-link-strict {
  text-decoration: none;
}

a.no-link:hover {
  color: inherit;
  text-decoration: underline;
}

#mainNav.nav li a.subtle-navlink {
  font-weight: normal;
}

.nav-underline .nav-link.bg-secondary.active {
  border-bottom: 2px solid black;
}

a.goal-achieved {
  text-decoration: line-through;
  color: #aaa;
}
a.goal-achieved:hover {
  text-decoration: line-through;
  color: #888;
}

a.goal-selected {
  text-decoration: none;
  font-weight: bold;
}

.goal-status-planning,
a.goal-status-planning {
  color: #bbb;
}
a.goal-status-planning:hover {
  color: #bbb;
}

.goal-status-inprogress,
a.goal-status-inprogress {
  color: #0d6efd;
}
a.goal-status-inprogress:hover {
  color: #0a58ca;
}

.mode-stats {
  font-size: 12px;
}

span.task-count {
  color: #aaa;
}

span.important-count {
  color: rgba(220, 53, 69, 1) !important;
}

span.goal-metric {
  color: #aaa;
  white-space: nowrap;
}

span.goal-metric .goal-metric-current {
  color: var(--bs-body-color);
}

span.goal-lift {
  color: #aaa;
  white-space: nowrap;
}

.goal-metric-detail {
  font-size: 14px;
}

.goal-metric-detail .goal-metric-value {
  font-weight: 500;
}

.goal-metric-detail .goal-metric-source {
  font-size: 12px;
}

.goal-lift-detail {
  font-size: 14px;
}

.goal-lift-detail .goal-lift-value {
  font-weight: 500;
}

.goal-lift-detail .goal-lift-context {
  font-size: 12px;
}

.goal-lift-detail .goal-lift-context-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-orange {
  color: #ff9d00;
}

.task-stats {
  font-size: 10px;
}

.sort-item-drag {
  background-color: #ddd;
  color: #aaa;
}
.sort-target-hover-up {
  border-top: 1px solid #aaa;
}
.sort-target-hover-down {
  border-bottom: 1px solid #aaa;
}

.roadmap-verticals-view .roadmap-verticals-scroll {
  overflow-x: auto;
}

.roadmap-verticals-view .roadmap-verticals-table {
  min-width: 100%;
  width: max-content;
}

.roadmap-verticals-view .roadmap-verticals-table a.no-link {
  white-space: nowrap;
  display: inline-block;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

body.markdown-fullscreen-open {
  overflow: hidden;
}

.markdown-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 16px;
  background-color: var(--bs-body-bg);
}

.markdown-fullscreen-header {
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(var(--fg-offcolor-rgb), 0.2);
}

.markdown-fullscreen-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.task-recurring-status-red span.task-title,
.task-recurring-status-yellow span.task-title,
.task-recurring-status-green span.task-title {
  padding: 0 5px;
}

.task-recurring-status-red span.task-title {
  background-color: #DC3545;
  color: white;
}

.task-recurring-status-yellow span.task-title {
  background-color: #FFC107;
  color: white;
}

.task-recurring-status-green span.task-title {
  background-color: #198754;
  color: white;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: bold;
  display: inline-block;
}

.status-badge.code-red {
  background-color: #DC3545;
  color: white;
}

.status-badge.code-orange {
  background-color: #FF9800;
  color: white;
}

.status-badge.code-yellow {
  background-color: #FFC107;
  color: #000;
}

.status-badge.green {
  background-color: #198754;
  color: white;
}

.badge.bg-orange {
  background-color: #FF9800;
  color: white;
}
/* Typography for rendered markdown (`.markdown` wrappers around
   MarkdownHighlighted). The goal is a clearly readable hierarchy: each heading
   level differs by size *and* weight *and* case *and* colour, so h2/h3/h4 are
   never confusable at a glance. */

:root {
  --md-rule: rgba(var(--fg-offcolor-rgb), 0.16);
  --md-rule-strong: rgba(var(--fg-offcolor-rgb), 0.32);
  --md-muted: rgba(var(--fg-offcolor-rgb), 0.6);
  --md-subtle-bg: rgba(var(--fg-offcolor-rgb), 0.05);
  --md-code-bg: rgba(var(--fg-offcolor-rgb), 0.08);
  --md-accent: #0d6efd;
  --md-code-fg: #d63384;
  --md-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

[data-theme="dark"] {
  --md-rule: rgba(var(--fg-offcolor-rgb), 0.18);
  --md-rule-strong: rgba(var(--fg-offcolor-rgb), 0.34);
  --md-muted: rgba(var(--fg-offcolor-rgb), 0.62);
  --md-subtle-bg: rgba(var(--fg-offcolor-rgb), 0.07);
  --md-code-bg: rgba(var(--fg-offcolor-rgb), 0.12);
  --md-accent: #6ea8fe;
  --md-code-fg: #f78fb8;
}

.markdown {
  line-height: 1.65;
  overflow-wrap: break-word;
}

/* ---------- Headings ---------- */

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  line-height: 1.25;
  scroll-margin-top: 1rem;
}

.markdown h1 {
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--md-rule-strong);
}

.markdown h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.7rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--md-rule);
}

.markdown h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.6rem 0 0.5rem;
}

/* h4 and below drop out of the "title" register entirely — small, uppercase,
   letterspaced labels — so they can't be mistaken for an h3. */
.markdown h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 1.4rem 0 0.4rem;
}

.markdown h5 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--md-muted);
  margin: 1.25rem 0 0.35rem;
}

.markdown h6 {
  font-size: 0.8rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--md-muted);
  margin: 1.2rem 0 0.35rem;
}

.markdown > *:first-child,
.markdown > *:first-child > *:first-child {
  margin-top: 0;
}

/* ---------- Body copy ---------- */

.markdown p {
  margin: 0 0 0.9rem;
}

.markdown strong {
  font-weight: 700;
}

.markdown a {
  color: var(--md-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(13, 110, 253, 0.4);
}

.markdown a:hover {
  color: var(--md-accent);
  text-decoration-color: currentcolor;
}

[data-theme="dark"] .markdown a {
  text-decoration-color: rgba(110, 168, 254, 0.45);
}

/* ---------- Lists ---------- */

.markdown ul,
.markdown ol {
  margin: 0 0 0.9rem;
  padding-left: 1.4rem;
}

.markdown li {
  margin-bottom: 0.25rem;
}

.markdown li > ul,
.markdown li > ol {
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}

.markdown li::marker {
  color: var(--md-muted);
}

/* GFM task lists: no bullet, checkbox pulled into the margin. */
.markdown li:has(> input[type="checkbox"]) {
  list-style: none;
  margin-left: -1.15rem;
}

.markdown li > input[type="checkbox"] {
  margin-right: 0.45rem;
  vertical-align: -0.1em;
  accent-color: var(--md-accent);
}

.markdown li:has(> input[type="checkbox"]:checked) {
  color: var(--md-muted);
}

/* ---------- Blockquote / rule ---------- */

.markdown blockquote {
  margin: 1.1rem 0;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 3px solid var(--md-rule-strong);
  color: var(--md-muted);
}

.markdown blockquote > *:last-child {
  margin-bottom: 0;
}

.markdown hr {
  height: 1px;
  margin: 1.8rem 0;
  border: 0;
  background-color: var(--md-rule-strong);
  opacity: 1;
}

/* ---------- Code ---------- */

.markdown code {
  font-family: var(--md-mono);
  font-size: 0.85em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  color: var(--md-code-fg);
  background-color: var(--md-code-bg);
}

.markdown pre {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  overflow-x: auto;
  background-color: var(--md-code-bg);
}

.markdown pre code {
  padding: 0;
  font-size: 0.85rem;
  color: inherit;
  background: none;
}

/* Wrapper emitted by react-syntax-highlighter (PreTag="div"). */
.markdown .markdown-code-block {
  margin: 0 0 1rem !important;
  padding: 0.85rem 1rem !important;
  border-radius: 6px;
  font-size: 0.85rem !important;
}

/* ---------- Tables ---------- */

.markdown .markdown-table-wrap {
  margin-bottom: 1rem;
  overflow-x: auto;
}

.markdown table {
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 0.95em;
}

.markdown th,
.markdown td {
  border: 1px solid var(--md-rule);
  padding: 0.4rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.markdown th {
  background-color: var(--md-subtle-bg);
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.markdown tbody tr:nth-child(even) {
  background-color: var(--md-subtle-bg);
}

/* ---------- Media ---------- */

.markdown img {
  max-width: 100%;
  border-radius: 6px;
}

/* ---------- Fullscreen reading view ---------- */

/* Constrain the line length so long-form articles stay readable full-bleed. */
.markdown-measure {
  max-width: 78ch;
  margin: 0 auto;
}

.markdown-fullscreen-body .markdown-measure {
  font-size: 1.05rem;
  padding-bottom: 3rem;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
