/* teamyonseident.com renewal, design v15 (2026-11-28; v14 2026-11-23). The design's stylesheet for the main page; the signal screen adds signal.css.
   Cut from the design source for the handoff, and changed in two places only (see tools note in docs/01-screen-spec.md):
   1. the @font-face of Pretendard is not here: link assets/fonts/pretendard/pretendardvariable-dynamic-subset.css and fonts.css before this file
   2. the 10 second replay of an arriving analysis (a drawing-board loop) is in demo-replay.css, which the live site must not load
   Theme: the tokens stand on .app (dark) and .app.light (light). docs/01-screen-spec.md says how that maps onto the site's
   data-theme contract. Comments below are the designer's notes: each says why a rule is the way it is. */
*{box-sizing:border-box}
body{margin:0;background:oklch(10.2% .013 255)}
html[data-theme="light"] body{background:oklch(96% .008 255)}
/* Tokens. Names and values are public/main/index.html's. Changed or added, each for a measured contrast reason:
   tx-2 and tx-3 (the site's fail 4.5:1 on its own surfaces), the -tx text steps, edge (a 3:1 input boundary),
   the light-theme hairline (86% reads 1.5:1 on a white card) and the light-theme bucket lines (yellow on white is 1.4:1).
   The dark surfaces and lines (s1 to s3, br, br-hi) stand further from the ground than the site's: at the site's values
   (13.5%, 17%, 21%, 21%, 30%) a card read 1.02:1 on the page and a hairline 1.16:1, so no edge of a section could be seen.
   Now a card reads 1.14:1 on the page (the light theme's is 1.11:1), a hairline 1.39:1 on a card and 1.59:1 on the page,
   and a quiet fill (s2: a quiet button, a row under the pointer) 1.15:1 on a card.
   --rim is the line round a surface that stands on the page (dark theme only), --veil-c the colour a patch on the banner
   is made of, --on-fill the ink on a solid tag. */
.app{
--bg:oklch(10.2% .013 255);--s1:oklch(20% .019 255);--s2:oklch(25.5% .021 255);--s3:oklch(29% .023 255);
--br:oklch(31.5% .023 255);--br-hi:oklch(41% .025 255);--edge:oklch(50% .02 255);
--rim:var(--br);--veil-c:var(--bg);--on-fill:var(--bg);
--tx-1:oklch(93% .006 255);--tx-2:oklch(76% .012 255);--tx-3:oklch(66% .012 255);
--amber:oklch(80% .18 73);--amber-dim:oklch(80% .18 73 / .14);--amber-text:oklch(10% .008 73);--amber-tx:oklch(80% .18 73);
--ai:oklch(68% .20 280);--ai-dim:oklch(68% .20 280 / .13);--ai-tx:oklch(68% .20 280);
--up:oklch(70% .15 188);--up-dim:oklch(70% .15 188 / .12);--up-tx:oklch(70% .15 188);
--dn:oklch(62% .22 25);--dn-dim:oklch(62% .22 25 / .14);--dn-tx:oklch(72% .17 25);
--h3:46%;--h2:27%;--h1:13%;
--b0:#888888;--b1:#00875A;--b2:#74B72E;--b3:#FFD300;--b4:#E61587;--b5:#E77F24;--b6:#9B59B6;
--r1:6px;--r2:8px;--r3:10px;--gap:16px;--side:384px;--brand:168px;--pill:720px;--ease:cubic-bezier(.23,1,.32,1);--ease-drawer:cubic-bezier(.32,.72,0,1);
min-height:100svh;background:var(--bg);color:var(--tx-1);
font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,system-ui,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
font-size:15px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;
scrollbar-color:var(--s3) transparent;caret-color:var(--amber);accent-color:var(--amber);color-scheme:dark}
html[data-theme="light"] .app{
--bg:oklch(96% .008 255);--s1:oklch(99.5% .003 255);--s2:oklch(94% .010 255);--s3:oklch(90% .014 255);
--br:oklch(90% .012 255);--br-hi:oklch(70% .020 255);--edge:oklch(58% .02 255);
--rim:transparent;--veil-c:var(--s1);--on-fill:var(--s1);
--tx-1:oklch(14% .020 255);--tx-2:oklch(40% .022 255);--tx-3:oklch(47% .018 255);
--amber:oklch(54% .21 73);--amber-dim:oklch(54% .21 73 / .10);--amber-text:oklch(99% .003 73);--amber-tx:oklch(46% .16 73);
--ai:oklch(52% .22 280);--ai-dim:oklch(52% .22 280 / .10);--ai-tx:oklch(46% .22 280);
--up:oklch(52% .16 188);--up-dim:oklch(52% .16 188 / .12);--up-tx:oklch(45% .13 188);
--dn:oklch(52% .23 25);--dn-dim:oklch(52% .23 25 / .12);--dn-tx:oklch(48% .21 25);
--h3:30%;--h2:17%;--h1:8%;
--b0:#6B7280;--b2:#3F7F0A;--b3:#A07600;--b5:#C25A10;--b6:#8E44AD;color-scheme:light}
/* Corner shape. Where the browser can draw it (corner-shape, Chromium 139 and later), every rounded corner is a squircle:
   a superellipse of exponent 4 in place of an arc. A squircle's radius is how far the curve runs along each edge, not
   how deep it cuts: at 1.8 times the arc's radius it cuts exactly as deep as the arc and the two curves lie within a
   pixel of each other, so nothing would show. The three radii therefore grow by 2.2: 6, 8, 10 become 13, 18, 22,
   a slightly softer corner whose shape reads as a squircle. Layout does not move.
   Everywhere else the arcs above stay. A dot (a status dot, the price mark of a chart) is the one true circle, and the
   8px bar of the hit rate keeps its round ends. */
@supports (corner-shape:squircle){
.app{--r1:13px;--r2:18px;--r3:22px}
.app,.app *,.app ::before,.app ::after{corner-shape:squircle}
.app .dot,.app .rc-bar{corner-shape:round}
}
.app ::selection{background:var(--amber);color:var(--amber-text)}
/* the focus ring follows the shape of what it rings. Only an element with no corners of its own (a text link,
   a summary row) borrows the small radius, and it does so at zero specificity, so nothing changes shape on focus */
.app :focus-visible{outline:2px solid var(--amber);outline-offset:2px}
:where(.app :focus-visible){border-radius:var(--r1)}
/* a row that runs edge to edge rings inside itself: the card, or the menu panel, would cut a ring drawn outside it */
.app a.item:focus-visible,.app a.lr:focus-visible,.app .faq summary:focus-visible,.app .brow:focus-visible,.app .nav-theme:focus-visible,.app .rr:focus-visible,.app .sv:focus-visible{outline-offset:-2px}
:where(.app) :where(h1,h2,h3,h4,p,ul,ol,dl,dd,dt,figure,fieldset,legend){margin:0}
:where(.app) :where(h1,h2,h3,h4){font-size:inherit;font-weight:inherit;line-height:inherit}
:where(.app) :where(ul,ol){padding:0;list-style:none}
:where(.app) a{color:inherit;text-decoration:none}
:where(.app) button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;text-align:left;-webkit-user-select:none;user-select:none}
/* a tap is a tap: no wait for a second one, no double-tap zoom on a control */
:where(.app) :where(a,button,summary,select,input){touch-action:manipulation}
:where(.app) fieldset{min-width:0;padding:0;border:0}
:where(.app) img{display:block;max-width:100%}
:where(.app) summary{list-style:none;cursor:pointer}
.app summary::-webkit-details-marker{display:none}
svg.ic{flex:0 0 auto;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* type roles */
.h3{font-size:16px;line-height:1.4;font-weight:650;letter-spacing:-.015em}
.h3 .tag{margin-left:8px;vertical-align:2px}
.desc{font-size:14px;color:var(--tx-2);text-wrap:pretty}
.meta{font-size:13px;color:var(--tx-3)}
.cap{font-size:12px;line-height:1.45;color:var(--tx-3)}
/* figures are set in the mono face; a Korean word among them (a unit, a label) is not in that face and takes Pretendard, not
   whatever the system would hand over (Noto Sans on Android, Malgun Gothic on Windows) */
.num{font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.up{color:var(--up-tx)}.dn{color:var(--dn-tx)}.flat{color:var(--tx-2)}

/* frame, portal style: a notice strip, a plain header (the logo, the charge link, the theme switch), the brand banner that
   holds the analysis input and every service, then a main column beside a 384px side column.
   At 1440: 1280 - 2 x 32 = 1216 = 816 + 16 + 384 */
.wrap{width:100%;max-width:1280px;margin-inline:auto;padding-inline:32px}
.strip{background:var(--amber-dim);font-size:14px}
/* a thin line on a pointer device (34px, as in the reference); on touch it grows back to the 44px its two targets need */
.strip .wrap{display:flex;align-items:center;min-height:34px}
.strip-link{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 12px;min-height:34px;padding-left:28px}
.strip .icon-btn{width:28px;height:28px}
.strip b{font-weight:650}
.strip-go{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--r1);background:var(--tx-1);color:var(--bg);font-size:13px;font-weight:650;white-space:nowrap}
/* the header is one 72px row and stays at the top of the window on a desktop. The logo is 38px in it: 17px of air over and
   under, and 8px in from the column's edge, as far as the theme switch's mark stands in from the other one */
.top{position:sticky;top:0;z-index:6;background:var(--bg)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:var(--gap);height:72px}
.brand-h{flex:0 0 auto;display:flex;margin-left:8px}
.brand{display:inline-flex;align-items:center;min-height:44px}
.brand img{display:block;width:auto;height:38px}
/* the mark (the Korean logo with its line under it) is the gold artwork; on the light ground it turns to the brand's black version */
html[data-theme="light"] .app .brand img{filter:brightness(0)}
.top-r{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:12px}
.icon-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--r2);color:var(--tx-2)}
/* the menu button exists for the one-column layout only, beside the theme switch */
.menu-btn{display:none;margin-right:-7px;color:var(--tx-1)}
.menu-btn .ic{width:22px;height:22px}
.page{padding-block:8px 40px;display:flex;flex-direction:column;gap:var(--gap)}
/* source order is the phone's order: banner, feed, record, the wide cards, the four widgets (stock CVD and the signal card,
   then the whale ranking and the heatmap), the three cards about the brand, questions (the login card leaves the page there
   and heads the menu instead). On a desktop the feed stands beside the login card and the record, and the first row is one
   height: whichever side is shorter grows into it (the feed's cards, or the record), so the two columns start what follows
   on one line. Under it the side column runs down past two rows of the main one: stock CVD right under the record, the
   signal card under that, then the whale ranking and the heatmap, beside the wide cards and the questions that follow them.
   The two end on one line: the heatmap takes up what the side is short by (its tiles grow, no room is left empty; the side
   is built to be the short one even with four stocks on the signal card, and on a day that selected none the heatmap is the
   taller for it). Then the three cards about the brand as a band across both columns: neither column runs on alone */
.cols{display:grid;grid-template-columns:minmax(0,1fr) var(--side);gap:var(--gap);align-items:start}
.cols > .feed{grid-column:1;grid-row:1;align-self:stretch}
.side-top{grid-column:2;grid-row:1;align-self:stretch;display:flex;flex-direction:column;gap:var(--gap);min-width:0}
.side-top > .record{flex:1 0 auto}
.col{display:flex;flex-direction:column;gap:var(--gap);min-width:0}
.col-main{grid-column:1;grid-row:2;align-self:stretch}
.col-main > :last-child{flex:1 0 auto}
.more{display:contents}
.col-side{grid-column:2;grid-row:2 / span 2;align-self:stretch}
.col-side > .grow{flex:1 0 auto}
/* with nothing to draw, its one line stands in the middle of the room it was given */
.col-side > .grow .empty{flex:1 0 auto;justify-content:center}
.cols > .faqs{grid-column:1;grid-row:3}
.trio{grid-column:1 / -1;grid-row:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);min-width:0}
#ask,#credit,#live,#record{scroll-margin-top:84px}

/* controls */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 14px;border-radius:var(--r2);font-size:14px;font-weight:650;white-space:nowrap}
.btn-amber{background:var(--amber);color:var(--amber-text)}
.btn-quiet{background:var(--s2);color:var(--tx-1)}
.go{display:inline-flex;align-items:center;gap:4px;min-height:32px;font-size:14px;font-weight:650;white-space:nowrap}
.tag{display:inline-flex;align-items:center;height:20px;padding:0 6px;border-radius:var(--r1);font-size:12px;font-weight:650;line-height:1;white-space:nowrap}
.t-prem{background:var(--amber-dim);color:var(--amber-tx)}
.t-up{background:var(--up-dim);color:var(--up-tx)}
.t-dn{background:var(--dn-dim);color:var(--dn-tx)}
.t-flat{background:var(--s3);color:var(--tx-2)}
.lk{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:2px;font-size:13px;line-height:20px;font-weight:650;color:var(--tx-1);white-space:nowrap}
.lk::after{content:"";position:absolute;inset:-6px 0}
.lk .ic{width:14px;height:14px}

/* cards: a lighter step. On the dark theme a hairline round it as well (--rim): near black a step alone is lost on many
   screens. The line is an outline drawn inside the edge, so it takes no room, lies over a row's hover fill and follows the
   corner; the focus ring, declared with more weight, replaces it on anything that takes focus. Each card is a size container: the same block is 816px wide in the main column,
   384px in the side column and the screen's width on a phone, and it lays itself out from its own width */
/* a card clips to its own corners, so a row that runs edge to edge (its hover fill, its last hairline) ends on the corner's curve */
.card{background:var(--s1);border-radius:var(--r3);min-width:0;display:flex;flex-direction:column;container-type:inline-size;overflow:clip}
.card,.fc,.fe,.nav-login{outline:1px solid var(--rim);outline-offset:-1px}
.card-h{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:52px;padding:10px 18px 6px}
.card-h .right{margin-left:auto;display:flex;align-items:center;gap:14px}
.card-b{flex:1;display:flex;flex-direction:column;gap:12px;padding:6px 18px 18px;min-width:0}
.card-f{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-height:44px;margin-top:auto;padding:6px 18px;border-top:1px solid var(--br)}
.lead{display:flex;flex-direction:column;gap:2px;padding:0 18px 8px}
.stamp{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:13px}
.stamp > *{white-space:nowrap}
.stamp b{font-size:15px;font-weight:600}
.dot{align-self:center;width:6px;height:6px;border-radius:50%;background:var(--up)}

/* login card: one line of reason, one large button, two quiet links. Signed in, the same card is the account */
.login{gap:12px;padding:20px 18px 12px;text-align:center}
.login-t{font-size:15px;line-height:22px;font-weight:500;color:var(--tx-2);text-wrap:balance}
.login .login-go{width:100%;min-height:56px;gap:7px;font-size:17px;font-weight:500;letter-spacing:-.01em}
.login-go b{font-weight:800;letter-spacing:-.03em}
.login-links{display:flex;justify-content:center;font-size:13px;color:var(--tx-2)}
.login-links a{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:0 14px}
.login-links a + a::before{content:"";position:absolute;left:0;top:50%;width:1px;height:12px;margin-top:-6px;background:var(--br-hi)}
.login:has(.acct){gap:10px;padding:12px 18px 16px;text-align:left}
.login-h{display:flex;align-items:center;gap:8px;min-height:32px}
.login-h .h3{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-av{flex:0 0 auto;width:30px;height:auto}
.acct{display:flex;flex-direction:column}
.acct .kv{min-height:36px;font-size:14px}
.acct-n{font-size:20px;font-weight:600;line-height:1.2}
.acct-b{display:flex;gap:8px}
.acct-b .btn{flex:1;min-height:44px}

/* the course banner, under the CVD card: cover, title, three course links */
.banner{flex-direction:row;flex-wrap:wrap}
.banner img{flex:0 0 auto;align-self:center;width:176px;height:auto;margin:18px 0 18px 18px;border-radius:var(--r2)}
.banner-t{flex:1 1 240px;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:14px 20px}
.banner-l{flex:1.4 1 250px;display:flex;flex-direction:column;justify-content:center;min-width:0;border-left:1px solid var(--br)}

/* brand banner at the head of the page. It is the start of an AI analysis and the way to every service: the mascot and the
   brand's own Korean logo with the slogan, the name of the analysis with the newest call beside it, the input (a ticker of up to
   15 characters, six candles that each say how much chart they fetch, the start), today's most looked-up tickers, and the ten
   services as a 5 by 2 grid on a patch of their own. A promotion's ground is the accent thinned into the page, as on the
   strip; the solid accent stays with the things that act. The logo is the gold artwork; on the light ground it is turned to
   the brand's black version. --veil is a patch on the ground (lighter on the light theme, deeper on the dark one), --hero-tx
   the heading's colour warmed toward the ground: a neutral grey goes dull on a tinted field */
.hero{position:relative;container-type:inline-size;min-width:0;border-radius:var(--r3);background:color-mix(in oklab,var(--amber) 18%,var(--bg));font-variant-numeric:tabular-nums;
--veil:color-mix(in oklab,var(--veil-c) 74%,transparent);--hero-tx:color-mix(in oklab,var(--tx-1) 76%,var(--amber))}
.hero-in{display:flex;align-items:center;gap:20px;padding:16px 16px 16px 28px}
/* the brand's logo is the header's; the banner opens with the mascot beside the name of the analysis and its one line.
   The line may take a second row when a long live line leaves it no room; the row's height does not change for it */
.hz{flex:1 1 0;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand head live" "cmp cmp cmp" "foot foot foot";align-items:center;gap:10px 16px}
.hb{grid-area:brand;display:flex;align-items:center;height:96px}
.hb-m{flex:0 0 auto;width:auto;height:88px}
.hh{grid-area:head;display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
.hero-h{font-size:26px;line-height:32px;font-weight:750;letter-spacing:-.025em;white-space:nowrap}
.hero-d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:20px;color:var(--hero-tx);text-wrap:balance}
.hd-br{display:none}
/* the one live line: who just analysed what. Two lines share its cell, the newest and the one before it */
.hl{grid-area:live;align-self:end;display:flex;align-items:center;gap:8px;min-width:0;max-width:330px;padding:4px 12px 4px 10px;border-radius:var(--r2);background:var(--veil);font-size:13px;line-height:20px}
.hl-s{display:grid;min-width:0}
.hl-l{grid-area:1 / 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hl-l b{font-weight:650}
.hl-old{opacity:0;visibility:hidden}
/* the input, read left to right: ticker, candle, start. One card at the card radius: the field sized for 15 characters, six
   cells behind a rule, and the start button as its right cap. The cap covers the card's border on its three outer sides, so
   no seam shows between the two ambers. It is a form to fill in, not a search box: no lens, no free text */
.cmp{grid-area:cmp;min-width:0}
.cmp-card{position:relative;display:flex;align-items:stretch;height:64px;padding-left:8px;border:2px solid var(--amber);border-radius:var(--r3);background:var(--s1)}
.cmp-card input{flex:0 0 196px;width:196px;min-width:0;padding:8px 12px;border:0;background:none;font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,monospace;font-size:18px;font-weight:500;color:var(--tx-1);text-transform:uppercase}
.cmp-card input::placeholder{font-family:'Pretendard Variable',Pretendard,system-ui,sans-serif;font-weight:400;color:var(--tx-3);opacity:1;text-transform:none}
.cmp-card input:focus-visible{outline:none}
.cmp-card:has(input:focus-visible){outline:2px solid var(--amber);outline-offset:2px}
.cmp-rule{flex:0 0 auto;align-self:center;width:1px;height:28px;margin:0 10px 0 2px;background:var(--br-hi)}
.tfs{flex:1 1 0;display:flex;gap:4px;margin-right:10px;padding:8px 0}
.tfc{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 0;border:1px solid var(--br);border-radius:var(--r1);background:var(--s1);line-height:1.2;text-align:center}
.tfc-n{font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,monospace;font-size:13px;font-weight:600;color:var(--tx-1)}
.tfc-s{font-size:12px;color:var(--tx-3);white-space:nowrap}
/* the chosen cell: the accent thinned onto the card, a full-strength edge and the accent's text step. The word stays, so the pick never rests on colour alone */
.tfc[aria-pressed="true"]{border-color:var(--amber);background:color-mix(in oklab,var(--amber) 10%,var(--s1))}
.tfc[aria-pressed="true"] .tfc-n,.tfc[aria-pressed="true"] .tfc-s{color:var(--amber-tx)}
.sgo{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;margin:-2px -2px -2px 0;padding:8px 22px;border-radius:0 var(--r3) var(--r3) 0;background:var(--amber);color:var(--amber-text);font-size:16px;font-weight:700;white-space:nowrap}
.app .sgo:focus-visible{outline-color:var(--amber-text);outline-offset:-5px}
/* today's most looked-up tickers. A press puts one into the field. The row slides sideways rather than push the banner wider, and fades at its end */
/* the foot of the input: the ranking, and at its end the way to the example */
.hf{grid-area:foot;display:flex;align-items:center;gap:14px;min-width:0;min-height:28px}
.hf:not(:has(.rk)){display:none}
.rk{flex:1 1 0;display:flex;align-items:center;gap:10px;min-width:0;height:28px}
.rk-h{flex:0 0 auto;font-size:13px;line-height:1.5;font-weight:650;color:var(--hero-tx);white-space:nowrap}
.rk-l{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.rk-l::-webkit-scrollbar{display:none}
.rk-c{flex:0 0 auto;display:inline-flex;align-items:center}
.rk-f{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--r2);background:var(--veil);font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,monospace;font-size:13px;line-height:20px;font-weight:600;white-space:nowrap}
.rk-i{color:var(--amber-tx)}
/* the ring is drawn on the chip's face, inside it: the row scrolls, and a scroll container cuts whatever is drawn outside it */
.app .rk-c:focus-visible{outline:none}
.rk-c:focus-visible .rk-f{outline:2px solid var(--amber);outline-offset:-2px}
/* the services: an icon over its name, and under the name what is gated or where it leads */
.hs{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,90px);align-items:start;gap:14px 0;padding:14px 8px 10px;border-radius:var(--r3);background:var(--veil)}
.sv{display:flex;flex-direction:column;align-items:center;min-width:0;padding:2px 0 4px;border-radius:var(--r3);font-size:13px;line-height:1.35;text-align:center;white-space:nowrap}
.sv-i{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin-bottom:2px}
.sv-i .ic{width:24px;height:24px}
.sv-t{display:flex;flex-direction:column;align-items:center;min-width:0;max-width:100%}
.sv-n{max-width:100%;font-weight:500}
.sv small{font-size:12px;color:var(--tx-3)}

/* live feed, where the course banner stood: a title row, then the two newest analyses as cards. A card is its chart beside
   the call: the pair, long or short, where it stands, four figures, the overall score over the six module scores and the first three lines of the
   report's own text, the last line fading out, then the way to the whole report. The feed is a size container: under 640px
   the same card stacks, chart over text */
.feed{display:flex;flex-direction:column;gap:12px;min-width:0;container-type:inline-size}
.ft{display:flex;align-items:center;gap:8px;min-height:24px;padding:0 2px}
.ft .h3{flex:0 0 auto;white-space:nowrap}
.ft-s{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft-all{margin-left:auto}
/* no analysis yet: the feed keeps its place at the row's height, so no hole opens beside the record */
.fe{flex:1 0 auto;border-radius:var(--r3);background:var(--s1)}
/* the stage: equal rows, so each card is exactly one place tall and a move of one place is its own height and the gap.
   315px is a card with 6px to spare over its last line; two of them and the title row stand exactly as tall as the login card
   and the record with seven rows beside them, so at rest every edge falls on a whole pixel and neither side has room left
   over. (Before the overall score had a line of its own a card was 297px and the record held six rows.) */
.fs{position:relative;flex:1 0 auto;display:grid;grid-auto-rows:minmax(315px,1fr);gap:12px;min-width:0;overflow:hidden}
.fs-1{grid-auto-rows:auto;align-content:start}
.fc{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:repeat(5,auto) 1fr;gap:8px 18px;min-width:0;padding:16px 18px;border-radius:var(--r3);background:var(--s1);font-variant-numeric:tabular-nums}
.fc > *{grid-column:2;min-width:0}
.fc > .mchart,.fc > .ph-c{grid-column:1;grid-row:1 / -1}
.fc-h{display:flex;align-items:center;gap:10px;min-height:28px}
/* the pair. When the line has no room, the quote currency goes first (it drops under the line's edge whole), and only then is the ticker cut */
.fc-n{flex:0 1 auto;min-width:0;display:flex;flex-wrap:wrap;height:26px;overflow:hidden;font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,monospace;font-size:20px;line-height:26px;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.fc-n-s{height:20px;font-size:15px;line-height:20px}
.fc-sym{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.fc-q{flex:0 0 auto}
/* long, short or stand aside: a solid tag beside the pair, a coloured word in a row of the record */
.sd{flex:0 0 auto;display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--r1);color:var(--on-fill);font-size:14px;line-height:20px;font-weight:700;white-space:nowrap}
.sd-up{background:var(--up-tx)}.sd-dn{background:var(--dn-tx)}.sd-flat{background:var(--tx-2)}.sd-none,.st-off{display:none}
.sw{flex:0 0 28px;font-size:12px;font-weight:700;white-space:nowrap}
/* where a call stands: new, still open, hit, missed, or not judged. A word and a mark, never colour alone */
.st{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 6px;border-radius:var(--r1);font-size:12px;line-height:20px;font-weight:650;white-space:nowrap}
.st .ic{width:14px;height:14px;stroke-width:2.2}
.st-new{padding:2px 8px;background:var(--amber-dim);color:var(--amber-tx)}
.st-new .ic{display:none}
.st-open{background:var(--s2);color:var(--tx-2)}
.st-hit{background:var(--up-dim);color:var(--up-tx)}
.st-miss{background:var(--dn-dim);color:var(--dn-tx)}
.st-none{padding-inline:0;color:var(--tx-3)}
.st-even,.st-noentry{background:var(--s2);color:var(--tx-2)}
.fc-h .st{margin-left:auto}
/* who asked and when shows whole or not at all: with no room on the line it drops under the line's edge before anything else gives way */
.fc-m{display:flex;align-items:center;gap:10px;font-size:13px;line-height:20px}
.fc-tf{flex:0 0 auto;color:var(--tx-2);white-space:nowrap}
.fc-who{flex:1 1 0;min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end;height:20px;overflow:hidden;color:var(--tx-3)}
.fc-who::before{content:"";flex:0 0 1px;height:20px}
.fc-who-t{flex:0 0 auto;white-space:nowrap}
.mchart{display:grid;grid-template-columns:minmax(0,1fr) 46px;min-height:0}
.plot .l-edge{stroke:var(--tx-3);stroke-width:1;stroke-dasharray:5 4;stroke-linecap:butt}
.t-edge{background:var(--s2);color:var(--tx-2)}
.now-dot{position:absolute;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;background:var(--amber)}
.lane-r .lt-low{display:none}
/* four figures in one line: the last gives way whole when long prices leave it no room */
.figs{display:flex;flex-wrap:wrap;gap:0 16px;height:22px;overflow:hidden;line-height:22px}
.fg{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}
.fg dt{font-size:12px;color:var(--tx-2)}
.fg dd{font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,monospace;font-size:13px;font-weight:500;color:var(--tx-1)}
/* the scores under a line of their own: what they are, and at its end what they come to. The overall score is the report's
   own figure and its own word for it; the word is coloured by side and still says the side. With no room for both on a
   line the overall score takes the next one */
.scs{margin:2px 0}
.scs-t{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 10px;min-height:20px;margin-bottom:6px}
.scs-h{flex:0 0 auto;font-size:12px;line-height:16px;font-weight:650;color:var(--tx-3);white-space:nowrap}
.scs-o{flex:0 0 auto;display:inline-flex;align-items:baseline;gap:6px;margin-left:auto;font-size:12px;line-height:16px;color:var(--tx-2);white-space:nowrap}
.scs-on{font-size:16px;line-height:20px;font-weight:600;letter-spacing:0;color:var(--tx-1)}
.scs-v{font-weight:700}
.scs-l{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.sc{display:flex;flex-direction:column;min-width:0;padding:5px 8px 6px;border-radius:var(--r2);background:var(--bg)}
.sc-w{background:var(--amber-dim)}
.sc dt{overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:var(--tx-2);white-space:nowrap}
.sc dd{font-size:13px;line-height:20px;font-weight:600;color:var(--tx-1);white-space:nowrap}
.sc dd.num{font-size:15px;letter-spacing:0}
.sc-mark{font-family:'Pretendard Variable',Pretendard,system-ui,sans-serif;font-size:12px;font-weight:700;color:var(--amber-tx)}
.sc-w .sc-mark{margin-left:6px}
/* the report's own words, cut after three lines: every line reads in full but the last, which fades out to the right */
.fc-x{height:63px;overflow:hidden;font-size:13px;line-height:21px;-webkit-mask:linear-gradient(#000,#000) 0 0 / 100% 42px no-repeat,linear-gradient(90deg,#000 30%,transparent 96%) 0 100% / 100% 21px no-repeat;mask:linear-gradient(#000,#000) 0 0 / 100% 42px no-repeat,linear-gradient(90deg,#000 30%,transparent 96%) 0 100% / 100% 21px no-repeat}
/* the way to the whole report keeps its room: 14px over it at the least, and the card's own padding under it */
.fc-more{align-self:end;display:flex;align-items:center;gap:8px;padding-top:6px}
.fc-more > .ic{width:14px;height:14px;stroke-width:1.8;color:var(--tx-3)}
/* a frame that marks the card that has just arrived, then fades. It stays out of the card's grid: placed in a column,
   it would be measured from that column's line and frame the text alone, not the card */
.fx-ring{position:absolute;inset:0;border:2px solid var(--amber);border-radius:var(--r3);opacity:0;pointer-events:none}
.fc > .fx-ring{grid-area:auto}
/* the card under the two. It is seen only in the replay, as the one that leaves the stack, and keeps a place and no more */
.fc-ghost{position:absolute;left:0;right:0;bottom:0;height:calc((100% - 12px) / 2);opacity:0;pointer-events:none}
.ph{display:flex;align-items:center;justify-content:center;border-radius:var(--r2);background:var(--bg);font-size:12px;color:var(--tx-3)}
.fc > .ph-r{grid-row:3 / -1}

/* the record under the login card: the hit rate with its count and period, the split by direction, the latest results as
   rows (the whole row opens that analysis again), the way to the full record, then the rule of a hit and the notice */
.record{gap:10px;padding:14px 18px 16px;font-variant-numeric:tabular-nums}
.rc-h{display:flex;align-items:center;gap:8px;min-height:24px}
.rc-h .h3{flex:0 0 auto;white-space:nowrap}
/* marks sample data inside the frame itself */
.smp{flex:0 0 auto;display:inline-flex;align-items:center;padding:0 6px;border:1px solid var(--br-hi);border-radius:var(--r1);font-size:12px;line-height:18px;font-weight:500;color:var(--tx-3);white-space:nowrap}
.rc-p{margin-left:auto;white-space:nowrap}
.rc-n{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}
.rc-rate{font-size:32px;line-height:40px;font-weight:600;letter-spacing:-.02em}
.rc-c{font-size:13px;color:var(--tx-2);white-space:nowrap}
.rc-bar{flex:0 0 auto;display:flex;height:8px;border-radius:4px;overflow:hidden;background:var(--dn-dim)}
.rc-bar i{flex:0 0 auto;background:var(--up)}
.rc-split{display:flex;flex-wrap:wrap;gap:0 16px;font-size:12px;line-height:1.5;color:var(--tx-2)}
.rc-sp{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}
.rc-sp b{font-weight:700}
.rl{flex:0 0 auto;display:flex;flex-direction:column;border-bottom:1px solid var(--br);--rh:36px}
/* how many rows the list holds, the call the one card replaced included: where it is cut to a count, it is never taller than its rows */
.rl-1{--have:1}.rl-2{--have:2}.rl-3{--have:3}.rl-4{--have:4}.rl-5{--have:5}
.rl li{flex:0 0 auto;display:flex;height:var(--rh);border-top:1px solid var(--br)}
.rr{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:8px;padding:7px 0;line-height:20px}
.rr-s{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;font-family:'IBM Plex Mono','Pretendard Variable',ui-monospace,monospace;font-size:13px;font-weight:600;white-space:nowrap}
.rr-b{flex:0 0 auto;font-size:12px;color:var(--tx-2);white-space:nowrap}
.rr-nobar .rr-b{display:none}
.rr .st{flex:0 0 86px;padding:0;background:none}
.rr-w{flex:0 0 54px;font-size:12px;color:var(--tx-3);text-align:right;white-space:nowrap}
.rc-all{align-self:flex-start}
/* v15: the record as three ways (hit, stop-loss, and break-even with no-entry together), each with its share of the judged calls */
.rc-two{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rc-t{display:flex;flex-direction:column;min-width:0;font-size:13px;line-height:18px;font-weight:600}
.rc-t b{font-size:28px;line-height:36px;font-weight:650;letter-spacing:-.02em}
.rc-t.up{color:var(--up-tx)}.rc-t.dn{color:var(--dn-tx)}.rc-to{color:var(--tx-2)}
.rc-tc{font-size:12px;font-weight:500;color:var(--tx-2)}
.rc-bar2{flex:0 0 auto;display:flex;gap:2px;height:8px}
.rc-bar2 i{flex:0 1 0;min-width:0;border-radius:4px}
.rb-hit{background:var(--up)}.rb-miss{background:var(--dn)}.rb-other{background:var(--tx-3)}
.rc-basis{line-height:18px}
/* v15: on the wide page the side column counts every verdict over a period in the record's place; under 1104 the record comes back */
.counts{display:none;gap:10px;padding:14px 18px 16px;font-variant-numeric:tabular-nums}
@media (min-width:1104px){.side-top > .record{display:none}.side-top > .counts{display:flex;flex:1 0 auto}}
.cnt-per{display:flex;flex-wrap:wrap;gap:2px;margin:-4px -8px 0}
.app .cnt-pb{min-height:32px;padding:0 8px;border:0;border-radius:var(--r1);background:none;font:inherit;font-size:13px;line-height:20px;color:var(--tx-2);cursor:pointer}
.app .cnt-pb[aria-pressed="true"]{color:var(--tx-1);font-weight:650;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
@media (pointer:coarse){.app .cnt-pb{min-height:44px;min-width:44px}}
.cnt-dist{flex:0 0 auto;display:flex;gap:2px;height:8px}
.cnt-seg{flex:0 1 0;min-width:0;border-radius:4px}
.cnt-l{flex:0 0 auto;display:flex;flex-direction:column;border-bottom:1px solid var(--br)}
.cnt-l li{display:flex;border-top:1px solid var(--br)}
.cnt-r{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 6px 0 2px;font-size:14px}
.cnt-sw{flex:0 0 auto;width:10px;height:10px;border-radius:3px}
.cnt-n{flex:1 1 auto;min-width:0}
.cnt-v{font-weight:650}
.cnt-r .ic{width:16px;height:16px;color:var(--tx-3)}
.cnt-seg.s-hit,.cnt-sw.s-hit{background:var(--up)}.cnt-seg.s-even,.cnt-sw.s-even{background:var(--tx-3)}.cnt-seg.s-miss,.cnt-sw.s-miss{background:var(--dn)}
.cnt-seg.s-noentry,.cnt-sw.s-noentry{background:var(--br-hi)}.cnt-seg.s-none,.cnt-sw.s-none{background:var(--s3)}.cnt-seg.s-open,.cnt-sw.s-open{background:var(--amber)}
.cnt-fine{gap:6px}
/* v15: a signed-in reader switches the feed between the live analyses and their own */
.ft-tabs{display:flex;gap:2px;margin-left:4px}
.app .ft-tab{min-height:28px;padding:0 8px;border:0;border-radius:var(--r1);background:none;font:inherit;font-size:13px;line-height:20px;color:var(--tx-2);cursor:pointer}
.app .ft-tab[aria-pressed="true"]{color:var(--tx-1);font-weight:650;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
@media (pointer:coarse){.app .ft-tab{min-height:44px;min-width:44px}}
.fs-still .fx,.fs-still.fx{animation:none!important}
.fe-mine{display:flex;flex-direction:column;gap:10px;min-width:0;padding:14px 18px 16px;border-radius:var(--r3);background:var(--s1);outline:1px solid var(--rim);outline-offset:-1px;font-variant-numeric:tabular-nums}
.acct-name{color:inherit}
.rc-fine{display:flex;flex-direction:column;gap:2px;margin-top:auto}
.rc-fine .cap{line-height:18px}

/* phone menu: a panel from the right edge over a dimmed page. It holds what the header and the side column give up
   on a phone: login, every service, the channels, the theme switch */
.nav{position:fixed;inset:0;z-index:20;visibility:hidden;overflow:hidden;pointer-events:none}
.app .nav-scrim{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background:oklch(0% 0 0 / .6);opacity:0;cursor:default;touch-action:none}
.nav-panel{position:absolute;top:0;right:0;bottom:0;width:min(100% - 48px,360px);display:flex;flex-direction:column;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) calc(16px + env(safe-area-inset-bottom,0px)) 0;background:var(--bg);box-shadow:-1px 0 0 var(--rim);overflow-y:auto;overscroll-behavior:contain;transform:translateX(100%)}
.nav.is-open{visibility:visible;pointer-events:auto}
.nav.is-open .nav-scrim{opacity:1}
.nav.is-open .nav-panel{transform:none}
.nav-top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:6px 6px 6px 18px}
.nav-login{flex:0 0 auto;display:flex;flex-direction:column;margin:0 12px;border-radius:var(--r3);background:var(--s1)}
.nav-sec{flex:0 0 auto;display:flex;flex-direction:column;padding-top:18px}
.nav-h{padding:0 18px 6px;font-size:13px;font-weight:600;color:var(--tx-3)}
.nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 0;padding:0 10px}
/* a drawn tile per service: no hairline, the fill alone carries the shape (user's call) */
.si{display:flex;flex-direction:column;align-items:center;min-width:0;padding:8px 2px 6px;border-radius:var(--r3);font-size:13px;line-height:1.35;text-align:center}
.si-i{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:6px;border-radius:var(--r3);background:var(--s1);color:var(--tx-1)}
.si-i .ic{width:22px;height:22px}
.si-n{font-weight:500}
.si small{font-size:12px;color:var(--tx-3)}
/* the ring sits inside the tile: the panel scrolls, and a scroll container cuts whatever is drawn outside it */
.si:focus-visible{outline-offset:-2px}
.nav-links{padding:2px 18px 0}
.nav-theme{width:100%;border-top:1px solid var(--br)}
.nav-theme .ic{color:var(--tx-2)}

/* rows */
.lr{display:grid;align-items:center;gap:12px;min-height:36px;padding:6px 18px;font-size:14px}
.lr + .lr{border-top:1px solid var(--br)}
.lh{min-height:28px;padding-block:4px;color:var(--tx-3);font-size:12px}
.r{text-align:right}
.tk{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.wr{grid-template-columns:22px minmax(40px,1fr) minmax(86px,auto) minmax(86px,auto)}
.empty{display:flex;align-items:center;min-height:72px;padding:0 18px;color:var(--tx-2);font-size:14px}
.item{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 18px}
.item + .item{border-top:1px solid var(--br)}
.item-t{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.item-n{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:15px;font-weight:600}
.item .ic{color:var(--tx-3)}
.kv{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:6px 0;font-size:13px;color:var(--tx-2)}
.kv + .kv{border-top:1px solid var(--br)}
.kv > span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kv > span:last-child{flex:0 0 auto;white-space:nowrap}
.kv .num{color:var(--tx-1)}
.kv .up{color:var(--up-tx)}.kv .dn{color:var(--dn-tx)}

/* CVD: the chart, then the order-size rows as the legend, the switch and the reading. Two columns, small orders down the left */
.brows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto repeat(3,auto);grid-auto-flow:column;border-top:1px solid var(--br)}
.brows > .lh{grid-row:1}
.brows > .lh2{grid-column:2}
.brows > .lr{border-top:0}
.brows > .brow{border-top:1px solid var(--br)}
.brows > .lh2,.brows > .brow:nth-of-type(n+4){border-left:1px solid var(--br)}
.bq{grid-template-columns:10px minmax(0,1fr) 44px 60px}
.brow{width:100%;min-height:40px;color:var(--tx-3)}
.brow i{width:10px;height:10px;border-radius:3px;opacity:.35}
.brow[aria-pressed="true"]{color:var(--tx-1)}
.brow[aria-pressed="true"] i{opacity:1}
.chart{display:grid;grid-template-columns:minmax(34px,auto) minmax(0,1fr) minmax(40px,auto);grid-template-rows:264px 20px}
.lane{position:relative;font-size:12px;line-height:1;color:var(--tx-3)}
/* .lb is the placed label itself: the canvas runtime wraps a hole's text in a span of its own, so no rule here may reach a bare span */
.lane .lb{position:absolute;transform:translateY(-50%);white-space:nowrap}
.lane .sizer{display:block;height:0;visibility:hidden;white-space:nowrap;padding-inline:8px 0}
.lane-l .lb{right:8px}
.lane-l .sizer{padding-inline:0 8px}
.lane-r .lb{left:8px}
.lane-x{grid-column:2}
.lane-x .lb{top:8px;transform:translateX(-50%)}
.plot{position:relative;min-width:0}
.plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.plot path{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.g-line{stroke:var(--br);stroke-width:1}
.g-zero{stroke:var(--br-hi);stroke-width:1}
.g-ann{stroke:var(--tx-3);stroke-width:1}
.l-price{stroke:var(--tx-2);stroke-width:1.25}
.series{stroke-width:2}
.s0{stroke:var(--b0)}.s1{stroke:var(--b1)}.s2{stroke:var(--b2)}.s3{stroke:var(--b3)}.s4{stroke:var(--b4)}.s5{stroke:var(--b5)}
.ann{position:absolute;top:1px;max-width:60%;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.2;color:var(--tx-2);white-space:nowrap}
.plot .empty{position:absolute;inset:0;justify-content:center;padding:0}

/* candles with a plan drawn on them: the charts of the feed's cards */
.plot .k-up{fill:var(--up);stroke:none}
.plot .k-dn{fill:var(--dn);stroke:none}
.plot .w-up{stroke:var(--up);stroke-width:1;stroke-linecap:butt}
.plot .w-dn{stroke:var(--dn);stroke-width:1;stroke-linecap:butt}
.plot .k-vol{fill:var(--tx-3);stroke:none;opacity:.28}
.plot .z-up{fill:var(--up);stroke:none;opacity:.13}
.plot .z-dn{fill:var(--dn);stroke:none;opacity:.14}
.plot .l-avg{stroke:var(--amber);stroke-width:1.25;stroke-linecap:butt}
.plot .l-tp{stroke:var(--up);stroke-width:1;stroke-dasharray:5 4;stroke-linecap:butt}
.plot .l-sl{stroke:var(--dn);stroke-width:1;stroke-dasharray:5 4;stroke-linecap:butt}
.lane-r .ltag{display:inline-flex;align-items:center;gap:6px;height:20px;padding:0 6px;border-radius:var(--r1);font-size:12px;font-weight:650}
.t-avg{background:var(--amber-dim);color:var(--amber-tx)}

/* heatmap: tints by sign and size, slots by rank */
.heat{flex:1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,minmax(40px,1fr)) 62px;gap:3px}
.heat > div{min-width:0;overflow:hidden;border-radius:var(--r1);padding:7px 9px;display:flex;flex-direction:column;gap:1px;font-size:12px;line-height:1.3}
.heat b{font-size:14px;font-weight:650}
.heat small{font-size:12px}
.heat b,.heat small,.heat span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hc0{grid-area:1 / 1 / 5 / 6}.hc1{grid-area:1 / 6 / 4 / 10}.hc2{grid-area:1 / 10 / 4 / 13}.hc3{grid-area:4 / 6 / 5 / 9}.hc4{grid-area:4 / 9 / 5 / 11}.hc5{grid-area:4 / 11 / 5 / 13}
.heat > .hc-one{grid-area:1 / 1 / 5 / 13}
.h-u3{background:color-mix(in oklab,var(--up) var(--h3),var(--s1));color:var(--tx-1)}
.h-u2{background:color-mix(in oklab,var(--up) var(--h2),var(--s1));color:var(--tx-1)}
.h-u1{background:color-mix(in oklab,var(--up) var(--h1),var(--s1));color:var(--tx-1)}
.h-d3{background:color-mix(in oklab,var(--dn) var(--h3),var(--s1));color:var(--tx-1)}
.h-d2{background:color-mix(in oklab,var(--dn) var(--h2),var(--s1));color:var(--tx-1)}
.h-d1{background:color-mix(in oklab,var(--dn) var(--h1),var(--s1));color:var(--tx-1)}
.h-z{background:var(--s2);color:var(--tx-2)}

/* divided containers */
.split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--br)}
.split > *{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;min-width:0}
.split > * + *{border-left:1px solid var(--br)}
.spec{flex-direction:column;align-items:stretch;gap:6px;padding-block:12px 14px}
.spectrum{display:flex;gap:2px;height:8px}
.spectrum i{flex:1;border-radius:2px}
.ends{display:flex;justify-content:space-between;gap:8px}
/* the signal card (한국 주식 시그널), the preview anyone can read: one judged day, the stocks the selection passed by name,
   each with the state of its leading CVD group, four rows at the most. The whole screen behind it is the premium part.
   The parts of a row (.sg-*) are the screen's too: signal.css builds its lists on them */
.sgl{display:flex;flex-direction:column;font-variant-numeric:tabular-nums}
.c-n,.c-cvd{min-width:0}
/* the code stands beside the name while both fit; in a narrow column it drops under the name before the name is cut at all */
.sg-nm{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;min-width:0}
.sg-name{flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:22px;font-weight:600}
.sg-code{flex:0 0 auto;font-size:12px;color:var(--tx-3)}
/* what kind of candidate it is: shown whole, on a second line of its own where the column is narrow */
.sg-sub{font-size:13px;line-height:19px;color:var(--tx-2);text-wrap:pretty}
/* the leading CVD group: the swatch is the colour that order-size group has on the CVD chart, the word is its state */
.sg-st{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;line-height:20px}
.sg-sw{flex:0 0 auto;width:8px;height:8px;border-radius:2px}
.sg-state{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.sg-grp{padding-left:14px;font-size:12px;line-height:17px;color:var(--tx-3);white-space:nowrap}
.sgc-r{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:56px;padding:8px 18px;border-top:1px solid var(--br);font-variant-numeric:tabular-nums}
.sgc-r .c-cvd{justify-self:end}
/* a name is what the row is for: it takes a second line before it is cut (the one place it is kept to a line is under a pointer
   that can hover for the whole name, beside the wide cards, where the column's height has to hold: see the end of the sheet) */
.sgc-r .sg-name{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
.sgc-lead{padding:0 18px 10px}
.sgc-zero{display:flex;flex-direction:column;gap:4px;padding:2px 18px 14px}
.sgc-zero-h{font-size:17px;line-height:24px;font-weight:650}
.sgc-kv{flex:0 0 auto;padding-top:0;padding-bottom:8px}
/* the way to the whole screen, with a lock before it for a reader who is not a premium member */
.sgc-more{display:flex;align-items:center;gap:6px}
.sgc-more > .ic{width:14px;height:14px;stroke-width:1.8;color:var(--tx-3)}
.media{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 4px;flex:1;padding:0 0 0 18px}
.media img{align-self:start;height:126px;width:auto;border-radius:var(--r2);margin:4px 0 18px}
.who{display:flex;align-items:center;gap:12px}
.who img{flex:0 0 auto;width:36px;height:auto}
.fact{grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:46px}
/* in a row of cards the facts share what the tallest card gives them, so no empty block stands over the foot */
.facts{flex:1 0 auto;display:flex;flex-direction:column}
.facts > .fact{flex:1 0 auto}
.fact > span:first-child{color:var(--tx-2)}
.rows{display:flex;flex-direction:column;flex:1;margin:2px 0 8px}
.faq{border-top:1px solid var(--br)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:10px 18px;font-size:15px;font-weight:600}
.faq summary .ic{color:var(--tx-3)}
.faq p{padding:0 18px 14px;max-width:68ch;font-size:14px;color:var(--tx-2)}
.faq[open] summary .ic{transform:rotate(90deg)}
.foot{margin-top:18px;padding-top:16px;border-top:1px solid var(--br);display:flex;flex-direction:column;gap:6px}
.foot-r{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px}
.links{display:flex;flex-wrap:wrap;gap:4px 18px}
.links a{display:inline-flex;align-items:center;min-height:32px;font-size:13px;color:var(--tx-2)}

/* motion is feedback, with one exception. Feedback: press, hover, the series switch, the phone menu's travel from its edge.
   The exception is the arrival of a new analysis (below). Nothing else on the page performs an entrance. */
.btn:active,.si:active .si-i,.brow:active,.icon-btn:active,.tfc:active,.rk-c:active .rk-f,.sv:active .sv-i{transform:scale(.97)}
.sgo:active{filter:brightness(.9)}
@media (hover:hover) and (pointer:fine){
.si:hover .si-i{background:var(--s2)}
.icon-btn:hover{background:var(--s1);color:var(--tx-1)}
.btn-amber:hover,.sgo:hover{filter:brightness(1.08)}
.btn-quiet:hover{background:var(--s3)}
.tfc:hover{border-color:var(--br-hi)}
.tfc[aria-pressed="true"]:hover{border-color:var(--amber)}
.rk-c:hover .rk-f,.sv:hover{background:var(--s1)}
.strip-link:hover .strip-go{opacity:.88}
.go:hover,.lk:hover,.links a:hover,.login-links a:hover{color:var(--amber-tx)}
.nav-theme:hover{background:var(--s1)}
.strip-link:hover b{text-decoration:underline;text-underline-offset:3px}
a.item:hover,a.lr:hover,.faq summary:hover,.brow:hover,.rr:hover,.cnt-r:hover,.app .cnt-pb:hover,.app .ft-tab:hover{background:var(--s2)}
.brow:hover{color:var(--tx-1)}
}
@media (prefers-reduced-motion:no-preference){
.btn,.sgo,.si-i,.sv-i,.rk-f,.icon-btn,.strip-go{transition:transform 160ms var(--ease),background-color 150ms ease,color 150ms ease,filter 150ms ease,opacity 150ms ease}
.tfc{transition:transform 160ms var(--ease),background-color 150ms ease,border-color 150ms ease}
.brow{transition:transform 160ms var(--ease),background-color 150ms ease,color 150ms ease}
.go,.lk,.links a,.login-links a,a.item,.nav-theme,.faq summary,.rr,.sv{transition:background-color 150ms ease,color 150ms ease}
.brow i,.series{transition:opacity 180ms ease}
.faq summary .ic{transition:transform 200ms var(--ease)}
/* the menu travels in from its edge and leaves the way it came; the layer stays visible until the panel is out */
.nav{transition:visibility 0s linear 500ms}
.nav.is-open{transition-delay:0s}
.nav-scrim{transition:opacity 500ms var(--ease-drawer)}
.nav-panel{transition:transform 500ms var(--ease-drawer)}
}
@media (prefers-reduced-motion:reduce){
/* no travel: the panel and the dim fade in place */
.nav{transition:visibility 0s linear 200ms}
.nav.is-open{transition-delay:0s}
.nav-panel{transform:none;opacity:0;transition:opacity 200ms ease}
.nav.is-open .nav-panel{opacity:1}
.nav-scrim{transition:opacity 200ms ease}
}

/* card-width rules. The banner follows its own width the same way */
/* under 1160 the banner cannot hold the services beside the input: they go under it, ten across, and a long name takes two lines */
@container (max-width:1159px){
.hero-in{flex-direction:column;align-items:stretch;gap:14px;padding:16px 28px 18px}
.hs{grid-template-columns:repeat(10,minmax(0,1fr));gap:0;padding:12px 8px 8px}
.sv{white-space:normal;text-wrap:balance}
}
@container (max-width:959px){
.hs{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 0}
}
@container (max-width:700px){
.lane-x .alt{display:none}
}
/* under 680 the banner is the phone's: the mascot in the top corner beside the name, the ticker and the start as one box
   with the six cells on a row of their own under it, the ranking, the live line, then all ten services two to a line */
@container (max-width:679px){
.hero-in{gap:12px;padding:14px 16px 16px}
/* a column in the phone's order: name, input, ranking, live line. A part that is not there leaves no gap behind */
.hz{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.cmp{order:1}
.hf{order:2;min-height:0}
.hl{order:3;align-self:auto}
.hb{position:absolute;right:10px;top:8px;height:auto;margin:0}
.hb-m{height:74px}
.hh{display:block;min-height:64px;padding-right:104px}
.hero-h{font-size:18px;line-height:1.3;letter-spacing:-.02em}
.hero-d{display:block;margin-top:2px;overflow:visible;font-size:13px;line-height:1.4;text-wrap:wrap}
.hd-br{display:inline}
.hl{max-width:none;padding:6px 12px 6px 10px}
/* the ranking and the live line are one group: 8px apart */
.hz:has(.rk) .hl{margin-top:-4px}
.rk{height:32px}
.rk-l{height:44px;margin:-6px 0}
.rk-c{min-height:44px}
.rk-f{padding:6px 10px}
.cmp-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 0;height:auto;padding:0;border:0;border-radius:0;background:none}
.cmp-card:has(input:focus-visible){outline:none}
.cmp-card input{grid-area:1 / 1;width:auto;height:56px;padding:0 12px 0 20px;border:2px solid var(--amber);border-right:0;border-radius:var(--r3) 0 0 var(--r3);background:var(--s1);font-size:16px}
/* the ring goes round the field and the start together: an empty box over the first row carries it */
.cmp-card::after{content:"";grid-area:1 / 1 / 2 / 3;border-radius:var(--r3);pointer-events:none}
.cmp-card:has(input:focus-visible)::after{outline:2px solid var(--amber);outline-offset:2px}
.cmp-rule{display:none}
.sgo{grid-area:1 / 2;height:56px;margin:0;padding:0 20px;font-size:15px}
.tfs{grid-area:2 / 1 / 3 / 3;height:46px;margin:0;padding:0}
.hs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 6px;margin:0 -6px -6px;padding:4px 6px}
.sv{flex-direction:row;gap:8px;min-height:48px;padding:3px 6px;border-radius:var(--r2);text-align:left;white-space:normal}
.sv-i{width:28px;margin:0}
.sv-i .ic{width:22px;height:22px}
.sv-t{align-items:flex-start;line-height:1.3}
}
/* a feed card under 816 has no room for six scores in a row beside its chart: three across, two rows, and the figures may
   take a second line instead of losing the last one. Under 760 the chart narrows too */
@container (max-width:815px){
.scs-l{grid-template-columns:repeat(3,minmax(0,1fr))}
.figs{height:auto;max-height:44px}
}
@container (max-width:759px){
.fc{grid-template-columns:240px minmax(0,1fr)}
}
/* a feed card under 640: chart over text, the figures as rows */
@container (max-width:639px){
.fc{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,auto) 1fr;gap:8px;padding:14px 16px 12px}
.fc > *,.fc > .mchart{grid-column:1;grid-row:auto}
.mchart{height:150px}
.fc .lane-r .ltag{height:20px}
.lane-r .lt-tall{display:none}
.lane-r .lt-low{display:inline-flex}
.figs{display:block;height:auto;max-height:none;overflow:visible;line-height:inherit}
.fg{display:flex;justify-content:space-between;gap:12px;min-height:22px;padding:1px 0}
.fg dt{flex:0 0 auto;line-height:20px}
.fg dd{line-height:20px;text-align:right}
.fc-more{padding-top:0}
.fc .lk{min-height:44px}
}
@container (max-width:620px){
.split{grid-template-columns:minmax(0,1fr)}
.split > * + *{border-left:0;border-top:1px solid var(--br)}
.banner-l{flex-basis:100%;border-left:0;border-top:1px solid var(--br)}
}
@container (max-width:560px){
.brows{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
.brows > .lh{grid-row:auto}
.brows > .lh2{display:none}
.brows > .brow:nth-of-type(n+4){border-left:0}
.chart{grid-template-columns:minmax(30px,auto) minmax(0,1fr) minmax(34px,auto);grid-template-rows:196px 20px}
.heat{flex:1 0 auto;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(3,minmax(60px,1fr)) minmax(66px,1.1fr)}
/* a tile gives the rows no height of its own: the rows stand at 60 and 66 and grow only when the card is given more */
.heat > div{padding:5px 8px;contain:size}
.hc0{grid-area:1 / 1 / 4 / 4}.hc1{grid-area:1 / 4 / 3 / 7}.hc2{grid-area:3 / 4 / 4 / 7}.hc3{grid-area:4 / 1 / 5 / 3}.hc4{grid-area:4 / 3 / 5 / 5}.hc5{grid-area:4 / 5 / 5 / 7}
.heat > .hc-one{grid-area:1 / 1 / 5 / 7}
.media{display:block;padding:0}
.media img{width:calc(100% - 36px);height:auto;margin:2px 18px 12px}
}
/* a record with under 301px inside it (a 360px phone and narrower) has no room for every part of a row. A ticker is never cut
   while something lesser can go: the candle gives way in every row, and the time too beside a ticker past seven characters */
@container (max-width:300px){
.rr-b,.rr-long .rr-w{display:none}
}
@container (max-width:430px){
.banner img{width:120px;margin:16px 0 16px 16px}
.banner-t{flex-basis:160px}
}

/* 1103 and under the main column is too narrow for a card with its chart beside it (640px): one card shows, the newest.
   The one it replaced lies over the same place, out of sight and out of reach except while it leaves in the replay, and
   comes in as the first row of the record */
@media (max-width:1103px){
.fs{grid-auto-rows:auto}
.fc-prev{position:absolute;inset:0 0 auto 0;opacity:0;visibility:hidden;pointer-events:none}
.fc-ghost,.ft-s{display:none}
.rl{height:calc(min(6,var(--have,6)) * var(--rh) + 1px);overflow:hidden}
}
/* 1159 and under the main column is too narrow to stand beside a column of widgets without running far past it (the course
   banner folds at 676): the wide cards take the page's width, and the seven narrow cards follow as one grid, two or three
   to a row, each row one height. Seven leaves one over, so the last, the study channels, takes a row of its own; the
   questions close the page across its width again */
@media (max-width:1159px){
.col-main{grid-column:1 / -1}
.more{grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:var(--gap);min-width:0}
.col-side,.trio{display:contents}
.more .study{grid-column:1 / -1}
.cols > .faqs{grid-column:1 / -1;grid-row:4}
}
/* beside the wide cards, under a pointer that can hover for the whole name, a stock's name on the signal card keeps to one line */
@media (hover:hover) and (pointer:fine) and (min-width:1160px){
.sgc-r .sg-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
}
@media (min-width:1104px){
.rl .rr-prev{display:none}
}
/* 900 and under: one column. The header lets go of the window, the login card leaves the page for the head of the menu, and
   the menu button joins the theme switch. The record keeps three rows there */
@media (max-width:900px){
.top{position:static}
.top .wrap{height:60px}
.brand-h{margin-left:0}
.brand img{height:32px}
.top-r{gap:0}
.top-r .go,.ft-all{display:none}
.cols{grid-template-columns:minmax(0,1fr)}
.cols > .feed,.side-top,.col-main,.more,.cols > .faqs{grid-column:1;grid-row:auto}
.more{grid-template-columns:minmax(0,1fr)}
.side-top > .login{display:none}
.menu-btn{display:inline-flex}
#ask,#credit,#live,#record{scroll-margin-top:12px}
.rl{height:calc(min(3,var(--have,3)) * var(--rh) + 1px)}
.rl .rr-p4,.rl .rr-p5,.rl .rr-p6,.rl .rr-p7{display:none}
}
@media (min-width:901px){
.nav{display:none}
}
/* touch at any width: a tablet is wider than 720 and still a finger, so every target is 44px tall there too */
@media (pointer:coarse){
.btn,.go,.lk,.lr,.brow,.links a,.login-links a{min-height:44px}
.icon-btn,.strip .icon-btn{width:44px;height:44px}
.strip .wrap,.strip-link{min-height:44px}
.strip-link{padding-left:44px}
.menu-btn{margin-right:-11px}
.lh{min-height:32px}
.rl{--rh:45px}
/* a chip looks 32px tall and takes a press over 44 */
.rk{height:32px}
.rk-l{height:44px;margin:-6px 0}
.rk-c{min-height:44px}
.rk-f{padding:6px 10px}
}
@media (max-width:720px){
.app{--gap:12px}
.wrap{padding-inline:16px}
.strip-more{display:none}
.strip .wrap{padding-block:4px}
.strip-link{gap:2px 10px;line-height:1.4}
.page{padding-block:4px 28px}
.btn{min-height:44px}
.go,.lk{min-height:44px}
.icon-btn,.strip .icon-btn{width:44px;height:44px}
.strip .wrap,.strip-link{min-height:44px}
.strip-link{padding-left:44px}
.menu-btn{margin-right:-11px}
.lr{min-height:44px}
.lh{min-height:32px}
.brow{min-height:44px}
.links a,.login-links a{min-height:44px}
.login{padding:18px 16px 8px}
.login:has(.acct){padding:12px 16px 14px}
.card-h{padding:10px 16px 6px}
.card-h .right.own-row{flex:1 1 100%;margin-left:0;justify-content:space-between}
.card-b{padding:6px 16px 16px}
.lead{padding:0 16px 8px}
.card-f,.lr,.empty,.faq summary,.sgc-r,.sgc-zero,.sgc-lead{padding-inline:16px}
.item{padding:8px 16px}
.faq p{padding:0 16px 14px}
.split > *{padding:14px 16px 16px}
.media img{width:calc(100% - 32px);margin:2px 16px 12px}
.banner-t{padding:12px 16px}
.wr{grid-template-columns:20px minmax(40px,1fr) minmax(80px,auto) minmax(80px,auto)}
.record{padding:12px 16px 14px}
.rl{--rh:45px}
/* the ranking chips take a press over 44 here as every other control does: from 680 to 720 the banner is not yet the phone's,
   and without this a chip alone would stay 28px tall under a mouse-sized rule */
.rk{height:32px}
.rk-l{height:44px;margin:-6px 0}
.rk-c{min-height:44px}
.rk-f{padding:6px 10px}
}
