/* Блок владельца. Плитки — та же тёмная коробка, что была у состояний точки; янтарь — только у советов, которые подготовила система. */
.own { margin-top: clamp(32px, 4.4vw, 64px); }
.own-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.own-tile { position: relative; align-self: start; display: block; padding: 0; border: 0; background: none; color: inherit; text-align: start; }
.own-tile__box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 16 / 8; overflow: hidden; background: var(--graphite); border: 1px solid var(--g80); transition: border-color .2s, background-color .2s; }
.own-tile__box::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red-hi); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.own-tile:hover .own-tile__box { border-color: var(--g60); }
.own-tile[aria-selected="true"] .own-tile__box { border-color: #F1F1F1; background: #222; }
.own-tile__fig { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 58px); line-height: 1; letter-spacing: var(--track-display); color: #F1F1F1; font-variant-numeric: tabular-nums; }
:lang(ru) .own-tile__fig { font-weight: 700; }
.own-tile__unit { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: #A8A8A8; }
.own-tile__sq { display: inline-block; width: 12px; height: 12px; margin-inline-start: 8px; vertical-align: middle; background: var(--amber); }
.own-tile h3 { margin-top: 16px; font-size: 20px; }
.own-tile p { margin-top: 4px; font-size: 16px; line-height: 1.42; color: #B4B4B4; max-width: 22em; }
.own-tile[aria-selected="true"] p { color: #D4D4D4; }

.own-panel { margin-top: clamp(16px, 2vw, 28px); padding: clamp(18px, 2.4vw, 36px); background: var(--graphite); border: 1px solid var(--g80); min-height: 460px; }
.own-panel h4 { margin: 0 0 16px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #A8A8A8; }
.own-note { margin-top: 18px; font-size: 16px; line-height: 1.45; color: #B4B4B4; max-width: 44em; }

/* Заработали */
.own-earned { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 64px); }
.own-fall { display: grid; gap: 6px; }
.own-fall__r { display: grid; grid-template-columns: minmax(130px, 11em) 1fr 5.5em; align-items: center; gap: 12px; min-height: 40px; font-size: 16px; color: #D4D4D4; }
.own-fall__track { position: relative; height: 22px; }
.own-fall__bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); background: var(--g60); transform-origin: 0 50%; }
.own-fall__r.is-sum { color: #fff; font-weight: 600; }
.own-fall__r.is-sum .own-fall__bar { background: #F1F1F1; }
.own-fall__r.is-end .own-fall__bar { background: var(--red-hi); }
.own-fall__v { text-align: end; font-variant-numeric: tabular-nums; }
.own-free__n { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.8vw, 72px); line-height: 1; letter-spacing: var(--track-display); }
:lang(ru) .own-free__n { font-weight: 700; }
.own-free__n small { font-size: .36em; font-family: var(--sans); font-weight: 500; letter-spacing: 0; color: #A8A8A8; }
.own-free dl { margin-top: 16px; }
.own-free dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--g80); font-size: 16px; color: #D4D4D4; }
.own-free dd { font-variant-numeric: tabular-nums; color: #fff; font-weight: 500; }
.own-runway { position: relative; height: 8px; margin-top: 14px; background: var(--g80); }
.own-runway i { position: absolute; top: 0; bottom: 0; left: 0; background: #F1F1F1; transform-origin: 0 50%; }
.own-runway b { position: absolute; top: -3px; bottom: -3px; border-inline: 1px solid var(--g40); }

/* Направления */
.own-table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.own-table th, .own-table td { padding: 12px 10px; border-bottom: 1px solid var(--g80); text-align: end; font-weight: 400; }
.own-table thead th { padding-top: 0; font-size: 14px; color: #A8A8A8; }
.own-table th:first-child { text-align: start; padding-inline-start: 0; }
.own-table tbody tr { cursor: pointer; transition: background-color .15s; }
.own-table tbody tr:hover { background: #242424; }
.own-table tbody tr[aria-pressed="true"] { background: #2B2B2B; }
.own-table tbody tr[aria-pressed="true"] th { box-shadow: inset 3px 0 0 var(--red-hi); padding-inline-start: 12px; }
.own-table tbody th { font-weight: 600; color: #fff; }
.own-table tfoot td, .own-table tfoot th { border-bottom: 0; font-weight: 600; color: #fff; }
.own-goal { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.own-goal__t { position: relative; flex: 0 0 min(9vw, 130px); height: 6px; background: var(--g80); }
.own-goal__t i { position: absolute; inset: 0 auto 0 0; background: #F1F1F1; transform-origin: 0 50%; }
.own-goal__t.is-low i { background: var(--red-hi); }
.own-goal span { min-width: 3.2em; }

/* Советы */
.own-adv { display: grid; gap: 10px; }
.own-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 16px 18px; border: 1px solid var(--amber); background: rgba(255, 176, 32, .05); transition: border-color .25s, background-color .25s, opacity .25s; }
.own-card h5 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
.own-card h5::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--amber); }
.own-card p { margin: 4px 0 0 20px; font-size: 16px; line-height: 1.4; color: #B4B4B4; }
.own-card__do { color: #F1F1F1 !important; }
.own-card__side { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.own-card__fx { font-weight: 600; color: #FFD27A; white-space: nowrap; }
.own-acts { display: flex; gap: 8px; }
.own-acts button { min-height: 44px; padding: 0 16px; border: 1px solid var(--g60); background: none; color: #F1F1F1; font-weight: 600; font-size: 15px; }
.own-acts button:hover { border-color: #fff; }
.own-acts [data-own-accept] { background: #F1F1F1; border-color: #F1F1F1; color: var(--ink); }
.own-acts [data-own-accept]:hover { background: #fff; }
.own-card [data-own-state] { font-family: var(--mono); font-size: 13px; font-weight: 500; color: #A8A8A8; white-space: nowrap; }
.own-card.is-done { border-color: var(--g80); background: none; }
.own-card.is-done h5::before { background: var(--g40); }
.own-card.is-done .own-card__fx { color: #A8A8A8; text-decoration: line-through; }
.own-card.is-accepted h5::before { background: #F1F1F1; }
.own-card.is-accepted .own-card__fx { color: #fff; text-decoration: none; }
.own-card.is-accepted [data-own-state] { color: #fff; }
.own-adv__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; min-height: 44px; margin-top: 8px; font-size: 16px; color: #F1F1F1; }
.own-link { min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Путь к цели */
.own-path { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); }
.own-levers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.own-lever { padding: 12px 14px; border: 1px solid var(--g80); transition: border-color .2s; }
.own-lever.is-main { border-color: var(--g40); }
.own-lever__top { display: flex; align-items: baseline; gap: 10px; font-size: 16px; color: #D4D4D4; }
.own-lever__top output { margin-inline-start: auto; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; }
:lang(ru) .own-lever__top output { font-weight: 700; }
.own-lever__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.own-lever__main { display: none; flex: none; white-space: nowrap; padding: 0 7px; background: #F1F1F1; color: var(--ink); font-size: 13px; font-weight: 600; }
.own-lever.is-main .own-lever__main { display: inline-block; }
.own-lever input[type=range] { width: 100%; height: 28px; margin: 4px 0 0; accent-color: var(--red-hi); background: none; cursor: grab; }
.own-lever small { font-size: 14px; color: #A8A8A8; }
.own-res__n { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 112px); line-height: 1; letter-spacing: var(--track-display); font-variant-numeric: tabular-nums; }
:lang(ru) .own-res__n { font-weight: 700; }
.own-res__u { margin-top: 6px; color: #A8A8A8; font-size: 16px; }
.own-gauge { position: relative; height: 12px; margin-top: 28px; background: var(--g80); }
.own-gauge__fill { position: absolute; inset: 0 auto 0 0; background: #F1F1F1; transition: width .12s linear; }
.own-gauge__goal { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--red-hi); }
.own-gauge__lab { position: absolute; top: -32px; transform: translateX(-50%); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--red-hi); white-space: nowrap; }
.own-res__left { margin-top: 18px; font-size: 18px; font-weight: 500; color: #fff; }
.own-res__bonus { min-height: 1.4em; margin-top: 4px; font-size: 15px; color: #D4D4D4; }
.own-formula { margin-top: 18px; font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 1.6; color: #A8A8A8; }

.own-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; min-height: 44px; font-size: 15px; color: #A8A8A8; }
.own-foot .again { margin: 0; }
.trust .own-rule { margin-top: clamp(40px, 5vw, 72px); font-size: 22px; font-weight: 600; }
.trust .own-rule i { display: inline-block; width: 12px; height: 12px; margin-inline-end: 12px; background: var(--amber); }
.trust .own-rule + .facts { margin-top: 18px; }

html:not(.js) .own-acts, html:not(.js) .own-lever input, html:not(.js) .own-foot .again { display: none; }

@media (max-width: 1100px) {
  .own-tiles { grid-template-columns: repeat(2, 1fr); }
  .own-tile__box { aspect-ratio: 16 / 6; }
  .own-earned, .own-path { grid-template-columns: 1fr; }
  .own-panel { min-height: 0; }
}
@media (max-width: 700px) {
  /* Телефон: плитки — короткие вкладки, подпись одна строка. */
  .own-tiles { gap: 8px; }
  .own-levers { grid-template-columns: 1fr; }
  .own-tile__box { aspect-ratio: auto; min-height: 76px; }
  .own-tile__fig { font-size: 26px; }
  .own-tile h3 { margin-top: 8px; font-size: 15px; line-height: 1.25; }
  .own-tile p { display: none; }
  .own-panel { padding: 16px 12px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .own-fall__r { grid-template-columns: 7.4em 1fr 4em; gap: 8px; font-size: 14px; }
  .own-table { font-size: 14px; }
  .own-table th, .own-table td { padding: 12px 4px; }
  .own-hide-m { display: none; }
  .own-goal__t { display: none; }
  .own-card { grid-template-columns: 1fr; padding: 12px; }
  .own-card h5 { font-size: 16px; }
  .own-card p { margin-inline-start: 0; font-size: 15px; }
  .own-card__why { display: none; }
  .own-card__side { justify-content: space-between; }
  .own-note { font-size: 15px; }
  .own-free .own-note, .own-runway, .own-free dl div:nth-child(3), .own-earned > div:first-child .own-note { display: none; }
  .own-earned { gap: 18px; }
  .own-fall { gap: 2px; }
  .own-fall__r { min-height: 30px; }
  .own-free dl { margin-top: 8px; }
  .own-foot span { display: none; }
}
