:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18181b;background:#f2f1ee}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#171717 0,#292724 250px,#f2f1ee 250px);min-height:100vh}.pex-shell{width:min(1100px,100%);margin:0 auto;padding:20px 16px 48px}.pex-top{display:flex;align-items:center;justify-content:space-between;color:#fff;padding:8px 2px 28px}.pex-top h1,.pex-hero h2{margin:3px 0 0}.pex-kicker{font-size:11px;letter-spacing:.18em;font-weight:800;opacity:.66}.pex-card{background:#fff;border:1px solid #dfdcd5;border-radius:18px;padding:18px;box-shadow:0 12px 34px rgba(25,23,20,.08)}.pex-auth{max-width:440px;margin:34px auto}.pex-auth h2{margin-top:0}.pex-auth form{display:grid;gap:14px}.pex-auth label{display:grid;gap:7px;font-size:13px;font-weight:700}.pex-auth input{width:100%;border:1px solid #d0ccc4;border-radius:12px;padding:13px 14px;font:inherit}.pex-primary,.pex-ghost,.pex-link{font:inherit;cursor:pointer}.pex-primary{border:0;border-radius:12px;padding:13px 16px;background:#18181b;color:#fff;font-weight:800}.pex-ghost{border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;border-radius:10px;padding:9px 13px}.pex-link{border:0;background:transparent;color:#574a35;padding:12px 0 0;font-weight:700}.pex-status{min-height:24px;margin:-14px 0 12px;color:#fff;font-size:13px}.pex-status.error{color:#ffd0d0}.pex-hero{display:flex;align-items:end;justify-content:space-between;color:#fff;padding:0 2px 22px}.pex-pill{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.13);font-weight:800}.pex-grid{display:grid;gap:16px}.pex-card h3{margin:0 0 14px}.pex-list{display:grid;gap:10px}.pex-item{border:1px solid #e5e1da;border-radius:14px;padding:14px;background:#fdfcfb}.pex-item strong{display:block;margin-bottom:5px}.pex-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:#6a645b}.pex-state{display:inline-flex;margin-top:9px;border-radius:999px;background:#eee9df;padding:5px 8px;font-size:11px;font-weight:800}.pex-empty{padding:20px 4px;color:#716c64;font-size:14px}.pex-loading{opacity:.65}@media(min-width:800px){.pex-shell{padding-top:28px}.pex-grid{grid-template-columns:1fr 1fr}.pex-card{padding:22px}.pex-auth{margin-top:60px}}
.pex-open,.pex-close,.pex-quick-reply{font:inherit;cursor:pointer}
.pex-open{display:block;width:100%;margin-top:12px;border:1px solid #d5cec2;background:#fff;color:#403626;border-radius:10px;padding:10px 12px;font-weight:800;text-align:center}
.pex-detail-card{grid-column:1/-1}
.pex-detail-head,.pex-journey-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.pex-detail-head h3{margin:4px 0 6px}
.pex-close{border:1px solid #d8d2c8;background:#fff;border-radius:10px;padding:8px 11px;color:#51483c}
.pex-journey-timeline{display:grid;gap:11px;margin-top:18px}
.pex-journey-step{position:relative;border-left:3px solid #d8d0c2;padding:11px 12px 11px 15px;background:#fbfaf8;border-radius:0 13px 13px 0}
.pex-journey-step strong{display:block;margin-bottom:5px}
.pex-conversation{margin-top:22px;border-top:1px solid #e1ddd5;padding-top:18px}
.pex-conversation-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pex-conversation-head h4{margin:0;font-size:16px}
.pex-unread{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:999px;background:#18181b;color:#fff;font-size:11px;font-weight:800}
.pex-thread-state{font-size:11px;font-weight:800;color:#6a6258;text-transform:uppercase}
.pex-messages{display:grid;gap:9px;max-height:360px;overflow:auto;padding:2px}
.pex-message{max-width:88%;border:1px solid #e1ddd6;border-radius:14px;padding:10px 12px;background:#fff}
.pex-message.mine{margin-left:auto;background:#f1ede5}
.pex-message-author{font-size:11px;font-weight:800;color:#675e52;margin-bottom:4px}
.pex-message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.4}
.pex-message-time{font-size:10px;color:#837b70;margin-top:5px}
.pex-conversation-empty{padding:12px 0;color:#716c64;font-size:13px}
.pex-quick-replies{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0 9px}
.pex-quick-reply{border:1px solid #d5cec2;background:#fff;color:#493f31;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}
.pex-conversation-form{display:grid;gap:9px}
.pex-conversation-form textarea{width:100%;min-height:78px;resize:vertical;border:1px solid #d0ccc4;border-radius:12px;padding:11px 12px;font:inherit}
.pex-conversation-error{padding:12px;border-radius:12px;background:#fff2f2;color:#8a2525;font-size:13px}

.pex-support{margin-top:18px;border-top:1px solid #e1ddd5;padding-top:18px}
.pex-support-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.pex-support-head h4{margin:0;font-size:16px}.pex-support-head p{margin:5px 0 0;color:#716c64;font-size:12px}
.pex-document,.pex-alert-row{border:1px solid #e1ddd6;border-radius:12px;padding:11px 12px;margin-top:8px;background:#fdfcfb}
.pex-document strong,.pex-alert-row strong{display:block;margin-bottom:5px}.pex-alert-row{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px}
.pex-support-note,.pex-support-empty{display:block;margin-top:7px;color:#716c64;font-size:12px}.pex-support-error{padding:12px;border-radius:12px;background:#fff2f2;color:#8a2525;font-size:13px}
.pex-help-actions{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:12px}.pex-help{border:1px solid #d5cec2;background:#fff;color:#403626;border-radius:10px;padding:9px 11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.pex-danger{border:0;border-radius:11px;padding:10px 12px;background:#8b1e1e;color:#fff;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.pex-danger:disabled{opacity:.5;cursor:wait}

.pex-notification-count{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eee9df;color:#493f31;font-size:11px;font-weight:900}
.pex-notification-feed{display:grid;gap:8px;max-height:280px;overflow:auto}
.pex-notification-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border:1px solid #e1ddd6;border-radius:12px;padding:10px 12px;background:#fdfcfb}
.pex-notification-item div{display:grid;gap:3px}.pex-notification-item strong{font-size:13px}.pex-notification-item span,.pex-notification-item small{font-size:11px;color:#716c64}.pex-notification-item small{text-align:right}

:where(button,input,textarea,a):focus-visible{outline:3px solid currentColor;outline-offset:3px}
:where(button,input,textarea){min-height:44px}
button{touch-action:manipulation}
.pex-card,.pex-item,.pex-journey-step,.pex-message,.pex-document,.pex-alert-row,.pex-notification-item{overflow-wrap:anywhere}
@media(max-width:520px){
  .pex-shell{padding-left:12px;padding-right:12px}
  .pex-top,.pex-hero,.pex-detail-head,.pex-support-head{align-items:stretch;flex-direction:column}
  .pex-top,.pex-hero{gap:12px}
  .pex-ghost,.pex-close,.pex-danger{width:100%}
  .pex-message{max-width:100%}
  .pex-notification-item{flex-direction:column}
  .pex-notification-item small{text-align:left}
  .pex-auth input,.pex-conversation-form textarea{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
