/* Shared components. Participants v4 is the typography and spacing reference.
   Loaded after legacy styles in the parent page and both embedded documents. */

:root{
  --bg:#f5f6fa;--card:#fff;--line:#e5e7ef;--line2:#eef0f5;--ink:#1b1f2a;--text:#1b1f2a;--primary:var(--p);--primary2:#4d40cb;--primarySoft:var(--ps);--green:var(--ok);--amber:var(--warn);--muted:#6b7280;--faint:#98a2b3;
  --p:#5b4de0;--ps:#efedff;--pl:#d9d4ff;--ok:#0f8a5f;--oks:#eaf7f1;--warn:#a55d08;--warns:#fff8ec;
  --blue:#1d6fb8;--blues:#edf7ff;--green:#3e9b3e;--greens:#f0faef;--orange:#b76a0a;--oranges:#fff7eb;
  --red:#bd3b39;--reds:#fff2f1;--dark:#12141f;--shadow:0 20px 70px rgba(23,25,55,.15);
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif;font-size:14px;line-height:1.45}
body.locked{overflow:hidden}button,input,select,textarea{font-family:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{color:var(--ink)}[hidden]{display:none!important}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #c9c2ff;outline-offset:2px}
.icon{display:inline-block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}.btn>.icon{width:17px;height:17px}.num{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 13px;border:1px solid #d9dce6;border-radius:10px;background:#fff;color:var(--ink);font-size:13px;font-weight:600;white-space:nowrap;transition:.15s ease}
.btn:hover:not(:disabled){background:#f8f8fc;border-color:#b9bbd0}.btn.primary{background:var(--p);border-color:var(--p);color:#fff}.btn.primary:hover:not(:disabled){background:#4d40cb;border-color:#4d40cb}.btn.quiet{background:transparent;border-color:transparent;color:var(--muted)}.btn.quiet:hover:not(:disabled){background:#eeeff6;color:var(--ink)}.btn.danger{background:var(--red);border-color:var(--red);color:#fff}.btn.danger:hover:not(:disabled){background:#a73030}.btn.small{min-height:32px;padding:6px 10px;font-size:12px}.btn.link{border:0;background:transparent;color:var(--p);padding:0;min-height:auto}.btn.link:hover:not(:disabled){text-decoration:underline;background:transparent}
.icon-btn{width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;background:#fff;color:#707788;transition:.15s ease}.icon-btn:hover:not(:disabled){color:var(--p);border-color:var(--pl);background:#f8f7ff}.icon-btn.plain{background:transparent;border-color:transparent}.icon-btn.del{color:var(--red);border-color:#f0d2d0;background:#fff}.icon-btn.del:hover:not(:disabled){background:var(--reds);border-color:#e3aaa6;color:#a52020}
.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:18px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;align-items:center;padding:4px 6px 18px}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--p);color:#fff;font-weight:800;display:grid;place-items:center}.brand b{display:block;color:var(--p);font-size:14px}.brand small{color:var(--muted);font-size:12px}.nav-section{font-size:10px;color:var(--faint);text-transform:uppercase;font-weight:700;padding:14px 10px 7px;letter-spacing:.08em}.nav-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;color:#667085;border-radius:10px;padding:10px 11px;margin:2px 0;text-align:left;font-weight:600;min-height:41px}.nav-item.dim{color:#a6acb8}.nav-item.on{background:var(--ps);color:var(--p);position:relative}.nav-item.on:before{content:"";position:absolute;left:0;width:3px;height:22px;border-radius:0 4px 4px 0;background:var(--p)}.nav-item:hover:not(.on){background:#f7f7fb;color:#667085}.sidebar-foot{margin-top:auto;color:#9aa1af;font-size:11px;padding:16px 8px}
.main{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 44px 10px;gap:16px;min-height:76px}.crumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:#3d4457;min-width:0}.crumbs .sys{font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em}.crumbs i{color:var(--faint);font-style:normal}.crumbs button{padding:0;border:0;background:transparent;color:#3d4457}.crumbs button:hover{color:var(--p)}.user{display:flex;align-items:center;gap:11px}.avatar{width:42px;height:42px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe3c8,#c98f6a 60%,#6b4a3a);display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px var(--line)}.user b{display:block;font-size:13px}.user small{display:block;color:var(--muted);font-size:11px}.content{padding:0 44px 72px;container-type:inline-size;container-name:content}
.chead{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:22px;overflow:hidden;box-shadow:0 1px 2px rgba(20,24,40,.02)}.chead-top{display:grid;grid-template-columns:minmax(224px,1.24fr) minmax(284px,1.64fr) minmax(165px,.9fr) minmax(132px,.77fr) minmax(122px,.7fr);padding:13px 10px;min-height:89px;align-items:stretch}.head-cell{position:relative;min-width:0;min-height:60px;padding:3px 18px;display:flex;align-items:center;justify-content:center}.head-cell:not(:first-child)::before{content:"";position:absolute;left:0;top:50%;width:1px;height:46px;background:#d9dce6;transform:translateY(-50%)}.cid{justify-content:flex-start;flex-direction:column;align-items:flex-start}.cid small{display:block;max-width:100%;font-size:10px;letter-spacing:.075em;text-transform:uppercase;color:#738095;font-weight:700;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cid-line{display:flex;align-items:center;gap:10px}.cid strong{font-size:24px;font-weight:800;letter-spacing:-.035em}.container-status{display:inline-flex;align-items:center;gap:7px;border:1px solid #cfe7dd;border-radius:999px;padding:4px 9px;color:var(--ok);font-size:11px;font-weight:700;background:#fff}.container-status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.route{display:flex;align-items:center;justify-content:center;min-width:0}.pt{display:grid;gap:3px;min-width:0;flex:1}.pt>span,.meta-cell>span{font-size:9px;letter-spacing:.075em;text-transform:uppercase;color:#738095;font-weight:700}.pt b{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pt.r{text-align:right}.rline{display:flex;align-items:center;margin:0 15px;flex:0 1 87px;min-width:35px}.rline i{width:7px;height:7px;border-radius:50%;background:var(--p);box-shadow:0 0 0 4px var(--ps);flex:none}.rline em{display:block;width:100%;height:1.5px;background:linear-gradient(90deg,var(--p),var(--pl));position:relative}.rline em:after{content:"";position:absolute;right:-1px;top:-3.25px;border:4px solid transparent;border-left:6px solid var(--pl)}.meta-cell{flex-direction:column;gap:3px;text-align:center}.meta-cell b{font-size:12px;font-weight:700;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tabs{display:flex;gap:2px;padding:0 12px;border-top:1px solid var(--line2);background:#fbfbfd;overflow:auto}.tabs button{padding:12px 13px;font-weight:600;color:#667085;font-size:12.5px;border:0;border-bottom:2px solid transparent;background:transparent;display:inline-flex;gap:6px;align-items:center;white-space:nowrap}.tabs button:hover{color:var(--p)}.tabs button.on{color:var(--p);border-bottom-color:var(--p);font-weight:700}.tabs em{font-style:normal;background:#eceef4;color:#3d4457;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:700}.tabs .on em{background:var(--ps);color:var(--p)}
.page-head,.content>.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 16px;min-height:60px}.page-head h1,.content>.page-title h1{font-size:25px;font-weight:800;letter-spacing:-.025em;line-height:1.45;margin:0}.page-head p,.content>.page-title p{margin:5px 0 0;color:var(--muted);font-size:12.5px;line-height:1.45}.card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:none}

/* The same shell is rendered in every section; reset old shell-only properties. */
.topbar{height:auto;position:static;border:0;background:transparent;backdrop-filter:none;z-index:auto}
.topbar *,.chead *{line-height:1.45}
.user,.avatar{flex:none}.crumbs{white-space:nowrap}
.content{max-width:none;margin:0}.brand{letter-spacing:normal}.brand small{display:block;margin:0}.brand b{letter-spacing:normal}
.sidebar .brand>div:last-child{display:block}.sidebar .nav-section{display:block}.sidebar .nav-item{font-size:14px;justify-content:flex-start}.sidebar .nav-item>span{font-size:inherit;display:inline}
.nav-item:disabled{color:#a6acb8;opacity:.45;cursor:default}.nav-item:disabled:hover{background:transparent}.sidebar .nav-item .icon{width:17px;height:17px;display:inline-block}
.crumbs>b{font-size:20px;font-weight:700;letter-spacing:normal}.crumbs>span{font-size:13px}.crumbs button{font:inherit}
.chead{margin:0 0 22px}.chead-top{gap:0}.chead-top .cid{grid-column:auto;min-height:60px}.cid-line{flex-wrap:wrap}.cid-line>button{font:inherit;background:none;border:0;padding:0;color:var(--ink);letter-spacing:inherit}
.chead-top .route{max-width:none;margin:0;grid-column:auto;gap:0;border:0}.chead-top .pt{flex:1;max-width:none}.chead-top .pt.r{text-align:right}.chead-top .company-name{max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chead-top .container-status{font-size:10px;padding:5px 8px;gap:6px;border-color:#c5e9db;letter-spacing:normal;line-height:1.45}.container-status:before{width:6px;height:6px}.container-status.archived{color:var(--muted);border-color:var(--line)}.container-status.cancelled{color:var(--red);border-color:#f1c3c1}.container-status.draft{color:var(--warn);border-color:#efd7b5}
.chead-top .head-cell:not(:first-child)::before{display:block}.chead-top .rline{flex:0 1 87px;min-width:35px;margin:0 15px}.tabs{flex-wrap:nowrap}.tabs button{min-height:0;border-radius:0;margin:0;line-height:1.45}.tabs .n,.tabs em{display:inline-block;min-width:0;height:auto;margin:0;background:#eceef4;color:#3d4457;border-radius:999px;padding:1px 6px;font-style:normal;font-size:10px;font-weight:700;line-height:1.45}.tabs .on .n,.tabs .on em{background:var(--ps);color:var(--p)}
.page-head>.page-title{display:flex;gap:10px;align-items:center;margin:0;min-height:0}.page-head .actions,.content>.page-title .actions{margin-top:0}
.btn{line-height:1.45;box-shadow:none;text-decoration:none}.btn:hover{transform:none;box-shadow:none}.btn.sm,.btn.small{min-height:32px;padding:6px 10px;font-size:12px;font-weight:600}.btn.soft{color:var(--p);background:var(--ps);border-color:var(--pl)}
.input,.select,.textarea,.inp,.sel{font-family:inherit;font-size:12.5px;line-height:1.45;border:1px solid #d9dce6;border-radius:10px;min-height:38px;padding:8px 11px;color:var(--ink)}.textarea{min-height:80px}.field label{font-size:11px;font-weight:600;color:var(--muted)}
.search-wrap .inp{padding-left:36px;padding-right:34px}.cu-value-deviation{color:var(--red)}
.table th{font-size:9.5px;font-weight:600;letter-spacing:.04em;background:#fafbfe;padding:11px 17px;color:#818a9b}.table td{padding:15px 17px;font-size:12.5px;line-height:1.45;border-color:var(--line2)}.table td .sub{font-size:10.5px}.table b,.table strong,.strong{font-weight:700}
.table td:first-child{font-weight:600}.table td .sub{font-weight:400}.cu-disclosure{font-size:12.5px;font-weight:700}.cu-source-link{font-size:12.5px;font-weight:700}
.section-title h2,.section-title h3,.cu-accordion h2,.cu-section h2{font-size:14px;font-weight:700;line-height:1.45;margin:0}.section-title p{font-size:11.5px;line-height:1.45;margin:3px 0 0;color:var(--muted)}
.card-pad{padding:17px}.toolbar{padding:12px 14px;gap:8px}.cu-section,.reg-section{margin:0 0 12px}.cu-section>.section-title,.reg-section>.section-title{padding:15px 17px 13px}.cu-accordion{margin:12px 0}.cu-accordion>summary{padding:15px 17px 13px}.cu-summary-route{padding:15px 17px}.cu-settlements{padding:15px 17px;gap:12px}.cu-settlement-group{padding:13px 15px}
.kit{padding:15px 17px;margin-bottom:12px}.kit-head h2{font-size:14px;font-weight:700}.file-name,.req-title{font-size:12.5px}.history-list{gap:12px}.history-body{border-radius:14px;padding:15px 17px}.history-body header b{font-size:12.5px;font-weight:700}.history-body .sub,.history-body header>.small{font-size:10.5px}.history-body p{font-size:12.5px;margin-top:7px}.cu-status.done,.cu-doc-count b{color:var(--ok)}.cu-doc-count.pending b{color:var(--warn)}
.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:16px}.kpi{padding:15px 17px;min-height:82px;border-radius:14px}.kpi span{font-size:11.5px;margin-bottom:6px}.kpi b{font-size:17px;line-height:1.45;font-weight:700;letter-spacing:normal}.cu-source b,.cu-source strong{font-size:12.5px;font-weight:700}.cu-source small{font-size:10.5px}.cu-chip{font-size:10.5px;border-radius:7px;padding:2px 6px}
.modal,.modal-shell{border-radius:18px}.modal-head,.submodal-head{padding:18px 20px 15px}.modal-head h2,.submodal-head h2{font-size:17px;font-weight:700;letter-spacing:-.02em;line-height:1.45}.modal-body,.submodal-body{padding:17px 20px}.modal-foot{padding:13px 16px;gap:8px;background:#fcfcfe}.step-section{padding:15px 17px}.step-section h3{font-size:14px;font-weight:700;line-height:1.45}.modal [disabled]{cursor:default}

/* Compact route: identity, direction and comparable amounts, then costs and actions. */
.cu-route-list{display:grid;gap:12px;max-width:none;margin:0}
.cu-route-card{margin:0;border-left:1px solid var(--line);border-radius:14px;overflow:hidden}.cu-route-card.done{border-left-color:var(--line)}.cu-route-card.in_progress{border-color:#c7bff4;box-shadow:0 0 0 1px #eae6ff}
.cu-route-card>header{padding:12px 17px 0;border:0;gap:10px;display:flex;align-items:center;flex-wrap:nowrap}
.cu-type-icon{width:32px;height:32px;font-size:19px;border-radius:9px}.cu-step-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;flex:1}.cu-step-title>div{font-size:10.5px;gap:7px}.cu-step-title h2{font-size:12.5px;font-weight:700;margin:0;line-height:1.45}.cu-step-kind{color:var(--muted);font-size:10.5px}.cu-status{font-size:10.5px;font-weight:600}
.cu-route-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:24px;padding:10px 17px 12px 59px}
.cu-route-parties{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:10px}.cu-route-parties>div{display:grid;gap:2px;min-width:0}.cu-route-parties b{font-size:12.5px;font-weight:700;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cu-route-parties small{font-size:10.5px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cu-route-parties .cu-party-label{font-size:9.5px;color:#8b93a5}.cu-flow-arrow{font-size:20px}
.cu-route-amounts{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-left:1px solid var(--line2);padding-left:24px;align-content:center}.cu-amount-cell{display:grid;align-content:start;gap:2px;min-width:0}.cu-amount-cell>small{font-size:9.5px;color:#8b93a5}.cu-amount-cell strong{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.cu-amount-cell .cu-converted{font-size:12px;color:var(--p);font-weight:600}.cu-amount-cell .cu-no-fact{font-size:12px;font-weight:400;color:var(--muted)}.cu-amount-cell .cu-value-deviation{color:var(--red)}
.cu-route-card>footer{padding:9px 17px;gap:12px;display:flex;flex-direction:row;align-items:center;border-top:1px solid var(--line2);background:#fcfcfe}.cu-route-facts{display:flex;gap:14px;align-items:center;flex:1;flex-wrap:wrap;min-width:0}.cu-costs{display:flex;gap:14px;padding:0;background:none;border:0}.cu-costs>div{display:flex;align-items:baseline;gap:5px;border:0;padding:0;margin:0;flex-wrap:wrap}.cu-costs span,.cu-costs small{font-size:10.5px}.cu-costs b{font-size:11.5px;font-weight:600}.cu-costs small{color:var(--muted)}.cu-doc-count{font-size:10.5px;background:none;border:0;padding:0;display:inline-flex;gap:5px;align-items:center;cursor:pointer}.cu-doc-count .icon{width:14px;height:14px}.cu-doc-count b{margin:0}.cu-doc-count:hover{color:var(--p)}.cu-route-card>footer .btn{min-height:30px;padding:5px 10px;font-size:11.5px}.cu-route-card>footer .actions{flex:none;gap:7px}.cu-route-card>footer .btn:first-child:not(.primary){background:transparent}
.cu-route-empty{padding:35px 20px;text-align:center;color:var(--muted)}

@container content (max-width:980px){
 .chead-top{grid-template-columns:minmax(230px,1fr) 1fr 1fr;row-gap:8px}.chead-top .cid{grid-column:1}.chead-top .route{grid-column:2/-1}.chead-top .head-cell:nth-child(3)::before{display:none}
 .cu-route-main{grid-template-columns:minmax(0,1fr) minmax(285px,.85fr);gap:16px;padding-left:17px}.cu-route-amounts{padding-left:16px;gap:12px}.cu-step-title{gap:6px}.cu-step-title h2{flex-basis:100%}.cu-route-card>header{padding-top:12px}.cu-route-facts{gap:8px}.cu-costs{gap:8px}.cu-route-card>footer{flex-wrap:wrap}
}
@container content (max-width:620px){
 .chead-top{grid-template-columns:1fr 1fr 1fr;padding:12px 8px;row-gap:8px}.chead-top .cid{grid-column:1/-1;padding:2px 12px}.chead-top .route{grid-column:1/-1;justify-content:flex-start;padding:12px;border-bottom:1px solid var(--line2)}.chead-top .route::before{display:none!important}.chead-top .meta-cell{align-items:flex-start;text-align:left;padding:7px;min-height:60px}.chead-top .meta-cell b{font-size:10px;white-space:normal}.chead-top .meta-cell>span{font-size:9px;letter-spacing:.075em}.chead-top .head-cell:not(:first-child)::before{height:30px}.tabs{padding:0 5px}
 .page-head,.content>.page-title{align-items:flex-start;flex-wrap:wrap;min-height:60px}.page-head>.btn{width:100%}.page-head .actions,.content>.page-title .actions{justify-content:flex-start;flex-wrap:wrap;margin-left:0}.page-head .btn{font-size:13px;padding:9px 13px;min-height:38px}.page-head h1,.content>.page-title h1{font-size:25px}.kpi-grid{grid-template-columns:1fr 1fr}
 .cu-route-main{grid-template-columns:1fr;gap:10px;padding:10px 13px 12px}.cu-route-card>header{padding:12px 13px 0;align-items:flex-start}.cu-step-title{min-width:0}.cu-step-kind{display:none}.cu-route-amounts{padding:10px 0 0;border-left:0;border-top:1px solid var(--line2);gap:10px}.cu-route-card>footer{padding:9px 13px;align-items:center}.cu-route-card>footer .actions{margin-left:auto}.cu-route-facts{flex-basis:100%}.cu-amount-cell strong{font-size:12px}.cu-costs{flex-wrap:wrap}.cu-accordion>summary{padding:15px 17px 13px}
}
@media(max-width:760px){
 .shell{display:grid;grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.topbar{padding:12px 18px 10px;min-height:66px;gap:10px}.content{padding:0 18px 54px}.user>div:not(.avatar){display:none}.avatar{width:34px;height:34px;font-size:11px}.crumbs{gap:8px;font-size:11px}.crumbs>span,.crumbs button{font-size:11px}.crumbs>b{font-size:19px}.modal-body,.submodal-body{padding:17px 18px}.modal-head,.submodal-head{padding:18px 18px 15px}.modal-foot{padding:13px 16px}.page-head>.page-title{margin:0}.chead-top .company-name{max-width:100%}
}
@media(min-width:761px) and (max-width:1100px){.user>div:not(.avatar){display:none}}

/* Reading width, shared scrolling and disclosure affordances. */
.content,.topbar{width:100%;max-width:none;margin-inline:0}
.cu-route-list{width:100%;max-width:1180px;margin-inline:auto}
*{scrollbar-width:thin;scrollbar-color:#c5c0d5 transparent}
@supports selector(::-webkit-scrollbar){
 *{scrollbar-width:auto;scrollbar-color:auto}
 *::-webkit-scrollbar{width:7px;height:7px}
 *::-webkit-scrollbar-track{background:transparent}
 *::-webkit-scrollbar-thumb{background:#c5c0d5;border:1px solid transparent;border-radius:8px;background-clip:padding-box}
 *::-webkit-scrollbar-thumb:hover{background:#a89fbe}
 *::-webkit-scrollbar-button{display:none;width:0;height:0}
 *::-webkit-scrollbar-corner{background:transparent}
}
.cu-accordion>summary{gap:12px;align-items:center}.cu-accordion>summary>div{min-width:0}.cu-accordion>summary p{margin:3px 0 0;font-size:11.5px;color:var(--muted)}
.cu-chevron{display:block;flex:0 0 16px;align-self:center;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--p);vertical-align:middle;transform-origin:50% 50%}
.cu-accordion[open]>summary .cu-chevron{transform:rotate(0)}
.cu-disclosure[aria-expanded="false"] .cu-chevron,.cu-settlement-line[aria-expanded="false"] .cu-chevron{transform:rotate(-90deg)}
.cu-toggle-icon{display:grid!important;place-items:center;width:20px;height:20px;flex:0 0 20px;line-height:1;border-radius:6px;background:var(--ps)}
.cu-disclosure{align-items:center;gap:10px;line-height:1.45;min-height:20px}.cu-disclosure>span.cu-toggle-icon{padding:0}
.cu-metric{cursor:pointer}.cu-metric:hover{background:#f9f8ff}.cu-metric:focus-within{background:#f7f5ff}
.acc-head{display:flex;align-items:center}.acc-head>.icon{display:block;flex:none;align-self:center;margin:0;vertical-align:middle;transform-origin:50% 50%}
.direction-node[data-cu-participant]{font:inherit;text-align:left;cursor:pointer}.direction-node[data-cu-participant]:hover{background:#faf9ff;border-color:var(--pl)}
.cu-step-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cu-step-title h2{display:flex;align-items:center;gap:7px;flex-basis:auto;font-size:13px;margin:0;line-height:1.45}.cu-step-title h2>span:first-child{font-size:11px;color:var(--muted);font-weight:500}.cu-title-dot{color:var(--faint);font-weight:400}
.cu-route-main{padding-left:17px;grid-template-columns:minmax(0,1fr) minmax(340px,.85fr);gap:18px}.cu-route-amounts{padding-left:18px;gap:16px}
.cu-route-parties{gap:10px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}
.cu-detail>td{padding:12px!important;background:#faf9ff}.cu-comparison{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:auto;max-width:100%;text-align:left}
.cu-detail-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed;font-size:12px}
.cu-detail-table th,.cu-detail-table td,.table .cu-detail-table td{padding:12px 14px;font-size:12px;line-height:1.5;border-bottom:1px solid var(--line2);vertical-align:top;font-weight:400}
.cu-detail-table th{font-size:9.5px;letter-spacing:.04em;text-transform:uppercase;font-weight:600;color:#818a9b;background:#fafbfe}
.cu-detail-table th:nth-child(1){width:24%}.cu-detail-table th:nth-child(2){width:28%}.cu-detail-table th:nth-child(n+3){width:16%}
.cu-detail-table :is(th,td):nth-child(-n+2){text-align:left}.cu-detail-table :is(th,td):nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
.cu-detail-table td{overflow-wrap:anywhere}.cu-detail-table b{font-size:12px;font-weight:600;display:block}.cu-detail-table small{display:block;color:var(--muted);font-size:10.5px;line-height:1.5;margin-top:3px}.cu-detail-table td>small:first-child{margin:0 0 4px}.cu-detail-table tr:last-child td{border-bottom:0}
.cu-detail-table .cu-source-link{display:inline;text-align:left;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;min-height:0!important;font-size:12px;font-weight:700;color:var(--ink);line-height:1.5;white-space:normal}
.cu-detail-table .cu-source-link:hover{color:var(--p);text-decoration:underline;text-underline-offset:3px}
.cu-source-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px;color:var(--muted);font-size:10.5px}.cu-context-to{display:block;margin-top:3px}.cu-absent{color:var(--muted);font-size:11px;font-weight:400}
.cu-detail-table tfoot td{font-weight:700!important;background:#fafbfe;border-top:1px solid var(--line)}.cu-detail-table tfoot td:nth-child(2){text-align:right}
.cu-settlement-item>.cu-comparison{margin-top:8px}
.cu-embedded>.card{border:0;border-radius:0;margin:0}.cu-embedded>.card>.section-title{display:none}
.ds-participant-overlay{position:fixed;inset:0;width:100%;height:100dvh;border:0;background:transparent;z-index:12000}
html.ds-person-document,html.ds-person-document body{background:transparent;height:100%;overflow:hidden}
.ds-person-document .shell,.ds-person-document .demo-launcher{display:none}
@container content (max-width:980px){.cu-step-title h2{flex-basis:auto}.cu-route-main{grid-template-columns:minmax(0,1fr) minmax(285px,.85fr);gap:14px}.cu-route-amounts{padding-left:14px;gap:12px}}
@container content (max-width:620px){.cu-route-main{grid-template-columns:1fr;padding:10px 13px 12px;gap:10px}.cu-route-amounts{padding:10px 0 0;border-left:0}.cu-step-title h2{flex-wrap:wrap;gap:5px}.cu-detail>td{padding:8px!important}.cu-detail-table{min-width:740px}.cu-detail-table th,.cu-detail-table td{padding:10px 12px}}

/* Values must stay within their own column even for very large balances. */
.cu-amount-cell strong,.kpi b,.cu-costs b,.cu-settlement-line strong{white-space:normal;overflow-wrap:anywhere;min-width:0}
.cu-costs,.cu-costs>div{min-width:0;max-width:100%}
.cu-sync-plan{position:relative;display:flex;align-items:flex-start;gap:10px;min-height:38px;font-size:12px;line-height:1.5;padding:10px 0;margin:0}
.cu-sync-plan>input[type="checkbox"]{position:static;appearance:auto;width:16px;height:16px;flex:0 0 16px;margin:1px 0 0;opacity:1;accent-color:var(--p)}

@media(max-width:620px){
 .cd-step .table{min-width:0;width:100%;table-layout:fixed}.cd-step thead{display:none}.cd-step tbody,.cd-step tr,.cd-step td{display:block;width:100%}.cd-step tr{padding:8px 0;border-bottom:1px solid var(--line2)}.cd-step td{padding:8px 0;border:0;text-align:left}.cd-step td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:500;color:var(--muted);margin-bottom:4px}.cd-step .empty{text-align:center;white-space:normal}.cd-step .cu-preview-title{flex-wrap:wrap}
}

/* A wide comparison table must scroll inside its own section, not widen the form. */
.step-modal-body{grid-template-columns:minmax(0,1fr)}
.step-modal-body>.step-section{min-width:0;max-width:100%}
.step-modal-body .table-wrap{min-width:0;max-width:100%}

/* One stable list layout for all status filters, including an empty result. */
.crumbs{align-items:baseline;line-height:1.4}.crumbs>b,.crumbs>button,.crumbs>i{margin:0;line-height:inherit}.crumbs>button{display:inline-block;min-height:0;vertical-align:baseline}
.containers-toolbar .manager-select{font-weight:400}
.containers-table{table-layout:fixed;min-width:1340px;width:100%}
.containers-table th,.containers-table td{padding-left:14px;padding-right:14px}
.containers-table td{font-family:inherit;font-size:12.5px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.containers-table td.step-code{font-weight:600}.containers-table .money{overflow-wrap:normal}
.containers-table .badge{font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;max-width:100%;white-space:normal}
.containers-table .container-recipient{display:block;font-size:inherit;line-height:inherit;color:var(--ink)}
.containers-table .container-recipient+.container-recipient{margin-top:3px}.containers-table .endpoint-label{color:var(--muted);font-weight:400}
.containers-table .empty{font-size:12.5px;font-weight:400;padding-top:24px;padding-bottom:24px}
