.tevco-account-entry{position:relative}.tevco-account-entry>a{display:flex!important;align-items:center;gap:8px}.tevco-account-entry .tevco-account-copy{display:flex;flex-direction:column;line-height:1.15}.tevco-account-entry .tevco-account-copy small{font-size:11px;color:var(--tevco-muted,#687386)}.tevco-account-entry .tevco-account-copy strong{font-size:13px}.tevco-account-menu{position:absolute;top:calc(100% + 12px);left:0;min-width:280px;background:#fff;border:1px solid #e4e9ef;border-radius:16px;box-shadow:0 18px 45px rgba(11,39,72,.16);padding:10px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s;z-index:999}.tevco-account-entry:hover .tevco-account-menu,.tevco-account-entry:focus-within .tevco-account-menu,.tevco-account-entry.is-open .tevco-account-menu{opacity:1;visibility:visible;transform:none}.tevco-account-menu-header{padding:12px;border-bottom:1px solid #edf0f4;margin-bottom:6px}.tevco-account-menu-header strong,.tevco-account-menu-header small{display:block}.tevco-account-menu a{display:flex!important;align-items:center;justify-content:space-between;min-height:42px;padding:9px 10px;border-radius:10px;color:#142033!important}.tevco-account-menu a:hover{background:#f3f7fb;color:#123f73!important}.tevco-account-menu .is-danger{color:#b42318!important}.tevco-account-menu .is-admin{background:#eef5ff;color:#123f73!important;font-weight:700}.tevco-invoices>header{background:linear-gradient(135deg,#0b2748,#123f73);color:#fff;border-radius:20px;padding:24px;margin-bottom:20px}.tevco-invoices>header span{font-size:12px;opacity:.8}.tevco-invoices>header h2{margin:4px 0 6px;color:#fff}.tevco-invoices>header p{margin:0;opacity:.85}.tevco-invoice-list{display:grid;gap:12px}.tevco-invoice-card{display:grid;grid-template-columns:1.1fr .8fr .8fr auto;align-items:center;gap:16px;background:#fff;border:1px solid #e4e9ef;border-radius:16px;padding:16px}.tevco-invoice-card small,.tevco-invoice-card span{display:block;color:#687386;font-size:12px}.tevco-invoice-actions{display:flex;gap:8px}.tevco-invoice-actions a{padding:10px 12px;border:1px solid #d9e0e8;border-radius:10px;font-weight:700;white-space:nowrap}.tevco-invoice-actions .is-primary{background:#0b2748;color:#fff;border-color:#0b2748}.tevco-invoices-empty{text-align:center;background:#fff;border:1px solid #e4e9ef;border-radius:18px;padding:34px}.tevco-invoices-empty>span{display:block;width:48px;margin:auto;color:#123f73}.tevco-invoices-empty a{display:inline-flex;margin-top:12px;background:#0b2748;color:#fff;padding:11px 16px;border-radius:10px}.tevco-account-portal-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 22px}.tevco-account-portal-links>a{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #e4e9ef;border-radius:16px;padding:16px;color:#142033}.tevco-account-portal-links>a>span{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#eef5ff;color:#123f73}.tevco-account-portal-links svg{width:20px;height:20px}.tevco-account-portal-links strong,.tevco-account-portal-links small{display:block}.tevco-account-portal-links small{color:#687386;margin-top:3px}@media(max-width:900px){.tevco-account-copy{display:none!important}.tevco-account-menu{position:fixed;top:74px;left:12px;right:12px;min-width:0}.tevco-invoice-card{grid-template-columns:1fr 1fr}.tevco-invoice-actions{grid-column:1/-1}.tevco-account-portal-links{grid-template-columns:1fr 1fr}}@media(max-width:560px){.tevco-invoice-card{grid-template-columns:1fr}.tevco-invoice-actions{grid-column:auto;flex-direction:column}.tevco-account-portal-links{grid-template-columns:1fr}}

/* TEVCO 3.5.1 — My Account layout repair.
   WooCommerce expects exactly two layout children: navigation and content. */
body.tevco-account-pro-page .woocommerce{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 270px!important;
  grid-template-areas:"content navigation"!important;
  gap:24px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
}
body.tevco-account-pro-page .woocommerce-MyAccount-navigation{
  grid-area:navigation!important;
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  position:sticky!important;
  top:108px!important;
  overflow:hidden!important;
}
body.tevco-account-pro-page .woocommerce-MyAccount-content{
  grid-area:content!important;
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:22px!important;
  overflow:visible!important;
}
body.tevco-account-pro-page .woocommerce-MyAccount-navigation ul{
  width:100%!important;
  min-width:0!important;
}
body.tevco-account-pro-page .woocommerce-MyAccount-navigation li,
body.tevco-account-pro-page .woocommerce-MyAccount-navigation a{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.tevco-account-pro-page .woocommerce-orders-table,
body.tevco-account-pro-page .woocommerce-table--order-details{
  width:100%!important;
  max-width:100%!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body.tevco-account-pro-page .woocommerce-orders-table th,
body.tevco-account-pro-page .woocommerce-orders-table td{
  padding:14px 12px!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.tevco-account-pro-page .woocommerce-orders-table__cell-order-actions{
  min-width:150px!important;
}
body.tevco-account-pro-page .woocommerce-orders-table__cell-order-actions .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  margin:3px!important;
  padding:7px 10px!important;
  white-space:nowrap!important;
  border-radius:9px!important;
}
body.tevco-account-pro-page .tevco-account-nav-help,
body.tevco-account-pro-page .tevco-account-help{
  display:none!important;
}
body.tevco-account-pro-page .tevco-compare-dock{
  display:none!important;
}
@media (max-width:1100px){
  body.tevco-account-pro-page .woocommerce{
    grid-template-columns:minmax(0,1fr) 230px!important;
    gap:18px!important;
  }
}
@media (max-width:900px){
  body.tevco-account-pro-page .woocommerce{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"navigation" "content"!important;
  }
  body.tevco-account-pro-page .woocommerce-MyAccount-navigation{
    position:static!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  body.tevco-account-pro-page .woocommerce-MyAccount-navigation ul{
    display:flex!important;
    width:max-content!important;
    min-width:100%!important;
    gap:6px!important;
  }
  body.tevco-account-pro-page .woocommerce-MyAccount-navigation li,
  body.tevco-account-pro-page .woocommerce-MyAccount-navigation a{
    width:auto!important;
    flex:0 0 auto!important;
  }
  body.tevco-account-pro-page .woocommerce-MyAccount-content{
    padding:16px!important;
  }
  body.tevco-account-pro-page .woocommerce-orders-table{
    display:block!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
}
@media (max-width:560px){
  body.tevco-account-pro-page .woocommerce-MyAccount-content{
    padding:12px!important;
    border-radius:16px!important;
  }
  body.tevco-account-pro-page .woocommerce-orders-table thead{
    display:none!important;
  }
  body.tevco-account-pro-page .woocommerce-orders-table,
  body.tevco-account-pro-page .woocommerce-orders-table tbody,
  body.tevco-account-pro-page .woocommerce-orders-table tr,
  body.tevco-account-pro-page .woocommerce-orders-table td{
    display:block!important;
    width:100%!important;
  }
  body.tevco-account-pro-page .woocommerce-orders-table tr{
    padding:12px!important;
    border-bottom:1px solid #e5eaf1!important;
  }
  body.tevco-account-pro-page .woocommerce-orders-table td{
    display:flex!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:8px 0!important;
    border:0!important;
    text-align:start!important;
  }
  body.tevco-account-pro-page .woocommerce-orders-table td::before{
    content:attr(data-title)!important;
    font-weight:700!important;
    color:#123f73!important;
  }
}

/* TEVCO 4.3 — unified customer command center and invoice controls. */
body.tevco-account-pro-page{
  background:#f3f6fa;
}
body.tevco-account-pro-page .woocommerce-MyAccount-content{
  border:1px solid #e1e7ee;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 46px rgba(18,59,109,.06);
}
body.tevco-account-pro-page .woocommerce-MyAccount-navigation{
  border-radius:20px!important;
  border-color:#dfe6ee!important;
  box-shadow:0 14px 38px rgba(18,59,109,.065)!important;
}
body.tevco-account-pro-page .woocommerce-MyAccount-navigation li.is-active a{
  position:relative;
  overflow:hidden;
}
body.tevco-account-pro-page .woocommerce-MyAccount-navigation li.is-active a::before{
  content:"";
  position:absolute;
  inset-block:8px;
  inset-inline-start:0;
  width:4px;
  border-radius:999px;
  background:var(--tevco-accent,#e53935);
}
.tevco-account-dashboard{
  gap:20px;
}
.tevco-account-welcome{
  position:relative;
  overflow:hidden;
  min-height:190px;
  padding:30px!important;
  border:0!important;
  background:linear-gradient(125deg,#0d315d 0%,#174d86 70%,#1d609f 100%)!important;
  color:#fff;
  box-shadow:0 18px 42px rgba(18,59,109,.18);
}
.tevco-account-welcome::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  inset-inline-end:-75px;
  inset-block-start:-115px;
  border:46px solid rgba(255,255,255,.06);
  border-radius:50%;
}
.tevco-account-welcome>div,.tevco-account-welcome>a{
  position:relative;
  z-index:1;
}
.tevco-account-welcome .tevco-page-eyebrow,
.tevco-account-welcome h2{
  color:#fff;
}
.tevco-account-welcome h2{
  margin:8px 0 7px;
  font-size:clamp(25px,3vw,34px);
}
.tevco-account-welcome p{
  max-width:600px;
  color:#d8e5f3!important;
}
.tevco-account-welcome>a{
  border:1px solid rgba(255,255,255,.35);
  background:#fff!important;
  color:#123b6d!important;
}
.tevco-account-identity{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:17px;
}
.tevco-account-identity span{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:10px;
  font-weight:700;
}
.tevco-account-identity .is-verified::before{
  content:"✓";
  margin-inline-end:5px;
  color:#83e5af;
}
.tevco-account-identity .is-pending::before{
  content:"!";
  margin-inline-end:5px;
  color:#ffd37c;
}
.tevco-account-stats{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.tevco-account-stats article{
  position:relative;
  overflow:hidden;
  min-height:115px;
  align-content:center;
  padding:18px 20px!important;
  border-color:#dfe6ee!important;
  background:linear-gradient(145deg,#fff,#f8fafc)!important;
}
.tevco-account-stats article::after{
  content:"";
  position:absolute;
  width:56px;
  height:56px;
  inset-inline-end:-18px;
  inset-block-end:-18px;
  border-radius:50%;
  background:#edf4fb;
}
.tevco-account-stats small{
  color:#7b8798;
  font-size:10px;
  font-weight:700;
}
.tevco-account-stats b{
  line-height:1.25;
}
.tevco-account-active-order{
  padding:20px;
  border:1px solid #dce5ee;
  border-radius:18px;
  background:#fff;
}
.tevco-account-active-order>header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
}
.tevco-account-active-order header span{
  color:var(--tevco-accent,#e53935);
  font-size:10px;
  font-weight:800;
}
.tevco-account-active-order h3{
  margin:3px 0 0;
  color:#163c69;
  font-size:19px;
}
.tevco-account-active-order header>strong{
  padding:7px 11px;
  border-radius:999px;
  background:#fff4df;
  color:#8a6319;
  font-size:10px;
}
.tevco-account-active-order ol{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:20px 0;
  padding:0;
  list-style:none;
}
.tevco-account-active-order li{
  position:relative;
  display:grid;
  justify-items:center;
  gap:7px;
  color:#8a96a6;
  font-size:10px;
  text-align:center;
}
.tevco-account-active-order li::before{
  content:"";
  position:absolute;
  z-index:0;
  inset-block-start:7px;
  inset-inline-start:50%;
  width:100%;
  height:3px;
  background:#e3e9ef;
}
.tevco-account-active-order li:last-child::before{
  display:none;
}
.tevco-account-active-order li i{
  position:relative;
  z-index:1;
  width:17px;
  height:17px;
  border:4px solid #e3e9ef;
  border-radius:50%;
  background:#fff;
}
.tevco-account-active-order li.is-complete{
  color:#176d43;
  font-weight:700;
}
.tevco-account-active-order li.is-complete::before,
.tevco-account-active-order li.is-complete i{
  border-color:#38a169;
  background:#38a169;
}
.tevco-account-active-order>footer{
  display:flex;
  align-items:center;
  gap:18px;
  padding-top:15px;
  border-top:1px solid #edf0f4;
}
.tevco-account-active-order footer>div{
  display:grid;
}
.tevco-account-active-order footer span{
  color:#8590a0;
  font-size:9px;
}
.tevco-account-active-order footer b{
  color:#243b58;
  font-size:11px;
}
.tevco-account-active-order footer>a{
  margin-inline-start:auto;
  padding:9px 13px;
  border-radius:9px;
  background:#123b6d;
  color:#fff;
  font-size:10px;
  font-weight:700;
}
.tevco-account-section-head span{
  color:var(--tevco-accent,#e53935);
  font-size:10px;
  font-weight:800;
}
.tevco-account-section-head h3{
  margin:3px 0 0;
  color:#173b66;
  font-size:20px;
}
.tevco-account-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.tevco-account-actions>a{
  min-height:102px!important;
}
.tevco-account-actions>a>span{
  width:46px!important;
  height:46px!important;
}
.tevco-account-actions>a:hover{
  border-color:#9db7d3!important;
}
.tevco-order-card-actions{
  display:flex;
  gap:8px;
}
.tevco-order-card-actions a{
  padding:4px 7px;
  border-radius:7px;
  background:#f0f5fa;
}

.tevco-invoices>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:165px;
  padding:28px 30px;
  background:linear-gradient(125deg,#0d315d,#174f89);
  box-shadow:0 16px 38px rgba(18,59,109,.16);
}
.tevco-invoices>header img{
  width:auto;
  max-width:180px;
  height:58px;
  padding:8px 12px;
  border-radius:13px;
  background:#fff;
  object-fit:contain;
}
.tevco-invoice-card{
  grid-template-columns:minmax(190px,1.1fr) minmax(120px,.65fr) minmax(120px,.65fr) minmax(280px,auto);
  padding:17px 18px;
  border-color:#dfe6ee;
  box-shadow:0 7px 22px rgba(18,59,109,.035);
}
.tevco-invoice-card:hover{
  border-color:#b8cade;
}
.tevco-invoice-sent-mark{
  margin-top:4px;
  color:#177245!important;
  font-size:9px!important;
  font-weight:700;
}
.tevco-invoice-actions{
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.tevco-invoice-actions a,
.tevco-invoice-email-form button{
  min-height:39px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border:1px solid #d5dee8;
  border-radius:9px;
  background:#fff;
  color:#123b6d;
  font:inherit;
  font-size:10px;
  font-weight:750;
  white-space:nowrap;
  cursor:pointer;
}
.tevco-invoice-actions .is-primary{
  border-color:#123b6d;
  background:#123b6d;
  color:#fff;
}
.tevco-invoice-email-form{
  margin:0;
}
.tevco-invoice-email-form button{
  border-color:#dfe6ee;
  background:#f2f6fa;
}
.tevco-invoice-email-form button:disabled{
  opacity:.65;
  cursor:wait;
}
.tevco-invoice-pagination{
  margin-top:18px;
}
.tevco-invoice-pagination ul{
  display:flex;
  justify-content:center;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}
.tevco-invoice-pagination a,
.tevco-invoice-pagination span{
  min-width:38px;
  min-height:38px;
  display:grid;
  place-items:center;
  padding:0 9px;
  border:1px solid #dce4ed;
  border-radius:9px;
  background:#fff;
  color:#123b6d;
  font-size:11px;
  font-weight:700;
}
.tevco-invoice-pagination .current{
  border-color:#123b6d;
  background:#123b6d;
  color:#fff;
}

@media(max-width:1180px){
  .tevco-account-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tevco-invoice-card{
    grid-template-columns:1fr 1fr;
  }
  .tevco-invoice-actions{
    grid-column:1/-1;
    justify-content:flex-start;
  }
}
@media(max-width:760px){
  .tevco-account-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tevco-account-active-order>footer{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .tevco-account-active-order footer>a{
    width:100%;
    margin-inline-start:0;
    text-align:center;
  }
  .tevco-invoices>header{
    min-height:0;
    padding:23px;
  }
  .tevco-invoices>header img{
    max-width:125px;
    height:48px;
  }
}
@media(max-width:560px){
  .tevco-account-welcome{
    min-height:0;
    padding:22px!important;
  }
  .tevco-account-actions{
    grid-template-columns:1fr!important;
  }
  .tevco-account-active-order{
    padding:16px;
  }
  .tevco-account-active-order ol{
    gap:4px;
  }
  .tevco-account-active-order li{
    font-size:8px;
  }
  .tevco-invoices>header img{
    display:none;
  }
  .tevco-invoice-actions{
    grid-column:auto;
    flex-direction:row;
    justify-content:stretch;
  }
  .tevco-invoice-actions a,
  .tevco-invoice-email-form,
  .tevco-invoice-email-form button{
    flex:1 1 calc(50% - 8px);
    width:100%;
  }
}
