/* The watchlist (docs/watchlist-design.md, stage 1; watchlist.js). One look at both sizes: a row is two
   lines, the name and the figure on the first, what the figure is and its trend on the second. */
.wl{display:flex;flex-direction:column;min-height:0;background:#fff;color:#1a202e;font:13px/1.35 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.wl-h{display:flex;align-items:baseline;gap:9px;padding:11px 14px 8px;flex:none}
.wl-h h2{margin:0;font-size:14.5px;font-weight:700;line-height:20px}
.wl-n{font-size:12px;color:#5b6270}
.wl-sp1{flex:1}
.wl-btn{font:600 12.5px Inter,system-ui,sans-serif;color:#0034a5;text-decoration:none;background:none;border:0;padding:0;cursor:pointer}
.wl-btn:hover{text-decoration:underline}
.wl-btn[hidden]{display:none}
.wl-body{flex:1;min-height:0;overflow-y:auto;border-top:1px solid #e4e6ea;-webkit-overflow-scrolling:touch}
.wl-wait,.wl-first{margin:0;padding:10px 14px;font-size:12.5px;color:#5b6270;line-height:1.45}
.wl-first{background:#f1f4fb;border-bottom:1px solid #e4e6ea;color:#1f2f5c}
.wl-first a{color:#0034a5;font-weight:600}
/* the row's height is fixed before its figures arrive: nothing moves when a status appears */
/* a third column for the bell (stage 4), kept on a row that has none so the figures stay in one line down the list */
.wl-r{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;grid-template-areas:"nm v bell" "meta tr bell";align-items:center;gap:2px 10px;
  min-height:54px;box-sizing:border-box;padding:7px 14px;border-bottom:1px solid #eef0f3;color:inherit;text-decoration:none}
.wl-r:hover{background:#f6f8fc}
.wl-r:hover .wl-nm b{color:#0034a5}
.wl-r:focus-visible{outline:2px solid #0034a5;outline-offset:-2px}
.wl-r.sel{background:#eef2fb;box-shadow:inset 3px 0 0 #0034a5}
.wl-r.sel .wl-nm b{color:#0034a5}
.wl-nm{grid-area:nm;display:flex;align-items:baseline;gap:7px;min-width:0;white-space:nowrap}
.wl-nm b{font-size:13.5px;font-weight:700;flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.wl-nm i{font-style:normal;font-size:12.5px;color:#5b6270;overflow:hidden;text-overflow:ellipsis}
.wl-v{grid-area:v;justify-self:end;font-size:14.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.wl-meta{grid-area:meta;display:flex;align-items:center;gap:8px;min-width:0;font-size:11.5px;color:#5b6270;white-space:nowrap}
.wl-meta > span{overflow:hidden;text-overflow:ellipsis}
.wl-st{font-style:normal;flex:none;font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:999px}
/* a row's level (option A, 2026-12-05): a tag on its second line and a dashed line on its sparkline; red when the
   figure is beyond it, and the value with them. What is new since the reader looked is a green dot. */
.wl-lv{font-style:normal;flex:none;font-size:10.5px;font-weight:600;line-height:1.4;padding:0 4px;border:1px solid #c5d3f3;border-radius:3px;color:#0034a5;font-variant-numeric:tabular-nums}
.wl-lv.hit{color:#fff;background:#b42318;border-color:#b42318}
.wl-dot{flex:none;display:inline-block;width:7px;height:7px;border-radius:50%;background:#0a8a4a}
.wl-sp .wl-lvl{fill:none;stroke:#0034a5;stroke-width:1;stroke-dasharray:3 2.5;opacity:.7}
.wl-sp.hit .wl-lvl{stroke:#b42318;opacity:1}
.wl-r.wl-hit .wl-v{color:#b42318}
.wl-key{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:11.5px;color:#5b6270}
.wl-key i{font-style:normal;color:#b0b6c2}
.wl-kb{width:13px;height:13px;fill:#0034a5;stroke:#0034a5;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.wl-st-deal{background:#e6f4ec;color:#17663c}
.wl-st-rep{background:#e9eefb;color:#0034a5}
.wl-tr{grid-area:tr;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.wl-sp{display:block;width:72px;height:24px;flex:none}
.wl-sp polyline{fill:none;stroke:#5b6b8f;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round}
.wl-sp circle{fill:#0034a5}
.wl-c{min-width:58px;text-align:right;font-size:12px;color:#4b5563;font-variant-numeric:tabular-nums;white-space:nowrap}
/* a phone's pane: larger type and touch rows; the pane's menu lies over the heading's right end (html.ws-solo) */
html.wl-pane, html.wl-pane body{margin:0;height:100%;background:#fff}
html.wl-pane .wl{height:100vh}
@media (max-width:900px){
  html.wl-pane .wl-h{padding:10px 12px 8px}
  html.wl-pane .wl-h h2{font-size:16px}
  html.wl-pane .wl-r{min-height:62px;padding:9px 12px}
  html.wl-pane .wl-nm b{font-size:15px} html.wl-pane .wl-nm i{font-size:13px}
  html.wl-pane .wl-v{font-size:16px}
  html.wl-pane .wl-meta{font-size:12px} html.wl-pane .wl-c{font-size:12.5px;min-width:62px}
}

/* ── stage 3: the one search, Edit, what was just done ── */
.wl{position:relative}
.wl-find{position:relative;display:flex;align-items:center;gap:8px;margin:0 14px 10px;padding:0 11px;height:38px;border:1px solid #cfd5df;border-radius:8px;background:#fff;flex:none}
.wl-find:focus-within{border-color:#0034a5;box-shadow:0 0 0 3px #e9eefb}
.wl-find > svg{width:15px;height:15px;fill:none;stroke:#8a93a3;stroke-width:2.2;stroke-linecap:round;flex:none}
.wl-find input{-webkit-appearance:none;appearance:none;flex:1;min-width:0;border:0;outline:0;background:none;font:13.5px Inter,system-ui,sans-serif;color:#1a202e;padding:0;margin:0}
.wl-find input::-webkit-search-decoration,.wl-find input::-webkit-search-cancel-button{-webkit-appearance:none}
.wl-res{position:absolute;left:-1px;right:-1px;top:42px;z-index:30;background:#fff;border:1px solid #cfd5df;border-radius:10px;box-shadow:0 14px 34px rgba(17,24,39,.18);padding:4px 0;max-height:min(440px,60vh);overflow-y:auto}
.wl-res[hidden]{display:none}
.wl-rh{display:flex;justify-content:space-between;padding:8px 14px 3px;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5b6270}
.wl-rh span{font-weight:600;letter-spacing:.02em;text-transform:none;color:#9aa3b2}
.wl-it{display:flex;align-items:center;gap:10px;padding:8px 14px;font-size:13.5px;cursor:pointer}
.wl-it.cur{background:#f1f4fb}
.wl-it b{font-weight:700;flex:none}
.wl-it i{font-style:normal;color:#5b6270;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wl-it mark{background:#fff2b8;color:inherit;border-radius:2px}
.wl-add{flex:none;font-size:12.5px;font-weight:600;color:#0034a5;border:1px solid #c7d3f0;background:#fff;border-radius:6px;padding:4px 10px}
.wl-have{flex:none;font-size:12px;color:#5b6270}
.wl-none{padding:14px;font-size:13px;color:#5b6270}
.wl-none b{color:#1a202e}
.wl-foot{margin:0;padding:12px 14px 16px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wl-restore{font:600 12.5px Inter,system-ui,sans-serif;color:#0034a5;background:none;border:0;padding:0;cursor:pointer}
.wl-empty{padding:34px 22px;text-align:center;color:#5b6270;font-size:13.5px;line-height:1.5}
.wl-empty h3{margin:0 0 6px;font-size:16px;color:#1a202e}
.wl-empty p{margin:0}
.wl-empty .wl-restore{margin-top:14px;font-size:13px;background:#fff;border:1px solid #c7d3f0;border-radius:7px;padding:8px 14px}
.wl-editing .wl-r{position:relative;padding-left:40px;padding-right:46px;cursor:default}
.wl-editing .wl-r:hover{background:none}
.wl-grip,.wl-x{position:absolute;top:50%;border:0;background:none;padding:0;cursor:pointer}
.wl-grip{left:6px;margin-top:-17px;width:30px;height:34px;cursor:grab;touch-action:none;border-radius:6px}
.wl-grip::before{content:"";position:absolute;left:10px;top:9px;width:10px;height:16px;background:radial-gradient(circle,#8a93a3 1.3px,transparent 1.6px) 0 0/5px 5.4px}
.wl-grip:focus-visible,.wl-x:focus-visible,.wl-btn:focus-visible,.wl-restore:focus-visible{outline:2px solid #0034a5;outline-offset:1px}
.wl-x{right:8px;margin-top:-15px;width:30px;height:30px;border-radius:15px;color:#5b6270;font-size:19px;line-height:1}
.wl-x:hover{background:#fdecea;color:#a3261c}
.wl-r.wl-drag{background:#fff;box-shadow:0 8px 22px rgba(17,24,39,.18);z-index:5;border-radius:6px}
.wl-r.wl-drag .wl-grip{cursor:grabbing}
.wl-r.wl-just{animation:wl-just 2.2s ease-out 1}
@keyframes wl-just{0%,35%{background:#e9eefb}100%{background:transparent}}
.wl-toast{position:absolute;left:14px;right:14px;bottom:14px;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#1a202e;color:#fff;border-radius:9px;padding:11px 14px 11px 16px;font-size:13.5px;box-shadow:0 10px 30px rgba(17,24,39,.3)}
.wl-toast[hidden]{display:none}
.wl-toast span{min-width:0}
.wl-toast button{flex:none;font:700 13.5px Inter,system-ui,sans-serif;color:#9db8ff;background:none;border:0;padding:4px 2px;cursor:pointer}
@media (prefers-reduced-motion:reduce){ .wl-r.wl-just{animation:none} }
@media (max-width:900px){
  html.wl-pane .wl-find{margin:0 12px 10px;height:42px}
  html.wl-pane .wl-find input{font-size:16px}          /* 16px: a phone does not zoom the page to the field */
  html.wl-pane .wl-it{padding:11px 14px;font-size:15px}
  html.wl-pane .wl-btn{font-size:14px;padding:6px 2px}
  html.wl-pane .wl-editing .wl-r{padding-left:44px;padding-right:50px}
  html.wl-pane .wl-x{width:36px;height:36px;margin-top:-18px;border-radius:18px;font-size:22px}
  html.wl-pane .wl-grip{width:36px;height:40px;margin-top:-20px} html.wl-pane .wl-grip::before{left:13px;top:12px}
}

/* ── stage 4: the bell at a row's end (its look is account.css's .ac-bell) ── */
.wl-bell{grid-area:bell;justify-self:end;margin-right:-6px}
.wl-editing .wl-bell{display:none}
.wl-g .wl-r:last-child{border-bottom:1px solid #e4e6ea}
@media (max-width:900px){
  html.wl-pane .wl-r{grid-template-columns:minmax(0,1fr) auto 36px}
  html.wl-pane .wl-bell{width:40px;height:40px;border-radius:20px;margin-right:-8px}
  html.wl-pane .wl-bell svg{width:19px;height:19px}
}

/* ── a row swept left on a touch screen shows Remove (2026-12-04; watchlist.js). The button hangs off the row's
      right edge and comes in with it; the list does not scroll sideways for it. ── */
.wl-r{touch-action:pan-y}
.wl{overflow-x:hidden;overflow-x:clip}
.wl-body{overflow-x:hidden}      /* the rows' scroller: with overflow-y alone it scrolled sideways to the button (2026-12-04) */
.wl-r.wl-swept{position:relative}
.wl-swx{position:absolute;left:100%;top:0;bottom:0;width:88px;border:0;margin:0;padding:0;background:#c5281c;color:#fff;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.wl-swx:active{background:#a3261c}

/* an issuer's "New deals" row (watchlist.js dealsRow): with no deal it is a note, not a link */
.wl-r.wl-tk .wl-v{font-size:12.5px;font-weight:600;color:#0034a5;display:inline-flex;align-items:center;gap:6px}
.wl-r.wl-tk-none{cursor:default} .wl-r.wl-tk-none .wl-v{color:#5b6270;font-weight:500;grid-row:1 / 3;align-self:center}
.wl-r.wl-tk-none .wl-tr{display:none}
.wl-r.wl-tk-none:hover{background:none} .wl-r.wl-tk-none:hover .wl-nm b{color:inherit}
/* the swept row's button lies beyond the rows' own edge until the row brings it in: the group of rows clips it, so the
   list's scroller has nothing to its right to scroll to (it measured 88px wider with a row open) */
.wl-g{overflow-x:hidden;overflow-x:clip}
