.case-workflow-root{--cw:#0b7167;--cw2:#16a39a;--ink:#102a43;--muted:#68788a;min-height:calc(100vh - 96px);color:var(--ink)}
.cw-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}.cw-heading>div:first-child>span{font-size:11px;letter-spacing:2.2px;color:var(--cw);font-weight:800}.cw-heading h1{font-size:27px;margin:6px 0 5px}.cw-heading p{margin:0;color:var(--muted)}.cw-heading>div:last-child{display:flex;gap:10px}.cw-heading button,.cw-next button,.cw-review-actions button{border:1px solid #b8d8d4;background:#fff;color:var(--cw);border-radius:9px;padding:10px 16px;font-weight:700;cursor:pointer}.cw-heading button.primary,.cw-next button.primary,.cw-review-actions button.primary{border-color:var(--cw);background:linear-gradient(135deg,var(--cw),var(--cw2));color:#fff;box-shadow:0 7px 18px rgba(11,113,103,.2)}
.cw-integrations{display:flex;align-items:center;gap:8px;padding:13px 16px;background:linear-gradient(105deg,#effbf9,#f6fbff);border:1px solid #cfe7e4;border-radius:13px;margin-bottom:16px;overflow-x:auto}.cw-integrations>div{display:flex;align-items:center;gap:9px;min-width:max-content}.cw-integrations>div>i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff;border:1px solid #cfe7e4;color:var(--cw);font-style:normal;font-weight:800}.cw-integrations span{display:flex;flex-direction:column}.cw-integrations b{font-size:12px}.cw-integrations small{font-size:10px}.cw-integrations small.ready{color:#138a61}.cw-integrations small.adapter{color:#b7791f}.cw-integrations>em{color:#81aaa5;font-style:normal}
.cw-notice{padding:10px 14px;margin-bottom:12px;border-radius:9px;background:#fff8df;border:1px solid #f2d780;color:#8a6513;font-size:13px}.cw-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:15px;align-items:start}.cw-layout>aside,.cw-detail{background:#fff;border:1px solid #dde7ee;border-radius:14px;box-shadow:0 8px 24px rgba(33,61,85,.07)}.cw-layout>aside{padding:12px;position:sticky;top:84px;max-height:calc(100vh - 108px);overflow:auto}.cw-layout>aside>header{display:flex;justify-content:space-between;padding:4px 4px 11px}.cw-layout>aside>header span{color:var(--muted);font-size:12px}.cw-case{display:block;width:100%;text-align:left;border:1px solid #e0e8ee;background:#fff;border-radius:10px;padding:11px;margin-bottom:8px;cursor:pointer;color:var(--ink)}.cw-case:hover,.cw-case.active{border-color:#54b7ae;background:#f0fbf9}.cw-case>span{display:flex;justify-content:space-between;gap:8px}.cw-case>span b{font-size:12px}.cw-case>span small{font-size:10px;color:var(--muted)}.cw-case>strong{display:inline-block;margin:8px 0 4px;color:var(--cw);font-size:13px}.cw-case p{font-size:11px;line-height:1.55;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cw-case footer{display:flex;justify-content:space-between;margin-top:8px;font-size:10px}.cw-case footer i{font-style:normal;color:#b45309}.cw-case footer em{font-style:normal;color:var(--muted)}.cw-empty,.cw-detail-empty{display:flex;flex-direction:column;gap:7px;text-align:center;padding:28px 15px;color:var(--muted)}
.cw-detail{padding:17px}.cw-detail-head{display:flex;justify-content:space-between;gap:18px;padding:4px 4px 15px;border-bottom:1px solid #e6edf2}.cw-detail-head span{font-size:11px;color:var(--cw);font-weight:800;letter-spacing:1px}.cw-detail-head h2{font-size:21px;margin:4px 0}.cw-detail-head p{margin:0;color:var(--muted);font-size:12px}.cw-detail-head>div:last-child{text-align:center;border-left:1px solid #e6edf2;padding-left:20px;min-width:76px}.cw-detail-head>div:last-child small{display:block;color:var(--muted);font-size:10px}.cw-detail-head>div:last-child strong{font-size:28px;color:var(--cw)}
.cw-flow{display:grid;grid-template-columns:repeat(9,minmax(92px,1fr));gap:5px;margin:16px 0;overflow-x:auto;padding-bottom:4px}.cw-flow article{position:relative;min-width:92px;padding:10px 7px 10px 10px;border-radius:9px;background:#f5f8fa;border:1px solid #e2e9ee;opacity:.65}.cw-flow article.done{background:#edf9f5;border-color:#b9e0d4;opacity:1}.cw-flow article.active{background:linear-gradient(145deg,#0b7167,#11958a);border-color:#0b7167;color:#fff;opacity:1;box-shadow:0 7px 18px rgba(11,113,103,.22)}.cw-flow article>i{font-style:normal;font-size:10px;font-weight:900}.cw-flow b{display:block;font-size:11px;margin:5px 0}.cw-flow span{font-size:9px;line-height:1.45;display:block;opacity:.78}.cw-flow article:not(:last-child):after{content:'›';position:absolute;right:-7px;top:24px;z-index:2;color:#8ca6a3;font-size:17px}
.cw-next,.cw-review-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:11px;background:#f2faf9;border:1px solid #cce6e2;margin-bottom:15px}.cw-next>div,.cw-review-actions>div{display:flex;flex-direction:column}.cw-next small{color:var(--muted);font-size:10px}.cw-next b,.cw-review-actions b{font-size:14px}.cw-next span,.cw-review-actions span{font-size:11px;color:var(--muted);margin-top:3px}.cw-review-actions>div{margin-right:auto}.cw-review-actions button{white-space:nowrap;font-size:12px}.cw-archive-result{display:flex;align-items:center;gap:12px;padding:14px;border-radius:11px;background:#ecf9f1;border:1px solid #b7dfc6;margin-bottom:15px}.cw-archive-result>i{display:grid;place-items:center;width:35px;height:35px;background:#20945b;color:#fff;border-radius:50%;font-style:normal}.cw-archive-result span{display:flex;flex-direction:column}.cw-archive-result small{color:#4c7460;margin-top:3px}
.cw-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cw-overview>section,.cw-timeline{border:1px solid #e0e8ee;border-radius:11px;padding:13px}.cw-overview section>header,.cw-timeline>header{display:flex;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #e8eef2}.cw-overview header b,.cw-timeline header b{font-size:13px}.cw-overview header span,.cw-timeline header span{font-size:10px;color:var(--cw);background:#edf8f7;padding:3px 7px;border-radius:20px}.cw-overview dl{margin:8px 0 0}.cw-overview dl>div{display:grid;grid-template-columns:90px 1fr;gap:7px;padding:6px 0;border-bottom:1px dashed #edf1f4;font-size:11px}.cw-overview dt{color:var(--muted)}.cw-overview dd{margin:0;font-weight:600}.cw-overview dd i,.cw-risk i{display:inline-block;font-style:normal;font-size:10px;color:#8a5a08;background:#fff5d6;border-radius:20px;padding:2px 6px;margin:0 4px 3px 0}.cw-placeholder{display:grid;place-items:center;min-height:90px;color:#8b99a6;font-size:11px}.cw-risk{display:flex;align-items:center;gap:13px;padding-top:13px}.cw-risk>strong{font-size:30px;color:#d97706}.cw-risk>strong small{font-size:10px;color:var(--muted)}.cw-risk p{font-size:11px;margin:5px 0 0;color:var(--muted)}
.cw-requests{padding-top:8px}.cw-requests article{padding:8px 0;border-bottom:1px dashed #e5ecef}.cw-requests article>div{display:flex;align-items:center;gap:8px}.cw-requests article>div>i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eaf7f5;color:var(--cw);font-style:normal;font-weight:800}.cw-requests article span{display:flex;flex-direction:column;min-width:0}.cw-requests article span b{font-size:11px}.cw-requests article span small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw-requests article em{margin-left:auto;font-size:9px;font-style:normal;border-radius:20px;padding:3px 7px}.cw-requests article em.done{color:#15805a;background:#e8f8f0}.cw-requests article em.waiting{color:#a0620a;background:#fff4d6}.cw-requests article p{margin:7px 0 0 35px;padding:7px;background:#f7fafb;border-radius:7px;font-size:10px;color:#536575;line-height:1.5}.cw-privacy{font-size:9px;color:#657784;margin:9px 0 0}.cw-timeline{margin-top:12px}.cw-timeline>div{padding-top:6px;max-height:260px;overflow:auto}.cw-timeline article{display:grid;grid-template-columns:12px 130px 1fr;gap:8px;align-items:start;padding:8px 0}.cw-timeline article>i{width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:var(--cw2);box-shadow:0 0 0 2px #bce1dc;margin-top:4px}.cw-timeline time{font-size:10px;color:var(--muted)}.cw-timeline article span{display:flex;flex-direction:column}.cw-timeline article b{font-size:11px}.cw-timeline article small{font-size:10px;color:var(--muted);margin-top:2px}
@media(max-width:1100px){.cw-layout{grid-template-columns:240px minmax(0,1fr)}.cw-overview{grid-template-columns:1fr}.cw-flow{grid-template-columns:repeat(9,110px)}}
@media(max-width:760px){.case-workflow-root{padding:5px}.cw-heading{align-items:stretch;flex-direction:column}.cw-heading h1{font-size:21px}.cw-heading>div:last-child button:first-child{display:none}.cw-heading button.primary{flex:1}.cw-layout{display:block}.cw-layout>aside{position:static;max-height:250px;margin-bottom:12px}.cw-detail{padding:11px}.cw-integrations{padding:10px}.cw-integrations>em{display:none}.cw-flow{grid-template-columns:repeat(9,105px)}.cw-overview{grid-template-columns:1fr}.cw-next,.cw-review-actions{align-items:stretch;flex-direction:column}.cw-next button,.cw-review-actions button{width:100%}.cw-detail-head>div:last-child{display:none}.cw-timeline article{grid-template-columns:12px 105px 1fr}}
