
.tp-v8-account-heading-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
/* Legacy duplicate account menu and meaningless green operational dot: always absent visually. */
body.tp-v6-nav-ready #tpAccountShell,
body.tp-v6-nav-ready .topbar-service,
body.tp-v6-nav-ready .sidebar-status-dot,
body.tp-v6-nav-ready .tp-v5-account-bubble {display:none!important}
body.tp-v6-nav-ready .app-topbar .topbar-tools {width:0!important;min-width:0!important;flex:0 0 0!important;overflow:hidden}
body.tp-v6-nav-ready .app-topbar .topbar-tools:empty{display:none!important}
/* Account: a single TP hierarchy shared with Monitor and Plans components. */
#view-account .tp-v8-account-stack {width:min(100%,1250px);max-width:1250px;margin:0 auto;padding:20px clamp(12px,2vw,28px) 55px;display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
#view-account .tp-v8-account-hero,
#view-account .tp-v8-account-guide,
#view-account #accountCard,
#view-account #tpV7Notifications,
#view-account #billingCard {width:100%;max-width:none!important;margin:0!important;padding:clamp(20px,2.6vw,30px)!important;box-sizing:border-box;border:1px solid var(--tp-line)!important;border-radius:var(--tp-radius)!important;background:linear-gradient(140deg,var(--tp-panel),var(--tp-panel-soft))!important;box-shadow:0 16px 50px rgba(0,11,24,.2)!important;color:#eaf8ff!important}
#view-account [hidden]{display:none!important}
#view-account .tp-v8-account-hero{order:0}
#view-account #accountCard{order:1}
#view-account .tp-v8-account-guide{order:2}
#view-account #tpV7Notifications{order:3}
#view-account #billingCard{order:4}
#view-account .tp-v8-account-topline{display:flex;align-items:flex-start;gap:15px}
#view-account .tp-v8-account-heading-icon{flex:0 0 50px;width:50px;height:50px;display:grid;place-items:center;border-radius:16px;color:#e1f9ff;background:linear-gradient(140deg,#278dc5,#114c83);border:1px solid #58bbe9;box-shadow:0 0 28px rgba(43,156,225,.17)}
#view-account .tp-v8-account-heading-icon svg{height:27px;width:27px;stroke-width:1.7}
#view-account .tp-v8-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:#76d7fa;margin-bottom:10px}
#view-account .tp-v8-account-hero h2{font-size:clamp(27px,3.5vw,41px);letter-spacing:-.035em;line-height:1.15;margin:0 0 10px;color:#f4fcff}
#view-account .tp-v8-account-hero p{font-size:13px;color:#adcddd;line-height:1.6;margin:0}
#view-account .tp-v8-account-identity {margin-top:22px;padding:15px 18px;display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid rgba(67,150,207,.3);border-radius:12px;background:rgba(4,21,38,.42);flex-wrap:wrap}
#view-account .tp-v8-account-identity span{color:#a9c6d7;font-size:12px}
#view-account .tp-v8-account-identity strong{font-size:14px;color:#e0faff;max-width:100%;overflow-wrap:anywhere}
#view-account .tp-v8-account-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
#view-account .tp-v8-account-metrics>div{min-width:0;padding:15px;display:flex;flex-direction:column;gap:9px;border:1px solid rgba(85,170,220,.27);border-radius:12px;background:linear-gradient(130deg,rgba(34,93,130,.42),rgba(5,27,44,.48))}
#view-account .tp-v8-account-metrics small{color:#a7cee1;font-size:11px}
#view-account .tp-v8-account-metrics strong{color:#e9faff;font-size:17px;line-height:1.3;overflow-wrap:anywhere}
#view-account .tp-v8-account-actions {margin-top:18px;display:flex;gap:9px;flex-wrap:wrap}
#view-account .tp-v8-account-actions a,#view-account .tp-v8-account-actions button,#view-account #accountCard button,#view-account #tpV7Notifications button,#view-account #billingCard button {border:1px solid rgba(90,193,240,.4)!important;border-radius:var(--tp-control-radius)!important;background:rgba(20,78,122,.53)!important;color:#e3faff!important;min-height:40px!important;display:inline-flex;align-items:center;justify-content:center;padding:9px 14px!important;font:750 12px/1.3 Inter,system-ui,sans-serif;text-decoration:none!important;cursor:pointer}
#view-account .tp-v8-account-actions .tp-v8-signout {background:rgba(123,43,62,.25)!important;border-color:rgba(250,141,160,.4)!important;color:#ffd4db!important}
#view-account .tp-v8-account-guide h3 {font-size:clamp(21px,2.8vw,27px);margin:0 0 18px;color:#eaf8ff}
#view-account .tp-v8-account-guide-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#view-account .tp-v8-account-guide-grid p {margin:0;line-height:1.7;color:#b7d1df;background:rgba(16,51,78,.52);border:1px solid rgba(70,147,191,.25);border-radius:11px;padding:15px;font-size:12px}
#view-account .status-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px}
#view-account .status-grid>div {background:rgba(6,28,45,.52)!important;border:1px solid rgba(81,159,208,.29)!important;border-radius:12px!important;padding:14px!important;min-width:0}
#view-account #tpV7Notifications h3,#view-account #billingCard h3 {color:#eafaff!important;font-size:clamp(21px,2.5vw,26px);margin:5px 0 9px}
#view-account .fine,#view-account .status-grid span {color:#b1cbdc!important;line-height:1.65}
#view-account #billingPlans {width:100%}
#view-account .message {border-radius:11px!important;margin-top:15px}
#view-account .tp-v8-account-login label.pilot {max-width:540px}
#view-account .tp-v8-account-login label.pilot input {border:1px solid rgba(115,186,234,.3);border-radius:10px;background:#071d31;color:#fff}
/* The retained backend status remains a machine input, never an operational claim in the UI. */
#view-account #backendStatus,#view-account #backendStatusCell{display:none!important}
@media(max-width:1180px){
}
@media(max-width:700px){
  #view-account .tp-v8-account-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  #view-account .tp-v8-account-guide-grid{grid-template-columns:1fr}
  #view-account .tp-v8-account-heading-icon{width:42px;height:42px;flex-basis:42px}
}
@media(max-width:365px){}

/* V7 Home applies 90% document zoom on desktop. Match it on standalone pages,
   preventing the header from changing physical height when switching sections. */
@media(min-width:1181px){body.studio-v07.tp-v6-nav-ready,body.tp-v6-nav-ready:has(.plans-header){zoom:.9!important}}
/* Narrow legacy Home widgets must not widen the document beyond the viewport. */
@media(max-width:360px){
 body.tp-v6-nav-ready #view-home .public-hero {min-width:0!important;width:100%!important;grid-template-columns:minmax(0,1fr)!important}
 body.tp-v6-nav-ready #view-home .public-visual-stage,
 body.tp-v6-nav-ready #view-home .tp-hero-demo {min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
 body.tp-v6-nav-ready .app-main,body.tp-v6-nav-ready #view-home {min-width:0!important;max-width:100%!important}
}
