/* leasium-jobs tweaks.css v1.5 (1 Dec 2026, night): each team card on the Team page says it opens (Barney, 1 Dec: "Can each team report open
   up ... if I tick yellow it opens and shows me yellows total jobs booked, value, GP etc with then just yellow account managers below").
   Pressing a card already opened the team page with its totals and only its account managers; it just was not obvious. Rule at the bottom.
   leasium-jobs tweaks.css v1.4 (1 Dec 2026, night): the job details box in the right column (Payment terms, Site contact, Hire, Invoice,
   PO) is a normal white card now, not black (Henry: "the black is really impactful ... softer please"), and the Next step box no longer
   sticks at the top while you scroll, which was sliding over the details box so it couldn't be read. Rules at the bottom.
   leasium-jobs tweaks.css v1.3 (1 Dec 2026, night): the little i tips by the next step buttons (Move on anyway and so on) restyled to
   match the rest of the portal (Henry: "looks way out of place and not in style"). Was a black box in a serif font with an italic serif i.
   Now a soft grey i in the normal font and a white tip with a soft shadow, same as the Direction A cards. Rule at the bottom.
   leasium-jobs tweaks.css v1.2 (1 Dec 2026, late): date boxes back to the same height as the boxes next to them (the taller ones put the
   postcode out of line, Barney: "Postcode box slightly misaligned"); a click anywhere in a date box now opens the calendar (jobtop.js v0.2).
   The postcode and dates row lines up along the bottom even when a label runs to two lines.
   leasium-jobs tweaks.css v1.1 (1 Dec 2026, evening): bigger date pickers, and the v0.7 extra charges column rule dropped. */
/* leasium-jobs tweaks.css v1.0 (1 Dec 2026): every table in the portal gets alternating row shading, like the Team tables (Henry,
   1 Dec: "anywhere where there is a table ... each line has the colour stepping"). Zero weight (:where), so any row or cell that
   already has its own colour (highlights, editors, hover) keeps it. Rule at the bottom.
   leasium-jobs tweaks.css v0.9 (1 Dec 2026): job page Next step is one big button (index.html v1.2 marks it .ljcta), with the Next step
   words, hints and the Do it here label hidden (Tony, 1 Dec call). Rules at the bottom.
   leasium-jobs tweaks.css v0.8 (1 Dec 2026): Reports tables get alternating row shading like the Team page (Tony, 1 Dec call:
   "the delineation from line to line"). Rule at the bottom.
   leasium-jobs tweaks.css v0.7 (25 Nov 2026): Extra charges on the Supplying tab no longer show Supplier qty and Supplier cost
   (Barney, 23 Nov: sell prices on Supplying, buy prices on PO / Supplier). Rule at the bottom.
   leasium-jobs tweaks.css v0.6 (23 Nov 2026): Leave > Set up rules boxes are wider so "On top of the allowance" is not cut off
   (moved here from the leave.js v0.2 change so it goes live without resending leave.js). Rule at the bottom.
   v0.5 (12 Nov 2026): pages use the width of the screen (asked for on the 12 Nov call). The top bar and
   every page were held to 1400px. They now run edge to edge, up to 2200px so a very wide monitor does not stretch the forms.
   The rule is at the bottom of this file.
   v0.2 (11 Nov 2026): Golden Lead nudge made easier to catch. It now comes about 3 seconds after the
   board loads and then every 20 seconds, lasts a bit under a second, and no longer stops when the mouse is over the card.
   Still 2px side to side. The board reloads every 60 seconds, so the 20 second rhythm carries on across reloads.
   For anyone whose device is set to reduce motion the card doesn't move: its gold edge glows briefly instead.
   v0.1 (11 Nov 2026): first version, nudge at the end of each 20 seconds, paused on hover, off under reduce motion. */
@keyframes lj-nudge{0%,96%,100%{transform:translateX(0)}96.5%{transform:translateX(-2px)}97.2%{transform:translateX(2px)}97.9%{transform:translateX(-2px)}98.6%{transform:translateX(2px)}99.3%{transform:translateX(-1px)}}
@keyframes lj-glow{0%,96%,100%{box-shadow:0 0 0 3px #F6E7B8}98%{box-shadow:0 0 0 6px #E9C864}}
.card.gold{animation:lj-nudge 20s linear -16.2s infinite}
@media (prefers-reduced-motion:reduce){.card.gold{animation:lj-glow 20s linear -16.2s infinite}}
/* v0.3 (12 Nov 2026): tidied up for the 11:00 review so the portal looks as it will in production.
   Hidden: the "Testing: Henry only", "Henry only" and "Concept" tags, the "Early version" band across the top of every page,
   the Tidy up panel on the daily board, and the "Test mode" tag next to the New Fact Find title.
   Looks only. Underneath, the new features are still switched on for Henry only and quotes still only go to the test addresses.
   The "Preview: not saving" tags stay, because those parts really do not save yet.
   Delete these four rules to bring everything back. */
.beta{display:none!important}
.band{display:none!important}
#dlytidy{display:none!important}
body:has(#nav a.on[data-v="factfind"]) #fpv,body:has(#nav a.on[data-v="order"]) #fpv{display:none!important}
/* v0.4 (12 Nov 2026): the sign in page. No top bar or menu before you are signed in, and the page is branded:
   Leasium logo on a white card over a dark blue background. Looks only, signing in works exactly as before. */
body:has(#lf) header{display:none!important}
body:has(#lf){min-height:100vh;background:radial-gradient(900px 520px at 82% 8%,rgba(46,123,180,.38),transparent 62%),radial-gradient(700px 480px at 8% 96%,rgba(63,167,160,.18),transparent 60%),linear-gradient(135deg,#121B24 0%,#1A2D41 58%,#22496B 100%);background-attachment:fixed}
body:has(#lf) #app{min-height:100vh;max-width:none;margin:0;display:flex;align-items:center;justify-content:center;padding:24px 16px;box-sizing:border-box}
#lf.login{width:100%;max-width:420px;margin:0;border:0;border-radius:18px;padding:32px 34px 30px;box-sizing:border-box;box-shadow:0 26px 64px rgba(6,14,22,.5)}
#lf.login::before{content:"";display:block;height:112px;margin:2px 0 16px;background:url(/img/leasium-logo.webp) center/contain no-repeat}
#lf.login h1{font-size:15px!important;font-weight:600;color:#4F5D69;text-align:center;letter-spacing:.2px;margin:0 0 20px!important}
#lf.login input{border-radius:10px}
#lf.login input:focus{outline:2px solid #2E7BB4;outline-offset:1px;border-color:#2E7BB4}
#lf.login .btn{border-radius:10px;min-height:48px}
/* v0.5 (12 Nov 2026): full width pages. Not the sign in page, which has its own layout above. */
.hd,main{max-width:2200px}

/* v0.6: Leave set up rules */
.lv #ljlvs.rq{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.lv form.rq select{width:100%}

/* v0.7: Extra charges, customer side only on Supplying. Rule dropped in v1.1: preview.js v1.2 no longer draws the supplier columns on
   Supplying (they are on the PO / Supplier tab now), so hiding columns 6 and 7 would hide Total and Remove. */

/* v0.8 Reports: alternating rows, hover still wins */
.ljr .r-t tbody tr:nth-child(even) td{background:#F6F8FB}
[data-theme="dark"] .ljr .r-t tbody tr:nth-child(even) td{background:rgba(255,255,255,.035)}
.ljr .r-t tbody tr.r-go:hover td{background:var(--r-tint)}
@media print{.ljr .r-t tbody tr:nth-child(even) td{background:#F3F5F8!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* v0.9 job page: one big Next step button, no helper words */
#app .acts .btn.ljcta{order:-1;width:100%;min-height:54px;font-size:16px;font-weight:700;justify-content:center;background:var(--a-acc,#2450D8);border-color:var(--a-acc,#2450D8);color:#fff;border-radius:12px}
#app .acts .btn.ljcta:hover{filter:brightness(1.07)}
#app .acts .btn.ljcta::after{content:"\2192";margin-left:8px}
#app section.has-cta > .next{display:none!important}
#app .lja-hint,#app .ljdohere,#app .ljnob{display:none!important}

/* v1.0 every table: alternating rows */
:where(#app,#ljmsheet,#ljask) table > tbody > tr:nth-child(even) > td{background-color:#F6F8FB}
:where([data-theme="dark"]) :where(#app,#ljmsheet,#ljask) table > tbody > tr:nth-child(even) > td{background-color:rgba(255,255,255,.035)}
html.ljtv :where(#app) table > tbody > tr:nth-child(even) > td{background-color:rgba(255,255,255,.03)}
@media print{:where(#app) table > tbody > tr:nth-child(even) > td{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* v1.1 (1 Dec 2026, evening): bigger date and time pickers everywhere (Barney, 1 Dec: "Can the calendar click be larger, it's often
   quicker to click the date then to type it, currently quite small target"). The calendar button fills the right hand end of the box. */
/* v1.2: the box keeps the height of its neighbours; the calendar button is easier to hit and the whole box opens it (jobtop.js). */
input[type="date"],input[type="datetime-local"]{cursor:pointer}
input[type="date"]::-webkit-calendar-picker-indicator,input[type="datetime-local"]::-webkit-calendar-picker-indicator{width:18px;height:18px;padding:3px;margin-right:-4px;cursor:pointer;border-radius:6px;opacity:.75}
input[type="date"]::-webkit-calendar-picker-indicator:hover,input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover{background-color:rgba(36,80,216,.12);opacity:1}
#app .f2:has(#fpc){align-items:end}
/* v1.3: next step i tips in the portal style */
html #ljpush .ljtip{flex:0 0 24px;width:24px;height:24px;border:0;background:var(--a-soft,#F1F3F6);color:var(--a-mute,#5B6570);font-family:Inter,system-ui,sans-serif;font-style:normal;font-weight:700;font-size:12px;transition:background .12s ease,color .12s ease}
html #ljpush .ljtip:hover,html #ljpush .ljtip:focus{background:var(--a-tint,#E8EEFD);color:var(--a-acc,#2450D8);border:0}
html #ljpush .ljtip::after{width:260px;padding:12px 14px;border-radius:12px;background:var(--a-card,#fff);color:var(--a-ink,#16212B);font-family:Inter,system-ui,sans-serif;font-style:normal;font-weight:400;font-size:13px;line-height:1.5;box-shadow:0 1px 2px rgba(16,24,40,.06),0 12px 32px rgba(16,24,40,.16);transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease}
html #ljpush .ljtip:hover::after,html #ljpush .ljtip:focus::after{transform:none}
/* v1.4: job details box softer, Next step box scrolls with the page */
html.lja body #app.lja-job .side>.panel:has(>dl){background:var(--a-card);color:var(--a-ink);box-shadow:0 1px 2px rgba(16,24,40,.05)}
html.lja body #app.lja-job .side>.panel:has(>dl) .lbl,html.lja body #app.lja-job .side>.panel:has(>dl) dt{color:var(--a-mute)}
html.lja body #app.lja-job .side>.panel:has(>dl) dd{color:var(--a-ink);font-weight:600}
html.lja body #app.lja-job .side>.panel:has(>dl) a{color:var(--a-acc)}
html.lja[data-theme="dark"] body #app.lja-job .side>.panel:has(>dl){box-shadow:inset 0 0 0 1px var(--a-line)}
html.lja body #app.lja-job #ljnext{position:static}
/* v1.5: team cards show they open */
.ljtm .t-tcard{transition:transform .14s ease,box-shadow .14s ease}
.ljtm .t-tcard:hover{transform:translateY(-2px)}
.ljtm .t-tcard::after{content:"See the team totals and its account managers \2192";display:block;padding:12px 16px;font-size:13px;font-weight:700;color:var(--a-acc,#2450D8);border-top:1px solid var(--t-line,#E3E7EB)}
html.ljtv .ljtm .t-tcard::after{display:none}
@media print{.ljtm .t-tcard::after{display:none}}
