/* assets/payout-checklist.css */
.dscc-payout{font-family:"Open Sauce One","Open Sauce",Arial,sans-serif;color:#19191b;width:100%;box-sizing:border-box}.dscc-payout *{box-sizing:border-box}.dscc-payout-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.dscc-payout-eyebrow{font-size:10px;letter-spacing:.12em;color:#e46d08;font-weight:700}.dscc-payout-head h2{margin:4px 0!important;font-size:24px!important;line-height:1.2}.dscc-payout-head p{margin:0;color:#73757a;font-size:13px}.dscc-payout-count{text-align:right;white-space:nowrap}.dscc-payout-count strong{display:block;font-size:22px;line-height:1.2}.dscc-payout-count span{font-size:11px;color:#777}.dscc-payout-progress{height:7px;margin:20px 0 23px;background:#eceef0;border-radius:20px;overflow:hidden}.dscc-payout-progress span{display:block;height:100%;background:linear-gradient(90deg,#ffb733,#f06900);border-radius:20px;transition:width .3s}.dscc-payout-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dscc-payout-group{padding:18px;border:1px solid #e4e5e7;border-radius:13px;background:#fff}.dscc-payout-group h3{margin:0 0 12px!important;font-size:15px!important}.dscc-payout-row{display:flex;align-items:center;gap:10px;min-height:52px;border-top:1px solid #f0f0f1;font-size:12px}.dscc-payout-mark{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid #d1d2d5;border-radius:5px;font-size:12px;color:#fff}.dscc-payout-mark.is-done{background:#42a858;border-color:#42a858}.dscc-payout-label{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}.dscc-payout-label small{display:block;margin-top:2px;color:#777;font-size:11px;font-weight:400}.dscc-payout-state{color:#af5e11;font-size:11px;white-space:nowrap}.dscc-payout-mark.is-done~.dscc-payout-state{color:#3c9651}.dscc-payout-empty{color:#777;font-size:12px}@media(max-width:680px){.dscc-payout-groups{grid-template-columns:1fr}.dscc-payout-head h2{font-size:20px!important}.dscc-payout-group{padding:15px}}
.dscc-payout-index{width:100%;font-family:"Open Sauce One","Open Sauce",Arial,sans-serif;color:#202124}.dscc-payout-index *{box-sizing:border-box}.dscc-payout-index-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.dscc-payout-index-head h2{margin:4px 0!important;font-size:24px!important;line-height:1.25}.dscc-payout-index-head p{margin:0;font-size:13px;color:#6b6e75}.dscc-payout-total{padding:8px 12px;border-radius:20px;background:#fff2e7;color:#c75d09;white-space:nowrap;font-size:12px;font-weight:700}.dscc-payout-list{display:grid;gap:9px}.dscc-payout-list-row{display:grid;grid-template-columns:minmax(170px,2fr) minmax(100px,1fr) minmax(120px,1fr) auto;align-items:center;gap:14px;padding:16px 18px;border:1px solid #e5e6e9;border-radius:12px;background:#fff;color:inherit!important;text-decoration:none!important;transition:border-color .2s,box-shadow .2s,transform .2s}.dscc-payout-list-row:hover,.dscc-payout-list-row:focus-visible,.dscc-payout-list-row.is-selected{border-color:#fc8100;box-shadow:0 5px 18px rgba(42,34,26,.07);transform:translateY(-1px)}.dscc-payout-list-customer strong{display:block;font-size:14px}.dscc-payout-list-customer small{display:block;margin-top:4px;color:#85878d;font-size:11px}.dscc-payout-list-reg,.dscc-payout-list-amount{font-size:13px;color:#62656a}.dscc-payout-list-link{white-space:nowrap;font-size:12px;font-weight:700;color:#ec7005}.dscc-payout-list-link span{margin-left:4px}.dscc-payout-pages{display:flex;justify-content:center;align-items:center;gap:24px;margin:20px 0;font-size:13px}.dscc-payout-pages a,.dscc-payout-selected>a{color:#e86800;text-decoration:none}.dscc-payout-selected{margin-bottom:34px}.dscc-payout-selected>a{display:inline-block;margin-bottom:16px;font-size:13px;font-weight:600}.dscc-payout-message{padding:22px;border:1px solid #e5e6e9;border-radius:12px;color:#62656a}@media(max-width:650px){.dscc-payout-index-head{align-items:flex-start;flex-direction:column;gap:10px}.dscc-payout-list-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:13px}.dscc-payout-list-customer{grid-column:1}.dscc-payout-list-reg{grid-column:1}.dscc-payout-list-amount{grid-column:2;grid-row:1}.dscc-payout-list-link{grid-column:2;grid-row:2}.dscc-payout-index-head h2{font-size:20px!important}}
.dscc-payout-search{margin:-5px 0 20px}.dscc-payout-search label{display:block;margin-bottom:6px;color:#73757a;font-size:12px}.dscc-payout-search>div{display:flex;gap:8px;align-items:center}.dscc-payout-search input{width:min(420px,100%);min-height:38px;padding:8px 12px;border:1px solid #dadde1;border-radius:8px;font:inherit}.dscc-payout-search button[type="submit"],.dscc-payout-settings button{min-height:38px;padding:8px 17px;border:0;border-radius:8px;background:#fc8100;color:#fff;cursor:pointer;font-family:inherit;font-size:12px;font-weight:600}.dscc-payout-search a,.dscc-payout-list-customer a{color:#202124;text-decoration:none}.dscc-payout-search a:hover,.dscc-payout-list-customer a:hover{color:#e76800}.dscc-payout-list-link{color:#e76800!important}.dscc-payout-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:9px;font-size:12px}.dscc-payout-links a{color:#eb7206;text-decoration:none;font-weight:650}.dscc-payout-readiness{display:block;margin-top:7px;color:#6a6d72;font-size:11px}.dscc-payout-required{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:5px;background:#fff1e5;color:#cb650d;font-family:inherit;font-size:10px;font-weight:600}.dscc-payout-notes{margin-top:14px;padding:18px;border:1px solid #e4e5e7;border-radius:13px;background:#fff}.dscc-payout-notes h3{margin:0 0 8px!important;font-size:15px!important}.dscc-payout-notes p{margin:0;white-space:normal;color:#666;font-size:12px}.dscc-payout-manual-toggle{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#fc8100;cursor:pointer}.dscc-payout-settings{width:100%;max-height:75vh;overflow:auto;font-family:"Open Sauce One","Open Sauce",Arial,sans-serif}.dscc-payout-settings *{box-sizing:border-box}.dscc-payout-settings h3{margin:0 0 5px!important}.dscc-payout-settings>p{font-size:12px;color:#666}.dscc-payout-settings-head,.dscc-payout-setting-row{display:grid;grid-template-columns:minmax(0,1fr) 65px 75px;gap:8px;align-items:center;padding:9px 11px}.dscc-payout-settings-head{position:sticky;top:0;z-index:1;background:#f6f6f7;color:#65686e;font-size:11px;font-weight:700}.dscc-payout-setting-row{border-bottom:1px solid #edeef0;font-size:12px}.dscc-payout-setting-row label{text-align:center}.dscc-payout-setting-row input{width:16px;height:16px;accent-color:#fc8100}.dscc-payout-manual-label{display:block;margin:18px 0;font-weight:600;font-size:13px}.dscc-payout-manual-label small{display:block;margin:4px 0 9px;color:#777;font-size:11px;font-weight:400}.dscc-payout-manual-label textarea{display:block;width:100%;min-height:110px;padding:10px;border:1px solid #d6d8dc;border-radius:8px;font:12px/1.6 inherit}.dscc-payout-settings-message{margin-left:10px;font-size:12px;color:#21753f}@media(max-width:650px){.dscc-payout-search>div{flex-wrap:wrap}.dscc-payout-settings-head,.dscc-payout-setting-row{grid-template-columns:minmax(0,1fr) 46px 60px}}
/* Stable loading and popup layout. */
.dscc-payout-index[aria-busy="true"]{opacity:.55;pointer-events:none;transition:opacity .2s}
.dscc-payout-search button[type="submit"],.dscc-payout-search button[type="submit"]:hover,.dscc-payout-search button[type="submit"]:focus-visible,.dscc-payout-settings button:hover,.dscc-payout-note-form button:hover{background:#fc8100!important;color:#fff!important;border-color:#fc8100!important;box-shadow:0 0 0 2px rgba(252,129,0,.18)!important}
/* Checklist settings: section controls stay with their own checks. */
.dscc-payout-settings{max-height:none;overflow:visible;display:grid;gap:10px}.dscc-payout-settings>p{margin:0 0 7px;font-size:12px;line-height:1.55;color:#6d7780}.dscc-payout-settings-head{position:static;border-bottom:1px solid #e8eaed;border-radius:8px;padding:10px 15px}.dscc-payout-setting-group{overflow:hidden;border:1px solid #e4e7ea;border-radius:11px;background:#fff}.dscc-payout-setting-group-head{display:grid;grid-template-columns:minmax(0,1fr) 65px 75px;gap:8px;align-items:center;padding:0 11px}.dscc-payout-group-toggle{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:9px!important;width:100%;min-width:0;margin:0!important;padding:14px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#29333e!important;box-shadow:none!important;text-align:left;font-size:12px!important}.dscc-payout-group-toggle:hover,.dscc-payout-group-toggle:focus-visible{background:transparent!important;color:#b65a04!important;box-shadow:none!important}.dscc-payout-group-toggle strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dscc-payout-group-toggle small{margin-left:auto;color:#7b838c;font-size:10px;font-weight:500;white-space:nowrap}.dscc-payout-group-chevron{font-size:20px;line-height:12px;transition:transform .2s ease}.dscc-payout-group-toggle[aria-expanded=true] .dscc-payout-group-chevron{transform:rotate(180deg)}.dscc-payout-setting-group-head>label{display:grid;place-items:center}.dscc-payout-setting-group input[type=checkbox]{width:16px;height:16px;accent-color:#fc8100}.dscc-payout-setting-children{padding:0 11px 10px;border-top:1px solid #e8eaed;background:#fbfbfc}.dscc-payout-setting-children[hidden]{display:none!important}.dscc-payout-setting-children .dscc-payout-setting-row{padding:9px 4px}.dscc-payout-settings>button[type=submit]{justify-self:start;margin-top:10px}body.dscc-theme-dark .dscc-payout-setting-group{background:#161e2a;border-color:#2b394f}body.dscc-theme-dark .dscc-payout-group-toggle{color:#eee!important}body.dscc-theme-dark .dscc-payout-group-toggle:hover{color:#ffbe79!important}body.dscc-theme-dark .dscc-payout-setting-children{background:#131b26;border-color:#28364c}body.dscc-theme-dark .dscc-payout-settings-head{background:#192331;border-color:#2b394f;color:#ddd}body.dscc-theme-dark .dscc-payout-setting-children .dscc-payout-setting-row{border-color:#233044;color:#eee}body.dscc-theme-dark .dscc-payout-settings>p,body.dscc-theme-dark .dscc-payout-group-toggle small{color:#bbb!important}@media(max-width:650px){.dscc-payout-setting-group-head{grid-template-columns:minmax(0,1fr) 46px 60px}}
.dscc-payout-note-form{display:grid;gap:8px;margin-top:14px}.dscc-payout-note-form label{font-size:12px;font-weight:650}.dscc-payout-note-form textarea{width:100%;resize:vertical;min-height:70px;border:1px solid #d6d8dc;border-radius:8px;padding:10px;font:inherit;font-size:12px}.dscc-payout-note-form button{justify-self:start;border:0;border-radius:8px;background:#fc8100;color:#fff;padding:9px 17px;cursor:pointer}.dscc-payout-note-form [role=status]{font-size:12px;color:#387e4b}.dscc-payout-note{border-top:1px solid #eff0f2;padding:9px 0}.dscc-payout-note p{white-space:pre-wrap}.dscc-payout-note small{color:#83858a;font-size:10px}
.dscc-payout-popup-content{width:100%;min-width:0;max-width:100%;max-height:min(84vh,900px);overflow:auto;padding:0 12px 18px 0}.dscc-payout-popup-content .dscc-payout{max-width:100%;min-width:0}.dscc-payout-popup-content .dscc-payout-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.dscc-payout-popup-content .dscc-payout-group{min-width:0;padding:12px}.dscc-payout-popup-content .dscc-payout-head h2{font-size:20px!important}.dscc-payout-popup-content .dscc-payout-row{min-height:44px}.dscc-payout-skeleton{min-height:160px;padding:24px;color:#9b601c;background:linear-gradient(100deg,#fff8ed 20%,#ffe9cd 48%,#fff8ed 78%);background-size:220% 100%;animation:dscc-payout-shimmer 1.2s ease-in-out infinite;border-radius:12px}@keyframes dscc-payout-shimmer{to{background-position-x:-220%}}
@media(max-width:700px){.dscc-payout-popup-content .dscc-payout-groups{grid-template-columns:1fr}.dscc-payout-popup-content{padding-right:3px}}
#jet-popup-18733 .jet-popup__container,#jet-popup-18733 .jet-popup__container-inner,#jet-popup-18733 .jet-popup__container-content{width:min(1100px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box!important}#jet-popup-18733 .jet-popup__container-content-inner{min-width:0!important;width:100%!important}#jet-popup-18733 .dscc-payout{padding:12px 3px;overflow-wrap:anywhere}

/* Keep the summary visible while only the checks and notes scroll. */
.dscc-payout-popup-content{width:100%!important;min-width:0!important;max-width:100%!important;height:min(78vh,790px);max-height:calc(100dvh - 100px);overflow:hidden!important;padding:0!important}
.dscc-payout-popup-content .dscc-payout{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;padding:0!important;overflow:hidden;overflow-wrap:anywhere}
.dscc-payout-popup-content .dscc-payout-summary{flex:none;padding:20px 50px 0 18px;background:#fff;z-index:2;border-bottom:1px solid #eceef1}
.dscc-payout-popup-content .dscc-payout-head{min-width:0;align-items:center}.dscc-payout-popup-content .dscc-payout-head>div:first-child{min-width:0}
.dscc-payout-popup-content .dscc-payout-progress{margin:15px 0 16px}
.dscc-payout-popup-content .dscc-payout-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:17px 18px 22px;overscroll-behavior:contain;scrollbar-width:thin}
.dscc-payout-popup-content .dscc-payout-groups{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dscc-payout-popup-content .dscc-payout-group{min-width:0;padding:14px}.dscc-payout-popup-content .dscc-payout-row{min-width:0}
#jet-popup-18733 .jet-popup__container,#jet-popup-18733 .jet-popup__container-inner{width:min(1000px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}
#jet-popup-18733 .jet-popup__container-content,#jet-popup-18733 .jet-popup__container-content-inner{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
@media(max-width:750px){.dscc-payout-popup-content{height:min(84vh,790px);max-height:calc(100dvh - 45px)}.dscc-payout-popup-content .dscc-payout-summary{padding:16px 45px 0 12px}.dscc-payout-popup-content .dscc-payout-scroll{padding:12px}.dscc-payout-popup-content .dscc-payout-groups{grid-template-columns:1fr}}
/* Search and assignment filters in a compact, responsive control surface. */
.dscc-payout-index .dscc-payout-search{display:grid;gap:16px;margin:0 0 20px;padding:18px;border:1px solid #e8ebf0;border-radius:13px;background:#f7f8fa}
.dscc-payout-index .dscc-payout-search-line{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.dscc-payout-index .dscc-payout-search-line label{flex-basis:100%;margin:0;color:#404750;font-weight:600;font-size:13px}
.dscc-payout-index .dscc-payout-search-line input{flex:1;min-width:190px;width:auto;min-height:42px;padding:10px 14px 10px 38px;border:1px solid #d6dce5;border-radius:9px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23838b97' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") no-repeat 12px center;font-size:14px}
.dscc-payout-index .dscc-payout-search button[type="submit"]{min-height:42px;padding:10px 18px;border-radius:9px;font:600 13px Arial,sans-serif}
.dscc-payout-index .dscc-payout-search a{align-self:center;padding:8px;color:#666e79;font-size:13px}
.dscc-deal-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dscc-deal-filters label{display:grid!important;gap:6px;margin:0!important;color:#606873;font-size:12px!important;font-weight:600}
.dscc-deal-filters select{width:100%;min-width:0;min-height:40px;margin:0;padding:8px 10px;border:1px solid #d6dce5;border-radius:8px;background:#fff;color:#303843;font-size:13px}
@media(max-width:700px){.dscc-deal-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.dscc-payout-index .dscc-payout-search{padding:14px}}
@media(max-width:420px){.dscc-deal-filters{grid-template-columns:1fr}}
.dscc-payout-list-row{display:block;padding:0}
.dscc-payout-row-link{display:grid;grid-template-columns:minmax(170px,2fr) minmax(100px,1fr) minmax(120px,1fr) auto;align-items:center;gap:14px;width:100%;padding:16px 18px;border-radius:inherit;color:inherit!important;text-decoration:none!important}
.dscc-payout-row-link:focus-visible{outline:2px solid #fc8100;outline-offset:2px}
@media(max-width:650px){.dscc-payout-row-link{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:13px}}

/* Current card treatment for the full payout checklist page. */
.dscc-payout-index-head{padding:24px 27px!important;border:1px solid #e8ebef;border-radius:14px;background:linear-gradient(137deg,#fff8ee,#fff 55%);margin-bottom:16px!important}
.dscc-payout-index-head h2{color:#27313d!important;font-size:26px!important}.dscc-payout-index-head p{color:#77818d}
.dscc-payout-index .dscc-payout-search{background:#fff;border-color:#e8ebef;box-shadow:0 4px 18px #26334108}
.dscc-payout-index .dscc-payout-list-row{border-color:#e7ebef;box-shadow:0 3px 14px #26334107;transform:none!important}
.dscc-payout-index .dscc-payout-list-row:hover{border-color:#f9bd7f;background:#fffaf5;box-shadow:0 6px 20px #26334110}
.dscc-payout-index .dscc-payout-row-link{grid-template-columns:36px minmax(160px,1.7fr) minmax(110px,1fr) minmax(135px,1fr) auto;gap:14px;padding:13px 16px}
.dscc-payout-list-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#fff0dc;color:#b4670a;font-size:14px;font-weight:800}
.dscc-payout-list-customer strong{font-size:13px;color:#27313d}.dscc-payout-list-reg,.dscc-payout-list-amount{font-size:12px;color:#687480}
@media(max-width:650px){.dscc-payout-index .dscc-payout-row-link{grid-template-columns:36px minmax(0,1fr);gap:8px}.dscc-payout-list-avatar{grid-row:1/4}.dscc-payout-list-customer,.dscc-payout-list-reg,.dscc-payout-list-amount,.dscc-payout-list-link{grid-column:2;grid-row:auto}.dscc-payout-index-head{padding:20px!important}}

.dscc-payout-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dscc-payout-view-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #e1e5e8;border-radius:10px;background:#fff}
.dscc-payout-index .dscc-payout-view-switch button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:32px!important;margin:0!important;padding:5px 9px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#5b6570!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;line-height:1.2!important;cursor:pointer}
.dscc-payout-index .dscc-payout-view-switch button svg{width:16px;height:16px}
.dscc-payout-index .dscc-payout-view-switch button:is(:hover,:focus-visible,[aria-pressed=true]){background:#fff0de!important;border-color:#f1c79b!important;color:#a85a08!important;outline:none!important}
.dscc-payout-index.is-grid .dscc-payout-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,275px),1fr));gap:13px}
.dscc-payout-index.is-grid .dscc-payout-list-row{min-width:0}
.dscc-payout-index.is-grid .dscc-payout-row-link{display:grid;grid-template-columns:42px minmax(0,1fr)!important;align-content:start;gap:9px 11px;min-height:181px;padding:18px!important}
.dscc-payout-index.is-grid .dscc-payout-list-avatar{grid-column:1;grid-row:1;width:42px;height:42px}
.dscc-payout-index.is-grid .dscc-payout-list-customer{grid-column:2;grid-row:1;align-self:center;min-width:0}
.dscc-payout-index.is-grid .dscc-payout-list-customer strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dscc-payout-index.is-grid :is(.dscc-payout-list-reg,.dscc-payout-list-amount){grid-column:1/-1;grid-row:auto;padding-top:7px;border-top:1px solid #eceef0}
.dscc-payout-index.is-grid .dscc-payout-list-link{grid-column:1/-1;grid-row:auto;justify-self:end;margin-top:auto}
@media(max-width:650px){.dscc-payout-head-actions{justify-content:flex-start}.dscc-payout-index.is-grid .dscc-payout-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}}
.dscc-payout-funding{margin:18px 0;padding:18px;border:1px solid #e4e6e8;border-radius:13px;background:#fff}.dscc-payout-funding h3{margin:0 0 8px!important;font-size:15px!important}.dscc-payout-funding p{font-size:12px;color:#636e77}.dscc-payout-funding ul{display:grid;gap:6px;list-style:none;margin:12px 0!important;padding:0!important}.dscc-payout-funding li{display:flex;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #efd8b7;border-radius:9px;background:#fff9f0;font-size:12px}.dscc-payout-funding li span{color:#9b6a2e}.dscc-payout-override-form{display:grid;gap:9px;margin-top:14px;padding-top:13px;border-top:1px solid #ede5da}.dscc-payout-override-form label{display:grid;gap:5px;font-size:12px;font-weight:700}.dscc-payout-override-form textarea{width:100%;min-height:75px;padding:10px;border:1px solid #d4d8dc;border-radius:9px;background:#fff;color:#29323b;font:inherit}.dscc-payout-override-form button{justify-self:start;padding:10px 14px;border:0;border-radius:9px;background:#bd660b;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.dscc-payout-override-active{padding:10px;border:1px solid #dcab67;border-radius:9px;background:#fff0d9;color:#835113!important;font-weight:700}
body.dscc-theme-dark .dscc-payout-funding{background:#1b2535!important;border-color:#36455c!important;color:#f2f2f2!important}body.dscc-theme-dark .dscc-payout-funding p{color:#c8c8c8!important}body.dscc-theme-dark .dscc-payout-funding li{background:#483a29!important;border-color:#987345!important;color:#f2f2f2!important}body.dscc-theme-dark .dscc-payout-funding li span{color:#ffd18f!important}body.dscc-theme-dark .dscc-payout-override-form textarea{background:#161e2a!important;border-color:#3a4960!important;color:#f1f1f1!important}body.dscc-theme-dark .dscc-payout-override-active{background:#523e22!important;border-color:#9d723e!important;color:#ffe0a7!important}
.dscc-payout-funding .dscc-payout-override-form button[type="submit"]{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:38px!important;padding:9px 14px!important;border:1px solid #fc8100!important;
 border-radius:9px!important;background:#fc8100!important;background-image:none!important;
 color:#fff!important;box-shadow:none!important;font:700 12px/1.35 "Open Sauce One","Open Sauce",Arial,sans-serif!important;
 text-transform:none!important;cursor:pointer!important
}
.dscc-payout-funding .dscc-payout-override-form button[type="submit"]:is(:hover,:focus-visible){
 background:#df7000!important;background-image:none!important;border-color:#df7000!important;color:#fff!important;box-shadow:none!important
}
/* The accordion affordance should stay quiet on hover; only the border responds. */
body .dscc-payout-settings .dscc-payout-setting-group{transition:border-color .16s ease,box-shadow .16s ease}
body .dscc-payout-settings .dscc-payout-setting-group:hover{border-color:#efbf8c;box-shadow:0 3px 14px rgba(58,39,18,.05)}
body .dscc-payout-settings button.dscc-payout-group-toggle,
body .dscc-payout-settings button.dscc-payout-group-toggle:is(:hover,:focus,:active,:focus-visible){background:transparent!important;border:0!important;color:#29333e!important;box-shadow:none!important;filter:none!important;transform:none!important;outline:0!important}
body .dscc-payout-settings button.dscc-payout-group-toggle:focus-visible{outline:2px solid #fc8100!important;outline-offset:-2px!important;border-radius:8px!important}
.dscc-payout-setting-group-head{grid-template-columns:minmax(0,1fr) 65px 75px;min-height:59px}
.dscc-payout-group-toggle{gap:12px!important;min-height:56px!important;padding:11px 7px!important}
.dscc-payout-group-chevron{display:block;flex:none;width:9px;height:9px;margin:0 4px 0 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .18s ease;color:#75818b}
.dscc-payout-group-toggle[aria-expanded=true] .dscc-payout-group-chevron{transform:rotate(45deg)}
.dscc-payout-group-toggle small{padding:3px 8px;border-radius:999px;background:#f5f6f7;color:#75818b}
.dscc-payout-setting-group-head>label,.dscc-payout-setting-row>label{min-height:34px;display:grid;place-items:center;margin:0}
body.dscc-theme-dark .dscc-payout-settings button.dscc-payout-group-toggle:is(:hover,:focus,:active){color:#eee!important}
body.dscc-theme-dark .dscc-payout-group-toggle small{background:#1e293a;color:#c4c4c4!important}
@media(max-width:650px){.dscc-payout-setting-group-head{grid-template-columns:minmax(0,1fr) 46px 60px}}

/* Broker checklist — current workspace surfaces, compact controls and clear states. */
.dscc-payout-modern{--pc-surface:rgba(255,255,255,.8);--pc-solid:#fff;--pc-soft:#f7f8f9;--pc-border:#e5e8eb;--pc-text:#303943;--pc-muted:#79818b;--pc-orange:#b9600b;--pc-orange-bg:#fff1e2;--pc-green:#347c49;--pc-green-bg:#e6f3ea;color:var(--pc-text)}
body.dscc-theme-dark .dscc-payout-modern{--pc-surface:rgba(17,24,34,.8);--pc-solid:#121924;--pc-soft:#161e2a;--pc-border:#1f2b3c;--pc-text:#eee;--pc-muted:#aaa;--pc-orange:#ffad57;--pc-orange-bg:rgba(252,129,0,.12);--pc-green:#91d5a4;--pc-green-bg:rgba(89,177,115,.14)}
.dscc-payout-index.dscc-payout-modern{padding:18px;max-width:none}
body .dscc-payout-modern .dscc-payout-index-head{padding:20px 22px!important;background:var(--pc-surface)!important;border:1px solid var(--pc-border)!important;border-radius:18px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 4px 18px rgba(0,0,0,.025);margin-bottom:16px!important}
body .dscc-payout-modern .dscc-payout-index-head h2{font-size:23px!important;font-weight:700;color:var(--pc-text)!important;margin:6px 0 7px!important}
body .dscc-payout-modern .dscc-payout-index-head p{font-size:12px!important;color:var(--pc-muted)!important;line-height:1.5}
body .dscc-payout-modern .dscc-payout-total{padding:6px 10px;border:1px solid var(--pc-border);background:var(--pc-soft)!important;color:var(--pc-muted)!important;font-size:11px}
body .dscc-payout-modern .dscc-payout-view-switch{padding:3px;background:var(--pc-soft)!important;border-color:var(--pc-border)!important;border-radius:11px}
body .dscc-payout-modern .dscc-payout-view-switch button{color:var(--pc-muted)!important;box-shadow:none!important}
body .dscc-payout-modern .dscc-payout-view-switch button:is(:hover,:focus-visible,[aria-pressed=true]){background:var(--pc-solid)!important;border-color:var(--pc-border)!important;color:var(--pc-orange)!important;box-shadow:0 2px 5px rgba(0,0,0,.04)!important}
body .dscc-payout-modern .dscc-payout-search{background:var(--pc-surface)!important;border-color:var(--pc-border)!important;padding:16px;border-radius:14px;gap:14px;margin-bottom:16px;box-shadow:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body .dscc-payout-modern .dscc-payout-search-line label,body .dscc-payout-modern .dscc-deal-filters label{color:var(--pc-muted)!important;font-size:11px!important;font-weight:600}
body .dscc-payout-modern .dscc-payout-search-line input{min-height:36px;height:36px;font-family:inherit;font-size:13px!important;color:var(--pc-text)!important;background-color:var(--pc-solid)!important;border-color:var(--pc-border)!important;padding-top:8px;padding-bottom:8px;border-radius:9px}
body .dscc-payout-modern .dscc-deal-filters{gap:10px 14px}
body .dscc-payout-modern .dscc-deal-filters select{min-height:34px;height:34px;padding:5px 32px 5px 10px;font-family:inherit;font-size:12px!important;color:var(--pc-text)!important;background-color:var(--pc-solid)!important;border-color:var(--pc-border)!important;border-radius:8px}
body .dscc-payout-modern .dscc-deal-filters select:hover{border-color:#e7ae73!important}
body .dscc-payout-modern .dscc-payout-search button[type="submit"],body .dscc-payout-modern .dscc-payout-note-form button{font-family:inherit!important;font-size:12px!important;font-weight:600;min-height:36px;padding:8px 15px;border-radius:9px;background:#fc8100!important;color:#fff!important;border:1px solid #fc8100!important;box-shadow:none!important}
body .dscc-payout-modern .dscc-payout-search button[type="submit"]:is(:hover,:active),body .dscc-payout-modern .dscc-payout-note-form button:is(:hover,:active){background:#df7200!important;border-color:#df7200!important}
body .dscc-payout-modern .dscc-payout-search a{font-size:12px;color:var(--pc-muted)!important}
body .dscc-payout-modern .dscc-payout-list-row{background:var(--pc-surface)!important;border:1px solid var(--pc-border)!important;border-radius:14px;box-shadow:0 3px 14px rgba(0,0,0,.025);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color .16s,box-shadow .16s}
body .dscc-payout-modern .dscc-payout-list-row:hover{background:var(--pc-surface)!important;border-color:#e7ae73!important;box-shadow:0 5px 18px rgba(0,0,0,.06)}
body .dscc-payout-modern .dscc-payout-list-avatar{border-radius:12px;background:var(--pc-orange-bg)!important;color:var(--pc-orange)!important;font-size:14px;font-weight:650}
body .dscc-payout-modern .dscc-payout-list-customer strong{color:var(--pc-text)!important;font-size:13px!important;font-weight:650}
body .dscc-payout-modern .dscc-payout-list-customer small,body .dscc-payout-modern .dscc-payout-list-reg,body .dscc-payout-modern .dscc-payout-list-amount{color:var(--pc-muted)!important;font-size:11px!important}
body .dscc-payout-modern .dscc-payout-list-link{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--pc-border);border-radius:9px;color:var(--pc-orange)!important;background:var(--pc-solid)!important;font-size:11px;font-weight:600;white-space:nowrap}
body .dscc-payout-modern.is-grid :is(.dscc-payout-list-reg,.dscc-payout-list-amount){border-color:var(--pc-border)!important}
body .dscc-payout-modern .dscc-payout-pages a,body .dscc-payout-modern .dscc-payout-selected>a{color:var(--pc-orange)!important;font-size:12px}
/* Detail view and the customer-profile popup use the same visual components. */
body .dscc-payout-modern.dscc-payout{color:var(--pc-text)!important}
body .dscc-payout-modern .dscc-payout-summary{background:var(--pc-surface)!important;border:1px solid var(--pc-border)!important;border-radius:16px;padding:18px;margin-bottom:16px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body .dscc-payout-modern .dscc-payout-head h2{font-size:21px!important;color:var(--pc-text)!important}
body .dscc-payout-modern .dscc-payout-head p,body .dscc-payout-modern .dscc-payout-readiness,body .dscc-payout-modern .dscc-payout-count span{color:var(--pc-muted)!important;font-size:11px}
body .dscc-payout-modern .dscc-payout-count{padding:10px 14px;border-radius:12px;background:var(--pc-orange-bg)!important;color:var(--pc-orange)!important}
body .dscc-payout-modern .dscc-payout-count strong{font-size:20px}
body .dscc-payout-modern .dscc-payout-progress{height:5px;margin:15px 0 0;background:var(--pc-border)!important}
body .dscc-payout-modern .dscc-payout-progress span{background:linear-gradient(90deg,#fc8100,#ffb34f)!important}
body .dscc-payout-modern .dscc-payout-groups{align-items:start;gap:14px}
body .dscc-payout-modern :is(.dscc-payout-group,.dscc-payout-notes,.dscc-payout-funding){background:var(--pc-surface)!important;border:1px solid var(--pc-border)!important;border-radius:14px;padding:16px;color:var(--pc-text)!important}
.dscc-payout-group-heading{display:flex;align-items:center;gap:9px;margin-bottom:12px;min-width:0}
body .dscc-payout-modern .dscc-payout-group-heading h3{margin:0!important;font-size:13px!important;font-weight:650;flex:1;color:var(--pc-text)!important}
.dscc-payout-group-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--pc-orange-bg);color:var(--pc-orange)}.dscc-payout-group-icon svg{width:17px;height:17px}
.dscc-payout-group-total{flex:none;font-size:10px;color:var(--pc-muted);background:var(--pc-soft);border:1px solid var(--pc-border);padding:3px 7px;border-radius:99px}
body .dscc-payout-modern .dscc-payout-row{gap:9px;min-height:49px;padding:8px 0;border-color:var(--pc-border)!important}
body .dscc-payout-modern .dscc-payout-label{font-size:12px;color:var(--pc-text)!important;font-weight:550}
body .dscc-payout-modern .dscc-payout-label small{font-size:11px;line-height:1.5;color:var(--pc-muted)!important}
body .dscc-payout-modern .dscc-payout-mark{width:18px;height:18px;border-radius:6px;border-color:var(--pc-border)!important;background:var(--pc-soft)!important}
body .dscc-payout-modern .dscc-payout-mark.is-done{background:var(--pc-green-bg)!important;border-color:transparent!important;color:var(--pc-green)!important}
body .dscc-payout-modern .dscc-payout-state{font-size:10px;padding:3px 7px;border-radius:99px;color:var(--pc-orange)!important;background:var(--pc-orange-bg)!important}
body .dscc-payout-modern .is-complete .dscc-payout-state{color:var(--pc-green)!important;background:var(--pc-green-bg)!important}
body .dscc-payout-modern .is-information .dscc-payout-state{color:var(--pc-muted)!important;background:var(--pc-soft)!important}
body .dscc-payout-modern .dscc-payout-required{background:var(--pc-orange-bg)!important;color:var(--pc-orange)!important;font-family:inherit;font-style:normal;font-size:9px;font-weight:600;border-radius:5px}
body .dscc-payout-modern :is(.dscc-payout-notes,.dscc-payout-funding) h3{font-size:13px!important;color:var(--pc-text)!important}
body .dscc-payout-modern :is(.dscc-payout-notes,.dscc-payout-funding) p{font-size:12px;color:var(--pc-muted)!important}
body .dscc-payout-modern .dscc-payout-funding li{background:var(--pc-soft)!important;border-color:var(--pc-border)!important;color:var(--pc-text)!important;font-size:12px;flex-wrap:wrap}
body .dscc-payout-modern .dscc-payout-funding li span{font-size:11px;color:var(--pc-orange)!important}
body .dscc-payout-modern :is(.dscc-payout-note-form,.dscc-payout-override-form) textarea{background:var(--pc-solid)!important;color:var(--pc-text)!important;border-color:var(--pc-border)!important;border-radius:9px;font-family:inherit;font-size:13px!important}
body .dscc-payout-modern :is(.dscc-payout-note,.dscc-payout-override-form){border-color:var(--pc-border)!important}
body .dscc-payout-modern .dscc-payout-note small{color:var(--pc-muted)!important}
.dscc-payout-modern :is(a,button,input,select,textarea):focus-visible{outline:2px solid #fc8100!important;outline-offset:2px}
.dscc-payout-popup-content .dscc-payout-modern .dscc-payout-summary{margin:0;border-radius:0;border-left:0!important;border-right:0!important;border-top:0!important;padding-right:48px}
@media(max-width:900px){.dscc-payout-modern .dscc-payout-index-head{align-items:flex-start;flex-direction:column;gap:14px}.dscc-payout-modern .dscc-payout-head-actions{justify-content:flex-start}}
@media(max-width:650px){.dscc-payout-index.dscc-payout-modern{padding:10px}.dscc-payout-modern .dscc-payout-index-head{padding:16px!important}.dscc-payout-modern .dscc-payout-search{padding:12px!important}.dscc-payout-modern .dscc-payout-row-link{grid-template-columns:36px minmax(0,1fr)!important}.dscc-payout-modern .dscc-payout-list-link{justify-self:start}.dscc-payout-modern .dscc-payout-groups{grid-template-columns:1fr}.dscc-payout-modern .dscc-payout-state{white-space:normal;text-align:center;max-width:65px}body .dscc-payout-modern :is(.dscc-payout-search-line input,.dscc-deal-filters select,.dscc-payout-note-form textarea,.dscc-payout-override-form textarea){font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.dscc-payout-modern *{transition:none!important}}

body .dscc-payout-modern .dscc-payout-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}body .dscc-payout-modern .dscc-payout-links a{display:inline-flex;padding:7px 11px;border:1px solid var(--pc-border);border-radius:9px;background:var(--pc-solid);color:var(--pc-orange)!important;font-size:11px;font-weight:600;text-decoration:none}body .dscc-payout-modern .dscc-payout-links a:hover{border-color:#fc8100}

.dscc-payout-row.is-overridden{background:#fff6e9}.dscc-payout-row.is-overridden .dscc-payout-state{color:#975004;background:#ffe5be}.dscc-payout-override-form select{width:100%;padding:10px;border:1px solid #e0e5eb;border-radius:8px;background:#fff}

/* 1.20.0: payout checklist v2: one required count, the deal stages, "what's still needed" first, clearer rows. */
.dscc-payout-v2 .dscc-payout-count{display:grid;justify-items:center;min-width:96px}
.dscc-payout-v2 .dscc-payout-count.is-done{background:var(--pc-green-bg)!important;color:var(--pc-green)!important}
.dscc-payout-v2 .dscc-payout-headline{margin:12px 0 0!important;font-size:15px!important;font-weight:700!important;line-height:1.35;color:var(--pc-text)!important}
.dscc-payout-v2 .dscc-payout-headline.is-warn{color:var(--pc-orange)!important}
.dscc-payout-v2 .dscc-payout-headline.is-done{color:var(--pc-green)!important}
.dscc-payout-v2 .dscc-payout-headline.is-ended{color:#b42318!important}
.dscc-payout-stages{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px!important;padding:0!important;list-style:none}
.dscc-payout-stages li{display:inline-flex;align-items:center;gap:7px;margin:0!important;padding:5px 11px 5px 6px;border:1px solid var(--pc-border);border-radius:99px;background:var(--pc-solid);color:var(--pc-muted);font-size:12px;font-weight:600}
.dscc-payout-stages li span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--pc-soft);font-size:11px;font-weight:700}
.dscc-payout-stages li.is-done{color:var(--pc-green);border-color:transparent;background:var(--pc-green-bg)}
.dscc-payout-stages li.is-done span{background:var(--pc-green);color:#fff}
.dscc-payout-stages li.is-current{color:var(--pc-orange);border-color:#f3c48f;background:var(--pc-orange-bg)}
.dscc-payout-stages li.is-current span{background:#fc8100;color:#fff}
.dscc-payout-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.dscc-payout-v2 .dscc-payout-tools .dscc-payout-links{margin:0!important}
.dscc-payout-hide-done{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;font-size:12px!important;font-weight:600;color:var(--pc-muted)!important;cursor:pointer}
.dscc-payout-hide-done input{width:15px;height:15px;margin:0;accent-color:#fc8100}
/* What's still needed: first thing in the scroll area. */
.dscc-payout-v2 .dscc-payout-needed{margin:0 0 14px!important}
.dscc-payout-v2 .dscc-payout-needed h3{margin:0 0 4px!important;font-size:14px!important}
.dscc-payout-v2 .dscc-payout-needed h4{display:flex;align-items:baseline;gap:8px;margin:12px 0 0!important;font-size:12px!important;font-weight:700!important;letter-spacing:.02em;color:var(--pc-text)!important}
.dscc-payout-v2 .dscc-payout-needed h4 small{font-weight:500;font-size:11.5px;color:var(--pc-muted)}
.dscc-payout-v2 .dscc-payout-needed ul{margin:6px 0 0!important}
.dscc-payout-v2 .dscc-payout-needed li{align-items:center;border-left:3px solid #fc8100!important}
.dscc-payout-v2 .dscc-payout-needed li strong{font-size:13px;font-weight:650}
.dscc-payout-v2 .dscc-payout-needed li span{font-size:12px!important}
.dscc-payout-v2 .dscc-payout-needed p.is-clear{color:var(--pc-green)!important;font-weight:600;font-size:13px}
.dscc-payout-optional-note{margin:10px 0 0!important;font-size:12px!important}
.dscc-payout-override{margin-top:12px}
.dscc-payout-override>summary{cursor:pointer;font-size:12.5px;font-weight:650;color:var(--pc-orange);list-style:none}
.dscc-payout-override>summary::-webkit-details-marker{display:none}
.dscc-payout-override>summary:before{content:"›";display:inline-block;margin-right:6px;transition:transform .15s}
.dscc-payout-override[open]>summary:before{transform:rotate(90deg)}
/* Group heading */
.dscc-payout-phase{margin-left:8px;padding:2px 7px;border-radius:6px;background:var(--pc-soft);color:var(--pc-muted);font-style:normal;font-size:10.5px;font-weight:650;vertical-align:1px}
.dscc-payout-v2 .dscc-payout-group-total{font-size:11.5px;font-weight:650;color:var(--pc-muted)}
.dscc-payout-v2 .dscc-payout-group.is-all-done .dscc-payout-group-total{color:var(--pc-green)}
/* Rows: easier to scan. Needed = orange, optional = grey, done = quiet. */
.dscc-payout-v2 .dscc-payout-row{align-items:flex-start;padding:10px 0 10px 10px!important;margin-left:-10px;border-left:3px solid transparent}
.dscc-payout-v2 .dscc-payout-row.is-needed{border-left-color:#fc8100}
.dscc-payout-v2 .dscc-payout-mark{margin-top:2px}
.dscc-payout-v2 .dscc-payout-label{display:grid;gap:3px}
.dscc-payout-v2 .dscc-payout-label-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--pc-text)}
.dscc-payout-v2 .dscc-payout-label small{font-size:12px;line-height:1.45}
.dscc-payout-v2 .dscc-payout-required{padding:2px 6px;font-size:10px!important}
.dscc-payout-v2 .dscc-payout-state{flex:none;max-width:none;margin-top:1px;padding:3px 9px;font-size:11px!important;font-weight:650}
.dscc-payout-v2 .is-optional .dscc-payout-state{color:var(--pc-muted)!important;background:var(--pc-soft)!important}
.dscc-payout-v2 .is-overridden .dscc-payout-state{color:#6941c6!important;background:#f4f0ff!important}
.dscc-payout-v2 .is-complete .dscc-payout-label-line{color:var(--pc-muted)}
.dscc-payout-v2 .is-complete .dscc-payout-required{background:var(--pc-soft)!important;color:var(--pc-muted)!important}
/* Hide completed */
.dscc-payout-v2.is-hide-done .dscc-payout-row.is-complete,.dscc-payout-v2.is-hide-done .dscc-payout-row.is-information,.dscc-payout-v2.is-hide-done .dscc-payout-row.is-overridden,.dscc-payout-v2.is-hide-done .dscc-payout-group.is-all-done{display:none!important}
.dscc-payout-v2 .dscc-payout-needed h3{font-weight:700!important}
/* 1.23.0: no extra line down the side of checklist items (the Needed pill already marks them). */
.dscc-payout-v2 .dscc-payout-needed li{border-left:1px solid #e6e9ed!important}
.dscc-payout-v2 .dscc-payout-row,.dscc-payout-v2 .dscc-payout-row.is-needed{margin-left:0!important;padding-left:0!important;border-left:0!important;box-shadow:none!important}
.dscc-payout-v2 .dscc-payout-group ul,.dscc-payout-v2 .dscc-payout-group ol,.dscc-payout-v2 .dscc-payout-items{border-left:0!important;padding-left:0!important;margin-left:0!important}
/* 1.30.0: two requirement columns (lender payout, funding) */
html body .dscc-payout-settings-split .dscc-payout-settings-head,html body .dscc-payout-settings-split .dscc-payout-setting-row,html body .dscc-payout-settings-split .dscc-payout-setting-group-head{grid-template-columns:minmax(0,1fr) 52px 92px 74px!important}
html body .dscc-payout-settings-split .dscc-payout-settings-head>span:not(:first-child){text-align:center;line-height:1.25}
html body .dscc-payout-settings-split .dscc-payout-settings-head small{display:block;font-size:9.5px;font-weight:600;color:#8b9097;text-transform:none}
@media(max-width:650px){html body .dscc-payout-settings-split .dscc-payout-settings-head,html body .dscc-payout-settings-split .dscc-payout-setting-row,html body .dscc-payout-settings-split .dscc-payout-setting-group-head{grid-template-columns:minmax(0,1fr) 40px 64px 56px!important}}
.dscc-payout-required.is-payout-only,.dscc-payout-required.is-funding-only{background:#eef4ff;color:#3561b5}
.dscc-payout-needed h4 small{font-weight:500}
html body .dscc-payout-settings-split .dscc-payout-na{display:grid;place-items:center;color:#b3b8be;font-size:13px}

/* 1.68.80: compact toolbar + Filters pop-out */
body .dscc-payout-modern .dscc-payout-search{display:block;padding:12px 14px;position:relative;z-index:5}
body .dscc-payout-modern .dscc-payout-search-line{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.dscc-payout-search-field{position:relative;flex:1;min-width:0;display:flex}
.dscc-payout-search-field svg{position:absolute;left:12px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:#8a929c;pointer-events:none}
body .dscc-payout-modern .dscc-payout-search-field input{flex:1;width:100%;padding-left:36px!important}
.dscc-payout-filter-wrap{position:relative;flex:0 0 auto}
body .dscc-payout-modern .dscc-payout-filter-toggle{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border:1px solid var(--pc-border,#e3e6eb);border-radius:9px;background:var(--pc-solid,#fff);color:#3b4450;font:600 12px/1 inherit;font-family:inherit;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
body .dscc-payout-modern .dscc-payout-filter-toggle svg{width:15px;height:15px}
body .dscc-payout-modern .dscc-payout-filter-toggle:hover,body .dscc-payout-modern .dscc-payout-filter-toggle[aria-expanded="true"],body .dscc-payout-modern .dscc-payout-filter-toggle.is-active{border-color:#f3c48f;background:#fff7ee;color:#b9600b}
.dscc-payout-filter-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:linear-gradient(115deg,#ffb547,#fc8100);color:#fff;font-size:10px;font-weight:700}
.dscc-payout-filter-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:min(560px,calc(100vw - 32px));padding:16px;border:1px solid #eceff3;border-radius:16px;background:#fff;box-shadow:0 18px 44px rgba(24,35,50,.14)}
.dscc-payout-filter-pop[hidden]{display:none!important}
.dscc-payout-filter-pop-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.dscc-payout-filter-pop-head strong{font-size:14px;font-weight:650;color:#303943}
body .dscc-payout-modern .dscc-payout-filter-pop-head a{padding:0;font-size:12px;color:#b9600b!important}
body .dscc-payout-modern .dscc-payout-filter-pop .dscc-deal-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.dscc-payout-filter-pop-foot{display:flex;justify-content:flex-end;margin-top:14px}
body .dscc-payout-modern .dscc-payout-filter-pop .dscc-search-select>.dscc-search-select-toggle{min-height:34px!important;height:34px!important;padding:5px 10px!important;border:1px solid var(--pc-border,#e3e6eb)!important;border-radius:8px!important;background:var(--pc-solid,#fff)!important;color:var(--pc-text,#303843)!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important}
body .dscc-payout-modern .dscc-payout-filter-pop .dscc-search-select>.dscc-search-select-toggle:is(:hover,[aria-expanded="true"]){border-color:#e7ae73!important;background:var(--pc-solid,#fff)!important;color:var(--pc-text,#303843)!important}
body .dscc-payout-modern .dscc-payout-search-clear{flex:0 0 auto}
@media(max-width:650px){body .dscc-payout-modern .dscc-payout-search-line{flex-wrap:wrap}.dscc-payout-search-field{flex-basis:100%}.dscc-payout-filter-pop{right:auto;left:0}body .dscc-payout-modern .dscc-payout-filter-pop .dscc-deal-filters{grid-template-columns:1fr}}
/* 1.68.92: Filters button sized like the rest of the toolbar */
html body .dscc-payout-modern .dscc-payout-filter-toggle{height:36px!important;padding:0 14px!important;font-family:inherit!important;font-size:12.5px!important;font-weight:650!important;line-height:1!important;letter-spacing:0!important;border-radius:10px!important}
html body .dscc-payout-modern .dscc-payout-search-go{height:36px!important;min-height:36px!important}
/* 1.68.184: needed items open their document */
.dscc-payout .is-openable{cursor:pointer;transition:border-color .15s,background .15s}
.dscc-payout li.is-openable:hover,.dscc-payout .dscc-payout-row.is-openable:hover{border-color:#f2c99d!important;background:#fff8f0!important}
.dscc-payout li.is-openable strong::after,.dscc-payout .dscc-payout-row.is-openable .dscc-payout-row-title::after{content:" ›";color:#c25f00;font-weight:700}
.dscc-payout .is-openable:focus-visible{outline:2px solid #fc8100;outline-offset:2px}
/* 1.68.186: payout task switch in checklist settings; extra list filters */
.dscc-payout-settings .dscc-payout-task-toggle{display:flex!important;gap:10px;align-items:flex-start;margin:14px 0 12px!important;padding:12px 14px;border:1px solid #eff1f4;border-radius:12px;background:#fffaf5;color:#29323d;font-size:13px;cursor:pointer}
.dscc-payout-settings .dscc-payout-task-toggle input{flex:none;margin:2px 0 0!important;accent-color:#fc8100}
.dscc-payout-settings .dscc-payout-task-toggle span{display:grid;gap:3px}
.dscc-payout-settings .dscc-payout-task-toggle small{color:#6b7682;font-size:12px;line-height:1.45}
.dscc-payout-list-filters{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #eff1f4}

/* 1.68.278: everything required done: the bar turns green. */
html body .dscc-payout-progress.is-complete span,html body .dscc-payout-modern .dscc-payout-progress.is-complete span{background:linear-gradient(90deg,#22a35a,#4cc27f)!important}

/* assets/notifications.css */
#dscc-notification-tray{position:fixed;z-index:2147483647;top:22px;right:22px;display:flex;flex-direction:column;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}
.dscc-notification{display:flex;align-items:center;gap:11px;min-height:54px;padding:12px 13px;border:1px solid rgba(255,255,255,.75);border-radius:13px;background:rgba(255,255,255,.78);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);box-shadow:0 12px 32px rgba(25,31,40,.17);color:#23272e;font:600 13px/1.4 system-ui,sans-serif;pointer-events:auto;animation:dscc-toast-in .2s ease-out}
.dscc-notification-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#e2f4e4;color:#26803d;font-size:15px}.dscc-notification-error .dscc-notification-icon{background:#fff0ed;color:#c64737}
.dscc-notification>span:not(.dscc-notification-icon){flex:1 1 0;min-width:0;overflow-wrap:anywhere}.dscc-notification button,.dscc-notification button:hover,.dscc-notification button:focus{display:grid!important;place-items:center!important;flex:0 0 25px!important;align-self:center!important;width:25px!important;min-width:25px!important;max-width:25px!important;height:25px!important;min-height:25px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(40,45,55,.07)!important;color:#505660!important;box-shadow:none!important;outline:0!important;font:20px/1 Arial,sans-serif!important;cursor:pointer!important}.dscc-notification button:focus-visible{outline:2px solid #fc8100!important;outline-offset:2px!important}
@keyframes dscc-toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){#dscc-notification-tray{top:12px;right:12px;width:calc(100vw - 24px)}}

/* assets/document-camera.css */
/* 1.68.58: camera-only documents. The customer or dealer takes photos and videos there and then (no file uploads). */
.dscc-camera-pick{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:18px;border:1px solid #eceef1;border-radius:var(--dscc-popup-upload-radius,12px);background:#fbfbfc;text-align:center}
.dscc-camera-pick .dscc-upload-input{display:none!important}
.dscc-camera-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dscc-camera-pick .dscc-camera-btn{display:inline-flex!important;min-height:58px!important;margin:0!important;padding:10px 18px!important;align-items:center!important;justify-content:center!important;gap:10px!important;border:0!important;border-radius:999px!important;background:linear-gradient(115deg,#ffb547 0%,#fc8100 45%,#e8501a 100%)!important;color:#fff!important;font:inherit!important;font-size:15.5px!important;font-weight:600!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;box-shadow:0 6px 16px rgba(232,80,26,.22)!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;transition:transform .12s ease,filter .12s ease,box-shadow .12s ease}
.dscc-camera-pick .dscc-camera-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}
.dscc-camera-pick .dscc-camera-btn:focus-visible{outline:3px solid rgba(252,129,0,.35)!important;outline-offset:2px!important}
.dscc-camera-pick .dscc-camera-btn.is-secondary{border:1px solid #e6e9ed!important;background:#fff!important;color:#2b3138!important;box-shadow:none!important}
.dscc-camera-pick .dscc-camera-btn.is-secondary:hover{border-color:#f2c99d!important;background:#fff8ef!important;color:#b25b00!important;filter:none}
.dscc-camera-pick .dscc-camera-btn svg{flex:none}
.dscc-camera-lead{margin:2px 0 0!important;color:#3a4148;font-size:14px;font-weight:500;line-height:1.4}
.dscc-camera-hint{color:#777b81;font-size:12px;line-height:1.4}
.dscc-camera-error{margin:0!important;padding:9px 12px;border-radius:9px;background:#fff1ec;color:#a2380f;font-size:13px;line-height:1.4;text-align:left}
.dscc-camera-error[hidden]{display:none!important}
.dscc-replacement-upload .dscc-camera-pick{padding:14px}
.dscc-camera-upload .dscc-upload-item{gap:10px}
.dscc-camera-upload .dscc-upload-item>span{flex:1 1 auto;min-width:0}
.dscc-camera-upload .dscc-camera-thumb{flex:none;width:44px;height:44px;border-radius:8px;object-fit:cover;background:#eef0f3}
.dscc-camera-upload .dscc-camera-vthumb{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:8px;background:#20262e;color:#fff}
@media(max-width:480px){.dscc-camera-actions{grid-template-columns:1fr}}

/* The camera window. */
.dscc-cam{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-width:none;height:min(640px,calc(100vh - 32px));max-height:none;margin:auto;padding:0;overflow:hidden;border:0;border-radius:20px;background:#0d1015;color:#fff;box-shadow:0 30px 80px rgba(0,0,0,.45);font-family:"Open Sauce One","Open Sauce",Arial,sans-serif}
.dscc-cam[open]{display:flex;flex-direction:column}
.dscc-cam.is-fallback{position:fixed;inset:0;z-index:2147483000}
.dscc-cam::backdrop{background:rgba(10,13,18,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.dscc-cam *{box-sizing:border-box}
.dscc-cam-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px}
.dscc-cam-head strong{font-size:15px;font-weight:600}
.dscc-cam-count{color:#c9ced6;font-size:13px}
.dscc-cam-stage{position:relative;flex:1 1 auto;min-height:0;margin:0 12px;overflow:hidden;border-radius:14px;background:#000}
.dscc-cam-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.dscc-cam-stage video.is-mirrored{transform:scaleX(-1)}
.dscc-cam-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;transition:opacity .25s ease}
.dscc-cam-flash.is-on{opacity:.75;transition:none}
.dscc-cam-msg{position:absolute;left:50%;top:50%;width:min(420px,calc(100% - 32px));margin:0!important;padding:16px 18px;border-radius:14px;background:rgba(20,24,31,.92);color:#fff;font-size:14.5px;line-height:1.5;text-align:center;transform:translate(-50%,-50%)}
.dscc-cam-msg[hidden],.dscc-cam [hidden]{display:none!important}
.dscc-cam-msg button{margin-top:12px!important}
.dscc-cam-timer{position:absolute;left:50%;top:12px;display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;background:rgba(0,0,0,.6);font-size:14px;font-variant-numeric:tabular-nums;transform:translateX(-50%)}
.dscc-cam-timer::before{content:"";width:9px;height:9px;border-radius:50%;background:#ff3b30;animation:dscc-cam-blink 1s steps(2,start) infinite}
@keyframes dscc-cam-blink{to{visibility:hidden}}
.dscc-cam-thumbs{display:flex;gap:8px;min-height:0;margin:10px 12px 0;padding:0 0 2px;overflow-x:auto;scrollbar-width:thin}
.dscc-cam-thumbs:empty{display:none}
.dscc-cam-thumbs>*{flex:none;width:54px;height:54px;border-radius:9px;object-fit:cover;background:#222}
.dscc-cam-thumbs .dscc-cam-vt{display:grid;place-items:center;border:1px solid #39414d;color:#fff;font-size:11px}
.dscc-cam-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px))}
.dscc-cam .dscc-cam-side{display:inline-flex!important;justify-self:start;width:48px!important;height:48px!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:none!important;cursor:pointer!important}
.dscc-cam .dscc-cam-side:hover{background:rgba(255,255,255,.24)!important}
.dscc-cam .dscc-cam-side[hidden]{display:none!important}
.dscc-cam .dscc-cam-shutter{position:relative;display:inline-block!important;width:76px!important;height:76px!important;margin:0!important;padding:0!important;border:4px solid #fff!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;cursor:pointer!important}
.dscc-cam .dscc-cam-shutter>span{position:absolute;inset:5px;border-radius:50%;background:#fff;transition:inset .15s ease,border-radius .15s ease,background .15s ease}
.dscc-cam .dscc-cam-shutter:active>span{inset:9px}
.dscc-cam.is-video .dscc-cam-shutter>span{background:#ff3b30}
.dscc-cam.is-recording .dscc-cam-shutter>span{inset:22px;border-radius:7px}
.dscc-cam .dscc-cam-shutter:disabled{opacity:.45;cursor:default!important}
.dscc-cam .dscc-cam-shutter:focus-visible,.dscc-cam .dscc-cam-side:focus-visible,.dscc-cam .dscc-cam-done:focus-visible{outline:3px solid #ffb547!important;outline-offset:3px!important}
.dscc-cam .dscc-cam-done{justify-self:end;display:inline-flex!important;min-width:96px!important;height:46px!important;margin:0!important;padding:0 22px!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:999px!important;background:linear-gradient(115deg,#ffb547 0%,#fc8100 45%,#e8501a 100%)!important;color:#fff!important;font:inherit!important;font-size:15px!important;font-weight:600!important;text-transform:none!important;box-shadow:none!important;cursor:pointer!important}
.dscc-cam .dscc-cam-done:disabled{opacity:.6;cursor:default!important}
.dscc-cam .dscc-cam-plain{display:inline-flex!important;min-height:42px!important;padding:0 18px!important;align-items:center!important;border:1px solid #e6e9ed!important;border-radius:999px!important;background:#fff!important;color:#2b3138!important;font:inherit!important;font-weight:600!important;text-transform:none!important;box-shadow:none!important;cursor:pointer!important}
.dscc-cam .dscc-cam-plain:hover{border-color:#f2c99d!important;background:#fff8ef!important;color:#b25b00!important}
@media(max-width:700px){
 .dscc-cam{width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:none;margin:0;border-radius:0}
 .dscc-cam-stage{margin:0;border-radius:0}
 .dscc-cam-stage video{object-fit:cover}
 .dscc-cam-thumbs{margin:10px 12px 0}
}

/* Dark mode. */
body.dscc-theme-dark .dscc-camera-pick{background:#171f2c;border-color:#35445b}
body.dscc-theme-dark .dscc-camera-lead{color:#e6e6e6}
body.dscc-theme-dark .dscc-camera-hint{color:#a9b1bd}
body.dscc-theme-dark .dscc-camera-pick .dscc-camera-btn.is-secondary{border-color:#35445b!important;background:#1f2b3c!important;color:#f2f2f2!important}
body.dscc-theme-dark .dscc-camera-pick .dscc-camera-btn.is-secondary:hover{border-color:#e69b50!important;background:#263449!important;color:#ffc58a!important}
body.dscc-theme-dark .dscc-camera-error{background:#3a2119;color:#ffb59a}

/* assets/document-cards.css */
.dscc-document-cards{display:block;width:100%;font-family:"Open Sauce One","Open Sauce",Arial,sans-serif}.dscc-document-group{margin:0 0 22px}.dscc-document-group h3{margin:0 0 12px!important;font-size:18px!important;line-height:1.25!important;font-weight:600!important;color:#1d1d1f!important}.dscc-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--dscc-card-gap,14px)!important}.dscc-document-cards .dscc-document-card{position:relative!important;display:flex!important;box-sizing:border-box!important;min-width:0!important;min-height:var(--dscc-card-min-height,82px)!important;padding:var(--dscc-card-padding-y,16px) var(--dscc-card-padding-x,14px)!important;overflow:hidden!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:0!important;border-radius:var(--dscc-card-radius,14px)!important;outline:0!important;color:#fff;font:inherit!important;text-align:center!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;transition:transform .15s ease,filter .15s ease!important}.dscc-document-cards .dscc-document-card:focus,.dscc-document-cards .dscc-document-card:focus-visible{outline:2px solid rgba(252,129,0,.32)!important;outline-offset:2px!important}.dscc-document-card:not(:disabled):hover{filter:brightness(1.035);transform:translateY(-1px)}.dscc-document-card:disabled{cursor:default}.dscc-document-cards .dscc-document-card,.dscc-document-cards .dscc-document-card *{font-family:"Open Sauce One","Open Sauce",Arial,sans-serif!important}.dscc-document-cards .dscc-document-title{position:relative;z-index:2;display:block;max-width:100%;overflow:hidden;font-size:var(--dscc-card-title-size,17px)!important;line-height:1.18!important;font-weight:600!important;color:inherit!important;text-overflow:ellipsis;white-space:nowrap}.dscc-document-cards .dscc-document-status{position:relative;z-index:2;display:inline-flex;box-sizing:border-box;min-height:26px;padding:5px 20px!important;align-items:center;justify-content:center;border:0!important;border-radius:var(--dscc-card-status-radius,999px)!important;background:rgba(255,255,255,.22)!important;font-size:var(--dscc-card-status-size,12px)!important;line-height:16px!important;font-weight:500!important;color:inherit!important;box-shadow:none!important}.dscc-state-not_required{background:var(--dscc-not-required)!important;color:var(--dscc-not-required-text)!important}.dscc-state-requested{background:var(--dscc-requested)!important;color:var(--dscc-requested-text)!important}.dscc-state-uploading{background:var(--dscc-uploading)!important;color:var(--dscc-uploading-text)!important}.dscc-state-reviewing{background:var(--dscc-reviewing)!important;color:var(--dscc-reviewing-text)!important}.dscc-state-completed{background:var(--dscc-completed)!important;color:var(--dscc-completed-text)!important}.dscc-state-declined{background:var(--dscc-declined)!important;color:var(--dscc-declined-text)!important}.dscc-document-progress{position:absolute;z-index:1;left:0;right:0;bottom:0;height:5px;background:rgba(0,0,0,.14);opacity:0}.dscc-document-progress span{display:block;width:0;height:100%;background:rgba(255,255,255,.92);transition:width .15s ease}.dscc-state-uploading .dscc-document-progress{opacity:1}.dscc-document-workflow{box-sizing:border-box;width:min(var(--dscc-popup-width,560px),calc(100vw - 34px));max-width:100%;padding:0!important;font-family:"Open Sauce One","Open Sauce",Arial,sans-serif!important}.dscc-workflow-loading{padding:40px;text-align:center;color:#777}.dscc-awaiting{margin:0;padding:12px 16px;border-radius:9px;background:#f4f4f5;text-align:center;font-weight:500}@media(max-width:767px){.dscc-document-grid{grid-template-columns:1fr}.dscc-document-cards .dscc-document-card{min-height:70px!important}.dscc-document-workflow{width:100%}}
/* An upload keeps the requested/upload palette until it reaches review. */
.dscc-document-cards .dscc-state-uploading{background:var(--dscc-requested)!important;color:var(--dscc-requested-text)!important;opacity:.72;outline:3px solid #fc8100!important;outline-offset:2px!important;filter:none!important}
.dscc-document-cards .dscc-state-uploading .dscc-document-progress{opacity:1}
@media(max-width:1024px){
 .dscc-document-cards{max-width:720px;margin-inline:auto;padding-bottom:calc(180px + env(safe-area-inset-bottom));box-sizing:border-box}
 .dscc-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:419px){.dscc-document-grid{grid-template-columns:1fr!important}}
/* Even narrow phones retain two compact document columns. */
.dscc-document-cards .dscc-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:340px){.dscc-document-cards .dscc-document-grid{gap:7px!important}.dscc-document-cards .dscc-document-card{padding:9px 5px!important}.dscc-document-cards .dscc-document-title{font-size:13px!important}.dscc-document-cards .dscc-document-status{padding:3px 7px!important;font-size:10px!important}}
.dscc-magic-cards,.dscc-magic-cards .dscc-document-group:last-child{margin-bottom:0!important;padding-bottom:0!important}
.dscc-document-cards .dscc-state-not_required .dscc-document-status{color:var(--dscc-not-required-button-text)!important}
.dscc-document-cards .dscc-state-requested .dscc-document-status{color:var(--dscc-requested-button-text)!important}
.dscc-document-cards .dscc-state-uploading .dscc-document-status{color:var(--dscc-uploading-button-text)!important}
.dscc-document-cards .dscc-state-reviewing .dscc-document-status{color:var(--dscc-reviewing-button-text)!important}
.dscc-document-cards .dscc-state-completed .dscc-document-status{color:var(--dscc-completed-button-text)!important}
.dscc-document-cards .dscc-state-declined .dscc-document-status{color:var(--dscc-declined-button-text)!important}
.dscc-lazy-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:720px;min-height:100px;margin-inline:auto;padding:8px 0 180px}.dscc-lazy-document-skeleton{height:84px;border-radius:12px;background:linear-gradient(105deg,#e8e9eb 16%,#f7f7f8 50%,#e8e9eb 84%);background-size:220% 100%;animation:dscc-doc-shimmer 1.2s ease-in-out infinite}@keyframes dscc-doc-shimmer{to{background-position-x:-220%}}@media(max-width:340px){.dscc-lazy-documents{gap:7px}.dscc-lazy-document-skeleton{height:68px}}
/* Document review now shares the customer profile's on-demand dialog pattern. */
.dscc-document-dialog-overlay{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:20px;background:rgba(30,36,45,.46);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.dscc-document-dialog{display:flex;flex-direction:column;width:min(860px,100%);max-height:calc(100dvh - 40px);min-height:0;overflow:hidden;border:1px solid #e6e8ed;border-radius:16px;background:#fff;box-shadow:0 25px 95px rgba(15,22,35,.22);color:#28303b;font-family:inherit}
.dscc-document-dialog>header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid #e9eaed}.dscc-document-dialog>header h2{margin:0!important;color:#28303b;font-size:17px!important;font-weight:700!important}.dscc-document-dialog-close{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:1px solid #e3e5e8!important;border-radius:8px!important;background:#fff!important;color:#4a5560!important;font:22px/1 Arial,sans-serif!important;cursor:pointer}.dscc-document-dialog-close:hover{border-color:#fc8100!important;background:#fff6ed!important;color:#b65b00!important}.dscc-document-dialog>.dscc-document-workflow{flex:1;min-height:0;width:100%!important;max-width:none!important;overflow:auto;padding:20px 22px!important;overscroll-behavior:contain}@media(max-width:640px){.dscc-document-dialog-overlay{padding:8px}.dscc-document-dialog{max-height:calc(100dvh - 16px)}.dscc-document-dialog>.dscc-document-workflow{padding:14px!important}}
/* The native dialog already names the document in its own accessible header. */
.dscc-document-dialog .dscc-workflow-header>h2{display:none!important}
.dscc-document-dialog-heading{min-width:0}.dscc-document-dialog-description{margin:4px 0 0!important;color:#727b87;font-size:12px!important;line-height:1.4!important;font-weight:400!important}.dscc-document-dialog-description[hidden]{display:none!important}
/* The workflow body scrolls; its footer spans the dialog edge. */
.dscc-document-dialog>.dscc-document-workflow{padding:0!important;overflow:auto!important}
.dscc-document-dialog>.dscc-document-workflow{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y}
.dscc-document-dialog .dscc-workflow-body{flex:none!important;max-height:none!important;overflow:visible!important}
.dscc-document-dialog .dscc-workflow-panel{border:0!important;border-radius:0!important;max-height:none!important;overflow:visible!important}
.dscc-document-dialog .dscc-workflow-body{padding:20px 24px!important}
.dscc-document-dialog .dscc-workflow-footer{width:100%!important;margin:0!important;padding:16px 24px!important;border-top:1px solid #e9eaed!important;background:#fff!important}
.dscc-document-dialog .dscc-workflow-header{display:none!important}
@media(max-width:640px){.dscc-document-dialog .dscc-workflow-body{padding:16px!important}.dscc-document-dialog .dscc-workflow-footer{padding:14px 16px!important}}
/* Upload and review buttons can sit inside a form nested in the body. */
.dscc-document-dialog .dscc-workflow-body .dscc-workflow-footer{width:calc(100% + 48px)!important;margin:20px -24px -20px!important;padding:16px 24px!important}
.dscc-document-dialog:has(.dscc-sign-footer)>.dscc-document-workflow{overflow:hidden!important}.dscc-document-dialog:has(.dscc-sign-footer) .dscc-workflow-panel{display:flex!important;flex-direction:column!important;height:100%!important;max-height:100%!important;overflow:hidden!important}.dscc-document-dialog:has(.dscc-sign-footer) .dscc-workflow-body{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain}.dscc-document-dialog:has(.dscc-sign-footer) .dscc-sign-footer{flex:none!important;position:relative!important;z-index:2;box-shadow:0 -8px 18px #19212b09}.jet-popup .dscc-document-workflow .dscc-sign-footer{position:sticky!important;bottom:0!important;z-index:10;background:#fff!important}
@media(max-width:640px){.dscc-document-dialog .dscc-workflow-body .dscc-workflow-footer{width:calc(100% + 32px)!important;margin:16px -16px -16px!important;padding:14px 16px!important}}
/* Signing dialogs always have one scroll area between the title and action bar. */
.dscc-document-dialog.is-signing{height:min(900px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important}
.dscc-document-dialog.is-signing>.dscc-document-workflow{display:flex!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
.dscc-document-dialog.is-signing .dscc-workflow-panel{display:flex!important;flex:1 1 0!important;flex-direction:column!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
.dscc-document-dialog.is-signing .dscc-workflow-body{flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.dscc-document-dialog.is-signing .dscc-sign-footer{display:flex!important;flex:0 0 auto!important;position:relative!important;bottom:auto!important;z-index:3!important;width:100%!important;margin:0!important;background:#fff!important;box-shadow:0 -8px 18px #19212b09}
.jet-popup .dscc-document-workflow.is-signing{display:flex!important;flex-direction:column!important;min-height:0!important;max-height:calc(100dvh - 90px)!important;overflow:hidden!important}
.jet-popup .dscc-document-workflow.is-signing .dscc-workflow-panel{display:flex!important;flex-direction:column!important;min-height:0!important;height:min(82dvh,900px)!important;max-height:calc(100dvh - 90px)!important;overflow:hidden!important}
.jet-popup .dscc-document-workflow.is-signing .dscc-workflow-body{flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.jet-popup .dscc-document-workflow.is-signing .dscc-sign-footer{flex:0 0 auto!important;position:relative!important;bottom:auto!important;margin:0!important;background:#fff!important}
@media(max-width:640px){.dscc-document-dialog.is-signing{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}}
/* Shared document layout switch. All groups on the current page move together. */
.dscc-document-view-bar{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-height:38px;margin:0 0 13px;color:#71808c;font-size:11px;font-weight:700}
.dscc-document-view-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #e1e6eb;border-radius:9px;background:#f4f6f8}
.dscc-document-cards .dscc-document-view-switch button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-width:66px!important;min-height:32px!important;margin:0!important;padding:6px 9px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#63717d!important;box-shadow:none!important;font-family:inherit!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;cursor:pointer!important}
.dscc-document-view-switch button svg{display:block;width:15px;height:15px;flex:none}
.dscc-document-cards .dscc-document-view-switch button[aria-pressed="true"]{border-color:#f0c99e!important;background:#fff!important;color:#ab5707!important;box-shadow:0 2px 7px #17233212!important}
.dscc-document-cards .dscc-document-view-switch button:hover{background:#fff8ef!important;color:#ae5908!important}
.dscc-document-cards[data-layout="list"] .dscc-document-grid{grid-template-columns:minmax(0,1fr)!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;gap:12px!important;min-height:62px!important;padding:11px 15px!important;border:1px solid #e5e9ed!important;border-left:3px solid #dd8d33!important;border-radius:10px!important;background:#fff!important;color:#2e3944!important;text-align:left!important;filter:none!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card:is(:hover,:focus-visible){border-color:#edb475!important;background:#fff9f1!important;transform:none!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card .dscc-document-title{min-width:0;white-space:normal;font-size:13px!important;font-weight:700!important;line-height:1.35!important;color:inherit!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card .dscc-document-status{justify-self:end;min-height:26px;padding:5px 9px!important;border-radius:7px!important;background:#fff1e2!important;color:#9d550e!important;font-size:10px!important;font-weight:750!important;white-space:nowrap}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-not_required{border-left-color:#818b95!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-not_required .dscc-document-status{background:#eef0f2!important;color:#59646e!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-requested{border-left-color:#d87d24!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-uploading{border-left-color:#d55938!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-reviewing{border-left-color:#c6aa38!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-completed{background:#f1f9f2!important;border-left-color:#4f9b66!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-completed .dscc-document-status{background:#e8f5eb!important;color:#317147!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-declined{border-left-color:#c34e59!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-declined .dscc-document-status{background:#fcebea!important;color:#a33f3b!important}
.dscc-document-cards[data-layout="list"] .dscc-document-card.dscc-state-reviewing .dscc-document-status{background:#fff3dc!important;color:#936000!important}
.dscc-document-cards[data-layout="list"] .dscc-document-progress{grid-column:1/-1}
@media(max-width:500px){.dscc-document-cards[data-layout="list"] .dscc-document-card{min-height:58px!important;padding:10px 11px!important}.dscc-document-cards[data-layout="list"] .dscc-document-card .dscc-document-title{font-size:12px!important}.dscc-document-cards[data-layout="list"] .dscc-document-card .dscc-document-status{font-size:9px!important;padding:4px 6px!important}}

/* CRM documents share the magic link's neutral tile and coloured status tag.
   Only a verified tile has a full state colour. Keep this after the configurable
   gradient rules so older saved colour settings cannot restore full-card fills. */
.dscc-document-cards:not(.dscc-magic-cards){container-type:inline-size}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="grid"] .dscc-document-card{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
 gap:10px!important;min-height:74px!important;padding:11px 12px!important;
 border:1px solid #e8ecef!important;border-radius:11px!important;
 background:#fbfcfc!important;color:#29333e!important;text-align:left!important;
 box-shadow:none!important;filter:none!important;transform:none!important;
 transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important
}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="grid"] .dscc-document-card:not(:disabled):is(:hover,:focus-visible){border-color:#eeb46e!important;background:#fffaf4!important;box-shadow:0 5px 15px #25374610!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card:before{
 content:"";flex:none;width:30px;height:30px;border-radius:8px;
 background:#fff1e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf7009' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M14 3v5h5M8 13h7M8 17h6'/%3E%3C/svg%3E") center/17px no-repeat
}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="grid"] .dscc-document-card .dscc-document-title{
 flex:1;min-width:0;max-width:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;
 color:#303943!important;font-size:12px!important;font-weight:750!important;line-height:1.25!important
}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card .dscc-document-status{
 flex:none;min-height:24px;padding:5px 7px!important;border-radius:7px!important;
 background:#fff0dc!important;color:#a95500!important;font-size:10px!important;font-weight:750!important;line-height:1.2!important;white-space:nowrap
}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-not_required .dscc-document-status{background:#eef0f2!important;color:#59646e!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-requested:not([data-signing="1"]) .dscc-document-status,
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-uploading .dscc-document-status{background:#ffe5dc!important;color:#a4402a!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-reviewing .dscc-document-status{background:#fff4d9!important;color:#936100!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-declined .dscc-document-status{background:#ffe8e5!important;color:#ab463e!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-completed{background:#e5f5e9!important;border-color:#77b98a!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-completed:before{
 background-color:#d7efdd!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398653' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E")
}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-completed .dscc-document-status{background:#cdebd5!important;color:#24683b!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-state-uploading{opacity:1;outline:2px solid #d9743a!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-progress{display:none!important}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card{
 grid-template-columns:30px minmax(0,1fr) auto!important;gap:10px!important;
 border:1px solid #e8ecef!important;background:#fbfcfc!important
}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card:before{grid-column:1;grid-row:1}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-title{grid-column:2;grid-row:1}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-status{grid-column:3;grid-row:1}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card.dscc-state-completed{background:#e5f5e9!important;border-color:#77b98a!important}
@container (max-width:440px){
 .dscc-document-cards:not(.dscc-magic-cards)[data-layout="grid"] .dscc-document-card{flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:6px!important;min-height:104px!important}
 .dscc-document-cards:not(.dscc-magic-cards)[data-layout="grid"] .dscc-document-card .dscc-document-title{flex:none}
}

/* Funding-document states: orange to upload/sign, yellow while reviewing, green when verified. */
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-requested:not([data-signing="1"]) .dscc-document-status,
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-uploading .dscc-document-status{background:#fff0dc!important;color:#a95500!important}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-reviewing .dscc-document-status{background:#ffdf8c!important;color:#654100!important;border:1px solid #efc158!important}
.dscc-document-cards .dscc-document-card.dscc-state-reviewing .dscc-document-status:before{content:"";display:inline-block;flex:none;width:13px;height:13px;margin-right:5px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h8v2H8zM11 6h2v7l4 2-1 2-5-3zm1-1a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14z'/%3E%3C/svg%3E") center/contain no-repeat}
body.dscc-theme-dark .dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-requested:not([data-signing="1"]) .dscc-document-status,
body.dscc-theme-dark .dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-uploading .dscc-document-status{background:#594023!important;color:#ffd09b!important}
body.dscc-theme-dark .dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-reviewing .dscc-document-status{background:#785a1c!important;color:#ffe8a6!important;border:1px solid #b88e35!important}

/* The tile icon carries the review state, not just its small label. */
.dscc-document-cards .dscc-document-card.dscc-state-reviewing:before{
 background-color:#fff0b9!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23905f05' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2h6M12 4v2M18 7l1.5-1.5'/%3E%3Ccircle cx='12' cy='14' r='8'/%3E%3Cpath d='M12 9v5l3 2'/%3E%3C/svg%3E")!important
}
.dscc-document-cards .dscc-document-card.dscc-state-reviewing .dscc-document-status:before{display:none!important}
/* A declined document needs the same full-card emphasis as verification. */
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="grid"] .dscc-document-card.dscc-state-declined,
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card.dscc-state-declined{
 background:#fbe7e4!important;border-color:#d88b85!important
}
.dscc-document-cards .dscc-document-card.dscc-state-declined:before{
 background-color:#f7d0cd!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8423c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E")!important
}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-declined .dscc-document-status{background:#f6cfcb!important;color:#9c302a!important}

/* Share the magic link's quiet hover treatment across CRM grid and list views. */
.dscc-document-cards:not(.dscc-magic-cards)[data-layout] .dscc-document-card{
 transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important
}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout] .dscc-document-card:not(:disabled):is(:hover,:focus-visible){
 background:#fffaf4!important;border-color:#eeb46e!important;
 box-shadow:0 5px 15px #25374610!important;filter:none!important;transform:none!important
}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout] .dscc-document-card.dscc-state-declined:not(:disabled):is(:hover,:focus-visible){
 background:#f8dcd8!important;border-color:#ca716a!important
}
/* Optional items use one neutral palette for the document icon and its Request tag. */
.dscc-document-cards .dscc-document-card.dscc-state-not_required:before{
 background-color:#eef0f2!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2359646e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M14 3v5h5M8 13h7M8 17h6'/%3E%3C/svg%3E")!important
}
.dscc-document-cards:not(.dscc-magic-cards) .dscc-document-card.dscc-state-reviewing .dscc-document-status{
 background:#fff0b9!important;color:#905f05!important;border:0!important;box-shadow:none!important
}
/* Content-sized dialog with a viewport cap: shrink the middle only when needed. */
.dscc-document-dialog,.dscc-document-dialog.is-signing{height:auto!important;max-height:min(86dvh,900px)!important}
.dscc-document-dialog>.dscc-document-workflow,.dscc-document-dialog.is-signing>.dscc-document-workflow{display:flex!important;flex:0 1 auto!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
.dscc-document-dialog .dscc-workflow-panel,.dscc-document-dialog.is-signing .dscc-workflow-panel,.dscc-document-dialog:has(.dscc-sign-footer) .dscc-workflow-panel{display:flex!important;flex:0 1 auto!important;flex-direction:column!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
.dscc-document-dialog .dscc-workflow-body,.dscc-document-dialog.is-signing .dscc-workflow-body,.dscc-document-dialog:has(.dscc-sign-footer) .dscc-workflow-body{flex:0 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
.dscc-document-dialog .dscc-workflow-panel>.dscc-workflow-footer{flex:0 0 auto!important;margin:0!important;width:100%!important;box-sizing:border-box!important;box-shadow:0 -5px 18px #19212b0d}
@media(max-width:640px){.dscc-document-dialog,.dscc-document-dialog.is-signing{height:auto!important;max-height:calc(100dvh - 16px)!important}}

.dscc-expiry-compose{position:relative;padding-right:48px!important}
.dscc-expiry-close{position:absolute!important;right:12px!important;top:12px!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:1px solid #ddd!important;border-radius:6px!important;background:#f5f5f5!important;color:#666!important;font-size:18px!important;line-height:1!important}
.dscc-expiry-compose [hidden]{display:none!important}
body.dscc-theme-dark .dscc-expiry-close{background:#1b2534!important;border-color:#2d3c52!important;color:#eee!important}

/* Per-deal DOW choices share the signing popup, with no additional scroll area. */
.dscc-dow-declarations{padding:20px;margin:0 0 24px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa;color:#292929}
.dscc-dow-declarations h3{font-size:17px;margin:0 0 8px;font-weight:600}
.dscc-dow-declarations p{font-size:13px;line-height:1.5;margin:0 0 16px}
.dscc-dow-declaration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dscc-dow-declaration-fields label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500;min-width:0}
.dscc-dow-declaration-fields select,.dscc-dow-declaration-fields input{box-sizing:border-box;width:100%;min-height:42px;padding:10px 12px;border:1px solid #d8dce1;border-radius:8px;background:#fff;color:#292929;font:inherit;box-shadow:none}
.dscc-dow-declaration-fields select:hover,.dscc-dow-declaration-fields input:hover{border-color:#a3a9b2;background:#fff;color:#292929}
.dscc-dow-declaration-fields select:focus,.dscc-dow-declaration-fields input:focus{border-color:#d97706;outline:2px solid rgba(217,119,6,.16);outline-offset:1px}
.dscc-dow-declarations [hidden]{display:none!important}
.dscc-dow-declarations .dscc-sign-confirm{display:flex;align-items:flex-start;gap:10px;margin:20px 0 12px;font-size:13px;line-height:1.5}
.dscc-dow-declarations .dscc-sign-confirm input{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;accent-color:#d97706}
.dscc-dow-declarations .dscc-dow-preview-status{margin:0;color:#68707b;font-size:12px}
@media(max-width:600px){.dscc-dow-declaration-fields{grid-template-columns:1fr}.dscc-dow-declarations{padding:16px}}

.dscc-dow-declaration-fields input[type=checkbox]{width:18px;min-height:18px;height:18px;padding:0;accent-color:#d97706}
.dscc-dow-config-error{padding:16px;margin:0 0 20px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;color:#9a3412;font-size:14px;line-height:1.5}

.dscc-document-card.dscc-check-overridden{border-color:#f2bc79!important;background:#fff6e9!important}.dscc-check-overridden .dscc-document-status{background:#ffe5be!important;color:#975004!important}

/* 1.20.0: list view rows are compact and use the same text size as the grid cards. */
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-grid{gap:6px!important}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card{min-height:44px!important;padding:7px 10px 7px 9px!important;gap:9px!important;border-radius:9px!important}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card:before{width:24px!important;height:24px!important;min-width:24px!important;border-radius:7px!important;background-size:14px 14px!important}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card .dscc-document-title{font-size:12px!important;font-weight:750!important;line-height:1.3!important}
.dscc-document-cards:not(.dscc-magic-cards)[data-layout="list"] .dscc-document-card .dscc-document-status{min-height:0!important;padding:4px 8px!important;font-size:10px!important}
/* 1.67.13: actions (the + button, vehicle checks) sit on the left, the Grid/List switch on the right. */
.dscc-document-view-bar>.dscc-document-view-switch{margin-left:auto}
/* 1.67.46: DOW / invoice waiting for a dealer */
.dscc-document-card.dscc-card-needs-dealer{cursor:default;opacity:.85;border-style:dashed}
.dscc-document-card.dscc-card-needs-dealer .dscc-document-status{background:#f1f3f5;color:#5b6570}

/* 1.68.8: DOW and invoice waiting for a dealer are greyed out */
.dscc-document-card.dscc-card-needs-dealer,.dscc-document-card.dscc-card-needs-dealer:hover{cursor:default!important;opacity:1!important;border:1px solid #e3e6ea!important;background:#f4f5f7!important;box-shadow:none!important;transform:none!important}
.dscc-document-card.dscc-card-needs-dealer .dscc-document-title{color:#8a94a1!important}
.dscc-document-card.dscc-card-needs-dealer .dscc-document-status{background:#e7eaee!important;color:#6b7581!important}
.dscc-document-card.dscc-card-needs-dealer :is(svg,img,.dscc-document-icon){filter:grayscale(1);opacity:.6}
.dscc-document-card.dscc-card-needs-dealer .dscc-document-progress{display:none}
body.dscc-theme-dark .dscc-document-card.dscc-card-needs-dealer{background:#141c27!important;border-color:#1e293a!important}
body.dscc-theme-dark .dscc-document-card.dscc-card-needs-dealer .dscc-document-status{background:#1b2534!important;color:#a8a8a8!important}

/* 1.68.103: document card hover follows its status colour (verified green, declined red, reviewing yellow, to-upload orange) */
html body:not(.dscc-theme-dark) .dscc-document-cards .dscc-document-card.dscc-state-completed:not(:disabled):is(:hover,:focus-visible){background:#dcf0e2!important;border-color:#5fae73!important}
html body:not(.dscc-theme-dark) .dscc-document-cards .dscc-document-card.dscc-state-declined:not(:disabled):is(:hover,:focus-visible){background:#fbe3e1!important;border-color:#d9736b!important}
html body:not(.dscc-theme-dark) .dscc-document-cards .dscc-document-card.dscc-state-reviewing:not(:disabled):is(:hover,:focus-visible){background:#fdf3d8!important;border-color:#e3b33f!important}
html body:not(.dscc-theme-dark) .dscc-document-cards .dscc-document-card:is(.dscc-state-requested,.dscc-state-uploading):not(:disabled):is(:hover,:focus-visible){background:#fff4e8!important;border-color:#eeb46e!important}
html body:not(.dscc-theme-dark) .dscc-document-cards .dscc-document-card.dscc-state-not_required:not(:disabled):is(:hover,:focus-visible){background:#f4f5f7!important;border-color:#d5dae0!important}
/* 1.68.177: the close button sits on the title's line; the description runs the full width underneath */
html body .dscc-document-dialog>header:has(>.dscc-document-dialog-heading){display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:4px}
html body .dscc-document-dialog>header>.dscc-document-dialog-heading{display:contents}
html body .dscc-document-dialog>header>.dscc-document-dialog-heading>h2{grid-column:1;grid-row:1;min-width:0}
html body .dscc-document-dialog>header>.dscc-document-dialog-heading>:not(h2){grid-column:1/-1;grid-row:2;max-width:none}
html body .dscc-document-dialog>header>.dscc-document-dialog-close{grid-column:2;grid-row:1;align-self:center}

