/* Shared workflow surfaces inherit their host background for browser dark-theme compatibility. */
.journey-content{--journey-radius:12px}.journey-content .document-bottom,.journey-editor .dialog-head{background:transparent!important}.journey-editor .compact-item,.journey-editor .form-totals{background:transparent!important;color:inherit}.journey-content .balance-document-row:hover,.journey-content .balance-document-row:focus-visible{background:transparent;box-shadow:inset 3px 0 #78b8a4}.journey-icon{width:17px;height:17px;flex:0 0 17px;vertical-align:middle}.icon-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}.journey-content button,.journey-editor button{min-height:36px}.journey-content .record-link{min-height:28px}.journey-section-title{display:flex;align-items:center;gap:12px;font-size:18px!important;letter-spacing:-.35px;margin:8px 0 22px;padding-bottom:18px;border-bottom:1px solid var(--border)}.journey-section-title svg{width:21px;height:21px;color:#498b76}.journey-caption{font-size:13px!important;line-height:1.8;color:inherit;opacity:.8;margin:12px 0 18px}.journey-history-card{border:1px solid var(--border)!important;border-radius:14px!important;padding:22px!important;margin:18px 0!important;background:transparent!important;box-shadow:0 3px 12px #00000004}.journey-history-card>h3{font-size:16px;letter-spacing:-.3px;line-height:1.5;margin:0 0 15px}.journey-history-card>p{line-height:1.8;font-size:13px;overflow-wrap:anywhere}.journey-history-card>button{margin:5px 6px 5px 0}.journey-history-card>.badge{display:inline-flex;margin:8px 0}.journey-corrections{margin-top:20px;border-top:1px solid var(--border);padding-top:12px}.journey-corrections>summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;font-size:13px;font-weight:600;padding:10px 0;color:inherit;list-style:none}.journey-corrections>div{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0 0}.journey-corrections[open]>summary>span{transform:rotate(180deg)}.correction-action{border-style:dashed!important}.journey-allocation{border:1px solid var(--border)!important;border-radius:10px;padding:18px!important;margin:12px 0!important;background:transparent!important;max-height:none!important;overflow:visible!important;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}.journey-allocation p{line-height:1.8}.journey-allocation>div:last-child{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.journey-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:32px 24px!important;min-height:100px;border:1px dashed var(--border);border-radius:12px;font-size:13px;line-height:1.7;background:transparent!important;color:inherit;opacity:.8}.journey-empty svg{width:27px;height:27px;color:#6b9d8d}.journey-content .list-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:16px;border:1px solid var(--border);border-radius:10px;margin:20px 0}.journey-content .list-toolbar label{flex:1;min-width:150px;margin:0;font-size:13px}.journey-content #refund-results .record-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:16px;padding:22px;border:1px solid var(--border);border-radius:12px;margin:14px 0;background:transparent}.journey-content #refund-results .record-state{display:flex;align-items:center;gap:12px}.journey-content #refund-results .record-progress{grid-column:1/-1;border-top:1px solid var(--border);padding-top:16px;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.journey-content #refund-results .record-row p{font-size:13px;line-height:1.6}.journey-content #refund-results .record-row small{font-size:13px;line-height:1.7}.journey-content #refund-results .record-amount strong{font-size:20px;display:block;margin-bottom:7px}.journey-content .credit-document-items table{white-space:normal}.journey-content .credit-document-items td:not(:first-child){white-space:nowrap}.journey-editor .form-heading{position:relative;padding-left:64px;min-height:58px;border-left:0}.form-kind-icon{position:absolute;left:0;top:6px;width:25px;height:25px;padding:12px;border:1px solid var(--border);border-radius:13px;color:#498b76;box-sizing:content-box}.journey-editor .dialog-body{padding-top:28px}.journey-editor .dialog-body>label{line-height:1.65;margin-top:18px}.journey-guidance{font-size:13px!important;line-height:1.85!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important;border-left:3px solid #89b9a9!important;border-radius:0!important;padding:10px 16px!important;margin:20px 0!important;color:inherit!important;opacity:.85}.journey-editor .required-field{font-weight:550}.journey-editor .required-field:has(>input:invalid:focus){color:inherit}.journey-editor .payment-part,.journey-editor .payment-correction{display:grid;grid-template-columns:minmax(180px,2fr) minmax(100px,1fr) minmax(120px,1fr) 32px;gap:16px;padding:22px;border:1px solid var(--border);border-radius:12px;align-items:end;margin:16px 0;background:transparent}.journey-editor .payment-correction{grid-template-columns:minmax(180px,2fr) 1fr 1fr}.journey-editor .payment-part label,.journey-editor .payment-correction label{margin:0;font-size:13px}.journey-editor .payment-part input,.journey-editor .payment-part select{width:100%;min-width:0}.journey-editor .radio-choice{padding:16px 18px;border-radius:10px;display:flex;align-items:start;gap:12px;font-size:13px;line-height:1.7}.journey-editor .radio-choice:has(input:checked){border-color:#78b8a4;box-shadow:inset 3px 0 #78b8a4}.journey-editor .radio-choice input{margin-top:4px;flex-shrink:0}.journey-editor #allocation-preview,.journey-editor #refund-available,.journey-editor #note-apply-limit{padding:20px!important;border:1px solid var(--border)!important;border-radius:12px!important;max-height:none!important;overflow:visible!important;background:transparent!important;font-size:13px;line-height:1.8}.journey-editor .correction-item{display:grid!important;grid-template-columns:minmax(180px,1fr) 150px 130px;gap:20px;align-items:center;padding:18px;border:1px solid var(--border);border-radius:10px;margin:14px 0!important}.correction-item-name{font-size:13px;line-height:1.7}.correction-line-total{text-align:right;font-weight:650;font-variant-numeric:tabular-nums}.journey-editor #correction-total,.journey-editor #bill-correction-total{margin:24px 0 24px auto;padding:20px;border:1px solid var(--border);border-radius:12px;text-align:right;font-size:16px;font-weight:650;line-height:1.8;max-width:460px}.journey-editor .dialog-foot{position:sticky;bottom:0;background:Canvas;color:CanvasText;z-index:4;box-shadow:0 -4px 14px #00000005}.journey-content .record-tabs{overflow-x:auto;white-space:nowrap}.journey-content .document-reference,.journey-content .reference{overflow-wrap:anywhere}.journey-content .record-summary>.buttons{gap:10px}.journey-content .list-row{line-height:1.7}.journey-editor textarea{min-height:90px;resize:vertical}.journey-editor input:disabled,.journey-editor select:disabled{opacity:.7}.journey-editor .form-totals{box-shadow:0 3px 12px #00000004}@media(max-width:900px){.journey-editor .correction-item{grid-template-columns:1fr 130px}.journey-editor .correction-line-total{grid-column:2}.journey-editor .payment-part{grid-template-columns:1fr 1fr}.journey-editor .payment-part>div:first-child{grid-column:1/-1}}
.journey-editor .dialog-foot{background:#fff;color:inherit}.journey-content .refund-source-ref{display:block;font-size:13px;opacity:.8;margin-top:7px}
.journey-editor #refund-available span{display:block;font-size:13px;font-weight:400;margin-bottom:9px}.journey-editor #refund-available strong{display:block;font-size:17px}.journey-editor #edit-error:not(:empty){border:1px solid #cfa6a0;border-left:3px solid #b15448;padding:15px;border-radius:8px;line-height:1.7}.journey-content .journey-history-card>h3{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.correction-rate-field{display:block;min-width:0}.correction-rate-field small,.correction-line-total small{display:block;font-size:13px;font-weight:400;opacity:.7;margin-bottom:8px}.correction-line-total strong{display:block}.journey-editor .correction-item{max-width:none!important}.journey-editor .dialog-body>label:has(>textarea){max-width:none}.journey-content .panel-title h2{font-size:16px;display:flex;gap:10px;align-items:center}
