/* Theme 2.0 watchlist. Owner: Frontend Builder A. Prefix .wl-. Tokens only. */
.wl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.wl-head__l { display: flex; flex-direction: column; gap: 14px; }
.wl-head .t2-body { margin: 0; }
.wl-head .t2-btn { height: 48px; padding: 0 22px; }
.wl-tiles { margin-bottom: var(--gap); }
.wl-tile { display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.wl-table-wrap { padding: 0; overflow: hidden; }
.wl-row { display: grid; grid-template-columns: 28px minmax(0, 2fr) repeat(4, minmax(0, 90px)) 40px; gap: var(--gap); align-items: center; padding: 14px 24px; border-top: 1px solid var(--grid); transition: background var(--dur); }
.wl-row:first-child { border-top: 0; }
.wl-row[data-isin]:hover { background: var(--ghost); }
.wl-row.is-selected { background: var(--ghost); }
.wl-row.is-removing { opacity: 0.4; pointer-events: none; }
.wl-row--head { padding-top: 12px; padding-bottom: 12px; border-top: 0; border-bottom: 1px solid var(--grid); }
.wl-th { background: none; border: 0; padding: 0; text-align: left; font-size: 13px; font-weight: 400; color: var(--td); cursor: pointer; }
.wl-th--n { text-align: right; }
.wl-th:hover, .wl-th.is-active { color: var(--tx); }
.wl-th.is-active::after { content: ' ↓'; } .wl-th.is-active.is-asc::after { content: ' ↑'; }
.wl-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wl-id:hover .t2-name { text-decoration: underline; }
.wl-n { text-align: right; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.wl-n--ocf { font-weight: 400; color: var(--t2); }
.wl-check { display: inline-flex; align-items: center; justify-content: center; }
.wl-check input { accent-color: var(--r2); width: 16px; height: 16px; cursor: pointer; }
.wl-empty { max-width: 560px; display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.wl-note { margin-top: 12px; }
body.t2 .wl h1.t2-h1 { font-family: var(--font); font-size: 56px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; color: var(--tx); margin: 0; }
body.t2 .wl .t2-title { font-size: 18px; font-weight: 500; font-family: var(--font); margin: 0; color: var(--tx); }
body.t2 .wl a { color: inherit; }
body.t2 .wl button { font-family: var(--font); }
@media (max-width: 1279px) { .wl-row { grid-template-columns: 28px minmax(0, 1fr) repeat(3, 70px) 36px; } .wl-n--ocf, .wl-th[data-sort="ocf"] { display: none; } }

.wl-arrow { font-size: 0.4em; vertical-align: 0.5em; letter-spacing: 0; }

/* phones (375 gate): the six column row left the fund name 0px wide. Two lines per fund: name and line on top, the three returns underneath; 44px targets. */
@media (max-width: 899px) {
  .wl-row { grid-template-columns: 44px repeat(3, minmax(0, 1fr)) 44px; column-gap: 6px; row-gap: 2px; padding: 8px 12px; }
  .wl-check { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .wl-row > .wl-check { grid-column: 1; grid-row: 1; }
  .wl-row > .wl-id { grid-column: 2 / 5; grid-row: 1; min-height: 44px; justify-content: center; }
  .wl-row > .wl-rm { grid-column: 5; grid-row: 1; width: 44px; height: 44px; }
  .wl-row > .wl-n { grid-row: 2; padding: 0 0 6px; }
  .wl-row > .wl-n:nth-child(3) { grid-column: 2; } .wl-row > .wl-n:nth-child(4) { grid-column: 3; } .wl-row > .wl-n:nth-child(5) { grid-column: 4; }
  .wl-row--head > .wl-th { min-height: 44px; }
  .wl-row--head > .wl-th[data-sort="name"] { grid-column: 2 / 5; grid-row: 1; }
  .wl-row--head > .wl-th[data-sort="p1"] { grid-column: 2; grid-row: 2; } .wl-row--head > .wl-th[data-sort="p3"] { grid-column: 3; grid-row: 2; } .wl-row--head > .wl-th[data-sort="p5"] { grid-column: 4; grid-row: 2; }
  .wl-row--head > .wl-th--n { text-align: right; }
}

/* phones (SEO tap gate counts the input itself): the checkbox is the 44px target, the 18px box is drawn inside it */
@media (max-width: 899px) {
  .wl-check input { -webkit-appearance: none; appearance: none; position: relative; width: 44px; height: 44px; margin: 0; background: none; border: 0; }
  .wl-check input::before { content: ''; position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid var(--td); border-radius: 5px; background: transparent; }
  .wl-check input:checked::before { background: var(--r2); border-color: var(--r2); }
  .wl-check input:checked::after { content: ''; position: absolute; left: 19px; top: 17px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .wl-check input:focus-visible { outline: 2px solid var(--r3); outline-offset: -4px; border-radius: 10px; }
}
