/* Studio page layout; adapted from project-owned payment-distribution.css. */
:where(.payhippo-studio) .payment-distribution{--pd-border:var(--line,var(--line));--pd-muted:var(--muted,#878a99);max-width:1440px;margin-inline:auto;color:var(--ink,#495057)}
:where(.payhippo-studio) .payment-distribution .card,:where(.payhippo-studio) .payment-distribution .btn,:where(.payhippo-studio) .payment-distribution .form-control,:where(.payhippo-studio) .payment-distribution .form-select{border-radius:4px}
:where(.payhippo-studio) .payment-distribution .pd-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:24px}
:where(.payhippo-studio) .payment-distribution h1{font-size:22px;margin:0 0 6px;font-weight:600}
:where(.payhippo-studio) .payment-distribution .pd-heading p{font-size:13px}
:where(.payhippo-studio) .payment-distribution .pd-navigation{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-block-end:20px;border-bottom:1px solid var(--pd-border)}
:where(.payhippo-studio) .payment-distribution .pd-navigation .nav-tabs{border:0;align-self:stretch;gap:10px}
:where(.payhippo-studio) .payment-distribution .nav-link{padding:14px 22px;font-weight:500;border:0;background:transparent;color:var(--pd-muted)}
:where(.payhippo-studio) .payment-distribution .nav-link.active{color:var(--purple,var(--purple));box-shadow:inset 0 -2px currentColor}
:where(.payhippo-studio) .payment-distribution .pd-environment{display:flex;gap:12px;align-items:center;padding-block-end:8px}
:where(.payhippo-studio) .payment-distribution .pd-environment select{width:110px}
:where(.payhippo-studio) .payment-distribution .pd-editor{border:0;padding:0;margin:0;min-width:0}
:where(.payhippo-studio) .payment-distribution .pd-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px}
:where(.payhippo-studio) .payment-distribution .pd-enable{display:flex;align-items:center;gap:10px;margin:0;padding:0}
:where(.payhippo-studio) .payment-distribution .pd-enable .form-check-input{float:none;margin:0;width:36px;height:20px;flex-shrink:0}
:where(.payhippo-studio) .payment-distribution .pd-state{font-size:12px;color:var(--pd-muted)}
:where(.payhippo-studio) .payment-distribution .pd-method{display:flex;align-items:center;gap:12px}
:where(.payhippo-studio) .payment-distribution .pd-method .form-label{white-space:nowrap;margin:0}
:where(.payhippo-studio) .payment-distribution .pd-method select{min-width:185px}
:where(.payhippo-studio) .payment-distribution .pd-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px;font-size:12px;border-bottom:1px solid var(--pd-border)}
:where(.payhippo-studio) .payment-distribution .pd-table-wrap{overflow-x:auto}
:where(.payhippo-studio) .payment-distribution .pd-table{min-width:940px}
:where(.payhippo-studio) .payment-distribution .pd-table th{white-space:nowrap;font-size:11px;text-transform:uppercase;letter-spacing:.025em;font-weight:600}
:where(.payhippo-studio) .payment-distribution .pd-table td,:where(.payhippo-studio) .payment-distribution .pd-table th{padding:16px 20px;text-align:start;border-color:var(--pd-border)}
:where(.payhippo-studio) .payment-distribution .pd-table td{vertical-align:middle;font-size:13px}
:where(.payhippo-studio) .payment-distribution .pd-account-name{font-weight:500;overflow-wrap:anywhere;max-width:220px}
:where(.payhippo-studio) .payment-distribution .pd-order{display:flex;gap:4px;align-items:center;margin-top:8px}
:where(.payhippo-studio) .payment-distribution .pd-order .btn{width:28px;height:26px;line-height:1;padding:0}
:where(.payhippo-studio) .payment-distribution .pd-order span{font-size:11px;min-width:22px;color:var(--pd-muted)}
:where(.payhippo-studio) .payment-distribution .pd-limit-toggle{display:flex;gap:8px;align-items:center;margin:0;white-space:nowrap;font-size:12px}
:where(.payhippo-studio) .payment-distribution .form-check-input{margin:0;cursor:pointer}
:where(.payhippo-studio) .payment-distribution .pd-limit-fields{display:flex;gap:6px;margin-top:9px}
:where(.payhippo-studio) .payment-distribution .pd-limit-fields input{width:104px}
:where(.payhippo-studio) .payment-distribution .pd-limit-fields select{box-sizing:border-box;flex:0 0 92px;width:92px;min-width:92px;max-width:none;direction:ltr;text-align:left;padding:.375rem 1.8rem .375rem .65rem;background-position:right .65rem center}
:where(.payhippo-studio) .payment-distribution .pd-limit-fields .form-control,:where(.payhippo-studio) .payment-distribution .pd-limit-fields .form-select{height:34px;font-size:12px}
:where(.payhippo-studio) .payment-distribution .pd-amount{font-variant-numeric:tabular-nums;white-space:nowrap}
:where(.payhippo-studio) .payment-distribution .pd-usage details{font-size:11px;margin-top:6px;color:var(--pd-muted)}
:where(.payhippo-studio) .payment-distribution .pd-usage summary{cursor:pointer}
:where(.payhippo-studio) .payment-distribution .pd-usage dl{display:grid;grid-template-columns:auto auto;gap:4px 12px;margin:8px 0 0}
:where(.payhippo-studio) .payment-distribution .pd-usage dt{font-weight:400}
:where(.payhippo-studio) .payment-distribution .pd-usage dd{margin:0;text-align:end;white-space:nowrap}
:where(.payhippo-studio) .payment-distribution .pd-progress{margin-top:9px;height:4px;max-width:130px;border-radius:4px;background:var(--soft,var(--soft));overflow:hidden}
:where(.payhippo-studio) .payment-distribution .pd-progress>span{height:100%;display:block;background:var(--purple,var(--purple))}
:where(.payhippo-studio) .payment-distribution .pd-status{font-size:11px;display:inline-block;max-width:150px;white-space:normal;line-height:1.5;padding:4px 8px;border-radius:4px;background:var(--soft,var(--soft));color:var(--pd-muted)}
:where(.payhippo-studio) .payment-distribution .pd-status[data-tone=ready]{background:rgba(var(--green-rgb,10,179,156),.1);color:var(--green,#0ab39c)}
:where(.payhippo-studio) .payment-distribution .pd-status[data-tone=warning]{background:rgba(var(--orange-rgb,247,184,75),.12);color:var(--orange,#9b6c0d)}
:where(.payhippo-studio) .payment-distribution .pd-fallback{border-top:1px solid var(--pd-border);padding:20px}
:where(.payhippo-studio) .payment-distribution .pd-fallback>div{max-width:460px}
:where(.payhippo-studio) .payment-distribution .pd-advanced{border-top:1px solid var(--pd-border);padding:16px 20px}
:where(.payhippo-studio) .payment-distribution .pd-advanced>summary{cursor:pointer;font-size:13px}
:where(.payhippo-studio) .payment-distribution .pd-advanced-body{padding-top:18px}
:where(.payhippo-studio) .payment-distribution .pd-advanced-facts{display:flex;gap:32px;flex-wrap:wrap;margin-bottom:12px}
:where(.payhippo-studio) .payment-distribution .pd-advanced-facts>div{display:flex;flex-direction:column;gap:5px;font-size:12px}
:where(.payhippo-studio) .payment-distribution .pd-count-row{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:12px}
:where(.payhippo-studio) .payment-distribution .pd-count-row label{display:flex;gap:8px;align-items:center;margin:0;min-width:180px}
:where(.payhippo-studio) .payment-distribution .pd-count-row input[type=number]{max-width:100px}
:where(.payhippo-studio) .payment-distribution .pd-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid var(--pd-border);font-size:12px;background:transparent}
:where(.payhippo-studio) .payment-distribution .pd-footer .btn{min-height:38px}
:where(.payhippo-studio) .payment-distribution .invalid-feedback:not([hidden]){display:block}
:where(.payhippo-studio) .payment-distribution :focus-visible{outline:2px solid var(--purple,var(--purple));outline-offset:3px}
:where(.payhippo-studio) .payment-distribution [hidden]{display:none!important}
@media(max-width:767px){:where(.payhippo-studio) .payment-distribution .pd-heading{align-items:flex-start;margin-block-end:18px}
:where(.payhippo-studio) .payment-distribution h1{font-size:19px}
:where(.payhippo-studio) .payment-distribution .pd-heading>.btn{font-size:12px;padding:8px;flex-shrink:0}
:where(.payhippo-studio) .payment-distribution .pd-navigation{gap:10px}
:where(.payhippo-studio) .payment-distribution .nav-link{padding:12px 15px}
:where(.payhippo-studio) .payment-distribution .pd-environment{gap:6px}
:where(.payhippo-studio) .payment-distribution .pd-environment .form-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
:where(.payhippo-studio) .payment-distribution .pd-environment select{width:90px}
:where(.payhippo-studio) .payment-distribution .pd-controls{flex-direction:column;align-items:stretch;padding:16px}
:where(.payhippo-studio) .payment-distribution .pd-method{justify-content:space-between}
:where(.payhippo-studio) .payment-distribution .pd-method select{flex:1;max-width:240px}
:where(.payhippo-studio) .payment-distribution .pd-context{padding:12px 16px}
:where(.payhippo-studio) .payment-distribution .pd-table-wrap{overflow:visible}
:where(.payhippo-studio) .payment-distribution .pd-table{min-width:0;display:block}
:where(.payhippo-studio) .payment-distribution .pd-table thead{display:none}
:where(.payhippo-studio) .payment-distribution .pd-table tbody{display:block}
:where(.payhippo-studio) .payment-distribution .pd-table tr{display:grid;grid-template-columns:1fr 1fr;padding:14px 16px;gap:14px;border-bottom:1px solid var(--pd-border)}
:where(.payhippo-studio) .payment-distribution .pd-table td{display:block;padding:0;border:0;min-width:0;font-size:12px}
:where(.payhippo-studio) .payment-distribution .pd-table td:before{content:attr(data-label);display:block;color:var(--pd-muted);font-size:11px;margin-bottom:7px}
:where(.payhippo-studio) .payment-distribution .pd-table td:first-child,:where(.payhippo-studio) .payment-distribution .pd-table td:last-child{grid-column:1/-1}
:where(.payhippo-studio) .payment-distribution .pd-account-name{max-width:none}
:where(.payhippo-studio) .payment-distribution .pd-table td:first-child{display:flex;align-items:center;gap:12px;justify-content:space-between}
:where(.payhippo-studio) .payment-distribution .pd-table td:first-child:before{display:none}
:where(.payhippo-studio) .payment-distribution .pd-order{margin:0}
:where(.payhippo-studio) .payment-distribution .pd-status{max-width:none}
:where(.payhippo-studio) .payment-distribution .pd-limit-fields{flex-wrap:wrap}
:where(.payhippo-studio) .payment-distribution .pd-limit-fields input{width:92px}
:where(.payhippo-studio) .payment-distribution .pd-fallback,:where(.payhippo-studio) .payment-distribution .pd-advanced{padding:16px}
:where(.payhippo-studio) .payment-distribution .pd-footer{padding:14px 16px;gap:10px}
:where(.payhippo-studio) .payment-distribution .pd-footer>.text-muted{max-width:95px}
:where(.payhippo-studio) .payment-distribution .pd-count-row{flex-wrap:wrap}
:where(.payhippo-studio) .payment-distribution .pd-usage dl{grid-template-columns:1fr;gap:2px}
:where(.payhippo-studio) .payment-distribution .pd-usage dd{text-align:start;margin-bottom:4px}}
