/* /account/dwf (+ /en): the DWF plan page (B-6, build flag PUBLIC_DWF_PLANS=1). The drawing-sheet language: paper, ink hairlines, square fields, Heebo; the one clay fill is the
   pay button (r2.css [data-cta]). Colours come from tokens.css only. */
.dp { margin-block-start: var(--vit-space-5); max-width: 520px; }
.dp-cards { margin-block: var(--vit-space-5); }   /* the plan cards above the sign-in and the form (founder 22.11 "א"); their own stylesheet is dwf-plan-cards.css */
.dp[hidden], .dp-form[hidden], .dp-done[hidden], .dp-err[hidden], .dp-status[hidden], .dp-note[hidden], .dp [data-dp-tax-row][hidden], .dp [data-dp-mail-row][hidden] { display: none; }
.dp-status { margin: 0 0 var(--vit-space-3); font-size: 17px; color: var(--vit-ink); }
.dp-form { display: grid; gap: var(--vit-space-2); padding-block-start: var(--vit-space-4); border-block-start: 1px solid var(--vit-ink); }
.dp-form h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.dp-price { margin: 0; font-size: 20px; font-weight: 700; }
.dp-price .cur { font-style: normal; }
.dp-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--vit-ink-2); }
.dp-form label:not(.dp-check) { margin-block-start: var(--vit-space-3); font-size: 15px; font-weight: 600; }
.dp-form input[type="text"], .dp-form input[type="email"] { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0.6rem var(--vit-space-3); border: 1.5px solid var(--vit-ink); border-radius: 0; background: var(--vit-paper); color: var(--vit-ink); font: 400 16px/1.4 var(--vit-f-heb), var(--vit-f-sans); }
.dp-form input[type="text"]:focus-visible, .dp-form input[type="email"]:focus-visible, .dp-check input:focus-visible { outline: 2px solid var(--vit-clay-ink); outline-offset: 2px; }
.dp-form input[aria-invalid="true"] { border-color: var(--vit-clay-text); box-shadow: inset 0 0 0 1px var(--vit-clay-text); }
.dp-biz { display: grid; gap: var(--vit-space-2); margin-block-start: var(--vit-space-4); padding: var(--vit-space-4); border: 1px solid var(--vit-line-default); background: var(--vit-paper-2); }
.dp-biz [data-dp-tax-row] { display: grid; gap: var(--vit-space-2); }
.dp-mail { display: grid; gap: var(--vit-space-2); }
.dp-check { display: flex; align-items: center; gap: var(--vit-space-3); min-height: 44px; font-size: 17px; font-weight: 600; cursor: pointer; }
.dp-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--vit-ink); }
.dp-hint { margin: 0; font-size: 14px; color: var(--vit-ink-2); }
.dp-err { margin: 0; padding: var(--vit-space-1) var(--vit-space-2); font-size: 14px; font-weight: 700; color: var(--vit-ink); background: var(--vit-paper-2); border-inline-start: 4px solid var(--vit-clay-text); }
.dp-biz .dp-err { background: var(--vit-paper); }
.dp-form [data-dp-pay] { justify-self: start; margin-block-start: var(--vit-space-5); min-width: 240px; }
.dp-form [data-dp-pay][disabled] { cursor: progress; }
.dp-done { padding-block-start: var(--vit-space-4); border-block-start: 1px solid var(--vit-ink); display: grid; gap: var(--vit-space-3); justify-items: start; }
.dp-ok { margin: 0; font-size: 22px; font-weight: 700; }
.dp-ok::before { content: "✓" / ""; margin-inline-end: var(--vit-space-2); color: var(--vit-clay-text); }
.dp-done p { margin: 0; }
/* design gate 21.11 (B/585 §5): the one next step of a done state is the area's clay button, like the tool's done screen */
.dp-done [data-dp-back] { min-width: 240px; }
.dp-done p:has([data-dp-back]) { justify-self: start; }
/* cancelling (manager-6 22.11): a quiet outline button under the clay one, and a confirm step inside the page - a framed question with its two answers */
.dp-cancel { display: grid; gap: var(--vit-space-3); justify-items: start; }
.dp-cancel:has(> :not([hidden])) { padding-block-start: var(--vit-space-3); }   /* its own block (past_due shows it under the form): the done face's gap, only when something in it shows */
.dp-cancel p { margin: 0; }
.dp-cancel [data-dp-cancel-row][hidden], .dp-confirm[hidden] { display: none; }
.dp-cancel [data-dp-cancel-row] { margin-block-start: var(--vit-space-4); }
.dp-confirm { display: grid; gap: var(--vit-space-3); justify-self: stretch; margin-block-start: var(--vit-space-4); padding: var(--vit-space-4); border: 1px solid var(--vit-ink); background: var(--vit-paper-2); }
.dp-confirm-q { font-size: 17px; font-weight: 600; line-height: 1.5; }
.dp-confirm-q:focus-visible { outline: 2px solid var(--vit-clay-ink); outline-offset: 4px; }
.dp-confirm-actions { display: flex; flex-wrap: wrap; gap: var(--vit-space-4); }
.dp-confirm-actions button[disabled] { cursor: progress; color: var(--vit-ink-3); border-style: dashed; }
.dp-cancel .ghost { min-height: 44px; cursor: pointer; }
@media (max-width: 767px) { .dp-confirm-actions { flex-direction: column; } .dp-confirm-actions button { width: 100%; box-sizing: border-box; } }
/* the cancel row keeps to the logical start edge under the pay button, and goes full width below 768 like it (Bezalel B/638). The launcher is a fixed corner
   object that content scrolls under; the confirm step is the one block it never covers (data-vb-avoid on [data-dp-confirm] itself). */
/* Bezalel B/639 nit: the sketch buttons carry a 6px inline margin (their corner ticks), so width:100% overhung the button above by 12px; a grid row stretches the
   button inside its margins instead, so pay/back and cancel share both edges */
@media (max-width: 767px) { .dp-cancel [data-dp-cancel-row] { justify-self: stretch; display: grid; } .dp-cancel [data-dp-cancel] { width: auto; box-sizing: border-box; } }
@media (max-width: 767px) { .dp-form [data-dp-pay] { justify-self: stretch; min-width: 0; } .dp-done p:has([data-dp-back]) { justify-self: stretch; } .dp-done [data-dp-back] { display: flex; min-width: 0; width: auto; box-sizing: border-box; } }
