/* Luwei pelo Mundo | NEXUS v9. Authentic TREK dashboard, visual-only. */
html.luwei-nexus{
--lm-aurora:linear-gradient(120deg,#7e49f5,#cc45c1 53%,#ff9159);
--lm-glass-blur:blur(22px) saturate(155%);
}
html.luwei-nexus.dark{
--lm-page:#090d1b;--lm-glass:rgba(23,25,43,.76);--lm-surface:rgba(25,29,50,.92);
--lm-border:rgba(190,164,253,.23);--lm-text:#f6f2ff;--lm-muted:#b5adc9;
--lm-shadow:0 18px 62px rgba(2,4,16,.34),inset 0 1px 0 rgba(255,255,255,.08);
--lm-ambient:radial-gradient(ellipse 75% 60% at 5% 0%,rgba(124,61,205,.20),transparent 76%),radial-gradient(ellipse 52% 60% at 95% 5%,rgba(64,114,213,.18),transparent 74%);
}
html.luwei-nexus:not(.dark){
--lm-page:#f8f6ff;--lm-glass:rgba(255,255,255,.72);--lm-surface:rgba(255,255,255,.93);
--lm-border:rgba(95,58,156,.16);--lm-text:#2c1b47;--lm-muted:#655976;
--lm-shadow:0 16px 46px rgba(86,49,135,.12),inset 0 1px 0 rgba(255,255,255,.92);
--lm-ambient:radial-gradient(ellipse 72% 68% at 6% 0%,rgba(194,171,247,.35),transparent 80%),radial-gradient(ellipse 52% 52% at 93% 7%,rgba(255,184,210,.34),transparent 80%);
}
html.luwei-nexus .trek-dash{
--bg:var(--lm-page);--bg-2:var(--lm-surface);--surface:var(--lm-surface);
--surface-2:var(--lm-glass);--ink:var(--lm-text);--ink-2:var(--lm-muted);
--ink-3:var(--lm-muted);--line:var(--lm-border);--line-2:var(--lm-border);
--glass-border:var(--lm-border);--glass-shadow:var(--lm-shadow);
--glass-blur:var(--lm-glass-blur);
background:var(--lm-ambient),var(--lm-page)!important;color:var(--lm-text);
}
html.luwei-nexus .trek-dash-scroll{background:transparent!important;}
html.luwei-nexus .trek-dash .page{
max-width:1800px;grid-template-columns:minmax(0,1fr) minmax(290px,340px);
gap:clamp(19px,2.5vw,32px);padding:26px clamp(22px,3vw,48px) 92px;
}
html.luwei-nexus .trek-dash .page-main{min-width:0;}
html.luwei-nexus .trek-dash .atlas{gap:14px;margin-bottom:31px;}
html.luwei-nexus .trek-dash .page-sidebar{gap:17px;top:20px;}
/* Real branded opening, not placeholder content or fake counters. */
html.luwei-nexus .trek-dash .luwei-journey-hero{
position:relative;isolation:isolate;overflow:hidden;
display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:25px;
min-height:238px;margin:0 0 20px;padding:clamp(26px,3.4vw,42px) clamp(25px,3.5vw,47px);
border-radius:24px!important;border:1px solid rgba(230,196,255,.38)!important;
background:radial-gradient(ellipse 72% 120% at 3% 100%,rgba(226,55,181,.47),transparent 74%),
radial-gradient(ellipse 70% 110% at 92% 5%,rgba(145,99,254,.54),transparent 75%),
radial-gradient(ellipse 58% 110% at 70% 100%,rgba(250,125,94,.26),transparent 78%),
linear-gradient(125deg,#22163c 5%,#2b2051 54%,#1b2852)!important;
box-shadow:0 24px 70px rgba(24,17,70,.3),inset 0 1px 0 rgba(255,255,255,.18)!important;
color:#fff!important;backdrop-filter:none!important;transform:none!important;
}
html.luwei-nexus .trek-dash .luwei-journey-hero:after{
content:"";position:absolute;z-index:0;pointer-events:none;right:-62px;top:-190px;
width:420px;height:420px;border:1px solid rgba(255,255,255,.18);border-radius:50%;
box-shadow:0 0 0 65px rgba(255,255,255,.027),0 0 0 120px rgba(255,255,255,.018);
}
html.luwei-nexus .trek-dash .luwei-journey-copy{position:relative;z-index:1;min-width:0;}
html.luwei-nexus .trek-dash .luwei-journey-eyebrow{
display:flex;align-items:center;gap:9px;color:#e9d8ff;margin:0 0 15px;
font-size:10px;letter-spacing:.20em;font-weight:750;text-transform:uppercase;
}
html.luwei-nexus .trek-dash .luwei-journey-eyebrow:before{
content:"";width:23px;height:3px;border-radius:9px;background:#ffa56d;
box-shadow:0 0 16px rgba(255,165,109,.6);
}
html.luwei-nexus .trek-dash .luwei-journey-title{
margin:0 0 12px;color:#fff!important;font-size:clamp(28px,3.2vw,47px);
font-weight:750;letter-spacing:-.052em;line-height:1.09;text-wrap:balance;
}
html.luwei-nexus .trek-dash .luwei-journey-title em{color:#ffdaed;font-style:normal;}
html.luwei-nexus .trek-dash .luwei-journey-subtitle{
color:#eadff5;max-width:570px;line-height:1.68;font-size:13px;margin:0;
}
html.luwei-nexus .trek-dash .luwei-journey-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px;}
html.luwei-nexus .trek-dash .luwei-journey-actions :is(a,button){
display:inline-flex;align-items:center;justify-content:center;gap:8px;
min-height:40px;padding:0 17px!important;border-radius:12px!important;
font-size:12px;font-weight:700;text-decoration:none!important;cursor:pointer;
transition:filter .16s,transform .16s;
}
html.luwei-nexus .trek-dash .luwei-journey-actions :is(a,button):hover{filter:brightness(1.08);transform:translateY(-1px);}
html.luwei-nexus .trek-dash .luwei-journey-explore{
background:linear-gradient(118deg,#fff,#f5d9ff)!important;color:#2d1a45!important;
border:1px solid rgba(255,255,255,.65)!important;
}
html.luwei-nexus .trek-dash .luwei-journey-new{
background:rgba(255,255,255,.11)!important;color:#fff!important;
border:1px solid rgba(255,255,255,.34)!important;
}
html.luwei-nexus .trek-dash .luwei-journey-symbol{
position:relative;z-index:1;width:132px;height:132px;display:grid;place-items:center;
border-radius:34px;border:1px solid rgba(255,255,255,.22);
background:rgba(255,255,255,.09);transform:rotate(-7deg);
box-shadow:0 20px 60px rgba(10,5,40,.19);backdrop-filter:blur(12px);
}
html.luwei-nexus .trek-dash .luwei-journey-symbol img{
width:77%;height:77%;object-fit:contain;
filter:drop-shadow(0 11px 16px rgba(21,2,43,.2));
}
/* KPI / premium glass: preserve all genuine values and native behaviours. */
html.luwei-nexus .trek-dash :is(.atlas-card,.tool,.trip-card,.add-trip-card,.pass-card){
border:1px solid var(--lm-border)!important;border-radius:20px!important;
background:linear-gradient(158deg,rgba(255,255,255,.065),transparent 52%),var(--lm-glass)!important;
box-shadow:var(--lm-shadow)!important;
backdrop-filter:var(--lm-glass-blur)!important;-webkit-backdrop-filter:var(--lm-glass-blur)!important;
transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
html.luwei-nexus .trek-dash .atlas-card{padding:21px 23px;min-height:158px;}
html.luwei-nexus .trek-dash .atlas-card:before{
content:"";pointer-events:none;position:absolute;top:0;left:0;width:55%;height:2px;z-index:2;
background:linear-gradient(90deg,rgba(159,103,255,.85),rgba(245,122,191,.4),transparent);
}
html.luwei-nexus .trek-dash .atlas-card.passport{
background:radial-gradient(ellipse 110% 125% at 94% 0%,rgba(241,108,181,.42),transparent 67%),
radial-gradient(ellipse 120% 105% at 2% 100%,rgba(139,76,241,.55),transparent 70%),
linear-gradient(128deg,#312060,#4b2d80 60%,#263773)!important;
border-color:rgba(230,185,255,.38)!important;
box-shadow:0 22px 50px rgba(29,15,81,.32),inset 0 1px 0 rgba(255,255,255,.15)!important;
color:#fff!important;
}
html.luwei-nexus .trek-dash .atlas-card.passport :is(.label,.delta){color:#e8dcff!important;}
html.luwei-nexus .trek-dash .atlas-card.passport .value{color:#fff!important;font-size:clamp(37px,3vw,49px);}
html.luwei-nexus .trek-dash .atlas-card :is(.label,.delta){color:var(--lm-muted);}
html.luwei-nexus .trek-dash .atlas-card .label{font-size:10px;font-weight:750;letter-spacing:.15em;}
html.luwei-nexus .trek-dash .atlas-card .value{font-size:clamp(31px,2.8vw,41px);font-weight:750;color:var(--lm-text);margin-top:16px;}
html.luwei-nexus .trek-dash .atlas-card .value .unit{font-size:14px;color:var(--lm-muted);}
html.luwei-nexus .trek-dash .atlas-card.passport .value .unit{color:#ece1fc;}
html.luwei-nexus .trek-dash .atlas-card .delta{font-size:11px;}
html.luwei-nexus .trek-dash :is(.atlas-card,.tool):is(:hover,:focus-within){
transform:translateY(-3px);border-color:rgba(196,145,250,.46)!important;
box-shadow:var(--lm-shadow),0 0 32px rgba(154,85,210,.15)!important;
}
html.luwei-nexus .trek-dash .sec-head{margin:4px 0 16px;gap:16px;}
html.luwei-nexus .trek-dash .sec-title{font-weight:750;font-size:clamp(22px,2vw,28px);letter-spacing:-.04em;}
html.luwei-nexus .trek-dash .sec-tools{gap:7px;}
html.luwei-nexus .trek-dash .seg{
background:var(--lm-glass)!important;border:1px solid var(--lm-border)!important;
border-radius:13px;padding:3px;
}
html.luwei-nexus .trek-dash .seg button.on{
color:var(--lm-text)!important;background:linear-gradient(120deg,rgba(139,76,231,.25),rgba(232,104,177,.14))!important;
border-radius:10px!important;
}
html.luwei-nexus .trek-dash .dash-search{
border:1px solid var(--lm-border)!important;background:var(--lm-glass)!important;border-radius:13px;
}
html.luwei-nexus .trek-dash .page-sidebar .tool{padding:20px 22px;}
html.luwei-nexus .trek-dash .page-sidebar .tool:first-child{
background:radial-gradient(ellipse at 94% 8%,rgba(127,75,205,.17),transparent 73%),var(--lm-glass)!important;
}
html.luwei-nexus .trek-dash .tool-title{
color:var(--lm-muted);font-weight:750;font-size:10.5px;letter-spacing:.14em;
}
html.luwei-nexus .trek-dash :is(.fx-field,.tz-dot){
background:var(--lm-surface)!important;border:1px solid var(--lm-border)!important;
}
html.luwei-nexus .trek-dash :is(.fx-field .amt,.tz-time){color:var(--lm-text);font-weight:750;}
/* Empty means empty, not an outage. Keep TREK's existing title and action. */
html.luwei-nexus .trek-dash .trips-empty{
display:flex;align-items:center;justify-content:center;min-height:180px;
margin:0 0 15px;padding:20px;border:1px solid var(--lm-border);
border-radius:20px;background:var(--lm-glass);
backdrop-filter:var(--lm-glass-blur);box-shadow:var(--lm-shadow);
}
html.luwei-nexus .trek-dash .trips-empty h4{color:var(--lm-text);}
html.luwei-nexus .trek-dash .trips-empty p{color:var(--lm-muted);}
html.luwei-nexus .trek-dash .trips{gap:16px;margin-bottom:28px;}
html.luwei-nexus .trek-dash .add-trip-card{
min-height:190px;border:1.5px dashed rgba(184,135,244,.43)!important;
background:radial-gradient(ellipse 90% 100% at 0% 100%,rgba(163,74,222,.12),transparent 80%),var(--lm-glass)!important;
}
html.luwei-nexus .trek-dash :is(.add-trip-card .circ,.fab-new-trip){
color:#fff!important;background:var(--lm-aurora)!important;
box-shadow:0 13px 36px rgba(139,56,183,.28)!important;
}
html.luwei-nexus .trek-dash .add-trip-card .ttl{color:var(--lm-text);font-weight:750;}
html.luwei-nexus .trek-nav-pill{
background:var(--lm-surface)!important;border:1px solid var(--lm-border)!important;
backdrop-filter:var(--lm-glass-blur)!important;box-shadow:var(--lm-shadow)!important;
}
html.luwei-nexus[data-no-transparency] .trek-dash :is(.atlas-card,.tool,.add-trip-card,.trips-empty){
background:var(--lm-surface)!important;backdrop-filter:none!important;
}
@media(max-width:1280px){
html.luwei-nexus .trek-dash .page{grid-template-columns:1fr;padding-inline:clamp(18px,3vw,38px);gap:20px;}
html.luwei-nexus .trek-dash .page-sidebar{position:static;flex-flow:row wrap;}
html.luwei-nexus .trek-dash .page-sidebar .tool{flex:1 1 280px;}
html.luwei-nexus .trek-dash .atlas{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:740px){
html.luwei-nexus .trek-dash .page{padding:14px 15px 100px;}
html.luwei-nexus .trek-dash .luwei-journey-hero{
grid-template-columns:1fr;min-height:unset;padding:27px 23px;border-radius:21px!important;
}
html.luwei-nexus .trek-dash .luwei-journey-symbol{display:none;}
html.luwei-nexus .trek-dash .luwei-journey-title{font-size:32px;}
html.luwei-nexus .trek-dash .luwei-journey-actions :is(a,button){flex:1 1 125px;}
html.luwei-nexus .trek-dash .atlas{gap:10px;margin-bottom:24px;}
html.luwei-nexus .trek-dash .atlas-card{padding:17px;min-height:125px;}
html.luwei-nexus .trek-dash .sec-head{flex-wrap:wrap;}
html.luwei-nexus .trek-dash .sec-tools{width:100%;flex-wrap:wrap;}
html.luwei-nexus .trek-dash .dash-search{flex:1 1 120px;width:auto;}
html.luwei-nexus .trek-dash .page-sidebar{flex-direction:column;}
html.luwei-nexus .trek-dash .page-sidebar .tool{flex:none;}
}
@media(prefers-reduced-motion:reduce){
html.luwei-nexus .trek-dash :is(.atlas-card,.tool,.add-trip-card,.luwei-journey-actions a,.luwei-journey-actions button){transition:none!important;transform:none!important;}
}
