:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0b1726;background:#eef2f6}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#0c2037 0,#132c47 250px,#eef2f6 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:.17em;font-weight:800;opacity:.72}.pex-kicker-dark{color:#415468}.pex-card{background:#fff;border:1px solid #dbe3eb;border-radius:18px;padding:18px;box-shadow:0 12px 34px rgba(9,30,52,.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 #cbd5df;border-radius:12px;padding:13px 14px;font:inherit}.pex-primary,.pex-ghost,.pex-link,.pex-open,.pex-action,.pex-close{font:inherit;cursor:pointer}.pex-primary{border:0;border-radius:12px;padding:13px 16px;background:#0c2037;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:#184f83;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,.14);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 #e0e6ed;border-radius:14px;padding:14px;background:#fbfcfd}.pex-item strong{display:block;margin-bottom:5px}.pex-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:#5b6b7c}.pex-state{display:inline-flex;margin-top:9px;border-radius:999px;background:#e9f1f8;padding:5px 8px;font-size:11px;font-weight:800}.pex-open{display:block;width:100%;margin-top:12px;border:1px solid #bfd0df;background:#fff;color:#143a5c;border-radius:10px;padding:10px 12px;font-weight:800;text-align:center}.pex-detail-card{grid-column:1/-1}.pex-detail-head,.pex-step-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 #d4dde6;background:#fff;border-radius:10px;padding:8px 11px;color:#405268}.pex-steps{display:grid;gap:12px;margin-top:18px}.pex-step{border:1px solid #dce5ed;border-radius:15px;padding:15px;background:#f8fafc}.pex-step .pex-state{margin-top:0}.pex-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}.pex-action{border:0;border-radius:12px;padding:12px 14px;background:#0c2037;color:#fff;font-weight:800}.pex-action:disabled{opacity:.5;cursor:wait}.pex-complete{font-size:12px;color:#617286}.pex-empty{padding:20px 4px;color:#657486;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-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pex-conversation{margin-top:22px;border-top:1px solid #dfe6ed;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:#0c2037;color:#fff;font-size:11px;font-weight:800}
.pex-thread-state{font-size:11px;font-weight:800;color:#506173;text-transform:uppercase}
.pex-messages{display:grid;gap:9px;max-height:360px;overflow:auto;padding:2px}
.pex-message{max-width:88%;border:1px solid #dce5ed;border-radius:14px;padding:10px 12px;background:#fff}
.pex-message.mine{margin-left:auto;background:#eaf2f8}
.pex-message-author{font-size:11px;font-weight:800;color:#526579;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:#7a8998;margin-top:5px}
.pex-conversation-empty{padding:12px 0;color:#68798a;font-size:13px}
.pex-quick-replies{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0 9px}
.pex-quick-reply{border:1px solid #c8d6e2;background:#fff;color:#183a59;border-radius:999px;padding:7px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.pex-conversation-form{display:grid;gap:9px}
.pex-conversation-form textarea{width:100%;min-height:78px;resize:vertical;border:1px solid #cbd5df;border-radius:12px;padding:11px 12px;font:inherit}
.pex-conversation-error{padding:12px;border-radius:12px;background:#fff2f2;color:#8a2525;font-size:13px}

.pex-secondary-actions{display:flex;justify-content:flex-end;margin-top:10px}
.pex-occurrence{border:1px solid #b6c6d5;background:#fff;color:#173b5d;border-radius:10px;padding:9px 11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.pex-occurrence:disabled,.pex-danger:disabled{opacity:.5;cursor:wait}
.pex-support{margin-top:18px;border-top:1px solid #dfe6ed;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:#68798a;font-size:12px}
.pex-document,.pex-alert-row{border:1px solid #dce5ed;border-radius:12px;padding:11px 12px;margin-top:8px;background:#fbfcfd}
.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:#68798a;font-size:12px}.pex-support-error{padding:12px;border-radius:12px;background:#fff2f2;color:#8a2525;font-size:13px}
.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-notification-count{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#edf3f8;color:#173b5d;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 #dce5ed;border-radius:12px;padding:10px 12px;background:#fbfcfd}
.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:#68798a}.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-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}
}
