#page-objetivos_marca {
  background: var(--bg);
}

#page-objetivos_marca .om-page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: var(--s-5);
}

#page-objetivos_marca .om-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

#page-objetivos_marca .om-head p {
  margin: 0 0 4px;
  color: var(--text-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  letter-spacing: .06em;
  text-transform: uppercase;
}

#page-objetivos_marca .om-head h1 {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-title);
  line-height: 1.2;
}

#page-objetivos_marca .om-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-2);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  padding: 0 var(--s-3);
  white-space: nowrap;
}

#page-objetivos_marca .om-filterbar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  overflow-x: auto;
  padding: var(--s-2);
  margin-bottom: var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

#page-objetivos_marca .om-filterbar label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

#page-objetivos_marca .om-filterbar span {
  color: var(--text-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  letter-spacing: .05em;
  text-transform: uppercase;
}

#page-objetivos_marca .om-filterbar select {
  height: var(--ctrl-h);
  min-width: 126px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-body);
  padding: 0 28px 0 10px;
}

#page-objetivos_marca .om-context {
  margin: 0 2px var(--s-3);
  color: var(--text-3);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-empty,
#page-objetivos_marca .om-alert {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: var(--s-3);
  padding: var(--s-4);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  box-shadow: var(--shadow-card);
}

#page-objetivos_marca .om-empty strong,
#page-objetivos_marca .om-alert strong {
  color: var(--text);
  font-size: var(--fs-sec);
}

#page-objetivos_marca .om-empty span {
  color: var(--text-2);
}

#page-objetivos_marca .om-empty--warn {
  background: var(--warn-bg);
  border-style: solid;
}

#page-objetivos_marca .om-empty--slim strong {
  font-size: var(--fs-body);
}

#page-objetivos_marca .om-alert--error {
  border-style: solid;
  background: var(--neg-bg);
  color: var(--neg);
}

#page-objetivos_marca .om-types {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

#page-objetivos_marca .om-type {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

#page-objetivos_marca .om-type.is-incomplete {
  border-color: var(--warn);
}

#page-objetivos_marca .om-type__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: var(--s-3);
  width: 100%;
  min-height: 62px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: var(--s-3) var(--s-4);
  cursor: pointer;
}

#page-objetivos_marca .om-type__head:hover {
  background: var(--hover);
}

#page-objetivos_marca .om-type__main {
  min-width: 0;
}

#page-objetivos_marca .om-type__main strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

#page-objetivos_marca .om-type__main em {
  display: block;
  margin-top: 3px;
  color: var(--text-3);
  font-size: var(--fs-label);
  font-style: normal;
  line-height: 1.35;
}

#page-objetivos_marca .om-type__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 92px;
}

#page-objetivos_marca .om-total {
  color: var(--text);
  font-family: var(--font-num);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

#page-objetivos_marca .om-total small {
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-total--void,
#page-objetivos_marca .om-coverage {
  color: var(--text-3);
}

#page-objetivos_marca .om-total--pending {
  color: var(--warn);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  letter-spacing: .04em;
  text-transform: uppercase;
}

#page-objetivos_marca .om-coverage {
  margin-top: 2px;
  font-family: var(--font-num);
  font-size: var(--fs-label);
  font-variant-numeric: tabular-nums;
}

#page-objetivos_marca .is-incomplete .om-coverage {
  color: var(--warn);
}

#page-objetivos_marca .om-chev {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  align-self: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-weight: var(--fw-semi);
}

#page-objetivos_marca .om-type__body {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

#page-objetivos_marca .om-periodbar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding: var(--s-2) var(--s-4);
}

#page-objetivos_marca .om-periodbar > span,
#page-objetivos_marca .om-trace span {
  color: var(--text-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  letter-spacing: .06em;
  text-transform: uppercase;
}

#page-objetivos_marca .om-seg {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

#page-objetivos_marca .om-seg button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  padding: 0 var(--s-3);
}

#page-objetivos_marca .om-seg button.is-active {
  background: var(--accent-weak);
  color: var(--accent-strong);
}

#page-objetivos_marca .om-seg i {
  color: var(--accent-strong);
  font-style: normal;
  font-size: 10px;
}

#page-objetivos_marca .om-trace {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  border-bottom: 1px solid var(--row-border);
  padding: 10px var(--s-4);
  color: var(--text-2);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-trace strong {
  color: var(--text);
  font-weight: var(--fw-semi);
}

#page-objetivos_marca .om-split {
  display: block;
}

#page-objetivos_marca .om-months {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

#page-objetivos_marca .om-months--desktop,
#page-objetivos_marca .om-gnote {
  display: none;
}

#page-objetivos_marca .om-month-grid,
#page-objetivos_marca .om-derived-strip {
  display: contents;
}

#page-objetivos_marca .om-month-row {
  display: grid;
  grid-template-columns: 92px minmax(118px, 170px) minmax(92px, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  min-height: 54px;
  border-bottom: 1px solid var(--row-border);
  padding: 7px var(--s-4);
}

#page-objetivos_marca .om-month-row.is-dirty {
  background: color-mix(in srgb, var(--warn-bg) 38%, var(--surface));
}

#page-objetivos_marca .om-month-row__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

#page-objetivos_marca .om-month-row__label strong {
  color: var(--text-2);
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  text-transform: capitalize;
}

#page-objetivos_marca .om-month-row__label span {
  color: var(--text-3);
  font-family: var(--font-num);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-edit {
  display: inline-flex;
  position: relative;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 0 11px;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

#page-objetivos_marca .om-edit input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: right;
}

#page-objetivos_marca .om-edit input:focus {
  outline: 0;
}

#page-objetivos_marca .om-edit input:disabled {
  cursor: not-allowed;
}

#page-objetivos_marca .om-edit.is-empty {
  border-style: dashed;
  background: var(--surface-2);
  color: var(--text-3);
}

#page-objetivos_marca .om-edit.is-error {
  border-color: var(--neg);
  background: var(--neg-bg);
}

#page-objetivos_marca .om-edit span {
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-histmark {
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--surface);
  color: var(--accent-strong);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: var(--fw-semi);
}

#page-objetivos_marca .om-histmark:hover {
  background: var(--accent-weak);
}

#page-objetivos_marca .om-month-row__state {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

#page-objetivos_marca .om-mini {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 10px;
  font-weight: var(--fw-semi);
  letter-spacing: .04em;
  line-height: 1;
  padding: 0 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

#page-objetivos_marca .om-mini--void {
  color: var(--text-3);
}

#page-objetivos_marca .om-mini--ok {
  background: var(--accent-weak);
  color: var(--accent-strong);
}

/* Recorrido de la negociación: inicial → negociado. Se pinta junto al estado de la celda y solo
   cuando hubo movimiento, para que un objetivo sin negociar no meta ruido en la rejilla. */
#page-objetivos_marca .om-nego {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--text-2);
}

#page-objetivos_marca .om-nego__flecha {
  opacity: 0.55;
  padding: 0 1px;
}

#page-objetivos_marca .om-nego--baja {
  background: var(--neg-bg);
  color: var(--neg);
}

#page-objetivos_marca .om-nego--sube {
  background: var(--accent-weak);
  color: var(--accent-strong);
}

#page-objetivos_marca .om-mini--err {
  background: var(--neg-bg);
  color: var(--neg);
}

#page-objetivos_marca .om-actions {
  display: inline-grid;
  grid-template-columns: 30px 30px;
  gap: 5px;
}

#page-objetivos_marca .om-actions button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-2);
  font-weight: var(--fw-semi);
}

#page-objetivos_marca .om-actions button:not(:disabled):hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

#page-objetivos_marca .om-actions button:disabled {
  cursor: default;
  opacity: .45;
}

#page-objetivos_marca .om-savebar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 46px;
  margin-top: var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  box-shadow: var(--shadow-card);
  padding: 0 var(--s-3);
}

#page-objetivos_marca .om-savebar.is-saving {
  color: var(--text);
}

#page-objetivos_marca .om-savebar.is-error {
  border-color: var(--neg);
  background: var(--neg-bg);
  color: var(--neg);
}

#page-objetivos_marca .om-savebar.is-saved .om-savebar__icon {
  background: var(--accent-weak);
  color: var(--accent-strong);
}

#page-objetivos_marca .om-savebar__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-2);
  font-weight: var(--fw-semi);
}

#page-objetivos_marca .om-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: om-spin .7s linear infinite;
}

@keyframes om-spin {
  to { transform: rotate(360deg); }
}

#page-objetivos_marca .om-readonly {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0 0 var(--s-3);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  letter-spacing: .04em;
  padding: 0 var(--s-3);
  text-transform: uppercase;
}

#page-objetivos_marca .om-scrim {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(22, 32, 29, .32);
}

#page-objetivos_marca .om-history {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 121;
  width: min(100vw, 390px);
  overflow-y: auto;
  border-left: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}

#page-objetivos_marca .om-history__close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-2);
}

#page-objetivos_marca .om-history header {
  padding: var(--s-5) var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--border);
}

#page-objetivos_marca .om-history header p {
  margin: 0 0 5px;
  color: var(--text-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  letter-spacing: .06em;
  text-transform: uppercase;
}

#page-objetivos_marca .om-history header h2 {
  max-width: 290px;
  margin: 0;
  color: var(--text);
  font-size: var(--fs-sec);
  line-height: 1.25;
}

#page-objetivos_marca .om-history header span {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-history__current {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: var(--s-4);
}

#page-objetivos_marca .om-history__current strong {
  color: var(--text);
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: var(--fw-med);
  line-height: 1;
}

#page-objetivos_marca .om-history__current span {
  color: var(--text-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
}

#page-objetivos_marca .om-history__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 var(--s-4) var(--s-5);
  list-style: none;
}

#page-objetivos_marca .om-history__list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: var(--s-3);
  position: relative;
}

#page-objetivos_marca .om-history__list li::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: var(--border);
}

#page-objetivos_marca .om-history__list li:last-child::before {
  display: none;
}

#page-objetivos_marca .om-history__dot {
  width: 13px;
  height: 13px;
  margin-top: 4px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--border-strong);
}

#page-objetivos_marca .om-history__list li.is-current .om-history__dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-weak);
}

#page-objetivos_marca .om-history__value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--text);
  font-family: var(--font-num);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

#page-objetivos_marca .om-history__value small {
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-history__value em {
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 10px;
  font-style: normal;
  font-weight: var(--fw-semi);
  letter-spacing: .04em;
  padding: 4px 7px;
  text-transform: uppercase;
}

#page-objetivos_marca .om-history__meta {
  margin-top: 3px;
  color: var(--text-3);
  font-size: var(--fs-label);
  line-height: 1.35;
}

#page-objetivos_marca .om-history__note {
  margin-top: 7px;
  margin-bottom: var(--s-4);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--fs-label);
  line-height: 1.45;
  padding: 8px 10px;
}

#page-objetivos_marca .om-derived {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: var(--s-2);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding: 9px var(--s-4);
}

#page-objetivos_marca .om-derived.is-liquidacion {
  background: var(--accent-weak);
}

#page-objetivos_marca .om-derived__name {
  overflow: hidden;
  color: var(--text-2);
  font-size: var(--fs-label);
  font-weight: var(--fw-semi);
  text-overflow: ellipsis;
}

#page-objetivos_marca .om-derived__value {
  color: var(--text);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

#page-objetivos_marca .om-derived__value.is-void {
  color: var(--text-3);
}

#page-objetivos_marca .om-derived__value small {
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
}

#page-objetivos_marca .om-derived__coverage {
  color: var(--text-3);
  font-family: var(--font-num);
  font-size: var(--fs-label);
  white-space: nowrap;
}

#page-objetivos_marca .om-derived__coverage.is-partial {
  color: var(--warn);
}

@media (min-width: 1024px) {
  #page-objetivos_marca .om-split {
    display: block;
  }
  #page-objetivos_marca .om-periodbar {
    display: none;
  }
  #page-objetivos_marca .om-months--mobile {
    display: none;
  }
  #page-objetivos_marca .om-months--desktop {
    display: block;
  }
  #page-objetivos_marca .om-gtab {
    padding: var(--s-4) var(--s-5) var(--s-3);
    overflow-x: visible;
  }
  #page-objetivos_marca .om-grow {
    display: grid;
    grid-template-columns: 112px repeat(12, minmax(0, 1fr));
    gap: 5px;
    align-items: center;
    min-width: 0;
  }
  #page-objetivos_marca .om-grow--head {
    margin-bottom: 3px;
  }
  #page-objetivos_marca .om-grow--in {
    align-items: start;
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--border);
  }
  #page-objetivos_marca .om-gcell {
    min-width: 0;
  }
  #page-objetivos_marca .om-gcell--m {
    color: var(--text-3);
    font-size: 10px;
    font-weight: var(--fw-semi);
    letter-spacing: .07em;
    text-align: center;
    text-transform: uppercase;
  }
  #page-objetivos_marca .om-gcell--lbl {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-2);
    font-size: 10.5px;
    font-weight: var(--fw-semi);
    white-space: nowrap;
  }
  #page-objetivos_marca .om-month-cell {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 0;
    padding: 0;
  }
  #page-objetivos_marca .om-month-cell.is-dirty {
    background: transparent;
  }
  #page-objetivos_marca .om-month-cell .om-edit {
    min-height: 40px;
    justify-content: center;
    padding: 0 7px;
  }
  #page-objetivos_marca .om-month-cell .om-edit input {
    min-height: 38px;
    font-size: 14px;
    text-align: center;
  }
  #page-objetivos_marca .om-month-cell .om-edit span {
    display: none;
  }
  #page-objetivos_marca .om-month-cell .om-month-row__state {
    display: flex;
    min-height: 17px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
  }
  #page-objetivos_marca .om-month-cell .om-actions {
    display: flex;
    min-height: 24px;
    justify-content: center;
  }
  #page-objetivos_marca .om-month-cell .om-actions button {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 12px;
  }
  #page-objetivos_marca .om-month-cell .om-actions button:disabled,
  #page-objetivos_marca .om-month-cell .om-actions button[data-om-delete] {
    display: none;
  }
  #page-objetivos_marca .om-gmeta__text {
    overflow: hidden;
    color: var(--text-3);
    font-size: 9px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #page-objetivos_marca .om-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 999px;
  }
  #page-objetivos_marca .om-dot--loaded {
    background: var(--accent);
  }
  #page-objetivos_marca .om-month-cell .om-histmark {
    width: 24px;
    height: 20px;
    border-radius: 6px;
    font-size: 10px;
  }
  #page-objetivos_marca .om-month-cell .om-mini {
    min-height: 15px;
    border-radius: 5px;
    font-size: 8px;
    padding: 0 4px;
  }
  #page-objetivos_marca .om-grow--der {
    align-items: stretch;
    margin-top: 6px;
  }
  #page-objetivos_marca .om-grow--der.is-liquidacion .om-gcell--lbl {
    color: var(--text);
  }
  #page-objetivos_marca .om-gcell--der {
    display: flex;
    min-height: 52px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    padding: 5px 6px;
  }
  #page-objetivos_marca .om-grow--der.is-liquidacion .om-gcell--der {
    border-color: transparent;
    background: var(--accent-weak);
  }
  #page-objetivos_marca .om-gder__value {
    color: var(--text);
    font-family: var(--font-num);
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    line-height: 1.25;
  }
  #page-objetivos_marca .om-gder__value.is-void {
    color: var(--text-3);
  }
  #page-objetivos_marca .om-gder__value small {
    color: var(--text-3);
    font-family: var(--font-sans);
    font-size: 9px;
  }
  #page-objetivos_marca .om-gder__name,
  #page-objetivos_marca .om-gder__coverage {
    overflow: hidden;
    max-width: 100%;
    color: var(--text-3);
    font-size: 9px;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #page-objetivos_marca .om-grow--der.is-liquidacion .om-gder__name {
    color: var(--accent-strong);
  }
  #page-objetivos_marca .om-gder__coverage.is-partial {
    color: var(--warn);
  }
  #page-objetivos_marca .om-gnote {
    display: block;
    padding: 0 var(--s-5) var(--s-3);
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.4;
  }
  #page-objetivos_marca .om-gnote b {
    color: var(--text-2);
    font-weight: var(--fw-semi);
  }
  #page-objetivos_marca .om-derived--inline {
    display: none;
  }
}

@media (max-width: 720px) {
  #page-objetivos_marca .om-page {
    padding: var(--s-4);
  }
  #page-objetivos_marca .om-head {
    display: block;
  }
  #page-objetivos_marca .om-pill {
    margin-top: var(--s-2);
  }
  #page-objetivos_marca .om-filterbar {
    margin-left: calc(var(--s-4) * -1);
    margin-right: calc(var(--s-4) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  #page-objetivos_marca .om-filterbar label {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  #page-objetivos_marca .om-filterbar select {
    min-width: 150px;
  }
  #page-objetivos_marca .om-type__head {
    grid-template-columns: minmax(0, 1fr) minmax(82px, auto) 28px;
    padding: var(--s-3);
  }
  #page-objetivos_marca .om-periodbar,
  #page-objetivos_marca .om-trace {
    padding-left: var(--s-3);
    padding-right: var(--s-3);
  }
  #page-objetivos_marca .om-periodbar {
    gap: 7px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  #page-objetivos_marca .om-periodbar > span {
    flex-shrink: 0;
  }
  #page-objetivos_marca .om-seg button {
    min-height: 36px;
    padding: 0 10px;
  }
  #page-objetivos_marca .om-trace {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  #page-objetivos_marca .om-months {
    display: block;
  }
  #page-objetivos_marca .om-months--desktop,
  #page-objetivos_marca .om-gnote {
    display: none;
  }
  #page-objetivos_marca .om-month-grid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px var(--s-3) 8px;
  }
  #page-objetivos_marca .om-month-grid--annual {
    grid-template-columns: minmax(0, 1fr);
  }
  #page-objetivos_marca .om-month-row {
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: stretch;
    gap: 5px;
    min-height: 96px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: 7px 7px 23px;
  }
  #page-objetivos_marca .om-month-row.is-empty {
    border-style: dashed;
    background: var(--surface-2);
  }
  #page-objetivos_marca .om-month-row.is-loaded {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent-weak) 42%, var(--surface));
  }
  #page-objetivos_marca .om-month-row.is-zero {
    border-color: var(--border-strong);
  }
  #page-objetivos_marca .om-month-row.is-saved .om-month-row__label,
  #page-objetivos_marca .om-month-row.is-dirty .om-month-row__label {
    padding-right: 0;
  }
  #page-objetivos_marca .om-month-row__label {
    display: flex;
    min-height: 16px;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
  }
  #page-objetivos_marca .om-month-row__label strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #page-objetivos_marca .om-month-row__label span {
    display: inline;
    font-size: 10px;
  }
  #page-objetivos_marca .om-edit {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    justify-content: center;
    padding: 0 7px;
  }
  #page-objetivos_marca .om-edit input {
    min-height: 42px;
    font-size: 16px;
    text-align: center;
  }
  #page-objetivos_marca .om-edit span {
    display: none;
  }
  #page-objetivos_marca .om-histmark {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin-right: -7px;
    border-radius: var(--radius-sm);
  }
  #page-objetivos_marca .om-month-row__state {
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 5px;
    min-height: 14px;
    justify-content: flex-start;
    gap: 3px;
  }
  #page-objetivos_marca .om-actions {
    position: absolute;
    box-sizing: border-box;
    right: 7px;
    bottom: 5px;
    display: block;
    width: 44px;
    height: 44px;
    pointer-events: none;
  }
  #page-objetivos_marca .om-actions button {
    position: absolute;
    box-sizing: border-box;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    pointer-events: auto;
  }
  #page-objetivos_marca .om-actions button[data-om-delete] {
    display: none;
  }
  #page-objetivos_marca .om-actions button[data-om-save] {
    top: 0;
  }
  #page-objetivos_marca .om-actions button:disabled {
    display: none;
  }
  #page-objetivos_marca .om-month-row.is-dirty .om-month-row__state {
    right: 54px;
  }
  #page-objetivos_marca .om-history {
    top: auto;
    left: 0;
    width: 100%;
    max-height: 86vh;
    border-top: 1px solid var(--border);
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }
  #page-objetivos_marca .om-mini--void {
    display: inline-flex;
  }
  #page-objetivos_marca .om-mini {
    min-height: 14px;
    border-radius: 5px;
    font-size: 7px;
    letter-spacing: .02em;
    padding: 0 3px;
  }
  #page-objetivos_marca .om-derived-strip {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    border-top: 1px solid var(--row-border);
    background: var(--surface-2);
    padding: 8px var(--s-3) 10px;
  }
  #page-objetivos_marca .om-derived {
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 6px;
    min-height: 58px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: 7px 8px;
  }
  #page-objetivos_marca .om-derived .om-mini {
    grid-column: 1;
    grid-row: 2;
    width: max-content;
  }
  #page-objetivos_marca .om-derived__name {
    font-size: 11px;
  }
  #page-objetivos_marca .om-derived__value {
    font-size: 13px;
  }
  #page-objetivos_marca .om-derived__coverage {
    grid-column: 2;
    grid-row: 2;
    font-size: 10px;
  }
}
