/* XTime Digital — Etapa 44 / v0.2
 * Aplicado APÓS public/assets/app.css para preservar estrutura, gráficos e formulários.
 * Cores são cosméticas: valores, status e permissões são mantidos pelo Laravel.
 */
:root{
  --xt-blue:#137dff;--xt-royal:#0754d5;--xt-cyan:#00d9f5;--xt-silver:#cfdaea;
  --xt-radius:17px;--xt-duration:180ms;
}
html[data-xtime-theme="dark"]{
  color-scheme:dark;
  --xt-bg:#060c17;--xt-surface:#101b2c;--xt-surface-2:#15243a;
  --xt-surface-soft:rgba(13,27,45,.94);--xt-border:rgba(145,190,241,.15);
  --xt-text:#eaf3ff;--xt-muted:#a6b9d1;--xt-input:#0b1626;
  --xt-hover:rgba(19,125,255,.14);--xt-shadow:0 18px 44px rgba(0,3,12,.27);
  --xt-faint:rgba(154,199,255,.09);--xt-hero:#091629;
  --bg:var(--xt-bg);--panel:var(--xt-surface);--panel2:var(--xt-surface-2);
  --line:var(--xt-border);--text:var(--xt-text);--muted:var(--xt-muted);
  --gold:#38b8ff;--gold2:#8eeaff;
}
html[data-xtime-theme="light"]{
  color-scheme:light;
  --xt-bg:#f1f6fb;--xt-surface:#fff;--xt-surface-2:#eaf3fd;
  --xt-surface-soft:rgba(255,255,255,.96);--xt-border:rgba(43,87,135,.17);
  --xt-text:#142d4b;--xt-muted:#526b89;--xt-input:#f9fbff;
  --xt-hover:rgba(17,109,221,.10);--xt-shadow:0 16px 42px rgba(27,62,104,.08);
  --xt-faint:rgba(33,108,212,.09);--xt-hero:#e9f3ff;
  --bg:var(--xt-bg);--panel:var(--xt-surface);--panel2:var(--xt-surface-2);
  --line:var(--xt-border);--text:var(--xt-text);--muted:var(--xt-muted);
  --gold:#006ab9;--gold2:#007db8;
}
html{background:var(--xt-bg)}
body.xtime-ui{
  min-height:100vh;background:var(--xt-bg)!important;color:var(--xt-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  transition:background-color var(--xt-duration),color var(--xt-duration);
}
body.xtime-ui::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse 48% 40% at 97% 3%,rgba(0,175,249,.10),transparent 75%),
             radial-gradient(ellipse 38% 32% at 0 90%,rgba(13,101,255,.08),transparent 78%);
}
body.xtime-ui > .shell, body.xtime-ui > .flash, body.xtime-ui > .impersonation-banner{position:relative;z-index:1}
body.xtime-ui .ambient-a{background:#1479d8}body.xtime-ui .ambient-b{background:#00bed9}
body.xtime-ui h1,body.xtime-ui h2,body.xtime-ui h3{letter-spacing:-.025em}
body.xtime-ui .eyebrow,body.xtime-ui .side-group-title,body.xtime-ui .ginko-auth-overline,
body.xtime-ui .ginko-auth-kicker,body.xtime-ui .ginko-gateway-kicker{color:var(--xt-cyan)!important;letter-spacing:.13em}
html[data-xtime-theme="light"] body.xtime-ui .eyebrow,
html[data-xtime-theme="light"] body.xtime-ui .side-group-title,
html[data-xtime-theme="light"] body.xtime-ui .ginko-auth-overline,
html[data-xtime-theme="light"] body.xtime-ui .ginko-auth-kicker,
html[data-xtime-theme="light"] body.xtime-ui .ginko-gateway-kicker{color:#006bb4!important}
body.xtime-ui a{transition:color var(--xt-duration),border-color var(--xt-duration)}
body.xtime-ui a:hover{color:var(--xt-cyan)}
body.xtime-ui a:focus-visible,body.xtime-ui button:focus-visible,
body.xtime-ui input:focus-visible,body.xtime-ui select:focus-visible,
body.xtime-ui textarea:focus-visible{outline:2px solid var(--xt-cyan);outline-offset:3px}
/* Logo original convertida em PNG RGBA para fundos claros e escuros. */
body.xtime-ui .xtime-brand,body.xtime-ui .xtime-public-brand{display:inline-flex;align-items:center;min-width:0}
body.xtime-ui .xtime-logo{display:block;width:100%;height:auto;object-fit:contain}
body.xtime-ui .xtime-logo--header{width:148px;max-width:34vw;max-height:65px}
body.xtime-ui .xtime-logo--auth{width:min(100%,340px);height:auto}
body.xtime-ui .xtime-logo--auth-mobile{width:185px;max-width:100%}
body.xtime-ui .xtime-logo--hero{width:min(100%,530px);max-width:100%}
html[data-xtime-theme="light"] body.xtime-ui .xtime-logo{box-shadow:none}
/* Controle único: website, autenticação, investidor e administração. */
body.xtime-ui .xtime-theme-toggle{
  display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;
  width:42px;height:42px;padding:0;border:1px solid var(--xt-border);
  border-radius:12px;background:var(--xt-surface-2);color:var(--xt-text);cursor:pointer;
  font-size:21px;line-height:1;transition:border-color var(--xt-duration),transform var(--xt-duration)
}
body.xtime-ui .xtime-theme-toggle:hover{border-color:var(--xt-blue);transform:translateY(-1px);color:var(--xt-cyan)}
body.xtime-ui .xtime-auth-theme,body.xtime-ui .xtime-public-theme{position:fixed;top:19px;right:23px;z-index:90}
/* Barras e navegação: mantém menus, permissões e URLs existentes. */
body.xtime-ui .topbar{background:var(--xt-surface-soft)!important;border-bottom:1px solid var(--xt-border)!important;backdrop-filter:blur(18px);color:var(--xt-text)}
body.xtime-ui .topbar .topnav{display:flex;align-items:center;gap:12px}
body.xtime-ui .topbar .topnav>a,body.xtime-ui .topbar .topnav>.link-btn{color:var(--xt-text)}
body.xtime-ui .ginko-topbar-context{color:var(--xt-muted);font-size:12px}
body.xtime-ui .sidebar,body.xtime-ui aside.sidebar{background:var(--xt-surface)!important;color:var(--xt-text);border-right:1px solid var(--xt-border)!important}
body.xtime-ui .sidebar .side-caption{color:var(--xt-cyan)!important}
body.xtime-ui .sidebar .side-group-title{color:var(--xt-muted)!important}
body.xtime-ui .sidebar .side-link{color:var(--xt-muted);border-radius:10px;transition:background var(--xt-duration),color var(--xt-duration)}
body.xtime-ui .sidebar .side-link:hover{background:var(--xt-hover);color:var(--xt-text)}
body.xtime-ui .sidebar .side-link.active,
body.xtime-ui .sidebar .invest-side-link{border:1px solid rgba(27,150,235,.22);color:#38b8ff!important;background:var(--xt-hover)}
html[data-xtime-theme="light"] body.xtime-ui .sidebar .side-link.active,
html[data-xtime-theme="light"] body.xtime-ui .sidebar .invest-side-link{color:#0069ae!important}
body.xtime-ui .ginko-side-icon,body.xtime-ui .ginko-drawer-avatar,body.xtime-ui .ginko-user-avatar{color:var(--xt-cyan);border-color:var(--xt-border);background:var(--xt-faint)}
body.xtime-ui .ginko-drawer-profile{border-color:var(--xt-border);background:var(--xt-surface-2)}
body.xtime-ui .ginko-drawer-profile strong,body.xtime-ui .ginko-user-chip strong{color:var(--xt-text)}
body.xtime-ui .ginko-drawer-profile small,body.xtime-ui .ginko-user-chip small{color:var(--xt-muted)}
body.xtime-ui .ginko-drawer-logout button{color:var(--xt-muted)}
body.xtime-ui .ginko-mobile-nav{background:var(--xt-surface-soft)!important;border-color:var(--xt-border)!important}
body.xtime-ui .ginko-mobile-nav a{color:var(--xt-muted)!important}
body.xtime-ui .ginko-mobile-nav a.active{background:var(--xt-hover)!important;color:var(--xt-cyan)!important}
html[data-xtime-theme="light"] body.xtime-ui .ginko-mobile-nav a.active{color:#006ab9!important}
body.xtime-ui .notification-popover,body.xtime-ui .message-modal-card{background:var(--xt-surface)!important;border-color:var(--xt-border)!important;color:var(--xt-text)}
body.xtime-ui .notification-popover-item{background:var(--xt-surface);color:var(--xt-text)}
body.xtime-ui .notification-popover-item:hover{background:var(--xt-hover)}
/* Contêineres comuns em todas as telas do painel administrativo e backoffice. */
body.xtime-ui .panel,body.xtime-ui .kpi,body.xtime-ui .stat-card,body.xtime-ui .dashboard-card,
body.xtime-ui .card,body.xtime-ui .widget,body.xtime-ui .content-card{
  background:var(--xt-surface)!important;border:1px solid var(--xt-border)!important;
  border-radius:var(--xt-radius)!important;color:var(--xt-text);box-shadow:var(--xt-shadow)
}
body.xtime-ui .panel-title h2,body.xtime-ui .admin-page-head h1{color:var(--xt-text)}
body.xtime-ui .panel p,body.xtime-ui .page-head p,body.xtime-ui .panel-title span{color:var(--xt-muted)}
body.xtime-ui .btn,body.xtime-ui a.btn,body.xtime-ui button.btn,
body.xtime-ui .ginko-auth-primary,body.xtime-ui .ginko-gateway-btn-primary{
  border-radius:11px;border:1px solid rgba(0,191,241,.35);
  background:linear-gradient(118deg,#0649c9,#117bfa 66%,#008cbf)!important;
  color:#fff!important;box-shadow:0 9px 24px rgba(1,93,204,.16);
  transition:transform var(--xt-duration),box-shadow var(--xt-duration)
}
body.xtime-ui .btn:hover,body.xtime-ui .ginko-auth-primary:hover,
body.xtime-ui .ginko-gateway-btn-primary:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(2,101,210,.23)}
/* Ações destrutivas continuam com sinalização vermelha. */
body.xtime-ui .btn.danger,body.xtime-ui button.btn.danger,body.xtime-ui a.btn.danger{
  background:linear-gradient(130deg,#ae2f40,#d94457)!important;
  border-color:#db6571!important;color:#fff!important
}
body.xtime-ui .btn.ghost,body.xtime-ui a.btn.ghost,body.xtime-ui button.btn.ghost,
body.xtime-ui .btn.secondary,body.xtime-ui .ginko-gateway-btn-secondary{
  background:var(--xt-surface-2)!important;color:var(--xt-text)!important;border-color:var(--xt-border)!important;box-shadow:none
}
body.xtime-ui input:not([type="checkbox"]):not([type="radio"]),
body.xtime-ui select,body.xtime-ui textarea{
  color:var(--xt-text);background:var(--xt-input);border:1px solid var(--xt-border);
  border-radius:10px;accent-color:var(--xt-blue);max-width:100%
}
body.xtime-ui input::placeholder,body.xtime-ui textarea::placeholder{color:var(--xt-muted);opacity:.8}
body.xtime-ui label,body.xtime-ui .field-hint,body.xtime-ui .copy-hint{color:var(--xt-muted)}
body.xtime-ui .filters-panel{background:var(--xt-surface)!important}
body.xtime-ui table{border-color:var(--xt-border)}
body.xtime-ui th{color:var(--xt-muted);background:var(--xt-surface-2)}
body.xtime-ui td{color:var(--xt-text);border-color:var(--xt-border)}
body.xtime-ui tr{border-color:var(--xt-border)}
body.xtime-ui .table-wrap{max-width:100%;overflow-x:auto}
body.xtime-ui .muted,body.xtime-ui .text-muted{color:var(--xt-muted)!important}
/* Dashboard do investidor. A contabilidade exibida continua sendo a atual nesta etapa. */
body.xtime-ui .ginko-dash-hero{border:1px solid rgba(29,147,237,.22)!important;background:radial-gradient(circle at 76% 18%,rgba(0,193,252,.13),transparent 34%),linear-gradient(135deg,var(--xt-hero),var(--xt-surface))!important;box-shadow:var(--xt-shadow)}
body.xtime-ui .ginko-dash-hero-copy h1{color:var(--xt-text)}
body.xtime-ui .ginko-dash-hero-copy>p{color:var(--xt-muted)}
body.xtime-ui .ginko-dash-referral-card,body.xtime-ui .ginko-dash-kpi,
body.xtime-ui .ginko-dash-shortcut,body.xtime-ui .ginko-network-summary>div,
body.xtime-ui .ginko-network-level-card,body.xtime-ui .ginko-profit-chart-summary,
body.xtime-ui .ginko-profit-chart-empty{
  background:var(--xt-surface)!important;color:var(--xt-text)!important;border:1px solid var(--xt-border)!important;box-shadow:0 7px 25px rgba(0,23,69,.05)
}
body.xtime-ui .ginko-dash-kpi-available,body.xtime-ui .ginko-network-total{
  background:linear-gradient(132deg,var(--xt-faint),var(--xt-surface) 75%)!important;border-color:rgba(0,154,231,.28)!important
}
body.xtime-ui .ginko-dash-kpi>strong,body.xtime-ui .ginko-network-summary strong,
body.xtime-ui .ginko-network-level-card>strong,body.xtime-ui .ginko-profit-chart-total strong,
body.xtime-ui .ginko-profit-chart-last strong{color:var(--xt-text)!important}
body.xtime-ui .ginko-dash-kpi-available>strong,body.xtime-ui .ginko-network-total strong,
body.xtime-ui .ginko-network-link-box strong{color:var(--xt-blue)!important}
body.xtime-ui .ginko-dash-kpi-top>span,body.xtime-ui .ginko-dash-kpi>p,
body.xtime-ui .ginko-network-summary span,body.xtime-ui .ginko-network-level-card>small,
body.xtime-ui .ginko-profit-chart-total>span,body.xtime-ui .ginko-profit-chart-last>span{color:var(--xt-muted)!important}
body.xtime-ui .ginko-dash-referral-mark{background:rgba(0,159,245,.10);border-color:var(--xt-border);color:var(--xt-cyan)!important}
body.xtime-ui .ginko-dash-referral-card>p{color:var(--xt-muted)}
body.xtime-ui .ginko-dash-referral-field input{background:var(--xt-input)!important;color:var(--xt-text)!important;border-color:var(--xt-border)!important}
body.xtime-ui .ginko-profit-segment{background:var(--xt-surface-2)!important;border-color:var(--xt-border)!important}
body.xtime-ui .ginko-profit-segment button{color:var(--xt-muted)!important}
body.xtime-ui .ginko-profit-segment button.is-active{background:var(--xt-hover)!important;color:var(--xt-blue)!important}
body.xtime-ui .ginko-profit-bar-fill{background:linear-gradient(180deg,#00d4f4,#096aea)!important}
/* Página pública: foco em acesso, sem promessa de rendimento. */
body.xtime-landing-page{display:grid;place-items:center}
body.xtime-landing-page .ginko-gateway{width:100%;max-width:100%;min-height:100vh;display:grid;place-items:center;padding:90px 20px 44px}
body.xtime-landing-page .ginko-gateway-card{
  width:min(100%,850px);max-width:850px;padding:clamp(24px,5vw,58px);
  background:linear-gradient(145deg,var(--xt-surface-soft),var(--xt-surface))!important;
  border:1px solid var(--xt-border);border-radius:25px;box-shadow:0 25px 80px rgba(0,9,30,.25)
}
body.xtime-landing-page .xtime-public-brand{display:flex!important;justify-content:center;width:100%!important;background:transparent!important;margin:0 auto 16px}
body.xtime-landing-page .ginko-gateway-copy h1{color:var(--xt-text);font-size:clamp(27px,4vw,42px);line-height:1.15;max-width:670px;margin-inline:auto}
body.xtime-landing-page .ginko-gateway-copy p{color:var(--xt-muted);font-size:clamp(14px,1.55vw,17px);line-height:1.7;max-width:600px;margin-inline:auto}
body.xtime-landing-page .ginko-gateway-footer{color:var(--xt-muted)}
body.xtime-landing-page .ginko-gateway-glow-a,body.xtime-auth-page .ginko-auth-glow-a{background:rgba(0,145,255,.16)}
body.xtime-landing-page .ginko-gateway-glow-b,body.xtime-auth-page .ginko-auth-glow-b{background:rgba(0,221,245,.10)}
body.xtime-auth-page .ginko-auth-brand-panel::after{border-color:rgba(0,193,245,.14);box-shadow:0 0 0 42px rgba(0,193,245,.03),0 0 0 84px rgba(0,193,245,.01)}
body.xtime-auth-page .ginko-auth-trust i{background:var(--xt-cyan);box-shadow:0 0 0 4px rgba(0,193,245,.09)}
body.xtime-landing-page .ginko-gateway-btn{min-height:48px}
/* Autenticação: respeita o markup e todos os campos existentes. */
body.xtime-auth-page .ginko-auth-frame{
  background:var(--xt-surface)!important;border:1px solid var(--xt-border)!important;
  border-radius:22px;box-shadow:0 22px 75px rgba(0,12,40,.24);overflow:hidden
}
body.xtime-auth-page .ginko-auth-brand-panel{
  background:radial-gradient(circle at 15% 24%,rgba(0,170,248,.20),transparent 56%),linear-gradient(150deg,#061324,#0b213a)!important;
  border-color:rgba(0,202,248,.13)!important;color:#e8f4ff
}
body.xtime-auth-page .ginko-auth-brand-copy h1{color:#f1f7ff}
body.xtime-auth-page .ginko-auth-brand-copy p{color:#b5c9df}
body.xtime-auth-page .ginko-auth-trust span{color:#b5c9df}
body.xtime-auth-page .ginko-auth-content{background:var(--xt-surface)!important;color:var(--xt-text)}
body.xtime-auth-page .ginko-auth-form-card{background:transparent;color:var(--xt-text)}
body.xtime-auth-page .ginko-auth-form label{color:var(--xt-text)}
body.xtime-auth-page .ginko-auth-hint,body.xtime-auth-page .ginko-auth-section-title,
body.xtime-auth-page .ginko-auth-divider{color:var(--xt-muted)}
body.xtime-auth-page .ginko-auth-divider::before,body.xtime-auth-page .ginko-auth-divider::after{background:var(--xt-border)}
body.xtime-auth-page .ginko-auth-form input:focus,body.xtime-auth-page .ginko-auth-form select:focus{border-color:var(--xt-blue);background:var(--xt-input);box-shadow:0 0 0 3px rgba(0,152,244,.12)}
body.xtime-auth-page .ginko-auth-check input{accent-color:var(--xt-blue)}
body.xtime-auth-page .ginko-auth-heading h2{color:var(--xt-text)}
body.xtime-auth-page .ginko-auth-heading p,body.xtime-auth-page .ginko-auth-form-row,
body.xtime-auth-page .ginko-auth-bottom-link{color:var(--xt-muted)}
body.xtime-auth-page .ginko-auth-primary{width:100%}
body.xtime-auth-page .ginko-auth-text-link,body.xtime-auth-page .ginko-auth-bottom-link a{color:var(--xt-blue)}
body.xtime-auth-page .ginko-auth-note{background:var(--xt-surface-2);border-color:var(--xt-border);color:var(--xt-text)}
body.xtime-auth-page .ginko-auth-note strong{color:var(--xt-text)}
body.xtime-auth-page .ginko-auth-note span{color:var(--xt-muted)}
/* Pequenas telas: menu, marca e inputs sem transbordamento. */
@media(max-width:950px){
  body.xtime-ui .topbar{padding-inline:16px}
  body.xtime-ui .topbar .topnav{gap:9px}
  body.xtime-ui .xtime-logo--header{width:130px}
  body.xtime-ui .ginko-topbar-context{display:none}
  body.xtime-ui .backoffice-drawer{background:var(--xt-surface)!important}
}
@media(max-width:650px){
  body.xtime-ui .xtime-logo--header{width:106px;max-width:29vw}
  body.xtime-ui .topbar .topnav{gap:6px}
  body.xtime-ui .topbar .topnav>a:not(.btn){font-size:12px}
  body.xtime-ui .xtime-theme-toggle{width:37px;height:37px}
  body.xtime-ui .xtime-auth-theme,body.xtime-ui .xtime-public-theme{top:11px;right:12px}
  body.xtime-landing-page .ginko-gateway{padding:65px 12px 28px}
  body.xtime-landing-page .ginko-gateway-card{padding:28px 17px;border-radius:16px}
  body.xtime-landing-page .ginko-gateway-actions{display:grid;grid-template-columns:1fr;width:100%}
  body.xtime-auth-page .ginko-auth-frame{border-radius:15px}
  body.xtime-ui .panel,body.xtime-ui .ginko-dash-kpi{border-radius:12px!important}
  body.xtime-ui .ginko-dash-referral-field{min-width:0}
  body.xtime-ui .ginko-dash-referral-field input{min-width:0}
  body.xtime-ui .content{min-width:0}
}
@media(prefers-reduced-motion:reduce){body.xtime-ui,body.xtime-ui *,body.xtime-ui *::before,body.xtime-ui *::after{transition:none!important;animation:none!important}}

/* Stage 45 multilingual registration and transparent brand. */
.xtime-auth-controls{position:fixed;z-index:95;top:16px;right:82px;display:flex;align-items:center}
.xtime-language-form{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin:0}
.xtime-language-form label{font-size:12px;color:var(--xt-muted)}
body.xtime-ui .xtime-language-form select,body.xtime-ui .ginko-auth-form select{
  color:var(--xt-text);background:var(--xt-input);border:1px solid var(--xt-border);
  padding:11px 14px;border-radius:11px;max-width:190px;min-height:44px}
body.xtime-ui .xtime-language-form select{max-width:145px;min-width:115px;padding:9px 10px;font-size:12px}
body.xtime-ui .ginko-auth-form .xtime-readonly{opacity:.78;cursor:not-allowed}
.xtime-phone-row{display:grid;grid-template-columns:minmax(105px,.33fr) minmax(0,1fr);gap:12px}
.xtime-phone-row label{min-width:0}
@media(max-width:640px){.xtime-auth-controls{right:74px;top:14px}.xtime-auth-controls label{display:none}
body.xtime-ui .topbar .xtime-language-form select{min-width:92px;max-width:125px}}

html[data-xtime-theme="light"] body.xtime-ui .xtime-logo{filter:drop-shadow(1px 1px 1px rgba(20,39,65,.55))}


/* XTime auth layout refresh: centered language selection and consistent flag UI.
   Intentionally scoped to .xtime-* classes; legacy financial screens are unaffected. */
body.xtime-ui .xtime-flag { display:block;flex:none;width:25px;height:17px;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.17);overflow:hidden; }
body.xtime-ui .xtime-locale-picker {position:relative;display:block;min-width:164px;max-width:calc(100vw - 90px);font-size:13px;font-weight:700;isolation:isolate;}
body.xtime-ui .xtime-locale-picker > summary {
  list-style:none;display:flex;align-items:center;gap:10px;padding:10px 13px;min-height:44px;cursor:pointer;
  background:var(--xt-surface-soft);border:1px solid var(--xt-border);border-radius:13px;
  color:var(--xt-text);box-shadow:0 10px 34px rgba(0,12,35,.16);user-select:none;
}
body.xtime-ui .xtime-locale-picker > summary::-webkit-details-marker{display:none}
body.xtime-ui .xtime-locale-picker > summary::marker{content:""}
body.xtime-ui .xtime-locale-picker[open] > summary,body.xtime-ui .xtime-locale-picker > summary:hover{border-color:rgba(0,192,245,.55)}
body.xtime-ui .xtime-locale-current{white-space:nowrap;flex:1;min-width:0}
body.xtime-ui .xtime-locale-chevron{flex:none;color:var(--xt-muted);transition:transform .2s}
body.xtime-ui .xtime-locale-picker[open] .xtime-locale-chevron{transform:rotate(180deg)}
body.xtime-ui .xtime-locale-options{
  position:absolute;top:calc(100% + 7px);right:0;left:0;z-index:201;padding:5px;
  background:var(--xt-surface);border:1px solid var(--xt-border);border-radius:13px;
  box-shadow:0 20px 42px rgba(0,7,25,.38);min-width:190px;
}
body.xtime-ui .xtime-locale-option-form{margin:0}
body.xtime-ui .xtime-locale-option{
  display:flex;align-items:center;gap:9px;width:100%;padding:10px;border:0;border-radius:9px;
  font:inherit;font-size:12px;font-weight:600;text-align:left;color:var(--xt-text);
  background:transparent;cursor:pointer;
}
body.xtime-ui .xtime-locale-option:hover,body.xtime-ui .xtime-locale-option.is-active{background:var(--xt-hover)}
body.xtime-ui .xtime-locale-tick{margin-left:auto;color:var(--xt-cyan)}
/* The actual picker stays precisely on the horizontal centerline of the viewport. */
body.xtime-auth-page .xtime-auth-controls{
  position:fixed!important;inset:18px 0 auto!important;right:0!important;left:0!important;top:18px!important;
  width:100%!important;max-width:none!important;z-index:180;display:flex!important;
  align-items:center;justify-content:center;transform:none!important;pointer-events:none;
}
body.xtime-auth-page .xtime-auth-controls .xtime-locale-picker{pointer-events:auto}
body.xtime-auth-page .xtime-auth-theme{position:fixed!important;top:19px!important;right:24px!important;z-index:181}
body.xtime-auth-page .ginko-auth-shell{padding-top:96px;padding-bottom:42px}
body.xtime-ui .topnav .xtime-locale-picker{min-width:140px}
@media(max-width:900px){
 body.xtime-auth-page .ginko-auth-shell{padding-top:92px}
}
@media(max-width:600px){
 body.xtime-auth-page .xtime-auth-controls{top:11px!important}
 body.xtime-auth-page .xtime-auth-controls .xtime-locale-picker{min-width:140px;max-width:160px}
 body.xtime-auth-page .xtime-auth-theme{top:12px!important;right:12px!important}
 body.xtime-auth-page .ginko-auth-shell{padding-top:72px;padding-bottom:0}
 body.xtime-auth-page .ginko-auth-frame{min-height:calc(100vh - 72px);border-radius:16px 16px 0 0}
 body.xtime-auth-page .ginko-auth-content{padding-top:37px;padding-bottom:42px}
 body.xtime-ui .xtime-locale-picker > summary{padding:9px 10px}
 body.xtime-ui .topnav .xtime-locale-picker{min-width:104px;max-width:114px}
 body.xtime-ui .topnav .xtime-locale-picker .xtime-locale-current{font-size:11px;text-overflow:ellipsis;overflow:hidden}
 body.xtime-ui .topnav .xtime-locale-picker > summary{gap:6px;padding:7px;min-height:37px}
}


/* Stage 57 — dashboard visual refresh based on new XTime logo. */
:root{
  --xt-gold:#ffcf59;
  --xt-gold-soft:rgba(255,207,89,.18);
  --xt-steel:#dfe8f3;
}
html[data-xtime-theme="dark"]{
  --xt57-panel-grad:linear-gradient(145deg,rgba(11,24,43,.95),rgba(11,27,46,.92) 62%,rgba(18,55,92,.92));
  --xt57-hero-grad:radial-gradient(circle at 88% 20%,rgba(255,207,89,.14),transparent 26%),radial-gradient(circle at 18% 22%,rgba(0,199,255,.18),transparent 30%),linear-gradient(135deg,#07111f 0%,#0a1830 45%,#0c2544 100%);
  --xt57-soft-border:rgba(255,207,89,.20);
  --xt57-title:#f5f9ff;
  --xt57-card-shadow:0 20px 55px rgba(0,0,0,.28);
}
html[data-xtime-theme="light"]{
  --xt57-panel-grad:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,249,255,.98) 62%,rgba(228,239,251,.98));
  --xt57-hero-grad:radial-gradient(circle at 88% 20%,rgba(255,198,67,.18),transparent 22%),radial-gradient(circle at 18% 22%,rgba(17,143,255,.12),transparent 28%),linear-gradient(135deg,#fbfdff 0%,#eef5ff 42%,#e2eefc 100%);
  --xt57-soft-border:rgba(201,156,46,.22);
  --xt57-title:#122845;
  --xt57-card-shadow:0 16px 38px rgba(33,72,119,.08);
}
body.xtime-ui .xtime-logo--header{width:162px;max-width:36vw;max-height:68px}
body.xtime-ui .panel,body.xtime-ui .kpi,body.xtime-ui .stat-card,body.xtime-ui .dashboard-card,body.xtime-ui .card,body.xtime-ui .widget,body.xtime-ui .content-card{box-shadow:var(--xt57-card-shadow)}
body.xtime-ui .content{font-size:15px}
body.xtime-ui h1{font-size:clamp(2rem,3.2vw,3.4rem)}
body.xtime-ui h2{font-size:clamp(1.35rem,2vw,2rem)}
body.xtime-ui p,body.xtime-ui li,body.xtime-ui td,body.xtime-ui label,body.xtime-ui input,body.xtime-ui select,body.xtime-ui textarea{font-size:15px}
body.xtime-ui .page-head p,body.xtime-ui .panel p,body.xtime-ui .panel-title span,body.xtime-ui .muted{font-size:14px}

body.xtime-ui .xt57-dashboard{display:grid;gap:18px}
body.xtime-ui .xt57-hero{background:var(--xt57-hero-grad)!important;border:1px solid var(--xt57-soft-border)!important;overflow:hidden;position:relative}
body.xtime-ui .xt57-hero::after{content:"";position:absolute;inset:auto -30px -30px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,207,89,.20),transparent 62%);pointer-events:none}
body.xtime-ui .xt57-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.9fr);gap:20px;align-items:stretch}
body.xtime-ui .xt57-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:16px}
body.xtime-ui .xt57-hero-copy h1{margin:0;color:var(--xt57-title)}
body.xtime-ui .xt57-hero-copy p{margin:0;max-width:760px;color:var(--xt-muted)!important;font-size:16px;line-height:1.6}
body.xtime-ui .xt57-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
body.xtime-ui .xt57-referral-card{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:22px;border-radius:20px;background:linear-gradient(160deg,rgba(8,22,39,.52),rgba(11,34,60,.76));border:1px solid rgba(72,138,222,.24)}
html[data-xtime-theme="light"] body.xtime-ui .xt57-referral-card{background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(235,244,255,.96));}
body.xtime-ui .xt57-referral-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.xtime-ui .xt57-referral-head small{display:block;margin-bottom:4px;color:var(--xt-muted)}
body.xtime-ui .xt57-referral-head strong{font-size:1.45rem;color:var(--xt57-title)}
body.xtime-ui .xt57-referral-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:var(--xt-gold-soft);color:var(--xt-gold);font-weight:700;font-size:12px;border:1px solid var(--xt57-soft-border)}
html[data-xtime-theme="light"] body.xtime-ui .xt57-referral-badge{color:#8a5a00}
body.xtime-ui .xt57-referral-card p{margin:0;color:var(--xt-muted)!important}
body.xtime-ui .xt57-referral-field{display:flex;gap:10px;align-items:center}
body.xtime-ui .xt57-referral-field input{flex:1 1 auto;min-width:0;height:48px;border-radius:14px!important}
body.xtime-ui .xt57-referral-field .btn{flex:0 0 auto}

body.xtime-ui .xt57-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.xtime-ui .xt57-kpi-card{background:var(--xt57-panel-grad)!important;border:1px solid rgba(56,147,255,.18)!important;display:flex;flex-direction:column;gap:10px;padding:22px}
body.xtime-ui .xt57-kpi-card--invested{border-color:var(--xt57-soft-border)!important;background:linear-gradient(145deg,rgba(11,24,43,.97),rgba(12,34,59,.95) 55%,rgba(78,62,21,.22))!important}
html[data-xtime-theme="light"] body.xtime-ui .xt57-kpi-card--invested{background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(244,249,255,.98) 55%,rgba(255,215,117,.18))!important}
body.xtime-ui .xt57-kpi-card span{font-size:12px;letter-spacing:.12em;font-weight:800;color:var(--xt-cyan)!important}
html[data-xtime-theme="light"] body.xtime-ui .xt57-kpi-card span{color:#0069b5!important}
body.xtime-ui .xt57-kpi-card strong{font-size:2rem;line-height:1.05;color:var(--xt57-title)}
body.xtime-ui .xt57-kpi-card p{margin:0;color:var(--xt-muted)!important}

body.xtime-ui .xt57-main-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.18fr);gap:16px}
body.xtime-ui .xt57-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
body.xtime-ui .xt57-panel-title h2{margin:4px 0 0;color:var(--xt57-title)}
body.xtime-ui .xt57-panel-title span{font-size:13px;color:var(--xt-muted)!important}
body.xtime-ui .xt57-capacity-card,body.xtime-ui .xt57-career-card,body.xtime-ui .xt57-network-panel,body.xtime-ui .xt57-announcements{background:var(--xt57-panel-grad)!important;border-color:rgba(56,147,255,.16)!important}
body.xtime-ui .xt57-progress-card{display:grid;gap:14px}
body.xtime-ui .xt57-progress-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.xtime-ui .xt57-progress-top>div{padding:16px;border-radius:16px;background:rgba(255,255,255,.02);border:1px solid var(--xt-border)}
html[data-xtime-theme="light"] body.xtime-ui .xt57-progress-top>div{background:rgba(13,52,93,.03)}
body.xtime-ui .xt57-progress-top small{display:block;color:var(--xt-muted);margin-bottom:8px}
body.xtime-ui .xt57-progress-top strong{font-size:1.42rem;color:var(--xt57-title)}
body.xtime-ui .xt57-progress-bar{width:100%;height:14px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--xt-border);overflow:hidden}
html[data-xtime-theme="light"] body.xtime-ui .xt57-progress-bar{background:rgba(15,74,130,.08)}
body.xtime-ui .xt57-progress-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0fd3ff 0%,#1d7cff 62%,#ffcf59 100%);box-shadow:0 0 18px rgba(21,146,255,.22)}
body.xtime-ui .xt57-progress-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--xt-muted);font-size:14px}
body.xtime-ui .xt57-career-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
body.xtime-ui .xt57-career-status,body.xtime-ui .xt57-career-next{padding:16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid var(--xt-border)}
html[data-xtime-theme="light"] body.xtime-ui .xt57-career-status,html[data-xtime-theme="light"] body.xtime-ui .xt57-career-next{background:rgba(13,52,93,.03)}
body.xtime-ui .xt57-career-status small,body.xtime-ui .xt57-career-next small{display:block;color:var(--xt-muted);margin-bottom:8px}
body.xtime-ui .xt57-career-status strong,body.xtime-ui .xt57-career-next strong{display:block;font-size:1.35rem;color:var(--xt57-title);margin-bottom:6px}
body.xtime-ui .xt57-career-status span,body.xtime-ui .xt57-career-next span{color:var(--xt-muted);font-size:14px}
body.xtime-ui .xt57-career-graph{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:12px;margin-top:16px}
body.xtime-ui .xt57-rank-step{position:relative;padding:16px 14px 14px 16px;border-radius:16px;border:1px solid var(--xt-border);background:rgba(255,255,255,.02);min-height:92px}
html[data-xtime-theme="light"] body.xtime-ui .xt57-rank-step{background:rgba(13,52,93,.03)}
body.xtime-ui .xt57-rank-step i{display:inline-flex;width:14px;height:14px;border-radius:50%;margin-bottom:10px;background:rgba(255,255,255,.15);border:1px solid var(--xt-border)}
body.xtime-ui .xt57-rank-step strong{display:block;font-size:15px;color:var(--xt57-title)}
body.xtime-ui .xt57-rank-step small{color:var(--xt-muted)}
body.xtime-ui .xt57-rank-step.is-done{border-color:rgba(14,213,150,.28);box-shadow:inset 0 0 0 1px rgba(14,213,150,.10)}
body.xtime-ui .xt57-rank-step.is-done i{background:linear-gradient(180deg,#16e48c,#0cb367);border-color:rgba(14,213,150,.35)}
body.xtime-ui .xt57-rank-step.is-current{border-color:var(--xt57-soft-border);background:linear-gradient(145deg,rgba(23,79,148,.16),rgba(255,207,89,.08))}
body.xtime-ui .xt57-rank-step.is-current i{background:linear-gradient(180deg,#ffd56f,#f5a623);border-color:var(--xt57-soft-border)}

body.xtime-ui .xt57-announcements-list{display:grid;gap:12px}
body.xtime-ui .xt57-announcements-list article{padding:16px;border-radius:16px;border:1px solid var(--xt-border);background:rgba(255,255,255,.02)}
html[data-xtime-theme="light"] body.xtime-ui .xt57-announcements-list article{background:rgba(13,52,93,.03)}
body.xtime-ui .xt57-announcements-list strong{display:block;margin-bottom:6px;color:var(--xt57-title);font-size:16px}
body.xtime-ui .xt57-announcements-list p{margin:0}

body.xtime-ui .xt57-network-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
body.xtime-ui .xt57-network-summary article,body.xtime-ui .xt57-network-level{padding:18px;border-radius:18px;border:1px solid var(--xt-border);background:rgba(255,255,255,.03)}
html[data-xtime-theme="light"] body.xtime-ui .xt57-network-summary article,html[data-xtime-theme="light"] body.xtime-ui .xt57-network-level{background:rgba(13,52,93,.03)}
body.xtime-ui .xt57-network-summary small,body.xtime-ui .xt57-network-level-head span{display:block;font-size:12px;letter-spacing:.11em;font-weight:800;color:var(--xt-cyan)!important}
html[data-xtime-theme="light"] body.xtime-ui .xt57-network-summary small,html[data-xtime-theme="light"] body.xtime-ui .xt57-network-level-head span{color:#0069b5!important}
body.xtime-ui .xt57-network-summary strong{display:block;font-size:1.8rem;margin:8px 0;color:var(--xt57-title)}
body.xtime-ui .xt57-network-summary span{color:var(--xt-muted)}
body.xtime-ui .xt57-network-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
body.xtime-ui .xt57-network-level.is-direct{border-color:var(--xt57-soft-border);background:linear-gradient(145deg,rgba(23,79,148,.12),rgba(255,207,89,.08))}
body.xtime-ui .xt57-network-level-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
body.xtime-ui .xt57-network-level-head em{font-style:normal;padding:4px 8px;border-radius:999px;background:var(--xt-gold-soft);color:var(--xt-gold);font-size:11px;font-weight:700}
html[data-xtime-theme="light"] body.xtime-ui .xt57-network-level-head em{color:#8a5a00}
body.xtime-ui .xt57-network-level strong{display:block;font-size:1.75rem;color:var(--xt57-title);margin-bottom:4px}
body.xtime-ui .xt57-network-level small{color:var(--xt-muted)}
body.xtime-ui .xt57-empty-note{padding:16px 18px;border-radius:16px;border:1px dashed var(--xt-border);color:var(--xt-muted);margin-top:14px}

@media (max-width: 1100px){
  body.xtime-ui .xt57-main-grid{grid-template-columns:1fr}
}
@media (max-width: 900px){
  body.xtime-ui .xt57-hero-grid,body.xtime-ui .xt57-kpi-grid,body.xtime-ui .xt57-network-summary{grid-template-columns:1fr}
}
@media (max-width: 720px){
  body.xtime-ui .xt57-progress-top,body.xtime-ui .xt57-career-head{grid-template-columns:1fr}
  body.xtime-ui .xt57-referral-field{flex-direction:column;align-items:stretch}
  body.xtime-ui .xt57-referral-field .btn{width:100%}
  body.xtime-ui .xt57-hero-actions .btn{flex:1 1 100%}
  body.xtime-ui .xt57-panel-title{flex-direction:column;align-items:flex-start}
  body.xtime-ui .xt57-progress-meta{flex-direction:column}
}

/* 57: decoração sem nós de 340/260px no fluxo; o fundo usa apenas body::before. */
body.xtime-ui > .ambient{display:none!important}
/* XTIME-VISUAL64-BEGIN — acabamento visual sem alterar fluxos ou contabilidade */
/* Fundamentos: respiro, escala, contraste e limites de largura. */
body.xtime-ui{overflow-x:clip;line-height:1.5}
body.xtime-ui *,body.xtime-ui *::before,body.xtime-ui *::after{box-sizing:border-box}
body.xtime-ui :where(.content,.panel,.xt57-dashboard,.ginko-auth-content,.ginko-auth-form-card){min-width:0}
body.xtime-ui :where(button,a,input,select,textarea){-webkit-tap-highlight-color:transparent}
body.xtime-ui :where(input,select,textarea,button){font-family:inherit}
body.xtime-ui :where(a,button,summary,select,input):focus-visible{outline:3px solid #29cfff!important;outline-offset:3px}
body.xtime-ui .eyebrow{font-size:11px;font-weight:850;line-height:1.5;letter-spacing:.12em}
body.xtime-ui :where(.btn,.ginko-auth-primary,.xtime-theme-toggle){min-height:43px;touch-action:manipulation}

/* LOGIN + CADASTRO: campo e botão do olho compartilham exatamente a mesma caixa. */
body.xtime-auth-page .ginko-auth-form label{min-width:0;font-size:13px!important;line-height:1.4;letter-spacing:0}
body.xtime-auth-page .ginko-auth-form label>span{color:var(--xt-text);font-size:13px!important;font-weight:750;line-height:1.45}
body.xtime-auth-page .ginko-auth-form :where(input:not([type=checkbox]),select,textarea){width:100%!important;min-width:0!important;max-width:100%!important;min-height:49px;box-sizing:border-box;font-size:15px!important;line-height:1.35;padding:12px 14px!important}
body.xtime-auth-page .xtime-password-wrap{display:block!important;position:relative!important;width:100%!important;min-width:0!important;max-width:100%!important;isolation:isolate}
body.xtime-auth-page .xtime-password-wrap input[data-password-input]{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding-right:57px!important;min-height:50px!important}
body.xtime-auth-page .xtime-password-wrap .xtime-password-toggle{display:grid!important;place-items:center!important;position:absolute!important;inset:auto 7px auto auto!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important;float:none!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:var(--xt-muted)!important;cursor:pointer}
body.xtime-auth-page .xtime-password-wrap .xtime-password-toggle:hover,body.xtime-auth-page .xtime-password-wrap .xtime-password-toggle[aria-pressed=true]{background:var(--xt-hover)!important;color:var(--xt-blue)!important}
body.xtime-auth-page .xtime-password-eye{display:grid;place-items:center;width:24px;height:24px;line-height:1;font-size:19px;pointer-events:none}
body.xtime-auth-page .ginko-auth-form-card{width:min(100%,540px)}
body.xtime-auth-page .ginko-auth-form-card-wide{width:min(100%,690px)}
body.xtime-auth-page .ginko-auth-heading{margin-bottom:23px}
body.xtime-auth-page .ginko-auth-heading h2{font-size:clamp(28px,3vw,39px);line-height:1.17;overflow-wrap:break-word}
body.xtime-auth-page .ginko-auth-heading p{font-size:14px;line-height:1.7}
body.xtime-auth-page .ginko-auth-form{gap:17px}
body.xtime-auth-page .ginko-auth-hint{font-size:12px;line-height:1.55}
body.xtime-auth-page .ginko-auth-check{font-size:13px!important;line-height:1.5}
body.xtime-auth-page .ginko-auth-text-link,body.xtime-auth-page .ginko-auth-bottom-link{font-size:13px!important}
body.xtime-auth-page .ginko-auth-primary{min-height:52px;font-size:15px!important;letter-spacing:.01em}
body.xtime-auth-page .ginko-auth-content{padding-inline:clamp(20px,3.8vw,60px)}
body.xtime-auth-page .ginko-auth-form :where(input,select,textarea){border-radius:12px!important}
body.xtime-auth-page .ginko-auth-form :where(input,select,textarea):focus{box-shadow:0 0 0 3px rgba(37,154,252,.19)!important}
body.xtime-auth-page .xtime-phone-row{grid-template-columns:minmax(114px,.36fr) minmax(0,1fr);gap:11px}
body.xtime-auth-page .xtime-phone-row>*{min-width:0}
body.xtime-auth-page .ginko-auth-note{border-radius:12px}

/* Cabeçalhos, nomes longos, notificações e marca XTime. Admin sem alterações. */
body.xtime-ui.ginko-backoffice-page .ginko-investor-topbar{min-height:70px;gap:12px}
body.xtime-ui.ginko-backoffice-page .ginko-topbar-left{min-width:0}
body.xtime-ui.ginko-backoffice-page .ginko-user-chip{min-width:0;max-width:min(270px,24vw)}
body.xtime-ui.ginko-backoffice-page .ginko-user-copy{min-width:0}
body.xtime-ui.ginko-backoffice-page .ginko-user-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.xtime-ui.ginko-backoffice-page .xt63c-user-rank{flex-shrink:0}
body.xtime-ui.ginko-backoffice-page .xtime-logo--header{width:clamp(120px,10vw,166px);height:auto}
body.xtime-ui.ginko-backoffice-page .ginko-investor-topnav{gap:10px}
body.xtime-ui.ginko-backoffice-page .xtime-theme-toggle{box-shadow:0 5px 18px rgba(1,24,58,.09)}
body.xtime-ui.ginko-backoffice-page .content{padding:clamp(15px,2.2vw,34px)!important}
body.xtime-ui.ginko-backoffice-page .xt57-dashboard{gap:18px}
body.xtime-ui.ginko-backoffice-page .xt57-hero{border:1px solid rgba(52,157,252,.28)!important;border-radius:22px!important}
body.xtime-ui.ginko-backoffice-page .xt57-hero-copy h1{font-size:clamp(29px,3vw,45px)!important;line-height:1.16!important;overflow-wrap:anywhere}
body.xtime-ui.ginko-backoffice-page .xt57-hero-copy p{font-size:15px!important;line-height:1.72}
body.xtime-ui.ginko-backoffice-page .xt57-referral-card{border-radius:18px!important;min-width:0}
body.xtime-ui.ginko-backoffice-page .xt57-referral-head{flex-wrap:wrap;align-items:center}
body.xtime-ui.ginko-backoffice-page .xt57-referral-head strong{font-size:clamp(16px,1.8vw,21px);overflow-wrap:anywhere}
body.xtime-ui.ginko-backoffice-page .xt57-kpi-card{border-radius:18px!important;min-width:0}
body.xtime-ui.ginko-backoffice-page .xt57-kpi-card span{font-size:12px!important;line-height:1.5;letter-spacing:.055em!important}
body.xtime-ui.ginko-backoffice-page .xt57-kpi-card strong{font-size:clamp(26px,2.7vw,37px);overflow-wrap:anywhere}
body.xtime-ui.ginko-backoffice-page .xt57-kpi-card p{font-size:13px!important;line-height:1.55}
body.xtime-ui.ginko-backoffice-page :where(.xt57-capacity-card,.xt57-career-card,.xt57-network-panel,.xt63-chart-panel){border-radius:20px!important;min-width:0}
body.xtime-ui.ginko-backoffice-page :where(.xt57-progress-bar,.xt63-progress-bar){height:15px;overflow:hidden;background:var(--xt-surface-2);border-radius:999px;border:1px solid var(--xt-border)}
body.xtime-ui.ginko-backoffice-page .xt57-progress-bar span{border-radius:inherit;box-shadow:0 0 18px rgba(0,139,246,.30)}
body.xtime-ui.ginko-backoffice-page .xt57-career-graph{min-width:0}
body.xtime-ui.ginko-backoffice-page .xt57-rank-step{min-width:0}
body.xtime-ui.ginko-backoffice-page .xt57-rank-step strong{overflow-wrap:anywhere}
body.xtime-ui.ginko-backoffice-page .xt63-chart-viewport{max-width:100%;overscroll-behavior-inline:contain}
body.xtime-ui.ginko-backoffice-page .xt57-progress-top strong{font-size:clamp(17px,1.8vw,24px)}

/* Tema claro: texto e indicadores precisam continuar legíveis. */
html[data-xtime-theme=light] body.xtime-ui.ginko-backoffice-page :where(.xt57-referral-badge,.xt57-network-level-head em){color:#79510b!important}
html[data-xtime-theme=light] body.xtime-ui.ginko-backoffice-page .xt57-hero{box-shadow:0 16px 37px rgba(25,69,123,.09)!important}
html[data-xtime-theme=light] body.xtime-auth-page .ginko-auth-form input:focus{background:#fff!important}
html[data-xtime-theme=light] body.xtime-ui :where(.eyebrow,.ginko-auth-kicker){color:#005f9c!important}

/* Celulares: campos, menus e botões grandes sem corte lateral. */
@media(max-width:900px){
 body.xtime-auth-page .ginko-auth-shell{padding-top:84px}
 body.xtime-auth-page .ginko-auth-content{padding:32px 25px 42px}
 body.xtime-ui.ginko-backoffice-page .xt57-hero-grid{gap:17px}
 body.xtime-ui.ginko-backoffice-page .xt57-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 body.xtime-auth-page .ginko-auth-shell{padding-top:75px;padding-bottom:0}
 body.xtime-auth-page .ginko-auth-content{padding:26px 18px 36px!important}
 body.xtime-auth-page .ginko-auth-heading h2{font-size:clamp(27px,7vw,33px)}
 body.xtime-auth-page .ginko-auth-form{gap:14px}
 body.xtime-auth-page .ginko-auth-two{grid-template-columns:1fr;gap:14px}
 body.xtime-auth-page .xtime-phone-row{grid-template-columns:minmax(100px,.40fr) minmax(0,1fr);gap:9px}
 body.xtime-auth-page .xtime-auth-controls .xtime-locale-picker{min-width:138px;max-width:156px}
 body.xtime-auth-page .ginko-auth-form-row{gap:8px;flex-wrap:wrap}
 body.xtime-ui.ginko-backoffice-page .xt57-hero-grid{grid-template-columns:minmax(0,1fr)}
 body.xtime-ui.ginko-backoffice-page .xt57-kpi-grid{grid-template-columns:1fr}
 body.xtime-ui.ginko-backoffice-page .xt57-progress-top{grid-template-columns:1fr;gap:10px}
 body.xtime-ui.ginko-backoffice-page .xt57-referral-field{flex-direction:column;align-items:stretch;gap:9px}
 body.xtime-ui.ginko-backoffice-page .xt57-referral-field .btn{width:100%}
 body.xtime-ui.ginko-backoffice-page .xt57-career-head{grid-template-columns:1fr}
 body.xtime-ui.ginko-backoffice-page .xt57-hero-actions{display:grid;grid-template-columns:1fr;gap:9px}
 body.xtime-ui.ginko-backoffice-page .xt57-hero-actions .btn{width:100%;justify-content:center}
 body.xtime-ui.ginko-backoffice-page .xt57-panel-title{flex-direction:column;align-items:flex-start}
 body.xtime-ui.ginko-backoffice-page .xt57-network-summary{grid-template-columns:1fr}
 body.xtime-ui.ginko-backoffice-page .xt57-network-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.xtime-ui.ginko-backoffice-page .xt57-network-level{min-width:0;padding:13px}
 body.xtime-ui.ginko-backoffice-page .xt57-network-summary strong{font-size:25px}
 body.xtime-ui.ginko-backoffice-page .ginko-user-chip{max-width:43px;padding:3px!important}
 body.xtime-ui.ginko-backoffice-page .ginko-user-copy{display:none}
 body.xtime-ui.ginko-backoffice-page .xtime-logo--header{width:108px;max-width:30vw}
 body.xtime-ui.ginko-backoffice-page .ginko-investor-topnav{gap:5px}
}
@media(max-width:385px){
 body.xtime-auth-page .xtime-phone-row{grid-template-columns:1fr}
 body.xtime-auth-page .ginko-auth-content{padding-inline:14px!important}
 body.xtime-ui.ginko-backoffice-page .xt57-network-levels{grid-template-columns:1fr}
 body.xtime-ui.ginko-backoffice-page .ginko-investor-topnav .xtime-locale-picker{min-width:85px;max-width:105px}
 body.xtime-ui.ginko-backoffice-page .xtime-logo--header{width:94px}
}
@media(prefers-reduced-motion:reduce){body.xtime-ui .xt57-progress-bar span{transition:none!important}}
/* XTIME-VISUAL64-END */
/* XTIME-LOGO65-BEGIN: fidelidade do PNG + visibilidade completa da marca */
/* O layout Ginko original limita o logo a uma caixa com overflow:hidden;
   o novo PNG possui proporção mais horizontal. Não recortar a palavra DIGITAL. */
body.xtime-ui.ginko-backoffice-page .ginko-topbar-left{align-items:center;overflow:visible!important;min-width:0}
body.xtime-ui.ginko-backoffice-page .ginko-topbar-brand.xtime-brand{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex:0 0 auto!important;width:clamp(125px,11.5vw,177px)!important;
    height:68px!important;max-height:68px!important;overflow:visible!important;
    padding:0!important;margin:0!important;
}
body.xtime-ui.ginko-backoffice-page .ginko-topbar-brand.xtime-brand img.xtime-logo--header{
    display:block!important;width:100%!important;height:auto!important;max-height:64px!important;
    object-fit:contain!important;object-position:left center!important;
    vertical-align:middle!important;overflow:visible!important;
}
/* Também evita cortes no logo nos formulários de login/cadastro. */
body.xtime-auth-page .ginko-auth-logo-link,body.xtime-auth-page .ginko-auth-mobile-brand a.xtime-brand{
    max-width:100%;overflow:visible!important;align-items:center!important;
}
body.xtime-auth-page img.xtime-logo--auth,
body.xtime-auth-page img.xtime-logo--auth-mobile{
    display:block;object-fit:contain!important;height:auto!important;max-height:none!important;
}
@media(max-width:760px){
    body.xtime-ui.ginko-backoffice-page .ginko-topbar-brand.xtime-brand{
        width:clamp(101px,27vw,128px)!important;height:55px!important;max-height:55px!important;
    }
    body.xtime-ui.ginko-backoffice-page .ginko-topbar-brand.xtime-brand img.xtime-logo--header{
        width:100%!important;max-height:52px!important;
    }
}
@media(max-width:385px){
    body.xtime-ui.ginko-backoffice-page .ginko-topbar-brand.xtime-brand{width:96px!important;height:46px!important}
    body.xtime-ui.ginko-backoffice-page .ginko-topbar-brand.xtime-brand img.xtime-logo--header{max-height:45px!important}
}
/* XTIME-LOGO65-END */
