/* DPC My Account, layout A "Library Grid" (Jenn 2026-11-03). Loaded on the account page for signed-in customers (inc/account.php). */
body.dpc-account{--a-ink:var(--w-ink,#2f3338);--a-teal:var(--dpch-teal,#46a3b6);--a-teal-deep:var(--dpch-teal-deep,#238397);--a-line:#d4d4d4;--a-soft:#f0f0f0;--a-sky:#e4f0f5;--a-blush:#fbe4e5;--a-sage:#dce9e3}
/* tabs across the top instead of the side menu */
html body.dpc-account .entry-content .woocommerce:has(.woocommerce-MyAccount-navigation){display:block}
html body.dpc-account .entry-content .dpc-acct-who{margin:-8px 0 18px!important;color:#5b6067;font-size:16px}
html body.dpc-account .entry-content .woocommerce-MyAccount-navigation{background:none;box-shadow:none;padding:0;margin:0 0 30px;border-bottom:1px solid var(--a-line);overflow-x:auto}
html body.dpc-account .entry-content .woocommerce-MyAccount-navigation ul{display:flex;gap:4px;margin:0;padding:0}
html body.dpc-account .entry-content .woocommerce-MyAccount-navigation li{margin:0;padding:0}
html body.dpc-account .entry-content .woocommerce-MyAccount-navigation li a{display:block;padding:12px 18px;border:0;border-bottom:3px solid transparent;font-weight:600;white-space:nowrap;background:none;color:var(--a-ink)}
html body.dpc-account .entry-content .woocommerce-MyAccount-navigation li.is-active a{border-bottom-color:var(--a-teal);background:none;color:var(--a-teal-deep)}
html body.dpc-account .entry-content .woocommerce-MyAccount-content{min-width:0}
html body.dpc-account .entry-content .woocommerce-MyAccount-content>p:first-child{font-size:inherit}
/* headings */
html body.dpc-account .entry-content .dpc-acct-hi{font-size:34px;margin:0 0 20px!important;text-align:left}
html body.dpc-account .entry-content .dpc-acct-sec{margin-top:42px}
html body.dpc-account .entry-content .dpc-acct-sech{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:16px}
html body.dpc-account .entry-content .dpc-acct-sech h2{font-size:30px;margin:0!important;text-align:left}
html body.dpc-account .entry-content .dpc-acct-sech a,html body.dpc-account .entry-content .dpc-acct-count{margin-left:auto;font-weight:600}
html body.dpc-account .entry-content .dpc-acct-count{color:#5b6067;font-weight:500}
html body.dpc-account .entry-content .dpc-acct-sub{color:#5b6067;margin:-8px 0 16px!important}
html body.dpc-account .entry-content .woocommerce-MyAccount-content h2{border-top:0!important;padding-top:0!important}
/* stats */
html body.dpc-account .entry-content .dpc-acct-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
html body.dpc-account .entry-content .dpc-acct-stats>*{display:block;background:var(--a-sky);padding:22px 24px;text-decoration:none;color:var(--a-ink)}
html body.dpc-account .entry-content .dpc-acct-stats>*:nth-child(2){background:var(--a-blush)}
html body.dpc-account .entry-content .dpc-acct-stats>*:nth-child(3){background:var(--a-sage)}
html body.dpc-account .entry-content .dpc-acct-stats b{display:block;font-family:var(--dpch-display,Georgia,serif);font-weight:400;font-size:34px;line-height:1.1}
html body.dpc-account .entry-content .dpc-acct-stats span{font-weight:600;font-size:14px}
/* buttons */
html body.dpc-account .entry-content .dpc-acct-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border-radius:4px;border:2px solid var(--a-teal);background:var(--a-teal);color:#fff;font-weight:600;font-size:13px;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer;list-style:none}
html body.dpc-account .entry-content .dpc-acct-btn:hover{background:var(--a-teal-deep);border-color:var(--a-teal-deep);color:#fff}
html body.dpc-account .entry-content .dpc-acct-btn::-webkit-details-marker{display:none}
html body.dpc-account .entry-content .dpc-acct-btn svg{width:16px;height:16px}
html body.dpc-account .entry-content .dpc-acct-btn.outline{background:transparent;color:var(--a-teal-deep)}
html body.dpc-account .entry-content .dpc-acct-btn.outline:hover{background:var(--a-sky)}
/* cards */
html body.dpc-account .entry-content .dpc-acct-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
html body.dpc-account .entry-content .dpc-acct-grid.six{grid-template-columns:repeat(6,1fr);gap:16px}
html body.dpc-account .entry-content .dpc-acct-card{background:#fff;box-shadow:0 6px 20px rgba(47,51,56,.09);display:flex;flex-direction:column;min-width:0}
html body.dpc-account .entry-content .dpc-acct-img{display:block;aspect-ratio:1;background:var(--a-soft);overflow:hidden}
html body.dpc-account .entry-content .dpc-acct-img img{width:100%;height:100%;object-fit:cover;display:block;margin:0}
html body.dpc-account .entry-content .dpc-acct-cbody{padding:12px 12px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
html body.dpc-account .entry-content .dpc-acct-cbody h3{font-family:var(--dpch-body,'Raleway',sans-serif);font-weight:600;font-size:15px;line-height:1.35;margin:0!important;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
html body.dpc-account .entry-content .dpc-acct-grid.six .dpc-acct-cbody h3{font-size:14px}
html body.dpc-account .entry-content .dpc-acct-grid.six .dpc-acct-when{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.dpc-account .entry-content .dpc-acct-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:13px;color:#5b6067}
html body.dpc-account .entry-content .dpc-acct-meta b{font-weight:600;color:var(--a-ink)}
html body.dpc-account .entry-content .dpc-acct-meta em{font-style:normal}
html body.dpc-account .dpc-swatches{display:inline-flex;gap:2px;vertical-align:middle}
html body.dpc-account .dpc-swatches i{width:11px;height:11px;border-radius:50%;display:inline-block;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
html body.dpc-account .entry-content .dpc-acct-when{font-size:12.5px;color:#7a7f86;flex:1}
html body.dpc-account .entry-content .dpc-acct-price{font-weight:700;flex:1}
html body.dpc-account .entry-content .dpc-acct-card .dpc-acct-btn{width:100%}
html body.dpc-account .entry-content .dpc-acct-files{position:relative}
html body.dpc-account .entry-content .dpc-acct-files ul{list-style:none;margin:6px 0 0;padding:6px 0;background:#fff;box-shadow:0 6px 20px rgba(47,51,56,.15)}
html body.dpc-account .entry-content .dpc-acct-files li a{display:block;padding:6px 12px;font-size:14px}
html body.dpc-account .entry-content .dpc-acct-more{text-align:center;margin-top:30px}
html body.dpc-account .entry-content .dpc-acct-none,html body.dpc-account .entry-content .dpc-acct-empty{padding:40px;text-align:center;background:var(--a-soft)}
html body.dpc-account .entry-content .dpc-acct-empty p{margin:0 0 16px!important}
/* filters */
html body.dpc-account .entry-content .dpc-acct-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:22px;background:var(--a-soft);padding:14px}
html body.dpc-account .entry-content .dpc-acct-q{flex:1 1 260px;min-width:200px;margin:0}
html body.dpc-account .entry-content .dpc-acct-q input{width:100%;padding:11px 14px;border:1px solid var(--a-line);border-radius:4px;font-size:15px;background:#fff;margin:0}
html body.dpc-account .entry-content .dpc-acct-sel{margin:0}
html body.dpc-account .entry-content .dpc-acct-filters select{padding:10px;border:1px solid var(--a-line);border-radius:4px;font-size:14px;background:#fff;max-width:220px;margin:0}
html body.dpc-account .entry-content .dpc-acct-sort{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;margin:0}
/* orders + account details */
html body.dpc-account .entry-content .woocommerce-orders-table .button,html body.dpc-account .entry-content .woocommerce-MyAccount-content .woocommerce-Button,html body.dpc-account .entry-content .woocommerce-pagination .button{border-radius:4px}
html body.dpc-account .entry-content .woocommerce-EditAccountForm{max-width:680px}
/* tablet */
@media (max-width:1100px){
  html body.dpc-account .entry-content .dpc-acct-grid,html body.dpc-account .entry-content .dpc-acct-grid.six{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){
  html body.dpc-account .entry-content .dpc-acct-grid,html body.dpc-account .entry-content .dpc-acct-grid.six{grid-template-columns:repeat(2,1fr);gap:12px}
  html body.dpc-account .entry-content .dpc-acct-stats{grid-template-columns:1fr}
  html body.dpc-account .entry-content .dpc-acct-filters select{max-width:none;flex:1 1 45%}
  html body.dpc-account .entry-content .dpc-acct-sel{flex:1 1 45%}
  html body.dpc-account .entry-content .dpc-acct-sel select{width:100%}
  html body.dpc-account .entry-content .dpc-acct-sort{flex:1 1 100%}
  html body.dpc-account .entry-content .dpc-acct-sort select{flex:1}
  html body.dpc-account .entry-content .dpc-acct-hi{font-size:28px}
  html body.dpc-account .entry-content .dpc-acct-sech h2{font-size:24px}
}
/* button text color: beat woocommerce.css ".woocommerce-MyAccount-content a:not(.button)" */
html body.dpc-account .entry-content .woocommerce-MyAccount-content a.dpc-acct-btn,html body.dpc-account .entry-content .woocommerce-MyAccount-content a.dpc-acct-btn:hover,html body.dpc-account .entry-content .woocommerce-MyAccount-content summary.dpc-acct-btn{color:#fff}
html body.dpc-account .entry-content .woocommerce-MyAccount-content a.dpc-acct-btn.outline,html body.dpc-account .entry-content .woocommerce-MyAccount-content a.dpc-acct-btn.outline:hover{color:var(--a-teal-deep)}
/* spacing (Bob 2026-11-03) */
html body.dpc-account .entry-content .dpc-acct-stats+.dpc-acct-empty{margin-top:36px}
html body.dpc-account .entry-content .woocommerce-EditAccountForm button[type=submit]{margin-top:24px}
html body.dpc-store .entry-content .woocommerce-form-login .woocommerce-form-login__submit{display:block;margin:22px 0 24px}
/* Dashboard stat tiles: dark text on every tile (links were turning it blue) and a lighter pink (Jenn 2026-11-04) */
html body.dpc-account .entry-content .dpc-acct-stats>a,html body.dpc-account .entry-content .dpc-acct-stats>a b,html body.dpc-account .entry-content .dpc-acct-stats>a span{color:var(--a-ink)!important;text-decoration:none!important}
html body.dpc-account .entry-content .dpc-acct-stats>*:nth-child(2){background:#fdf1f2}
html body.dpc-account .entry-content .dpc-acct-stats>a:hover b{text-decoration:underline!important;text-underline-offset:4px}
/* My Library: Ready To Download / Coming Soon tabs (Bob 2026-11-04) */
html body.dpc-account .entry-content .dpc-acct-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid var(--a-line)}
html body.dpc-account .entry-content .dpc-acct-tabs button{background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;padding:10px 14px;font:600 16px/1.2 inherit;color:var(--a-ink);cursor:pointer}
html body.dpc-account .entry-content .dpc-acct-tabs button[aria-selected=true]{border-bottom-color:var(--a-teal);color:var(--a-teal-deep)}
html body.dpc-account .entry-content .dpc-acct-tabs button:focus-visible{outline:3px solid var(--a-teal);outline-offset:2px}
html body.dpc-account .entry-content .dpc-acct-soon{display:inline-block;margin-top:8px;padding:6px 10px;border-radius:4px;background:var(--a-blush);color:#7a2f4f;font-weight:600;font-size:14px}

/* Signed-out My Account: tabs + one centered card (inc/account.php, Bob 2026-11-06) */
html body.dpc-store .entry-content .woocommerce:has(#customer_login){max-width:520px;margin:0 auto}
.dpc-auth-tabs{display:none}
html.dpc-auth-js .dpc-auth-tabs{display:flex;max-width:520px;margin:0 auto;border-bottom:2px solid #d9e2e6}
html.dpc-auth-js .dpc-auth-tabs button{flex:1;background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-2px;padding:14px 8px;font:600 17px/1.2 Raleway,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#5b6166;cursor:pointer}
html.dpc-auth-js .dpc-auth-tabs button.is-on{color:#2c7f91;border-bottom-color:#2c7f91}
html.dpc-auth-js .dpc-auth-tabs button:focus-visible{outline:3px solid #2f3338;outline-offset:2px}
html body.dpc-store .entry-content #customer_login{display:block!important;max-width:520px;margin:0 auto!important}
html body.dpc-store .entry-content #customer_login>.u-column1,html body.dpc-store .entry-content #customer_login>.u-column2{width:100%!important;float:none!important;max-width:none!important;margin:0!important;padding:0!important}
html.dpc-auth-js body.dpc-store .entry-content #customer_login.dpc-tab-login>.u-column2,html.dpc-auth-js body.dpc-store .entry-content #customer_login.dpc-tab-register>.u-column1{display:none!important}
html.dpc-auth-js body.dpc-store .entry-content #customer_login>div>h2{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0!important;padding:0!important;border:0!important}
html body.dpc-store .entry-content #customer_login :is(.woocommerce-form-login,.woocommerce-form-register){margin:0 0 20px!important;border-top:0!important}
html body.dpc-store .entry-content #customer_login :is(input.input-text,.woocommerce-Input){width:100%!important;box-sizing:border-box}
html body.dpc-store .entry-content #customer_login :is(.woocommerce-form-login__submit,.woocommerce-form-register__submit){width:100%;margin:18px 0 16px!important}
html body.dpc-store .entry-content #customer_login .dpc-ec-login{font-size:16px;line-height:1.5;margin:4px 0 0}
@media (max-width:600px){
  html body.dpc-store .entry-content #customer_login :is(.woocommerce-form-login,.woocommerce-form-register){padding:22px 18px!important}
  html body.dpc-store .dpc-title{padding-bottom:18px}
}
html body.dpc-store .entry-content #customer_login .woocommerce-form-register>p:not(.form-row),html body.dpc-store .entry-content #customer_login .woocommerce-privacy-policy-text p{font-size:15px;line-height:1.5;color:#5b6166}
/* Create Account tab stands out while Log In is showing (Bob 2026-11-06) */
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:not(.is-on){background:#eef6f8;color:#2c7f91;font-weight:700;border-radius:4px 4px 0 0}
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:not(.is-on):hover{background:#dcedf1}
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:after{content:"New here?";display:block;margin-top:4px;font:500 13px/1.2 Raleway,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#5b6166}
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"].is-on:after{display:none}
/* Tabs v2 (Bob 2026-11-06): the shaded Create Account tab looked like the open tab. Now only the open tab has the
   underline and bold teal text; Create Account stands out with a pink "New here?" line instead of a background. */
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:not(.is-on){background:none;color:#2f3338;font-weight:600;border-radius:0}
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:not(.is-on):hover{background:none;color:#2c7f91}
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:after{color:#c2185b;font-weight:600}
html.dpc-auth-js .dpc-auth-tabs button.is-on{font-weight:700;border-bottom-width:4px}
html.dpc-auth-js .dpc-auth-tabs button:not(.is-on){color:#5b6166}
html.dpc-auth-js .dpc-auth-tabs button[data-tab="register"]:not(.is-on){color:#2f3338}
