/* Public Client work pages (storefront + client order page), white-label via --p / --s */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; font-family: -apple-system, "Segoe UI", Inter, Roboto, system-ui, sans-serif; color: #14102a; line-height: 1.5;
  background: radial-gradient(900px 520px at 95% -10%, color-mix(in srgb, var(--p) 16%, transparent), transparent 60%), radial-gradient(700px 500px at -10% 110%, color-mix(in srgb, var(--s) 12%, transparent), transparent 60%), #f6f5fb; }
a { color: var(--p); }
.wp { max-width: 860px; margin: 0 auto; padding: 22px 16px 40px; display: grid; gap: 16px; }
.wp--store { max-width: 1080px; }
.wp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wp-biz { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; } .wp-biz img { max-height: 40px; max-width: 170px; } .wp-biz b { font-size: 15px; }
.wp-mono { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--p), var(--s)); }
.wp-secure { font-size: 12.5px; font-weight: 700; color: #5d5873; background: #fff; padding: 6px 12px; border-radius: 99px; border: 1px solid #ece8f6; }
.wp-card { background: #fff; border: 1px solid #ece8f6; border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -48px rgba(40, 20, 90, .5); }
.wp-card h2 { margin: 0 0 12px; font-size: 18px; }
.wp-muted { color: #7a7596; } .wp-small { font-size: 12.5px; margin: 0; } .wp-ok { color: #15803d; }
.wp-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; font-size: 15px; color: #fff; text-decoration: none; cursor: pointer;
  background: linear-gradient(120deg, var(--p), var(--s)); box-shadow: 0 14px 30px -16px var(--p); transition: transform .15s, filter .15s; }
.wp-btn:hover { filter: brightness(1.06); transform: translateY(-1px); } .wp-btn:disabled { opacity: .6; transform: none; }
.wp-btn--lg { padding: 15px 22px; font-size: 16px; } .wp-btn--pay { background: linear-gradient(120deg, #16a34a, #22c55e); box-shadow: 0 14px 30px -14px #16a34a; margin-top: 14px; width: 100%; }
.wp-btn--ghost { background: #fff; color: #3d3966; border: 1.5px solid #e4e0ef; box-shadow: none; } .wp-btn--ok { background: linear-gradient(120deg, #16a34a, #22c55e); box-shadow: none; }
/* order head */
.wp-head { position: relative; overflow: hidden; } .wp-head::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--c), var(--s)); }
.wp-head small { color: #7a7596; font-weight: 700; } .wp-head h1 { margin: 4px 0 10px; font-size: clamp(22px, 4vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.wp-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 99px; background: #f1edfb; color: var(--p); }
.wp-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: wpPulse 1.6s infinite; }
@keyframes wpPulse { 50% { opacity: .35; } }
.wp-status--done { background: #dcfce7; color: #15803d; } .wp-status--unpaid { background: #fef3c7; color: #b45309; } .wp-status--review { background: #fce7f3; color: #be185d; } .wp-status--cancelled { background: #f1f0f4; color: #6b6785; }
.wp-steps { list-style: none; display: flex; margin: 20px 0 6px; padding: 0; }
.wp-steps li { flex: 1; position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #a29dbb; text-align: center; }
.wp-steps li::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: #ece8f6; } .wp-steps li:first-child::before { display: none; }
.wp-steps i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #ece8f6; transition: .3s; }
.wp-steps li.is-done { color: #15803d; } .wp-steps li.is-done i { background: #16a34a; border-color: #16a34a; } .wp-steps li.is-done::before, .wp-steps li.is-on::before { background: #16a34a; }
.wp-steps li.is-on { color: var(--p); } .wp-steps li.is-on i { border-color: var(--p); box-shadow: 0 0 0 6px color-mix(in srgb, var(--p) 16%, transparent); }
.wp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; color: #5d5873; }
/* brief */
.wp-brief { border: 2px solid color-mix(in srgb, var(--p) 30%, white); }
.wp-q { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid #f1eef8; animation: wpIn .3s both; } .wp-q:last-of-type { border-bottom: 0; }
@keyframes wpIn { from { opacity: 0; transform: translateY(6px); } }
.wp-q__l { font-weight: 800; font-size: 15px; } .wp-q__l em { color: #dc2626; font-style: normal; } .wp-q > small { color: #7a7596; font-size: 13px; }
.wp-q input:not([type=radio]):not([type=checkbox]), .wp-q textarea, .wp-q select, .wp-form input, .wp-form textarea, .wp-compose textarea, .wp-changes textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #e4e0ef; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.wp-q input:focus, .wp-q textarea:focus, .wp-q select:focus, .wp-form input:focus, .wp-form textarea:focus, .wp-compose textarea:focus { border-color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 14%, transparent); }
.wp-q__err { color: #dc2626; font-size: 13px; font-weight: 700; }
.wp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-choice { position: relative; cursor: pointer; } .wp-choice input { position: absolute; opacity: 0; }
.wp-choice span { display: inline-block; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #e4e0ef; font-weight: 700; font-size: 14px; transition: .15s; }
.wp-choice input:checked + span { border-color: var(--p); background: color-mix(in srgb, var(--p) 10%, white); color: var(--p); } .wp-choice input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 18%, transparent); }
.wp-filein span { display: block; padding: 16px; border-radius: 14px; border: 2px dashed #d9d1f3; text-align: center; cursor: pointer; font-weight: 700; color: var(--p); background: #fbfaff; }
.wp-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; } .wp-acts--sm { justify-content: flex-start; margin-top: 8px; } .wp-acts--sm .wp-btn { padding: 9px 14px; font-size: 14px; }
/* deliverables */
.wp-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wp-dl li { display: flex; gap: 14px; padding: 12px; border-radius: 18px; border: 1px solid #ece8f6; } .wp-dl li.is-pending { border-color: color-mix(in srgb, var(--p) 40%, white); background: color-mix(in srgb, var(--p) 4%, white); }
.wp-dl li > div { flex: 1; min-width: 0; } .wp-dl b { display: block; overflow-wrap: anywhere; } .wp-dl small { color: #7a7596; }
.wp-thumb { flex: none; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: #f1edfb; display: grid; place-items: center; font-weight: 800; color: var(--p); text-decoration: none; }
.wp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wp-badge { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 99px; } .wp-badge--approved { background: #dcfce7; color: #15803d; } .wp-badge--changes { background: #fee2e2; color: #b91c1c; }
.wp-note { margin: 6px 0 0; font-size: 13.5px; color: #5d5873; } .wp-changes { display: grid; gap: 8px; margin-top: 10px; } .wp-changes .wp-btn { justify-self: start; }
/* progress */
.wp-bar { height: 10px; border-radius: 10px; background: #f1edfb; overflow: hidden; margin-bottom: 12px; } .wp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--s)); border-radius: 10px; transition: width .8s; }
.wp-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wp-tasks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; } .wp-tasks i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #e4e0ef; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #fff; flex: none; }
.wp-tasks li.is-done i { background: #16a34a; border-color: #16a34a; } .wp-tasks li.is-done span { color: #7a7596; text-decoration: line-through; }
/* chat */
.wp-chat { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px 12px; }
.wp-sys { margin: 0 auto; font-size: 12px; color: #7a7596; background: #f6f4fb; padding: 4px 12px; border-radius: 99px; text-align: center; }
.wp-msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; background: #f4f1fb; } .wp-msg span { display: block; font-size: 11.5px; color: #7a7596; margin-bottom: 2px; } .wp-msg p { margin: 0; }
.wp-msg--me { justify-self: end; background: linear-gradient(120deg, var(--p), color-mix(in srgb, var(--p) 70%, var(--s))); color: #fff; border-bottom-right-radius: 5px; } .wp-msg--me span, .wp-msg--me a { color: rgba(255, 255, 255, .9); }
.wp-msg--them { justify-self: start; border-bottom-left-radius: 5px; }
.wp-compose { display: grid; gap: 8px; } .wp-compose > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wp-attach { cursor: pointer; font-weight: 700; color: #5d5873; font-size: 14px; max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wp-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .wp-files li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .wp-files a { font-weight: 700; overflow-wrap: anywhere; } .wp-files small { color: #7a7596; }
.wp-foot { text-align: center; font-size: 12.5px; color: #a29dbb; } .wp-foot a { color: inherit; }
.wp-toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #14102a; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); animation: wpIn .3s both; }
.wp-toast.is-bad { background: #b91c1c; }
/* storefront */
.wp-hero { text-align: center; padding: 18px 0 4px; } .wp-hero h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.03em; } .wp-hero p { max-width: 620px; margin: 10px auto 0; color: #5d5873; font-size: 16px; }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.wp-pkg { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid #ece8f6; color: inherit; text-decoration: none; overflow: hidden;
  box-shadow: 0 30px 60px -48px rgba(40, 20, 90, .6); transition: transform .25s, box-shadow .25s; animation: wpIn .45s both; animation-delay: calc(var(--d) * 70ms); }
.wp-pkg::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--c), var(--s)); }
.wp-pkg:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px color-mix(in srgb, var(--c) 60%, transparent); }
.wp-pkg > b { font-size: 19px; } .wp-pkg p { margin: 0; color: #5d5873; font-size: 14.5px; flex: 1; }
.wp-pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; color: #3d3966; } .wp-pkg .wp-btn { margin-top: 6px; }
.wp-price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; } .wp-price small { font-size: 14px; color: #7a7596; font-weight: 700; margin-left: 4px; } .wp-price--lg { font-size: 38px; }
.wp-buy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.wp-buy__info h1 { margin: 6px 0 6px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; line-height: 1.1; } .wp-buy__info h3 { margin: 20px 0 8px; font-size: 15px; }
.wp-back { font-size: 13.5px; font-weight: 700; text-decoration: none; }
.wp-how { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; gap: 10px; }
.wp-how li { counter-increment: h; display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; } .wp-how li::before { content: counter(h); grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c, var(--p)), var(--s)); }
.wp-how span { font-size: 13px; color: #7a7596; }
.wp-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 14px; }
.wp-form { display: grid; gap: 12px; position: sticky; top: 16px; } .wp-form h2 { margin: 0; } .wp-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; } .wp-form label small { font-weight: 500; color: #7a7596; }
.wp-err { color: #b91c1c; background: #fef2f2; padding: 10px 12px; border-radius: 10px; margin: 0; font-size: 14px; }
@media (max-width: 760px) { .wp-buy { grid-template-columns: 1fr; } .wp-form { position: static; } .wp-steps span { font-size: 10.5px; } .wp-card { padding: 18px; border-radius: 20px; } .wp-incl { grid-template-columns: 1fr; } .wp-thumb { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.wp-offer { margin: 0; padding: 12px 16px; border-radius: 16px; background: linear-gradient(120deg, #fff7ed, #fdf2f8); border: 1px solid #fed7aa; font-weight: 800; color: #9a3412; text-align: center; }
.wp-help { text-align: center; margin: 0; font-weight: 700; font-size: 14px; }
/* QA app-responsive 2026-11-22: iOS Safari zooms into fields under 16px; file links get a 40px tap row on touch */
@media (max-width: 760px) { .wp-q input:not([type=radio]):not([type=checkbox]), .wp-q textarea, .wp-q select, .wp-form input, .wp-form textarea, .wp-compose textarea, .wp-changes textarea { font-size: 16px; } }
@media (pointer: coarse) { .wp-files a { display: inline-flex; align-items: center; min-height: 40px; } }
