.account-order-flow {
  display: grid;
  gap: 14px;
  margin: 14px 0;
  padding: clamp(15px, 2.5vw, 22px);
  border: 1px solid #e7ddd0;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 8px 24px rgba(44, 39, 29, .045);
}
.account-order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee6dc;
}
.account-order-heading > div { display: grid; gap: 6px; }
.account-order-heading > div:last-child { justify-items: end; text-align: right; }
.account-order-heading strong { color: #1c3027; font-size: 1.05rem; }
.account-order-heading small { color: #657066; line-height: 1.5; }
.account-order-step {
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid #e8dfd3;
  border-radius: 13px;
  background: #fff;
}
.account-order-step h3 { margin: 0; color: #1d3027; }
.account-order-step > p { margin: 0; color: #526056; line-height: 1.6; }
.account-order-invoice {
  overflow: hidden;
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  background: #faf8f3;
}
.account-order-invoice summary {
  padding: 12px 14px;
  color: #30473b;
  font-weight: 700;
  cursor: pointer;
}
.invoice-preview-frame {
  display: block;
  width: 100%;
  height: min(68vh, 640px);
  min-height: 340px;
  border: 0;
  border-top: 1px solid #e6e0d8;
  background: #fff;
}
.account-order-invoice > .text-link { display: inline-block; margin: 12px 14px; }
.account-proof-form {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #eee6dc;
}
.account-proof-form input[type="file"] { max-width: 100%; padding: 10px; }
.order-negotiate {
  padding: 13px 15px;
  border: 1px solid #e9dfd0;
  border-radius: 11px;
  background: #faf7f0;
}
.order-negotiate summary { color: #31493d; font-weight: 700; cursor: pointer; }
@media (max-width: 640px) {
  .account-order-heading { flex-direction: column; }
  .account-order-heading > div:last-child { justify-items: start; text-align: left; }
  .invoice-preview-frame { min-height: 300px; height: 58vh; }
  .account-order-step { padding: 13px; }
}

/* Readable payment path across public pages and the client account. */
.account-payment-steps article{align-items:flex-start;gap:16px;padding:18px 4px}.account-payment-steps article>span{width:38px;height:38px;font-size:1rem}.account-payment-steps strong{display:block;font-size:1.05rem;line-height:1.45}.account-payment-steps p{font-size:1rem;line-height:1.65}.account-order-heading strong{font-size:1.1rem}.account-order-heading small{font-size:.95rem;line-height:1.55}.account-order-step{gap:14px;padding:clamp(16px,2.5vw,24px)}.account-order-step h3{font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.3}.account-order-step>p,.account-order-step label,.account-order-step .field-hint{font-size:1rem;line-height:1.65}.account-order-step .eyebrow{font-size:.82rem;letter-spacing:.1em}.account-order-step input,.account-order-step select,.account-order-step textarea{min-height:48px;font-size:1rem}.account-order-step button,.account-order-step .button{min-height:48px;font-size:1rem}.account-order-invoice summary{font-size:1rem;padding:15px}.payment-instructions,.payment-status-note,.payment-upload-intro{font-size:1rem;line-height:1.65}.payment-instructions p,.payment-status-note p{line-height:1.65}.account-order-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;list-style:none;margin:6px 0 4px;padding:0}.order-progress-step{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:9px;min-height:60px;padding:10px;border:1px solid #e1e5dd;border-radius:12px;background:#f8f9f6;color:#566258}.order-progress-step>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8ece6;font-weight:800}.order-progress-step strong{font-size:.95rem;line-height:1.35}.order-progress-step.is-done{border-color:#cbdccf;background:#f1f7f1;color:#234b37}.order-progress-step.is-done>span{background:#466b4d;color:white}.order-progress-step.is-current{border-color:#b68948;background:#fff8ea;color:#342716;box-shadow:0 0 0 2px #b6894820}.order-progress-step.is-current>span{background:#b46b37;color:#fff}.payment-public-overview{margin:0 0 24px;padding:clamp(18px,3vw,28px);border:1px solid #ded7ca;border-radius:18px;background:#fffdf9;box-shadow:0 8px 24px #2c271d0b}.payment-public-overview>.eyebrow{margin:0 0 6px;color:#965025;font-size:.78rem;font-weight:800;letter-spacing:.12em}.payment-public-overview h2{margin:0 0 18px;color:#17251d;font-size:clamp(1.35rem,2.2vw,1.8rem)}.payment-public-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}.payment-public-steps li{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px;border:1px solid #e8e1d6;border-radius:12px;background:#fff}.payment-public-steps li>span{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#eaf0e8;color:#315a40;font-weight:800}.payment-public-steps strong{font-size:1rem;line-height:1.4;color:#24372b}.payment-security-banner{margin:18px 0 0;padding:15px 17px;border-left:4px solid #b46b37;border-radius:9px;background:#fff6e9;color:#503a24;font-size:1rem;line-height:1.65}.payment-security-banner strong{color:#382819}.info-page .info-card h2{font-size:1.1rem}.info-page .info-card p{font-size:1rem;line-height:1.7}.info-page .cta-band h2{font-size:clamp(1.35rem,2.3vw,1.8rem)}.info-page .cta-band p{font-size:1rem;line-height:1.6}.journey-section .steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.journey-section .step-card{padding:18px}.journey-section .step-card h3{font-size:1.05rem}.journey-section .step-card p{font-size:1rem;line-height:1.65}.product-payment-note{margin:16px 0;padding:14px 16px;border-left:4px solid #b46b37;border-radius:9px;background:#fff7eb;color:#483925;font-size:1rem;line-height:1.6}.product-payment-note a{font-weight:800;color:#315a40}
@media(max-width:900px){.account-order-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-section .steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.payment-public-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-section .steps{grid-template-columns:1fr}.account-order-progress{grid-template-columns:1fr 1fr}.order-progress-step{grid-template-columns:30px 1fr;padding:9px}.order-progress-step strong{font-size:.9rem}.account-payment-steps article{gap:12px;padding:16px 0}.account-order-step button,.account-order-step .button{width:100%}}
@media(max-width:390px){.payment-public-steps,.account-order-progress{grid-template-columns:1fr}.account-order-heading{gap:10px}}

/* The account dashboard guide must remain readable on narrow screens. */
.account-process-step strong{font-size:1rem;line-height:1.45}.account-process-step{font-size:1rem;min-height:62px}.account-process-heading h2{font-size:clamp(1.35rem,2.2vw,1.75rem)}.account-process-heading p:not(.eyebrow),.account-next-action p,.account-payment-security{font-size:1rem;line-height:1.65}.account-process-heading .eyebrow{font-size:.8rem}@media(max-width:420px){.account-process-step{align-items:center;flex-direction:row;padding:11px}.account-process-step strong{font-size:.95rem}}

.payment-wizard-intro{display:grid;gap:8px;margin:0 0 18px;padding:clamp(18px,3vw,26px);border:1px solid #e3d7c4;border-radius:16px;background:#fffaf0}
.payment-wizard-intro .payment-back-link{width:max-content;color:#315a40;font-size:1rem;font-weight:750;text-decoration:none}
.payment-wizard-intro .eyebrow{margin:4px 0 0;color:#925326;font-size:.82rem;font-weight:850;letter-spacing:.1em}
.payment-wizard-intro h2{margin:0;color:#183227;font-size:clamp(1.4rem,3vw,2rem);line-height:1.25}
.payment-wizard-intro>p:last-child{margin:0;color:#4f5e53;font-size:1.05rem;line-height:1.65}
.payment-order-list{display:grid;gap:14px}
.payment-order-list-item{display:grid;gap:12px;padding:clamp(15px,2.4vw,22px);border:1px solid #e4ddd1;border-radius:15px;background:#fff;box-shadow:0 6px 18px #2c271d09}
.payment-order-list-item .account-order-heading{padding-bottom:12px;border-bottom:1px solid #eee7dc}
.payment-order-next{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px 16px}
.payment-order-next>span{grid-column:1/-1;color:#8c5725;font-size:.78rem;font-weight:850;letter-spacing:.11em}
.payment-order-next>strong{font-size:1.05rem;line-height:1.5;color:#23382a}
.payment-order-next .button{min-height:48px;font-size:1rem}
.payment-current-step{border:2px solid #c59a55;background:#fffdf7;box-shadow:0 8px 26px #2c271d0b}
.payment-current-step .eyebrow{font-size:.88rem;font-weight:850}
.payment-current-step h3{font-size:clamp(1.3rem,2.4vw,1.65rem)}
.payment-current-step>p:not(.eyebrow){font-size:1.05rem;line-height:1.7}
.payment-simple-instructions{display:grid;gap:4px;padding:15px 17px;border-radius:12px;background:#f2f6ef}
.payment-simple-instructions p{margin:0;color:#314638;font-size:1.02rem;line-height:1.6}
.payment-simple-instructions strong{display:inline-grid;place-items:center;width:26px;height:26px;margin-right:6px;border-radius:50%;background:#426b4b;color:#fff}
.payment-waiting-card{display:flex;align-items:flex-start;gap:13px;padding:16px;border:1px solid #cbdccf;border-radius:13px;background:#f2f8f2}
.payment-waiting-card>span{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#426b4b;color:#fff;font-size:1.1rem;font-weight:850}
.payment-waiting-card strong{display:block;color:#234b37;font-size:1.06rem;line-height:1.45}
.payment-waiting-card p{margin:5px 0 0;color:#405548;font-size:1rem;line-height:1.7}
.payment-primary-action{min-height:52px;font-size:1.05rem;font-weight:800}
.payment-security-reminder{margin:4px 0 0;padding:13px 15px;border-left:4px solid #8a764d;border-radius:8px;background:#f6f2e9;color:#4d473b;font-size:1rem;line-height:1.65}
.account-proof-form .payment-upload-intro strong{font-size:1.08rem}
.account-proof-form .payment-upload-intro span{font-size:1rem;line-height:1.6}
.account-proof-form .payment-file-field input{width:100%;min-height:52px;padding:12px;border:1px dashed #8c9a8e;border-radius:10px;background:#f8faf7;font-size:1rem}
.account-order-invoice summary{min-height:50px;font-size:1rem}
.order-negotiate summary{min-height:46px;display:flex;align-items:center;font-size:1rem}
@media(max-width:640px){
.payment-wizard-intro{padding:17px}
.payment-wizard-intro>p:last-child{font-size:1rem}
.payment-order-list-item .account-order-heading{align-items:flex-start}
.payment-order-next{grid-template-columns:1fr}
.payment-order-next>span{grid-column:auto}
.payment-order-next .button{width:100%}
.payment-simple-instructions{padding:13px}
.payment-current-step .button-row{display:grid;grid-template-columns:1fr}
.payment-current-step .button-row .button{width:100%}
}
