/* Shared cabinet tokens, with a compact route and separate viewing/editing surfaces. */
.sx-route-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.sx-route-filters .btn{gap:8px;background:white;font-size:12px}.sx-route-filters .btn span{font-size:10px;color:var(--muted)}.sx-route-filters .selected{background:var(--ps);border-color:#bcb0ff;color:var(--primary)}
.sx-route-list.cu-route-list{width:min(100%,660px);max-width:660px;margin:0 auto;display:flex;flex-direction:column;gap:38px;padding-bottom:24px}
.sx-route-card{--step-color:#6250ed;--step-tint:#f0edff;position:relative;border:1px solid var(--line);border-top:3px solid var(--step-color);border-radius:14px;background:#fff;cursor:pointer;overflow:visible;transition:border-color .15s,box-shadow .15s;min-width:0}
.sx-route-card.income,.sx-tags.income{--step-color:#d78a37;--step-tint:#fff6ec}.sx-route-card.transfer,.sx-tags.transfer{--step-color:#4a89dc;--step-tint:#eef6ff}.sx-route-card.conversion,.sx-tags.conversion{--step-color:#7d5de7;--step-tint:#f3eeff}.sx-route-card.execution,.sx-tags.execution{--step-color:#379a70;--step-tint:#edf9f2}
.sx-route-card:hover{border-color:var(--step-color);box-shadow:0 5px 18px #28204f09}.sx-route-card:focus-visible{outline:3px solid #c7bbff;outline-offset:3px}.sx-route-card:not(:last-child):after{content:'↓';position:absolute;top:calc(100% + 1px);left:50%;transform:translateX(-50%);height:38px;line-height:34px;font-size:22px;color:#b4b3c4}
.sx-route-card>header{display:flex;align-items:center;gap:12px;padding:13px 18px;border:0}.sx-code,.sx-date{font-size:11px;color:var(--muted)}.sx-date{flex:1}.sx-status{font-size:10px;font-weight:600;border:1px solid var(--line);border-radius:20px;padding:4px 9px;white-space:nowrap}.sx-status.done{background:#ecfaf3;border-color:#c5ebd9;color:#1a9567}.sx-status.in_progress{color:var(--primary);background:var(--ps);border-color:#d5ceff}.sx-status.waiting{color:var(--muted);background:#f8f9fc}
.sx-card-content{padding:3px 20px 0}.sx-card-content h2{font-size:18px;line-height:1.3;margin:0 0 10px}.sx-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.sx-tag{display:inline-flex;align-items:center;gap:5px;background:var(--step-tint,#f2efff);border:1px solid color-mix(in srgb,var(--step-color,#6250ed) 22%,white);color:var(--step-color,#6250ed);padding:4px 8px;border-radius:6px;font-size:10.5px;font-weight:600}.sx-tag:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
.sx-card-data{margin:16px 0 12px}.sx-data-row{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:5px 0;font-size:12px;line-height:1.5}.sx-data-row>span{color:var(--muted);flex:0 1 auto}.sx-data-row>b{font-weight:600;text-align:right;overflow-wrap:anywhere;min-width:0}.sx-card-total{border-top:1px solid var(--line2);padding:13px 0 8px;display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:12px}.sx-card-total>span{color:var(--muted)}.sx-card-total strong{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.sx-route-card>footer{display:flex;align-items:center;gap:12px;padding:10px 20px 14px;background:transparent;border:0;color:var(--muted);font-size:11px}.sx-route-card>footer>.btn{margin-left:auto;height:29px;min-height:29px}.sx-party-dots{display:flex;align-items:center;gap:5px}.sx-party-dots i{font-style:normal;font-size:10px;background:#eeebff;color:var(--primary);width:21px;height:21px;display:grid;place-items:center;border-radius:50%;font-weight:700}
.sx-modal.modal{max-width:1050px;width:calc(100vw - 48px);height:auto;max-height:calc(100dvh - 40px);border-radius:18px}.sx-modal .modal-head{padding:15px 22px;min-height:62px;flex:none}.sx-modal .modal-head>h2{font-size:12px;color:var(--muted);font-weight:600}.sx-modal .modal-foot{padding:13px 22px;flex:none}.sx-preview.modal-body{padding:0;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);overflow:auto}.sx-preview>main{min-width:0;padding:24px}.sx-preview>aside{min-width:0;padding:24px;background:#fbfbfe;border-left:1px solid var(--line2)}
.sx-preview-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.sx-preview-title>h1{font-size:23px;line-height:1.25;letter-spacing:-.025em;margin:0}.sx-preview-title>.btn{font-size:11px;min-height:32px;padding:7px 11px}.sx-properties>.sx-data-row{align-items:center;padding:8px 0}.sx-properties>.sx-data-row>span{flex:0 0 96px;font-size:12px}.sx-properties>.sx-data-row>b{flex:1;text-align:left;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sx-participant-name{color:var(--text)}.sx-direction-arrow{color:#b2a7f9}.sx-status-select{width:auto;min-width:128px!important;min-height:30px!important;height:30px!important;padding:4px 28px 4px 10px!important;font-size:11px!important;border-radius:8px!important}.sx-status-select.done{color:#178c62;background:#effaf5}.sx-status-select.in_progress{color:var(--primary);background:var(--ps)}.sx-editor-status{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:14px;font-size:12px;font-weight:600;padding:0 2px}
.sx-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.sx-section-heading h3,.sx-description h3{font-size:12px;font-weight:600;color:var(--muted);margin:0}.sx-section-heading h3>span,.sx-section-heading h3>small{font-size:10px;font-weight:400;margin-left:5px}.sx-section-heading>div{display:flex;gap:6px}.btn.sx-text-button{padding:2px 0;min-height:25px;height:auto;border:0;background:transparent;color:var(--primary);font-size:11px;box-shadow:none}.sx-documents{margin:24px 0}.sx-file-list{display:flex;flex-wrap:wrap;gap:8px}.sx-file{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;min-width:0;max-width:100%;background:white;text-align:left;min-height:50px;height:auto;white-space:normal}.sx-file>span:last-child{min-width:0}.sx-file b{display:block;font-size:11px;word-break:break-word;font-weight:500;line-height:1.4}.sx-file small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.sx-file-icon{flex:0 0 28px;height:32px;font-size:8px;font-weight:700;display:grid;place-items:center;color:var(--primary);background:var(--ps);border-radius:6px}.sx-expected{border-style:dashed;background:#fbfbfe}.sx-muted{font-size:12px;color:var(--muted)}.sx-description>div{margin-top:10px;min-height:98px;padding:12px;border:1px solid var(--line);border-radius:9px;line-height:1.6;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fcfcfe}
.sx-aside-section+.sx-aside-section{margin-top:19px}.sx-account-card{padding:12px 14px;background:white;border:1px solid var(--line);border-radius:11px}.sx-account-card .sx-data-row{font-size:11px;gap:12px}.sx-account-card .sx-data-row+ .sx-data-row{border-top:1px solid #f2f2f8}.sx-account-card .sx-data-row>b{max-width:68%}.sx-account-card details{margin-top:7px}.sx-account-card summary{font-size:11px;color:var(--muted);cursor:pointer;padding:6px 0}.sx-account-card .sx-card-total{padding-bottom:0}.sx-account-card .sx-card-total strong{font-size:13px}.sx-preview .cd-step{margin-top:20px}.sx-preview .cd-step .table{min-width:360px}.sx-preview .cd-add-type{flex-wrap:wrap}
.sx-wizard.modal{max-width:740px}.sx-wizard-progress{padding:13px 26px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line2);font-size:11px;color:var(--muted);flex:none}.sx-wizard-progress progress{width:90px;height:5px;accent-color:var(--primary)}.sx-wizard-progress>b{margin-left:auto;font-weight:500}.sx-wizard-body{padding:24px 26px;min-height:260px}.sx-wizard-body>h2{font-size:21px;margin:0 0 22px;letter-spacing:-.025em}.sx-wizard-body>h3{font-size:12px;margin:22px 0 10px}.sx-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sx-choice.btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;position:relative;min-height:98px;height:auto;padding:16px;text-align:left;border-radius:11px;white-space:normal;background:#fcfcfe;line-height:1.4}.sx-choice b{font-size:13px;font-weight:600}.sx-choice.selected{border-color:var(--primary);background:#f4f1ff;box-shadow:inset 0 0 0 1px var(--primary)}.sx-choice-icon{font-size:20px;color:var(--primary);line-height:1}.sx-radio{width:13px;height:13px;border:1px solid #bfc1cf;border-radius:50%;position:absolute;right:13px;top:13px}.sx-choice.selected .sx-radio{border:4px solid var(--primary);background:white}
.sx-wizard .modal-foot{justify-content:space-between}.sx-wizard-parties{display:grid;gap:18px}.sx-wizard-party{padding:17px;border:1px solid var(--line);border-radius:12px;background:#fcfcfe}.sx-wizard .field>span,.sx-inline-editor .field>span{font-size:11px;color:var(--muted);display:block;margin:0 0 7px}.sx-wizard .step-section{padding:17px;margin-bottom:14px}.sx-wizard .step-section h3{font-size:12px;margin:0 0 14px}.sx-wizard .step-form-grid{gap:14px}.sx-wizard-review{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fbfaff;margin-bottom:22px}.sx-wizard-review>h3{font-size:16px;margin:0 0 12px}.sx-wizard-review>.sx-tags{margin-bottom:15px}.sx-wizard-docs>h3{font-size:13px;margin-bottom:12px}.sx-wizard .cd-add-type{gap:8px;margin-top:12px}.sx-error:empty{display:none}.sx-error{font-size:12px;background:#fff3f3;color:#b33131;border:1px solid #f2cece;border-radius:8px;padding:11px;margin-bottom:15px;line-height:1.5}.sx-inline-editor{margin-top:18px;border-color:#bfb4f3!important;background:#fcfbff}.sx-inline-editor .actions{margin-top:16px}.sx-inline-editor>h3{margin-bottom:14px}
/* The total uses the same disclosure geometry and font weight as the other metrics. */
.cu-financial-table .cu-disclosure{width:100%}.cu-financial-table .cu-toggle-icon .cu-chevron{width:14px;height:14px}
@media(max-width:800px){.sx-modal.modal{width:calc(100vw - 24px)}.sx-preview.modal-body{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}.sx-preview>main,.sx-preview>aside{padding:18px}.sx-preview-title{display:block}.sx-preview-title>.btn{margin-top:12px}.sx-preview-title>h1{font-size:20px}.sx-properties>.sx-data-row>span{flex-basis:75px}.sx-account-card{padding:10px}.sx-account-card .sx-data-row{display:block}.sx-account-card .sx-data-row>b{display:block;text-align:left;max-width:none}.sx-account-card .sx-card-total{display:block}.sx-wizard .step-form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.sx-modal.modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.sx-preview.modal-body{display:block}.sx-preview>aside{border-left:0;border-top:1px solid var(--line2)}.sx-preview-title{display:flex}.sx-preview-title>h1{font-size:18px}.sx-preview-title>.btn{margin:0}.sx-account-card .sx-data-row{display:flex}.sx-account-card .sx-data-row>b{text-align:right;max-width:67%}.sx-account-card .sx-card-total{display:flex}.sx-modal .modal-head,.sx-modal .modal-foot{padding:12px 16px}.sx-wizard-body{padding:20px 16px}.sx-wizard-progress{padding:12px 16px}.sx-wizard-progress progress{width:55px}.sx-wizard-progress>b{font-size:10px}.sx-wizard .step-form-grid{grid-template-columns:1fr}.sx-choice-grid{gap:8px}.sx-choice.btn{padding:13px;min-height:102px}.sx-choice b{font-size:12px}.sx-choice-icon{font-size:18px}.sx-card-content{padding:3px 15px 0}.sx-route-card>header{padding:11px 15px;gap:8px}.sx-code,.sx-date{font-size:10px}.sx-card-content h2{font-size:16px}.sx-route-card>footer{padding:10px 15px}.sx-card-total strong{font-size:12px}.sx-data-row{font-size:11px;gap:10px}.sx-route-filters{gap:6px}.sx-route-filters .btn{font-size:10px;padding:8px;min-height:32px}.sx-properties>.sx-data-row{gap:12px}.sx-wizard .cd-add-type{flex-wrap:wrap}.cd-step .cd-add-type{flex-wrap:wrap}}
.sx-wizard-body.step-modal-body{display:block;align-content:start}.sx-wizard-body .sx-choice-grid{align-content:start}.sx-wizard-body .sx-choice-grid>.sx-choice{min-height:100px}.sx-wizard .sx-wizard-body{max-height:calc(100dvh - 220px)}
.sx-modal.modal{width:100%}.sx-route-card>header .sx-status-select{margin-left:auto;font-size:10px!important;min-width:104px!important;height:27px!important;min-height:27px!important}
.cu-disclosure:focus:not(:focus-visible){outline:none;box-shadow:none}
@media(max-width:560px){.sx-preview-title{flex-wrap:wrap}.sx-modal.modal{width:100%}.sx-wizard-progress{gap:8px}}
/* v12: viewing, editing and inline additions have independent geometry. */
.sx-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.sx-preview-modal .modal-head{justify-content:space-between}.sx-preview-modal .sx-header-actions .btn{min-height:32px;font-size:11px}.modal.wide.sx-step-editor{width:min(850px,100%)}
.sx-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.sx-info-grid>.sx-data-row{display:block;padding:0;border:0!important;min-width:0}.sx-info-grid>.sx-data-row>span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.sx-info-grid>.sx-data-row>b{display:block;max-width:100%;text-align:left;font-size:11px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.sx-account-card>.sx-info-grid+.sx-card-total{margin-top:14px}.sx-preview .sx-section-heading>div{gap:12px}
.sx-description>label{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:10px}.sx-description>.textarea{width:100%;min-height:100px;height:100px;resize:vertical;background:#fcfcfe;font-size:12px;line-height:1.6}
.sx-description>.sx-description-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:0;margin-top:8px;padding:0;border:0;background:none;white-space:normal}.sx-description-actions>span{font-size:11px;color:var(--muted)}.sx-description-actions .btn{min-height:28px;padding:5px 9px;font-size:11px}.sx-description-actions .btn:disabled{display:none}
.sx-preview #sx-document-editor .cd-step{margin-top:14px;padding:14px}.sx-preview .cd-step .table{min-width:0}.sx-preview .cd-add-type>.input{min-width:140px;flex:1 1 100%}.sx-preview .cd-step th,.sx-preview .cd-step td{padding:10px 6px}
.party-card>.sx-inline-editor{margin-top:10px;padding:14px;min-width:0}.party-card>.sx-inline-editor .step-form-grid{grid-template-columns:minmax(0,1fr)}.sx-inline-editor{grid-column:1/-1}.sx-inline-editor .actions{flex-wrap:wrap}.party-stack{align-items:start}
.create-config-modal .create-endpoints-grid{align-items:start;gap:16px}.create-config-modal .field{align-content:start}.create-config-modal .create-endpoints-grid>.field .input,.create-config-modal .create-endpoints-grid>.field .select{height:38px;min-height:38px}.create-client-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;min-width:0;background:white;height:38px;padding-right:10px;gap:8px}.create-client-control>.input{border:0;background:transparent;min-width:0;flex:1;height:36px!important;min-height:36px!important}.create-client-control>.btn{flex:none;white-space:nowrap;min-height:30px}.create-client-control:focus-within{outline:2px solid #c7bbff;outline-offset:1px}.create-client-control>.input:focus{outline:0;box-shadow:none}
.create-direction-bar{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);align-items:center;gap:12px;padding:16px 18px;margin:18px 0;border:1px solid var(--line);background:#faf9ff;border-radius:12px}.create-direction-bar>div{min-width:0}.create-direction-bar small{display:block;text-transform:uppercase;letter-spacing:.04em;font-size:10px;color:var(--muted);margin-bottom:6px}.create-direction-bar b{font-size:13px;overflow-wrap:anywhere}.create-direction-bar>span{color:var(--primary);text-align:center;font-size:22px}.create-participants-body>.create-direction-bar{margin-top:0}
.create-participants-modal .modal-head h2,.draft-participant-modal .modal-head h2{font-size:20px}.create-participants-modal .modal-head>div>p,.draft-participant-modal .modal-head>div>p{display:block;font-size:12px;margin-top:10px}.create-participants-body>.section-inline{margin:20px 0}.create-participants-body .notice{margin:16px 0}.create-participants-body .quick-role-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.create-participants-body .draft-participants{display:grid;gap:10px}.create-participants-body .draft-participant-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px}.draft-party-accounts .sub{white-space:normal;overflow-wrap:anywhere}.draft-party-error{display:block;font-size:11px;color:#b05d09;margin-top:5px}.draft-participant-card .actions{display:flex;flex-wrap:wrap;gap:6px}.draft-participant-card .danger,.draft-participant-modal .danger{color:#c23131;background:#fff5f5;border:1px solid #f5d1d1}
.draft-participant-modal #registry-draft-select{margin:0 0 16px;min-height:32px;font-size:12px}.draft-participant-modal .legal-fields{padding:16px;border:1px solid var(--line);background:#fcfcfe;border-radius:12px;margin-top:18px}.draft-participant-modal .legal-fields>h3{margin:0 0 14px}.draft-participant-modal .account-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.draft-participant-modal .account-edit{padding:14px;background:#fafbfd;border:1px solid var(--line);border-radius:12px}.draft-participant-modal .account-head{margin-bottom:12px}.draft-participant-modal .account-head>div{display:flex;align-items:center;gap:8px}.draft-participant-modal .account-editor-fields{gap:12px}.draft-participant-modal .modal-section>h3{margin-bottom:12px}
@media(max-width:700px){.create-participants-body .draft-participant-card{grid-template-columns:minmax(0,1fr)}.create-participants-body .section-inline{align-items:start;gap:12px;flex-wrap:wrap}.create-participants-body .modal-foot{flex-wrap:wrap}.create-participants-modal .modal-head h2,.draft-participant-modal .modal-head h2{font-size:17px}.create-participants-modal .modal-head>div>p,.draft-participant-modal .modal-head>div>p{font-size:11px}.create-client-control>.btn{font-size:10px}.create-direction-bar{gap:8px;padding:14px}.draft-participant-modal .builder-field-grid{grid-template-columns:minmax(0,1fr)}.sx-preview .cd-add-type{gap:8px}}
/* Filtered cards are independent results, not adjacent operations. */
.sx-route-list.sx-filtered .sx-route-card:after{display:none}
.sx-properties .sx-data-row .sx-status-select{flex:0 0 144px;max-width:100%;width:144px;min-height:36px!important;height:36px!important;line-height:normal;font-weight:500}
.sx-status-select option{background:#fff;color:#252936;font-weight:400}.sx-status-select option:disabled{color:#949aa9}.sx-status-error{font-weight:400;font-size:12px;line-height:1.5;margin-top:8px}
.sx-header-actions .close{display:grid;place-items:center;line-height:1;padding:0;align-self:center}
/* One centered chevron for every step-status control, without a mouse-focus halo. */
.select.sx-status-select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7489' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;background-size:14px 14px;
  padding-right:34px!important;line-height:20px;border-color:var(--line);cursor:pointer;transition:background-color .15s,color .15s;
}
.select.sx-status-select:focus{border-color:var(--line);box-shadow:none;outline:0}
.select.sx-status-select:focus-visible{outline:2px solid #6b7489;outline-offset:2px}
.select.sx-status-select:disabled{cursor:default}

:root[data-sx-input="pointer"] .select.sx-status-select:focus{outline:0;box-shadow:none}
