/*!
 * © 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.
 */
html,body.wfq-front{margin:0;background:#f4f6f9;color:#17202a;font-family:Arial,sans-serif}.wfq-front *{box-sizing:border-box}.wfq-login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#10243e,#245179)}.wfq-login-card{width:min(480px,100%);background:#fff;border-radius:16px;padding:38px;box-shadow:0 20px 60px rgba(0,0,0,.25)}.wfq-login-logo{width:72px;height:72px;object-fit:contain;border-radius:14px}.wfq-login h1{margin:20px 0 4px}.wfq-login p{color:#5b6570;margin-top:0}.wfq-login label{display:block;font-weight:700;margin:18px 0 6px}.wfq-login input[type=text],.wfq-login input[type=password]{width:100%;padding:12px;border:1px solid #ccd2d8;border-radius:7px}.wfq-login .forgetmenot label{font-weight:400;display:inline}.wfq-login input[type=submit],.wfq-button{width:100%;padding:12px;border:0;border-radius:7px;background:#8b0000;color:#fff;font-weight:700;cursor:pointer;text-decoration:none;display:block;text-align:center}.wfq-login small{display:block;color:#6b747d;margin-top:18px}.wfq-top{height:66px;background:#6f0000;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;box-shadow:0 2px 12px rgba(0,0,0,.2)}.wfq-top>div{display:flex;align-items:center;gap:12px}.wfq-top img{width:42px;height:42px;object-fit:contain;border-radius:8px}.wfq-top nav{display:flex;align-items:center;gap:10px}.wfq-top a{color:#fff;text-decoration:none;font-weight:700}.wfq-top nav a{padding:8px 14px;border-radius:7px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.4);line-height:1.1;transition:background .15s,color .15s}.wfq-top nav a:hover,.wfq-top nav a:focus{background:#fff;color:#6f0000;border-color:#fff}.wfq-top nav span{color:#fff;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.28);border-radius:7px;padding:7px 14px;font-weight:700;text-transform:capitalize;line-height:1.1;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wfq-app{max-width:1240px;margin:30px auto;padding:0 20px}.wfq-front .wrap{margin:0}.wfq-front .page-title-action,.wfq-front .button,.wfq-front .button-primary{display:inline-block;border:0;border-radius:6px;background:#8b0000;color:#fff;text-decoration:none;padding:8px 13px;cursor:pointer}.wfq-front .button-hero{font-size:16px;padding:13px 22px}.wfq-front .widefat{width:100%;border-collapse:collapse;background:#fff}.wfq-front .widefat th,.wfq-front .widefat td{text-align:left;padding:12px;border-bottom:1px solid #e3e6e8}.wfq-front .notice{padding:10px 15px;background:#e8f7ee;border-left:4px solid #2e9b57;margin:12px 0}.wfq-welcome{display:flex;justify-content:space-between;gap:30px;align-items:center;background:linear-gradient(135deg,#fff,#f8f3f0);padding:28px 30px;border:1px solid #e6e0dc;border-radius:14px}.wfq-eyebrow{font-size:12px;font-weight:800;color:#8b0000;letter-spacing:1.4px;margin:0}.wfq-welcome h1{font-size:32px;margin:7px 0}.wfq-welcome p:last-child{color:#65707c;margin-bottom:0}.wfq-saved-link{background:#8b0000;color:#fff;text-decoration:none;font-weight:700;padding:12px 16px;border-radius:8px;white-space:nowrap}.wfq-type-group{margin-top:28px}.wfq-type-group>h2{font-size:18px}.wfq-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wfq-type-card{min-height:112px;background:#fff;border:1px solid #dfe3e6;border-radius:11px;padding:17px;display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;text-decoration:none;color:#17202a}.wfq-type-card h3{margin:1px 0 6px;font-size:16px}.wfq-type-card p{margin:0;color:#7a838d;font-size:12px}.wfq-type-card b,.wfq-type-card small{grid-column:2}.wfq-type-card.active{border-color:#8b0000;box-shadow:0 4px 15px rgba(139,0,0,.09)}.wfq-type-card.active b{color:#8b0000}.wfq-type-card.pending{opacity:.68}.wfq-type-icon{width:32px;height:32px;border-radius:8px;background:#f4e8e8;color:#8b0000;display:grid;place-items:center;font-weight:800}@media(max-width:900px){.wfq-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.wfq-top{height:auto;padding:12px 16px;flex-direction:column;align-items:stretch;gap:10px}.wfq-top img{width:34px;height:34px}.wfq-top .wfq-brand{gap:10px}.wfq-top .wfq-brand span{font-size:16px}.wfq-home-tag{font-size:11px;padding:4px 9px;letter-spacing:.6px}.wfq-top nav{flex-wrap:wrap;justify-content:flex-start;gap:8px;font-size:14px;border-top:1px solid rgba(255,255,255,.25);padding-top:9px}.wfq-top nav a{padding:7px 11px}.wfq-top nav span{padding:6px 11px;max-width:100%}.wfq-welcome{display:block}.wfq-saved-link{display:inline-block;margin-top:18px}}@media(max-width:560px){.wfq-type-grid{grid-template-columns:1fr}}
/* Centred login identity: logo, firm name, then system name. */
.wfq-login-heading{text-align:center;border-bottom:1px solid #eceff2;padding-bottom:20px;margin-bottom:24px}.wfq-login-heading .wfq-login-logo{display:block;width:90px;height:90px;margin:0 auto 14px;object-fit:contain;border-radius:16px}.wfq-login-heading .wfq-firm-name{color:#8b0000;font-size:24px;font-weight:800;letter-spacing:.4px;line-height:1.25;margin:0 0 8px}.wfq-login-heading h1{font-size:14px;font-weight:600;color:#5b6570;letter-spacing:1.8px;text-transform:uppercase;margin:0}@media(max-width:420px){.wfq-login-heading .wfq-firm-name{font-size:22px}}
/* Clickable brand with a Home label so staff can get back to the dashboard. */
.wfq-top .wfq-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;min-width:0}.wfq-top .wfq-brand span{font-size:19px;font-weight:700;white-space:nowrap}
.wfq-home-tag{font-size:12px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.45);border-radius:6px;padding:5px 11px;line-height:1}
.wfq-top .wfq-brand:hover .wfq-home-tag{background:#fff;color:#6f0000;border-color:#fff}

@media(max-width:400px){.wfq-top .wfq-brand span{font-size:15px}.wfq-top nav{gap:7px;font-size:13px}.wfq-top nav a,.wfq-top nav span{padding:6px 10px}}

/* The app sets its own type scale. The theme's stylesheets are dequeued on these screens,
   but explicit sizes here mean nothing a theme or plugin leaves behind can inflate the page. */
body.wfq-front{font-size:15px;line-height:1.5;-webkit-text-size-adjust:100%}
.wfq-front .wfq-app{font-size:15px}
.wfq-front .wrap h1{font-size:26px;line-height:1.25;margin:0 0 14px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.wfq-front .wrap h2{font-size:18px}
.wfq-front .wrap h3{font-size:15px}
.wfq-front p,.wfq-front label,.wfq-front td,.wfq-front th,.wfq-front input,.wfq-front select,.wfq-front textarea{font-size:15px}
.wfq-front .page-title-action{font-size:14px;padding:7px 14px;font-weight:700}
.wfq-front .button,.wfq-front .button-primary{font-size:14px}
.wfq-front .notice p{margin:0}
.wfq-front .wfq-scope{color:#65707c;font-size:13px}

/* Saved Quotations: keep the table inside its own box so the page never scrolls sideways
   and the Edit / Print buttons stay reachable. */
.wfq-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e3e6e8;border-radius:10px}
.wfq-table-scroll .widefat{min-width:860px;border:0}
.wfq-front .widefat th,.wfq-front .widefat td{font-size:14px;padding:10px 12px;vertical-align:top;overflow-wrap:anywhere}
.wfq-front .widefat th{font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#5b6570;white-space:nowrap}
.wfq-front .wfq-row-actions{white-space:nowrap}
.wfq-front .wfq-row-actions .button{font-size:13px;padding:6px 11px}
.wfq-version{text-align:right;color:#9aa3ab;font-size:11px;letter-spacing:.4px;margin:26px 0 0}
.wfq-front .wfq-btn-nego{background:#15558f!important;color:#fff!important}
.wfq-front .wfq-btn-nego:hover{background:#0f4273!important}

/* Sign-in page: the card and the copyright are centred together as ONE block, so the card
   stays in the middle of the screen and the notice sits directly under it. Put the notice
   straight into the centred area and it becomes a second centred item, pushing the card up. */
.wfq-login-inner{width:min(480px,100%)}
.wfq-login .wfq-login-card{width:100%}
.wfq-copyright{margin:14px 0 0;text-align:center;font-size:11px;line-height:1.55;color:#8d969f}
.wfq-login .wfq-copyright{color:rgba(255,255,255,.74)}
.wfq-front .wfq-version{margin-bottom:2px}
