/*! ChessExpose Personal Opening Explorer. Theme #8FB4D8 / #EEF3F8. */

.cxo-wrap { margin: 0; padding: 0 0 24px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.cxo-eyebrow { margin: 0 0 4px; color: var(--cxp-green); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.cxo-page h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.2; letter-spacing: -.4px; color: var(--cxp-navy); }
.cxo-lead { margin: 0 0 8px; font-size: 17px; }
.cxo-source { margin: 0 0 10px; color: var(--cxp-muted); font-size: 14px; }

.cxo-filters { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; width: 100%; max-width: 100%; }
.cxo-filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.cxo-field { position: relative; margin: 0; min-width: 0; }
.cxo-field-label {
  position: absolute;
  top: 3px;
  left: 10px;
  z-index: 1;
  font-size: 10px;
  line-height: 12px;
  font-weight: 700;
  color: #2F5F8F;
  pointer-events: none;
}
.cxo-select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 16px 28px 2px 10px;
  border: 1.5px solid #8FB4D8;
  border-radius: 10px;
  background-color: #EEF3F8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%232F5F8F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5 6 6l4.5-4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
  color: var(--cxp-navy);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.1;
  cursor: pointer;
}
.cxo-select:hover { background-color: #d6e5f3; }
.cxo-select:focus-visible { box-shadow: var(--cxp-focus); outline: none; }

.cxo-field-tc { display: flex; align-items: stretch; gap: 4px; grid-column: 1 / -1; }
.cxo-field-tc .cxo-select { flex: 1 1 auto; min-width: 0; }
.cxo-info {
  appearance: none;
  box-sizing: border-box;
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #8FB4D8;
  background: #EEF3F8;
  color: #2F5F8F;
  border-radius: 10px;
  cursor: pointer;
}
.cxo-info:hover { background: #d6e5f3; }
.cxo-info[aria-expanded="true"] { background: #d6e5f3; }
.cxo-info:focus-visible { box-shadow: var(--cxp-focus); outline: none; }
.cxo-info svg { display: block; }

.cxo-tc-tip {
  position: fixed;
  z-index: 1000;
  background: #0e1f3a;
  color: #fff;
  font: 550 13px/1.4 var(--cxp-font);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: normal;
  max-width: min(340px, calc(100vw - 16px));
  box-shadow: 0 2px 8px rgba(14,31,58,.25);
}
.cxo-tc-tip[hidden] { display: none; }

.cxo-sample {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 16px;
  color: var(--cxp-muted);
  overflow-anchor: none;
}

@media (min-width: 800px) {
  .cxo-filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cxo-field-tc { grid-column: auto; }
}

.cxo-summary {
  background: var(--cxp-accent-050);
  border: 1px solid var(--cxp-border);
  border-radius: var(--cxp-radius);
  padding: 12px 16px;
  margin: 0 0 16px;
  overflow-anchor: none;
}
.cxo-summary p { margin: 0; }
.cxo-summary strong { color: var(--cxp-navy); }

.cxo-btn {
  appearance: none; box-sizing: border-box;
  border: 1px solid var(--cxp-green); background: #fff;
  color: var(--cxp-green); font: inherit; font-weight: 650; font-size: 14px;
  min-height: 44px; min-width: 44px; padding: 0 10px; border-radius: 8px;
  cursor: pointer; white-space: nowrap;
}
.cxo-btn:hover { background: var(--cxp-green-050); }
.cxo-btn[disabled] { opacity: .45; cursor: default; background: #fff; }
.cxo-btn-primary { background: var(--cxp-green); color: #fff; }
.cxo-btn-primary:hover { background: var(--cxp-green-600); }
.cxo-btn:focus-visible { box-shadow: var(--cxp-focus); outline: none; }

/* Reserved, single-line trail: hiding or wrapping this row is what used to shove the board. */
.cxo-crumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  box-sizing: border-box;
  margin: 0 0 16px;
  height: 48px;
  min-height: 48px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  overflow-anchor: none;
  -webkit-overflow-scrolling: touch;
}
.cxo-crumbs[hidden] { display: flex !important; } /* never collapse this reserved row */
.cxo-crumbs-label {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--cxp-muted);
  margin-right: 4px;
  white-space: nowrap;
}
.cxo-crumb {
  appearance: none; border: 1px solid var(--cxp-border); background: #fff;
  color: var(--cxp-navy); font: inherit; font-weight: 650; font-size: 13px;
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
  flex: none;
  white-space: nowrap;
}
.cxo-crumb[aria-current="true"] {
  background: var(--cxp-navy); color: #fff; border-color: var(--cxp-navy);
}
.cxo-crumb:focus-visible { box-shadow: var(--cxp-focus); outline: none; }

/* Reserve lines for the position blurb so a longer sentence cannot push the board. */
.cxo-pos { margin: 0 0 16px; overflow-anchor: none; }
.cxo-pos-lead {
  font-weight: 750;
  color: var(--cxp-navy);
  margin: 0 0 4px;
  line-height: 1.55;
  min-height: 1.55em;
}
.cxo-pos-body {
  margin: 0;
  color: var(--cxp-text);
  line-height: 1.55;
  min-height: calc(1.55em * 3);
}
@media (max-width: 1099px) {
  .cxo-pos-lead { min-height: calc(1.55em * 2); }
  .cxo-pos-body { min-height: calc(1.55em * 3); }
}
@media (max-width: 799px) {
  .cxo-pos-lead { min-height: calc(1.55em * 3); }
  .cxo-pos-body { min-height: calc(1.55em * 6); }
}
@media (max-width: 520px) {
  .cxo-pos-lead { min-height: calc(1.55em * 3); }
  .cxo-pos-body { min-height: calc(1.55em * 8); }
}

.cxo-board-stack {
  width: min(96%, 560px);
  margin: 0 auto 20px;
  overflow-anchor: auto;
}
.cxo-board-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  margin: 0;
}
.cxo-board-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  margin: 8px 0 0;
  /* Sit under the board, not the eval bar (26px + 10px gap). */
  padding-left: 36px;
  min-width: 0;
}
.cxo-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: none;
}
.cxo-board-nav #cxo-start { justify-self: start; }
.cxo-board-nav #cxo-flip { justify-self: end; }
.cxo-arrow {
  appearance: none;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #8FB4D8;
  background: #EEF3F8;
  color: #2F5F8F;
  border-radius: 10px;
  cursor: pointer;
}
.cxo-arrow:hover { background: #d6e5f3; }
.cxo-arrow[disabled] {
  opacity: .45;
  cursor: default;
  background: #EEF3F8;
}
.cxo-arrow:focus-visible { box-shadow: var(--cxp-focus); outline: none; }
.cxo-arrow svg { display: block; }
.cxo-eval {
  position: relative;
  flex: none;
  width: 26px;
  overflow: hidden;
  border-radius: 5px;
  background: #262b33;
  border: 1px solid #9fb3c8;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
}
.cxo-eval-you {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: #f5f7fa;
  transition: height .45s cubic-bezier(.25, .8, .25, 1);
}
.cxo-eval-mid {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; margin-top: -1px;
  background: rgba(143, 180, 216, .9); z-index: 1;
}
.cxo-eval-label {
  position: absolute; left: 0; right: 0; z-index: 2;
  text-align: center;
  font: 800 10px/1 var(--cxp-font);
  letter-spacing: -.2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 6px 0;
}
.cxo-eval[data-side="you"] .cxo-eval-label { color: #1b2330; bottom: 2px; top: auto; writing-mode: horizontal-tb; transform: none; }
.cxo-eval[data-side="opp"] .cxo-eval-label { color: #f5f7fa; top: 4px; writing-mode: horizontal-tb; transform: none; }
.cxo-eval[data-side="even"] .cxo-eval-label,
.cxo-eval[data-side="none"] .cxo-eval-label { color: #1b2330; top: 50%; margin-top: 6px; writing-mode: horizontal-tb; transform: none; }
@media (prefers-reduced-motion: reduce) { .cxo-eval-you { transition: none; } }

.cxo-board-col { flex: 1; min-width: 0; position: relative; }
.cxo-board-col .cxb { width: 100%; --cxb-max: 100%; margin: 0; max-width: 100%; }


.cxo-move-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.cxo-badges { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.cxo-badge {
  position: absolute;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 0;
  border-radius: 8px;
  background: rgba(14, 31, 58, .78);
  color: #fff;
  font: 700 11px/1.1 var(--cxp-font);
  padding: 2px 4px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  max-width: 90%;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.cxo-badge-stack {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.cxo-badge-stack .cxo-badge {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  max-width: none;
}
.cxo-badge.is-shared {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 1px 4px;
  line-height: 1;
}
.cxo-badge.is-shared .cxo-badge-pct { font-size: 11px; }
.cxo-badge-san {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
}
@media (max-width: 520px) {
  .cxo-badge.is-shared { padding: 1px 3px; gap: 2px; }
  .cxo-badge.is-shared .cxo-badge-san { font-size: 8px; }
  .cxo-badge.is-shared .cxo-badge-pct { font-size: 10px; }
}
.cxo-badge-pct { font-size: 12px; font-weight: 800; }
.cxo-badge-ev { font-size: 10px; font-weight: 650; opacity: .95; }
.cxo-badge.is-best { background: rgba(15, 94, 60, .9); }
.cxo-badge.is-engine {
  background: rgba(47, 95, 143, .92);
  cursor: default;
  outline: 2px dashed rgba(255,255,255,.85);
  outline-offset: 1px;
}
.cxo-badge:focus-visible { box-shadow: var(--cxp-focus); outline: none; }
.cxo-comp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  vertical-align: -2px;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
  cursor: help;
}
.cxo-comp svg { display: block; }
.cxo-badge .cxo-comp { color: #fff; }
/* Tooltip lives outside the board (the board itself uses overflow:hidden). */
.cxo-comp-tip {
  position: fixed;
  z-index: 1000;
  background: #0e1f3a;
  color: #fff;
  font: 650 13px/1.35 var(--cxp-font);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14,31,58,.25);
  pointer-events: none;
  max-width: calc(100vw - 16px);
}
.cxo-comp-tip[hidden] { display: none; }
.cxo-icon-legend {
  position: relative;
  margin: 10px 0 0;
  color: var(--cxp-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: help;
}
.cxo-icon-legend .cxo-comp { color: var(--cxp-navy); }
.cxo-play .cxo-comp { margin-right: 4px; color: var(--cxp-green); }

.cxo-section { margin: 24px 0 0; }
.cxo-section h2 { margin: 0 0 6px; font-size: 20px; color: var(--cxp-navy); }
.cxo-caption { margin: 0 0 10px; color: var(--cxp-muted); font-size: 14px; }

.cxo-table-wrap { overflow-x: auto; overflow-anchor: none; border: 1px solid var(--cxp-border); border-radius: 12px; width: 100%; max-width: 100%; min-width: 0; }
.cxo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cxo-table th, .cxo-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--cxp-border); vertical-align: middle; }
.cxo-table th { background: var(--cxp-accent-050); color: var(--cxp-navy); font-weight: 700; white-space: nowrap; }
.cxo-table tr:last-child td { border-bottom: 0; }
.cxo-table tr.is-best td { background: #f3faf6; }
.cxo-table tr.is-engine td { background: var(--cxp-accent-050); color: var(--cxp-muted); }
.cxo-play {
  appearance: none; border: 0; background: none; color: var(--cxp-green);
  font: inherit; font-weight: 700; cursor: pointer; padding: 0; text-align: left;
}
.cxo-play:hover { text-decoration: underline; }
.cxo-play[disabled] { color: var(--cxp-muted); cursor: default; text-decoration: none; font-weight: 650; }
.cxo-empty { color: var(--cxp-muted); padding: 12px 0; }

.cxo-games { display: flex; flex-direction: column; gap: 8px; overflow-anchor: none; }
.cxo-game {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--cxp-border);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  box-sizing: border-box;
}
.cxo-game:hover { background: var(--cxp-accent-050); }
.cxo-game:hover .cxo-game-view { text-decoration: underline; }
.cxo-game:focus-visible { box-shadow: var(--cxp-focus); outline: none; }
.cxo-game.is-nolink { cursor: default; }
.cxo-game-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--cxp-accent-700);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}
.cxo-game-mark { display: block; flex: none; }
.cxo-game-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 140px; }
.cxo-game-title { font-weight: 750; color: var(--cxp-navy); }
.cxo-game-meta { color: var(--cxp-muted); font-size: 14px; }
.cxo-game-view {
  margin-left: auto;
  flex: none;
  color: var(--cxp-accent-700);
  font-weight: 750;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .cxo-game { min-height: 44px; padding: 12px 14px; }
  .cxo-game-view { width: 100%; margin-left: 0; }
}
.cxo-res-W { color: var(--cxp-win); font-weight: 750; }
.cxo-res-D { color: var(--cxp-draw); font-weight: 750; }
.cxo-res-L { color: var(--cxp-loss); font-weight: 750; }

.cxo-credit { margin: 32px 0 0; color: var(--cxp-muted); font-size: 13px; }

@media (max-width: 520px) {
  .cxo-board-stack { width: min(96%, 548px); }
  .cxo-eval { width: 16px; }
  .cxo-board-nav { padding-left: 26px; }
  .cxo-board-nav .cxo-btn { padding: 0 8px; font-size: 13px; }
  .cxo-eval-label { font-size: 9px; }
  .cxo-badge { font-size: 10px; padding: 1px 3px; }
  .cxo-badge-pct { font-size: 11px; }
}

/* Let a picked-up piece drop on a square even if a frequency badge sits there. */
.cxb-board:has(.cxb-sq.selected) .cxo-badges,
.cxb-board.is-dragging .cxo-badges { pointer-events: none; }


/* 0.7.24 — habit and blunder tables at the bottom of the explorer */
.cxo-habits-sec { overflow-anchor: none; }
.cxo-habits-sec[hidden] { display: none; }
.cxo-scroll-hint {
  margin: 0 0 8px;
  color: var(--cxp-accent-700);
  font-size: 13px;
  font-weight: 650;
}
.cxo-scroll-hint[hidden] { display: none; }
.cxo-habits-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cxo-habits-table { min-width: 980px; }
.cxo-habits-table td { vertical-align: top; }
.cxo-habits-table .cxo-habit-line { font-variant-numeric: tabular-nums; word-break: break-word; }
.cxo-habit-link {
  color: var(--cxp-accent-700);
  font-weight: 750;
  text-decoration: none;
}
.cxo-habit-link:hover { text-decoration: underline; }
.cxo-habit-cards { display: none; flex-direction: column; gap: 10px; overflow-anchor: none; }
.cxo-habit-card {
  border: 1px solid var(--cxp-border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  overflow-anchor: none;
}
.cxo-habit-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
}
.cxo-habit-num {
  flex: none;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--cxp-accent-050);
  color: var(--cxp-navy);
  font-weight: 800;
  font-size: 13px;
  display: inline-grid;
  place-items: center;
}
.cxo-habit-card-title { margin: 0; font-size: 16px; color: var(--cxp-navy); font-weight: 800; }
.cxo-habit-card dl {
  display: grid;
  grid-template-columns: 8.6em 1fr;
  gap: 6px 10px;
  margin: 0;
}
.cxo-habit-card dt {
  margin: 0;
  color: var(--cxp-muted);
  font-size: 13px;
  font-weight: 700;
}
.cxo-habit-card dd { margin: 0; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .cxo-habits-wrap, .cxo-habits-sec .cxo-scroll-hint { display: none; }
  .cxo-habit-cards { display: flex; }
}

/* 0.7.25 — looping thumbnail boards and a popup, no Show/Hide row */
.cxo-habit-boardcell {
  width: 112px;
  vertical-align: middle;
  padding: 8px 10px;
}
.cxo-thumb {
  appearance: none;
  box-sizing: border-box;
  display: block;
  width: 96px;
  height: 96px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--cxp-border);
  border-radius: 8px;
  overflow: hidden;
  background: #eef3f8;
  cursor: pointer;
  overflow-anchor: none;
}
.cxo-thumb:hover { box-shadow: 0 0 0 2px var(--cxp-accent-700); }
.cxo-thumb:focus { outline: none; }
.cxo-thumb:focus-visible { box-shadow: var(--cxp-focus); }
.cxo-thumb-svg { display: block; width: 100%; height: 100%; }
.cxo-habit-card-block {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  overflow-anchor: none;
}
.cxo-habit-card-block .cxo-thumb {
  grid-row: 1 / span 2;
  width: 88px;
  height: 88px;
}
.cxo-habit-card-block .cxo-habit-card { grid-column: 2; }

.cxo-habit-dialog-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-anchor: none;
}
.cxo-habit-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 48, 0.45);
}
.cxo-habit-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--cxp-border);
  box-shadow: 0 16px 40px rgba(18, 32, 48, 0.28);
}
.cxo-habit-dialog:focus { outline: none; }
.cxo-habit-dialog:focus-visible { box-shadow: var(--cxp-focus), 0 16px 40px rgba(18, 32, 48, 0.28); }
.cxo-habit-dialog-title {
  margin: 0 44px 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--cxp-navy);
}
.cxo-habit-dialog-close {
  appearance: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cxp-navy);
  cursor: pointer;
}
.cxo-habit-dialog-close:hover { background: var(--cxp-accent-050); }
.cxo-habit-dialog-close:focus-visible { box-shadow: var(--cxp-focus); outline: none; }
.cxo-habit-dialog .cxo-mini-lead {
  margin: 0 0 10px;
  color: var(--cxp-muted);
  font-size: 14px;
}
.cxo-habit-dialog .cxo-mini-board {
  width: min(100%, 360px);
  margin: 0 auto;
  position: relative;
}
.cxo-habit-dialog .cxo-mini-board .cxb { width: 100%; --cxb-max: 100%; margin: 0; max-width: 100%; }
.cxo-habit-dialog .cxo-mini-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
  overflow-anchor: none;
}
.cxo-habit-dialog .cxo-mini-nav .cxo-btn { justify-self: start; }
.cxo-habit-dialog .cxo-mini-nav .cxo-arrows { justify-self: center; }
.cxo-habit-dialog .cxo-mini-move {
  margin: 10px auto 0;
  width: min(100%, 360px);
  min-height: 44px;
  color: var(--cxp-navy);
  font-weight: 750;
  font-size: 15px;
  text-align: center;
  overflow-anchor: none;
}
.cxo-mini-gear {
  position: absolute;
  z-index: 4;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: rgba(15, 94, 60, .92);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  border: 0;
  padding: 0;
  cursor: help;
}
.cxo-mini-gear .cxo-comp { color: #fff; }
.cxo-mini-gear .cxo-comp svg { width: 16px; height: 16px; }
@media (max-width: 899px) {
  .cxo-habit-dialog { width: min(420px, calc(100vw - 16px)); padding: 14px 12px 12px; }
  .cxo-habit-card-block .cxo-thumb { width: 80px; height: 80px; }
  .cxo-habit-card-block { grid-template-columns: 80px minmax(0, 1fr); }
}
