/* Shared compensation cards and compact pay editor. */
.pay-card-list{display:grid;gap:8px;width:100%}
.pay-card,.pay-card-head{display:grid;grid-template-columns:30px minmax(100px,.85fr) minmax(130px,1.2fr) minmax(200px,1.6fr) 66px 78px 54px 42px;gap:9px;box-sizing:border-box;padding-inline:14px}
.pay-card{align-items:center;min-height:94px;padding-block:10px;border:1px solid #dce5df;border-radius:17px;background:#ffffffed;box-shadow:0 4px 16px #52624c05;color:#15251c;font-size:12px}.pay-card-head{padding-block:3px;color:#7c8781;font-size:10px;align-items:end;text-align:center}.pay-card-head>span:nth-child(2),.pay-card-head>span:nth-child(3){text-align:left}.pay-head-services{display:grid;grid-template-columns:44px minmax(0,1fr) 49px;gap:5px}.pay-head-services>span:nth-child(2){text-align:left}
.pay-card>div{min-width:0}.pay-unpaid{grid-column:1;grid-row:1;display:grid;place-items:center}.pay-person{grid-column:2;grid-row:1}.pay-property{grid-column:3;grid-row:1}.pay-person,.pay-property{display:grid;gap:4px}.pay-person strong,.pay-property strong{color:#304767;font-size:13px;overflow-wrap:anywhere}.pay-card small{color:#7c8781;font-size:10px;line-height:1.3}.pay-property>span{font-size:11px}.pay-property>small{font-size:12px}
.pay-line-list{grid-column:4/8;grid-row:1;display:grid;grid-template-columns:subgrid;gap:3px 9px}.pay-line{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center;min-height:22px}.pay-line-data{grid-column:1;display:grid;grid-template-columns:44px minmax(0,1fr) 49px;gap:5px;align-items:center}.pay-line-amount{text-align:center}.pay-service{display:flex;gap:6px;align-items:center;min-height:22px;line-height:1.3}.pay-service img{width:20px;height:20px;object-fit:contain;flex-shrink:0}.pay-service>span{overflow-wrap:anywhere}.pay-service img[src*="camera"]{filter:invert(43%) sepia(87%) saturate(690%) hue-rotate(132deg) brightness(91%)}.pay-service img[src*="video"]{filter:invert(62%) sepia(90%) saturate(2200%) hue-rotate(359deg) brightness(103%)}.pay-service img[src*="floorplan"]{filter:invert(54%) sepia(49%) saturate(690%) hue-rotate(352deg) brightness(91%)}
.pay-line-checks{grid-column:4;display:grid;align-self:stretch;align-items:center;text-align:center}.pay-service-check{display:grid;place-items:center;min-height:22px;font-size:23px;line-height:22px;color:#8bbd33;font-weight:800}.pay-line-checks.has-share-label:after{content:'';height:13px}.pay-mobile-service-head,.pay-card .pay-mobile-label{display:none}
.pay-box{display:inline-flex;width:25px;height:25px;color:#111}.pay-card .pay-total,.pay-adjustment,.pay-paid{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative;grid-row:1}.pay-total{grid-column:5}.pay-total strong{font-size:17px;color:#111}.is-adjusted{color:#e82825!important}.pay-adjustment{grid-column:6;flex-direction:row;flex-wrap:wrap;gap:0}.pay-adjustment>small{width:100%;text-align:center}.pay-paid{grid-column:8}
.pay-note,.pay-edit{width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer;padding:4px}.pay-note{color:#e82825}.pay-note svg{width:27px;height:27px}.pay-edit img{width:20px;height:20px;object-fit:contain}
.pay-sack{display:inline-flex;width:29px;height:38px;color:#23870c;flex-shrink:0}.pay-sack.is-unpaid{color:#c00028}.pay-sack svg{display:block;width:100%;height:100%}.pay-record{display:grid;place-items:center;width:36px;min-height:44px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:8px}.pay-record:hover{background:#fff0f1}
.pay-filters{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin:0 0 10px;padding:8px 12px;background:#ffffff80;border:1px solid #e0e7df;border-radius:12px;font-size:11px}.pay-filters[hidden]{display:none}.pay-filters label{display:flex;gap:5px;align-items:center}.pay-filters input[type=checkbox]{width:16px;height:16px;accent-color:#8ab337}.pay-filters select,.pay-filters input[type=date],.pay-filters button{height:34px;padding:5px 8px;min-width:0;border:1px solid #d9e1db;border-radius:7px;background:white;color:#405446;font:inherit}.pay-filters button{cursor:pointer}.pay-filters button[type=submit]{background:#9fc52a;color:#fff;font-weight:800;border-color:#9fc52a}
.pay-editor.photographer-pay-lens{width:min(570px,calc(100vw - 24px));max-height:calc(100dvh - 20px);overflow:auto;border:1px solid #d6ddd6;border-radius:21px}.pay-editor.photographer-pay-lens header{padding:17px 20px 9px;border:0}.pay-editor.photographer-pay-lens header h2{font-size:22px;letter-spacing:-.035em;margin:0}.pay-editor.photographer-pay-lens header p{margin:6px 0 2px;color:#304767;text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}.pay-editor.photographer-pay-lens header small{font-size:11px}.pay-editor.photographer-pay-lens header button{width:30px;height:30px;font-size:18px;flex-shrink:0}
.pay-editor-body{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;padding:5px 20px 10px}.pay-editor-body>*,.pay-editor .pay-choice{grid-column:1/-1}.pay-editor .pay-choice{grid-column:auto}.pay-editor-labels,.pay-editor-line{display:grid;grid-template-columns:minmax(0,1fr) 90px 85px 45px;gap:10px;align-items:center}.pay-editor-labels{font-size:10px;color:#6a766f}.pay-editor-labels span:not(:first-child),.pay-editor-line>span{text-align:center}.pay-editor-line{margin:4px 0;font-size:12px}.pay-editor-line>div:first-child{min-width:0;display:grid;gap:2px}.pay-editor-line small{color:#7c8781;font-size:10px}.pay-editor .pay-service{font-size:12px}.pay-editor .pay-service img{width:20px;height:20px}
.pay-editor.photographer-pay-lens input:not([type=checkbox]),.pay-editor.photographer-pay-lens select{height:32px;padding:0 8px;border:1px solid #dce4df;border-radius:8px;background:#fafcf9;font:inherit;font-size:12px;box-sizing:border-box;width:100%;min-width:0}.pay-editor-line input{text-align:right}.pay-editor input[data-pay-line-amount]{appearance:textfield;-moz-appearance:textfield}.pay-editor input[data-pay-line-amount]::-webkit-inner-spin-button,.pay-editor input[data-pay-line-amount]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pay-editor-total{display:flex;justify-content:flex-end;gap:35px;padding:7px 5px;border-top:1px solid #304238;font-size:17px}.pay-editor-total output{min-width:85px;text-align:right;font-weight:850}.pay-editor.photographer-pay-lens label{gap:4px}.pay-editor.photographer-pay-lens label>span{font-size:11px}.pay-editor.photographer-pay-lens textarea{min-height:46px;height:46px;padding:7px 9px;font-size:12px;border-radius:8px;resize:none}.pay-editor .pay-choice{display:flex;align-items:center;gap:7px}.pay-editor .pay-choice input{width:17px;height:17px;accent-color:#8bb638;margin:0}.pay-editor .pay-choice span{font-size:12px}.pay-payment-hint{margin:0;font-size:10px;line-height:1.3;color:#6b786f}.pay-payment-fields{display:grid;grid-template-columns:1fr .85fr 1.3fr;gap:9px}.pay-editor :disabled{opacity:.5}.pay-editor [data-pay-error]{color:#bc2020;margin:0;font-size:11px;white-space:pre-wrap}.pay-editor [data-pay-error]:empty{display:none}.pay-editor.photographer-pay-lens footer{border:0;padding:6px 20px 15px;gap:8px}.pay-editor.photographer-pay-lens footer button{height:34px;padding:0 15px;font-size:12px}.pay-editor.photographer-pay-lens footer button[type=submit]{min-width:100px;background:#9fc52a;border:0;font-size:14px}
.pay-details{width:min(440px,calc(100vw - 26px));max-height:calc(100dvh - 30px);box-sizing:border-box;padding:20px;border:1px solid #dce5df;border-radius:20px;color:#23372a;background:#fff;box-shadow:0 30px 90px #23372a44}.pay-details::backdrop{background:#1c2a225c;backdrop-filter:blur(4px)}.pay-details header{display:flex;gap:10px;justify-content:space-between;align-items:start}.pay-details h2{margin:0;font-size:21px}.pay-details h3{font-size:12px;margin-top:18px}.pay-details p{line-height:1.5;font-size:13px}.pay-details .pay-reason-copy{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f7f0;padding:12px;border-radius:10px}.pay-details button{min-height:36px;border:1px solid #d5dfce;border-radius:9px;background:#f4f8ed;padding:7px 13px;cursor:pointer}.pay-details header button{border:0;background:#f3f5ef;font-size:18px;padding:0;width:32px;flex-shrink:0}.pay-note:focus-visible,.pay-edit:focus-visible,.pay-record:focus-visible,.pay-filters button:focus-visible{outline:3px solid #355b85;outline-offset:2px}
.pay-back{margin:0 0 10px;padding:8px 13px;min-height:36px;border:1px solid #d3dec8;border-radius:10px;background:white;color:#425a31;font:inherit;font-size:12px;cursor:pointer}.mobile-account .mobile-compensation{margin-right:auto;border:1px solid #aebd95;border-radius:9px;background:#fff;color:#3e5528;min-height:44px;padding:8px 12px;font:inherit}
@media(max-width:1300px){.pay-card,.pay-card-head{gap:7px;padding-inline:11px;grid-template-columns:28px minmax(90px,.8fr) minmax(115px,1fr) minmax(180px,1.4fr) 60px 72px 48px 36px}.pay-card{padding-block:9px;font-size:11px}.pay-person strong,.pay-property strong{font-size:12px}.pay-line-data,.pay-head-services{grid-template-columns:38px minmax(0,1fr) 44px;gap:4px}.pay-line-data>small{font-size:9px}.pay-line-list{column-gap:7px}}
@media(max-width:1100px){.pay-card-head{display:none}.pay-card{grid-template-columns:28px 1fr 1fr 65px;gap:8px 10px}.pay-unpaid{grid-column:1;grid-row:1/4}.pay-person{grid-column:2}.pay-property{grid-column:3/5}.pay-line-list{grid-column:2/-1;grid-row:2;grid-template-columns:minmax(0,1fr) 65px}.pay-line-checks{grid-column:2}.pay-line-data{grid-template-columns:44px 1fr 50px}.pay-mobile-service-head{display:grid;grid-column:1/-1;grid-template-columns:subgrid;color:#7c8781;font-size:10px}.pay-mobile-service-head>span:last-child{text-align:center}.pay-card .pay-mobile-label{display:block}.pay-total{grid-row:3!important;grid-column:2}.pay-adjustment{grid-row:3!important;grid-column:3}.pay-paid{grid-row:3!important;grid-column:4}}
@media(max-width:600px){.pay-card{padding:11px;border-radius:15px;grid-template-columns:25px 1fr 1fr 42px;font-size:11px;gap:8px}.pay-unpaid{grid-column:1;grid-row:1/3;align-self:start}.pay-person{grid-column:2/-1;grid-row:1;gap:3px}.pay-property{grid-column:2/-1;grid-row:2;gap:3px}.pay-line-list{grid-column:2/-1;grid-row:3;grid-template-columns:minmax(0,1fr) 34px;column-gap:5px}.pay-line-data{grid-template-columns:36px minmax(0,1fr) 45px}.pay-total{grid-row:4!important;grid-column:2}.pay-adjustment{grid-row:4!important;grid-column:3}.pay-paid{grid-row:4!important;grid-column:4}.pay-total strong{font-size:16px}.pay-card .pay-sack{width:25px;height:33px}.pay-record{width:29px}.pay-filters{justify-content:flex-start;gap:7px;padding:8px}.pay-filters input[type=date]{max-width:135px}
.pay-editor.photographer-pay-lens{width:calc(100vw - 18px);border-radius:18px}.pay-editor.photographer-pay-lens header{padding:13px 13px 7px}.pay-editor.photographer-pay-lens header h2{font-size:19px}.pay-editor.photographer-pay-lens header p{font-size:12px;margin-top:4px}.pay-editor-body{padding:4px 13px 8px;gap:8px 9px}.pay-editor-labels,.pay-editor-line{grid-template-columns:minmax(0,1fr) 60px 65px 36px;gap:6px}.pay-editor-labels{font-size:9px}.pay-editor .pay-service{font-size:11px;gap:4px}.pay-editor .pay-service img{width:18px;height:18px}.pay-editor.photographer-pay-lens input:not([type=checkbox]),.pay-editor.photographer-pay-lens select{padding-inline:5px;font-size:11px}.pay-editor-total{font-size:16px;gap:20px;padding-block:5px}.pay-payment-fields{grid-template-columns:1fr 1fr;gap:7px}.pay-payment-fields label:last-child{grid-column:1/-1}.pay-editor.photographer-pay-lens footer{padding:4px 13px 12px}.pay-details h2{font-size:19px}body:not(.photographer-mobile-active) #portal:has(.pay-card-list) .nav-frame{display:none}body:not(.photographer-mobile-active) #portal:has(.pay-card-list) .stage{margin:0;padding:18px 12px;width:100%}}
@media(max-height:700px){.pay-editor.photographer-pay-lens header{padding-block:10px 5px}.pay-editor-body{gap:5px 9px}.pay-editor-line{margin:3px 0}.pay-editor.photographer-pay-lens textarea{min-height:38px;height:38px;padding-block:5px}.pay-editor.photographer-pay-lens input:not([type=checkbox]),.pay-editor.photographer-pay-lens select{height:28px}.pay-editor.photographer-pay-lens footer{padding-block:4px 10px}.pay-editor.photographer-pay-lens footer button{height:30px}}
/* Keep the floating assistant from covering the compact payment controls. */
@media(max-width:600px){#photographer-pay-editor[open] .ogie-launcher,#photographer-pay-editor[open] .ogie-restore{display:none!important}}

.pay-approval-stack{display:grid;justify-items:center;gap:0}.pay-editor .pay-service{min-height:28px}.pay-editor label.pay-line-approval{position:relative;display:grid;width:28px;height:28px;place-items:center;gap:0;cursor:pointer}.pay-editor .pay-line-approval input{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;border:1px solid #b3bfb3;border-radius:3px;background:#fff;cursor:pointer}.pay-editor .pay-line-approval span{display:none;position:absolute;inset:0;place-items:center;pointer-events:none;color:#8bbd33;font-size:23px!important;font-weight:850;line-height:28px}.pay-editor .pay-line-approval input:checked{border-color:transparent;background:transparent}.pay-editor .pay-line-approval input:checked+span{display:grid}.pay-editor .pay-line-approval input:focus-visible{outline:2px solid #355b85;outline-offset:3px}
.pay-editor .pay-approval-stack{row-gap:2px}.pay-editor-line:has(.pay-line-approval:nth-child(2)) .pay-approval-stack{align-self:start}

/* Emphasize the shoot date without a time in compensation cards. */
.pay-person>small{font-size:13px;font-weight:600;line-height:1.35}
