/* ===========================================================================
   THE DOLVERO SKIN FOR EDGE
   ---------------------------------------------------------------------------
   dolvero.com and this app were designed apart: the site speaks in Poppins
   headlines, pill buttons with a blue gradient, white cards with one hairline
   and a long soft shadow; the app spoke in Inter 800, flat rectangles and
   square corners. Same company, two languages.

   This sheet is the translation, and it is deliberately ONE file: it restyles
   the shared component layer (v2-ui.css) rather than any page, so a page that
   already uses .ui-card / .ui-btn / .v2head moves with it and no page needs to
   know this file exists. Loaded LAST, after the page sheets, so a page written
   against the old look does not quietly win.

   It changes appearance only - never layout, never a grid, never a width.
   Anything structural belongs to the page's own pass.

   Bump V2_DV_VER in _assets.php on every edit: .htaccess serves CSS immutable
   for thirty days.
   =========================================================================== */

:root{
  /* Poppins is the site's display face. Inter stays for everything that is
     read as data - tables, figures, the terminal - because it is the face that
     was chosen for exactly that and has the tabular figures to prove it. */
  --dv-display:'Poppins','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --dv-r:20px;          /* card radius on the site: 20-26px. 20 here, because an
                           app is denser than a landing page and 26 starts to
                           look like a toy at 300px wide. */
  --dv-r-sm:14px;
  --dv-pill:999px;
  --dv-ease:cubic-bezier(.22,1,.36,1);
  --dv-t:.42s var(--dv-ease);
  --dv-shadow:0 30px 60px -40px rgba(2,6,16,.9);
  --dv-shadow-lift:0 40px 70px -40px rgba(2,6,16,1);
  --dv-grad:linear-gradient(135deg,#4f7df0,#2554d4);
  --dv-card:rgba(13,21,38,.72);
  --dv-card-line:rgba(147,184,255,.13);
}
:root[data-theme="light"]{
  --dv-shadow:0 26px 50px -36px rgba(15,23,42,.42);
  --dv-shadow-lift:0 34px 60px -34px rgba(15,23,42,.5);
  --dv-card:#ffffff;
  --dv-card-line:rgba(20,45,110,.13);
}

/* ---------------------------------------------------------------------------
   1. TYPE
   The site sets headlines in Poppins with -.03em and lets them wrap balanced;
   the app set everything in Inter 800, which reads as a heavier version of the
   body text rather than as a different voice.
   --------------------------------------------------------------------------- */
.v2wrap h1,.v2wrap h2,.v2wrap h3,
.ui-panel__h,.ui-panel__h h2,.ui-panel__h h3,
.v2head h1{font-family:var(--dv-display);letter-spacing:-.02em}

.v2head{margin:2px 0 26px;max-width:72ch}
.v2head h1{font-size:clamp(28px,3.4vw,40px);font-weight:700;letter-spacing:-.03em;
  line-height:1.08;margin:0 0 10px;text-wrap:balance}
.v2head p{font-size:15.5px;line-height:1.65;color:var(--muted);max-width:64ch;text-wrap:pretty}

/* The eyebrow: the site's small blue label above every headline. Pages opt in
   by putting <p class="v2eye"> above the h1; nothing breaks where it is absent. */
.v2eye{display:block;font-size:11.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--soft);margin:0 0 10px}
:root[data-theme="light"] .v2eye{color:var(--accent2)}

.v2sec{font-size:11.5px;letter-spacing:.14em;color:var(--faint)}

/* ---------------------------------------------------------------------------
   2. BUTTONS
   Every call to action on dolvero.com is a pill. A 10px-radius rectangle is the
   single loudest difference between the two products, and it is on every page.
   --------------------------------------------------------------------------- */
.ui-btn{border-radius:var(--dv-pill);font-weight:600;letter-spacing:-.005em;
  padding:11px 20px;gap:9px;
  transition:transform var(--dv-t),box-shadow var(--dv-t),background var(--dv-t),border-color var(--dv-t),color var(--dv-t)}
.ui-btn--sm{padding:8px 15px;font-size:12.5px}
.ui-btn:hover:not(:disabled){transform:translateY(-1px)}
.ui-btn:active:not(:disabled){transform:translateY(0)}

.ui-btn--primary{background:var(--dv-grad);
  box-shadow:0 14px 30px -14px rgba(37,84,212,.85),inset 0 1px 0 rgba(255,255,255,.18)}
.ui-btn--primary:hover:not(:disabled){box-shadow:0 20px 38px -14px rgba(37,84,212,1),inset 0 1px 0 rgba(255,255,255,.22)}

.ui-btn--quiet{background:var(--dv-card);border:1px solid var(--dv-card-line);color:var(--text);
  box-shadow:0 10px 24px -20px rgba(2,6,16,.9)}
.ui-btn--quiet:hover:not(:disabled){border-color:var(--accent);color:var(--text)}

/* The site's arrow sits in a round well that fills on hover. An .ui-btn with a
   trailing svg gets the same treatment without any page changing its markup. */
.ui-btn>svg:last-child{transition:transform var(--dv-t)}
.ui-btn:hover>svg:last-child{transform:translateX(2px)}

/* ---------------------------------------------------------------------------
   3. SURFACES
   One hairline, one long soft shadow, 20px corners. On the site a card that is
   a link also lifts and grows a blue gradient rule along its top edge; that rule
   is what makes a page of cards feel built rather than listed.
   --------------------------------------------------------------------------- */
.ui-card,.ui-panel,.ui-stat{border-radius:var(--dv-r);
  background:var(--dv-card);border:1px solid var(--dv-card-line);
  box-shadow:var(--dv-shadow)}
.ui-card,.ui-panel{-webkit-backdrop-filter:none;backdrop-filter:none}
.ui-stat{border-radius:var(--dv-r-sm);padding:18px 20px}

.ui-panel__h{font-family:var(--dv-display);font-weight:600;font-size:15.5px;letter-spacing:-.015em;
  padding:16px 20px 14px}
.ui-panel__h__sub{font-family:'Inter',sans-serif;font-weight:400;letter-spacing:0}

/* A card that is itself a link, or carries one, behaves like the site's tiles. */
a.ui-card,.ui-card--link,.ui-card > a.ui-card__hit{position:relative;overflow:hidden;
  transition:transform var(--dv-t),box-shadow var(--dv-t),border-color var(--dv-t)}
a.ui-card::before,.ui-card--link::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:var(--dv-grad);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--dv-ease)}
a.ui-card:hover,.ui-card--link:hover{transform:translateY(-4px);box-shadow:var(--dv-shadow-lift);
  border-color:rgba(79,125,240,.45)}
a.ui-card:hover::before,.ui-card--link:hover::before{transform:scaleX(1)}

/* ---------------------------------------------------------------------------
   4. FIGURES
   A number is the loudest thing on most of these pages, so it gets the display
   face and tabular figures - the same treatment the site gives its stat row.
   --------------------------------------------------------------------------- */
.ui-stat__l{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--faint)}
.ui-stat__v{font-family:var(--dv-display);font-weight:700;letter-spacing:-.03em;
  font-variant-numeric:tabular-nums lining-nums;line-height:1.05}
.ui-stat__s{color:var(--muted)}

/* ---------------------------------------------------------------------------
   5. CHIPS, SEGMENTS, METERS
   The site's selected tab is a blue gradient pill. The app's was a white block
   with dark text, which in dark mode is the brightest thing on the screen and
   pulls the eye away from the data it is labelling.
   --------------------------------------------------------------------------- */
.ui-chip{border-radius:var(--dv-pill);font-weight:700;font-size:10.5px;letter-spacing:.08em;
  text-transform:uppercase;padding:5px 11px}

.ui-seg{border-radius:var(--dv-pill);padding:4px;gap:2px;
  background:var(--dv-card);border:1px solid var(--dv-card-line)}
.ui-seg button,.ui-seg a{border-radius:var(--dv-pill);font-weight:600}
.ui-seg .is-on{background:var(--dv-grad);color:#fff;
  box-shadow:0 10px 20px -12px rgba(37,84,212,.9)}
.ui-seg button:hover:not(:disabled):not(.is-on),
.ui-seg a:hover:not(.is-on){background:var(--w1)}

.ui-meter{border-radius:var(--dv-pill);overflow:hidden}
.ui-meter>span,.ui-meter>i,.ui-meter>b{background:var(--dv-grad);border-radius:var(--dv-pill)}
.ui-meter--ok>span,.ui-meter--ok>i,.ui-meter--ok>b{background:linear-gradient(135deg,#34d399,#0b7a55)}
.ui-meter--warn>span,.ui-meter--warn>i,.ui-meter--warn>b{background:linear-gradient(135deg,#fbbf24,#d97706)}
.ui-meter--bad>span,.ui-meter--bad>i,.ui-meter--bad>b{background:linear-gradient(135deg,#f87171,#b91c1c)}

.ui-pager a,.ui-pager span{border-radius:var(--dv-pill)}
.ui-pager .is-on{background:var(--dv-grad);color:#fff;border-color:transparent}

/* ---------------------------------------------------------------------------
   6. TABLES
   --------------------------------------------------------------------------- */
.ui-tablewrap{border-radius:var(--dv-r);overflow:hidden;border:1px solid var(--dv-card-line)}
.ui-card .ui-tablewrap,.ui-panel .ui-tablewrap{border:0;border-radius:0}
.ui-table th{font-size:10.5px;letter-spacing:.1em;background:var(--w1);
  border-bottom:1px solid var(--dv-card-line)}
.ui-table td{font-size:13.5px;padding:13px 14px;border-bottom:1px solid var(--hairline)}
.ui-table tbody tr:last-child td{border-bottom:0}
.ui-table tbody tr{transition:background var(--dv-t)}

/* ---------------------------------------------------------------------------
   7. FIELDS
   --------------------------------------------------------------------------- */
.ui-in,.ui-input,.ui-select,.ui-field input,.ui-field select,.ui-field textarea{
  border-radius:var(--dv-r-sm);background:var(--dv-card);border:1px solid var(--dv-card-line);
  transition:border-color var(--dv-t),box-shadow var(--dv-t)}
.ui-in:focus,.ui-input:focus,.ui-select:focus,.ui-field input:focus,.ui-field select:focus,.ui-field textarea:focus{
  outline:none;border-color:var(--accent);box-shadow:0 0 0 4px rgba(79,125,240,.16)}
.ui-field__l{font-size:12.5px;font-weight:600;color:var(--text)}

/* ---------------------------------------------------------------------------
   8. EMPTY STATES
   The app's empty state was a sentence in a box, and on a page a customer
   reaches before they have bought anything - payouts, certificates - that box
   IS the page. The site would give it a mark, a headline and one way forward.
   --------------------------------------------------------------------------- */
.ui-empty{position:relative;text-align:center;padding:clamp(32px,5vw,56px) 24px;
  border-radius:var(--dv-r);background:var(--dv-card);border:1px solid var(--dv-card-line);
  box-shadow:var(--dv-shadow);overflow:hidden}
.ui-empty::after{content:"";position:absolute;left:50%;top:-140px;width:420px;height:280px;
  transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(79,125,240,.22),transparent 68%)}
.ui-empty strong{font-family:var(--dv-display);font-weight:600;font-size:19px;color:var(--text);
  letter-spacing:-.02em;margin-bottom:8px}
.ui-empty p{max-width:52ch;margin:0 auto;color:var(--muted);line-height:1.65}
.ui-empty .ui-btn{margin-top:20px}

/* ---------------------------------------------------------------------------
   9. THE BAR
   Same bar, dolvero.com's manners: the sections sit in pills, the current one
   is a blue tint rather than a flat underline, and the avatar carries the
   brand ring the site puts on its own avatars.
   --------------------------------------------------------------------------- */
/* The bar is 68px on the site and the sections live in one rounded well with
   4px of padding, 2px between them; the current section is a filled pill, not a
   tinted rectangle. Everything here is that well and those pills. */
.tnav{height:68px;gap:10px;padding:0 20px}
.tnav__pill{display:flex;align-items:center;gap:2px;padding:4px;margin-inline-start:12px;
  border-radius:var(--dv-pill);background:rgba(255,255,255,.07)}
:root[data-theme="light"] .tnav__pill{background:rgba(15,23,42,.055)}
.tnav .lnk{border-radius:var(--dv-pill);padding:8px 15px;font-weight:500;font-size:14px;
  color:var(--muted);transition:background var(--dv-t),color var(--dv-t),box-shadow var(--dv-t)}
.tnav .lnk:hover{background:rgba(255,255,255,.16);color:var(--text)}
.tnav .lnk.is-on{background:rgba(255,255,255,.16);color:#fff;font-weight:600}
:root[data-theme="light"] .tnav .lnk:hover,
:root[data-theme="light"] .tnav .lnk.is-on{background:#fff;color:var(--text);
  box-shadow:0 1px 3px rgba(15,23,42,.12)}

/* The right-hand controls are the site's own pick buttons: a pill with a
   hairline, not a square icon tile. */
.tnav .searchbtn,.tnav .iconbtn{border-radius:var(--dv-pill);
  border:1px solid var(--dv-card-line);background:rgba(255,255,255,.06)}
:root[data-theme="light"] .tnav .searchbtn,
:root[data-theme="light"] .tnav .iconbtn{background:#fff}
.tnav .searchbtn{padding-inline:14px}
.tnav .iconbtn{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center}
.tnav .searchbtn:hover,.tnav .iconbtn:hover{border-color:var(--accent)}
.tnav__sub{letter-spacing:.16em}
.tnav .ui-av,.tnav .av{box-shadow:0 0 0 2px rgba(79,125,240,.5)}

/* Below the site's own breakpoint the well would hold two links and a gap, so
   it steps back out of the way and the burger menu carries the sections. */
@media(max-width:1120px){.tnav__pill{background:none;padding:0;margin-inline-start:4px}}

/* ---------------------------------------------------------------------------
   10. ARRIVAL
   The site reveals a section as it comes into view. An app must not make a
   customer wait to read their own balance, so this is one short fade on first
   paint and nothing after it - no scroll listener, no library.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion:no-preference){
  @keyframes dv-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  @keyframes dv-fade{from{opacity:0}to{opacity:1}}
  body:not(.v2-term) .v2wrap>.v2head{animation:dv-rise .5s var(--dv-ease) both}
  body:not(.v2-term) .v2wrap .ui-stat{animation:dv-rise .5s var(--dv-ease) both;
    animation-delay:calc(60ms + var(--dv-i,0)*45ms)}
  body:not(.v2-term) .v2wrap .ui-card,
  body:not(.v2-term) .v2wrap .ui-panel{animation:dv-fade .55s var(--dv-ease) both;animation-delay:120ms}
  .ui-stats>*:nth-child(1){--dv-i:0}.ui-stats>*:nth-child(2){--dv-i:1}
  .ui-stats>*:nth-child(3){--dv-i:2}.ui-stats>*:nth-child(4){--dv-i:3}
  .ui-stats>*:nth-child(5){--dv-i:4}.ui-stats>*:nth-child(6){--dv-i:5}
}

/* ---------------------------------------------------------------------------
   11. THE PAGES' OWN SURFACES
   Not every screen was built on .ui-card. Billing, payouts, certificates,
   support, rules, competitions, checkout and referrals each named their own
   container - .pane, .po__card, .comp, .sup__list, .rl-art, .ck__rules - and
   each set its own 10-16px corner with no shadow. Naming them here is what
   makes the whole app agree on one card, and it is cheaper and safer than
   rewriting eight stylesheets to use a class they were not written with.

   A page that needs something different still says so in its own sheet: this
   block only supplies the house card, it never positions anything.
   --------------------------------------------------------------------------- */
.pane,
.po__card,.po__sumitem,.po__why,
.comp,.pod,
.sup__list,.sup__m,
.rl-art,.rl-none,.rl-search__f,
.ck__rules,.ck__m,
.estimate,.nobook,.agr__doc,
.tk,.tk__b{
  border-radius:var(--dv-r);
  background:var(--dv-card);
  border:1px solid var(--dv-card-line);
  box-shadow:var(--dv-shadow)}

/* The figure a page leads with - a balance, a total, a payout - is the page's
   headline as far as a customer is concerned, so it is set like one. */
.pane h1,.pane h2,.pane .big,
.po__sum b,.po__card b.num,
.bl__tot,.bl__tot b,
.ck__tot,.ck__tot b{font-family:var(--dv-display);font-weight:700;letter-spacing:-.03em;
  font-variant-numeric:tabular-nums lining-nums}

/* Anything already shaped like a pill keeps its shape; anything shaped like a
   small tag becomes one, so a page does not carry three chip shapes. */
.chip,.tag,.po__st,.sup__pill,.tierbadge,.st-pill{border-radius:var(--dv-pill)}

/* ---------------------------------------------------------------------------
   12. THE PAGE HEADERS THAT ARE NOT .v2head
   Payouts, orders, certificates and support each wrote their own header long
   before there was a shared one. They are the same thing - a title and a line
   of explanation - so they get the same type as everywhere else rather than
   four slightly different opinions about how big a page title is.
   --------------------------------------------------------------------------- */
.po__hd,.bl__hd,.ct__hd,.sup__hd{margin-bottom:26px}
.po__hd h1,.bl__hd h1,.ct__hd h1,.sup__hd h1,.pt__hd h1{
  font-family:var(--dv-display);font-weight:700;letter-spacing:-.03em;
  font-size:clamp(26px,2.6vw,34px);line-height:1.1;margin:0 0 8px;text-wrap:balance}
.po__hd p,.bl__hd p,.ct__hd p,.sup__hd p{font-size:15px;line-height:1.65;color:var(--muted);
  max-width:64ch;text-wrap:pretty}

/* ---------------------------------------------------------------------------
   13. THE PAGES A CUSTOMER REACHES BEFORE THEY HAVE ANYTHING
   Payouts and referrals before the first funded account are, for that customer,
   the whole product. Their empty state was a sentence in a left-aligned box on
   an otherwise blank screen. It gets the house treatment: centred, with the
   blue wash the site puts behind a hero, a display-face line and one way out.
   --------------------------------------------------------------------------- */
.po__empty,.pane.na{position:relative;overflow:hidden;text-align:center;
  padding:clamp(34px,5vw,56px) 24px}
.po__empty::after,.pane.na::after{content:"";position:absolute;left:50%;top:-150px;
  width:460px;height:300px;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(79,125,240,.2),transparent 68%)}
.po__empty>*,.pane.na>*{position:relative}
.po__empty b,.pane.na b{display:block;font-family:var(--dv-display);font-weight:600;
  font-size:19px;letter-spacing:-.02em;color:var(--text);margin-bottom:8px}
.po__empty p,.pane.na p{max-width:52ch;margin:0 auto;color:var(--muted);line-height:1.65}
.po__empty a,.pane.na a{display:inline-flex;align-items:center;gap:8px;margin-top:20px;
  padding:11px 20px;border-radius:var(--dv-pill);font-weight:600;color:#fff;
  background:var(--dv-grad);text-decoration:none;
  box-shadow:0 14px 30px -14px rgba(37,84,212,.85);
  transition:transform var(--dv-t),box-shadow var(--dv-t)}
.po__empty a:hover,.pane.na a:hover{transform:translateY(-1px);
  box-shadow:0 20px 38px -14px rgba(37,84,212,1)}

/* ---------------------------------------------------------------------------
   14. THE FIGURE EACH PAGE LEADS WITH
   Points opens on a balance, orders on a total. They are headlines, and the
   site sets a headline in Poppins.
   --------------------------------------------------------------------------- */
.hero__v,.bl__sum__n{font-family:var(--dv-display);font-weight:700;letter-spacing:-.035em;
  font-variant-numeric:tabular-nums lining-nums}
.hero__l,.bl__sum__l{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--faint)}

/* A card that carries a coloured left edge is saying something with it - an
   order that was paid, cancelled or refused, a rule that stops you - so the
   house hairline must not paint over it. These keep their own left border and
   take the rest. */
.bl__o,.rl-watch__c{border-left-width:3px}
.bl__o--ok{border-left-color:var(--ok)}
.bl__o--warn{border-left-color:var(--warn)}
.bl__o--bad{border-left-color:var(--bad)}
.rl-watch__c--stop{border-left-color:var(--sell)}
.rl-watch__c--goal{border-left-color:var(--warn)}
.rl-watch__c--good{border-left-color:var(--buy)}

/* In light mode the bar was still painted from the dark panel token, so the app
   read as a white page under a navy strip. dolvero.com's own bar is white with
   one hairline and a blur; this is that bar. */
:root[data-theme="light"] .tnav{background:rgba(255,255,255,.88);
  border-bottom:1px solid rgba(20,45,110,.12)}
:root[data-theme="light"] .tnav .lnk{color:rgba(10,16,32,.66)}
:root[data-theme="light"] .tnav__mark{filter:none}
:root[data-theme="light"] .tnav__sub{color:var(--accent2)}

/* On a phone the bar carries a burger, a search icon and four controls; 20px of
   side padding pushed the avatar past the right edge. */
@media(max-width:600px){.tnav{padding:0 12px;gap:6px}
  .tnav .iconbtn{width:34px;height:34px}}

/* ---------------------------------------------------------------------------
   15. THE BAR'S HEIGHT IS A NUMBER OTHER THINGS READ
   --nav-h is not decoration: the terminal sizes its columns with
   calc(100svh - var(--nav-h)), and so do the evaluations rail and the metrics
   panes. Setting .tnav{height:68px} without it left the variable at 52 and the
   terminal a clean 16px taller than the window - a scrollbar on the one screen
   that must never scroll. The bar's height is declared ONCE, here, and the bar
   takes it from the variable.
   --------------------------------------------------------------------------- */
:root{--nav-h:68px}
.tnav{height:var(--nav-h)}

/* On a wide screen the same 68px bar reads as a thin strip: the app fills
   2000px while the type stays at a 1200px scale. The site's own header sits
   over a 1320px column, so past that width the bar grows with the screen
   rather than staying still. */
@media(min-width:1500px){
  :root{--nav-h:76px}
  .tnav{padding:0 26px;gap:12px}
  .tnav__mark{width:96px;height:22px}
  .tnav__word{font-size:14px}
  .tnav__pill{padding:5px}
  .tnav a.lnk{font-size:15px;padding:9px 17px}
  .tnav .iconbtn{width:42px;height:42px}
  .tnav .searchbtn{height:42px;font-size:14px;padding-inline:16px}
  .tnav .ui-av,.tnav .av{width:38px;height:38px}
}
@media(min-width:1900px){
  :root{--nav-h:82px}
  .tnav__mark{width:108px;height:25px}
  .tnav a.lnk{font-size:15.5px;padding:10px 19px}
}
@media(max-width:600px){:root{--nav-h:58px}}

/* .tnav a.lnk is how v2.css names these, and a bare .tnav .lnk loses to it. */
.tnav a.lnk{font-size:14px;font-weight:500;border-radius:var(--dv-pill);padding:8px 15px}

/* The base .tnav a.lnk above is written after the width queries, so it wins on
   a wide screen too. These repeat the two sizes AFTER it, where they belong. */
@media(min-width:1500px){.tnav a.lnk{font-size:15px;padding:9px 17px}}
@media(min-width:1900px){.tnav a.lnk{font-size:15.5px;padding:10px 19px}}

/* ---------------------------------------------------------------------------
   THE BAR MUST NOT WIDEN THE PAGE                                24 Sep 2026
   The pill group, the search field and the icons together need about 1,350 px,
   so every page scrolled sideways below 1,366 - and adding one nav item pushed
   that past 1,500. A navigation bar is the one element that must never decide
   how wide the document is.

   So the bar clips, the pill group scrolls inside itself when it runs out of
   room, and the search field gives up width before anything else does. Nothing
   is hidden and no link is lost: the group can be swiped or wheel-scrolled.
   --------------------------------------------------------------------------- */
/* 25. 9. 2026: overflow:hidden on the bar clipped every dropdown (avatar, bell,
   language) to the 68px bar, so the menus opened invisibly under the page. The
   pill below is what scrolls; the bar itself stays open so popovers can hang
   out of it. */
.tnav{overflow:visible}
.tnav__pill{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:none;-ms-overflow-style:none}
.tnav__pill::-webkit-scrollbar{width:0;height:0;display:none}
.tnav__pill>*{flex:none}
/* The search is the widest thing on the bar that is not a link, so it is the
   first to shrink. */
.navsearch{min-width:0;flex:0 1 auto}
@media (max-width:1560px){ .navsearch{max-width:190px} }
@media (max-width:1400px){ .navsearch{max-width:132px} }

/* Shared status pills — approved Referrals / Copy treatment.
   Semantic colours are independent of page backgrounds and theme. Keep this
   adapter list explicit: filter buttons, notices and chart labels are not badges. */
:where(.ui-chip,.po__st,.po__pill,.bl .chip,.ct .chip,.tierbadge,.svc-badge--soon,.mkt__soon,.cmp__rec,.feat__tag,.nx-chip,.nx-impact,.acctsel__st,.tp-acct__chip){--dv-status-top:#66768c;--dv-status-bottom:#475569;--dv-status-shadow:rgba(71,85,105,.23)}
:root body :is(.ui-chip,.po__st,.po__pill,.bl .chip,.ct .chip,.tierbadge,.svc-badge--soon,.mkt__soon,.cmp__rec,.feat__tag,.nx-chip,.nx-impact,.acctsel__st,.tp-acct__chip):where(:not([hidden])){
 display:inline-flex;align-items:center;justify-content:center;gap:5px;
 box-sizing:border-box;min-height:29px;padding:7px 13px;
 border:1px solid rgba(255,255,255,.24);border-radius:999px;
 background:linear-gradient(180deg,var(--dv-status-top),var(--dv-status-bottom));
 color:#fff;font-size:10px;font-weight:650;line-height:1.25;letter-spacing:.025em;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.19),0 6px 12px -4px var(--dv-status-shadow);
 text-shadow:0 1px 1px rgba(0,0,0,.08);white-space:nowrap;
}
:root body :where(.ui-chip--ok,.chip--ok,.po__st--completed,.po__st--paid,.po__pill--go,.feat__tag,.nx-chip.is-up,.tp-acct__chip.is-good){--dv-status-top:#087c55;--dv-status-bottom:#045c42;--dv-status-shadow:rgba(5,114,77,.25)}
:root body :where(.ui-chip--warn,.chip--warn,.po__st--pending,.po__st--processing,.po__pill:not(.po__pill--go):not(.po__pill--off),.svc-badge--soon,.mkt__soon,.tp-acct__chip.is-wait){--dv-status-top:#a96707;--dv-status-bottom:#805000;--dv-status-shadow:rgba(155,97,10,.24)}
:root body :where(.ui-chip--bad,.chip--bad,.po__st--failed,.po__st--cancelled,.po__st--rejected,.nx-chip.is-down,.nx-impact--breaking,.tp-acct__chip.is-bad){--dv-status-top:#ce354d;--dv-status-bottom:#a62038;--dv-status-shadow:rgba(184,37,61,.24)}
:root body :where(.ui-chip--info,.po__st--approved,.cmp__rec,.nx-impact:not(.nx-impact--breaking),.ct .chip:not(.chip--lk)){--dv-status-top:#4f7df0;--dv-status-bottom:#2554d4;--dv-status-shadow:rgba(37,84,212,.25)}
:root body :where([data-status-tier="bronze"]){--dv-status-top:#a3663b;--dv-status-bottom:#794621;--dv-status-shadow:rgba(136,82,42,.27)}
:root body :where([data-status-tier="silver"]){--dv-status-top:#66768c;--dv-status-bottom:#475569;--dv-status-shadow:rgba(71,85,105,.25)}
:root body :where([data-status-tier="gold"]){--dv-status-top:#987016;--dv-status-bottom:#74510b;--dv-status-shadow:rgba(145,104,17,.26)}
:root body :where([data-status-tier="platinum"],[data-status-tier="diamond"]){--dv-status-top:#4f7df0;--dv-status-bottom:#2554d4;--dv-status-shadow:rgba(37,84,212,.25)}

/* Keep table rows, feed density and embedded account pickers compact. */
:root body :is(.ui-table,table,.arow) .ui-chip,
:root body :is(.po__st,.bl .chip,.ct .chip,.nx-chip,.nx-impact,.svc-badge--soon,.mkt__soon,.tp-acct__chip){min-height:23px;padding:4px 9px;font-size:9px}
:root body.metrics-pro[data-view] .arow .ui-chip{min-height:23px;padding:4px 9px;font-size:9px}
:root body.news-pro .nx :is(.nx-chip,.nx-impact),
:root body.news-pro .nx-reader :is(.nx-chip,.nx-impact){
 background:linear-gradient(180deg,var(--dv-status-top),var(--dv-status-bottom));color:#fff;
 border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:4px 9px;font-size:9px;min-height:23px;
}
:root body.metrics-pro[data-view] .acctsel__st{
 background:linear-gradient(180deg,var(--dv-status-top),var(--dv-status-bottom))!important;
 color:#fff;border:1px solid rgba(255,255,255,.24);border-radius:999px;
 align-self:center;margin:4px 0 4px 6px;padding:6px 11px;min-height:27px;
}
:root body.metrics-pro[data-view] .acctsel__dot{display:none}
:root body .tierbadge :is(svg,span){color:inherit!important}
:root body .tiers .ui-chip--info{outline:2px solid var(--soft);outline-offset:3px}
:root body .tiers{gap:10px}
:root body.trade2-edge-host .tp-acct__chip[class]{
 background:linear-gradient(180deg,var(--dv-status-top),var(--dv-status-bottom));
 color:#fff;border:1px solid rgba(255,255,255,.24);
}
/* Trading terminal renders the visible status in a pseudo-element. Keep its
   separate screen-reader label hidden and preserve the no-account state. */
:root body.trade2-edge-host .trade2-workspace .trade2-cfd-metrics .trade2-cfd-metrics-data[data-tp-status]::after{
 --dv-status-top:#66768c;--dv-status-bottom:#475569;--dv-status-shadow:rgba(71,85,105,.23);
 display:inline-flex;align-items:center;justify-content:center;min-height:23px;
 padding:3px 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;
 background:linear-gradient(180deg,var(--dv-status-top),var(--dv-status-bottom));color:#fff;
 font-size:9px;line-height:1.25;box-sizing:border-box;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.19),0 6px 12px -4px var(--dv-status-shadow);
}
:root body.trade2-edge-host .trade2-workspace .trade2-cfd-metrics .trade2-cfd-metrics-data[data-tp-status][data-tp-tone="good"]::after{--dv-status-top:#087c55;--dv-status-bottom:#045c42;--dv-status-shadow:rgba(5,114,77,.25)}
:root body.trade2-edge-host .trade2-workspace .trade2-cfd-metrics .trade2-cfd-metrics-data[data-tp-status][data-tp-tone="bad"]::after{--dv-status-top:#ce354d;--dv-status-bottom:#a62038;--dv-status-shadow:rgba(184,37,61,.24)}
:root body.trade2-edge-host .trade2-workspace .trade2-cfd-metrics .trade2-cfd-metrics-data[data-tp-status][data-tp-tone="wait"]::after{--dv-status-top:#a96707;--dv-status-bottom:#805000;--dv-status-shadow:rgba(155,97,10,.24)}

:root body.trade2-edge-host.tp-no-account .trade2-cfd-metrics .trade2-cfd-metrics-data[data-tp-status]::after{display:none}
@media(max-width:520px){
 :root body :is(.ui-chip,.po__pill,.tierbadge):not([hidden]){font-size:9px;padding:6px 10px;min-height:27px}
 :root body :is(.ui-table,table,.arow) .ui-chip{min-height:23px;padding:4px 9px}
}
@media print{
 :root body :is(.ui-chip,.po__st,.po__pill,.bl .chip,.ct .chip,.tierbadge,.svc-badge--soon,.mkt__soon,.cmp__rec,.feat__tag,.nx-chip,.nx-impact,.acctsel__st,.tp-acct__chip){
  background:transparent!important;color:#111!important;box-shadow:none!important;text-shadow:none;border-color:#999;
 }
}

/* Language + currency pickers in the bar (25. 9. 2026), the public site's two pickers in Edge chrome */
.navpicks{display:flex;align-items:center;gap:6px;flex:none;margin-inline-start:auto}
.pickbtn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 11px;border-radius:999px;border:1px solid var(--bg-glass-line,var(--line));
  background:var(--bg-glass,rgba(255,255,255,.06));color:var(--text);font:600 12px/1 inherit;font-family:inherit;letter-spacing:.02em;cursor:pointer;
  transition:border-color .15s,background .15s,color .15s;white-space:nowrap}
.pickbtn:hover,.pickbtn[aria-expanded="true"]{background:var(--bg-glass-hi,rgba(255,255,255,.16));border-color:var(--dv-blue,#94b5ff)}
:root[data-theme="light"] .pickbtn{background:#fff}
:root[data-theme="light"] .pickbtn:hover,:root[data-theme="light"] .pickbtn[aria-expanded="true"]{background:#fff;color:var(--dv-blue,#2356da)}
.pickbtn .fl,.navpop__a .fl{width:18px;height:13px;border-radius:2px;display:block;flex:none;box-shadow:0 0 0 1px rgba(255,255,255,.22) inset}
:root[data-theme="light"] .pickbtn .fl,:root[data-theme="light"] .navpop__a .fl{box-shadow:0 0 0 1px rgba(15,23,42,.14) inset}
.pickbtn .cv{width:9px;height:9px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.55;transition:transform .2s}
.pickbtn[aria-expanded="true"] .cv{transform:rotate(180deg)}
.navpop--pick{min-width:212px}
.navpop--pick .navpop__a{gap:10px}
.navpop--pick .navpop__a.is-on{color:var(--dv-blue,#94b5ff)}
.navpop__code{margin-inline-start:auto;font-family:var(--font-mono,ui-monospace,monospace);font-size:11px;opacity:.7}
@media (max-width:1050px){.pickbtn{height:34px;padding:0 9px;font-size:11px}}
@media (max-width:560px){.navpicks{gap:4px}.pickbtn{padding:0 8px}.pickbtn .cv{display:none}}

.navpop--pick .navpop__a{display:flex;align-items:center;gap:10px;min-height:40px}
@media (max-width:420px){.navpicks{gap:3px}.pickbtn{padding:0 7px;gap:0}.pickbtn>span:not(#curCode){display:none}.pickbtn .fl{margin:0}}

/* Perks drop-down in the section pill (26 Sep 2026) */
.tnav .navperks{display:flex;align-items:center}
.tnav button.lnk{background:none;border:0;color:inherit;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;border-radius:var(--dv-pill);padding:8px 15px}
.tnav button.lnk .cv{width:10px;height:10px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.6;transition:transform .2s}
.tnav button.lnk[aria-expanded="true"] .cv{transform:rotate(180deg)}
.tnav button.lnk[aria-expanded="true"]{color:var(--text)}
@media(min-width:1500px){.tnav button.lnk{font-size:15px;padding:9px 17px}}
@media(min-width:1900px){.tnav button.lnk{font-size:15.5px;padding:10px 19px}}
.navpop--perks{min-width:300px;padding:6px}
.navpop--perks .navpop__a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px}
.navpop--perks .navpop__a:hover{background:rgba(79,125,240,.12)}
.navpop__ic{flex:none;width:34px;height:34px;border-radius:10px;background:var(--dv-grad);color:#fff;display:grid;place-items:center;box-shadow:0 10px 20px -12px rgba(37,84,212,.9)}
.navpop__ic svg{width:18px;height:18px}
.navpop__tx b{display:block;font-size:13.5px;font-weight:600}
.navpop__tx small{display:block;font-size:11.5px;color:var(--muted);margin-top:1px}
.navpop--perks .navpop__a.is-on .navpop__tx b{color:var(--accent)}

/* compact pill (26 Sep 2026): with ten sections the well overflowed at 1366px; below 1500px the links
   tighten and the NEW tags fold away so every section, Perks included, stays on the bar. */
@media(max-width:1700px){
  .tnav .lnk,.tnav a.lnk,.tnav button.lnk{padding:8px 10px;font-size:13.5px}
  .tnav .lnk .tag{display:none}
  .tnav button.lnk{gap:4px}
}
@media(max-width:1400px){.tnav .lnk,.tnav a.lnk,.tnav button.lnk{padding:8px 9px}}
@media(max-width:1300px){.tnav .lnk,.tnav a.lnk,.tnav button.lnk{padding:8px 6px;font-size:13px}}

/* the Perks pop-over escapes the scrolling pill: fixed, placed by the script in _nav.php */
@media(min-width:1121px){.tnav .navpop--perks{position:fixed;top:var(--pp-top,60px);left:var(--pp-left,0);right:auto}}

/* ---- Active account switcher + Trade menu (30 Sep 2026) ---- */
.pickbtn--acct{gap:8px;padding:0 11px 0 10px;max-width:260px}
.pickbtn--acct .mono{font-family:var(--font-mono,ui-monospace,monospace);font-size:11.5px;letter-spacing:.02em;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pickbtn__tag{font-family:var(--font-mono,ui-monospace,monospace);font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;padding:3px 6px;border-radius:4px;border:1px solid var(--bg-glass-line,var(--line));opacity:.85;flex:none}
.acdot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.28);flex:none;display:inline-block;vertical-align:middle}
.acdot--ok{background:#2fd48b;box-shadow:0 0 0 3px rgba(47,212,139,.18)}
.acdot--info{background:var(--dv-blue,#4f7df0);box-shadow:0 0 0 3px rgba(79,125,240,.18)}
:root[data-theme="light"] .acdot{background:rgba(15,23,42,.22)}
:root[data-theme="light"] .acdot--ok{background:#15a866}
.navpop--acct{min-width:330px;max-width:380px;padding:6px}
.navpop--acct .navpop__a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px}
.navpop--acct .navpop__a:hover{background:rgba(79,125,240,.10)}
.navpop--acct .navpop__a.is-on{background:rgba(79,125,240,.12)}
.navpop--acct .navpop__tx{display:flex;flex-direction:column;min-width:0;flex:1}
.navpop--acct .navpop__tx b{font-family:var(--font-mono,ui-monospace,monospace);font-size:12px;letter-spacing:.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navpop--acct .navpop__tx small{color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.navpop--acct .navpop__code{margin-inline-start:auto;flex:none}
.navpop__g{padding:10px 10px 4px;font:600 10.5px/1 var(--font-mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.navacct__chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 6px 8px}
.navacct__chip{padding:6px 11px;border-radius:999px;border:1px solid var(--bg-glass-line,var(--line));font-size:12px;font-weight:600;text-decoration:none;color:var(--text);transition:border-color .15s,color .15s}
.navacct__chip:hover{border-color:var(--dv-blue,#94b5ff)}
.navacct__chip.is-on{border-color:var(--dv-blue,#4f7df0);color:var(--dv-blue,#94b5ff)}
:root[data-theme="light"] .navacct__chip.is-on{color:var(--dv-blue,#2356da)}
.navpop__a--new{color:var(--dv-blue,#94b5ff);font-weight:600;justify-content:center;margin-top:4px;border-top:1px solid var(--bg-glass-line,var(--line));border-radius:0 0 10px 10px}
:root[data-theme="light"] .navpop__a--new{color:var(--dv-blue,#2356da)}
.navpop--trade{min-width:290px}
.navpop--trade .navpop__ic{width:28px;height:28px;display:grid;place-items:center}
.navpop--sections .navpop__a--acct small,.navpop__a--acct small{margin-inline-start:6px;color:var(--muted);font-size:11px}
/* the account select on Metrics is replaced by the bar's control */
html.has-navacct .acctsel{display:none}
@media (max-width:1050px){.pickbtn--acct .pickbtn__tag{display:none}.pickbtn--acct{max-width:190px}}
@media (max-width:760px){.navacct{display:none}}
/* 14 Oct 2026: on phones the Perks button sat underneath the language and currency pickers (same spot, lower
   z-order), so a tap there opened the picker instead. Perks live in the sections menu on these widths anyway. */
@media (max-width:560px){.tnav button.lnk.lnk--menu{display:none}}

/* === BURGER ACCOUNTS (1 Nov 2026): BEGIN ===
   The sections (burger) menu is the only account switcher on phones. Active
   account first, the rest folded under "Switch account", grouped by product.
   Also: no monospace anywhere in the nav (logins and balances use Inter with
   tabular figures). Revert: delete this block and bump V2_DV_VER. */
.navsec .navpop__a--acct{display:flex;align-items:center;gap:10px;padding:8px 13px;min-height:52px}
.navsec .navpop__a--acct .acdot{flex:none;margin:0}
.navsec .navpop__a--acct .navpop__tx{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.navsec .navpop__a--acct .navpop__tx b{font-family:inherit;font-size:13.5px;font-weight:600;letter-spacing:0;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.navsec .navpop__a--acct .navpop__tx small{margin:0;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.navsec .navpop__a--acct .navpop__code{margin-inline-start:auto;flex:none;font-family:inherit;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text);opacity:.75}
.navsec .navsec__cur{background:rgba(79,125,240,.12);font-weight:400}
.navsec__more{margin:0}
.navsec__more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:8px 13px;min-height:44px;font-size:13px;font-weight:600;color:var(--accent);user-select:none}
.navsec__more>summary::-webkit-details-marker{display:none}
.navsec__more>summary::marker{content:""}
.navsec__n{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:rgba(79,125,240,.14);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--accent)}
.navsec__more>summary .cv{width:14px;height:14px;margin-inline-start:auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.navsec__more[open]>summary .cv{transform:rotate(180deg)}
.navsec__more[open]>summary{border-bottom:1px solid var(--line)}
.navsec__more .navpop__g{padding:12px 13px 4px}
.navsec__more .navpop__a--new{justify-content:flex-start;margin-top:2px;border-radius:0}
.tnav .navpop__g{font-family:inherit;letter-spacing:.08em}
.tnav .navpop__code,.tnav .mono,.navpop--acct .navpop__tx b{font-family:inherit;font-variant-numeric:tabular-nums;letter-spacing:0}
/* === BURGER ACCOUNTS: END === */

/* 5 Nov 2026: eleven links in the bar; in Czech the labels no longer fit at laptop widths, so the pills tighten before the opt breakpoint hides them. */
@media (max-width:1700px){.tnav .lnk{padding:8px 11px;font-size:13.5px}.tnav{gap:8px}}
/* Czech/German/Spanish labels overflow the pill below ~1600px (789px of links in a 677px pill at 1512px): the NEW badges go first, they are decoration. */
@media (max-width:1600px){.tnav .lnk .tag{display:none}}
@media (max-width:1600px){.tnav .lnk{padding:8px 8px;font-size:13px}.tnav__pill{gap:1px}}
@media (max-width:1600px){:root .tnav .tnav__pill a.lnk,:root .tnav .tnav__pill .lnk--menu{padding:8px 6px;font-size:13px}:root .tnav .tnav__pill{padding:3px;gap:0}}
