:root{--blue:#1467d8;--blue-dark:#104d9e;--green:#14855b;--ink:#172c42;--muted:#576c80;--line:#dce5ee;--paper:#fff;--page:#f6f8fb;--future:#edf1f5;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:16px/1.65 Loca,Inter,'Noto Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #1467d877;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.25;letter-spacing:-.035em}h1{font-size:clamp(30px,4vw,46px);font-weight:750}h2{font-size:24px}h3{font-size:19px}svg{width:24px;height:24px;flex-shrink:0}small{font-size:13px}button,input,select,textarea{border-radius:10px}input,select,textarea{width:100%;min-height:46px;border:1px solid #b9c9d8;background:#fff;color:var(--ink);padding:10px 12px}textarea{min-height:110px;resize:vertical}label{display:flex;flex-direction:column;gap:7px;font-weight:600;color:#27445e}label small{font-weight:400;color:var(--muted)}[hidden]{display:none!important}.pw-skip{position:absolute;top:-70px;left:18px;background:white;padding:12px 18px;border-radius:8px;z-index:100}.pw-skip:focus{top:12px}.pw-header{background:#ffffffeb;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.pw-header-inner{max-width:1320px;margin:auto;min-height:78px;padding:13px 30px;display:flex;align-items:center;justify-content:space-between;gap:22px}.pw-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;letter-spacing:-.8px;color:#143556;white-space:nowrap}.pw-brand:hover{text-decoration:none}.pw-brand img{width:40px;height:40px;object-fit:contain}.pw-header-links{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap}.pw-header-links>a{font-size:14px;font-weight:600}.pw-language{width:auto;max-width:170px;min-height:40px;font-size:14px;padding:7px 28px 7px 10px;background:#f9fbfd}.pw-account{display:flex;align-items:center;gap:9px;max-width:260px}.pw-account-name{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pw-main{max-width:1240px;margin:0 auto;padding:46px 30px 72px;min-height:calc(100vh - 170px)}.pw-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:28px}.pw-page-head>div{max-width:830px}.pw-eyebrow{font-size:12px;font-weight:750;letter-spacing:1.7px;color:var(--blue);margin-bottom:12px}.pw-subtitle{color:var(--muted);margin-top:12px;max-width:780px;font-size:17px}.pw-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid transparent;padding:11px 18px;color:#fff;background:var(--blue);font-size:15px;line-height:1.45;font-weight:650;border-radius:11px;text-align:center;text-decoration:none}.pw-button:hover{background:var(--blue-dark);text-decoration:none}.pw-button.secondary{border-color:#c8d6e4;background:#fff;color:#28587f}.pw-button.secondary:hover{background:#eff5fc}.pw-button.green{background:var(--green)}.pw-button.green:hover{background:#0c6e48}.pw-button.ghost{background:transparent;color:var(--muted);border-color:transparent}.pw-button.ghost:hover{background:#eaf0f6}.pw-button.danger{background:#fff;border-color:#e6c5c5;color:#9a3333}.pw-button.small{min-height:38px;padding:8px 12px;font-size:14px}.pw-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.pw-panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 4px 14px #18324b03}.pw-panel>h2,.pw-panel>h3{margin-bottom:15px}.pw-stack{display:flex;flex-direction:column;gap:18px}.pw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pw-role-card{padding:30px;display:flex;flex-direction:column;align-items:flex-start;min-height:330px}.pw-role-card>h2{font-size:23px;line-height:1.35;margin-bottom:13px}.pw-role-card>p{color:var(--muted);margin-bottom:24px}.pw-role-card>.pw-button{margin-top:auto}.pw-role-icon{width:58px;height:58px;border-radius:17px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;margin-bottom:24px}.pw-role-icon.green{background:#e8f5ef;color:var(--green)}.pw-role-icon.slate{background:#eef1f6;color:#596a80}.pw-role-icon svg{width:29px;height:29px}.pw-demo-note{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:26px;padding:24px 28px;background:#edf2f7;border-radius:16px}.pw-demo-note h3{font-size:17px}.pw-demo-note p{font-size:14px;color:var(--muted);margin-top:6px;max-width:780px}.pw-demo-note>a{font-size:14px;font-weight:650;white-space:nowrap}.pw-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:20px;background:#eaf2ff;color:#155cae;font-size:13px;font-weight:650;line-height:1.5}.pw-badge[data-state=completed],.pw-badge[data-state=accepted],.pw-badge[data-state=active]{background:#e8f5ef;color:#126b49}.pw-badge[data-state=declined],.pw-badge[data-state=revoked],.pw-badge[data-state=suspended]{background:#eef1f5;color:#5b6878}.pw-loading{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}.pw-empty{max-width:760px;margin:30px auto;padding:42px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}.pw-empty>p{color:var(--muted)}.pw-empty-icon{width:58px;height:58px;background:#eaf2ff;color:var(--blue);border-radius:18px;display:grid;place-items:center}.pw-error,.pw-feedback[data-error=true]{color:#9c3535;background:#fff3f1;border:1px solid #edcfca;border-radius:11px;padding:12px 15px}.pw-error:empty,.pw-feedback:empty{display:none}.pw-feedback{font-size:14px;color:var(--green);padding:6px 0}.pw-note{color:var(--muted);font-size:14px;line-height:1.6}.pw-note.info{padding:14px 16px;background:#eef5fd;border-radius:11px;color:#345e86}.pw-note.success{padding:14px 16px;background:#ebf7f0;border-radius:11px;color:#176942}.pw-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:23px}.pw-tab{min-height:44px;padding:9px 17px;border:0;background:transparent;color:var(--muted);font-weight:650;border-radius:10px}.pw-tab[aria-selected=true],.pw-tab[aria-pressed=true]{background:#e6f0ff;color:#145cb5}.pw-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pw-case-card{display:flex;flex-direction:column;gap:12px;padding:23px}.pw-case-card-top{display:flex;justify-content:space-between;align-items:center;gap:14px}.pw-case-card h2{font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere}.pw-case-card p{color:var(--muted);font-size:14px}.pw-case-card-footer{border-top:1px solid #edf1f5;margin-top:auto;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.pw-date{font-size:12px;color:#63798e}.pw-case-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);gap:24px;align-items:start}.pw-case-left{display:flex;flex-direction:column;gap:20px}.pw-status-panel{background:linear-gradient(120deg,#fff 45%,#eef6ff)}.pw-current{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.pw-current h2{font-size:29px;margin:8px 0 9px}.pw-current p{color:var(--muted);font-size:15px;max-width:680px}.pw-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:25px 0 0;padding:22px 0 0;border-top:1px solid var(--line)}.pw-step{position:relative;display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;color:#647388;font-size:12px;line-height:1.4}.pw-step:after{content:'';position:absolute;top:15px;left:calc(50% + 22px);width:calc(100% - 32px);height:2px;background:#dce3eb}.pw-step:last-child:after{display:none}.pw-step-marker{width:32px;height:32px;display:grid;place-items:center;position:relative;z-index:1;background:#edf1f5;border:1px solid #d9e0e7;color:#647388;border-radius:50%;font-size:12px;font-weight:700}.pw-step-marker svg{width:18px;height:18px}.pw-step[data-state=done] .pw-step-marker{background:var(--green);border-color:var(--green);color:white}.pw-step[data-state=done]{color:#1b6b4d}.pw-step[data-state=current] .pw-step-marker{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 0 0 4px #e2edfd}.pw-step[data-state=current]{color:#155eae;font-weight:700}.pw-case-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0 0}.pw-case-facts dt{font-size:13px;color:var(--muted);margin-bottom:4px}.pw-case-facts dd{margin:0;font-size:15px;overflow-wrap:anywhere}.pw-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.pw-summary{font-size:16px;line-height:1.75;color:#354e66}.pw-summary-detail{margin-top:19px;border-top:1px solid var(--line);padding-top:16px}.pw-summary-detail summary{cursor:pointer;font-size:14px;font-weight:650;color:#315c84}.pw-summary-detail p{margin-top:12px}.pw-arrangements{margin-top:18px;background:#f2f7fc;border-radius:12px;padding:16px}.pw-arrangements h3{font-size:15px;margin-bottom:8px}.pw-arrangements p{font-size:15px}.pw-completion{border-color:#c6e5d4;background:#f5fbf7}.pw-completion h3{color:#116d45}.pw-case-actions{display:flex;flex-wrap:wrap;gap:10px}.pw-case-actions:empty{display:none}.pw-chat{padding:0;overflow:hidden;position:sticky;top:100px}.pw-chat-head{padding:22px 24px 17px;border-bottom:1px solid var(--line);background:#fff}.pw-chat-head h2{font-size:21px}.pw-chat-head p{font-size:13px;color:var(--muted);margin-top:7px}.pw-chat-scroll{padding:22px;max-height:530px;min-height:260px;overflow:auto;background:#fafcfe;display:flex;flex-direction:column;gap:13px;scrollbar-gutter:stable}.pw-message{max-width:94%;padding:12px 15px;background:#fff;border:1px solid #dfe7ef;border-radius:14px 14px 14px 3px;align-self:flex-start;box-shadow:0 1px 3px #23476b04}.pw-message[data-role=mate]{border-color:#cce4d8;background:#f1faf5}.pw-message[data-role=admin]{border-color:#d3e2f4;background:#eff6ff}.pw-message-name{font-size:12px;font-weight:650;color:#476884;margin-bottom:6px}.pw-message p{font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.pw-message time{font-size:11px;color:#687d8e;display:block;margin-top:7px}.pw-chat-form{padding:18px 22px;border-top:1px solid var(--line);background:#fff}.pw-chat-form label{font-size:13px}.pw-chat-form textarea{font-size:15px;min-height:88px;margin-bottom:11px}.pw-chat-form .pw-actions{justify-content:space-between}.pw-chat-form .pw-note{font-size:12px;max-width:70%}.pw-chat-readonly{padding:20px 23px;font-size:14px;color:var(--muted);border-top:1px solid var(--line)}.pw-admin-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.3fr);gap:24px;align-items:start}.pw-partner-list{display:flex;flex-direction:column;gap:12px}.pw-partner-row{padding:18px;border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:18px}.pw-partner-row h3{font-size:16px;letter-spacing:0;overflow-wrap:anywhere}.pw-partner-row p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.pw-partner-row .pw-badge{font-size:12px;margin-top:7px}.pw-partner-row .pw-actions{justify-content:flex-end;flex-shrink:0}.pw-admin-cases{margin-top:26px}.pw-intake-context{padding:15px;background:#f2f6fb;border-radius:11px;font-size:14px;color:#425c74;display:flex;flex-direction:column;gap:12px}.pw-dialog{border:1px solid var(--line);border-radius:20px;padding:27px;max-width:560px;width:calc(100% - 36px);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 30px 100px #16304b35;color:var(--ink)}.pw-dialog::backdrop{background:#13283d65;backdrop-filter:blur(4px)}.pw-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.pw-dialog-head h2{font-size:24px}.pw-dialog-close{background:#f0f4f8;border:0;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}.pw-dialog-close svg{width:20px;height:20px}.pw-dialog p{margin-bottom:18px;color:var(--muted);font-size:15px}.pw-dialog .pw-actions{justify-content:flex-end}.pw-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173b5a;color:#fff;padding:12px 20px;border-radius:12px;z-index:70;box-shadow:0 10px 35px #11283f25;font-size:14px;max-width:calc(100vw - 32px);text-align:center}.pw-toast:empty{display:none}.pw-footer{max-width:1240px;margin:auto;padding:22px 30px 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.pw-footer a{font-weight:650;color:#345b7b}.pw-sr-only{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.pw-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.pw-section-head h2{margin:0}.pw-case-id{font-size:12px;color:#6b8195;overflow-wrap:anywhere}.pw-partner-state{margin-bottom:18px}
@media(min-width:1600px){.pw-main{padding-top:55px}}
@media(max-width:1000px){.pw-grid{grid-template-columns:1fr}.pw-role-card{min-height:0;display:grid;grid-template-columns:auto 1fr;column-gap:23px;align-items:start}.pw-role-icon{grid-row:span 3;margin:0}.pw-role-card>.pw-button{justify-self:start}.pw-role-card>p{margin-bottom:19px}.pw-header-links{gap:13px}.pw-case-layout{grid-template-columns:1fr}.pw-chat{position:static}.pw-chat-scroll{max-height:450px}.pw-admin-layout{grid-template-columns:minmax(280px,.85fr) minmax(0,1fr)}}
@media(max-width:720px){.pw-header-inner{padding:12px 18px;min-height:70px;flex-wrap:wrap;gap:10px}.pw-brand{font-size:20px}.pw-brand img{width:35px;height:35px}.pw-header-links{gap:10px}.pw-header-links>.pw-header-navlink{display:none}.pw-account{display:none}.pw-language{max-width:145px;font-size:13px}.pw-main{padding:28px 18px 48px}.pw-page-head{flex-direction:column;gap:17px;margin-bottom:24px}.pw-page-head .pw-button{min-height:40px;font-size:14px}.pw-subtitle{font-size:16px}.pw-eyebrow{font-size:11px;letter-spacing:1.3px}.pw-panel{padding:21px;border-radius:15px}.pw-grid{gap:15px}.pw-role-card{display:flex;padding:25px}.pw-role-icon{margin:0 0 20px;width:50px;height:50px}.pw-role-card>h2{font-size:22px}.pw-role-card>.pw-button{align-self:stretch}.pw-demo-note{align-items:flex-start;flex-direction:column;gap:14px;padding:21px}.pw-demo-note>a{white-space:normal}.pw-cases{grid-template-columns:1fr}.pw-case-card-footer{flex-wrap:wrap}.pw-admin-layout{grid-template-columns:1fr}.pw-case-layout{gap:19px}.pw-current h2{font-size:26px}.pw-current p{font-size:15px}.pw-case-facts{gap:15px}.pw-steps{gap:7px}.pw-step{font-size:11px;line-height:1.35}.pw-step-marker{width:29px;height:29px}.pw-step:after{top:14px;left:calc(50% + 19px);width:calc(100% - 29px)}.pw-chat{padding:0}.pw-chat-head{padding:20px}.pw-chat-scroll{padding:17px;max-height:450px}.pw-chat-form{padding:17px}.pw-message{max-width:98%}.pw-case-actions>.pw-button{flex:1;min-width:140px}.pw-empty{padding:27px;margin-top:10px}.pw-empty h1{font-size:29px}.pw-partner-row{flex-wrap:wrap}.pw-partner-row .pw-actions{margin-left:auto}.pw-admin-cases{margin-top:22px}.pw-footer{padding:20px}.pw-dialog{padding:22px}.pw-tabs{gap:2px}.pw-tab{padding:9px 13px;font-size:15px}.pw-section-head{flex-wrap:wrap}.pw-case-id{max-width:100%}}
@media(prefers-reduced-motion:no-preference){.pw-button,.pw-tab{transition:background-color .15s,border-color .15s}}
.pw-help{gap:6px;white-space:nowrap}.pw-help svg{width:19px;height:19px;flex-shrink:0}.pw-guide-roles{display:grid;gap:18px;margin-block:24px}.pw-guide-roles section{display:grid;grid-template-columns:38px minmax(0,1fr);gap:4px 12px}.pw-guide-icon{grid-row:span 2;color:#1467d8}.pw-guide-icon svg{width:28px;height:28px}.pw-guide-roles h3,.pw-guide-roles p{margin:0}.pw-guide-roles p{font-size:16px;line-height:1.65;color:#526174}.pw-guide-progress{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:8px}.pw-guide-progress li{background:#f0f6fc;border:1px solid #d3e2f0;border-radius:8px;padding:7px 11px;font-size:14px}.pw-account-name,.pw-case-id{direction:ltr;unicode-bidi:isolate}
@media(max-width:720px){.pw-help-label{display:none}.pw-help.pw-button{min-width:38px;min-height:38px;padding:7px}.pw-header-links{gap:8px}}
