/*!
 * © William Florence & Partners. All rights reserved. Proprietary and confidential: unauthorised
 * copying, use, modification or distribution of this software, its templates or its content is
 * prohibited.
 */
.wfq-wrap{max-width:1200px}.wfq-wrap h1 span{font-size:14px;color:#646970;margin-left:10px}.wfq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.wfq-card,.wfq-preview{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.wfq-card h2{margin-top:0;border-bottom:1px solid #eee;padding-bottom:12px}.wfq-card label{display:block;font-weight:600;margin:12px 0}.wfq-card input,.wfq-card select{display:block;width:100%;margin-top:6px}.wfq-wide{grid-column:1/-1}.wfq-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.wfq-preview{margin:18px 0;background:#13233a;color:#fff;display:flex;align-items:center;gap:24px}.wfq-preview h2,.wfq-preview p{margin:0}.wfq-preview strong{font-size:28px;color:#f3c84b}.wfq-wrap .widefat{margin-top:20px}@media(max-width:782px){.wfq-grid{grid-template-columns:1fr}.wfq-wide{grid-column:auto}.wfq-quantities{grid-template-columns:1fr}.wfq-preview{display:block}.wfq-preview>*{margin:8px 0}}

/* Vendor / Buyer category rows: one dropdown, one number. */
.wfq-party-head{display:grid;grid-template-columns:1fr 110px 32px;gap:10px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#646970;margin:14px 0 6px}
.wfq-party-row{display:grid;grid-template-columns:1fr 110px 32px;gap:10px;align-items:center;margin-bottom:8px}
.wfq-party-row select,.wfq-party-row input{width:100%;margin:0}
.wfq-row-remove{border:1px solid #dcdcde;background:#fff;border-radius:6px;height:32px;line-height:1;font-size:17px;color:#8b0000;cursor:pointer}
.wfq-add-row{margin-top:4px;border:1px dashed #b5babf;background:#fafbfc;border-radius:7px;padding:8px 12px;font-weight:700;color:#8b0000;cursor:pointer}
.wfq-hint{margin:0 0 14px;color:#646970;font-size:12px;line-height:1.6}
@media(max-width:782px){.wfq-party-head,.wfq-party-row{grid-template-columns:1fr 84px 32px}}
.wfq-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:782px){.wfq-quantities{grid-template-columns:1fr}}
.wfq-wide .wfq-party{max-width:560px}

/* Page heading: quotation type first and large, task name after it. */
.wfq-page-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:14px;margin:0 0 18px}
.wfq-page-type{font-size:30px;font-weight:800;letter-spacing:.6px;color:#8b0000;background:#fdf3f3;border:1px solid #e6c9c9;border-bottom:3px solid #8b0000;border-radius:8px;padding:8px 18px;line-height:1.2}
.wfq-page-sub{font-size:19px;font-weight:600;color:#50575e}
@media(max-width:782px){.wfq-page-type{font-size:22px;padding:7px 13px}.wfq-page-sub{font-size:16px}}

/* Free-text "other items" rows. */
.wfq-custom-head{display:grid;grid-template-columns:1fr 150px 32px;gap:10px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#646970;margin:6px 0}
.wfq-custom-row{display:grid;grid-template-columns:1fr 150px 32px;gap:10px;align-items:center;margin-bottom:8px}
.wfq-custom-row input{width:100%;margin:0}
.wfq-add-item{margin-top:4px;border:1px dashed #b5babf;background:#fafbfc;border-radius:7px;padding:8px 12px;font-weight:700;color:#8b0000;cursor:pointer}
@media(max-width:782px){.wfq-custom-head,.wfq-custom-row{grid-template-columns:1fr 100px 32px}}
.wfq-scope{margin:6px 0 14px;padding:9px 13px;border-left:4px solid #8b0000;background:#fdf3f3;font-size:13px;color:#50575e;border-radius:0 6px 6px 0}

/* Statement of account */
.wfq-stmt-switch{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.wfq-stmt-switch a{padding:9px 14px;border:1px solid #d5dbe1;border-radius:8px;background:#fff;color:#1d3557;text-decoration:none;font-weight:700;font-size:13px}
.wfq-stmt-switch a.on{background:#8b0000;border-color:#8b0000;color:#fff}
.wfq-sub{font-size:14px;text-transform:uppercase;letter-spacing:.8px;color:#646970;margin:18px 0 6px}
.wfq-deduct-head,.wfq-deduct-row{display:grid;grid-template-columns:1fr 200px 160px;gap:10px;align-items:center;margin-bottom:7px}
.wfq-ap-head,.wfq-ap-row{display:grid;grid-template-columns:1fr 150px 120px 130px;gap:10px;align-items:center;margin-bottom:7px}
.wfq-pair-head,.wfq-pair-row{display:grid;grid-template-columns:1fr 170px 170px 32px;gap:10px;align-items:center;margin-bottom:7px}
.wfq-deduct-head span,.wfq-ap-head span,.wfq-pair-head span{font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#646970}
.wfq-deduct-label,.wfq-ap-label{font-weight:600;font-size:13px}
.wfq-deduct-row select,.wfq-deduct-row input,.wfq-ap-row input,.wfq-pair-row input{width:100%;margin:0}
.wfq-add-pair{margin-top:4px;border:1px dashed #b5babf;background:#fafbfc;border-radius:7px;padding:8px 12px;font-weight:700;color:#8b0000;cursor:pointer}
.wfq-card textarea{width:100%;padding:9px 11px;border:1px solid #cfd6dd;border-radius:7px;font:inherit}
@media(max-width:782px){
 .wfq-deduct-head,.wfq-deduct-row{grid-template-columns:1fr 120px 100px}
 .wfq-ap-head,.wfq-ap-row{grid-template-columns:1fr 90px 70px 70px}
 .wfq-pair-head,.wfq-pair-row{grid-template-columns:1fr 110px 110px 32px}
}

/* Legal fees rebate */
.wfq-rebate-head,.wfq-rebate-row{display:grid;grid-template-columns:140px 1fr 150px 150px 110px;gap:10px;align-items:center;margin-bottom:8px}
.wfq-rebate-head span{font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#646970}
.wfq-rebate-label{font-weight:700;font-size:14px}
.wfq-rebate-row select,.wfq-rebate-row input{width:100%;margin:0}
@media(max-width:782px){.wfq-rebate-head{display:none}.wfq-rebate-row{grid-template-columns:1fr 1fr;gap:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e6e9ec}.wfq-rebate-row>*:nth-child(2){grid-column:1/-1}}

/* Signatories */
.wfq-sig-head,.wfq-sig-row{display:grid;grid-template-columns:1.4fr 110px 1fr 1fr 1fr 32px;gap:9px;align-items:center;margin-bottom:8px}
.wfq-sig-head span{font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#646970}
.wfq-sig-row input,.wfq-sig-row select{width:100%;margin:0}
.wfq-add-sig{margin-top:4px;border:1px dashed #b5babf;background:#fafbfc;border-radius:7px;padding:8px 12px;font-weight:700;color:#8b0000;cursor:pointer}
@media(max-width:1100px){.wfq-sig-head,.wfq-sig-row{grid-template-columns:1fr 100px 1fr 32px}.wfq-sig-head span:nth-child(4),.wfq-sig-head span:nth-child(5){display:none}.wfq-sig-row input:nth-child(4),.wfq-sig-row input:nth-child(5){grid-column:span 2}}
@media(max-width:782px){.wfq-sig-head{display:none}.wfq-sig-row{grid-template-columns:1fr 32px;gap:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e6e9ec}.wfq-sig-row input,.wfq-sig-row select{grid-column:1}}
input.wfq-money{text-align:right;font-variant-numeric:tabular-nums}
.wfq-editing{margin:0 0 16px;padding:11px 14px;border-left:4px solid #8b0000;background:#fdf3f3;border-radius:0 6px 6px 0;font-size:14px;color:#50575e}
.wfq-row-actions{white-space:nowrap}
.wfq-row-actions .button{margin-right:6px}

/* Repeatable blocks: KYC clients, beneficial owners, credit note entries */
.wfq-repeat-head{display:grid;grid-template-columns:1.4fr 1fr 1fr 130px 32px;gap:10px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#646970;margin:6px 0}
.wfq-bo-row{display:grid;grid-template-columns:1.4fr 1fr 1fr 130px 32px;gap:10px;align-items:center;margin-bottom:8px}
.wfq-bo-row input{width:100%;margin:0}
.wfq-add-repeat{margin-top:6px;border:1px dashed #b5babf;background:#fafbfc;border-radius:7px;padding:8px 12px;font-weight:700;color:#8b0000;cursor:pointer}
.wfq-kyc-client{position:relative;border:1px solid #e1e5e9;border-radius:10px;background:#fbfcfd;padding:6px 18px 16px;margin-bottom:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
.wfq-kyc-client>.wfq-row-remove{position:absolute;top:12px;right:12px;width:30px}
.wfq-kyc-wide{grid-column:1/-1}
.wfq-kyc-client label{font-size:13px}
@media(max-width:1100px){.wfq-kyc-client{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){
 .wfq-kyc-client{grid-template-columns:1fr}
 .wfq-gj-spacer{display:none}
 .wfq-repeat-head{display:none}
 .wfq-bo-row{grid-template-columns:1fr 32px;gap:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e6e9ec}
 .wfq-bo-row input{grid-column:1}
}

/* Credit note calculator: the figures the sheet works out for you */
.wfq-gj-out{margin-top:4px}
.wfq-gj-line{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:9px 0;border-bottom:1px solid #eef0f2;font-size:14px}
.wfq-gj-line span{color:#50575e}
.wfq-gj-line b{font-variant-numeric:tabular-nums;white-space:nowrap}
.wfq-gj-line.hot span{color:#8b0000;font-weight:700}
.wfq-gj-line.hot b{color:#8b0000;font-size:18px}
.wfq-gj-line.sum{background:#f6f8fa;padding-left:9px;padding-right:9px;border-bottom:0;margin-bottom:6px}
.wfq-gj-line.sum span,.wfq-gj-line.sum b{font-weight:700}
.wfq-gj-warn{margin:12px 0 0;font-size:12px;color:#8b0000;border-left:3px solid #8b0000;background:#fdf3f3;padding:8px 11px;border-radius:0 6px 6px 0}

/* A blocking PTG answer: the quotation cannot be made at all. */
.wfq-gj-warn.wfq-warn-stop{background:#8b0000;color:#fff;border:0;border-radius:8px;padding:14px 16px;font-size:13px;font-weight:700;line-height:1.5}
.wfq-front .button-hero.wfq-save-blocked,.button-hero.wfq-save-blocked{background:#6b7177 !important;border-color:#6b7177 !important;cursor:not-allowed;opacity:.85}
#wfq-suggest{margin:4px 0 12px;padding:9px 12px;border-left:3px solid #1d3557;background:#eef3f9;border-radius:0 6px 6px 0;color:#1d3557;font-size:12.5px;line-height:1.55}
.wfq-save-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.wfq-front .button-hero.wfq-save-alt,.button-hero.wfq-save-alt{background:#1d3557}
.wfq-front .button-hero.wfq-save-alt:hover,.button-hero.wfq-save-alt:hover{background:#16293f}

/* The negotiated price document, set apart in blue so the two PDFs on a row
   are told apart at a glance (2.19.0). */
.wfq-btn-nego,.wfq-front .wfq-btn-nego{background:#15558f!important;border-color:#15558f!important;color:#fff!important;text-shadow:none!important;box-shadow:none!important}
.wfq-btn-nego:hover,.wfq-btn-nego:focus,.wfq-front .wfq-btn-nego:hover{background:#0f4273!important;border-color:#0f4273!important;color:#fff!important}

/* Activity log (2.29.0) */
.wfq-log-filter{margin:14px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.wfq-log-filter select,.wfq-log-filter input{margin:0}
.wfq-log-pages{margin-top:14px}
.wfq-log-pages .page-numbers{display:inline-block;padding:5px 10px;margin-right:4px;border:1px solid #c9ced3;border-radius:5px;text-decoration:none}
.wfq-log-pages .page-numbers.current{background:#8b0000;color:#fff;border-color:#8b0000}

/* Screen guard (2.29.0): a small note, never a blur or a watermark. */
.wfq-guard-note{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(12px);z-index:99999;
  background:#17202a;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;font-weight:600;
  box-shadow:0 6px 24px rgba(0,0,0,.28);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;max-width:90vw;text-align:center}
.wfq-guard-note.on{opacity:1;transform:translateX(-50%) translateY(0)}
@media print{
  body.wfq-guard:not(.wfq-printable) *{visibility:hidden !important}
  body.wfq-guard:not(.wfq-printable)::after{visibility:visible !important;display:block;padding:40px;
    font:16px/1.6 Arial,Helvetica,sans-serif;text-align:center;
    content:"Printing from this screen is not permitted. Open the document and use its Print / Save as PDF button."}
}
