/* Customer accounts, the proof and status links, and the staff back office (accounts spec 2026-12-03). Built on styles.css: its
   tokens, buttons and fields. Text on every tint is --ink, 13:1 or more; the state is always a word, never a colour alone. */
.ac-sec { padding: 28px 0 56px; background: var(--band); }
.ac-root { min-height: 420px; }
.ac-root h1 { font-size: var(--t-4); margin: 0 0 0.35rem; }
.ac-root p + h1 { margin-top: 0.5rem; }
.ac-root h1:focus { outline: none; }
.ac-root h2 { font-size: var(--t-2); margin: 0 0 0.75rem; }
.ac-root p + h2, .ac-root form + h2, .ac-root ul + h2 { margin-top: 1.5rem; }
.ac-sub { color: var(--ink-2); max-width: 68ch; margin-bottom: 1.25rem; }
.ac-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin-bottom: 16px; min-width: 0; }
.ac-card > * + p, .ac-card > * + .ac-acts, .ac-card > * + details, .ac-card > * + form { margin-top: 0.85rem; }
.ac-narrow { max-width: 440px; margin-inline: auto; padding: 28px; }
.ac-wide { max-width: 720px; margin-inline: auto; padding: 28px; }
.ac-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; }
.ac-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 500 16px/1.2 var(--display); border-bottom: 3px solid transparent; }
.ac-nav a:hover { border-color: var(--line-2); }
.ac-nav a[aria-current] { border-color: var(--accent); }
.ac-nav .btn-text { margin-left: auto; min-height: 44px; }
.ac-me { margin-left: auto; } .ac-me + .btn-text { margin-left: 0; }
.ac-card > details:first-child, .ac-card > details + details { margin-top: 0; }
.ac-root .btn-text { font: 400 15px/1.3 var(--body); padding: 0.35rem 0; min-height: 44px; border: 0; background: none; text-align: left; white-space: normal; }
.ac-root .btn { white-space: normal; text-align: center; padding-block: 0.4rem; }
.ac-root .btn-s { min-height: 44px; padding-inline: 18px; }
.ac-root .btn[disabled] { cursor: progress; }
.ac-acts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ac-gap { margin-bottom: 16px; }
.ac-stack { display: grid; gap: 14px; }
.ac-stack > .btn { justify-self: start; }
.ac-narrow .ac-stack > .btn { justify-self: stretch; }
.ac-f { display: grid; gap: 5px; min-width: 0; align-content: start; }
.ac-f > label, .ac-flabel { font-weight: 700; font-size: 15px; }
.ac-root .input, .ac-root .select { min-height: 48px; font-size: 16px; background-color: #fff; }
.ac-root textarea.input { padding: 0.7rem 1rem; line-height: 1.45; resize: vertical; font-family: inherit; }
.ac-root .input:disabled { background: var(--set); color: var(--ink-2); }
.ac-code { letter-spacing: 0.35em; font-size: 22px !important; font-variant-numeric: tabular-nums; max-width: 220px; }
.ac-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px 14px; }
.ac-msg { color: #a3131c; font-weight: 700; } .ac-msg:empty { display: none; } .ac-msg.is-ok { color: #1b5e30; }
.ac-note { background: #fff4d1; border-radius: 6px; padding: 10px 14px; margin: 12px 0; max-width: 68ch; } .ac-note.is-ok { background: #e2f5e7; }
.ac-quote { display: block; margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--line-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ac-tick { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; } .ac-tick input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.ac-list { list-style: none; padding: 0; margin: 0; }
.ac-list > li { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 0; }
.ac-list > li + li { border-top: 1px solid var(--line); }
.ac-list > li:first-child { padding-top: 0; } .ac-list > li:last-child { padding-bottom: 0; }
.ac-grow { flex: 1 1 220px; min-width: 0; display: grid; gap: 3px; overflow-wrap: anywhere; }
.ac-plain { list-style: none; padding: 0; overflow-wrap: anywhere; }
.ac-thumb { flex: none; width: 92px; height: 64px; border: 1px solid var(--line); border-radius: 4px; background: var(--well); display: grid; place-items: center; overflow: hidden; }
.ac-thumb { position: relative; } .ac-thumb img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.ac-thumb.is-words { padding: 4px 6px; background: #fff; font: 600 12px/14px var(--display); text-align: center; overflow-wrap: anywhere; }
.ac-thumb.is-logo { width: 132px; height: 84px; background: #fff; }
.ac-sw { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; } .ac-sw > span { display: inline-flex; align-items: center; gap: 5px; } .ac-sw i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--field); }
.ac-pills { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.ac-pill { display: inline-block; border-radius: 4px; padding: 2px 8px; font: 700 13px/19px var(--body); background: #ece6dc; color: var(--ink); }
.ac-pill.is-new, .ac-pill.is-asked { background: #dfeaff; } .ac-pill.is-proof, .ac-pill.is-quoted, .ac-pill.is-hold, .ac-pill.is-unconfirmed { background: #ffedb8; } .ac-pill.is-changes, .ac-pill.is-unpaid, .ac-pill.is-cancelled { background: #ffdcd5; }
.ac-pill.is-approved, .ac-pill.is-paid, .ac-pill.is-accepted { background: #d9f2df; } .ac-pill.is-printing { background: #e8dfff; } .ac-pill.is-ready { background: #c9f0ea; } .ac-pill.is-act { background: var(--accent); color: #fff; }
.ac-two { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ac-steps { list-style: none; display: flex; padding: 0; margin: 6px 0; }
.ac-steps li { flex: 1; min-width: 0; position: relative; padding: 28px 4px 0; text-align: center; font: 600 14px/18px var(--body); color: var(--ink-2); }
.ac-steps li::before { content: ""; position: absolute; z-index: 1; top: 4px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--field); }
.ac-steps li + li::after { content: ""; position: absolute; top: 11px; right: calc(50% + 8px); width: calc(100% - 16px); height: 2px; background: var(--line-2); }
.ac-steps .is-past, .ac-steps .is-now { color: var(--ink); } .ac-steps .is-past::before { background: var(--ink); border-color: var(--ink); } .ac-steps .is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px #f7e6ef; }
.ac-steps .is-past::after, .ac-steps .is-now::after { background: var(--ink) !important; }
.ac-proof { width: 100%; height: auto; max-height: 560px; object-fit: contain; border: 1px solid var(--line-2); background: var(--well); margin: 8px 0 14px; }
.ac-pdf { display: grid; gap: 6px; justify-items: start; margin: 10px 0; }
.ac-sums { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); } .ac-sums dd { margin: 0; text-align: right; }
.ac-file { position: relative; cursor: pointer; } .ac-file:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.ac-root summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 0.22em; }
.ac-root details[open] > summary { margin-bottom: 6px; }
.ac-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px; max-width: min(92vw, 460px); opacity: 0; pointer-events: none; transition: opacity 160ms, transform 160ms; }
.ac-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ac-toast { transition: none; } }
.ac-key { display: block; font-size: 16px; overflow-wrap: anywhere; }
/* staff */
.ac-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.ac-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 16px; }
.ac-find { display: flex; gap: 8px; flex: 1 1 300px; max-width: 420px; } .ac-find .input { flex: 1; min-width: 0; }
.ac-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .ac-bar .ac-chips { margin: 0; }
.ac-chips button { min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 4px; background: #fff; cursor: pointer; } .ac-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ac-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(184px, 1fr); gap: 10px; overflow-x: auto; padding: 2px 2px 10px; align-items: start; }
.ac-col { background: #e6e3dd; border-radius: 6px; padding: 10px; min-height: 200px; }
.ac-root .ac-col h2 { display: flex; justify-content: space-between; font-size: 16px; margin: 0 2px 10px; }
.ac-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.ac-oc { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 4px; padding: 10px; text-decoration: none; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; } .ac-oc:hover { border-color: var(--ink); } .ac-oc.is-late { border-left: 4px solid #b3242b; }
.ac-late { color: #a3131c; font-weight: 700; font-size: 14px; }
.ac-hist { padding-left: 1.2rem; display: grid; gap: 10px; } .ac-hist .fine { display: block; } .ac-hist li { overflow-wrap: anywhere; }
.ac-item { border: 1px solid var(--line-2); border-radius: 6px; padding: 14px; margin: 0; display: grid; gap: 12px; min-width: 0; } .ac-item legend { font-weight: 700; padding: 0 6px; }
.ac-quoteli > form { flex: 1 1 420px; } .ac-quoteli.is-quiet { border-left: 4px solid #d99a00; padding-left: 12px !important; }
.ac-send:not(:empty) { display: grid; gap: 8px; background: #e2f5e7; border-radius: 6px; padding: 14px; margin-top: 14px; }
.ac-list .ac-acts .select { width: auto; min-height: 44px; }
.ac-table { width: 100%; border-collapse: collapse; } .ac-table th, .ac-table td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; overflow-wrap: anywhere; }
@media (max-width: 900px) { .ac-two { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 700px) {
  .ac-sec { padding: 18px 0 36px; }
  .ac-card { padding: 16px; } .ac-narrow, .ac-wide { padding: 20px 16px; }
  .ac-nav { gap: 0 16px; }
  /* the board is a list on a phone (spec B3): one state under the other, empty ones left out */
  .ac-board { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; } .ac-col { min-height: 0; } .ac-col.is-empty { display: none; }
  /* the state line stands up */
  .ac-steps { flex-direction: column; } .ac-steps li { text-align: left; padding: 3px 0 13px 30px; } .ac-steps li:last-child { padding-bottom: 0; } .ac-steps li::before { left: 0; } .ac-steps li + li::after { right: auto; left: 7px; top: -14px; width: 2px; height: 19px; }
  .ac-table thead { position: absolute; clip-path: inset(50%); height: 1px; overflow: hidden; } .ac-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); } .ac-table td { display: flex; gap: 10px; border: 0; padding: 2px 0; } .ac-table td::before { content: attr(data-l); flex: 0 0 74px; color: var(--ink-2); }
}

/* "Your designs on this phone" on the home page and the cart */
.my-d .ac-list { margin: 18px 0 14px; }
.my-d .h-sub + .fine { margin-top: 6px; }
/* sign-in preview (shop.json preview_accounts, 2026-12-04 night) */
.ac-prev { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: flex-start; }
.ac-prev .ac-card { flex: 1 1 340px; max-width: 460px; margin: 0; }
.ac-tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--accent-wash, #f7e6ef); color: var(--accent, #b8006a); margin: 0 0 8px; }
.ac-form { display: grid; gap: 12px; margin: 16px 0 12px; }
.ac-f { display: grid; gap: 6px; font-weight: 600; }
.ac-note { background: var(--accent-wash, #f7e6ef); padding: 10px 12px; border-radius: 8px; margin: 0; }
.ac-ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.ac-ticks li { padding-left: 28px; position: relative; }
.ac-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent, #b8006a); font-weight: 700; }
