html[theme="tungstencloud"][data-tc-page="home"]{--tc-home-line:#e2e8f0;--tc-home-text:#172033;--tc-home-muted:#64748b;--tc-home-primary:#1769e0;--tc-home-soft:#f8fafc}
body.tc-home-page .home-main{background:#f4f7fb!important}
body.tc-home-page .tc-dashboard{width:100%;max-width:1480px;margin:0 auto}
body.tc-home-page .tc-hero{position:relative;min-width:0;min-height:228px;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);overflow:hidden;border:0;border-radius:14px;color:#fff;background:#155fc8;background-image:none;box-shadow:none}
body.tc-home-page .tc-hero__glow{display:none!important}
body.tc-home-page .tc-hero__content{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:34px 38px}
body.tc-home-page .tc-hero__eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#d7e8ff;font-size:11px;font-weight:700;letter-spacing:.08em}
body.tc-home-page .tc-hero h1{margin:0;color:#fff;font-size:30px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
body.tc-home-page .tc-hero h1 strong{font-weight:750}
body.tc-home-page .tc-hero__meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:11px;color:#dbeafe;font-size:12px}
body.tc-home-page .tc-level-badge{padding:3px 7px;border-radius:10px;color:#fff;background:var(--level-color,#1769e0);font-size:10px;font-weight:700}
body.tc-home-page .tc-hero__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
body.tc-home-page .tc-btn{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:600;cursor:pointer}
body.tc-home-page .tc-btn--light{border-color:#fff;color:#155fc8;background:#fff}
body.tc-home-page .tc-btn--ghost{border-color:rgba(255,255,255,.28);color:#fff;background:transparent}
body.tc-home-page .tc-btn--ghost:hover{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.08)}
body.tc-home-page .tc-balance-panel{min-width:0;display:flex;flex-direction:column;justify-content:center;margin:28px 0;padding:18px 34px;border-left:1px solid rgba(255,255,255,.24);background:transparent}
body.tc-home-page .tc-balance-panel__head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#dbeafe;font-size:12px}
body.tc-home-page .tc-balance-notice{padding:0;border:0;color:#fff;background:transparent;font-size:11px;cursor:pointer}
body.tc-home-page .tc-balance-panel__amount{margin-top:8px;color:#fff;font-size:36px;font-weight:750;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere}
body.tc-home-page .tc-balance-panel__amount small{margin-right:4px;font-size:15px;font-weight:600;opacity:.8}
body.tc-home-page .tc-balance-panel__foot{min-height:20px;margin-top:8px;color:#dbeafe;font-size:11px}
body.tc-home-page .tc-balance-panel__foot a{display:inline-flex;align-items:center;gap:5px;color:#fff}
body.tc-home-page .tc-coin-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.22);color:#dbeafe;font-size:11px}
body.tc-home-page .tc-coin-strip strong{color:#fff;font-size:12px}

body.tc-home-page .tc-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;margin-top:18px;align-items:start}
body.tc-home-page .tc-layout__main,body.tc-home-page .tc-layout__side{min-width:0;display:flex;flex-direction:column;gap:18px}
body.tc-home-page .tc-card{min-width:0;border:1px solid var(--tc-home-line);border-radius:12px;background:#fff;box-shadow:none;overflow:hidden}
body.tc-home-page .tc-card__header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-bottom:1px solid var(--tc-home-line)}
body.tc-home-page .tc-card__header--compact{min-height:58px;padding-top:14px;padding-bottom:14px}
body.tc-home-page .tc-card__header>div{min-width:0}
body.tc-home-page .tc-card__header h2{margin:2px 0 0;color:var(--tc-home-text);font-size:16px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
body.tc-home-page .tc-card__kicker{color:#94a3b8;font-size:9px;font-weight:750;letter-spacing:.12em}
body.tc-home-page .tc-icon-btn{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid var(--tc-home-line);border-radius:10px;color:#64748b;background:#fff;cursor:pointer}
body.tc-home-page .tc-icon-btn:hover{border-color:#a9c8f2;color:#1769e0;background:#f8fbff}
body.tc-home-page .tc-outline-btn,body.tc-home-page .tc-primary-btn,body.tc-home-page .tc-link-btn,body.tc-home-page .tc-copy-btn{border:0;font:inherit;cursor:pointer}
body.tc-home-page .tc-outline-btn{min-height:34px;padding:0 11px;border:1px solid var(--tc-home-line);border-radius:10px;color:#475569;background:#fff;font-size:11px;font-weight:600}
body.tc-home-page .tc-outline-btn:hover{border-color:#a9c8f2;color:#1769e0}
body.tc-home-page .tc-primary-btn{min-height:36px;padding:0 14px;border-radius:10px;color:#fff;background:#1769e0;font-size:12px;font-weight:650}
body.tc-home-page .tc-link-btn{display:inline-flex;align-items:center;gap:5px;padding:0;color:#1769e0;background:transparent;font-size:11px;font-weight:650}
body.tc-home-page .tc-copy-btn{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;color:#1769e0;background:#eef5ff}

body.tc-home-page .tc-profile-card__body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;padding:20px}
body.tc-home-page .tc-avatar{width:58px;height:58px;display:grid;place-items:center;border-radius:14px;color:#fff;background:#1769e0;font-size:18px;font-weight:750;cursor:pointer}
body.tc-home-page .tc-contact-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--tc-home-line);border-radius:9px;overflow:hidden}
body.tc-home-page .tc-contact-item{min-width:0;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff}
body.tc-home-page .tc-contact-item+.tc-contact-item{border-left:1px solid var(--tc-home-line)}
body.tc-home-page .tc-contact-item__icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;color:#1769e0;background:#eef5ff}
body.tc-home-page .tc-contact-item>div:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}
body.tc-home-page .tc-contact-item span{color:#94a3b8;font-size:10px}
body.tc-home-page .tc-contact-item strong{min-width:0;overflow:hidden;color:#334155;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-certification{border-top:1px solid var(--tc-home-line)}
body.tc-home-page .tc-cert-row{min-height:48px;display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:16px;padding:8px 20px}
body.tc-home-page .tc-cert-row+.tc-cert-row{border-top:1px solid var(--tc-home-line)}
body.tc-home-page .tc-cert-row__label{display:flex;align-items:center;gap:7px;color:#64748b;font-size:11px}
body.tc-home-page .tc-cert-row__value{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:7px;color:#334155;font-size:12px}
body.tc-home-page .tc-cert-row__value strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

body.tc-home-page .tc-finance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.tc-home-page .tc-consume-card,body.tc-home-page .tc-credit-card{padding-bottom:18px}
body.tc-home-page .tc-consume-card__value,body.tc-home-page .tc-credit-card__value{padding:18px 20px 8px;color:var(--tc-home-text);font-size:29px;font-weight:750;letter-spacing:-.03em}
body.tc-home-page .tc-consume-card__value small,body.tc-home-page .tc-credit-card__value small{margin-right:3px;color:#64748b;font-size:13px;font-weight:600}
body.tc-home-page .tc-progress-track{height:5px;margin:6px 20px 12px;overflow:hidden;border-radius:10px;background:#eaf0f7}
body.tc-home-page .tc-progress-track span{display:block;height:100%;border-radius:inherit;background:#1769e0}
body.tc-home-page .tc-consume-card__total,body.tc-home-page .tc-credit-card__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px;color:#64748b;font-size:11px}
body.tc-home-page .tc-consume-card__total strong,body.tc-home-page .tc-credit-card__meta strong{color:#334155;font-size:12px}
body.tc-home-page .tc-credit-card>.tc-link-btn{margin:12px 20px 0}
body.tc-home-page .tc-trend,body.tc-home-page .tc-credit-status{padding:4px 7px;border-radius:10px;font-size:10px;font-weight:700}
body.tc-home-page .tc-trend.is-up,body.tc-home-page .tc-credit-status.is-active{color:#047857;background:#ecfdf5}
body.tc-home-page .tc-trend.is-down,body.tc-home-page .tc-credit-status.is-overdue,body.tc-home-page .tc-credit-status.is-expired,body.tc-home-page .tc-credit-status.is-suspended{color:#b91c1c;background:#fef2f2}
body.tc-home-page .tc-round-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#1769e0;background:#eef5ff}

body.tc-home-page .tc-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.tc-home-page .tc-product-table{min-width:680px}
body.tc-home-page .tc-product-name{display:inline-flex;align-items:center;gap:9px;color:#334155;font-weight:650}
body.tc-home-page .tc-product-mark{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:10px;color:#1769e0;background:#eef5ff}
body.tc-home-page .tc-muted-text{color:#64748b}
body.tc-home-page .tc-due-date{display:inline-flex;align-items:center;gap:5px;color:#64748b}
body.tc-home-page .tc-due-date.is-overdue{color:#b91c1c}
body.tc-home-page .tc-empty-state{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center}
body.tc-home-page .tc-empty-state__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:12px;color:#1769e0;background:#eef5ff;font-size:22px}
body.tc-home-page .tc-empty-state h3{margin:13px 0 6px;color:#334155;font-size:15px}
body.tc-home-page .tc-empty-state p{margin:0 0 14px;color:#94a3b8;font-size:11px}

body.tc-home-page .tc-stat-grid{display:grid;gap:10px}
body.tc-home-page .tc-stat-card{min-width:0;min-height:72px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--tc-home-line);border-radius:11px;color:#334155;background:#fff;text-align:left;cursor:pointer}
body.tc-home-page .tc-stat-card:hover{border-color:#b7cff0}
body.tc-home-page .tc-stat-card__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;font-size:17px}
body.tc-home-page .tc-stat-card__icon.is-blue{color:#1769e0;background:#eef5ff}body.tc-home-page .tc-stat-card__icon.is-violet{color:#6d4bd1;background:#f3f0ff}body.tc-home-page .tc-stat-card__icon.is-orange{color:#b45309;background:#fff7ed}
body.tc-home-page .tc-stat-card__copy{min-width:0;display:flex;flex-direction:column;gap:3px}
body.tc-home-page .tc-stat-card__copy strong{color:#172033;font-size:20px;font-weight:750}
body.tc-home-page .tc-stat-card__copy small{overflow:hidden;color:#64748b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-stat-card__arrow{color:#94a3b8}

body.tc-home-page .tc-referral{position:relative;overflow:hidden;padding:20px;border-radius:12px;color:#fff;background:#0f315f;background-image:none}
body.tc-home-page .tc-referral__orb{display:none}
body.tc-home-page .tc-referral__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.tc-home-page .tc-referral__head span{color:#9eb5d2;font-size:9px;font-weight:750;letter-spacing:.12em}
body.tc-home-page .tc-referral__head h2{margin:4px 0 0;color:#fff;font-size:17px}
body.tc-home-page .tc-referral__head button{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:10px;color:#fff;background:transparent;cursor:pointer}
body.tc-home-page .tc-referral>p{margin:14px 0;color:#c9d7ea;font-size:11px;line-height:1.6}
body.tc-home-page .tc-referral__url{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.06)}
body.tc-home-page .tc-referral__url span{min-width:0;flex:1 1 auto;overflow:hidden;color:#dbeafe;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-referral__url button{border:0;color:#fff;background:transparent;cursor:pointer}
body.tc-home-page .tc-referral__numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.14)}
body.tc-home-page .tc-referral__numbers div{display:flex;flex-direction:column;gap:4px}
body.tc-home-page .tc-referral__numbers strong{color:#fff;font-size:14px}
body.tc-home-page .tc-referral__numbers span{color:#9eb5d2;font-size:9px}
body.tc-home-page .tc-referral-empty{padding:24px;text-align:center}
body.tc-home-page .tc-referral-empty__visual{width:50px;height:50px;display:grid;place-items:center;margin:0 auto 12px;border-radius:12px;color:#1769e0;background:#eef5ff;font-size:22px}
body.tc-home-page .tc-referral-empty h2{margin:0;color:#172033;font-size:16px}
body.tc-home-page .tc-referral-empty p{margin:8px 0 15px;color:#64748b;font-size:11px;line-height:1.6}

body.tc-home-page .tc-feed-list{display:flex;flex-direction:column}
body.tc-home-page .tc-ticket-item,body.tc-home-page .tc-news-item{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 14px;border:0;border-bottom:1px solid var(--tc-home-line);color:#334155;background:#fff;text-align:left;cursor:pointer}
body.tc-home-page .tc-ticket-item:last-child,body.tc-home-page .tc-news-item:last-child{border-bottom:0}
body.tc-home-page .tc-ticket-item:hover,body.tc-home-page .tc-news-item:hover{background:#f8fbff}
body.tc-home-page .tc-ticket-status{max-width:78px;padding:4px 6px;border-radius:10px;color:var(--ticket-color,#1769e0);background:#f8fafc;font-size:9px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-ticket-copy,body.tc-home-page .tc-news-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
body.tc-home-page .tc-ticket-copy strong,body.tc-home-page .tc-news-copy strong{display:-webkit-box;overflow:hidden;color:#334155;font-size:11px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.tc-home-page .tc-ticket-copy small,body.tc-home-page .tc-news-copy small{overflow:hidden;color:#94a3b8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-news-date{color:#64748b;font-size:9px;white-space:nowrap}
body.tc-home-page .tc-ticket-item>i,body.tc-home-page .tc-news-item>i{color:#94a3b8;font-size:11px}

body.tc-home-page .tc-open-dialog{max-width:480px}
body.tc-home-page .wx-code{position:fixed;z-index:50;right:18px;bottom:18px}
body.tc-home-page .wx-img{width:44px;height:44px;display:grid;place-items:center;border:1px solid #d9e5f3;border-radius:50%;color:#1769e0;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.10);font-size:20px;cursor:pointer}
body.tc-home-page .wx-box .tit{margin-bottom:10px;color:#334155;font-size:12px;text-align:center}
body.tc-home-page .wx-box .img{width:180px;height:180px;display:grid;place-items:center}
body.tc-home-page .wx-box .img img{width:100%;height:100%;object-fit:contain}
body.tc-home-page #mainLoading .tc-loading-mark{width:30px;height:30px}
body.tc-home-page #mainLoading .tc-loading-mark span{display:none}
body.tc-home-page #mainLoading .tc-loading-mark::before{width:30px;height:30px;display:block;border:3px solid #dbe7f7;border-top-color:#1769e0;border-radius:50%;content:"";animation:tc-home-spin .72s linear infinite}
@keyframes tc-home-spin{to{transform:rotate(360deg)}}

@media (max-width:1180px){
  body.tc-home-page .tc-layout{grid-template-columns:1fr}
  body.tc-home-page .tc-layout__side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  body.tc-home-page .tc-stat-grid{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  body.tc-home-page .tc-hero{grid-template-columns:1fr}
  body.tc-home-page .tc-balance-panel{margin:0 28px 28px;padding:22px 10px 0;border-left:0;border-top:1px solid rgba(255,255,255,.24)}
  body.tc-home-page .tc-finance-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  body.tc-home-page .tc-hero{min-height:0;border-radius:12px}
  body.tc-home-page .tc-hero__content{padding:26px 20px}
  body.tc-home-page .tc-hero h1{font-size:24px}
  body.tc-home-page .tc-hero__actions{margin-top:18px}
  body.tc-home-page .tc-balance-panel{margin:0 20px 22px;padding:18px 0 0}
  body.tc-home-page .tc-balance-panel__amount{font-size:30px}
  body.tc-home-page .tc-layout{gap:14px;margin-top:14px}
  body.tc-home-page .tc-layout__main,body.tc-home-page .tc-layout__side{gap:14px}
  body.tc-home-page .tc-layout__side{display:flex}
  body.tc-home-page .tc-stat-grid{display:grid;grid-template-columns:1fr}
  body.tc-home-page .tc-card__header{min-height:58px;padding:14px 16px}
  body.tc-home-page .tc-profile-card__body{grid-template-columns:1fr;padding:16px}
  body.tc-home-page .tc-avatar{width:52px;height:52px}
  body.tc-home-page .tc-contact-grid{grid-template-columns:1fr}
  body.tc-home-page .tc-contact-item+.tc-contact-item{border-left:0;border-top:1px solid var(--tc-home-line)}
  body.tc-home-page .tc-cert-row{grid-template-columns:1fr;gap:5px;padding:11px 16px}
  body.tc-home-page .tc-cert-row__value{justify-content:flex-start}
  body.tc-home-page .tc-consume-card__value,body.tc-home-page .tc-credit-card__value{padding-left:16px;padding-right:16px}
  body.tc-home-page .tc-progress-track{margin-left:16px;margin-right:16px}
  body.tc-home-page .tc-consume-card__total,body.tc-home-page .tc-credit-card__meta{padding-left:16px;padding-right:16px}
  body.tc-home-page .tc-credit-card>.tc-link-btn{margin-left:16px}
  body.tc-home-page .tc-product-table{min-width:620px}
}
@media (max-width:430px){
  body.tc-home-page .tc-hero__actions .tc-btn{flex:1 1 calc(50% - 4px);justify-content:center}
  body.tc-home-page .tc-card__header h2{font-size:15px}
  body.tc-home-page .tc-outline-btn{padding:0 8px}
}

/* ===== TungstenCloud v8.1.6: restore original balance/referral character ===== */
body.tc-home-page .tc-dashboard{max-width:1480px}
body.tc-home-page .tc-hero{border-radius:18px}
body.tc-home-page .tc-balance-panel{
  position:relative;
  align-self:stretch;
  margin:22px 22px 22px 0;
  padding:22px 24px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:18px;
  background:rgba(7,22,64,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 12px 30px rgba(8,20,58,.16);
}
body.tc-home-page .tc-balance-panel__head,
body.tc-home-page .tc-balance-panel__foot,
body.tc-home-page .tc-balance-notice,
body.tc-home-page .tc-coin-strip{color:rgba(255,255,255,.90);font-weight:520}
body.tc-home-page .tc-balance-panel__amount{margin:15px 0 12px;color:#fff;font-size:clamp(32px,2.7vw,46px);line-height:1.05;white-space:normal;word-break:break-word}
body.tc-home-page .tc-balance-panel__amount small{color:rgba(255,255,255,.78);font-size:.48em}
body.tc-home-page .tc-balance-panel__foot a,
body.tc-home-page .tc-balance-panel__foot span,
body.tc-home-page .tc-balance-notice,
body.tc-home-page .tc-coin-strip strong{color:#fff}
body.tc-home-page .tc-coin-strip{margin-top:16px;padding-top:14px;border-top-color:rgba(255,255,255,.15)}
body.tc-home-page .tc-referral{
  padding:24px;
  border:0;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(148deg,#111b3d 0%,#20356d 60%,#2d56ad 100%);
  box-shadow:0 18px 42px rgba(19,34,74,.18);
}
body.tc-home-page .tc-referral__orb{display:block;width:150px;height:150px;right:-68px;top:-68px;opacity:.62;background:rgba(86,150,255,.30);box-shadow:-36px 98px 0 0 rgba(100,229,185,.07);filter:blur(2px)}
body.tc-home-page .tc-referral__head,
body.tc-home-page .tc-referral>p,
body.tc-home-page .tc-referral__url,
body.tc-home-page .tc-referral__numbers{position:relative;z-index:1}
body.tc-home-page .tc-referral__head span{color:rgba(255,255,255,.72);font-size:10px}
body.tc-home-page .tc-referral__head h2{margin-top:6px;color:#fff;font-size:20px}
body.tc-home-page .tc-referral__head button{width:36px;height:36px;border-color:rgba(255,255,255,.14);border-radius:11px;background:rgba(255,255,255,.14)}
body.tc-home-page .tc-referral>p{margin:15px 0 17px;color:rgba(255,255,255,.86);font-size:12px;line-height:1.7}
body.tc-home-page .tc-referral__url{padding:10px 11px 10px 13px;border-color:rgba(255,255,255,.19);border-radius:11px;background:rgba(8,18,44,.22)}
body.tc-home-page .tc-referral__url span{color:#fff;font-size:11px}
body.tc-home-page .tc-referral__url button{width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.13)}
body.tc-home-page .tc-referral__numbers{gap:14px;margin-top:18px;padding-top:0;border-top:0}
body.tc-home-page .tc-referral__numbers strong{color:#fff;font-size:18px}
body.tc-home-page .tc-referral__numbers span{margin-top:5px;color:rgba(255,255,255,.72);font-size:10px}
body.tc-home-page .tc-card{border-radius:14px;box-shadow:0 6px 20px rgba(15,49,95,.04)}
body.tc-home-page .tc-layout{gap:16px;margin-top:16px}
body.tc-home-page .tc-layout__main,body.tc-home-page .tc-layout__side{gap:16px}
@media (max-width:900px){body.tc-home-page .tc-balance-panel{margin:0 22px 22px;padding:20px 22px;border-top:1px solid rgba(255,255,255,.24)}}
@media (max-width:760px){body.tc-home-page .tc-balance-panel{margin:0 16px 16px;padding:18px;border-radius:14px}body.tc-home-page .tc-referral{padding:20px;border-radius:14px}}


/* ===== TungstenCloud v8.1.6 unified dashboard redesign ===== */
body.tc-home-page .tc-dashboard{max-width:1560px}
body.tc-home-page .tc-hero,
body.tc-home-page .tc-referral,
html[theme="tungstencloud"] .tc-console-aside{color-scheme:dark}
body.tc-home-page .tc-hero{
  position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(135deg,#0d2a64 0%,#1546a4 48%,#1f67df 100%)!important;
  box-shadow:0 24px 54px rgba(14,42,100,.18)!important;border-radius:22px!important
}
body.tc-home-page .tc-hero:before{content:"";position:absolute;inset:auto auto -72px -72px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 70%)}
body.tc-home-page .tc-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,0) 32%,rgba(255,255,255,.08) 100%);pointer-events:none}
body.tc-home-page .tc-hero__content{position:relative;z-index:1;padding-right:28px}
body.tc-home-page .tc-hero__eyebrow span{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.78)}
body.tc-home-page .tc-hero h1,body.tc-home-page .tc-hero h1 strong{color:#fff!important}
body.tc-home-page .tc-hero__meta{gap:10px;color:rgba(255,255,255,.75)!important}
body.tc-home-page .tc-hero__meta>span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.08)}
body.tc-home-page .tc-level-badge{border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.10)}
body.tc-home-page .tc-hero__actions{gap:10px}
body.tc-home-page .tc-btn{height:38px;border-radius:11px;font-weight:600}
body.tc-home-page .tc-btn--light{background:#fff!important;color:#1750b8!important;box-shadow:0 10px 22px rgba(8,18,44,.15)}
body.tc-home-page .tc-btn--ghost{border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.06)!important;color:#fff!important}
body.tc-home-page .tc-btn--ghost:hover{background:rgba(255,255,255,.12)!important}
body.tc-home-page .tc-balance-panel{
  position:relative;z-index:1;border:1px solid rgba(255,255,255,.12)!important;border-radius:20px!important;
  background:linear-gradient(180deg,rgba(8,24,70,.64) 0%,rgba(14,34,97,.82) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 16px 36px rgba(8,18,44,.22)!important;
  backdrop-filter:blur(14px)
}
body.tc-home-page .tc-balance-panel:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,0) 44%);pointer-events:none}
body.tc-home-page .tc-balance-panel__head,body.tc-home-page .tc-balance-panel__amount,body.tc-home-page .tc-balance-panel__foot,body.tc-home-page .tc-coin-strip{position:relative;z-index:1}
body.tc-home-page .tc-balance-panel__head span,body.tc-home-page .tc-balance-panel__foot span,body.tc-home-page .tc-balance-panel__foot a{color:rgba(255,255,255,.78)!important}
body.tc-home-page .tc-balance-notice{border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important}
body.tc-home-page .tc-balance-panel__amount{color:#fff!important;text-shadow:0 10px 28px rgba(0,0,0,.16)}
body.tc-home-page .tc-balance-panel__amount small{color:rgba(255,255,255,.82)!important}
body.tc-home-page .tc-coin-strip{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.07)!important;color:#fff!important}
body.tc-home-page .tc-profile-card,
body.tc-home-page .tc-referral,
body.tc-home-page .tc-referral-empty{border-radius:20px!important}
body.tc-home-page .tc-profile-card{border:1px solid #dbe6f4!important;box-shadow:0 14px 30px rgba(15,49,95,.06)!important}
body.tc-home-page .tc-card__header{padding-bottom:15px;border-bottom:1px solid #edf2f8}
body.tc-home-page .tc-card__kicker{letter-spacing:.12em}
body.tc-home-page .tc-contact-item{border:1px solid #e6edf7;border-radius:14px;background:#fbfdff}
body.tc-home-page .tc-avatar{border-radius:16px;box-shadow:0 14px 24px rgba(23,80,184,.14)}
body.tc-home-page .tc-certification{display:block;margin-top:16px;padding:14px 16px;border:1px solid #d8e4f4;border-radius:16px;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)}
body.tc-home-page .tc-cert-row--single{display:flex;align-items:center;justify-content:space-between;gap:14px}
body.tc-home-page .tc-cert-row__label{gap:10px;font-weight:600;color:#334155}
body.tc-home-page .tc-cert-row__value--stack{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
body.tc-home-page .tc-cert-row__value--stack strong{overflow:hidden;max-width:220px;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-cert-badge{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 10px;border-radius:999px;background:#e8f1ff;color:#1750b8;font-size:12px;font-weight:700;white-space:nowrap}
body.tc-home-page .tc-link-btn,body.tc-home-page .tc-copy-btn,body.tc-home-page .tc-icon-btn,body.tc-home-page .tc-outline-btn{border-radius:11px!important}
body.tc-home-page .tc-stat-card{border-radius:16px!important;box-shadow:0 8px 24px rgba(15,49,95,.05)!important}
body.tc-home-page .tc-referral{
  position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(180deg,#122c6b 0%,#173a8b 58%,#2056c1 100%)!important;
  box-shadow:0 20px 42px rgba(13,42,100,.18)!important
}
body.tc-home-page .tc-referral:before{content:"";position:absolute;inset:auto -60px -70px auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 72%)}
body.tc-home-page .tc-referral__head button{box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
body.tc-home-page .tc-referral__url{display:flex;gap:10px;align-items:center}
body.tc-home-page .tc-referral__url span{min-width:0;flex:1}
body.tc-home-page .tc-referral__url button{flex:0 0 32px}
body.tc-home-page .tc-referral__numbers>div{padding:12px 12px 10px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
body.tc-home-page .tc-layout{gap:18px!important}
body.tc-home-page .tc-layout__main,body.tc-home-page .tc-layout__side{gap:18px!important}
@media (max-width:1180px){
  body.tc-home-page .tc-hero{border-radius:20px!important}
}
@media (max-width:900px){
  body.tc-home-page .tc-hero__content{padding-right:0}
  body.tc-home-page .tc-balance-panel{margin:0 22px 22px!important;border-radius:18px!important}
}
@media (max-width:760px){
  body.tc-home-page .tc-hero{border-radius:18px!important}
  body.tc-home-page .tc-hero__meta>span{min-height:26px;padding:0 9px}
  body.tc-home-page .tc-btn{width:auto;min-width:0;flex:1 1 calc(50% - 8px)}
  body.tc-home-page .tc-hero__actions{display:flex;flex-wrap:wrap}
  body.tc-home-page .tc-balance-panel{margin:0 16px 16px!important;padding:18px!important;border-radius:18px!important}
  body.tc-home-page .tc-cert-row--single{flex-direction:column;align-items:flex-start}
  body.tc-home-page .tc-cert-row__value--stack{justify-content:flex-start;flex-wrap:wrap}
  body.tc-home-page .tc-cert-row__value--stack strong{max-width:none;white-space:normal;overflow-wrap:anywhere}
}
@media (max-width:480px){
  body.tc-home-page .tc-btn{flex:1 1 100%}
  body.tc-home-page .tc-balance-panel__amount{font-size:18px}
}

/* v8.1.8 mobile bridge */
.tc-mobile-runtime-error{width:min(92vw,520px);margin:96px auto 24px;padding:24px;border:1px solid #dbe4f3;border-radius:16px;background:#fff;box-shadow:0 14px 36px rgba(15,49,95,.1);color:#172033;text-align:center}.tc-mobile-runtime-error strong,.tc-mobile-runtime-error span{display:block}.tc-mobile-runtime-error strong{font-size:18px}.tc-mobile-runtime-error span{margin-top:8px;color:#64748b;font-size:13px;line-height:1.6}@media(max-width:760px){html,body{min-width:0!important;overflow-x:hidden}.tc-dashboard{width:100%;min-width:0}.tc-hero,.tc-card,.tc-layout,.tc-layout__main,.tc-layout__side{min-width:0}.tc-layout{display:block!important}.tc-layout__side{margin-top:14px}body.tc-home-page .tc-hero{padding:0!important;border-radius:18px!important}body.tc-home-page .tc-hero__content{padding:26px 20px!important}body.tc-home-page .tc-balance-panel{width:auto!important;max-width:none!important;margin:0 20px 20px!important}.tc-profile-card__body,.tc-contact-grid,.tc-finance-grid{grid-template-columns:1fr!important}.tc-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* v8.1.14 remove nested dashboard frames */
body.tc-home-page .tc-contact-grid{gap:10px;border:0!important;border-radius:0!important;overflow:visible!important}
body.tc-home-page .tc-contact-item,body.tc-home-page .tc-contact-item+.tc-contact-item{border:0!important;border-radius:12px!important;background:#f8fafc!important}
body.tc-home-page .tc-card{border:1px solid #dce4ee!important;border-radius:14px!important;box-shadow:0 1px 2px rgba(15,23,42,.025),0 8px 22px rgba(15,23,42,.045)!important}
body.tc-home-page .tc-card__header{border-bottom:1px solid #edf1f6!important}
body.tc-home-page .tc-btn,body.tc-home-page .tc-outline-btn,body.tc-home-page .tc-primary-btn{height:auto!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 13px!important;border-radius:10px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important}
body.tc-home-page .tc-ticket-item:last-child,body.tc-home-page .tc-news-item:last-child{border-bottom:0!important}

/* ===== TungstenCloud v8.2.5 actual home.htm cleanup =====
 * Fixes the real /home/template dashboard (not the clientarea fallback home template).
 */
body.tc-home-page .tc-hero,
body.tc-home-page .tc-card,
body.tc-home-page .tc-stat-card,
body.tc-home-page .tc-referral,
body.tc-home-page .tc-balance-panel,
body.tc-home-page .tc-contact-item,
body.tc-home-page .tc-certification{box-sizing:border-box}

/* Remove decorative layers / duplicated frames that showed up as stray colour blocks. */
body.tc-home-page .tc-hero{border:0!important;box-shadow:none!important}
body.tc-home-page .tc-hero:before,
body.tc-home-page .tc-hero:after,
body.tc-home-page .tc-balance-panel:before,
body.tc-home-page .tc-referral:before,
body.tc-home-page .tc-referral:after{display:none!important;content:none!important;background:none!important;box-shadow:none!important}
body.tc-home-page .tc-hero__glow,
body.tc-home-page .tc-referral__orb{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important}
body.tc-home-page .tc-balance-panel{border:0!important;background:rgba(8,28,78,.62)!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important}
body.tc-home-page .tc-balance-notice{height:32px!important;min-height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 11px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.12)!important;box-shadow:none!important;line-height:1!important}

/* Profile: move real-name verification into the card header area instead of consuming a full row. */
body.tc-home-page .tc-profile-card{position:relative!important;overflow:visible!important;border:1px solid #e3eaf3!important;box-shadow:none!important}
body.tc-home-page .tc-profile-card .tc-card__header{padding-right:236px!important}
body.tc-home-page .tc-profile-card__body{padding:18px 20px!important}
body.tc-home-page .tc-contact-grid{gap:10px!important;border:0!important;background:transparent!important}
body.tc-home-page .tc-contact-item,
body.tc-home-page .tc-contact-item+.tc-contact-item{min-height:52px!important;padding:9px 12px!important;border:0!important;border-radius:10px!important;background:#f8fafc!important;box-shadow:none!important}
body.tc-home-page .tc-contact-item__icon{width:32px!important;height:32px!important;flex:0 0 32px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important}
body.tc-home-page .tc-certification{position:absolute!important;z-index:5!important;top:15px!important;right:62px!important;width:auto!important;max-width:300px!important;display:flex!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
body.tc-home-page .tc-cert-row,
body.tc-home-page .tc-cert-row--single{width:auto!important;min-height:34px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:9px!important;background:#f8fafc!important;box-shadow:none!important;white-space:nowrap!important}
body.tc-home-page .tc-cert-row__label{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#52617a!important;font-size:11px!important;font-weight:650!important;line-height:1!important}
body.tc-home-page .tc-cert-row__label i{width:14px!important;display:inline-grid!important;place-items:center!important;margin:0!important}
body.tc-home-page .tc-cert-row__value,
body.tc-home-page .tc-cert-row__value--stack{min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;font-size:11px!important;line-height:1!important}
body.tc-home-page .tc-cert-row__value--stack strong{max-width:112px!important;font-size:11px!important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}
body.tc-home-page .tc-cert-badge{height:22px!important;padding:0 7px!important;border:0!important;border-radius:999px!important;background:#eef5ff!important;color:#1769e0!important;font-size:10px!important;box-shadow:none!important}
body.tc-home-page .tc-certification .tc-link-btn{height:28px!important;min-height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0 8px!important;border:0!important;border-radius:8px!important;background:#eef5ff!important;color:#1769e0!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important}
body.tc-home-page .tc-certification .tc-copy-btn{width:26px!important;height:26px!important;min-width:26px!important;display:grid!important;place-items:center!important;margin:0!important;border:0!important;border-radius:8px!important;background:#eef5ff!important;box-shadow:none!important}

/* Keep every content card to one frame only. */
body.tc-home-page .tc-card{border:1px solid #e3eaf3!important;background:#fff!important;background-image:none!important;box-shadow:none!important}
body.tc-home-page .tc-card__header{border-bottom:1px solid #eef2f6!important;background:transparent!important;box-shadow:none!important}
body.tc-home-page .tc-finance-grid .tc-card{overflow:hidden!important}
body.tc-home-page .tc-round-icon{width:32px!important;height:32px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important}

/* Side stats: remove the coloured tiles behind icons and align icon / number / label / arrow. */
body.tc-home-page .tc-stat-grid{gap:10px!important}
body.tc-home-page .tc-stat-card{min-height:62px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 20px!important;align-items:center!important;gap:10px!important;margin:0!important;padding:10px 12px!important;border:1px solid #e3eaf3!important;border-radius:12px!important;background:#fff!important;background-image:none!important;box-shadow:none!important;text-align:left!important}
body.tc-home-page .tc-stat-card__icon,
body.tc-home-page .tc-stat-card__icon.is-blue,
body.tc-home-page .tc-stat-card__icon.is-violet,
body.tc-home-page .tc-stat-card__icon.is-orange{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:#1769e0!important;font-size:17px!important;line-height:1!important}
body.tc-home-page .tc-stat-card__icon i{display:block!important;width:18px!important;height:18px!important;margin:0!important;line-height:18px!important;text-align:center!important}
body.tc-home-page .tc-stat-card__copy{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;margin:0!important}
body.tc-home-page .tc-stat-card__copy strong{margin:0!important;color:#172033!important;font-size:18px!important;font-weight:750!important;line-height:1.05!important}
body.tc-home-page .tc-stat-card__copy small{display:block!important;max-width:100%!important;margin:0!important;color:#64748b!important;font-size:10px!important;line-height:1.25!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
body.tc-home-page .tc-stat-card__arrow{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;margin:0!important;color:#94a3b8!important;font-size:12px!important;line-height:1!important}

/* Referral: the old .tc-referral__orb entered normal flow and created the huge empty top half. */
body.tc-home-page .tc-referral{min-height:0!important;padding:16px!important;border:0!important;border-radius:14px!important;background:#173f91!important;background-image:none!important;box-shadow:none!important;color:#fff!important}
body.tc-home-page .tc-referral__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:0!important}
body.tc-home-page .tc-referral__head h2{margin:3px 0 0!important;font-size:18px!important;line-height:1.2!important}
body.tc-home-page .tc-referral__head button{width:32px!important;height:32px!important;min-width:32px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.11)!important;box-shadow:none!important;line-height:1!important}
body.tc-home-page .tc-referral>p{margin:10px 0!important;color:rgba(236,243,255,.82)!important;font-size:11px!important;line-height:1.45!important}
body.tc-home-page .tc-referral__url{height:38px!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0 7px 0 11px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;box-shadow:none!important}
body.tc-home-page .tc-referral__url button{width:28px!important;height:28px!important;flex:0 0 28px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:rgba(255,255,255,.10)!important;box-shadow:none!important;line-height:1!important}
body.tc-home-page .tc-referral__numbers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 0!important;padding:0!important;border:0!important}
body.tc-home-page .tc-referral__numbers>div{min-height:54px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;margin:0!important;padding:9px 10px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;box-shadow:none!important;backdrop-filter:none!important}
body.tc-home-page .tc-referral__numbers strong{font-size:16px!important;line-height:1.1!important}
body.tc-home-page .tc-referral__numbers span{margin:0!important;font-size:10px!important;line-height:1.25!important}

/* Normalize small action controls so icons and text share the same vertical centre. */
body.tc-home-page .tc-btn,
body.tc-home-page .tc-outline-btn,
body.tc-home-page .tc-primary-btn,
body.tc-home-page .tc-icon-btn,
body.tc-home-page .tc-link-btn,
body.tc-home-page .tc-copy-btn{box-sizing:border-box!important;vertical-align:middle!important}
body.tc-home-page .tc-btn{height:36px!important;min-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 12px!important;line-height:1!important;white-space:nowrap!important}
body.tc-home-page .tc-btn i{width:15px!important;height:15px!important;display:inline-grid!important;place-items:center!important;margin:0!important;line-height:15px!important}
body.tc-home-page .tc-btn span{display:inline-flex!important;align-items:center!important;line-height:1!important}
body.tc-home-page .tc-icon-btn{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important}
body.tc-home-page .tc-icon-btn i,
body.tc-home-page .tc-outline-btn i,
body.tc-home-page .tc-link-btn i,
body.tc-home-page .tc-copy-btn i{margin:0!important;line-height:1!important}
body.tc-home-page .tc-outline-btn{height:34px!important;min-height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:0 10px!important;line-height:1!important;white-space:nowrap!important}
body.tc-home-page .tc-link-btn{min-height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;line-height:1!important}

@media (max-width:900px){
  body.tc-home-page .tc-profile-card .tc-card__header{padding-right:216px!important}
  body.tc-home-page .tc-certification{right:58px!important;max-width:250px!important}
}
@media (max-width:760px){

  body.tc-home-page .tc-certification{position:static!important;width:auto!important;max-width:none!important;margin:0 16px 14px!important;display:flex!important}
  body.tc-home-page .tc-cert-row,
  body.tc-home-page .tc-cert-row--single{width:100%!important;justify-content:space-between!important;flex-direction:row!important;align-items:center!important;padding:6px 8px!important}
  body.tc-home-page .tc-cert-row__value,
  body.tc-home-page .tc-cert-row__value--stack{justify-content:flex-end!important;flex-wrap:nowrap!important}
}
@media (max-width:430px){
  body.tc-home-page .tc-cert-row,
  body.tc-home-page .tc-cert-row--single{align-items:flex-start!important;flex-direction:column!important;gap:6px!important}
  body.tc-home-page .tc-cert-row__value,
  body.tc-home-page .tc-cert-row__value--stack{justify-content:flex-start!important;flex-wrap:wrap!important}
}

/* ===== TungstenCloud v8.2.6 home polish =====
 * Certification is one compact action, and the right stats are locked to the
 * same desktop height as the account card so both columns align exactly.
 */
body.tc-home-page .tc-profile-card .tc-card__header{padding-right:220px!important}
body.tc-home-page .tc-certification{
  position:absolute!important;
  z-index:5!important;
  top:10px!important;
  right:58px!important;
  width:auto!important;
  max-width:none!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.tc-home-page .tc-cert-action{
  height:44px!important;
  min-width:132px!important;
  max-width:168px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #dbe5f1!important;
  border-radius:11px!important;
  color:#334155!important;
  background:#fff!important;
  box-shadow:none!important;
  font:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.tc-home-page .tc-cert-action:hover{border-color:#b9cfee!important;background:#f8fbff!important}
body.tc-home-page .tc-cert-action__mark{
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  color:#1769e0!important;
  background:#eef5ff!important;
  box-shadow:none!important;
  font-size:14px!important;
  line-height:1!important;
}
body.tc-home-page .tc-cert-action__mark i{margin:0!important;line-height:1!important}
body.tc-home-page .tc-cert-action__text{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1!important;
}
body.tc-home-page .tc-cert-action__text small{
  margin:0!important;
  color:#94a3b8!important;
  font-size:9px!important;
  font-weight:500!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
body.tc-home-page .tc-cert-action__text strong{
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  color:#1769e0!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tc-home-page .tc-cert-action.is-passed .tc-cert-action__mark{color:#087d5c!important;background:#eefaf6!important}
body.tc-home-page .tc-cert-action.is-passed .tc-cert-action__text strong{color:#087d5c!important}

@media (min-width:1181px){
  body.tc-home-page .tc-profile-card{height:154px!important;min-height:154px!important}
  body.tc-home-page .tc-profile-card__body{height:88px!important;min-height:88px!important}
  body.tc-home-page .tc-stat-grid{
    height:154px!important;
    min-height:154px!important;
    display:grid!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.tc-home-page .tc-stat-card{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr) 16px!important;
    align-items:center!important;
    column-gap:10px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #e3eaf3!important;
    border-radius:11px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  body.tc-home-page .tc-stat-card__icon,
  body.tc-home-page .tc-stat-card__icon.is-blue,
  body.tc-home-page .tc-stat-card__icon.is-violet,
  body.tc-home-page .tc-stat-card__icon.is-orange{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    color:#1769e0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:15px!important;
    line-height:1!important;
  }
  body.tc-home-page .tc-stat-card__icon i{
    width:16px!important;
    height:16px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    line-height:16px!important;
    text-align:center!important;
  }
  body.tc-home-page .tc-stat-card__copy{
    min-width:0!important;
    height:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:1px!important;
    margin:0!important;
    padding:0!important;
  }
  body.tc-home-page .tc-stat-card__copy strong{
    margin:0!important;
    color:#172033!important;
    font-size:15px!important;
    font-weight:750!important;
    line-height:1!important;
  }
  body.tc-home-page .tc-stat-card__copy small{
    max-width:100%!important;
    margin:0!important;
    color:#64748b!important;
    font-size:9px!important;
    line-height:1.15!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.tc-home-page .tc-stat-card__arrow{
    width:16px!important;
    height:16px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    color:#a0aec0!important;
    font-size:11px!important;
    line-height:1!important;
  }
}

@media (max-width:1180px){
  body.tc-home-page .tc-profile-card{height:auto!important;min-height:0!important}
  body.tc-home-page .tc-profile-card__body{height:auto!important;min-height:0!important}
  body.tc-home-page .tc-stat-grid{height:auto!important;min-height:0!important}
}
@media (max-width:900px){
  body.tc-home-page .tc-profile-card .tc-card__header{padding-right:204px!important}
  body.tc-home-page .tc-certification{right:54px!important}
  body.tc-home-page .tc-cert-action{min-width:124px!important;max-width:150px!important}
}
@media (max-width:760px){

  body.tc-home-page .tc-certification{position:static!important;width:auto!important;margin:0 16px 14px!important}

}

/* ===== TungstenCloud Aurora v8.3.0 suite alignment ===== */
body.tc-home-page{
  --tc-home-line:#e2e8f0;
  --tc-home-line-soft:#edf2f7;
  --tc-home-text:#172033;
  --tc-home-muted:#66758c;
  --tc-home-primary:#1769e0;
}
body.tc-home-page .tc-home-shell{max-width:1400px!important}
body.tc-home-page .tc-card{border-color:var(--tc-home-line)!important;border-radius:14px!important;background:#fff!important;background-image:none!important;box-shadow:0 1px 2px rgba(15,23,42,.02),0 8px 24px rgba(15,23,42,.035)!important}
body.tc-home-page .tc-card__header{min-height:56px!important;padding:0 16px!important;border-bottom-color:var(--tc-home-line-soft)!important}
body.tc-home-page .tc-card__eyebrow{color:#91a0b4!important;letter-spacing:.09em!important}
body.tc-home-page .tc-profile-card{overflow:hidden!important}

body.tc-home-page .tc-profile-grid{gap:10px!important}
body.tc-home-page .tc-profile-field{min-height:48px!important;border:0!important;border-radius:10px!important;background:#f8fafc!important;box-shadow:none!important}
body.tc-home-page .tc-profile-avatar{box-shadow:none!important}

/* Certification: compact one-line action, visually equal to the account detail arrow. */
body.tc-home-page .tc-profile-card .tc-card__header{padding-right:205px!important}
body.tc-home-page .tc-certification{top:10px!important;right:54px!important}
body.tc-home-page .tc-cert-action{
  width:auto!important;
  min-width:0!important;
  max-width:150px!important;
  height:36px!important;
  min-height:36px!important;
  gap:7px!important;
  padding:0 10px!important;
  border-color:#dfe7f1!important;
  border-radius:9px!important;
  background:#fff!important;
}
body.tc-home-page .tc-cert-action__mark{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  border:0!important;
  border-radius:0!important;
  color:var(--tc-home-primary)!important;
  background:transparent!important;
  font-size:13px!important;
}
body.tc-home-page .tc-cert-action__text{min-width:0!important;flex-direction:row!important;align-items:center!important;gap:5px!important}
body.tc-home-page .tc-cert-action__text small{color:#7d8ca0!important;font-size:10px!important;line-height:1!important}
body.tc-home-page .tc-cert-action__text strong{color:var(--tc-home-primary)!important;font-size:11px!important;line-height:1!important}
body.tc-home-page .tc-cert-action.is-passed .tc-cert-action__mark,
body.tc-home-page .tc-cert-action.is-passed .tc-cert-action__text strong{color:#087d5c!important}

/* Right metrics: same geometry and optical centre for all three rows. */
@media (min-width:1181px){

  body.tc-home-page .tc-profile-card__body{height:94px!important;min-height:94px!important}
  body.tc-home-page .tc-stat-grid{height:150px!important;min-height:150px!important;gap:8px!important}
  body.tc-home-page .tc-stat-card{grid-template-columns:24px minmax(0,1fr) 14px!important;padding:0 14px!important;border-color:var(--tc-home-line)!important;border-radius:11px!important}
  body.tc-home-page .tc-stat-card__icon,
  body.tc-home-page .tc-stat-card__icon.is-blue,
  body.tc-home-page .tc-stat-card__icon.is-violet,
  body.tc-home-page .tc-stat-card__icon.is-orange{width:24px!important;height:24px!important;min-width:24px!important;color:var(--tc-home-primary)!important}
  body.tc-home-page .tc-stat-card__copy strong{font-size:15px!important}
  body.tc-home-page .tc-stat-card__copy small{font-size:9px!important}
}

/* Remaining dashboard cards use a single, quiet border language. */

body.tc-home-page .tc-finance-grid .tc-card,
body.tc-home-page .tc-product-card,
body.tc-home-page .tc-ticket-card{border-color:var(--tc-home-line)!important;box-shadow:none!important}
body.tc-home-page .tc-progress-track{height:5px!important;border-radius:999px!important;background:#e9eef5!important}
body.tc-home-page .tc-product-table thead th{padding:0!important;border-top:0!important;border-bottom:1px solid var(--tc-home-line)!important;background:#f8fafc!important;color:#64748b!important;font-size:10px!important;font-weight:700!important;vertical-align:middle!important}
body.tc-home-page .tc-product-table tbody td{border-bottom-color:var(--tc-home-line-soft)!important}
body.tc-home-page .tc-ticket-row{border-bottom-color:var(--tc-home-line-soft)!important}

/* Referral remains intentionally blue, but remove nested blocks/extra visual noise. */
body.tc-home-page .tc-referral{padding:15px!important;border-radius:14px!important;background:linear-gradient(145deg,#173f91,#245dc0)!important;box-shadow:none!important}
body.tc-home-page .tc-referral::before,
body.tc-home-page .tc-referral::after,
body.tc-home-page .tc-referral__orb{display:none!important;content:none!important}
body.tc-home-page .tc-referral__url{border:1px solid rgba(255,255,255,.10)!important;background:rgba(8,30,79,.16)!important}
body.tc-home-page .tc-referral__numbers>div{border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.07)!important}

@media(max-width:900px){
  body.tc-home-page .tc-profile-card .tc-card__header{padding-right:190px!important}
  body.tc-home-page .tc-certification{right:50px!important}
}
@media(max-width:760px){

  body.tc-home-page .tc-certification{position:static!important;width:auto!important;margin:0 14px 12px!important}
  body.tc-home-page .tc-cert-action{width:100%!important;max-width:none!important}
  body.tc-home-page .tc-card{box-shadow:none!important}
}

/* ===== TungstenCloud Aurora v8.3.1 home refinement ===== */
body.tc-home-page .tc-dashboard{width:100%!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important}
body.tc-home-page .tc-layout{grid-template-columns:minmax(0,1fr) 336px!important;gap:16px!important;margin-top:16px!important}
body.tc-home-page .tc-layout__main,body.tc-home-page .tc-layout__side{gap:16px!important}
body.tc-home-page .tc-card{border-color:#e2e8f0!important;box-shadow:none!important}
body.tc-home-page .tc-card__header{min-height:56px!important;padding:0 16px!important}
body.tc-home-page .tc-card__header h2{font-size:15px!important}
body.tc-home-page .tc-card__kicker{font-size:9px!important;color:#94a3b8!important}
body.tc-home-page .tc-profile-card__body{padding:14px 16px!important}
body.tc-home-page .tc-contact-grid{gap:10px!important}
body.tc-home-page .tc-contact-item{min-height:48px!important;padding:9px 12px!important;border:0!important;background:#f8fafc!important;box-shadow:none!important}
body.tc-home-page .tc-contact-item__icon{width:28px!important;height:28px!important;flex-basis:28px!important;border-radius:8px!important}
body.tc-home-page .tc-profile-card .tc-card__header{padding-right:202px!important}
body.tc-home-page .tc-certification{top:10px!important;right:52px!important}
body.tc-home-page .tc-cert-action{height:36px!important;min-height:36px!important;max-width:146px!important;padding:0 10px!important;border:1px solid #dfe7f1!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
body.tc-home-page .tc-cert-action__mark{width:20px!important;height:20px!important;flex-basis:20px!important;background:#eef5ff!important;border-radius:7px!important}
body.tc-home-page .tc-cert-action__text{gap:4px!important}
body.tc-home-page .tc-cert-action__text small{font-size:9px!important;color:#7b8799!important}
body.tc-home-page .tc-cert-action__text strong{font-size:10px!important}
body.tc-home-page .tc-stat-grid{gap:8px!important}
body.tc-home-page .tc-stat-card{border:1px solid #e2e8f0!important;border-radius:11px!important;box-shadow:none!important;background:#fff!important}
body.tc-home-page .tc-stat-card__icon{background:#f5f8fc!important;border-radius:8px!important}
body.tc-home-page .tc-finance-grid{gap:14px!important}
body.tc-home-page .tc-finance-grid .tc-card{min-height:170px!important}
body.tc-home-page .tc-product-table .cell{display:flex;align-items:center;min-height:100%;line-height:1.35!important}
body.tc-home-page .tc-product-table th.el-table__cell{height:38px!important;padding:0!important;background:#f8fafc!important}
body.tc-home-page .tc-product-table td.el-table__cell{height:44px!important;padding:0!important;border-bottom-color:#edf2f7!important;vertical-align:middle!important}
body.tc-home-page .tc-referral{padding:14px!important;border-radius:14px!important;box-shadow:none!important}
body.tc-home-page .tc-referral__head{align-items:center!important}
body.tc-home-page .tc-referral__url{min-height:38px!important}
body.tc-home-page .tc-referral__numbers{gap:8px!important;margin-top:10px!important}
body.tc-home-page .tc-referral__numbers>div{padding:9px 10px!important;border-radius:10px!important}
body.tc-home-page .tc-ticket-card .tc-card__header{min-height:52px!important}
body.tc-home-page .tc-ticket-row{min-height:42px!important}
body.tc-home-page .tc-btn,body.tc-home-page .tc-icon-btn,body.tc-home-page .tc-outline-btn,body.tc-home-page .tc-link-btn,body.tc-home-page .tc-copy-btn{box-shadow:none!important}
body.tc-home-page .tc-btn i,body.tc-home-page .tc-icon-btn i,body.tc-home-page .tc-outline-btn i,body.tc-home-page .tc-link-btn i,body.tc-home-page .tc-copy-btn i{line-height:1!important}
@media(min-width:1181px){
  body.tc-home-page .tc-profile-card{height:150px!important;min-height:150px!important}
  body.tc-home-page .tc-stat-grid{height:150px!important;min-height:150px!important}
  body.tc-home-page .tc-stat-card{grid-template-columns:30px minmax(0,1fr) 14px!important;padding:0 13px!important}
  body.tc-home-page .tc-stat-card__icon,body.tc-home-page .tc-stat-card__icon.is-blue,body.tc-home-page .tc-stat-card__icon.is-violet,body.tc-home-page .tc-stat-card__icon.is-orange{width:28px!important;height:28px!important;min-width:28px!important}
}
@media(max-width:1180px){body.tc-home-page .tc-layout{grid-template-columns:1fr!important}.tc-layout__side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.tc-stat-grid{grid-column:1/-1!important}}
@media(max-width:900px){body.tc-home-page .tc-profile-card .tc-card__header{padding-right:186px!important}body.tc-home-page .tc-certification{right:48px!important}}
@media(max-width:760px){body.tc-home-page .tc-layout__side{display:flex!important}body.tc-home-page .tc-certification{position:static!important;margin:0 14px 12px!important}body.tc-home-page .tc-cert-action{width:100%!important;max-width:none!important;justify-content:flex-start!important}body.tc-home-page .tc-finance-grid .tc-card{min-height:0!important}}


/* ===== TungstenCloud v8.3.4 requested home polish ===== */
/* 3/4) The certification action now owns the right edge; the separate account arrow was removed in home.php. */
body.tc-home-page .tc-profile-card .tc-card__header{padding-right:172px!important}
body.tc-home-page .tc-certification{right:16px!important}

/* 2) Use one fixed left origin for the three stacked metric rows. */
body.tc-home-page .tc-stat-card{
  justify-items:start!important;
  text-align:left!important;
}
body.tc-home-page .tc-stat-card__icon,
body.tc-home-page .tc-stat-card__icon.is-blue,
body.tc-home-page .tc-stat-card__icon.is-violet,
body.tc-home-page .tc-stat-card__icon.is-orange{
  justify-items:start!important;
  align-items:center!important;
  text-align:left!important;
}
body.tc-home-page .tc-stat-card__icon i{
  width:auto!important;
  min-width:0!important;
  justify-self:start!important;
  text-align:left!important;
}
body.tc-home-page .tc-stat-card__copy{
  width:100%!important;
  align-items:flex-start!important;
  text-align:left!important;
}
body.tc-home-page .tc-stat-card__arrow{justify-self:end!important}

@media (min-width:1181px){
  body.tc-home-page .tc-stat-card{
    grid-template-columns:30px minmax(0,1fr) 14px!important;
    column-gap:10px!important;
    padding-left:14px!important;
    padding-right:13px!important;
  }
}
@media (max-width:900px) and (min-width:761px){
  body.tc-home-page .tc-profile-card .tc-card__header{padding-right:172px!important}
  body.tc-home-page .tc-certification{right:16px!important}
}
@media (max-width:760px){
  body.tc-home-page .tc-profile-card .tc-card__header{padding-right:16px!important}
}

/* ===== TungstenCloud v8.4.5 dashboard consolidation ===== */
body.tc-home-page *,body.tc-home-page *::before,body.tc-home-page *::after{box-sizing:border-box}
body.tc-home-page :is(.tc-dashboard,.tc-layout,.tc-layout__main,.tc-layout__side,.tc-card,.tc-card__body,.tc-card__header,.tc-card__header>*,.tc-contact-grid>*,.tc-stat-card,.tc-stat-card__copy,.tc-feed-list,.tc-ticket-copy,.tc-news-copy){min-width:0!important}
body.tc-home-page .tc-card{overflow:hidden!important}
body.tc-home-page .tc-card__header{align-items:center!important}
body.tc-home-page :is(.tc-btn,.tc-icon-btn,.tc-outline-btn,.tc-link-btn,.tc-copy-btn){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;line-height:1.2!important}
body.tc-home-page :is(.tc-btn,.tc-icon-btn,.tc-outline-btn,.tc-link-btn,.tc-copy-btn) i{flex:0 0 auto;line-height:1!important}
body.tc-home-page :is(.tc-balance-panel__amount,.tc-stat-card__copy strong,.tc-referral__numbers strong,.tc-product-table){font-variant-numeric:tabular-nums}
body.tc-home-page .tc-stat-card{align-items:center!important}
body.tc-home-page .tc-stat-card__copy{align-items:flex-start!important;text-align:left!important}
body.tc-home-page .tc-stat-card__copy :is(strong,small){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-contact-value{overflow-wrap:anywhere;word-break:break-word}
body.tc-home-page :is(.tc-table-wrap,.tc-card__body:has(.tc-product-table)){max-width:100%;overflow-x:auto;scrollbar-width:thin}
body.tc-home-page .tc-product-table{min-width:720px;font-variant-numeric:tabular-nums}
body.tc-home-page .tc-product-table::before,body.tc-home-page .tc-product-table::after{display:none!important}
body.tc-home-page .tc-product-table tbody tr:last-child td.el-table__cell{border-bottom:0!important}
body.tc-home-page .tc-product-table .cell{overflow-wrap:anywhere;word-break:break-word}
body.tc-home-page :is(.tc-product-name,.tc-product-name>span:last-child,.tc-product-table .tc-muted-text){max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.tc-home-page .tc-certification{max-width:min(170px,calc(100% - 32px))!important}
body.tc-home-page .tc-cert-action{min-width:0!important;max-width:100%!important}
body.tc-home-page .tc-cert-action span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.tc-home-page .tc-products-card>.tc-card__header,body.tc-home-page .tc-feed-card>.tc-card__header{min-height:52px!important}
body.tc-home-page .tc-feed-card{align-self:start;width:100%}
body.tc-home-page :is(.tc-ticket-item,.tc-news-item){min-width:0;gap:8px!important;padding-left:12px!important;padding-right:12px!important;align-items:center!important}
body.tc-home-page :is(.tc-ticket-status,.tc-news-date){flex:0 0 auto;max-width:88px;text-align:center}
body.tc-home-page :is(.tc-ticket-copy small,.tc-news-copy small){max-width:100%;white-space:normal!important;line-height:1.35!important;overflow-wrap:anywhere;word-break:break-word}
body.tc-home-page .tc-feed-list>button:last-child{border-bottom:0!important}
body.tc-home-page .tc-card__header h2{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
@media(min-width:1181px){body.tc-home-page .tc-layout__side{width:336px}}
@media(max-width:760px){
  body.tc-home-page .tc-product-table{min-width:640px}
  body.tc-home-page .tc-stat-card__copy :is(strong,small){white-space:normal}
  body.tc-home-page :is(.tc-ticket-status,.tc-news-date){max-width:76px}
  body.tc-home-page :is(.tc-ticket-item,.tc-news-item){padding-left:10px!important;padding-right:10px!important}
}


/* ===== TungstenCloud v8.7.8 PC-only responsive home baseline ===== */
@media(max-width:760px){
  body.tc-home-page .tc-dashboard{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
  body.tc-home-page :is(.tc-hero,.tc-layout,.tc-layout__main,.tc-layout__side,.tc-card,.tc-finance-grid,.tc-profile-card,.tc-stat-grid){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.tc-home-page .tc-layout{grid-template-columns:1fr!important}
  body.tc-home-page .tc-finance-grid{grid-template-columns:1fr!important}
}

/* ===== TungstenCloud 9.9.6 phone referral containment =====
   The <=1180px grid rule leaves align-items:start behind after the right rail
   becomes a vertical flex container. Stretch it again so long referral URLs
   cannot make the blue card wider than the viewport. */
@media(max-width:760px){
  body.tc-home-page .tc-layout__side{align-items:stretch!important}
  body.tc-home-page .tc-referral,
  body.tc-home-page .tc-referral__head,
  body.tc-home-page .tc-referral__url,
  body.tc-home-page .tc-referral__numbers{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.tc-home-page .tc-referral__url span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
