/* DraperyMill — unified customer area. Based on Impeccable's Operate, distill and polish guidance.
   The original WooCommerce My Account shell owns navigation, login, account state and logout.
   This stylesheet affects the customer workspace only; not storefront sections or products. */
.dmv3-app.dmv4-unified {
  --n:#273b4d; --nav:#293b4b; --blue:#205276; --deep:#1e405d;
  --muted:#52697a; --border:#dbe4e8; --soft:#f6f8f7;
  --bg:#fbfcfa; --text:#263744;
  position:relative!important; inset:auto!important; z-index:auto!important;
  display:block!important; overflow:visible!important;
  width:100%!important; max-width:none!important; min-height:0!important;
  height:auto!important; margin:0!important; padding:0!important;
  background:transparent!important; color:var(--text)!important;
  font:inherit!important; font-size:14px!important; line-height:1.55!important;
  isolation:isolate;
}
.dmv4-unified .dmv3-main {margin:0;padding:0;max-width:none;min-width:0;}
.dmv4-unified .dmv3-pagehead {margin:0 0 26px;gap:18px;align-items:end;}
.dmv4-unified h1 {font-size:clamp(23px,2.3vw,29px);letter-spacing:-.025em;font-weight:650;color:#233a4b;}
.dmv4-unified h2 {font-size:17px;font-weight:650;letter-spacing:-.01em;}
.dmv4-unified h3 {font-size:15px;font-weight:620;}
.dmv4-unified .dmv3-subtitle {font-size:14px;color:#4f6573;line-height:1.6;margin-top:7px!important;}
.dmv4-unified .dmv3-breadcrumb,.dmv4-unified .dmv3-navlabel {display:none!important;}
.dmv4-unified .dmv3-surface {box-shadow:none!important;border:1px solid #e0e6e9!important;border-radius:8px!important;padding:22px!important;background:#fff!important;margin:0 0 20px;}
.dmv4-unified .dmv3-sectionhead {margin-bottom:17px;}
.dmv4-unified .dmv3-sectionhead>span:not(.dmv3-status) {font-size:13px;color:#5b7080;}
.dmv4-unified .dmv3-metrics {display:flex;flex-wrap:wrap;align-items:center;gap:0;padding:15px 0 16px;margin:0 0 24px;border-top:1px solid #dbe4e6;border-bottom:1px solid #dbe4e6;background:none;}
.dmv4-unified .dmv3-metric {display:block;flex:1 1 155px;min-width:0;max-width:none;margin:0;padding:0 18px 0 0;border:0;border-right:1px solid #dce4e6;border-radius:0;box-shadow:none;background:transparent;}
.dmv4-unified .dmv3-metric+.dmv3-metric {padding-left:18px;}
.dmv4-unified .dmv3-metric:last-child {border-right:0;}
.dmv4-unified .dmv3-metricicon {display:none!important;}
.dmv4-unified .dmv3-metric small {font-size:12px;color:#526778;line-height:1.3;}
.dmv4-unified .dmv3-metric strong {font-size:22px;color:#233a4b;font-weight:650;line-height:1.25;margin:4px 0 0;}
.dmv4-unified .dmv3-metric span:not(.dmv3-metricicon) {font-size:12px;color:#526778;}
.dmv4-unified a.dmv3-btn,.dmv4-unified button.dmv3-btn,.dmv4-unified summary.dmv3-btn,
.dmv4-unified .dmv3-btn {box-shadow:none!important;border-radius:5px!important;font-size:13px!important;font-weight:600!important;min-height:42px;transition:background .18s ease,border-color .18s ease;}
.dmv4-unified a.dmv3-btn.dmv3-btnprimary,.dmv4-unified button.dmv3-btn.dmv3-btnprimary,
.dmv4-unified summary.dmv3-btn.dmv3-btnprimary {background:#245574!important;border-color:#245574!important;color:#fff!important;}
.dmv4-unified a.dmv3-btn.dmv3-btnprimary:hover,.dmv4-unified button.dmv3-btn.dmv3-btnprimary:hover {background:#163d59!important;border-color:#163d59!important;}
.dmv4-unified a.dmv3-btn.dmv3-btnlight,.dmv4-unified button.dmv3-btn.dmv3-btnlight {background:#fff!important;color:#264c66!important;border-color:#cad7de!important;}
.dmv4-unified a.dmv3-btn.dmv3-btnlight:hover,.dmv4-unified button.dmv3-btn.dmv3-btnlight:hover {background:#eef4f5!important;}
.dmv4-unified .dmv3-search,.dmv4-unified input:not([type=checkbox]):not([type=radio]),.dmv4-unified select,.dmv4-unified textarea {font-size:14px!important;border-color:#cbd8dc!important;box-shadow:none!important;border-radius:5px!important;}
.dmv4-unified input:not([type=checkbox]):not([type=radio]),.dmv4-unified select{min-height:42px!important;}
.dmv4-unified .dmv2-field{font-size:13px;font-weight:600;color:#344d5c;}
.dmv4-unified .dmv3-search input {font-size:14px!important;}
.dmv4-unified .dmv3-filterbar.dmv3-surface {background:#f8faf9!important;border-color:#e2e9e9!important;padding:16px!important;}
.dmv4-unified .dmv3-projectcards {gap:18px;}
.dmv4-unified .dmv3-projectcard {box-shadow:none!important;border-radius:7px!important;border:1px solid #dce5e8!important;}
.dmv4-unified .dmv3-cardimage {height:135px;background:#f2f1ed;}
.dmv4-unified .dmv3-photoabstract {background:#e9ece9!important;color:#536b78!important;font-family:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important;}
.dmv4-unified .dmv3-cardbody {padding:16px;}
.dmv4-unified .dmv3-projectcode {font-size:12px;color:#42647b;}
.dmv4-unified .dmv3-cardbody h3 {font-size:17px;font-weight:650;}
.dmv4-unified .dmv3-cardbody>p,.dmv4-unified .dmv3-cardfacts,.dmv4-unified .dmv3-cardfacts span,.dmv4-unified .dmv3-cardfacts strong {font-size:12px;}
.dmv4-unified .dmv3-cardtotals {background:transparent;border-top:1px solid #e2e9e9;padding:12px 0;border-radius:0;}
.dmv4-unified .dmv3-cardtotals strong {color:#264456;font-size:16px;}
.dmv4-unified .dmv3-cardtotals small {font-size:12px;}
.dmv4-unified .dmv3-cardactions a {font-size:12px;min-height:38px;display:grid;place-items:center;}
.dmv4-unified .dmv3-status {box-shadow:none!important;}
.dmv4-unified .dmv3-table {font-size:13px;}
.dmv4-unified .dmv3-table thead th {font-size:12px;font-weight:650;background:#f1f5f5;color:#334b5d;border-bottom:1px solid #d9e3e6;}
.dmv4-unified .dmv3-table tbody td {padding:13px 12px;border-bottom-color:#e2e8e9;}
.dmv4-unified .dmv3-table tbody tr:hover {background:#f6f9f8;}
.dmv4-unified .dmv3-table tbody td strong,.dmv4-unified .dmv3-table tbody td small {font-size:13px;}
.dmv4-unified .dmv3-table tbody td small {font-size:12px;color:#566a78;}
.dmv4-unified .dmv3-sku {color:#225574;font-weight:650;}
.dmv4-unified .dmv3-tabs,.dmv4-unified .dmv3-filtertabs {border-radius:0;background:transparent;border-bottom:1px solid #d9e2e5;padding:0;}
.dmv4-unified .dmv3-tabs a,.dmv4-unified .dmv3-tabs button {font-size:13px;font-weight:600;padding:12px 16px;}
.dmv4-unified .dmv3-tabs .is-active {border-bottom-color:#285e7d;color:#245574;}
.dmv4-unified .dmv3-profilegrid {grid-template-columns:minmax(0,1fr) 240px;}
.dmv4-unified .dmv3-completion {display:none;}
.dmv4-unified .dmv3-help,.dmv4-unified .dmv3-aside p {font-size:13px;line-height:1.7;color:#556976;}
.dmv4-unified .dmv3-logobox {background:#f8faf9;border-color:#d6e2e3;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;color:#4b6473;}
.dmv4-unified .dmv3-doctabs {background:transparent;border:0;border-bottom:1px solid #dbe4e6;border-radius:0;padding:0 0 14px;margin-bottom:20px;}
.dmv4-unified .dmv3-preview {background:#f1f4f3;border-color:#dfe6e6;box-shadow:none;}
.dmv4-unified .dmv3-paperframe {background:#ecefed;box-shadow:none;}
.dmv4-unified .dmv3-editor .dmv3-surface {padding:20px!important;}
.dmv4-unified .dmv3-editortabs {background:transparent;border:0;border-bottom:1px solid #dbe4e6;border-radius:0;}
.dmv4-unified .dmv3-sumtotal {background:#f0f5f4;}
.dmv4-unified .dmv3-sumtotal strong {color:#264e68;}
.dmv4-unified .dmv3-empty {color:#526a79;border:1px dashed #cbd8dc;background:#f9fbfa;border-radius:6px;}
.dmv4-unified :focus-visible,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {outline:3px solid #367b99!important;outline-offset:3px!important;}
.dmv4-unified .dmv3-table td:last-child {white-space:nowrap;}
.dmv4-unified .dmv3-table td:not(:first-child){font-variant-numeric:tabular-nums;}
.dmv4-unified ::selection {background:#c8e1e8;color:#13364a;}

/* The existing WooCommerce My Account page is the only customer dashboard. */
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display:grid;grid-template-columns:210px minmax(0,1fr);column-gap:32px;
  align-items:start;max-width:1480px;margin:0 auto;padding:24px 18px 50px;
}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)> .woocommerce-MyAccount-navigation {
  width:auto!important;float:none!important;min-width:0;position:sticky;top:24px;
  border-right:1px solid #d9e3e5;padding:4px 16px 4px 0;
}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)> .woocommerce-MyAccount-content {
  width:auto!important;float:none!important;min-width:0;padding:0;overflow:visible;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {margin:0;padding:0;list-style:none;}
body.woocommerce-account .woocommerce-MyAccount-navigation li {margin:0 0 3px;list-style:none;}
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display:block;padding:11px 12px;text-decoration:none!important;border-radius:5px;
  color:#344d5c;font-size:14px;line-height:1.45;font-weight:540;
  transition:background .18s ease,color .18s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {background:#eff4f4;color:#214f67;}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active>a {background:#e9f1f1;color:#1c4b64;font-weight:690;}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {border-top:1px solid #d9e3e5;margin-top:14px;padding-top:12px;}
/* Existing theme adds a welcome banner; do not repeat it on endpoint pages. */
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)> .dmfb-account-shell {display:none;}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)> .woocommerce-notices-wrapper {grid-column:2;}
.dmv4-overview {margin:6px 0 30px;}
.dmv4-overview h2 {font-size:23px;line-height:1.25;letter-spacing:-.02em;margin:0 0 5px;color:#263f52;}
.dmv4-overview p {margin:0;color:#526a79;font-size:14px;}
.dmv4-account-actions {margin-top:22px;border-top:1px solid #dbe4e6;}
.dmv4-account-actions a {display:grid;grid-template-columns:1fr auto 24px;gap:18px;align-items:center;padding:18px 3px;border-bottom:1px solid #dbe4e6;text-decoration:none!important;color:#244961;}
.dmv4-account-actions a:hover {background:#f8fbfa;}
.dmv4-account-actions a strong {font-size:15px;font-weight:620;}
.dmv4-account-actions a span {font-size:13px;color:#536d7d;}

@media(max-width:1100px){
  .dmv4-unified .dmv3-profilegrid{grid-template-columns:1fr;}
  .dmv4-unified .dmv3-projectcards{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation){grid-template-columns:180px minmax(0,1fr);gap:20px;padding-inline:14px;}
}
@media(max-width:780px){
  body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation){display:block;padding:14px 0 35px;}
  body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)> .woocommerce-MyAccount-navigation{position:static;width:100%!important;padding:0 0 8px;border:0;border-bottom:1px solid #d9e3e5;margin-bottom:24px;overflow-x:auto;}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;gap:4px;min-width:max-content;}
  body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;}
  body.woocommerce-account .woocommerce-MyAccount-navigation a{padding:10px 12px;white-space:nowrap;}
  body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {border:0;padding:0;margin:0;}
  body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)> .woocommerce-MyAccount-content{width:100%!important;}
  .dmv4-unified .dmv3-workspace,.dmv4-unified .dmv3-carttop,.dmv4-unified .dmv3-detailgrid{grid-template-columns:1fr;}
  .dmv4-unified .dmv3-paperframe,.dmv4-unified .dmv3-paperframe iframe{height:670px;}
}
@media(max-width:620px){
  .dmv4-unified .dmv3-projectcards{grid-template-columns:1fr;}
  .dmv4-unified .dmv3-pagehead{align-items:stretch;}
  .dmv4-unified .dmv3-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
  .dmv4-unified .dmv3-metric,.dmv4-unified .dmv3-metric+.dmv3-metric {padding:0;border:0;}
  .dmv4-unified .dmv3-metric strong{font-size:20px;}
  .dmv4-unified .dmv3-surface{padding:16px!important;}
  .dmv4-unified .dmv3-paperframe,.dmv4-unified .dmv3-paperframe iframe{height:530px;}
  .dmv4-unified .dmv3-btn{white-space:normal;text-align:center;}
}
@media(prefers-reduced-motion:reduce){
  .dmv4-unified *,body.woocommerce-account .woocommerce-MyAccount-navigation a {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

/* Compatibility rendering for customer themes which replace WooCommerce's account template. */
.dmv4-fallback {display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px;align-items:start;margin:24px 0 40px;}
.dmv4-fallback-nav {border-right:1px solid #d9e3e5;padding:0 16px 0 0;}
.dmv4-fallback-nav ul {padding:0;margin:0;list-style:none;}
.dmv4-fallback-nav li {padding:0;margin:0;list-style:none;}
.dmv4-fallback-nav a {display:block;padding:11px 12px;border-radius:5px;text-decoration:none!important;color:#344d5c;font-size:14px;font-weight:540;}
.dmv4-fallback-nav a:hover,.dmv4-fallback-nav a[aria-current="page"]{background:#e9f1f1;color:#1c4b64;}
.dmv4-fallback-nav li:last-child {border-top:1px solid #d9e3e5;margin-top:14px;padding-top:12px;}
.dmv4-fallback-content{min-width:0;}
@media(max-width:780px){.dmv4-fallback{display:block;margin-top:16px}.dmv4-fallback-nav{width:100%;padding:0 0 8px;margin-bottom:22px;border:0;border-bottom:1px solid #d9e3e5;overflow-x:auto}.dmv4-fallback-nav ul{display:flex;min-width:max-content;gap:3px}.dmv4-fallback-nav a{white-space:nowrap}.dmv4-fallback-nav li:last-child{border:0;margin:0;padding:0}}
