/* =========================================================
   SIGN IN + THE ACCOUNT (lab/account.js, 2026-11-14). Loaded last in <head>, so it wins over the theme's own .stl- rules (term.css).
   Calm, like the product page: black glass, Inter, no hairlines, soft fills, one BONE button.
   ========================================================= */

/* ── SIGN-IN SHEET (the theme's own .stl-login markup; only its clothes). A plain card in the middle: the crow, a title, one
   line, one field, one full-width button. The code step is six soft boxes. The theme's starfield + horizon canvases are off. */
html.atlas body.t-body .stl-login { font-family: var(--f-text), sans-serif; }
html.atlas body.t-body .stl-shade { background: rgba(40, 26, 21, .6); -webkit-backdrop-filter: blur(4px) !important; backdrop-filter: blur(4px) !important; }
html.atlas body.t-body .stl-card { width: min(420px, 100%); padding: 34px 34px 28px; background: rgba(23, 16, 14, .97); border: 0; border-radius: 10px !important; box-shadow: 0 24px 80px rgba(40, 26, 21, .7); text-align: left; color: #D3AD9F; }
html.atlas body.t-body .stl-card :is(.stl-stars, .stl-horizon) { display: none; }
html.atlas body.t-body .stl-body { padding: 0; }
html.atlas body.t-body .stl-body::before { content: ""; display: block; width: 38px; height: 38px; margin: 0 0 22px -3px; background: url(dz-icon-mark.svg) center / contain no-repeat; }
html.atlas body.t-body .stl-close { right: 16px; top: 14px; width: 32px; height: 32px; padding: 0; border-radius: 6px !important; font: 400 22px/32px var(--f-text), sans-serif; color: #C1998B; transition: color .2s, background .2s; }
html.atlas body.t-body .stl-close:hover { color: #F7EDE8; background: rgba(231, 200, 190, .07); }
html.atlas body.t-body .stl-title { margin: 0; font: 700 24px/30px var(--f-text), sans-serif !important; letter-spacing: -.01em !important; text-transform: none !important; color: #F7EDE8; }
html.atlas body.t-body .stl-sub { margin-top: 8px; font: 400 14px/22px var(--f-text), sans-serif; letter-spacing: 0; color: #C1998B; }
html.atlas body.t-body .stl-sub b { font-weight: 500; color: #E7C8BE; }
html.atlas body.t-body .stl-field { margin-top: 22px; border-bottom: 0; }
html.atlas body.t-body .stl-field + .stl-field { margin-top: 8px; }
html.atlas body.t-body .stl-field::after { display: none; }
html.atlas body.t-body .stl-input { height: 50px; padding: 0 16px; background: rgba(231, 200, 190, .06); border-radius: 6px !important; font: 400 16px/50px var(--f-text), sans-serif; letter-spacing: 0; text-align: left; color: #F7EDE8; caret-color: #E7C8BE; transition: background .2s, box-shadow .2s; }
html.atlas body.t-body .stl-input::placeholder { color: #966E61; }
html.atlas body.t-body .stl-input, html.atlas body.t-body .stl-input:focus { border: 0 !important; outline: 0 !important; }
html.atlas body.t-body .stl-input:focus { background: rgba(231, 200, 190, .1); box-shadow: inset 0 0 0 1px rgba(231, 200, 190, .35) !important; }
/* the theme's arrow button becomes the one full-width button, its words taken from its own aria-label ("Continue" / "Log in") */
html.atlas body.t-body .stl-go { position: static; display: block; width: 100%; height: 48px; margin-top: 10px; padding: 0 !important; transform: none !important; background: #D3AD9F !important; border-radius: 6px !important; font-size: 0; line-height: 0; color: #281A15 !important; opacity: .5; animation: none !important; transition: opacity .25s, background .2s; }
html.atlas body.t-body .stl-go::before { content: attr(aria-label); font: 600 15px/48px var(--f-text), sans-serif; letter-spacing: 0; }
html.atlas body.t-body .stl-go.is-ready { opacity: 1; } html.atlas body.t-body .stl-go.is-ready:hover { background: #E7C8BE !important; }
html.atlas body.t-body .stl-go.is-busy { opacity: .7; } html.atlas body.t-body .stl-go.is-busy::before { content: "One moment"; }
/* the code: six soft boxes; the real (invisible) input lies over them */
html.atlas body.t-body .stl-code { height: auto; }
html.atlas body.t-body .stl-code .stl-input { inset: auto; left: 0; top: 0; width: 100%; height: 58px; padding: 0; opacity: 0; }
html.atlas body.t-body .stl-digits { gap: 8px; height: 58px; padding: 0; }
html.atlas body.t-body .stl-digits span { flex: 1; width: auto; height: 58px; border-radius: 6px !important; background: rgba(231, 200, 190, .06); font: 600 24px/58px var(--f-text), sans-serif; text-align: center; color: #F7EDE8; transition: background .2s, box-shadow .2s; }
html.atlas body.t-body .stl-digits span:empty::before { display: none; }
html.atlas body.t-body .stl-code:focus-within .stl-digits span.is-cur { background: rgba(231, 200, 190, .1); box-shadow: inset 0 0 0 1px rgba(231, 200, 190, .35); }
html.atlas body.t-body .stl-code:focus-within .stl-digits span.is-cur::before { display: none; }
html.atlas body.t-body .stl-digits.is-ok span { color: #F7EDE8; } html.atlas body.t-body .stl-digits.is-bad span { color: #E58D74; }
html.atlas body.t-body .stl-error { min-height: 0; margin-top: 10px; font: 400 13px/18px var(--f-text), sans-serif; color: #E58D74; } html.atlas body.t-body .stl-error:empty { display: none; }
html.atlas body.t-body .stl-links { margin-top: 16px; justify-content: flex-start; gap: 6px 22px; font: 400 13px/18px var(--f-text), sans-serif; color: #C1998B; }
html.atlas body.t-body .stl-links button { font: inherit !important; letter-spacing: 0 !important; text-transform: none !important; color: #C1998B; transition: color .2s; }
html.atlas body.t-body .stl-links button:hover:enabled { color: #F7EDE8; } html.atlas body.t-body .stl-links button:disabled { color: #7C574B; }
html.atlas body.t-body .stl-login button:focus-visible { outline: 2px solid #E7C8BE; outline-offset: 2px; }
@media (max-width: 480px) { html.atlas body.t-body .stl-card { padding: 28px 22px 22px; } }

/* ── THE ACCOUNT PANEL (the docs frame: html.cl-on-docs is on too). Left box = who you are + the three views + sign out;
   right sheet = the view. Rows are soft bars that glide open like the product page's. */
html.cl-on-account .cl.ac { --acf: var(--cl-txt); }
.ac-side { position: sticky; top: 16px; padding: 22px 20px 20px; background: var(--glass); }
.ac-sheet { min-width: 0; padding: 28px 32px 32px; background: var(--glass); }
html.cl-on-account.atlas body.t-body .ac :is(.ac-side, .ac-sheet, .ac-gate) { border-radius: 6px !important; }
html.cl-on-account.atlas body.t-body .ac p { margin: 0; letter-spacing: 0 !important; text-transform: none !important; }
html.cl-on-account.atlas body.t-body .ac .ac-k { font: 500 11px/16px var(--acf) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--dim); }
html.cl-on-account.atlas body.t-body .ac .ac-mail { margin-top: 8px; font: 600 16px/22px var(--acf) !important; color: #F7EDE8; overflow-wrap: anywhere; }
html.cl-on-account.atlas body.t-body .ac .ac-since { margin-top: 2px; font: 13px/18px var(--acf) !important; color: var(--dim); }
.ac-nav { display: grid; gap: 2px; margin: 22px -8px 0; }
html.cl-on-account.atlas body.t-body .ac .ac-nav a { display: block; padding: 10px 12px; border-radius: 6px !important; font: 500 15px/20px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
html.cl-on-account.atlas body.t-body .ac .ac-nav a:hover { color: #F7EDE8; text-decoration: none; }
html.cl-on-account.atlas body.t-body .ac .ac-nav a.on { background: rgba(231, 200, 190, .07); color: #F7EDE8; font-weight: 600 !important; }
html.cl-on-account.atlas body.t-body .ac button.ac-out { display: block; width: auto; height: auto; margin: 18px 0 0 4px; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; font: 400 13px/18px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--dim) !important; cursor: pointer; transition: color .2s; }
html.cl-on-account.atlas body.t-body .ac button.ac-out:hover { color: #F7EDE8 !important; }
html.cl-on-account.atlas body.t-body .ac .ac-lab { margin-top: 22px; font: 12px/17px var(--acf) !important; color: var(--faint); }
html.cl-on-account.atlas body.t-body .ac .ac-sheet h1 { margin: 0 0 22px; font: 700 26px/32px var(--acf) !important; letter-spacing: -.01em !important; text-transform: none !important; color: #F7EDE8; }
html.cl-on-account.atlas body.t-body .ac .ac-sheet h2 { margin: 30px 0 12px; font: 600 17px/24px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: #F7EDE8; }
.ac-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ac-stats > div { padding: 16px 18px; background: rgba(231, 200, 190, .05); }
html.cl-on-account.atlas body.t-body .ac .ac-stats > div { border-radius: 6px !important; }
.ac-stats b { display: block; font: 700 22px/28px var(--acf); color: #F7EDE8; font-variant-numeric: tabular-nums; }
.ac-stats span { display: block; margin-top: 2px; font: 13px/18px var(--acf); color: var(--dim); }
.ac-rows { display: grid; gap: 6px; }
html.cl-on-account.atlas body.t-body .ac button.ac-rowb { display: grid; grid-template-columns: minmax(0, 1fr) 150px 160px 16px; align-items: center; gap: 0 16px; width: 100%; height: auto; min-height: 58px; margin: 0; padding: 10px 16px 10px 18px; background: rgba(231, 200, 190, .05) !important; border: 0 !important; border-radius: 6px !important; box-shadow: none !important;
  font: 400 14px/20px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; text-align: left; color: var(--ink) !important; cursor: pointer; transition: background .35s ease; }
html.cl-on-account.atlas body.t-body .ac button.ac-rowb:hover, html.cl-on-account.atlas body.t-body .ac .ac-row.open > button.ac-rowb { background: rgba(231, 200, 190, .09) !important; }
.ac-r-n b { display: block; font: 600 15px/20px var(--acf); color: #F7EDE8; } .ac-r-n em { display: block; font: 13px/18px var(--acf); font-style: normal; color: var(--dim); }
.ac-r-s { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--dim); } .ac-r-s::before { content: ""; flex: none; width: 7px; height: 7px; background: currentColor; }
html.cl-on-account.atlas body.t-body .ac .ac-r-s::before { border-radius: 50% !important; }
.ac-r-s.ok { color: #B5BE9C; } .ac-r-s.warn { color: #E0B46A; }
.ac-r-t { color: var(--dim); font-variant-numeric: tabular-nums; }
.ac-rowb svg { width: 16px; height: 16px; color: var(--dim); transition: transform .45s cubic-bezier(.3, .1, .2, 1); } .ac-row.open .ac-rowb svg { transform: rotate(180deg); }
.ac-rowp { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.3, .1, .2, 1), visibility 0s linear .45s; }
.ac-row.open > .ac-rowp { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s cubic-bezier(.3, .1, .2, 1), visibility 0s; }
.ac-rowi { min-height: 0; overflow: hidden; padding: 0 18px; opacity: 0; transition: opacity .2s ease, padding .45s cubic-bezier(.3, .1, .2, 1); }
.ac-row.open .ac-rowi { padding: 14px 18px 12px; opacity: 1; transition: opacity .4s ease .12s, padding .5s cubic-bezier(.3, .1, .2, 1); }
html.cl-on-account.atlas body.t-body .ac :is(.ac-meta, .ac-note, .ac-hint, .ac-empty) { font: 13px/20px var(--acf) !important; color: var(--dim); }
.ac-acts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
html.cl-on-account.atlas body.t-body .ac .ac-acts :is(a, button) { width: auto; height: auto; margin: 0; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; font: 500 14px/22px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: #F7EDE8 !important; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--dim); text-underline-offset: 3px; cursor: pointer; }
html.cl-on-account.atlas body.t-body .ac .ac-acts :is(a, button):hover { text-decoration-color: #F7EDE8; }
html.cl-on-account.atlas body.t-body .ac .ac-note { margin-top: 10px; } .ac-note[hidden] { display: none; }
html.cl-on-account.atlas body.t-body .ac .ac-more { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 30px; font: 500 14px/22px var(--acf) !important; }
html.cl-on-account.atlas body.t-body .ac :is(.ac-more, .ac-hint, .ac-empty) a { color: #F7EDE8; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--dim); text-underline-offset: 3px; }
html.cl-on-account.atlas body.t-body .ac :is(.ac-more, .ac-hint, .ac-empty) a:hover { text-decoration-color: #F7EDE8; }
/* not signed in */
.ac-gate { max-width: 420px; margin: calc(8 * var(--zvh, 1vh)) auto 0; padding: 34px; background: var(--glass); }
html.cl-on-account.atlas body.t-body .ac .ac-gate h1 { margin: 0 0 8px; font: 700 24px/30px var(--acf) !important; letter-spacing: -.01em !important; text-transform: none !important; color: #F7EDE8; }
html.cl-on-account.atlas body.t-body .ac .ac-gate p { font: 14px/22px var(--acf) !important; color: var(--ink); }
html.cl-on-account.atlas body.t-body .ac button.ac-go { display: block; width: 100%; height: 48px; margin: 22px 0 0; padding: 0; background: #D3AD9F !important; border: 0 !important; border-radius: 6px !important; box-shadow: none !important; font: 600 15px/1 var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: #281A15 !important; cursor: pointer; transition: background .2s; }
html.cl-on-account.atlas body.t-body .ac button.ac-go:hover { background: #E7C8BE !important; }
@media (max-width: 900px) {
  .ac-side { position: static; } .ac-sheet { padding: 20px 16px 24px; } .ac-stats { grid-template-columns: 1fr; }
  .ac-nav { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px; margin-top: 16px; }
  html.cl-on-account.atlas body.t-body .ac button.ac-rowb { grid-template-columns: minmax(0, 1fr) 16px; gap: 2px 12px; padding: 12px 14px; }
  .ac-r-n { grid-column: 1; } .ac-r-s { grid-column: 1; grid-row: 2; } .ac-r-t { grid-column: 1; grid-row: 3; } .ac-rowb svg { grid-column: 2; grid-row: 1 / span 3; }
  .ac-rowi { padding: 0 14px; } .ac-row.open .ac-rowi { padding: 12px 14px 10px; }
}
@media (prefers-reduced-motion: reduce) { .ac-rowp, .ac-row.open > .ac-rowp, .ac-rowi, .ac-row.open .ac-rowi, .ac-rowb svg { transition: none !important; } }
/* help = Discord (no Tickets view): a quiet block in the left box */
html.cl-on-account.atlas body.t-body .ac .ac-help { margin: 22px 0 0 4px; font: 13px/18px var(--acf) !important; color: var(--dim); }
html.cl-on-account.atlas body.t-body .ac .ac-help a { display: block; margin-top: 2px; font: 500 14px/20px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: #F7EDE8; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--dim); text-underline-offset: 3px; }
html.cl-on-account.atlas body.t-body .ac .ac-help a:hover { text-decoration-color: #F7EDE8; }
@media (max-width: 900px) { .ac-nav { grid-template-columns: repeat(3, auto); gap: 4px 12px; } }   /* three views since Reviews (2026-11-15) */

/* ── THE PICTURES BEHIND THE ACCOUNT AND THE LEGAL PAGES (user, 2026-11-14: "we need new backgrounds for the legal pages and the
   dashboard of the customer"). Each has its OWN slot now (they shared the product page's rooftop through html.cl-on-docs):
   · account = lab/bg/account.webp = the user's own picture (designs/ACCOUNTpage.png, 2026-11-14; the testback stand-in is gone).
   · docs = lab/bg/docs.webp (designs/DOCSpage.png) and cart = lab/bg/cart.webp (designs/CARTpage.png), same day.
   · legal   = lab/bg/legal.webp when it exists. NOT MADE YET: until then the legal pages keep the rooftop.
   To change one: put the new picture at that path (2560 wide jpg) and nothing else needs touching. */
html.cl-on.cl-on-docs.cl-on-account { --dz-bg: url(dz-bg-6042f3-page.webp); }
html.cl-on.cl-on-docs.cl-on-legal { --dz-bg: url(dz-bg-6042f3-page.webp); }   /* <- becomes url(dz-bg-6042f3-legal.webp) once that picture exists */

/* ── REVIEWS IN THE ACCOUNT (2026-11-15; account.js "REVIEWS"). The orders' soft bars again. An order waiting for a review = its
   name + one BONE action that opens a form under it (the site's soft pane): five drawn stars to pick, a soft field, Send.
   A written review = name, the stars (PAPER on, BONE .2 off), the words, the shop's reply set in. */
html.cl-on-account.atlas body.t-body .ac .ac-lede { margin: 6px 0 0; max-width: 60ch; font: 14px/22px var(--acf) !important; color: var(--dim); }
.ac-rv { background: rgba(231, 200, 190, .05); transition: background .35s ease; }
.ac-rv.open { background: rgba(231, 200, 190, .07); }
html.cl-on-account.atlas body.t-body .ac .ac-rv { border-radius: 6px !important; }
.ac-rv + .ac-rv { margin-top: 6px; }
.ac-rv-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; min-height: 58px; padding: 10px 16px 10px 18px; }
html.cl-on-account.atlas body.t-body .ac .ac-rv button:is(.ac-rv-go, .ac-rv-send) { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 124px; height: 34px; margin: 0; padding: 0 14px; background: #D3AD9F !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important;
  font: 600 13px/18px var(--acf) !important; letter-spacing: 0 !important; text-transform: none !important; color: #281A15 !important; cursor: pointer; transition: background .35s ease, color .35s ease, opacity .35s ease; }
html.cl-on-account.atlas body.t-body .ac .ac-rv button:is(.ac-rv-go, .ac-rv-send):hover { background: #E7C8BE !important; }
html.cl-on-account.atlas body.t-body .ac .ac-rv.open button.ac-rv-go { background: rgba(231, 200, 190, .1) !important; color: #E7C8BE !important; }
html.cl-on-account.atlas body.t-body .ac .ac-rv button.ac-rv-send:disabled { opacity: .55; cursor: default; }
.ac-rv.open > .ac-rowp { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s cubic-bezier(.3, .1, .2, 1), visibility 0s; }
.ac-rv.open .ac-rowi { padding: 4px 18px 18px; opacity: 1; transition: opacity .4s ease .12s, padding .5s cubic-bezier(.3, .1, .2, 1); }
.ac-rvs { display: flex; align-items: center; gap: 2px; }
html.cl-on-account.atlas body.t-body .ac .ac-rvs button { display: grid; place-items: center; width: 34px; height: 34px; min-width: 0; margin: 0; padding: 0; background: none !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important; cursor: pointer; }
.ac-rvs button i, .ac-stars i { display: block; background: rgba(231, 200, 190, .2); clip-path: polygon(50% 3%, 62% 36%, 97% 37%, 69% 58%, 79% 92%, 50% 72%, 21% 92%, 31% 58%, 3% 37%, 38% 36%); transition: background .25s ease; }
.ac-rvs button i { width: 24px; height: 24px; } .ac-stars i { width: 15px; height: 15px; }
.ac-rvs button.on i, .ac-stars i.on { background: #F7EDE8; }
.ac-rvs:hover button i { background: #F7EDE8; } .ac-rvs button:hover ~ button i { background: rgba(231, 200, 190, .2); }
.ac-rvw { margin-left: 12px; font: 500 14px/20px var(--acf); color: #E7C8BE; }
html.cl-on-account.atlas body.t-body .ac .ac-rvf textarea { display: block; width: 100%; max-width: 68ch; min-height: 84px; margin: 12px 0 0; padding: 12px 14px; resize: vertical; background: rgba(231, 200, 190, .06) !important; border: 0 !important; border-radius: 6px !important; box-shadow: none !important; outline: 0;
  font: 400 14px/22px var(--acf) !important; letter-spacing: 0 !important; color: #F7EDE8 !important; transition: background .35s ease; }
html.cl-on-account.atlas body.t-body .ac .ac-rvf textarea:focus { background: rgba(231, 200, 190, .1) !important; }
html.cl-on-account.atlas body.t-body .ac .ac-rvf textarea::placeholder { color: var(--dim); }
.ac-rvb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
html.cl-on-account.atlas body.t-body .ac .ac-rv-err { margin: 0; font: 13px/20px var(--acf) !important; color: #E58D74; }
html.cl-on-account.atlas body.t-body .ac .ac-rv-err a { color: #F7EDE8; text-decoration: underline; text-underline-offset: 3px; }
.ac-rv--done { padding: 14px 18px 16px; }
.ac-rv-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ac-stars { display: inline-flex; flex: none; gap: 3px; }
html.cl-on-account.atlas body.t-body .ac .ac-rv-m { margin: 10px 0 0; max-width: 68ch; font: 14px/22px var(--acf) !important; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
html.cl-on-account.atlas body.t-body .ac .ac-rv-r { margin: 12px 0 0; padding: 10px 14px; max-width: 68ch; background: rgba(231, 200, 190, .05); border-radius: 6px !important; font: 13px/20px var(--acf) !important; color: var(--dim); overflow-wrap: anywhere; }
.ac-rv-r b { display: block; margin-bottom: 2px; font-weight: 600; color: #E7C8BE; }
@media (max-width: 900px) { .ac-rv-top { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; } .ac-rv-top .ac-rv-go { justify-self: start; } .ac-rv.open .ac-rowi { padding: 2px 14px 14px; } .ac-rv--done { padding: 12px 14px 14px; } }
@media (prefers-reduced-motion: reduce) { .ac-rv, .ac-rv .ac-rowp, .ac-rv .ac-rowi, .ac-rvs button i { transition: none !important; } }