/* Tormax-inspired dashboard (lighter dark mode) */

body.page-template-page-dashboard {
  background: radial-gradient(circle at 20% 0%, #274464 0%, #1d3552 44%, #182d47 100%);
  color: #e6edf6;
}

body.page-template-page-dashboard .topbar {
  display: none;
}

body.page-template-page-dashboard main {
  padding: 0;
}

body.page-template-page-dashboard .dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px 1fr;
}

body.page-template-page-dashboard .dashboard-sidebar-neo {
  background: rgba(11, 24, 39, 0.58);
  border-right: 1px solid rgba(255,255,255,.08);
  padding: 14px 12px;
}

body.page-template-page-dashboard .dashboard-brand-neo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}

body.page-template-page-dashboard .dashboard-brand-neo img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
}

body.page-template-page-dashboard .dashboard-brand-neo strong {
  display: block;
  font-size: .95rem;
}

body.page-template-page-dashboard .dashboard-brand-neo small {
  color: #91a7bb;
}

body.page-template-page-dashboard .dashboard-nav-neo {
  display: grid;
  gap: 4px;
}

body.page-template-page-dashboard .dashboard-language {
  margin: 0 0 14px;
}

body.page-template-page-dashboard .dashboard-language .hj3d-language-link {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #dce6f1;
}

body.page-template-page-dashboard .dashboard-language .hj3d-language-link.is-active {
  background: #57b37e;
  border-color: #57b37e;
  color: #08131f;
}

body.page-template-page-dashboard .dashboard-nav-neo a {
  border-radius: 10px;
  color: #b9c9d8;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-template-page-dashboard .dashboard-nav-neo a svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}

body.page-template-page-dashboard .dashboard-nav-neo a.active svg,
body.page-template-page-dashboard .dashboard-nav-neo a:hover svg {
  opacity: 1;
}

body.page-template-page-dashboard .dashboard-nav-neo a.active,
body.page-template-page-dashboard .dashboard-nav-neo a:hover {
  background: rgba(255,255,255,.11);
  box-shadow: inset 3px 0 0 #57b37e;
  color: #fff;
}

body.page-template-page-dashboard .dashboard-main-neo {
  padding: 24px 18px;
}

body.page-template-page-dashboard .dashboard-head-neo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

body.page-template-page-dashboard .dashboard-head-neo h1 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #f0f5fb;
}

body.page-template-page-dashboard .dashboard-head-neo p {
  margin: 0;
  color: #becbda;
}

body.page-template-page-dashboard .dashboard-head-neo .eyebrow {
  color: #66bd8d;
}

body.page-template-page-dashboard .dashboard-stats-neo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

body.page-template-page-dashboard .dashboard-grid-neo {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

body.page-template-page-dashboard .dashboard-grid-neo.two {
  grid-template-columns: 1fr 1fr;
}

body.page-template-page-dashboard .neo-card {
  background: linear-gradient(120deg, rgba(40,58,83,.82), rgba(29,48,73,.82));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 26px rgba(0,0,0,.2);
}

body.page-template-page-dashboard .stat-card-icon {
  margin-bottom: 12px;
  opacity: 0.5;
}

body.page-template-page-dashboard .stat-card-neo span {
  color: #c4d1df;
  display: block;
}

body.page-template-page-dashboard .stat-card-neo strong {
  color: #fff;
  font-size: 2rem;
  margin-top: 6px;
  display: block;
}

body.page-template-page-dashboard .stat-card-neo {
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.page-template-page-dashboard .stat-card-neo:hover {
  transform: translateY(-2px);
}

body.page-template-page-dashboard .stat-card-neo small {
  display: block;
  margin-top: 8px;
  color: #9eb3c7;
  font-size: .88rem;
  line-height: 1.45;
}

body.page-template-page-dashboard .stat-card-neo.is-attention {
  border-color: rgba(255, 213, 79, .38);
  box-shadow: 0 14px 30px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255, 213, 79, .08);
}

body.page-template-page-dashboard .stat-card-neo.is-attention span {
  color: #ffe18a;
}

body.page-template-page-dashboard .stat-card-neo.is-attention strong {
  color: #fff4c4;
}

body.page-template-page-dashboard .stat-card-neo.is-attention small {
  color: #ffe7a9;
}

body.page-template-page-dashboard .stat-card-neo.is-calm {
  border-color: rgba(87,179,126,.18);
}

body.page-template-page-dashboard .card-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-template-page-dashboard .card-head h2 svg {
  opacity: 0.5;
  flex-shrink: 0;
}

body.page-template-page-dashboard .card-head h2,
body.page-template-page-dashboard .card-head a,
body.page-template-page-dashboard .list-clean,
body.page-template-page-dashboard .tracking-item,
body.page-template-page-dashboard .tracking-item span,
body.page-template-page-dashboard .tracking-item small,
body.page-template-page-dashboard .neo-card p {
  color: #d7e1ed;
}

body.page-template-page-dashboard .list-clean small {
  color: #9eb3c7;
}

body.page-template-page-dashboard .tracking-item {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 10px 0;
}

body.page-template-page-dashboard .tracking-item:last-child {
  border-bottom: 0;
}

body.page-template-page-dashboard .portal-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body.page-template-page-dashboard .portal-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 10px 0;
}

body.page-template-page-dashboard .portal-list li:last-child {
  border-bottom: 0;
}

body.page-template-page-dashboard .portal-list li span {
  color: #9eb3c7;
  text-align: right;
}

body.page-template-page-dashboard .portal-empty {
  margin: 0;
  color: #9eb3c7;
}

body.page-template-page-dashboard .portal-product-detail {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}

body.page-template-page-dashboard .portal-product-detail-media {
  background: rgba(9, 19, 31, .34);
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
}

body.page-template-page-dashboard .portal-product-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.page-template-page-dashboard .portal-product-detail-body {
  display: grid;
  align-content: start;
  gap: 10px;
}

body.page-template-page-dashboard .portal-product-detail-body h3 {
  margin: 0;
  color: #f0f5fb;
  font-size: 1.7rem;
}

body.page-template-page-dashboard .portal-product-code {
  color: #66bd8d;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.page-template-page-dashboard .portal-product-description {
  color: #d7e1ed;
  line-height: 1.7;
}

body.page-template-page-dashboard .portal-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.page-template-page-dashboard .portal-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.page-template-page-dashboard .portal-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(87,179,126,.38);
  box-shadow: 0 14px 24px rgba(0,0,0,.16);
}

body.page-template-page-dashboard .portal-product-card.is-focused {
  border-color: rgba(255, 213, 79, .48);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 79, .14);
}

body.page-template-page-dashboard .portal-product-card-media {
  aspect-ratio: 1 / 1;
  background: rgba(9, 19, 31, .34);
  display: grid;
  place-items: center;
}

body.page-template-page-dashboard .portal-product-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.page-template-page-dashboard .portal-product-card-media.is-empty {
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(9, 19, 31, .34);
}

body.page-template-page-dashboard .portal-product-card-media.is-empty span {
  color: #8fa5b8;
  font-size: .85rem;
  letter-spacing: .02em;
}

body.page-template-page-dashboard .portal-product-card-body {
  padding: 10px 12px 12px;
}

body.page-template-page-dashboard .portal-product-card-body strong {
  color: #f0f5fb;
  display: block;
  font-size: .95rem;
  line-height: 1.35;
  text-align: center;
}

body.page-template-page-dashboard .portal-product-back {
  display: inline-block;
  margin-bottom: 14px;
  color: #9eb3c7;
  text-decoration: none;
}

body.page-template-page-dashboard .portal-product-adminbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 18px 20px;
  margin-bottom: 20px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}

body.page-template-page-dashboard .portal-product-adminbar-copy {
  max-width: 56ch;
}

body.page-template-page-dashboard .portal-product-adminbar-label {
  display: block;
  margin-bottom: 6px;
  color: #8fd7a8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.page-template-page-dashboard .portal-product-adminbar-copy p {
  margin: 0;
  color: #b8c7d8;
  line-height: 1.5;
}

body.page-template-page-dashboard .portal-product-adminbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body.page-template-page-dashboard .portal-product-adminbar-actions .btn {
  white-space: nowrap;
}

body.page-template-page-dashboard .portal-product-header {
  margin-bottom: 18px;
}

body.page-template-page-dashboard .portal-product-header h2 {
  margin: 6px 0 0;
  color: #f0f5fb;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
}

body.page-template-page-dashboard .portal-product-page {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, .85fr);
  align-items: start;
  gap: 28px;
}

body.page-template-page-dashboard .portal-product-gallery,
body.page-template-page-dashboard .portal-product-panel {
  min-width: 0;
}

body.page-template-page-dashboard .portal-product-gallery {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 14px;
}

body.page-template-page-dashboard .portal-product-stage {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  min-height: 240px;
}

body.page-template-page-dashboard .portal-product-stage img {
  width: 100%;
  max-height: 500px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

body.page-template-page-dashboard .portal-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

body.page-template-page-dashboard .portal-product-thumb {
  padding: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(9, 19, 31, .34);
  cursor: pointer;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
}

body.page-template-page-dashboard .portal-product-thumb.is-active {
  border-color: rgba(255, 213, 79, .48);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 79, .14);
}

body.page-template-page-dashboard .portal-product-thumb img {
  width: 100%;
  height: 84px;
  display: block;
  object-fit: cover;
  background: transparent;
}

body.page-template-page-dashboard .portal-product-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 420px;
}

body.page-template-page-dashboard .portal-product-panel::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255,255,255,.08);
  margin-bottom: 2px;
}

body.page-template-page-dashboard .portal-product-purchase-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}

body.page-template-page-dashboard .portal-product-purchase-card h4 {
  margin: 0 0 12px;
  color: #f0f5fb;
  font-size: 1rem;
}
body.page-template-page-dashboard .portal-product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #57b37e;
  margin: -6px 0 14px;
}
body.page-template-page-dashboard .portal-product-min-qty {
  font-size: 12px;
  color: #9eb3c7;
  margin: -6px 0 0;
}
body.page-template-page-dashboard .portal-product-option-label {
  display: grid;
  gap: 6px;
}
body.page-template-page-dashboard .portal-product-option-label span {
  font-size: 12px;
  color: #9eb3c7;
  font-weight: 500;
}
body.page-template-page-dashboard .portal-product-option-select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #eff4fb;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
}
body.page-template-page-dashboard .portal-product-option-select:focus {
  outline: none;
  border-color: rgba(87,179,126,.5);
}
body.page-template-page-dashboard .portal-product-option-select option {
  background: #1c2a35;
  color: #eff4fb;
}

body.page-template-page-dashboard .portal-product-purchase {
  display: grid;
  gap: 12px;
  max-width: none;
}

body.page-template-page-dashboard .portal-product-description {
  max-width: 48ch;
}

body.page-template-page-dashboard .portal-product-purchase .btn {
  width: 100%;
}

body.page-template-page-dashboard input,
body.page-template-page-dashboard textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: #eff4fb;
}

body.page-template-page-dashboard .quick-order label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

body.page-template-page-dashboard .quick-order-response {
  margin: 10px 0 0;
  font-size: .95rem;
  min-height: 1.4em;
}

body.page-template-page-dashboard .quick-order-response.is-success {
  color: #89d9ab;
}

body.page-template-page-dashboard .quick-order-response.is-error {
  color: #ffb0b0;
}

body.page-template-page-dashboard .top-products-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 16px;
  text-align: center;
  color: #7a94a8;
  width: 100%;
}

body.page-template-page-dashboard .top-products-empty svg {
  opacity: 0.4;
}

body.page-template-page-dashboard .top-products-empty p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

body.page-template-page-dashboard .top-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 160px;
}

body.page-template-page-dashboard .top-product-tile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  min-height: 160px;
}

body.page-template-page-dashboard .top-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.page-template-page-dashboard .top-product-media {
  aspect-ratio: 16 / 10;
  background: rgba(9, 19, 31, .34);
}

body.page-template-page-dashboard .top-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.page-template-page-dashboard .top-product-body {
  display: grid;
  gap: 4px;
  padding: 12px;
}

body.page-template-page-dashboard .top-product-body strong {
  color: #f0f5fb;
  font-size: 1rem;
}

body.page-template-page-dashboard .top-product-body span {
  color: #9eb3c7;
  font-size: .9rem;
  word-break: break-word;
}

body.page-template-page-dashboard .top-product-body small {
  color: #66bd8d;
  font-size: .82rem;
  margin-top: 4px;
}

body.page-template-page-dashboard .top-product-actions {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

body.page-template-page-dashboard .top-product-actions .btn {
  width: 100%;
}

body.page-template-page-dashboard .top-product-quantity {
  display: grid;
  gap: 6px;
}

body.page-template-page-dashboard .top-product-quantity span {
  color: #9eb3c7;
  font-size: .84rem;
}

body.page-template-page-dashboard .top-product-quantity input {
  width: 100%;
}

body.page-template-page-dashboard .tile-order-response {
  min-height: 1.35em;
  margin: 8px 0 0;
  font-size: .82rem;
}

body.page-template-page-dashboard .portal-list li.is-focused {
  background: rgba(255, 213, 79, .08);
  border-left: 3px solid #ffd54f;
  padding-left: 12px;
}

body.page-template-page-dashboard .btn-primary {
  background: linear-gradient(135deg, #54ad7c, #64c08e);
  border: 0;
  color: #fff;
}

body.page-template-page-dashboard .btn-primary:hover {
  filter: brightness(1.05);
}

@media (max-width: 1200px) {
  body.page-template-page-dashboard .dashboard-stats-neo {
    grid-template-columns: 1fr 1fr;
  }

  body.page-template-page-dashboard .portal-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.page-template-page-dashboard .portal-product-adminbar {
    flex-direction: column;
  }

  body.page-template-page-dashboard .portal-product-adminbar-actions {
    justify-content: flex-start;
  }
}

/* Hamburger toggle — hidden on desktop */
body.page-template-page-dashboard .dashboard-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.page-template-page-dashboard .dashboard-nav-toggle {
  display: none;
}

body.page-template-page-dashboard .dashboard-nav-toggle .icon-close {
  display: none;
}

body.page-template-page-dashboard .dashboard-nav-toggle.is-open .icon-menu {
  display: none;
}

body.page-template-page-dashboard .dashboard-nav-toggle.is-open .icon-close {
  display: block;
}

@media (max-width: 900px) {
  body.page-template-page-dashboard .dashboard-shell {
    grid-template-columns: 1fr;
  }

  body.page-template-page-dashboard .dashboard-sidebar-neo {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
    padding: 12px 14px;
  }

  body.page-template-page-dashboard .dashboard-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: #e6edf6;
    cursor: pointer;
    padding: 6px 8px;
    flex-shrink: 0;
  }

  body.page-template-page-dashboard .dashboard-nav-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
  }

  body.page-template-page-dashboard .dashboard-nav-collapse.is-open {
    max-height: 600px;
  }

  body.page-template-page-dashboard .dashboard-brand-neo {
    margin-bottom: 0;
  }

  body.page-template-page-dashboard .dashboard-grid-neo.two {
    grid-template-columns: 1fr;
  }

  body.page-template-page-dashboard .dashboard-head-neo {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-template-page-dashboard .portal-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-template-page-dashboard .portal-product-page {
    grid-template-columns: 1fr;
  }

  body.page-template-page-dashboard .portal-product-panel {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body.page-template-page-dashboard .dashboard-stats-neo {
    grid-template-columns: 1fr 1fr;
  }

  body.page-template-page-dashboard .stat-card-neo strong {
    font-size: 1.6rem;
  }

  body.page-template-page-dashboard .stat-card-icon {
    margin-bottom: 6px;
  }

  body.page-template-page-dashboard .portal-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Fix "Hent firmainfo" overflow */
  body.page-template-page-dashboard .hj3d-cvr-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  body.page-template-page-dashboard .hj3d-cvr-row input {
    min-width: 0;
    flex: 1;
  }

  body.page-template-page-dashboard .hj3d-cvr-btn {
    width: 100%;
  }

  /* Support knapper på mobil */
  body.page-template-page-dashboard .cta-row {
    flex-direction: column;
    gap: 10px;
  }

  body.page-template-page-dashboard .cta-row .btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 7px;
  }
}

/* ── Project list ── */
body.page-template-page-dashboard .project-list li {
  flex-wrap: wrap;
  gap: 8px;
}
body.page-template-page-dashboard .project-list-link {
  display: flex;
  gap: 12px;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
body.page-template-page-dashboard .project-list-link:hover strong {
  color: #66bd8d;
}
body.page-template-page-dashboard .project-date {
  font-size: 12px;
  color: #9eb3c7;
}
body.page-template-page-dashboard .project-status-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #b9c9d8;
  white-space: nowrap;
}
body.page-template-page-dashboard .project-status-badge.project-status-completed { background: rgba(87,179,126,.25); color: #89d9ab; }
body.page-template-page-dashboard .project-status-badge.project-status-waiting_info { background: rgba(255,193,7,.2); color: #ffd54f; }
body.page-template-page-dashboard .project-status-badge.project-status-in_progress { background: rgba(100,192,142,.15); color: #66bd8d; }
body.page-template-page-dashboard .project-status-badge.project-status-review { background: rgba(147,112,219,.2); color: #c9a7ff; }

body.page-template-page-dashboard .project-list li[class*="proj-li-"] {
  border-left: 3px solid rgba(255,255,255,.1);
  padding-left: 12px;
}
body.page-template-page-dashboard li.proj-li-waiting_info { border-left-color: #ffd54f !important; }
body.page-template-page-dashboard li.proj-li-received     { border-left-color: #9eb3c7 !important; }
body.page-template-page-dashboard li.proj-li-in_progress  { border-left-color: #66bd8d !important; }
body.page-template-page-dashboard li.proj-li-review       { border-left-color: #c9a7ff !important; }
body.page-template-page-dashboard li.proj-li-completed    { border-left-color: #57b37e !important; }

/* ── Project detail ── */
body.page-template-page-dashboard .project-detail-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid rgba(255,255,255,.1);
  overflow: visible;
}

/* Split layout: left=info+files, right=chat */
body.page-template-page-dashboard .project-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

body.page-template-page-dashboard .project-split-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

body.page-template-page-dashboard .project-split-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  align-self: start;
  margin-top: 0;
}

body.page-template-page-dashboard .project-split-right .project-section-label {
  padding: 14px 18px 10px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

body.page-template-page-dashboard .project-split-right .chat-thread {
  height: 460px;
  overflow-y: auto;
  padding: 16px 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(87,179,126,.4) rgba(255,255,255,.05);
}
body.page-template-page-dashboard .project-split-right .chat-thread::-webkit-scrollbar {
  width: 6px;
}
body.page-template-page-dashboard .project-split-right .chat-thread::-webkit-scrollbar-track {
  background: rgba(255,255,255,.05);
  border-radius: 999px;
}
body.page-template-page-dashboard .project-split-right .chat-thread::-webkit-scrollbar-thumb {
  background: rgba(87,179,126,.45);
  border-radius: 999px;
}
body.page-template-page-dashboard .project-split-right .chat-thread::-webkit-scrollbar-thumb:hover {
  background: rgba(87,179,126,.7);
}

body.page-template-page-dashboard .project-split-right .chat-compose {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 1100px) {
  body.page-template-page-dashboard .project-split {
    grid-template-columns: 1fr;
  }
  body.page-template-page-dashboard .project-split-right {
    position: static;
  }
  body.page-template-page-dashboard .project-split-right .chat-thread {
    height: 320px;
  }
}
body.page-template-page-dashboard .project-detail-card.project-status-waiting_info { border-top-color: #ffd54f; }
body.page-template-page-dashboard .project-detail-card.project-status-received     { border-top-color: #9eb3c7; }
body.page-template-page-dashboard .project-detail-card.project-status-in_progress  { border-top-color: #66bd8d; }
body.page-template-page-dashboard .project-detail-card.project-status-review       { border-top-color: #c9a7ff; }
body.page-template-page-dashboard .project-detail-card.project-status-completed    { border-top-color: #57b37e; }
body.page-template-page-dashboard .project-detail-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.page-template-page-dashboard .project-detail-back a:first-child {
  color: #9eb3c7;
  text-decoration: none;
  font-size: 13px;
}
body.page-template-page-dashboard .project-detail-back a:first-child:hover { color: #fff; }
body.page-template-page-dashboard .project-detail-title {
  margin: 0;
  font-size: 1.3rem;
  color: #f0f5fb;
}

/* ── Status bar ── */
body.page-template-page-dashboard .project-statusbar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 0 8px;
  overflow-x: auto;
}
body.page-template-page-dashboard .statusbar-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}
body.page-template-page-dashboard .statusbar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}
body.page-template-page-dashboard .statusbar-step.done .statusbar-dot {
  background: #57b37e;
  border-color: #57b37e;
}
body.page-template-page-dashboard .statusbar-step.current .statusbar-dot {
  background: #57b37e;
  border-color: #57b37e;
  box-shadow: 0 0 0 3px rgba(87,179,126,.3);
}
body.page-template-page-dashboard .statusbar-step span {
  font-size: 10px;
  color: #7a95ab;
  text-align: center;
  white-space: nowrap;
}
body.page-template-page-dashboard .statusbar-step.done span,
body.page-template-page-dashboard .statusbar-step.current span {
  color: #c0d8c8;
}
body.page-template-page-dashboard .statusbar-step.current span {
  color: #89d9ab;
  font-weight: 600;
}
body.page-template-page-dashboard .statusbar-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.12);
  margin-bottom: 22px;
  min-width: 20px;
}
body.page-template-page-dashboard .statusbar-line.done {
  background: #57b37e;
}

/* Waiting notice */
body.page-template-page-dashboard .project-waiting-notice {
  background: rgba(255,193,7,.12);
  border: 1px solid rgba(255,193,7,.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffd54f;
  font-size: 13px;
}

/* ── Project meta ── */
body.page-template-page-dashboard .project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  color: #c4d1df;
}
body.page-template-page-dashboard .meta-label {
  color: #7a95ab;
  margin-right: 6px;
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
body.page-template-page-dashboard .project-description {
  color: #b9c9d8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
body.page-template-page-dashboard .project-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7a95ab;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-template-page-dashboard .project-section-label::after {
  content: '';
  flex: 1;
  border-top: 1px solid rgba(255,255,255,.1);
}
body.page-template-page-dashboard .files-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  order: 1;
}
body.page-template-page-dashboard .files-sort-select {
  appearance: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: #8aabb8;
  font-size: 11px;
  padding: 3px 22px 3px 8px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238aabb8' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  transition: border-color .15s, background-color .15s;
}
body.page-template-page-dashboard .files-sort-select:hover {
  border-color: rgba(255,255,255,.2);
  background-color: rgba(255,255,255,.1);
  color: #cdd8e3;
}
body.page-template-page-dashboard .files-sort-select option {
  background: #1e2d3a;
  color: #cdd8e3;
}

/* ── Files grid ── */
body.page-template-page-dashboard .project-files-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.page-template-page-dashboard .project-file-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 90px;
  border-radius: 8px;
  padding: 8px 4px;
  transition: transform .15s, box-shadow .15s;
  cursor: default;
  position: relative;
}
body.page-template-page-dashboard .file-new-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #2ecc71;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: .4px;
  pointer-events: none;
  z-index: 3;
}
body.page-template-page-dashboard .btn-delete-file {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(220,50,50,.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
body.page-template-page-dashboard .project-file-item:hover .btn-delete-file {
  display: flex;
}
body.page-template-page-dashboard .btn-delete-file:hover {
  background: rgba(220,50,50,1);
}
body.page-template-page-dashboard .project-file-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
  background: rgba(255,255,255,.04);
}
body.page-template-page-dashboard .project-file-item img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.1);
}
body.page-template-page-dashboard .file-preview-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  display: block;
}
body.page-template-page-dashboard .file-preview-trigger img {
  transition: transform .18s ease, box-shadow .18s ease;
}
body.page-template-page-dashboard .file-preview-trigger:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
body.page-template-page-dashboard .pdf-thumb-wrap {
  width: 80px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  position: relative;
  pointer-events: none;
}
body.page-template-page-dashboard .pdf-thumb-wrap iframe {
  width: 600px;
  height: 480px;
  border: none;
  transform: scale(0.1333);
  transform-origin: top left;
  pointer-events: none;
}
body.page-template-page-dashboard .file-preview-trigger:hover .pdf-thumb-wrap {
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
body.page-template-page-dashboard .file-type-badge {
  width: 80px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #9eb3c7;
}
body.page-template-page-dashboard .file-type-badge.stl {
  background: rgba(100,192,142,.15);
  color: #66bd8d;
}
body.page-template-page-dashboard .file-type-badge.pdf {
  background: rgba(229,57,53,.18);
  color: #ef9a9a;
  transition: background .18s;
}
body.page-template-page-dashboard .file-preview-trigger:hover .file-type-badge.pdf {
  background: rgba(229,57,53,.35);
}
body.page-template-page-dashboard .file-name {
  font-size: 11px;
  color: #9eb3c7;
  text-align: center;
  word-break: break-all;
  text-decoration: none;
}
body.page-template-page-dashboard .file-name:hover { color: #fff; }
body.page-template-page-dashboard .btn-view-stl {
  font-size: 11px;
  background: rgba(87,179,126,.2);
  border: 1px solid rgba(87,179,126,.4);
  border-radius: 4px;
  color: #89d9ab;
  padding: 2px 8px;
  cursor: pointer;
}
body.page-template-page-dashboard .btn-view-image {
  font-size: 11px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  color: #d7e1ed;
  padding: 2px 8px;
  cursor: pointer;
}
body.page-template-page-dashboard .btn-view-image:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}
body.page-template-page-dashboard .btn-view-stl:hover { background: rgba(87,179,126,.35); }
body.page-template-page-dashboard .btn-view-pdf {
  font-size: 11px;
  background: rgba(229,57,53,.15);
  border: 1px solid rgba(229,57,53,.35);
  border-radius: 4px;
  color: #ef9a9a;
  padding: 2px 8px;
  cursor: pointer;
}
body.page-template-page-dashboard .btn-view-pdf:hover { background: rgba(229,57,53,.28); }

/* ── Upload zone ── */
body.page-template-page-dashboard .project-upload-zone {
  border: 2px dashed rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s;
}
body.page-template-page-dashboard .project-upload-zone.is-over {
  border-color: #57b37e;
  background: rgba(87,179,126,.08);
}
body.page-template-page-dashboard .upload-hint {
  font-size: 12px;
  color: #7a95ab;
}
body.page-template-page-dashboard .hj3d-upload-status {
  font-size: 13px;
  min-height: 1.2em;
  margin: 0;
}
body.page-template-page-dashboard .hj3d-upload-status.is-success { color: #89d9ab; }
body.page-template-page-dashboard .hj3d-upload-status.is-error   { color: #ffb0b0; }

/* ── Chat ── */
body.page-template-page-dashboard .chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 6px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(87,179,126,.4) rgba(255,255,255,.05);
}
body.page-template-page-dashboard .chat-thread::-webkit-scrollbar {
  width: 6px;
}
body.page-template-page-dashboard .chat-thread::-webkit-scrollbar-track {
  background: rgba(255,255,255,.05);
  border-radius: 999px;
}
body.page-template-page-dashboard .chat-thread::-webkit-scrollbar-thumb {
  background: rgba(87,179,126,.45);
  border-radius: 999px;
}
body.page-template-page-dashboard .chat-thread::-webkit-scrollbar-thumb:hover {
  background: rgba(87,179,126,.7);
}

/* Other person's bubble — left side */
body.page-template-page-dashboard .chat-bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  max-width: 78%;
  align-self: flex-start;
  text-align: left;
}
body.page-template-page-dashboard .chat-bubble .chat-bubble-meta {
  justify-content: flex-start;
}

/* Your own bubble — right side (SMS style) */
body.page-template-page-dashboard .chat-bubble.is-mine {
  background: rgba(87,179,126,.2);
  border: 1px solid rgba(87,179,126,.3);
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
  text-align: right;
}
body.page-template-page-dashboard .chat-bubble.is-mine .chat-bubble-meta {
  justify-content: flex-end;
}

body.page-template-page-dashboard .chat-bubble-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 4px;
}
body.page-template-page-dashboard .chat-bubble-meta strong {
  font-size: 11px;
  font-weight: 700;
  color: #c4d1df;
}
body.page-template-page-dashboard .chat-bubble-meta time {
  font-size: 10px;
  color: #7a95ab;
}
body.page-template-page-dashboard .chat-bubble p {
  margin: 0;
  font-size: 13px;
  color: #d7e1ed;
  line-height: 1.5;
}
body.page-template-page-dashboard .chat-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.page-template-page-dashboard .chat-compose textarea {
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
  font-size: 13px;
}
body.page-template-page-dashboard .chat-status {
  font-size: 12px;
}
body.page-template-page-dashboard .chat-status.is-error { color: #ffb0b0; }

/* ── STL viewer modal ── */
#hj3d-stl-modal,
#hj3d-image-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}
.stl-modal-box {
  position: relative;
  width: min(90vw, 820px);
  height: min(85vh, 560px);
  background: #1a2d42;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.image-modal-box {
  position: relative;
  width: min(92vw, 1120px);
  max-height: 88vh;
  background: #1a2d42;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.image-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #eff4fb;
}
.image-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.image-modal-link {
  color: #89d9ab;
  text-decoration: none;
  font-size: 13px;
}
.image-modal-link:hover {
  color: #b5eacc;
}
.image-modal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 320px;
  max-height: calc(88vh - 58px);
  overflow: auto;
}
.image-modal-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 96px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 56px rgba(0,0,0,.34);
}

/* ── PDF modal ── */
.hj3d-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.78);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hj3d-pdf-modal-inner {
  width: 90vw;
  max-width: 980px;
  height: 90vh;
  background: #1c2a35;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.hj3d-pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.hj3d-pdf-modal-title {
  font-weight: 600;
  font-size: 13px;
  color: #d7e1ed;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hj3d-pdf-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  color: #9eb3c7;
}
.hj3d-pdf-modal-close:hover { color: #fff; }
.hj3d-pdf-frame {
  flex: 1;
  width: 100%;
  border: none;
}
body.hj3d-modal-open { overflow: hidden; }
.stl-modal-toolbar {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.stl-modal-toolbar button {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #c4d1df;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
}
.stl-modal-toolbar button:hover { background: rgba(255,255,255,.18); color: #fff; }
.stl-modal-toolbar button.active { background: rgba(87,179,126,.3); border-color: #57b37e; color: #89d9ab; }
.stl-close-btn { margin-left: auto !important; }
#stl-canvas-wrap {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  display: block;
}
#stl-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
#stl-loader-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #9eb3c7;
  font-size: 14px;
  pointer-events: none;
}
.stl-ruler-label {
  background: transparent;
  color: rgba(87,179,126,.8);
  font-size: 9px;
  font-family: monospace;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(0,0,0,.8);
}

.stl-measure-label {
  background: rgba(0,0,0,.75);
  color: #ffd54f;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Admin: status row in detail ── */
body.page-template-page-dashboard .admin-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 14px;
}
body.page-template-page-dashboard .admin-status-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7a95ab;
  font-weight: 600;
  white-space: nowrap;
}
body.page-template-page-dashboard .admin-status-select {
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(180deg, rgba(53, 77, 106, .98), rgba(42, 63, 89, .98));
  border: 1px solid rgba(137, 217, 171, .28);
  border-radius: 10px;
  color: #f3f7fb;
  padding: 9px 38px 9px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  flex: 1;
  max-width: 260px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  background-image:
    linear-gradient(45deg, transparent 50%, #9fd7b6 50%),
    linear-gradient(135deg, #9fd7b6 50%, transparent 50%),
    linear-gradient(180deg, rgba(53, 77, 106, .98), rgba(42, 63, 89, .98));
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}
body.page-template-page-dashboard .admin-status-select:hover {
  border-color: rgba(137, 217, 171, .48);
}
body.page-template-page-dashboard .admin-status-select:focus {
  outline: none;
  border-color: #66bd8d;
  box-shadow: 0 0 0 3px rgba(102, 189, 141, .14);
}
body.page-template-page-dashboard .admin-status-select option {
  background: #f4f7fb;
  color: #183046;
  font-weight: 600;
}
body.page-template-page-dashboard .admin-status-select option:checked {
  background: #2f6f54;
  color: #ffffff;
}
body.page-template-page-dashboard .admin-status-saved {
  font-size: 12px;
  color: #89d9ab;
}

/* ── Admin: customer banner in detail ── */
body.page-template-page-dashboard .admin-customer-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(87,179,126,.08);
  border: 1px solid rgba(87,179,126,.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
}
body.page-template-page-dashboard .admin-customer-banner strong { color: #e6edf6; }
body.page-template-page-dashboard .admin-customer-banner span  { color: #9eb3c7; }
body.page-template-page-dashboard .admin-customer-banner a     { color: #66bd8d; text-decoration: none; margin-left: auto; }
body.page-template-page-dashboard .admin-customer-banner a:hover { text-decoration: underline; }

/* ── Admin: company group accordion ── */
body.page-template-page-dashboard .proj-group {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.page-template-page-dashboard .proj-group:last-child {
  border-bottom: 0;
}
body.page-template-page-dashboard .proj-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 4px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
body.page-template-page-dashboard .proj-group-header::-webkit-details-marker { display: none; }
body.page-template-page-dashboard .proj-group-chevron {
  font-size: 16px;
  color: #7a95ab;
  transition: transform .2s;
  line-height: 1;
  display: inline-block;
  width: 14px;
  text-align: center;
}
body.page-template-page-dashboard .proj-group[open] .proj-group-chevron {
  transform: rotate(90deg);
}
body.page-template-page-dashboard .proj-group-name {
  font-weight: 600;
  color: #e6edf6;
  font-size: 14px;
  flex: 1;
}
body.page-template-page-dashboard .proj-group-count {
  font-size: 11px;
  color: #7a95ab;
  white-space: nowrap;
}
body.page-template-page-dashboard .proj-group-header:hover .proj-group-name {
  color: #fff;
}
body.page-template-page-dashboard .proj-group .project-list {
  padding-left: 22px;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-bottom: 4px;
}

/* ── Admin: project list extras ── */
body.page-template-page-dashboard .proj-customer-info {
  font-size: 12px;
  color: #7a95ab;
}
body.page-template-page-dashboard .proj-unread-badge {
  background: #2271b1;
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── New project form ── */
body.page-template-page-dashboard .new-proj-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #c4d1df;
}
body.page-template-page-dashboard .new-proj-input {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #c4d1df;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s ease;
}
body.page-template-page-dashboard .new-proj-input:focus {
  outline: none;
  border-color: rgba(58,171,109,.6);
  background: rgba(255,255,255,.09);
}
body.page-template-page-dashboard select.new-proj-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238aa8c0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
body.page-template-page-dashboard select.new-proj-input option {
  background: #1d3552;
  color: #e6edf6;
}
body.page-template-page-dashboard select.new-proj-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Date input theming */
body.page-template-page-dashboard input[type="date"].new-proj-input {
  color-scheme: light;
}
body.page-template-page-dashboard input[type="date"].new-proj-input::-webkit-calendar-picker-indicator {
  filter: opacity(0.6);
  cursor: pointer;
}

/* ── WooCommerce My Account — light theme ────────────────────────────────────── */

/* ── My Account dashboard ───────────────────────────────────────────────── */

.hj3d-dashboard-greeting {
  font-size: 1.2rem;
  font-weight: 700;
  color: #173325;
  margin: 0 0 24px;
}

.hj3d-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hj3d-dash-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hj3d-dash-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(31,122,83,0.08);
}

.hj3d-dash-card-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.hj3d-dash-card strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #173325;
}

.hj3d-dash-card span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
}

.hj3d-dashboard-recent h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #173325;
  margin: 0 0 14px;
}

.hj3d-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.hj3d-orders-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--line);
}

.hj3d-orders-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.hj3d-orders-table td a {
  color: var(--accent);
}

.hj3d-order-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eef7f2;
  color: #325342;
}

.hj3d-order-status.status-completed { background: #d4edda; color: #1a5c34; }
.hj3d-order-status.status-processing { background: #d0eaff; color: #1a4a7a; }
.hj3d-order-status.status-cancelled { background: #fde8e8; color: #7a2020; }
.hj3d-order-status.status-on-hold { background: #fff3cd; color: #6b4e00; }

.hj3d-btn-small {
  display: inline-block;
  padding: 5px 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.hj3d-btn-small:hover { background: var(--accent-2); color: #fff !important; }

.hj3d-orders-table td:last-child { white-space: nowrap; }

.hj3d-dashboard-all-orders {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 720px) {
  .hj3d-dashboard-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Login / Register (logged-out account page) ─────────────────────────── */

.hj3d-login-wrap {
  max-width: 520px;
  margin: 48px auto 80px;
  padding: 0 20px;
}

.hj3d-login-wrap .woocommerce {
  display: grid;
  gap: 24px;
}

.hj3d-login-wrap .woocommerce-form-login,
.hj3d-login-wrap .woocommerce-form-register {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.hj3d-login-wrap h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #173325;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 24px 32px 20px;
}

.hj3d-login-wrap h2 + .woocommerce-form-login,
.hj3d-login-wrap h2 + .woocommerce-form-register {
  border-top: none;
  border-radius: 0 0 16px 16px;
}

.hj3d-login-wrap .woocommerce-form-row {
  margin-bottom: 16px;
}

.hj3d-login-wrap label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #325342;
  margin-bottom: 6px;
}

.hj3d-login-wrap input[type="text"],
.hj3d-login-wrap input[type="email"],
.hj3d-login-wrap input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f9fcfa;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.hj3d-login-wrap input[type="text"]:focus,
.hj3d-login-wrap input[type="email"]:focus,
.hj3d-login-wrap input[type="password"]:focus {
  border-color: var(--accent);
  background: #fff;
}

.hj3d-login-wrap .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
}

.hj3d-login-wrap .woocommerce-Button,
.hj3d-login-wrap button[type="submit"],
.hj3d-login-wrap input[type="submit"] {
  display: inline-block;
  padding: 11px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s;
}

.hj3d-login-wrap .woocommerce-Button:hover,
.hj3d-login-wrap button[type="submit"]:hover,
.hj3d-login-wrap input[type="submit"]:hover {
  background: var(--accent-2);
}

.hj3d-login-wrap .lost_password {
  margin-top: 12px;
  font-size: 0.85rem;
}

.hj3d-login-wrap .lost_password a {
  color: var(--accent);
}

.hj3d-login-wrap .woocommerce-privacy-policy-text {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── Account page (logged-in) ───────────────────────────────────────────── */

.hj3d-account-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.hj3d-account-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.hj3d-account-sidebar {
  background: #f7f9f7;
  border: 1px solid #dde8de;
  border-radius: 14px;
  padding: 20px 16px;
  position: sticky;
  top: 24px;
}

.hj3d-account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #dde8de;
}

.hj3d-account-user strong {
  display: block;
  font-size: .95rem;
  color: #1a3a24;
}

.hj3d-account-user small {
  color: #5a7a60;
  font-size: .8rem;
}

.hj3d-account-avatar img {
  border-radius: 999px;
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.hj3d-account-nav {
  display: grid;
  gap: 2px;
}

.hj3d-account-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: #2d5e38;
  text-decoration: none;
  font-size: .9rem;
  transition: background .15s, color .15s;
}

.hj3d-account-nav a:hover,
.hj3d-account-nav a.active {
  background: #e8f4eb;
  color: #1a3a24;
  font-weight: 600;
}

/* Log out link — subtle red tint, not alarming */
.hj3d-account-nav a[href*="logout"] {
  color: #888;
  margin-top: 8px;
  border-top: 1px solid #dde8de;
  padding-top: 12px;
}

.hj3d-account-nav a[href*="logout"]:hover {
  background: #fdf0f0;
  color: #c0392b;
}

/* Main content */
.hj3d-account-main {
  min-width: 0;
}

.hj3d-account-main h2,
.hj3d-account-main h3 {
  color: #1a3a24;
  margin-bottom: 14px;
}

.hj3d-account-main p {
  color: #3a5a40;
}

.hj3d-account-main a {
  color: #2d7a46;
}

.hj3d-account-main a:hover {
  color: #1a5a32;
}

/* WC form fields */
.hj3d-account-main .form-row label {
  color: #2a4a30;
  font-weight: 500;
}

.hj3d-account-main input[type="text"],
.hj3d-account-main input[type="email"],
.hj3d-account-main input[type="password"],
.hj3d-account-main input[type="tel"],
.hj3d-account-main select,
.hj3d-account-main textarea {
  border: 1px solid #c4d8c8;
  border-radius: 8px;
  padding: 9px 12px;
  width: 100%;
  box-sizing: border-box;
  color: #1a3a24;
  background: #fff;
}

.hj3d-account-main input:focus,
.hj3d-account-main select:focus,
.hj3d-account-main textarea:focus {
  outline: none;
  border-color: #2d7a46;
  box-shadow: 0 0 0 3px rgba(45,122,70,.12);
}

/* Buttons */
.hj3d-account-main .button,
.hj3d-account-main button[type="submit"],
.hj3d-account-main input[type="submit"] {
  background: linear-gradient(135deg, #2d7a46, #3a9458);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s;
}

.hj3d-account-main .button:hover,
.hj3d-account-main button[type="submit"]:hover,
.hj3d-account-main input[type="submit"]:hover {
  filter: brightness(1.08);
}

/* Tables */
.hj3d-account-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.hj3d-account-main table th {
  background: #f0f6f1;
  color: #3a5a40;
  padding: 9px 12px;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid #dde8de;
}

.hj3d-account-main table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eaf0eb;
  color: #2a4a30;
}

.hj3d-account-main table tr:last-child td {
  border-bottom: none;
}

/* WC notices */
.hj3d-account-main .woocommerce-message,
.hj3d-account-main .woocommerce-info {
  background: #eaf4ee;
  border-left: 4px solid #2d7a46;
  color: #1a4a28;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hj3d-account-main .woocommerce-message::before {
  order: 1;
  margin: 0;
  flex-shrink: 0;
}

.hj3d-account-main .woocommerce-error {
  background: #fdf0f0;
  border-left: 4px solid #c0392b;
  color: #7a1a1a;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

@media (max-width: 760px) {
  .hj3d-account-wrap {
    grid-template-columns: 1fr;
  }
  .hj3d-account-sidebar {
    position: static;
  }
}

/* ── Profile picture upload ── */
.hj3d-section-title {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: #5a7a60;
  margin: 0 0 12px;
}

.hj3d-avatar-upload-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dde8de;
}

.hj3d-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hj3d-avatar-current {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c4d8c8;
  flex-shrink: 0;
}

.hj3d-avatar-upload-btn {
  display: inline-block;
  background: #fff;
  border: 1px solid #2d7a46;
  color: #2d7a46;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.hj3d-avatar-upload-btn:hover {
  background: #2d7a46;
  color: #fff;
}

.hj3d-avatar-status {
  font-size: .85rem;
  margin-top: 8px;
  min-height: 1.2em;
  display: block;
}

.hj3d-avatar-status.is-success { color: #2d7a46; }
.hj3d-avatar-status.is-error   { color: #c0392b; }

/* ── Company fields ── */
.hj3d-company-section {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #dde8de;
}

.hj3d-cvr-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.hj3d-cvr-row input {
  flex: 1;
}

.hj3d-cvr-lookup-btn {
  background: #fff;
  border: 1px solid #2d7a46;
  color: #2d7a46;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.hj3d-cvr-lookup-btn:hover {
  background: #2d7a46;
  color: #fff;
}

.hj3d-cvr-lookup-btn:disabled {
  opacity: .6;
  cursor: default;
}

.hj3d-cvr-status {
  font-size: .85rem;
  margin-top: 6px;
  min-height: 1.2em;
  display: block;
}

.hj3d-cvr-status.is-success { color: #2d7a46; }
.hj3d-cvr-status.is-error   { color: #c0392b; }

@media (max-width: 640px) {
  body.page-template-page-dashboard .project-meta-grid { grid-template-columns: 1fr 1fr; }
  body.page-template-page-dashboard .project-statusbar { gap: 0; }
  body.page-template-page-dashboard .statusbar-step { min-width: 60px; }
  body.page-template-page-dashboard .admin-customer-banner { flex-wrap: wrap; gap: 6px; }
  body.page-template-page-dashboard .admin-customer-banner a { margin-left: 0; }
}

/* ── Project delete buttons ──────────────────────────────────────────────── */
body.page-template-page-dashboard .btn-proj-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.25);
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .15s, color .15s;
  flex-shrink: 0;
  margin-left: auto;
}
body.page-template-page-dashboard .btn-proj-delete:hover {
  background: rgba(220,50,50,0.18);
  color: #ff6b6b;
}
body.page-template-page-dashboard .project-detail-back {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.page-template-page-dashboard .btn-danger {
  background: rgba(200,40,40,0.12);
  color: #ff6b6b;
  border: 1px solid rgba(200,40,40,0.25);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  margin-left: auto;
}
body.page-template-page-dashboard .btn-danger:hover {
  background: rgba(200,40,40,0.28);
  border-color: rgba(200,40,40,0.5);
}

/* ── Awaiting supplier status badge ─────────────────────────────────────── */
body.page-template-page-dashboard .project-status-awaiting_supplier .project-status-badge,
body.page-template-page-dashboard .neo-card.project-status-awaiting_supplier .project-status-badge {
  background: rgba(180,120,0,0.18);
  color: #e6a817;
  border-color: rgba(180,120,0,0.3);
}
body.page-template-page-dashboard .statusbar-step.awaiting_supplier.is-active .step-dot,
body.page-template-page-dashboard .statusbar-step.is-current .step-dot {
  background: #e6a817;
  box-shadow: 0 0 0 3px rgba(230,168,23,0.3);
}

/* ── Unread chat messages ────────────────────────────────────────────────── */
body.page-template-page-dashboard .chat-bubble.is-unread {
  border-left: 3px solid rgba(80,160,255,0.6);
  padding-left: calc(var(--bubble-pad, 12px) - 3px);
  background: rgba(80,160,255,0.07);
  border-radius: 0 10px 10px 0;
}

/* ── Email verification banner ───────────────────────────────────────────── */
body.page-template-page-dashboard .dashboard-verify-banner {
  background: rgba(180,120,0,0.15);
  border: 1px solid rgba(230,168,23,0.35);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
body.page-template-page-dashboard .dashboard-verify-banner p {
  margin: 0;
  color: #e6a817;
  font-size: 14px;
}
body.page-template-page-dashboard .dashboard-verify-banner a {
  color: #ffd25a;
  text-decoration: underline;
  font-weight: 600;
}

/* ── Mine Produkter empty state ──────────────────────────────────────────── */
body.page-template-page-dashboard .portal-products-empty {
  padding: 32px 20px;
  text-align: center;
}
body.page-template-page-dashboard .portal-empty-sub {
  color: rgba(230,237,246,0.5);
  font-size: 13px;
  margin-top: 6px;
}

/* ── Hide site footer on dashboard ──────────────────────────────────────── */
body.page-template-page-dashboard .footer,
body.page-template-page-dashboard .site-footer {
  display: none !important;
}

/* ── Project description box ─────────────────────────────────────────────── */
body.page-template-page-dashboard .project-description-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
body.page-template-page-dashboard .project-description {
  color: #d0dce8;
  font-size: 14px;
  line-height: 1.7;
  margin: 6px 0 0;
  white-space: pre-wrap;
}

/* ── Orders list (expandable) ────────────────────────────────────────────── */
body.page-template-page-dashboard .orders-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.page-template-page-dashboard .order-row {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
body.page-template-page-dashboard .order-row:last-child {
  border-bottom: none;
}
body.page-template-page-dashboard .order-row-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: #e6edf6;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  transition: background .12s;
  border-radius: 8px;
}
body.page-template-page-dashboard .order-row-toggle:hover {
  background: rgba(255,255,255,0.04);
}
body.page-template-page-dashboard .order-toggle-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-template-page-dashboard .order-toggle-left strong {
  font-size: 14px;
}
body.page-template-page-dashboard .order-date {
  color: rgba(230,237,246,0.5);
  font-size: 12px;
}
body.page-template-page-dashboard .order-toggle-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
body.page-template-page-dashboard .order-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: #b9c9d8;
}
body.page-template-page-dashboard .order-status-pill.order-status-completed { background: rgba(40,160,80,0.18); color: #4ecb71; }
body.page-template-page-dashboard .order-status-pill.order-status-processing { background: rgba(50,130,255,0.18); color: #6aadff; }
body.page-template-page-dashboard .order-status-pill.order-status-on-hold    { background: rgba(180,120,0,0.18);  color: #e6a817; }
body.page-template-page-dashboard .order-status-pill.order-status-pending    { background: rgba(255,255,255,0.08); color: #9eb5c8; }
body.page-template-page-dashboard .order-chevron {
  font-size: 10px;
  color: rgba(230,237,246,0.4);
  transition: transform .2s;
}
body.page-template-page-dashboard .order-row-toggle.is-open .order-chevron {
  transform: rotate(180deg);
}
body.page-template-page-dashboard .order-detail {
  padding: 4px 4px 14px;
}
body.page-template-page-dashboard .order-items {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
body.page-template-page-dashboard .order-items li {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  color: #c8d8e6;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
body.page-template-page-dashboard .order-items li:last-child { border-bottom: none; }
body.page-template-page-dashboard .order-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(230,237,246,0.6);
  margin-bottom: 8px;
}
body.page-template-page-dashboard .order-detail-meta strong { color: #b9c9d8; }
body.page-template-page-dashboard .order-detail-shipping {
  font-size: 12px;
  color: rgba(230,237,246,0.6);
  margin-bottom: 8px;
}
body.page-template-page-dashboard .order-detail-shipping address {
  font-style: normal;
  display: inline;
}
body.page-template-page-dashboard .order-detail-shipping strong { color: #b9c9d8; }
body.page-template-page-dashboard .order-detail-actions {
  margin-top: 8px;
}
body.page-template-page-dashboard .btn-sm {
  padding: 5px 12px;
  font-size: 12px;
}
body.page-template-page-dashboard .btn-xs {
  padding: 2px 8px;
  font-size: 11px;
}

/* ── Email verify section (account details page) ─────────────────────────── */
.hj3d-email-verify-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dde8de;
}
.hj3d-verify-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hj3d-verify-confirmed {
  color: #2d7a46;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px;
}
.hj3d-section-note {
  font-size: 13px;
  color: #547060;
  margin: 0 0 8px;
}

/* ─── Min konto tab ─────────────────────────────────────────────────────────── */

.dashboard-account-tab {
  max-width: 560px;
}
.dashboard-account-tab .neo-section-title {
  margin-bottom: 28px;
}

/* Labels */
.dashboard-account-tab .woocommerce-form-row label,
.dashboard-account-tab fieldset legend,
.dashboard-account-tab .hj3d-section-title {
  color: #8aa8c0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* Inputs */
.dashboard-account-tab .woocommerce-Input,
.dashboard-account-tab input[type="text"],
.dashboard-account-tab input[type="email"],
.dashboard-account-tab input[type="password"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e6edf6;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  transition: border-color 0.15s ease;
}
.dashboard-account-tab .woocommerce-Input:focus,
.dashboard-account-tab input[type="text"]:focus,
.dashboard-account-tab input[type="email"]:focus,
.dashboard-account-tab input[type="password"]:focus {
  outline: none;
  border-color: rgba(58,171,109,0.6);
  background: rgba(255,255,255,0.09);
}

/* Display name hint */
.dashboard-account-tab #account_display_name_description em {
  font-size: 12px;
  color: #5a7a6a;
  font-style: normal;
}

/* Fieldset — password section */
.dashboard-account-tab fieldset {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0 14px;
}
.dashboard-account-tab fieldset legend {
  padding: 0 8px;
  margin-left: -4px;
}

/* Form row spacing */
.dashboard-account-tab .woocommerce-form-row {
  margin-bottom: 16px;
}
.dashboard-account-tab .clear { display: none; }

/* Save button */
.dashboard-account-tab button[name="save_account_details"] {
  background: linear-gradient(135deg, #2a7d4f, #3aab6d);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dashboard-account-tab button[name="save_account_details"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.dashboard-account-tab button[name="save_account_details"]:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Notices */
.dashboard-account-tab .woocommerce-notices-wrapper,
.dashboard-account-tab .woocommerce-message,
.dashboard-account-tab .woocommerce-error {
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Section dividers — avatar, company, email verify */
.dashboard-account-tab .hj3d-company-section,
.dashboard-account-tab .hj3d-avatar-upload-section,
.dashboard-account-tab .hj3d-email-verify-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Avatar button */
.dashboard-account-tab .hj3d-avatar-upload-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6edf6;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
  display: inline-block;
}
.dashboard-account-tab .hj3d-avatar-upload-btn:hover {
  background: rgba(255,255,255,0.13);
}

/* CVR lookup button */
.dashboard-account-tab .hj3d-cvr-lookup-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6edf6;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.dashboard-account-tab .hj3d-cvr-lookup-btn:hover {
  background: rgba(255,255,255,0.13);
}

/* Email verified badge */
.dashboard-account-tab .hj3d-verify-confirmed {
  color: #3aab6d;
  font-size: 13px;
  font-weight: 600;
}

.hj3d-account-saved {
  background: rgba(58,171,109,0.15);
  border: 1px solid rgba(58,171,109,0.35);
  color: #3aab6d;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ─── New project wizard ─────────────────────────────────────────────────────── */

/* Step indicator */
body.page-template-page-dashboard .np-steps {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
body.page-template-page-dashboard .np-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3a566a;
  white-space: nowrap;
}
body.page-template-page-dashboard .np-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #3a566a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
body.page-template-page-dashboard .np-step.active {
  color: #e6edf6;
}
body.page-template-page-dashboard .np-step.active span {
  border-color: #3aab6d;
  background: #3aab6d;
  color: #fff;
}
body.page-template-page-dashboard .np-step.done {
  color: #3aab6d;
}
body.page-template-page-dashboard .np-step.done span {
  border-color: #3aab6d;
  background: rgba(58,171,109,.18);
  color: #3aab6d;
}
body.page-template-page-dashboard .np-step-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 0 12px;
}

/* Panels */
body.page-template-page-dashboard .np-panel { display: none; }
body.page-template-page-dashboard .np-panel.active { display: block; }

/* 2-col grid */
body.page-template-page-dashboard .np-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

/* Nav row */
body.page-template-page-dashboard .np-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}
body.page-template-page-dashboard .np-optional {
  font-size: 12px;
  color: #5a7a8a;
  font-weight: 400;
}
body.page-template-page-dashboard .np-ral-notice {
  display: block;
  font-size: 11px;
  color: #4a6270;
  font-weight: 400;
  line-height: 1.4;
}
/* Reserve the same vertical space as the RAL notice so Materiale and Farve dropdowns stay level */
body.page-template-page-dashboard .np-grid-2 > label:nth-child(5)::before {
  content: '';
  display: block;
  height: 15px;
}

/* Farve row: select + swatch inline */
/* ── Material custom dropdown ───────────────────────────────────────────── */
body.page-template-page-dashboard .np-mat-dropdown {
  position: relative;
}
body.page-template-page-dashboard .np-mat-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #e6edf6;
  padding: 9px 36px 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  transition: border-color .15s;
}
body.page-template-page-dashboard .np-mat-trigger:hover,
body.page-template-page-dashboard .np-mat-trigger:focus {
  border-color: rgba(255,255,255,.3);
  outline: none;
}
body.page-template-page-dashboard .np-mat-chevron {
  flex-shrink: 0;
  color: #5a7a8a;
  transition: transform .15s;
}
body.page-template-page-dashboard .np-mat-trigger[aria-expanded="true"] .np-mat-chevron {
  transform: rotate(180deg);
}
body.page-template-page-dashboard .np-mat-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #1a2a38;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  overflow: hidden;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
body.page-template-page-dashboard .np-mat-list.open {
  display: block;
}
body.page-template-page-dashboard .np-mat-option {
  padding: 9px 14px;
  font-size: 13px;
  color: #c4d1df;
  cursor: pointer;
  transition: background .1s, color .1s;
}
body.page-template-page-dashboard .np-mat-option:hover {
  background: rgba(58,171,109,.15);
  color: #e6edf6;
}
body.page-template-page-dashboard .np-mat-option.selected {
  color: #3aab6d;
  font-weight: 600;
}

/* ── Material tooltip ───────────────────────────────────────────────────── */
.np-mat-tooltip {
  position: fixed;
  z-index: 9999;
  background: #0f1e2a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  pointer-events: none;
  animation: np-tt-in .12s ease;
}
@keyframes np-tt-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.np-tt-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.np-tt-head strong {
  font-size: 15px;
  color: #e6edf6;
  font-weight: 700;
}
.np-tt-full {
  display: block;
  font-size: 11px;
  color: #5a7a8a;
  margin-top: 2px;
}
.np-tt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.np-tt-table tr + tr td {
  border-top: 1px solid rgba(255,255,255,.05);
}
.np-tt-key {
  font-size: 11px;
  color: #5a7a8a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 0;
  width: 48%;
}
.np-tt-val {
  font-size: 12px;
  color: #c4d1df;
  padding: 4px 0;
}
.np-tt-note {
  font-size: 11px;
  color: #5a7a8a;
  line-height: 1.5;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Colour dropdown items ──────────────────────────────────────────────── */
body.page-template-page-dashboard .np-clr-option {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-template-page-dashboard .np-clr-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
body.page-template-page-dashboard .np-clr-name {
  flex: 1;
  font-size: 13px;
  color: #c4d1df;
}
body.page-template-page-dashboard .np-clr-ral {
  font-size: 11px;
  color: #5a7a8a;
  flex-shrink: 0;
}
body.page-template-page-dashboard .np-clr-hex {
  font-size: 11px;
  color: #3e5a68;
  flex-shrink: 0;
  font-family: monospace;
}
/* Trigger dot (selected colour indicator) */
body.page-template-page-dashboard .np-clr-trigger-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
body.page-template-page-dashboard .np-clr-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3);
  visibility: hidden;
}
/* Colour list: scrollable if many entries */
body.page-template-page-dashboard .np-clr-list {
  display: none;
  max-height: 260px;
  overflow-y: auto;
}
body.page-template-page-dashboard .np-clr-list.open {
  display: block;
}
body.page-template-page-dashboard .np-clr-list::-webkit-scrollbar {
  width: 4px;
}
body.page-template-page-dashboard .np-clr-list::-webkit-scrollbar-track {
  background: transparent;
}
body.page-template-page-dashboard .np-clr-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.1);
  border-radius: 2px;
}

/* ── Colour hover preview (fixed, follows cursor) ───────────────────────── */
.np-clr-preview {
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f1e2a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px 14px;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  animation: np-tt-in .1s ease;
}
.np-clrp-swatch {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.np-clrp-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.np-clrp-info strong {
  font-size: 13px;
  color: #e6edf6;
  font-weight: 600;
}
.np-clrp-info span {
  font-size: 11px;
  color: #5a7a8a;
}


/* ── Share with colleagues checkbox ────────────────────────────────────────── */
body.page-template-page-dashboard .np-share-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(58,171,109,.07);
  border: 1px solid rgba(58,171,109,.2);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  margin-bottom: 4px;
}
body.page-template-page-dashboard .np-share-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #3aab6d;
  flex-shrink: 0;
}
body.page-template-page-dashboard .np-share-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.page-template-page-dashboard .np-share-text strong {
  font-size: 13px;
  color: #e6edf6;
  font-weight: 600;
}
body.page-template-page-dashboard .np-share-text small {
  font-size: 11px;
  color: #5a7a8a;
}

/* ── Settings tab ───────────────────────────────────────────────────────────── */
body.page-template-page-dashboard .dashboard-settings-tab {
  padding: 8px 0;
}
body.page-template-page-dashboard .settings-section {
  padding: 28px 32px;
  margin-bottom: 20px;
}
body.page-template-page-dashboard .settings-section-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
body.page-template-page-dashboard .settings-section-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #e6edf6;
  margin: 0 0 6px;
}
body.page-template-page-dashboard .settings-section-head p {
  font-size: 13px;
  color: #5a7a8a;
  margin: 0;
}
body.page-template-page-dashboard .settings-toggles {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body.page-template-page-dashboard .settings-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
}
body.page-template-page-dashboard .settings-toggle-row:last-of-type {
  border-bottom: none;
}
body.page-template-page-dashboard .settings-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
body.page-template-page-dashboard .settings-toggle-info strong {
  font-size: 14px;
  color: #c4d1df;
  font-weight: 600;
}
body.page-template-page-dashboard .settings-toggle-info small {
  font-size: 12px;
  color: #5a7a8a;
}
/* Toggle switch */
body.page-template-page-dashboard .settings-toggle-wrap {
  position: relative;
  flex-shrink: 0;
}
body.page-template-page-dashboard .settings-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
body.page-template-page-dashboard .settings-toggle-slider {
  display: block;
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  position: relative;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,.1);
}
body.page-template-page-dashboard .settings-toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5a7a8a;
  transition: transform .2s, background .2s;
}
body.page-template-page-dashboard .settings-toggle-input:checked + .settings-toggle-slider {
  background: rgba(58,171,109,.3);
  border-color: rgba(58,171,109,.4);
}
body.page-template-page-dashboard .settings-toggle-input:checked + .settings-toggle-slider::after {
  transform: translateX(20px);
  background: #3aab6d;
}
body.page-template-page-dashboard .settings-saved-msg {
  font-size: 13px;
  color: #3aab6d;
  padding-top: 16px;
  margin: 0;
}

/* ── Notification delay row ─────────────────────────────────────────────── */
body.page-template-page-dashboard .settings-delay-row {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .25s ease;
}
body.page-template-page-dashboard .settings-delay-row.is-visible {
  grid-template-rows: 1fr;
}
body.page-template-page-dashboard .settings-delay-inner {
  min-height: 0;
  overflow: hidden;
}
body.page-template-page-dashboard .settings-delay-label {
  display: block;
  font-size: 13px;
  color: #5a7a8a;
  margin-bottom: 8px;
  padding-top: 16px;
}
body.page-template-page-dashboard .settings-delay-select {
  opacity: 1;
  width: auto;
  height: auto;
  position: static;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #c4d1df;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  display: block;
}
body.page-template-page-dashboard .settings-delay-select:focus {
  outline: none;
  border-color: rgba(58,171,109,.5);
}
body.page-template-page-dashboard .settings-delay-hint {
  display: block;
  font-size: 11px;
  color: #3a566a;
  margin-top: 6px;
  padding-bottom: 16px;
}

/* Input error state */
body.page-template-page-dashboard .np-input-error {
  border-color: #ff6b6b !important;
}

/* Upload zone */
body.page-template-page-dashboard .np-upload-zone {
  border: 2px dashed rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin: 16px 0 8px;
  position: relative;
  overflow: hidden;
}
body.page-template-page-dashboard .np-upload-zone.is-over {
  border-color: #3aab6d;
  background: rgba(58,171,109,.06);
}
body.page-template-page-dashboard .np-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
}
body.page-template-page-dashboard .np-upload-inner {
  pointer-events: none;
}
body.page-template-page-dashboard .np-upload-inner p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #c4d1df;
}
body.page-template-page-dashboard .np-upload-link {
  color: #3aab6d;
  text-decoration: underline;
  cursor: pointer;
  pointer-events: all;
}

/* File preview list */
body.page-template-page-dashboard .np-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
body.page-template-page-dashboard .np-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 8px 12px;
}
body.page-template-page-dashboard .np-file-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
body.page-template-page-dashboard .np-file-badge {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: #3a566a;
}
body.page-template-page-dashboard .np-file-badge.pdf { background: #e53935; }
body.page-template-page-dashboard .np-file-badge.stl,
body.page-template-page-dashboard .np-file-badge.step,
body.page-template-page-dashboard .np-file-badge.stp { background: #1976d2; }
body.page-template-page-dashboard .np-file-info { flex: 1; min-width: 0; }
body.page-template-page-dashboard .np-file-name {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e6edf6;
}
body.page-template-page-dashboard .np-file-size {
  font-size: 11px;
  color: #5a7a8a;
  margin-top: 2px;
}
body.page-template-page-dashboard .np-file-remove {
  background: none;
  border: none;
  color: #5a7a8a;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
body.page-template-page-dashboard .np-file-remove:hover { color: #ff6b6b; }

/* Review panel */
body.page-template-page-dashboard .np-review-wrap {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 4px;
}
body.page-template-page-dashboard .np-review-heading {
  font-size: 13px;
  font-weight: 600;
  color: #8aa8c0;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 16px;
}
body.page-template-page-dashboard .np-review {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
}
body.page-template-page-dashboard .np-review-key {
  font-size: 12px;
  color: #5a7a8a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  align-self: start;
  padding-top: 1px;
}
body.page-template-page-dashboard .np-review-val {
  font-size: 14px;
  color: #e6edf6;
  word-break: break-word;
}

/* ── Manager tab strip ───────────────────────────────────────────────────────── */
body.page-template-page-dashboard .mgr-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  margin-bottom: 0;
}
body.page-template-page-dashboard .mgr-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 9px 14px 8px;
  font-size: 13px;
  font-weight: 500;
  color: #5a7a8a;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
body.page-template-page-dashboard .mgr-tab:hover { color: #c8d8e6; }
body.page-template-page-dashboard .mgr-tab.is-active {
  color: #e6edf6;
  border-bottom-color: #57b37e;
}

/* ── Manager tab panels ──────────────────────────────────────────────────────── */
body.page-template-page-dashboard .mgr-tab-panel {
  display: none;
  padding: 16px 18px 20px;
  overflow: hidden;
}
body.page-template-page-dashboard .mgr-tab-panel.is-active { display: block; }
body.page-template-page-dashboard .mgr-tab-panel[data-panel="chat"] { padding: 0; display: none; }
body.page-template-page-dashboard .mgr-tab-panel[data-panel="chat"].is-active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── Manager panels ──────────────────────────────────────────────────────────── */
body.page-template-page-dashboard .manager-section-hint {
  font-size: 12px;
  color: #7a9ab8;
  margin: 0 0 12px;
}
body.page-template-page-dashboard .manager-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
body.page-template-page-dashboard .manager-status { font-size: 12px; color: #57b37e; }
body.page-template-page-dashboard .manager-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
body.page-template-page-dashboard .manager-search-row input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  color: #e6edf6;
  padding: 7px 12px;
  font-size: 13px;
}
body.page-template-page-dashboard .manager-search-row input::placeholder { color: #5a7a8a; }
body.page-template-page-dashboard .manager-search-row input:focus {
  outline: none;
  border-color: rgba(87,179,126,.5);
  background: rgba(255,255,255,.10);
}
body.page-template-page-dashboard .mgr-user-results {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  background: #162c43;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
}
body.page-template-page-dashboard .mgr-user-results:empty { display: none; }
body.page-template-page-dashboard .mgr-user-results li {
  padding: 7px 12px;
  font-size: 13px;
  color: #cdd8e3;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.page-template-page-dashboard .mgr-user-results li:last-child { border-bottom: none; }
body.page-template-page-dashboard .mgr-user-results li:hover { background: rgba(255,255,255,.05); }
body.page-template-page-dashboard .mgr-user-results .mgr-result-action {
  flex-shrink: 0;
  border: 1px solid;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  transition: opacity .15s;
}
body.page-template-page-dashboard .mgr-user-results .mgr-result-action.is-add {
  color: #57b37e;
  border-color: rgba(87,179,126,.4);
}
body.page-template-page-dashboard .mgr-user-results .mgr-result-action.is-remove {
  color: #e05a5a;
  border-color: rgba(224,90,90,.4);
}
body.page-template-page-dashboard .mgr-user-results .mgr-result-action:hover { opacity: .7; }
body.page-template-page-dashboard .mgr-shared-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin-bottom: 10px;
}
body.page-template-page-dashboard .mgr-shared-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(87,179,126,.15);
  border: 1px solid rgba(87,179,126,.28);
  border-radius: 999px;
  padding: 4px 10px 4px 12px;
  font-size: 12px;
  color: #a8dbbe;
}
body.page-template-page-dashboard .mgr-remove-chip {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(168,219,190,.8);
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  transition: color .15s;
}
body.page-template-page-dashboard .mgr-remove-chip:hover { color: #e05a5a; }
body.page-template-page-dashboard .mgr-shared-list-label {
  font-size: 11px;
  color: #5a7a8a;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
body.page-template-page-dashboard .mgr-ship-table-wrap {
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
body.page-template-page-dashboard .mgr-ship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}
body.page-template-page-dashboard .mgr-ship-table th {
  text-align: left;
  padding: 7px 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7a95ab;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
  overflow: hidden;
}
body.page-template-page-dashboard .mgr-ship-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: #cdd8e3;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Column widths — Fragtfirma, Dato, Retning, Chevron */
body.page-template-page-dashboard .mgr-ship-table th:nth-child(1),
body.page-template-page-dashboard .mgr-ship-table td:nth-child(1) { width: auto; }
body.page-template-page-dashboard .mgr-ship-table th:nth-child(2),
body.page-template-page-dashboard .mgr-ship-table td:nth-child(2) { width: 22%; white-space: nowrap; }
body.page-template-page-dashboard .mgr-ship-table th:nth-child(3),
body.page-template-page-dashboard .mgr-ship-table td:nth-child(3) { width: 20%; }
body.page-template-page-dashboard .mgr-ship-table th:nth-child(4),
body.page-template-page-dashboard .mgr-ship-table td:nth-child(4) { width: 32px; padding: 0; text-align: center; }
body.page-template-page-dashboard .mgr-ship-table tr:last-child td { border-bottom: none; }
body.page-template-page-dashboard .mgr-ship-table .mgr-ship-row:hover td { background: rgba(255,255,255,.025); cursor: pointer; }
body.page-template-page-dashboard .mgr-ship-empty {
  color: #4a6a7a;
  font-style: italic;
  padding: 14px 12px;
}
/* Chevron toggle button */
body.page-template-page-dashboard .mgr-ship-th-chevron { width: 32px; }
body.page-template-page-dashboard .mgr-ship-chevron-cell { width: 32px; text-align: center; }
body.page-template-page-dashboard .mgr-ship-toggle {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: #7a95ab;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform .2s, background .15s, color .15s;
}
body.page-template-page-dashboard .mgr-ship-toggle:hover {
  background: rgba(255,255,255,.12);
  color: #e6edf6;
}
body.page-template-page-dashboard .mgr-ship-toggle.is-open {
  transform: rotate(180deg);
  background: rgba(87,179,126,.15);
  border-color: rgba(87,179,126,.3);
  color: #57b37e;
}
/* Detail/action row */
body.page-template-page-dashboard .mgr-ship-detail-row td { padding: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
body.page-template-page-dashboard .mgr-ship-detail-cell {
  padding: 0 12px !important;
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
body.page-template-page-dashboard .mgr-ship-detail-inner {
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
}
body.page-template-page-dashboard .mgr-ship-detail-inner.is-open {
  max-height: 120px;
  opacity: 1;
  padding: 10px 0 12px;
}
body.page-template-page-dashboard .mgr-ship-detail-line {
  font-size: 12px;
  color: #8aabb8;
  margin-bottom: 6px;
}
body.page-template-page-dashboard .mgr-ship-detail-line span {
  color: #5a7a8a;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .05em;
  margin-right: 4px;
}
body.page-template-page-dashboard .mgr-ship-actions { display: flex; gap: 6px; margin-top: 8px; }
body.page-template-page-dashboard .mgr-delivery-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .03em;
}
body.page-template-page-dashboard .mgr-delivery-normal {
  background: rgba(255,255,255,.08);
  color: #8aabb8;
  border: 1px solid rgba(255,255,255,.1);
}
body.page-template-page-dashboard .mgr-delivery-express {
  background: rgba(255,180,50,.22);
  color: #ffd060;
  border: 1px solid rgba(255,180,50,.55);
}
/* Shipment add/edit form */
body.page-template-page-dashboard .mgr-ship-form-details {
  margin-top: 4px;
}
body.page-template-page-dashboard .mgr-ship-form-toggle {
  font-size: 13px;
  font-weight: 500;
  color: #57b37e;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.page-template-page-dashboard .mgr-ship-form-toggle::-webkit-details-marker { display: none; }
body.page-template-page-dashboard .mgr-ship-form-body {
  margin-top: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 16px;
}
body.page-template-page-dashboard .mgr-ship-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
body.page-template-page-dashboard .mgr-ship-form-grid label,
body.page-template-page-dashboard .mgr-ship-note-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #7a95ab;
  text-transform: uppercase;
  letter-spacing: .06em;
}
body.page-template-page-dashboard .mgr-ship-note-label { grid-column: 1 / -1; }
body.page-template-page-dashboard .mgr-ship-form-grid input,
body.page-template-page-dashboard .mgr-ship-form-grid select,
body.page-template-page-dashboard .mgr-ship-form-grid textarea,
body.page-template-page-dashboard .mgr-ship-note-label textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #e6edf6;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  transition: border-color .15s, background .15s;
}
body.page-template-page-dashboard .mgr-ship-form-grid input:focus,
body.page-template-page-dashboard .mgr-ship-form-grid select:focus,
body.page-template-page-dashboard .mgr-ship-form-grid textarea:focus,
body.page-template-page-dashboard .mgr-ship-note-label textarea:focus {
  outline: none;
  border-color: rgba(87,179,126,.5);
  background: rgba(255,255,255,.09);
}
body.page-template-page-dashboard .mgr-ship-form-grid input::placeholder,
body.page-template-page-dashboard .mgr-ship-form-grid textarea::placeholder {
  color: #4a6a7a;
}
body.page-template-page-dashboard .mgr-ship-form-grid select option { background: #1d3552; color: #e6edf6; }
body.page-template-page-dashboard .mgr-ship-form-body .manager-action-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Hours tracking tab ───────────────────────────────────── */
body.page-template-page-dashboard .mgr-hours-table-wrap { margin-bottom: 12px; overflow-x: auto; }
body.page-template-page-dashboard .mgr-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
body.page-template-page-dashboard .mgr-hours-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: #4a6a7a;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.page-template-page-dashboard .mgr-hours-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: #c8dce8;
  vertical-align: middle;
}
body.page-template-page-dashboard .mgr-hours-table tr:last-child td { border-bottom: none; }
body.page-template-page-dashboard .mgr-hours-row:hover td { background: rgba(255,255,255,.025); }
body.page-template-page-dashboard .mgr-hours-time { font-weight: 600; white-space: nowrap; }
body.page-template-page-dashboard .mgr-hours-desc { color: #7a95ab; font-size: 12px; }
body.page-template-page-dashboard .mgr-hours-empty { color: #4a6a7a; font-style: italic; text-align: center; padding: 14px 0; }
body.page-template-page-dashboard .mgr-hours-total-row td {
  border-top: 2px solid rgba(255,255,255,.1);
  padding-top: 8px;
  font-size: 13px;
}
body.page-template-page-dashboard .mgr-del-hours {
  background: none;
  border: none;
  color: rgba(220,80,80,.6);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
body.page-template-page-dashboard .mgr-del-hours:hover {
  color: #dc5050;
  background: rgba(220,80,80,.1);
}

/* ── Image markup editor ──────────────────────────────────── */
#image-btn-markup {
  margin-left: 8px;
}
#hj3d-markup-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#hj3d-markup-modal.is-open {
  display: flex;
}
.markup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.markup-box {
  position: relative;
  z-index: 1;
  background: #111e2c;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  max-width: 95vw;
  max-height: 95vh;
  overflow: hidden;
}

/* Canvas area (left side) */
.markup-canvas-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Top bar: file name + burger button */
.markup-topbar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #1a2e42;
}
.markup-title {
  font-size: 13px;
  font-weight: 600;
  color: #e6edf6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Right sidebar panel */
.markup-sidebar {
  width: 180px;
  min-width: 180px;
  background: #1a2e42;
  border-left: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 8px;
  transition: width .25s ease, min-width .25s ease, opacity .2s ease;
}
.markup-sidebar-section {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.markup-sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 2px;
}
.markup-sidebar-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 2px 0;
}
.markup-sidebar-footer {
  margin-top: auto;
  padding-bottom: 14px;
}
.markup-tools {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.markup-tool {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.markup-tool:hover {
  background: rgba(255,255,255,.13);
  color: #e6edf6;
}
.markup-tool.active {
  background: rgba(87,179,126,.18);
  border-color: rgba(87,179,126,.45);
  color: #57b37e;
}
.markup-color-wrap {
  display: flex;
  align-items: center;
}
.markup-color-wrap input[type="color"] {
  width: 100%;
  height: 30px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 2px;
  background: transparent;
  cursor: pointer;
}
.markup-size-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.markup-size-wrap input[type="range"] {
  width: 100%;
  accent-color: #57b37e;
}
.markup-action-btn {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background .15s;
}
.markup-action-btn:hover {
  background: rgba(255,255,255,.13);
  color: #e6edf6;
}
.btn-danger-ghost:hover {
  background: rgba(220,50,50,.15);
  color: #e07070;
}
.markup-save-btn {
  background: rgba(87,179,126,.18);
  border: 1px solid rgba(87,179,126,.45);
  border-radius: 6px;
  color: #57b37e;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
.markup-save-btn:hover {
  background: rgba(87,179,126,.28);
}
.markup-close-btn {
  background: rgba(220,50,50,.12);
  border: 1px solid rgba(220,50,50,.3);
  border-radius: 6px;
  color: #e07070;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
.markup-close-btn:hover {
  background: rgba(220,50,50,.22);
}
.markup-stage {
  overflow: auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #111e2c;
}
body.page-template-page-dashboard .mgr-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-template-page-dashboard .mgr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,20,34,.82);
  backdrop-filter: blur(3px);
}
body.page-template-page-dashboard .mgr-modal-box {
  position: relative;
  background: #1a3050;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  width: min(92vw, 480px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
body.page-template-page-dashboard .mgr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
body.page-template-page-dashboard .mgr-modal-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e6edf6;
  letter-spacing: .01em;
}
body.page-template-page-dashboard .mgr-modal-close {
  background: none;
  border: none;
  color: #5a7a8a;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color .15s;
}
body.page-template-page-dashboard .mgr-modal-close:hover { color: #e6edf6; }
body.page-template-page-dashboard .mgr-modal-body { padding: 20px; }
body.page-template-page-dashboard .mgr-modal-body label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #7a95ab;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
  margin-top: 14px;
}
body.page-template-page-dashboard .mgr-modal-body label:first-child { margin-top: 0; }
body.page-template-page-dashboard .mgr-modal-body input[type="text"],
body.page-template-page-dashboard .mgr-modal-body input[type="email"],
body.page-template-page-dashboard .mgr-modal-body input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #e6edf6;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
body.page-template-page-dashboard .mgr-modal-body input[type="text"]:focus,
body.page-template-page-dashboard .mgr-modal-body input[type="email"]:focus,
body.page-template-page-dashboard .mgr-modal-body input[type="tel"]:focus {
  outline: none;
  border-color: rgba(87,179,126,.5);
  background: rgba(255,255,255,.09);
}
body.page-template-page-dashboard .mgr-modal-body input::placeholder { color: #4a6a7a; }
body.page-template-page-dashboard .mgr-modal-body .mgr-modal-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* CVR register results in modal */
body.page-template-page-dashboard .mgr-cvr-results {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  background: #162840;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
}
body.page-template-page-dashboard .mgr-cvr-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .12s;
}
body.page-template-page-dashboard .mgr-cvr-option:last-child { border-bottom: none; }
body.page-template-page-dashboard .mgr-cvr-option:hover { background: rgba(255,255,255,.06); }
body.page-template-page-dashboard .mgr-cvr-option strong { font-size: 14px; color: #e6edf6; }
body.page-template-page-dashboard .mgr-cvr-option span { font-size: 12px; color: #7a9ab8; }
body.page-template-page-dashboard .mgr-ccm-selected-company {
  background: rgba(87,179,126,.10);
  border: 1px solid rgba(87,179,126,.22);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #a8dbbe;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
body.page-template-page-dashboard .mgr-ccm-selected-company strong { font-size: 14px; color: #e6edf6; }
body.page-template-page-dashboard .mgr-ccm-selected-company span { font-size: 12px; color: #7a9ab8; }


/* CVR search row in modal */
body.page-template-page-dashboard .mgr-cvr-search-row {
  margin-bottom: 4px;
}
body.page-template-page-dashboard .mgr-cvr-search-row input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #e6edf6;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
body.page-template-page-dashboard .mgr-cvr-search-row input:focus {
  outline: none;
  border-color: rgba(87,179,126,.5);
  background: rgba(255,255,255,.09);
}
body.page-template-page-dashboard .mgr-cvr-search-row input::placeholder { color: #4a6a7a; }

/* Mgr modal contact grid uses .mgr-ship-form-grid styles already set above */
/* Override specifically for inputs inside the modal body */
body.page-template-page-dashboard .mgr-modal-body .mgr-ship-form-grid input,
body.page-template-page-dashboard .mgr-modal-body .mgr-ship-form-grid select,
body.page-template-page-dashboard .mgr-modal-body .mgr-ship-form-grid textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #e6edf6;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}
body.page-template-page-dashboard .mgr-modal-body .mgr-ship-form-grid input::placeholder,
body.page-template-page-dashboard .mgr-modal-body .mgr-ship-form-grid textarea::placeholder { color: #4a6a7a; }
body.page-template-page-dashboard .mgr-modal-body .mgr-ship-form-grid label {

/* ── Min konto sektionsoverskrifter ──────────────────────────────────────── */
body.page-template-page-dashboard fieldset legend,
body.page-template-page-dashboard .hj3d-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.page-template-page-dashboard fieldset legend svg,
body.page-template-page-dashboard .hj3d-section-title svg {
  opacity: 0.6;
  flex-shrink: 0;
  margin-right: 7px;
  vertical-align: middle;
}

/* ── Support & hurtige links ikoner ──────────────────────────────────────── */
body.page-template-page-dashboard .btn svg {
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
}

body.page-template-page-dashboard .portal-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-template-page-dashboard .portal-list li svg {
  opacity: 0.5;
  flex-shrink: 0;
}

