/* ---------------------------------------------------------------------
   the first company payroll — the same identity as the public site: navy on white, and
   one typeface throughout, the same one the website and the prototype use.
   Deliberately quieter than the website: this is a tool people use on a
   Monday morning, not a shop window.
   --------------------------------------------------------------------- */
/* Roboto is served from this server rather than from Google. A payroll behind a
   sign-in should not be announcing every page view to a third party, and this
   keeps the content-security-policy as tight as it is. */
@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;
  src:url('/assets/fonts/roboto-latin-300-normal.woff2') format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/roboto-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;
  src:url('/assets/fonts/roboto-latin-400-italic.woff2') format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/roboto-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/roboto-latin-700-normal.woff2') format('woff2')}
/* The firm's own face, self-hosted like the rest — the website uses it for
   the same name, so the two now match. Only the banner wears it. */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;
  src:url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2')}

:root{
  /* ---- THE GROUND AND THE THINGS ON IT ----

     --paper was #fff and every panel, card and table was also #fff, which is
     why the whole system read as flat: nothing sat ON anything. The firm, on
     30 August 2026: "it is too white and dry, add more life."

     So the page is now a warm light ground and the things on it are white.
     That one separation is most of the difference — a card with an edge and a
     shadow reads as an object you can pick up, and a white card on a white
     page reads as a rectangle somebody drew. */
  /* The quiet-panel tone went from beige to LIGHT BLUE on the firm's word
     (1 September 2026): "Change the all the beige color for panels to light
     blue" — and the same token is what a pointed-at nav item or table row
     lights up with, which the firm asked for the same day. */
  /* The neutrals are the first company's own family now — navy's paler shades, not
     beige. The firm, 1 September 2026: "there are a lot of beige colors,
     this is not a first-company color, utilize the aac colors and its shades (navy
     blue, royal blue, light blue, etc)". */
  --paper:#f1f5fb; --surface:#fff; --panel:#e8f0fa;
  --line:#d9e3f2; --line-soft:#e8eef8;
  /* The two bars at the top, editable on Appearance and wording without
     touching the surfaces everything else sits on. */
  --banner:#fff; --navbar:#fff;
  /* Neutrals with a trace of navy in them rather than pure greys. */
  --ink:#1b1e28; --muted:#5a6178; --faint:#8b91a6;

  /* the first company navy, untouched. It is the firm's color and the anchor of every
     screen; everything below is arranged around it, not in competition
     with it. */
  --navy:#030181; --navy-soft:#e9eaf7; --navy-line:#c5c9e2;
  --navy-deep:#02015c; --navy-lift:#2a28a8;

  /* ---- THE ACCENT ----
     Navy alone on white is correct and lifeless; navy and gold is what an
     accountancy firm's own letterhead does, and it gives the figures
     somewhere to be emphatic without touching the semantic colors below.
     Used sparingly: money that matters, an active tab, a rule under a
     heading. Never for anything that means good or bad. */
  --gold:#8a6410; --gold-mid:#b4881f; --gold-soft:#f8f0dc; --gold-line:#e6d3a4;

  /* Semantic, and separate from the accent on purpose: an amount printed in
     gold must never be mistaken for an amount printed in green. */
  --ok:#1c6344; --ok-soft:#e6f2ea;
  --warn:#8a5a12; --warn-soft:#faf2e2;
  --bad:#8f2f2c; --bad-soft:#faeae9;
  /* A true red, kept apart from --bad. --bad is the color of a thing that
     went wrong; this is the color of a thing that needs doing, and they
     should not be the same red on the same screen. */
  --red:#c62828; --red-soft:#fdeceb; --red-line:#f3c9c6;
  /* Univers 45 Light where the license is installed; Roboto Light for everyone
     else. --serif is kept only as a name, so it resolves to the same face. */
  --sans:'Univers 45 Light','Univers LT Std 45 Light','UniversLTStd-Light',
    'Univers LT 45 Light','Univers LT Std','Univers Light','Univers 45','Univers','Roboto',
    ui-sans-serif,'Helvetica Neue',Helvetica,Arial,sans-serif;
  --serif:var(--sans);
  --radius:10px; --radius-sm:7px;
  /* Shadows carry the depth; the borders stay, because a shadow alone
     disappears the moment somebody prints the page or turns contrast up. */
  --shadow-sm:0 1px 2px rgba(29,27,32,.04), 0 2px 8px -4px rgba(29,27,32,.08);
  --shadow-md:0 2px 4px rgba(29,27,32,.04), 0 14px 30px -20px rgba(3,1,129,.28);
  --shadow-lg:0 24px 60px -34px rgba(3,1,129,.42);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
.wrap{max-width:1080px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
a{color:var(--navy)}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.2;letter-spacing:-.015em;margin:0}
/* The page heading is the only display-sized one, and takes the Light weight. */
h1.pgh{font-weight:300;letter-spacing:-.022em}
img{max-width:100%;display:block}

/* the thin navy rule at the very top, as on the website */
.band{display:block;height:4px;background:var(--navy)}

/* ---------- header ---------- */
.top{border-bottom:1px solid var(--line);background:var(--navbar);position:sticky;top:0;z-index:30;
  box-shadow:0 1px 0 rgba(29,27,32,.03), 0 6px 20px -18px rgba(3,1,129,.5)}
.top .wrap{display:flex;align-items:center;gap:1rem;min-height:68px}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:inherit;margin-right:auto}
/* The firm's mark. The navy disc is part of the image, so nothing is drawn
   behind it — a background here would show as a ring at the edges. */
.mark{width:38px;height:38px;flex:0 0 auto;display:block}
.brandtxt{display:flex;flex-direction:column;line-height:1.25}
.brandtxt b{font-family:var(--serif);font-size:.98rem;font-weight:700}
.brandtxt i{font-style:normal;font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.mainnav{display:flex;gap:.25rem;flex-wrap:wrap}
.mainnav a{font-size:.9rem;text-decoration:none;color:var(--muted);padding:.5rem .8rem;border-radius:6px}
.mainnav a:hover{background:var(--panel);color:var(--ink)}
.mainnav a[aria-current]{color:var(--navy);background:var(--navy-soft);font-weight:500}

.who{position:relative}
.who summary{list-style:none;cursor:pointer}
.who summary::-webkit-details-marker{display:none}
.avatar{width:38px;height:38px;border-radius:50%;background:var(--navy-soft);color:var(--navy);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;
  border:1px solid var(--navy-line)}
.whomenu{position:absolute;right:0;top:calc(100% + 10px);background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:0 22px 44px -26px rgba(3,1,129,.5);padding:14px;min-width:240px}
.whomenu .nm{margin:0;font-weight:600}
.whomenu .em,.whomenu .en{margin:.1rem 0 0;font-size:.84rem;color:var(--muted);word-break:break-all}
.whomenu .en{color:var(--navy)}
.whomenu a,.whomenu button{display:block;width:100%;text-align:left;margin-top:.7rem;
  font:inherit;font-size:.9rem;padding:.5rem .6rem;border-radius:6px;border:1px solid var(--line);
  background:var(--surface);color:var(--ink);text-decoration:none;cursor:pointer}
.whomenu a:hover,.whomenu button:hover{border-color:var(--navy);color:var(--navy)}

main{padding:clamp(24px,4vw,44px) 0 64px;min-height:60vh}
.pgh{font-size:clamp(1.5rem,3.2vw,2.1rem);margin-bottom:.35rem}
.pghead{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.4rem}
.pghead .pgh{margin:0;margin-right:auto}
.lede{color:var(--muted);max-width:62ch;margin:0 0 1.6rem}
.hint{font-size:.85rem;color:var(--muted);margin:.35rem 0 1rem}
.small{font-size:.86rem}

/* ---------- the band at the head of a dashboard ---------------------
   Ported from the prototype. The wording is set in lib/view.php, in the
   hero() function and the two lines that call it; the colors are the
   --navy tokens at the top of this file. Nothing here needs the payroll
   data, which is why it could come across before the rest. */
.hero{
  position:relative;overflow:hidden;border-radius:var(--radius);
  background:linear-gradient(102deg,var(--navy) 0%,var(--navy) 54%,#02015c 100%);
  color:#fff;padding:clamp(22px,3.4vw,40px) clamp(20px,3vw,38px);
  margin:0 0 clamp(20px,2.8vw,32px);
}
/* One soft highlight, as in the prototype — it stops the band reading flat
   without becoming decoration in its own right. */
.hero::after{
  content:"";position:absolute;right:-90px;top:-120px;width:320px;height:320px;
  border-radius:50%;background:rgba(255,255,255,.055);pointer-events:none;
}
.hero > *{position:relative;z-index:1}
.hero .eyebrow{
  font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;
  color:#aeb6ff;margin:0 0 .55rem;
}
.hero .pgh{color:#fff;margin:0;font-weight:300;letter-spacing:-.022em}
.hero .sub{margin:.6rem 0 0;color:#d7d9f4;font-size:.98rem;max-width:62ch}
.hero .sub b{color:#fff;font-weight:500}

/* A section label with the navy tick, as the prototype marks its sections. */
.sechead{
  display:flex;align-items:center;gap:.6rem;margin:0 0 .9rem;
  font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);
}
.sechead::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--navy);flex:0 0 auto}
.muted{color:var(--muted)}
.sub{font-size:.82rem;color:var(--muted)}
.nw{white-space:nowrap}

/* ---------- flashes ---------- */
.flash{font-size:.94rem;border-radius:var(--radius);padding:.85rem 1.1rem;margin:0 0 1.4rem;
  border-left:3px solid var(--line)}
.flash.ok{background:var(--ok-soft);border-color:var(--ok);color:var(--ok)}
.flash.bad{background:var(--bad-soft);border-color:var(--bad);color:var(--bad)}
.flash.info{background:var(--warn-soft);border-color:var(--warn);color:var(--warn)}

/* ---------- panels, buttons ---------- */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(18px,2.4vw,28px);box-shadow:var(--shadow-sm)}
.panel.narrow{max-width:34rem;margin:6vh auto}
.panel.narrow2{max-width:44rem}
.panel.calm{background:var(--panel);border-style:dashed;color:var(--muted)}
.panel.empty{background:var(--panel);border-style:dashed;color:var(--muted);text-align:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;font:inherit;
  font-size:.92rem;font-weight:500;padding:.7em 1.3em;border-radius:6px;border:1px solid var(--line);
  background:var(--surface);color:var(--ink);text-decoration:none;cursor:pointer;transition:.15s ease}
.btn:hover{border-color:var(--navy);color:var(--navy)}
.btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-primary:hover{color:#fff;opacity:.92}
.btn.small{padding:.42em .8em;font-size:.84rem}
.btn.ghost{color:var(--muted)}
.btn.ghost:hover{border-color:var(--bad);color:var(--bad)}

/* ---------- forms ---------- */
label{display:block;font-size:.85rem;font-weight:500;margin:1rem 0 .35rem}
label.check{display:flex;gap:.6rem;align-items:baseline;font-weight:400}
label.check span{color:var(--muted);font-size:.85rem}
/* ---- EVERY TYPE THAT IS A FIELD, NOT JUST SOME OF THEM ----
   input[type=number] was missing from this list and from the height rule
   below, so every amount on the site — salaries, allowances, loans —
   rendered as a bare browser default: no padding, no border radius, and
   23px shorter than the box beside it. In a row of four fields that one
   short box is what made the row look like a staircase. */
input[type=text],input[type=email],input[type=password],input[type=date],input[type=time],
input[type=number],input[type=tel],input[type=search],
select,textarea{
  width:100%;font:inherit;font-size:16px;padding:.7rem .85rem;border:1px solid var(--line);
  border-radius:6px;background:var(--surface);color:var(--ink);box-sizing:border-box}
/* One height for every control on a row, so a select and a text field line
   up. Without this a select is a couple of pixels taller — its height comes
   from the widget, not from the text — and in a row of fields that is enough
   to leave every label sitting at a different level. */
input[type=text],input[type=email],input[type=password],input[type=date],input[type=time],
input[type=number],input[type=tel],input[type=search],
select{
  height:44px;line-height:1.2}
/* The arrow is drawn here rather than left to the platform, which is the
   other half of matching the height: a native select reserves room for its
   own control and there is no way to ask it how much. */
select{appearance:none;-webkit-appearance:none;padding-right:2.2rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23565a6e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .85rem center}
input:focus,select:focus,textarea:focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy)}
textarea{resize:vertical;min-height:8rem;line-height:1.6}
.signin form button{margin-top:1.4rem;width:100%}
.signin h1{font-size:1.55rem;margin-bottom:.4rem}
/* Each field is its own column, and each column is a label sitting directly
   on top of its control. Aligning the boxes to the bottom of the row was what
   pushed the labels apart; aligning the tops of the cells and giving every
   control the same height keeps both rows straight. */
.rowform{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:1.1rem;align-items:stretch}
.rowform > div{display:flex;flex-direction:column;gap:.35rem;min-width:0}

/* ---- "Put back what you typed" ----
   Sits across the whole width of the form, above the boxes it is talking
   about, so it is read before anybody wonders why a field already has
   something in it. Quiet green rather than a warning color: nothing has
   gone wrong here, something was kept from going wrong. */
.draftback{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;
  margin:0 0 .4rem;padding:.6rem .85rem;font-size:.86rem;line-height:1.5;
  color:var(--ok);background:var(--ok-soft);border:1px solid var(--ok);border-radius:6px}
.draftback .btn{margin:0}
/* ---- THE BOXES LINE UP EVEN WHEN THE WORDS ABOVE THEM DO NOT ----

   A one-line label and a two-line label put their inputs at two different
   heights, and a row of four fields came out looking like a staircase. It is
   the commonest way an otherwise plain form looks unfinished.

   So every cell stretches to the height of the tallest, and the control is
   pushed to the BOTTOM of its own cell. However the labels wrap, the boxes
   sit on one line. `align-items:stretch` gives the cells that height;
   `margin-top:auto` pushes the control down inside them. */
.rowform > label{margin:0;line-height:1.3;display:flex;flex-direction:column;
  gap:.35rem;min-width:0}
.rowform > label > input,
.rowform > label > select,
.rowform > label > textarea{margin-top:auto}
/* A note under a label is part of the question and stays with it, rather than
   being pushed to the bottom alongside the control. */
.rowform > label > .sub{margin:0}
.rowform label{margin:0;line-height:1.3}
/* The button is not a field, so it does not sit in the row of fields. Its own
   line, separated by a rule, which also gives it somewhere to go when the
   fields wrap onto two rows on a narrow screen. */
.rowform .go{grid-column:1/-1;border-top:1px solid var(--line-soft);padding-top:1.1rem;
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.rowform .go button{margin:0;width:auto;min-width:9rem}
.rowform .go .hint{margin:0;flex:1 1 16rem}
/* A field whose answer is a sentence, not a value, gets the whole row. Sharing
   a 190px column with a time input turns "why" into a box nobody can read
   their own words back in. */
.rowform .wide{grid-column:1/-1}
/* A short numbered list of what to do next. Numbered because the steps are
   genuinely sequential — take advice, then ask — and not merely two bullets. */
.steps{margin:.4rem 0 1rem;padding-left:1.3rem;max-width:62ch}
/* Renaming an allowance in place. The box has to look like a box — an
   input that looks like plain text is one nobody realizes they may edit. */
.renameform{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
.renameform input[type=text]{height:32px;padding:.25rem .5rem;font-size:.9rem;
  min-width:9rem;max-width:14rem;width:auto}

.steps li{margin:.55rem 0;line-height:1.6}
.steps li::marker{color:var(--muted);font-weight:600}

/* A checkbox is not a field with a box under it — the control comes first and
   the explanation hangs off it, or the tick floats above a paragraph it is
   not visibly attached to. */
.rowform label.chk{display:grid;grid-template-columns:auto 1fr;gap:.3rem .6rem;
  align-items:start;border-top:1px solid var(--line-soft);padding-top:1rem}
.rowform label.chk input{margin:.15rem 0 0;width:auto;justify-self:start}
.rowform label.chk .sub{grid-column:2;margin:.25rem 0 0;line-height:1.45}

/* Recording a punch by hand. Folded away by default: it is the exception, and
   an exception left standing open starts to look like the method. */
details.manual{margin-top:1.6rem}
details.manual > summary{cursor:pointer;list-style:none;padding:.2rem 0}
details.manual > summary::-webkit-details-marker{display:none}
details.manual > summary::before{content:'▸ ';color:var(--muted)}
details.manual[open] > summary::before{content:'▾ '}
details.manual > summary .sub{font-weight:400}
/* The row itself, in the day's table. Not red — nothing has gone wrong — but
   plainly not a punch either, so that a page of them cannot be mistaken for a
   page of attendance. */
.tag{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.68rem;
  letter-spacing:.06em;text-transform:uppercase;font-weight:600}
.tag.byhand{background:var(--warn-soft);color:var(--warn);border:1px solid #e6d3ae}
/* Its own button row rather than the shared .go one: that class is turned to a
   centered column elsewhere in the sheet, which here put the button in the
   middle of the panel and gave a one-line note a flex-basis of 256px — read as
   a HEIGHT once the direction was column, so the panel grew a quarter of a
   thousand pixels of nothing underneath it. */
.rowform .manualgo{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;
  gap:1rem;flex-wrap:wrap;border-top:1px solid var(--line-soft);padding-top:1.1rem}
.rowform .manualgo button{margin:0;width:auto;min-width:9rem}
.rowform .manualgo .mgnote{font-size:.85rem;color:var(--muted);flex:0 1 auto}

.addbox{margin-top:1.6rem;padding:0}
/* The default triangle is replaced, so the summary can be a proper heading
   row rather than a line of text with a browser marker bolted to its left. */
.addbox summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.7rem;
  padding:1.1rem clamp(16px,2.2vw,24px);font-weight:500;border-radius:var(--radius)}
.addbox summary::-webkit-details-marker{display:none}
.addbox summary::before{content:"";width:9px;height:9px;flex:0 0 auto;
  border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);
  transform:rotate(-45deg);transition:transform .18s ease;margin-left:2px}
.addbox[open] summary::before{transform:rotate(45deg)}
.addbox summary:hover{background:var(--panel)}
.addbox summary:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}
.addbox[open] summary{border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0}
.addbox .rowform{padding:clamp(16px,2.2vw,24px)}

/* ---------- announcement banner (employee dashboard) ---------- */
.banners{display:flex;flex-direction:column;gap:1rem;margin:0 0 2rem}
.banner{border:1px solid var(--navy-line);border-left:4px solid var(--navy);border-radius:var(--radius);
  background:linear-gradient(180deg,var(--navy-soft),#fff 62%);padding:clamp(18px,2.4vw,26px)}
.banner.important{border-color:#e3b7b5;border-left-color:var(--bad);
  background:linear-gradient(180deg,var(--bad-soft),#fff 62%)}
.bn-head{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.5rem}
.pip{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;font-weight:600;
  background:var(--navy);color:#fff;border-radius:999px;padding:.3em .9em}
.banner.important .pip{background:var(--bad)}
.bn-meta,.an-meta{font-size:.78rem;color:var(--muted)}
.banner h2{font-size:1.25rem;margin-bottom:.5rem}
.bn-body p,.an-body p{margin:0 0 .7rem;color:var(--ink)}
.bn-body p:last-child,.an-body p:last-child{margin-bottom:0}
.bn-act{margin-top:1.1rem}

/* ---------- announcement cards (lists) ---------- */
.anlist{display:flex;flex-direction:column;gap:1rem}
.ancard{border:1px solid var(--line);border-radius:var(--radius);padding:clamp(16px,2.2vw,24px);
  background:var(--surface);margin-bottom:1rem}
.ancard.important{border-left:3px solid var(--bad)}
.ancard.read{background:var(--panel)}
.ancard.retired{opacity:.6}
.ancard h2{font-size:1.12rem;margin-bottom:.45rem}
.an-head{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin-bottom:.4rem}
.an-head .pip{background:var(--navy-soft);color:var(--navy)}
.ancard.important .an-head .pip{background:var(--bad-soft);color:var(--bad)}
.an-head .tick{margin-left:auto;font-size:.74rem;color:var(--ok);font-weight:500}
.an-head .dot{margin-left:auto;width:9px;height:9px;border-radius:50%;background:var(--navy)}
.an-foot{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
.ancard form{display:inline}

/* ---------- stats and cards ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;margin:0 0 2rem;box-shadow:var(--shadow-sm)}
.stat{background:var(--surface);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.15rem}
.stat{position:relative}
/* A hairline of the accent along the top of each figure. Three pixels of
   gold is what stops a row of four numbers reading as a spreadsheet. */
.stat::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,var(--gold-mid),var(--gold-line));opacity:.85}
.stat .n{font-family:var(--serif);font-size:1.9rem;line-height:1;color:var(--navy);
  font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.stat .k{font-size:.78rem;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;margin-top:1.6rem}
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.2rem 1.3rem;text-decoration:none;color:inherit;background:var(--surface);
  box-shadow:var(--shadow-sm);transition:.18s ease}
a.card:hover{border-color:var(--navy-line);transform:translateY(-2px);
  box-shadow:var(--shadow-md)}
.card h3{font-size:1.06rem;margin-bottom:.35rem}
.card p{margin:0;color:var(--muted);font-size:.9rem}
.card .go{margin-top:auto;padding-top:.9rem;font-size:.85rem;color:var(--navy);font-weight:500}
.card.soon{opacity:.62}
.card.soon .go{color:var(--muted)}

/* ---------- tables ---------- */
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--surface);box-shadow:var(--shadow-sm);
  /* Momentum scrolling, or a wide register on an iPad drags like treacle. */
  -webkit-overflow-scrolling:touch}
table.grid{border-collapse:collapse;width:100%;font-size:.9rem;min-width:640px}
table.grid th{text-align:left;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);font-weight:500;padding:.75rem 1rem;background:var(--panel);
  border-bottom:1px solid var(--line);white-space:nowrap}
table.grid td{padding:.7rem 1rem;border-bottom:1px solid var(--line-soft);vertical-align:middle}
/* Every column of digits in the system lines up on its decimal point. It is
   one declaration and it is the difference between a table of figures and a
   list of strings that happen to be numbers. */
.n{font-variant-numeric:tabular-nums}
table.grid tr:last-child td{border-bottom:none}
table.grid tbody tr:hover{background:var(--panel)}
/* The cell stays a cell. A flex container here is out of the table's layout
   altogether, which is what let a row grow to twice its height and let
   "Send new password" break across two lines inside a button. */
table.grid td.act{white-space:nowrap;text-align:right;width:1%}
table.grid td.act .acts{display:flex;gap:.4rem;justify-content:flex-end;align-items:center}
table.grid td.act form{margin:0}
table.grid td.act .btn{white-space:nowrap}
/* The name column carries a person's name and their employee number under
   it; letting it be as wide as it needs stops "Company Dummy" wrapping. */
table.grid td .sub{margin-top:.15rem}
.chip{display:inline-block;font-size:.74rem;padding:.28em .8em;border-radius:999px;white-space:nowrap}
.chip.active{background:var(--ok-soft);color:var(--ok)}
.chip.invited{background:var(--warn-soft);color:var(--warn)}
.chip.disabled{background:var(--bad-soft);color:var(--bad)}

/* ---------- idle warning ---------- */
.idle{position:fixed;inset:0;z-index:100;background:rgba(10,10,30,.6);
  display:flex;align-items:center;justify-content:center;padding:1.5rem}
.idle[hidden]{display:none}
.idle>div{background:var(--surface);border-radius:var(--radius);padding:1.8rem;max-width:26rem;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.idle h2{font-size:1.2rem;margin-bottom:.5rem}
.idle p{color:var(--muted);margin:0 0 1.2rem}

/* ---------- footer ---------- */
/* NAVY, not light blue — "make the color of the bottom most portion the
   aac color... and change the font color accordingly", 1 September 2026. */
.foot{border-top:1px solid var(--navy-deep);background:var(--navy);padding:1.6rem 0 2.4rem;
  font-size:.85rem;color:rgba(255,255,255,.82)}
.foot p{margin:0 0 .5rem;max-width:70ch}

@media (max-width:720px){
  .top .wrap{min-height:60px;gap:.6rem}
  .mainnav{order:3;width:100%;border-top:1px solid var(--line);padding:.35rem 0;margin:0 -4vw;
    padding-left:4vw;overflow-x:auto;flex-wrap:nowrap}
  .brandtxt b{font-size:.88rem}
  .rowform{grid-template-columns:1fr}
}
@media (pointer:coarse){
  .btn,.mainnav a,.whomenu a,.whomenu button{min-height:44px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* =====================================================================
   THE TIME CLOCK
   ===================================================================== */

/* ---------- the weather band ----------------------------------------
   The same band as .hero, given a sky. Every gradient below starts from
   --navy and travels somewhere: morning towards a lighter blue, evening
   and night down towards near-black. Nothing here introduces a second
   brand color — the weather changes the depth of the first company blue, not the
   hue of it, which is what keeps a rainy Tuesday looking like the same
   firm as a clear Friday.

   The scenery sits in .wx-sky underneath, at low opacity. It is furniture:
   at these values it reads as texture from a meter away and never competes
   with the greeting sitting on top of it. */
.hero.wx{
  background:linear-gradient(118deg,var(--navy) 0%,var(--navy) 46%,#02015c 100%);
  isolation:isolate;
}
.hero.wx .wx-body{position:relative;z-index:2}
.wx-sky{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;pointer-events:none}

/* One ladder, five rungs, and it only ever goes one way: light in the
   morning, the house navy in the afternoon, dark by evening. Every rung is
   the same hue — the first company navy — at a different value, so the band changes
   brightness through the day without ever changing color. Read the five
   background lines below together and the ladder is the whole design.

   The text sits on the left, where every one of these is at its darkest.
   That is what lets the morning end run as light as it does. */

/* dawn — first light. Lighter than night, not yet morning, with the
   faintest warmth at the far edge where the sun is coming up. */
.hero.sky-dawn{background:linear-gradient(118deg,#02064f 0%,#083494 58%,#2a63ac 88%,#4a6fae 100%)}
/* morning — the lightest the band ever gets */
.hero.sky-morning{background:linear-gradient(118deg,#0a2fa4 0%,#1b5ec9 58%,#3878cf 100%)}
/* afternoon — the house navy, straight down the middle */
.hero.sky-afternoon{background:linear-gradient(118deg,var(--navy) 0%,#0a3f9e 56%,#1559ad 100%)}
/* dusk — the light going out of it, still blue rather than violet */
.hero.sky-dusk{background:linear-gradient(118deg,#01013f 0%,#061a62 54%,#123072 100%)}
/* night — very nearly black */
.hero.sky-night{background:linear-gradient(118deg,#00010f 0%,#010a33 52%,#02015c 100%)}

/* Weather darkens the hour; it does not replace it.

   Rain at nine in the morning really is darker than a clear nine o'clock,
   and a band that brightened for it would say the opposite of what is
   outside the window. But a rainy morning is still lighter than a rainy
   night, and replacing the gradient outright threw that away — every wet
   hour of the day came out the same shade. So the weather is a wash laid
   over the rung instead, and the ladder survives underneath it.

   It is painted inside .wx-sky, which sits below .wx-body, so it dims the
   sky and never the words. */
.wx-sky::after{content:"";position:absolute;inset:0;pointer-events:none;background:transparent}
.hero.wx-drizzle .wx-sky::after{background:rgba(1,2,38,.22)}
.hero.wx-rain .wx-sky::after,.hero.wx-showers .wx-sky::after{background:rgba(1,2,32,.34)}
.hero.wx-cloudy .wx-sky::after,.hero.wx-fog .wx-sky::after{background:rgba(2,3,56,.20)}
.hero.wx-storm .wx-sky::after{background:rgba(0,1,20,.52)}

/* The scenery carries its own prefix, wxf- for weather furniture.
   It used to share the wx- prefix with the weather-kind classes on the band
   itself, and .wx-rain then matched both the band and the streaks drawn
   inside it — so on a rainy morning the whole band took position:absolute,
   left the flow and collapsed to nothing. Two different things must not
   answer to one name. */

/* the sun, low and soft — a glow rather than a disc */
.wxf-sun{position:absolute;right:6%;top:-38%;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,236,190,.30),rgba(255,236,190,.10) 45%,transparent 68%)}
.hero.sky-dawn .wxf-sun,.hero.sky-dusk .wxf-sun{top:14%;right:9%;width:190px;height:190px}

/* stars — one gradient, no elements. Three sizes so they do not read as a
   grid, and only ever on a clear or lightly clouded night. */
.wxf-stars{position:absolute;inset:0;opacity:.55;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%,#fff,transparent),
    radial-gradient(1.3px 1.3px at 28% 62%,#fff,transparent),
    radial-gradient(1.9px 1.9px at 41% 15%,#fff,transparent),
    radial-gradient(1.2px 1.2px at 57% 44%,#fff,transparent),
    radial-gradient(1.7px 1.7px at 68% 24%,#fff,transparent),
    radial-gradient(1.2px 1.2px at 79% 58%,#fff,transparent),
    radial-gradient(1.5px 1.5px at 88% 32%,#fff,transparent),
    radial-gradient(1.1px 1.1px at 94% 68%,#fff,transparent);
  background-repeat:no-repeat}

/* clouds — blurred ellipses, drifting slowly across and back */
.wxf-cloud{position:absolute;border-radius:50%;background:#fff;filter:blur(26px)}
.wxf-cloud.c1{width:300px;height:110px;right:4%;top:-14%;opacity:.16;animation:wxdrift 64s ease-in-out infinite}
.wxf-cloud.c2{width:220px;height:84px;right:26%;top:34%;opacity:.10;animation:wxdrift 92s ease-in-out infinite reverse}
.hero.wx-cloudy .wx-cloud.c1,.hero.wx-fog .wxf-cloud.c1{opacity:.22}
.hero.wx-storm .wxf-cloud.c1{opacity:.20}
@keyframes wxdrift{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(-42px)}
}

/* rain — repeating streaks on a slant, sliding down one tile length so the
   loop is seamless. A dozen streaks is plenty behind a heading. */
.wxf-rain{position:absolute;inset:-20% -10%;opacity:.20;
  background-image:repeating-linear-gradient(104deg,
    rgba(255,255,255,.55) 0 1px,transparent 1px 22px);
  animation:wxfall 1.1s linear infinite}
.hero.wx-drizzle .wxf-rain{opacity:.11;animation-duration:1.9s}
.hero.wx-storm .wxf-rain{opacity:.24;animation-duration:.85s}
@keyframes wxfall{from{background-position:0 0}to{background-position:-22px 90px}}

/* the flash — long dark, brief light, so it reads as weather rather than
   as something on the page blinking for attention */
.wxf-bolt{position:absolute;inset:0;background:rgba(255,255,255,.5);opacity:0;
  animation:wxflash 9s steps(1,end) infinite}
@keyframes wxflash{
  0%,96%{opacity:0} 96.5%{opacity:.16} 97%{opacity:0} 97.5%{opacity:.10} 98%{opacity:0}
}

/* Everything above stops for anyone who has asked for less motion. The
   scenery stays — it is what makes the band look like the weather — it
   simply holds still. */
@media (prefers-reduced-motion:reduce){
  .wxf-cloud,.wxf-rain,.wxf-bolt{animation:none}
  .wxf-bolt{opacity:.06}
}

/* ---------- what the band says ---------- */
.wx-now{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:.85rem 0 0;
  color:#eef0ff;font-size:1rem}
.wx-glyph{display:inline-flex;color:#dfe4ff}
.wx-now b{font-size:1.5rem;font-weight:400;letter-spacing:-.02em;color:#fff;line-height:1}
.wx-words{color:#d7d9f4}
.wx-feels{font-size:.84rem;color:#aeb6ff;border-left:1px solid rgba(255,255,255,.25);padding-left:.6rem}
.wx-aside{margin:.5rem 0 0;color:#c3c8ee;font-size:.92rem}

/* ---------- the punch panel ---------- */
/* Under the band: today's record and the device, side by side. */
/* TWO columns, not three — "present this portion as two columns only",
   1 September 2026: Today and This device share the left column, the
   correction form stands in the right. One column on a phone. */
.clock{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,2.4vw,26px);align-items:start;margin:0 0 2rem}
@media (max-width:760px){.clock{grid-template-columns:minmax(0,1fr)}}
/* Today and This device stacked tight in the left column — 2 September
   2026: "'This device' can be placed right below 'today'". */
.clockcol{display:grid;gap:clamp(12px,1.6vw,18px);align-content:start}

/* ---------- the timed-in state, on a dark ground ----------
   2 September 2026, on a screenshot of the clock page's band: "This does not
   look good, make it more professional similar to the existing system." The
   wide punch strip that used to live here — state, boxed sentence and button
   side by side — was wider than the band's right-hand column and shoved the
   greeting into a one-word-per-line sliver, so it was retired: the clock
   page now wears the dashboard's own .hero-clock card. What remains below is
   the state lockup (dot + words) that the management overview still uses. */
.pstate{display:flex;align-items:center;gap:.6rem;color:#e6e9ff;font-size:.95rem;
  margin-right:auto;min-width:0}
.pstate b{color:#fff;font-weight:500}
/* A dot that is on or off, so the state is legible before a word is read.
   The pulse is the one animated thing on the band that means something —
   it says the clock is running right now. */
.pdot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;background:#8f97c6}
.pstate.on .pdot{background:#5fe0a4;box-shadow:0 0 0 0 rgba(95,224,164,.55);
  animation:pdotpulse 2.4s ease-out infinite}
@keyframes pdotpulse{
  0%{box-shadow:0 0 0 0 rgba(95,224,164,.5)}
  70%{box-shadow:0 0 0 9px rgba(95,224,164,0)}
  100%{box-shadow:0 0 0 0 rgba(95,224,164,0)}
}
@media (prefers-reduced-motion:reduce){.pstate.on .pdot{animation:none}}

/* White on navy, which is the highest contrast the band can offer and makes
   the one thing worth pressing unmistakable. */
.btn-clock{background:#fff;border-color:#fff;color:var(--navy);font-weight:500;
  padding:.8em 1.8em;font-size:1rem;text-decoration:none}
.btn-clock:hover{background:#f2f4ff;border-color:#f2f4ff;color:var(--navy)}
.btn-clock[disabled]{opacity:.45;cursor:not-allowed}
.btn-clock[disabled]:hover{background:#fff;border-color:#fff;color:var(--navy)}
.btn-clock:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media (max-width:720px){
  .pstate{margin-right:0}
  .btn-clock{width:100%}
}

/* today's own record, beside the button */
.todaycard{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:clamp(18px,2.4vw,24px)}
.todaycard dl{display:grid;grid-template-columns:auto 1fr;gap:.5rem 1.1rem;margin:.4rem 0 0}
.todaycard dt{color:var(--muted);font-size:.85rem}
.todaycard dd{margin:0;font-variant-numeric:tabular-nums}

/* leave, on the employee dashboard */
.leaverow{display:flex;gap:1.6rem;flex-wrap:wrap;margin:.2rem 0 0}
.leaveitem .n{display:block;font-size:1.5rem;font-weight:300;letter-spacing:-.02em;
  font-variant-numeric:tabular-nums}
.leaveitem .k{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* ---------- device register (management) ---------- */
.chip.bound{background:var(--navy-soft);color:var(--navy);border:1px solid var(--navy-line)}
.chip.free{background:var(--panel);color:var(--muted);border:1px solid var(--line)}
.chip.warnchip{background:var(--warn-soft);color:var(--warn);border:1px solid #e6d3ae}
.fp{font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;font-size:.74rem;color:var(--faint)}

/* A form that sits on one line inside a table cell or beside a heading — a
   date and a button, not a page of fields. */
.inline{display:inline-flex;align-items:center;gap:.4rem;margin:0}
.inline .mini,input.mini{width:auto;min-width:9.5rem;height:36px;padding:.3rem .55rem;font-size:.85rem}
.pghead .inline{margin-left:auto}
@media (max-width:600px){
  .inline{flex-wrap:wrap}
  .inline .mini,input.mini{min-width:0;flex:1 1 8rem}
}

/* The people table carries the most per row, so it is the one that runs out
   of width first. Email under the name and role under the company is the same
   information in six columns instead of nine. */
table.grid.people{min-width:820px}
table.grid.people td:first-child{min-width:15rem}
table.grid.people .chip{margin:0}
table.grid.people td .sub .chip{margin-top:.25rem}
/* A button that is a decision, not a destination, but reads as a link because
   it sits inside a line of small print. It is still a real submit button, so
   it still carries the CSRF token and still works without JavaScript. */
.linkbtn{font:inherit;font-size:.78rem;background:none;border:0;padding:0;margin:0;
  color:var(--navy);text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.linkbtn:hover{color:var(--ink)}
.linkbtn:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:2px}
table.grid.people td{padding:.7rem .8rem}
table.grid.people .inline .mini{min-width:8.2rem}

/* ---------- the weather emblem ----------
   A sun, a moon, or a cloud with rain coming out of it, at a size that can
   be read from across the room. It sits to the right of the words, inside
   the sky layer, so it never overlaps a line of text on any width.

   The color is set per weather rather than left white: a warm sun and a
   cool moon are recognized before the shape is, and that is most of the
   point of having a picture at all. */
/* The picture now carries its own colors — a real yellow sun, a white cloud
   with a blue-grey underside, water-colored rain — so there is nothing here
   tinting it. A sun the same navy as the sky behind it is not a sun.
   It lives in the band's right-hand column, in normal flow, so whatever the
   page puts under it lands under it rather than on top of it. */
.wxf-emblem{display:block;filter:drop-shadow(0 8px 22px rgba(0,0,0,.32))}
.wxf-emblem svg{width:clamp(92px,10vw,124px);height:auto;display:block;margin-left:auto}

/* On a phone the band is not wide enough for a picture and a sentence side
   by side, so the emblem moves up into the corner, shrinks, and drops back
   to being texture — the temperature and the words carry it from there. */
/* The band's own text must always win — it is kept clear of the emblem by
   padding on the band itself, never on the text block. Putting the padding
   inside a max-width in ch units subtracts the picture's width from the
   text's, and the sub-line then wraps in the middle of a sentence on a band
   with room to spare. */
/* The band is now a two-column grid rather than a text block with a picture
   floated over it, which is what lets the picture and the button share the
   right-hand side without either overlapping a line of text. */
.hero.wx .wx-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(14px,3vw,36px);align-items:start;position:relative;z-index:1}
.hero.wx .wx-body{max-width:62ch;min-width:0}
.hero.wx .wx-side{display:flex;flex-direction:column;align-items:flex-end;gap:.85rem}

/* HALF THE HEIGHT ON THE MANAGEMENT SIDE.
   The overview band was as tall as the time clock's, and it had no reason to
   be: the time clock's band holds a punch bar a person is about to press,
   this one holds a greeting and a link. So .wx-split tightens every vertical
   measure rather than only the padding — padding alone leaves the same stack
   of full-sized text inside a shorter box, which just crowds it. */
.hero.wx-split{padding:clamp(14px,1.7vw,20px) clamp(18px,2.4vw,28px)}
.hero.wx-split .pgh{font-size:clamp(1.35rem,2.6vw,1.9rem);margin:.1rem 0 .35rem}
.hero.wx-split .eyebrow{font-size:.63rem;margin-bottom:.15rem}
.hero.wx-split .wx-now{margin:.15rem 0;font-size:.95rem}
.hero.wx-split .wx-aside{margin:.1rem 0;font-size:.82rem}
.hero.wx-split .sub{margin:.35rem 0 0;font-size:.88rem}
.hero.wx-split .wxf-emblem svg{width:clamp(64px,7vw,88px)}
.hero.wx-split::after{width:220px;height:220px;right:-70px;top:-100px}
/* The button under the picture, right-aligned with it. */
.hero.wx-split .wx-side .btn-clock{margin:0}

@media (max-width:720px){
  /* On a phone the two columns become one: the words, then the picture and
     whatever sits under it, at a size that still reads. */
  .hero.wx .wx-grid{grid-template-columns:1fr}
  .hero.wx .wx-side{align-items:flex-start;margin-top:.9rem}
  .wxf-emblem svg{width:76px;margin-left:0}
}

/* A count riding on a button — how many are in the archive, so the officer
   knows whether it is worth opening before they open it. */
.btn .count{display:inline-flex;align-items:center;justify-content:center;
  min-width:1.35em;height:1.35em;padding:0 .35em;margin-left:.15em;border-radius:999px;
  background:var(--navy-soft);color:var(--navy);font-size:.78em;font-weight:600;
  font-variant-numeric:tabular-nums}
.btn:hover .count{background:var(--navy);color:#fff}
/* A reference code, in the table where it is looked up. */
table.grid code{font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;font-size:.82rem;
  background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:.15em .45em;
  letter-spacing:.06em}

/* ---------- filing leave ----------
   Two columns on a desk and one on a phone: the form, and beside it what the
   person needs in order to fill it in — their own balances and the four rules
   that decide whether the thing will be accepted. Putting the rules opposite
   the form rather than under it means nobody has to scroll to check one. */
.lvcols{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:1.2rem;align-items:start;margin-top:1.4rem}
@media (max-width:820px){.lvcols{grid-template-columns:1fr}}

.lvform{display:flex;flex-direction:column;gap:.35rem}
.lvform label{font-size:.82rem;color:var(--muted);margin:.7rem 0 0}
.lvform label:first-of-type{margin-top:0}
.lvform > select,.lvform > textarea,.lvform input[type=date]{width:100%}
.lvform textarea{resize:vertical;min-height:4.5rem}
.lvform button{margin-top:1rem;width:auto;align-self:flex-start;min-width:11rem}
#lvtypewrap[hidden]{display:none}
#lvtypewrap label{display:block;font-size:.82rem;color:var(--muted);margin:.7rem 0 .35rem}
#lvtypewrap select{width:100%}

/* ---- the three leaves the law gives ----
   Set apart from the credits above with a rule and a tint, because they are a
   different kind of thing: nothing here is drawn from a balance. A picker that
   looked identical to the credits picker would invite somebody to treat the
   two as interchangeable, which is exactly the mistake that charges maternity
   leave to a benefit the firm gives on top of the law. */
#lvstatwrap[hidden]{display:none}
#lvstatwrap{margin-top:.9rem;padding:.85rem .9rem .95rem;border-radius:var(--radius);
  background:var(--gold-soft,var(--panel));border-left:3px solid var(--gold)}
#lvstatwrap > label{display:block;font-size:.82rem;color:var(--muted);margin:0 0 .35rem}
#lvstatwrap select{width:100%}
.lvsolo{display:flex!important;align-items:flex-start;gap:.5rem;margin:.85rem 0 0!important;
  font-size:.86rem;color:var(--ink);cursor:pointer;line-height:1.45}
.lvsolo[hidden]{display:none!important}
.lvsolo input{margin-top:.2rem;flex:0 0 auto}
.lvsolo .sub{display:block;font-size:.78rem;color:var(--muted);margin-top:.15rem}
.lvneeds{margin-top:.85rem;font-size:.83rem;color:var(--muted);line-height:1.55}
.lvneeds[hidden]{display:none}
.lvneeds p{margin:0 0 .45rem}
.lvneeds .lvneedhead{font-weight:600;color:var(--ink)}
.lvneeds ul{margin:0 0 .5rem;padding-left:1.1rem}
.lvneeds li{margin-bottom:.2rem}
.lvneeds b{color:var(--ink)}

.lvdates{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.lvdates > div{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.lvdates label{margin:.7rem 0 0}
@media (max-width:420px){.lvdates{grid-template-columns:1fr}}

/* The running answer. It is not an error box: most of the time it simply says
   how many days the dates come to, which is the question being asked. */
.lvcount{margin:1rem 0 0;padding:.75rem .9rem;border-radius:var(--radius);font-size:.88rem;
  background:var(--navy-soft);color:var(--ink);border-left:3px solid var(--navy);line-height:1.5}
.lvcount:empty{display:none}
.lvcount.warn{background:var(--warn-soft);border-left-color:var(--warn)}
.lvcount.bad{background:var(--bad-soft);border-left-color:var(--bad)}

/* The right column of the leave screen: Your leave with Who-is-away
   directly under it, filling what used to be blank ground. */
.lvsidecol{min-width:0;display:flex;flex-direction:column;gap:1.4rem}
/* The balance headline inside Your leave — the old "Available now" panel's
   number, where the rest of its story already lives. */
.lvbook .lvhero{display:flex;align-items:baseline;gap:.65rem;margin:.15rem 0 .75rem;
  padding:.75rem 1rem;background:var(--panel);border-radius:8px}
.lvbook .lvhero .n{font-size:2.1rem;font-weight:300;letter-spacing:-.02em;color:var(--navy);
  font-variant-numeric:tabular-nums}
.lvbook .lvhero .k{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted)}
.lvside .lvbook{padding:.9rem 0;border-bottom:1px solid var(--line-soft)}
.lvside .lvbook h3{font-size:.95rem;margin-bottom:.45rem}
.lvkv{margin:0;display:grid;grid-template-columns:1fr auto;gap:.2rem .9rem}
.lvkv dt{font-size:.85rem;color:var(--muted)}
.lvkv dd{margin:0;font-size:.9rem;text-align:right;font-variant-numeric:tabular-nums}
.lvnote{margin-top:.9rem;padding:.7rem .85rem;border-radius:var(--radius);font-size:.83rem;
  background:var(--panel);color:var(--muted);line-height:1.5}
.lvnote.bad{background:var(--bad-soft);color:var(--bad)}
.lvnote b{color:var(--ink)}
.lvnote.bad b{color:var(--bad)}

/* The withdraw button and the certificate box live inside a status cell, so
   they get their own line rather than sitting against the chip. */
.lvwd,.lvcert{margin-top:.45rem;display:flex;flex-direction:column;align-items:flex-start;gap:.3rem}
.lvcert input[type=file]{font-size:.74rem;max-width:14rem}
.chip.warn{background:var(--warn-soft);color:var(--warn)}
.chip.ok{background:var(--ok-soft);color:var(--ok)}
.chip.bad{background:var(--bad-soft);color:var(--bad)}
.chip.grey{background:var(--panel);color:var(--muted);border:1px solid var(--line)}

/* ---------- approvals (management) ----------
   The note runs the width of the cell and the two buttons sit under it, side
   by side. Approve and Decline belong on one line: they are one choice, and a
   stacked pair reads as two separate things to do. */
.lvdec{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center;margin-top:.4rem;
  min-width:15rem}
.lvdec input[type=text]{flex:1 1 100%;height:34px;font-size:.82rem;min-width:8rem;margin:0}
.lvdec button{margin:0}
.lvdec label{flex-basis:100%;display:flex;align-items:center;gap:.4rem;margin:.15rem 0 0}
.btn.ok{background:var(--ok-soft);color:var(--ok);border-color:#bcd9c9}
.btn.no{background:var(--bad-soft);color:var(--bad);border-color:#e6c4c2}

/* The management band's state line: who is on the clock, said inside the
   greeting rather than in a panel under it. */
.hero.wx-split .sub{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .6rem}
.hero.wx-split .dotsep{width:3px;height:3px;border-radius:50%;background:currentColor;
  opacity:.45;display:inline-block;flex:0 0 auto}
.hero.wx-split .pstate{display:inline-flex;align-items:center;gap:.45rem;
  background:rgba(255,255,255,.1);border-radius:999px;padding:.2rem .7rem;font-size:.84rem}
.hero.wx-split .pstate .pdot{width:7px;height:7px;border-radius:50%;background:#9aa4c8;
  flex:0 0 auto;box-shadow:none}
.hero.wx-split .pstate.on .pdot{background:#6ee7a8;box-shadow:0 0 0 3px rgba(110,231,168,.2)}

/* ---------- the count on a navigation tab ----------
   A red circle, not a number in brackets. Somebody is waiting at the other
   end of that number, and it should not look like the others. */
.mainnav a{position:relative}
.badge{display:inline-flex;align-items:center;justify-content:center;
  min-width:1.5em;height:1.5em;padding:0 .4em;margin-left:.45em;
  border-radius:999px;background:var(--red);color:#fff;
  font-size:.72rem;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;
  vertical-align:.1em;box-shadow:0 1px 4px rgba(163,32,32,.35)}
.badge[hidden]{display:none}
/* One pulse when the number goes up. On a screen nobody is watching, the
   movement is the notification. */
@keyframes badgebump{0%{transform:scale(1)}35%{transform:scale(1.45)}100%{transform:scale(1)}}
.badge.bump{animation:badgebump .5s ease}
@media (prefers-reduced-motion:reduce){.badge.bump{animation:none}}

/* ---------- something that needs doing now ----------
   Red, at the top, above everything else on the page. Used for leave nobody
   has decided and for a decision the employee has not seen. */
.urgent{display:flex;align-items:flex-start;gap:.9rem;flex-wrap:wrap;
  background:var(--red-soft);border:1px solid var(--red-line);
  border-left:4px solid var(--red);border-radius:var(--radius);
  padding:1rem 1.1rem;margin:0 0 1.2rem}
.urgent .u-body{flex:1 1 20rem;min-width:0}
.urgent h2{font-size:1rem;color:var(--red);margin:0 0 .2rem;font-weight:600}
.urgent p{margin:0;font-size:.9rem;color:var(--ink)}
.urgent .u-list{margin:.5rem 0 0;font-size:.87rem;color:var(--muted)}
.urgent .u-act{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.urgent .btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.urgent .btn-red:hover{background:#8d1c1c;border-color:#8d1c1c}
/* Danger buttons anywhere (Remove, Decline, Discard) — GAP 23 Sep 2026 */
.btn-red,button.btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.btn-red:hover{background:#8d1c1c;border-color:#8d1c1c}
.btn.small.ghost.btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.urgent.good{background:var(--ok-soft);border-color:#bcd9c9;border-left-color:var(--ok)}
.urgent.good h2{color:var(--ok)}
.urgent form{margin:0}

/* =====================================================================
   THE DASHBOARDS, in the prototype's shape.

   Three columns on a desk: a calendar rail, the substance, the reminders.
   One column on a phone, in that order, because the substance is what a
   person on a phone came for and a calendar they have to scroll past is a
   calendar in the way.
   ===================================================================== */
.hub{display:grid;grid-template-columns:290px minmax(0,1fr) 282px;gap:16px;align-items:start;
  margin-top:.4rem}
.hub > *{min-width:0}
.hubmain{display:flex;flex-direction:column;gap:14px}
.hub2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.rail,.rem{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:14px}
.rail,.rem{position:sticky;top:16px}
.railhead{display:flex;align-items:center;justify-content:space-between;gap:.4rem;
  margin-bottom:.7rem}
.railhead .eyebrow{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);white-space:nowrap}
.railtoggle{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  min-width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;
  color:var(--navy);font-size:.95rem;line-height:1;text-decoration:none}
.railtoggle:hover{border-color:var(--navy);background:var(--navy-soft)}
.remitem{padding:.7rem 0;border-bottom:1px solid var(--line-soft);font-size:.84rem}
.remitem:last-child{border-bottom:0;padding-bottom:0}
.remitem:first-child{padding-top:0}
.remitem .t{display:flex;gap:.45rem;align-items:center;margin-bottom:.35rem}
.kvline{display:flex;justify-content:space-between;gap:.7rem;padding:.16rem 0;
  font-size:.82rem;color:var(--muted)}
.kvline .v{color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}
@media (max-width:1080px){
  .hub{grid-template-columns:1fr}
  .rail,.rem{position:static}
  /* The substance first on a narrow screen. A calendar somebody has to
     scroll past to reach today's work is a calendar in the way. */
  .hubmain{order:-1}
}

/* ---------- a section heading with a rule running off it ---------- */
.secgrp{margin:22px 0 10px;display:flex;align-items:center;gap:.65rem}
.secgrp h3{font-size:.78rem;font-weight:500;white-space:nowrap;color:var(--navy);
  letter-spacing:.11em;text-transform:uppercase;display:flex;align-items:center}
.secgrp h3::before{content:"";display:inline-block;width:3px;height:.78em;margin-right:.5rem;
  background:var(--navy);border-radius:1px}
.secgrp .ln{height:1px;flex:1;background:var(--line)}

/* ---------- needs your attention ----------
   The list that answers "is there anything I have to do today", which is the
   question a dashboard exists for. Red where somebody is waiting. */
.pri{border:1px solid var(--line);border-left:3px solid var(--line);border-radius:var(--radius);
  padding:14px 16px;margin-bottom:10px;display:flex;gap:1rem;align-items:flex-start;
  justify-content:space-between;flex-wrap:wrap;background:var(--surface)}
.pri .pn{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
  display:block;margin-bottom:.2rem}
.pri .pt{font-size:.98rem;margin-bottom:.15rem}
.pri .pb{font-size:.82rem;color:var(--muted)}
.pri .btn{flex:0 0 auto}
.pri.high{border-color:var(--red-line);border-left-color:var(--red);background:var(--red-soft)}
.pri.high .pt,.pri.high .pn{color:var(--red)}
.pri.good{border-color:#c6e2d2;border-left-color:var(--ok);background:var(--ok-soft)}
.pri.good .pt,.pri.good .pn{color:var(--ok)}

/* ---------- the tiles ---------- */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.tiles.t3{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
/* ---- THE FOUR FIGURES AT THE TOP OF THE OVERVIEW ----
   They were pale blue cards on a white page with a pale blue ramp along the
   top: four things that all looked the same and none of which looked like
   anything. Now they are white cards on the warm ground with a real edge,
   and the rule along the top walks from the firm's navy to the accent, so a
   row of four reads as a row of four rather than as one wide grey band. */
.tile{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start;min-width:0;
  border:1px solid var(--line);border-radius:var(--radius);padding:17px 18px;
  background:linear-gradient(180deg,var(--surface) 0%,#f7fafd 100%);
  box-shadow:var(--shadow-sm);position:relative;overflow:hidden;transition:.18s ease}
.tile:hover{box-shadow:var(--shadow-md);border-color:var(--navy-line)}
.tile::before{content:"";position:absolute;inset:0 0 auto 0;height:3px}
.tile-a::before{background:linear-gradient(90deg,var(--navy),var(--navy-lift))}
.tile-b::before{background:linear-gradient(90deg,var(--navy-lift),#5b59c9)}
.tile-c::before{background:linear-gradient(90deg,#8a6fb0,var(--gold-mid))}
.tile-d::before{background:linear-gradient(90deg,var(--gold-mid),var(--gold-line))}
.tile .k{font-size:.64rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.tile .v{font-size:1.7rem;font-weight:300;font-variant-numeric:tabular-nums;color:var(--navy);
  line-height:1.1}
.tile .v small{font-size:.82rem;color:var(--muted);font-weight:400}
.tile .n{font-size:.78rem;color:var(--muted)}
.tile .btn{margin-top:.5rem}
/* Used and pending against what has been earned. A leave number on its own
   invites "out of how many", and this answers it without another line. */
.tile .bar{width:100%;height:6px;border-radius:3px;background:var(--line-soft);
  display:flex;overflow:hidden;margin:.15rem 0 .1rem}
.tile .bar i{display:block;height:100%}
.tile .bar .used{background:var(--navy)}
.tile .bar .pend{background:var(--gold-mid)}

/* ---------- panels with a heading strip ---------- */
.panelx{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;margin:0;box-shadow:var(--shadow-sm)}
.panelx .ph{padding:13px 18px 11px;border-bottom:1px solid var(--line);position:relative;
  background:linear-gradient(180deg,#fdfcfa,#f6f3ec)}
.panelx .ph::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--navy)}
.panelx .ph h3{font-size:1rem;font-weight:500;color:var(--navy);margin:0}
.panelx .ph .sub{color:var(--muted);font-size:.76rem;margin:.15rem 0 0}
.panelx .pb{padding:14px 18px 16px;flex:1}
.panelx .pb > .tablewrap{margin:-4px -4px 0}
.rrow{display:flex;justify-content:space-between;gap:.8rem;align-items:baseline;
  padding:.42rem 0;border-bottom:1px solid var(--line-soft)}
.rrow:last-child{border-bottom:0}
.rrow .lbl{font-size:.88rem}
.rrow .lbl .sub{font-size:.78rem;color:var(--muted);margin-top:.1rem}
.rrow .v{font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums;
  white-space:nowrap}
.entrow{display:grid;grid-template-columns:auto 1fr auto;gap:.3rem .6rem;align-items:center;
  padding:.6rem 0;border-bottom:1px solid var(--line-soft)}
.entrow:last-child{border-bottom:0}
.entrow .dot{width:9px;height:9px;border-radius:50%;
  background:linear-gradient(180deg,var(--navy),#2b63e0)}
.entrow .nm{font-weight:500}
.entrow .net{font-variant-numeric:tabular-nums;color:var(--navy);white-space:nowrap}
.entrow .meta{grid-column:2/4;font-size:.78rem;color:var(--muted)}
.entrow .cta{grid-column:1/4;margin-top:.25rem}
.ann{padding:.6rem 0;border-bottom:1px solid var(--line-soft)}
.ann:last-child{border-bottom:0}
.ann:first-child{padding-top:0}
.ann-t{display:flex;gap:.5rem;align-items:center;margin-bottom:.2rem}

/* ---------- the employee hub ---------- */
/* ---- the employee dashboard's three columns ----
   "place the calendar and holidays on the left margin and birthdays,
   anniversaries and leaves on the right margin" — 1 September 2026. The
   rails live in what used to be empty ground on a wide monitor; on a
   laptop or phone the grid collapses and they fold below the main column,
   main content first. */
.dash3{display:grid;gap:1.6rem;grid-template-columns:minmax(0,1fr);
  grid-template-areas:"mid" "left" "right"}
.dash3 > .raill{grid-area:left;min-width:0}
.dash3 > .dashmid{grid-area:mid;min-width:0}
.dash3 > .railr{grid-area:right;min-width:0}
@media (min-width:1500px){
  .dash3{grid-template-columns:300px minmax(0,1fr) 330px;
    grid-template-areas:"left mid right";align-items:start}
  .dash3 > .raill,.dash3 > .railr{position:sticky;top:16px}
  /* In three-column mode the middle rail is too narrow for the nested
     "My time / Notices" two-column split — its left column collapsed to 0
     and the heading overlapped Notices (31 August 2026). Stack them here so
     "My time" sits above "Notices" instead. */
  .dash3 .emphub{grid-template-columns:1fr}
  .dash3 .empcal{position:static}
}

.emphub{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0 20px;align-items:start}
.empmain{min-width:0}
.empcal{position:sticky;top:16px;align-self:start;min-width:0}
@media (max-width:900px){
  .emphub{grid-template-columns:1fr}
  .empcal{position:static}
}

/* ---------- the clock in the band ----------
   It leaves the band once they have timed in: from then on the band has
   nothing to ask of them, so it stops asking. */
/* Compact on purpose. This is a clock and a button, not a feature panel —
   at the size it started it made the band taller than everything it was
   introducing. The time, the date and the button now sit on one line and the
   whole thing is about a third of the height. */
.hero-clock{display:flex;align-items:center;gap:.7rem .9rem;flex-wrap:wrap;
  padding:8px 10px 8px 14px;border-radius:var(--radius);
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22)}
.hero-clock .hc-k{font-size:.58rem;letter-spacing:.14em;text-transform:uppercase;
  color:#bcc8f0;order:1;flex-basis:100%;margin-bottom:-.35rem}
.hero-clock .hc-t{font-size:1.45rem;font-weight:300;font-variant-numeric:tabular-nums;
  letter-spacing:-.01em;line-height:1.15;color:#fff;order:2}
.hero-clock .hc-d{font-size:.72rem;color:#c9d3f5;order:3;margin:0}
.hero-clock .btn-clock{margin:0;order:4;padding:.4rem .95rem;font-size:.84rem;min-width:0}
/* On the clock page the card's button is a real punch (a POST), so it comes
   wrapped in a form; display:contents lets the button take the form's place
   in the row as if the form were not there. */
.hero-clock form{display:contents}
/* The reminder about location is a sentence somebody reads once. It lives
   under the band rather than inside it. */
.hero-clock .hc-n{display:none}
@media (max-width:720px){.hero-clock{width:100%}}

/* ---------- the month ----------
   Sundays greyed, because they are not working days here and leave is never
   charged for one. Saying that visually keeps the picture and the arithmetic
   from appearing to disagree. */
.calwrap{--cell:34px}
.calhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.calttl{font-size:.95rem;color:var(--navy)}
.calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.calgrid.dow{margin-bottom:3px}
.calgrid.dow div{text-align:center;font-size:.6rem;letter-spacing:.08em;color:var(--faint);
  padding:.2rem 0}
.cd{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:6px;
  font-size:.8rem;font-variant-numeric:tabular-nums;color:var(--ink);
  border:1px solid transparent;position:relative}
.cd.empty{border:0}
.cd.sun{color:var(--faint);background:var(--panel)}
.cd.today{border-color:var(--navy);font-weight:600;color:var(--navy)}
.cd.m-in{background:var(--navy-soft);color:var(--navy)}
.cd.m-leave{background:#fbf3e4;color:var(--warn)}
.cd.m-both{background:linear-gradient(135deg,var(--navy-soft) 50%,#fbf3e4 50%)}
.calnote{margin:.7rem 0 0;font-size:.72rem;color:var(--muted);display:flex;gap:.8rem;
  flex-wrap:wrap}
.calnote .key{display:inline-flex;align-items:center;gap:.3rem}
.calnote .key i{width:10px;height:10px;border-radius:3px;display:inline-block}
.calnote .key .k-in{background:var(--navy-soft);border:1px solid var(--navy-line)}
.calnote .key .k-leave{background:#fbf3e4;border:1px solid #e6d3ae}

/* A quiet strip for something worth knowing that is not urgent. */
.note-strip{background:var(--warn-soft);border:1px solid #e6d3ae;border-left:3px solid var(--warn);
  border-radius:var(--radius);padding:.8rem 1rem;margin:0 0 1rem;font-size:.88rem}

/* When the picture and a block share the band's right-hand column, the
   picture gives way — the block is the thing somebody came to use, and a
   band taller than its own text is a band wasting the top of the screen. */
.hero.wx-stacked .wxf-emblem svg{width:clamp(56px,6vw,76px)}
.hero.wx.wx-stacked{padding-top:clamp(16px,2vw,24px);padding-bottom:clamp(16px,2vw,24px)}
.hero.wx-stacked .wx-side{gap:.6rem}
/* The priority card's text and its button stay on one line while there is
   room for both; the text is what gives way, not the button. */
.pri > div:first-child{flex:1 1 22rem}

/* =====================================================================
   THE HEAD OF EVERY PAGE
   ===================================================================== */
/* ---------- the banner ----------
   White, with the firm's name centered and set in the same garamond the
   website uses. It was navy until now, and stacked straight on top of the
   navy weather band it read as one large blue area with a name floating in
   it. The name is the most important text on any of these screens and it
   should be the darkest, on the lightest ground, with nothing competing.

   THREE COLUMNS OF EQUAL WIDTH, not space-between. The mark and the avatar
   are different widths, so space-between would center the name in the gap
   between them rather than on the page — off by a dozen pixels, which reads
   as a mistake. Equal outer columns make the middle one page-centered by
   construction, whatever goes in the sides. */
/* Above the sticky ribbon: the account menu drops out of the banner and the
   ribbon would otherwise cover it. */
.topbanner{background:var(--banner);border-bottom:1px solid var(--line-soft);padding:.85rem 0;
  position:relative;z-index:40}
.topbanner .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.topbanner .bmarkw{justify-self:start;display:inline-flex;line-height:0}
.topbanner .bright{justify-self:end;display:flex;align-items:center}
/* The mark is drawn dark on a transparent ground, so on white it needs no
   treatment at all — which is the other half of why the banner is white. */
.topbanner .bmark{width:56px;height:56px;flex:0 0 auto;border-radius:50%}
.topbanner .btxt{display:flex;flex-direction:column;align-items:center;text-align:center;
  line-height:1.1;min-width:0}
/* Cormorant Garamond at 600. The firm's name is the one piece of text on
   these screens that is a name rather than a label, and it is set in the
   face the letterhead uses. A garamond runs small, hence the size. */
.topbanner .btxt b{font-family:'Cormorant Garamond','Cormorant',Georgia,'Times New Roman',serif;
  font-weight:600;font-size:clamp(1.35rem,3vw,2.05rem);letter-spacing:.005em;
  color:var(--navy);white-space:nowrap}
/* The rule under the name is short and centered — it belongs to the name, not
   to the page. A full-width rule here would read as a divider and cut the
   banner in half. */
.topbanner .btxt i{position:relative;font-style:normal;
  font-size:clamp(.58rem,1.05vw,.7rem);letter-spacing:.28em;text-transform:uppercase;
  color:#5a6180;margin-top:.5rem;padding-top:.45rem;white-space:nowrap}
.topbanner .btxt i::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:min(70%,190px);height:1px;background:#9aa2bd}
@media (max-width:760px){
  .topbanner .btxt b{font-size:1.15rem;white-space:normal}
  .topbanner .btxt i{letter-spacing:.14em;font-size:.55rem}
  .topbanner .bmark{width:38px;height:38px}
}
@media (max-width:420px){
  .topbanner .wrap{grid-template-columns:auto 1fr auto;gap:.6rem}
  .topbanner .btxt i{display:none}
}
/* The band under it was a decorative stripe; the banner is that now. */
body > .band{display:none}

/* ---------- grouped navigation ---------- */
.navgrp{position:relative}
.navgrp > summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;
  gap:.35rem;padding:.5rem .8rem;border-radius:var(--radius);font-size:.9rem;color:var(--ink);
  white-space:nowrap}
.navgrp > summary::-webkit-details-marker{display:none}
.navgrp > summary::after{content:"";width:6px;height:6px;flex:0 0 auto;margin-left:.1rem;
  border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translate(-2px,-2px);opacity:.6;transition:transform .15s ease}
.navgrp[open] > summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.navgrp > summary:hover{background:var(--panel)}
.navgrp[data-on="1"] > summary{background:var(--navy-soft);color:var(--navy);font-weight:500}
.navmenu{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:14rem;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.35rem;box-shadow:0 14px 34px -14px rgba(3,1,129,.32)}
.navmenu a{display:flex;align-items:center;justify-content:space-between;gap:.6rem;
  padding:.5rem .7rem;border-radius:6px;font-size:.88rem;color:var(--ink);text-decoration:none}
.navmenu a:hover{background:var(--panel)}
.navmenu a[aria-current="page"]{background:var(--navy-soft);color:var(--navy);font-weight:500}
/* A menu in headed columns (14 October 2026). */
.navmenu.navcols{display:flex;gap:.4rem;align-items:flex-start;width:max-content;max-width:calc(100vw - 2rem)}
.navcol{min-width:12.5rem;display:flex;flex-direction:column}
.navcol + .navcol{border-left:1px solid var(--line);padding-left:.4rem}
.navhead{display:block;padding:.45rem .7rem .3rem;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);font-weight:600}
@media (max-width:900px){
  .navmenu{position:static;box-shadow:none;border:0;padding:.2rem 0 .2rem .8rem;min-width:0}
  .navmenu.navcols{display:block;width:auto}
  .navcol + .navcol{border-left:0;padding-left:0}
}

/* ---------- the clock in the ribbon ---------- */
.navclock{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2;
  margin-left:auto;padding-left:.9rem;white-space:nowrap}
.navclock .nd{font-size:.7rem;color:var(--muted)}
.navclock .nt{font-size:.95rem;color:var(--navy);font-variant-numeric:tabular-nums;
  letter-spacing:-.01em}
@media (max-width:820px){.navclock{display:none}}

/* ---------- needs your attention, as a dropdown ----------
   It was a stack of cards that pushed everything else off the screen even on
   a day with nothing urgent in it. Open when something is new, shut when
   nothing is. */
.attn{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);
  margin:1rem 0 0}
.attn > summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.6rem;
  padding:.85rem 1.1rem}
.attn > summary::-webkit-details-marker{display:none}
.attn > summary::before{content:"";width:8px;height:8px;flex:0 0 auto;
  border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);
  transform:rotate(-45deg);transition:transform .16s ease;margin-right:.15rem}
.attn[open] > summary::before{transform:rotate(45deg)}
.attn > summary:hover{background:var(--panel)}
.attn .asum{font-size:.78rem;font-weight:500;letter-spacing:.11em;text-transform:uppercase;
  color:var(--navy)}
.attn .acount{margin-left:auto;font-size:.82rem;color:var(--muted)}
.attnbody{padding:0 1.1rem 1rem}
.attnread{margin-top:.4rem}
.attnread > summary{cursor:pointer;font-size:.8rem;color:var(--muted);padding:.4rem 0}
.attnread > summary:hover{color:var(--ink)}
.pri .pw{min-width:0;flex:1 1 22rem}
.pri .pa{display:flex;align-items:center;gap:.7rem;flex:0 0 auto}
.pri.isread{background:var(--panel);border-left-color:var(--line);opacity:.75}
.pri.isread .pt{color:var(--muted);font-size:.9rem}
.pri.isread .pb{display:none}

/* ---------- the calendar's days ---------- */
.cd.sat{color:var(--muted)}
.cd.m-in{background:#e4f4ea;color:#12653c;font-weight:500}
.cd.m-out{background:#fdeceb;color:var(--red)}
.cd.m-leave{background:#fbf3e4;color:var(--warn)}
.cd.hol{box-shadow:inset 0 0 0 1px #d9c9ee}
.cd.hol .hdot{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);
  width:4px;height:4px;border-radius:50%;background:#7a4fbf}
.cd.hol-regular .hdot{background:#b3261e}
.cd.hol-special .hdot{background:#b8860b}
.cd.hol-specialworking .hdot{background:#5b7cc9}
.calmove{display:flex;gap:.35rem;justify-content:flex-end;margin-bottom:-1.7rem}
.calnav{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:6px;color:var(--navy);text-decoration:none;
  font-size:1rem;line-height:1;background:var(--surface)}
.calnav:hover{border-color:var(--navy);background:var(--navy-soft)}
.calnote .key .k-in{background:#e4f4ea;border:1px solid #b9dfc8}
.calnote .key .k-out{background:#fdeceb;border:1px solid var(--red-line)}
.calnote .key .k-hol{background:#fff;border:1px solid #d9c9ee;position:relative}

/* ---------- the holidays under the calendar ---------- */
.hollist{margin-top:1rem;border-top:1px solid var(--line);padding-top:.6rem}
.holhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:.4rem}
.holhead .eyebrow{font-size:.63rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.holhead .n{font-size:.75rem;color:var(--faint);font-variant-numeric:tabular-nums}
.holrow{display:flex;gap:.7rem;padding:.55rem 0 .55rem .6rem;border-left:3px solid var(--line);
  border-bottom:1px solid var(--line-soft)}
.holrow:last-child{border-bottom:0}
.holrow.k-regular{border-left-color:#b3261e}
.holrow.k-special{border-left-color:#b8860b}
.holrow.k-specialworking{border-left-color:#5b7cc9}
.holrow .hd{display:flex;flex-direction:column;align-items:center;line-height:1.05;
  min-width:2.2rem}
.holrow .hd .dw{font-size:.56rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.holrow .hd .dn{font-size:1.05rem;color:var(--navy)}
.holrow .hd .dm{font-size:.56rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.holrow .hb{min-width:0;display:flex;flex-direction:column;gap:.12rem}
.holrow .hb b{font-size:.83rem;font-weight:500;line-height:1.25}
.holrow .hk{font-size:.56rem;letter-spacing:.09em;align-self:flex-start;border-radius:3px;
  padding:.1rem .3rem;background:var(--panel);color:var(--muted)}
.holrow.k-regular .hk{background:#fdeceb;color:#b3261e}
.holrow.k-special .hk{background:#fbf3e4;color:#8a5a12}
.holrow .hp{font-size:.68rem;color:var(--ink)}
.holrow .hs{font-size:.65rem;color:var(--faint)}

/* ---------- birthdays and anniversaries ---------- */
/* Explicit areas — the name and its date on ONE line, the years tucked
   right under, nothing drifting apart ("For reminders the spacing is a bit
   awkward", 1 September 2026). */
.celrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"i n d" "i m m";gap:0 .5rem;align-items:baseline;
  padding:.3rem 0;font-size:.82rem}
.celrow .cw{grid-area:i;align-self:center;font-size:1rem;line-height:1}
.celrow .cn{grid-area:n;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.celrow .celwhen{grid-area:d;color:var(--muted);font-size:.76rem;white-space:nowrap;
  display:inline;aspect-ratio:auto}
.celrow .cm{grid-area:m;font-size:.72rem;color:var(--faint);margin-top:.05rem}

/* The one Save under each company's table, with its word of explanation. */
.saverow{display:flex;align-items:center;gap:.8rem;margin-top:.8rem;flex-wrap:wrap}
.saverow .sub{max-width:44rem}

/* A run row's Save exists only while its pencil is open — .btn's own
   display would otherwise beat the browser's [hidden] rule. */
.rowsave[hidden]{display:none!important}

/* The ten o'clock reminder. Red, because by then it matters. */
.urgent.late{background:var(--red-soft);border-left-color:var(--red)}
.urgent.late h2{color:var(--red)}
/* The calendar page: the month beside its holidays. */
/* THE CALENDAR SHRINKS AND THE DETAIL GROWS. The firm's instruction of
   29 August 2026: "Reduce the size of the interactive calendar and increase
   the size of the details on the right." The month is a picker; the column
   beside it is what somebody actually reads. */
.calpage{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:18px;
  align-items:start;margin-top:1rem}
.calpage .calwrap{--cell:32px}
@media (max-width:820px){.calpage{grid-template-columns:1fr}
  .calpage .calwrap{--cell:38px}}

/* The ribbon is navigation and the bell now — the wordmark that used to
   sit at its left has moved up into the banner. The items start from the
   left and the bell holds the right-hand end, the shape the firm pointed
   at on 30 August 2026: "i want this navigation bar." */
.top .wrap{justify-content:flex-start;gap:.6rem}
.top .mainnav{margin:0}

/* The section you are IN is a navy pill with white letters, and a pointed-at
   item lights light blue — the firm, 1 September 2026: "the colors changes
   to blue and the font color changes to white". */
.mainnav a[aria-current]{color:#fff;background:var(--navy);font-weight:600;
  box-shadow:none;border-radius:var(--radius)}
.mainnav a[aria-current]:hover{background:var(--navy);color:#fff}
.navgrp[data-on="1"] > summary{color:#fff;background:var(--navy);font-weight:600;
  box-shadow:none;border-radius:var(--radius)}
.navgrp[data-on="1"] > summary:hover{background:var(--navy);color:#fff}
.navmenu a[aria-current="page"]{background:var(--navy);color:#fff;font-weight:500}
.navmenu a[aria-current="page"]:hover{background:var(--navy);color:#fff}

/* The bell, past a thin divider at the bar's end. */
.navbell{display:flex;align-items:center;flex:0 0 auto;
  border-left:1px solid var(--line);padding-left:.55rem;margin-left:.2rem}
@media (max-width:820px){.navbell{margin-left:auto}}

/* ---------- the January holiday check ---------- */
.yearcheck{border-left:3px solid var(--red)}
.yearcheck.done{border-left-color:var(--ok)}
.ycols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.4rem;
  margin-top:.9rem}
.ycols .sechead{margin-bottom:.3rem}
.ycols ul{margin:.4rem 0 .8rem;padding-left:1.1rem;font-size:.83rem;line-height:1.55}
.ycols ul.tick{list-style:none;padding-left:0}
.ycols ul.tick li{position:relative;padding-left:1.2rem;margin-bottom:.25rem}
.ycols ul.tick li::before{content:"";position:absolute;left:.1rem;top:.42em;width:5px;height:9px;
  border-right:2px solid var(--ok);border-bottom:2px solid var(--ok);transform:rotate(45deg)}
.ycols ul.cross{list-style:none;padding-left:0}
.ycols ul.cross li{position:relative;padding-left:1.2rem;margin-bottom:.3rem}
.ycols ul.cross li::before{content:"?";position:absolute;left:0;top:0;color:var(--red);
  font-weight:600}
.ycols form .btn{margin:0}


/* ---------- the undertime confirmation ----------
   The one screen in this system that asks somebody to agree to a deduction
   from their own pay, so it is built to be read rather than dismissed: the
   figures in a column that lines up, the shortfall in red because it is the
   number that matters, and the two ways out given equal weight — Cancel is
   not a lesser option, and on most days it is the right one.

   It is server-rendered, not a script dialog. No JavaScript, no focus trap
   to get wrong, and it cannot fail to appear because a file did not load. */
.utwrap{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;
  padding:1.2rem;background:rgba(10,14,44,.42);backdrop-filter:blur(1.5px)}
.utcard{background:var(--surface);border-radius:var(--radius);width:min(560px,100%);
  max-height:calc(100vh - 2.4rem);overflow:auto;
  box-shadow:0 40px 90px -30px rgba(3,1,129,.55)}
.utcard .uth{margin:0;padding:1rem 1.4rem;background:var(--bad-soft);color:var(--bad);
  border-left:4px solid var(--bad);font-size:1.02rem;font-weight:500}
.utcard .utbody{padding:1.1rem 1.4rem 1.3rem}
.utcard .utlead{margin:0 0 1rem;padding-left:.9rem;border-left:3px solid var(--bad);
  color:var(--bad);line-height:1.45}
/* Label left, figure right, on one line each, with a hairline between rows —
   a person checking these is comparing numbers, and numbers compare down a
   column. */
.utfig{display:grid;grid-template-columns:1fr auto;margin:0;font-size:.95rem}
.utfig dt{padding:.6rem 0;color:var(--ink)}
.utfig dd{margin:0;padding:.6rem 0;text-align:right;font-variant-numeric:tabular-nums}
.utfig dt:not(:first-of-type),.utfig dd:not(:first-of-type){border-top:1px solid var(--line-soft)}
.utfig .utshort{color:var(--bad);font-weight:600}
.utcard .utnote{margin:1.1rem 0 0;font-size:.88rem;color:var(--muted);line-height:1.55}
.utcard .utgo{display:flex;gap:.7rem;justify-content:flex-end;flex-wrap:wrap;
  padding:1rem 1.4rem;border-top:1px solid var(--line-soft);background:var(--surface)}
.utcard .utgo form{margin:0}
.utcard .utgo .btn{margin:0;width:auto}
.utcard .utyes{background:var(--surface);border:1px solid var(--bad);color:var(--bad)}
.utcard .utyes:hover{background:var(--bad);color:#fff}
@media (max-width:480px){
  .utcard .utgo{flex-direction:column-reverse}
  .utcard .utgo .btn,.utcard .utgo form{width:100%}
  .utcard .utgo .btn{width:100%;text-align:center}
}
/* An undertime, wherever hours are shown. Red, because it is money. */
.sub.short{color:var(--bad)}

/* ---------- payroll ----------
   A register is a wall of numbers, and the only way to read one is down a
   column. So: tabular figures everywhere, right-aligned, and the group
   headers that say which side of the row you are on. */
.perbar{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;padding:.9rem 1.1rem;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);
  margin:0 0 1.4rem}
.perpick{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:0}
.perpick select{width:auto;min-width:8rem;height:38px;padding:.35rem 2rem .35rem .6rem;
  font-size:.9rem}
.pereyebrow{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.perwhen{margin-left:auto;font-size:.85rem;color:var(--muted)}
.pgsub{font-size:.95rem;color:var(--muted)}

.runcard{margin-bottom:1.6rem}
.runhead{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;
  padding:clamp(14px,2vw,20px) clamp(16px,2.2vw,24px);border-bottom:1px solid var(--line-soft)}
.runhead > div:first-child{margin-right:auto}
.runhead form{margin:0}
.runhead .btn{margin:0}

/* Where the Post button would be, for somebody who does not sign things off.
   Deliberately the same shape and weight as the button it replaces, so the
   eye lands in the same place and reads a status rather than hunting for a
   control that is not there. Dashed, because it is not pressable. */
.signoff{display:flex;flex-direction:column;gap:.15rem;text-align:right;
  padding:.55rem .9rem;border:1px dashed var(--line);border-radius:8px}
.signoff .sub{font-size:.82rem;color:var(--muted)}

/* Numbers line up or they are not worth printing. */
.grid td.n,.grid th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.runtbl th{font-size:.68rem}
.runtbl .grouprow th{text-align:center;font-size:.6rem;letter-spacing:.14em;
  color:var(--muted);border-bottom:0;padding-bottom:.2rem}
.runtbl .grouprow th[colspan]{border-bottom:1px solid var(--line)}
.runtbl td{padding-top:.55rem;padding-bottom:.55rem}
.runtbl input[type=number]{width:5.2rem;height:34px;padding:.3rem .45rem;font-size:.85rem;
  text-align:right;margin:0}
.runtbl .adjf{margin:0;display:contents}
.runtbl .minus{color:var(--bad)}
.runtbl .plus{color:var(--ok)}
.runtbl tr.ro{background:var(--surface)}
/* The total row is the row people look at. It gets the recessed tone and a
   navy rule above it, so the eye lands on it without hunting. */
.totrow td{border-top:2px solid var(--navy-line);background:var(--panel);
  font-variant-numeric:tabular-nums;font-weight:500}
.grid b.bad{color:var(--bad)}

/* The settings screen: label and note on the left, the field on the right,
   so a column of fields reads as a column. */
.setgrid{display:grid;gap:.9rem}
.setrow{display:grid;grid-template-columns:1fr 11rem;gap:1rem;align-items:start;
  padding-bottom:.9rem;border-bottom:1px solid var(--line-soft)}
.setrow:last-child{border-bottom:0;padding-bottom:0}
.setrow label{margin:0;font-size:.92rem}
.setrow label .sub{display:block;margin-top:.2rem;font-weight:400}
.setrow input,.setrow select{margin:0}
@media (max-width:640px){.setrow{grid-template-columns:1fr}}
.chip.okchip{background:var(--ok-soft);color:var(--ok);border:1px solid #bfe6d0}
/* A register is twelve columns wide. Denser cells and smaller figures keep
   it on one screen at 1280, which is the difference between reading it and
   scrolling sideways looking for the net pay. */
.runtbl td,.runtbl th{padding-left:.5rem;padding-right:.5rem}
.runtbl td.n,.runtbl th.n{font-size:.86rem}
.runtbl input[type=number]{width:4.4rem}
/* Posting and releasing are two acts, so they get two rows rather than two
   buttons side by side — a person about to release should not be one slip of
   the mouse from reopening the run. */
.relstrip{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
  padding:.85rem clamp(16px,2.2vw,24px);background:var(--surface);
  border-bottom:1px solid var(--line-soft)}
.relstrip > div:first-child{margin-right:auto}
.relstrip form{margin:0}
.relstrip .btn{margin:0}
.relstrip.on{background:var(--ok-soft)}
.scopebar{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1.4rem}
.scopebar .btn{margin:0}
/* The tickets filter: two labelled dropdowns rather than two rows of pills.
   Reads as one quiet toolbar; each select carries its own label so the pair
   is legible at a glance. */
.ticketfilter{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:0 0 1.4rem}
.ticketfilter label{font-size:.82rem;color:var(--muted);margin:0}
.ticketfilter label:not(:first-child){margin-left:.4rem}
.ticketfilter select{margin:0;min-width:11rem;max-width:100%}
.ticketfilter .btn{margin:0}
@media (max-width:600px){
  .ticketfilter{align-items:stretch;flex-direction:column}
  .ticketfilter select{min-width:0;width:100%}
}
/* The first-run walkthrough: a centred video and the acknowledge control. */
/* Certificate e-signatures, in Settings. */
.sigrow{border:1px solid var(--line);border-radius:var(--radius);padding:.9rem 1rem;
  margin:.7rem 0;background:var(--surface-soft,rgba(0,0,0,.015))}
.sighd{margin-bottom:.5rem}
.sigprev{background:#fff;border:1px solid var(--line);border-radius:8px;padding:.5rem .7rem;
  display:inline-block;margin-bottom:.6rem}
.sigprev img{display:block;height:52px;width:auto;max-width:260px}
.sigform input[type=file]{max-width:100%}

.onboardwrap{max-width:940px;margin:0 auto}
.onboardvid{display:block;width:100%;border-radius:var(--radius);background:#0b0e18;
  box-shadow:var(--shadow-sm);border:1px solid var(--line)}
.onboardack{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.1rem}
.obcheck{display:flex;align-items:center;gap:.55rem;font-weight:500;color:var(--ink)}
.obcheck input{width:1.15rem;height:1.15rem}
.onboardack .obhint{margin:0;color:var(--muted)}
/* The no-skip player: minimal controls, and a progress bar that only shows
   progress — it is not clickable, so the time cannot be dragged. */
.obplayer .onboardvid{display:block}
.obctrls{display:flex;align-items:center;gap:.7rem;margin-top:.6rem}
.obplay{min-width:5rem}
.obbar{flex:1;height:8px;border-radius:6px;background:var(--line);overflow:hidden;
  cursor:default;pointer-events:none}
.obfill{height:100%;width:0;background:var(--navy);border-radius:6px;transition:width .2s linear}
.obtime{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.82rem;white-space:nowrap}
.grid .ok{color:var(--ok)}
.grid .bad{color:var(--bad)}
/* The final pay sheet: a column of labels and a column of figures, because
   it is read down and checked against a calculator.

   Called .fpay and not .fp — .fp was already taken, by the small monospace
   line that shows a device fingerprint, and the final pay sheet inherited it
   and rendered in Menlo at three-quarter size. Two unrelated things with the
   same two-letter class is how that happens. */
.fpay{display:grid;grid-template-columns:1fr auto;gap:0 1.5rem;margin:.4rem 0 0}
.fpay dt{padding:.45rem 0;border-bottom:1px solid var(--line-soft)}
.fpay dd{margin:0;padding:.45rem 0;text-align:right;font-variant-numeric:tabular-nums;
  border-bottom:1px solid var(--line-soft);white-space:nowrap}
.fpay dt.s,.fpay dd.s{font-weight:700;color:var(--navy);border-bottom:0;
  border-top:2px solid var(--navy)}
.fpay dt.sub,.fpay dd.sub{border-bottom:0;padding-top:.1rem;padding-bottom:.1rem}
/* Unpaid leave added to an absence box: it came from somewhere else, so it
   is colored like the thing it is rather than like something typed. */
.runtbl .sub.lv{color:var(--warn)}
/* A prompt rather than an alarm: same shape as the urgent strip, without the
   red. Reserving red for things that are actually wrong is what keeps red
   meaning anything. */
.urgent.calmurgent{border-left-color:var(--navy);background:var(--navy-soft)}
.urgent.calmurgent h2{color:var(--navy)}
/* Approve / decline on one line. The hours box is the thing being decided,
   so it leads; the note is optional and gives way first when space is short. */
.otdec{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:0}
.otdec input[type=number]{width:4.6rem;min-width:0;height:36px;padding:.3rem .5rem;
  font-size:.85rem;margin:0}
.otdec input[type=text]{flex:1 1 8rem;min-width:6rem;height:36px;padding:.3rem .55rem;
  font-size:.85rem;margin:0}
.otdec .btn{margin:0;white-space:nowrap}
/* Told, not tempted: where a preparer would see the Post button, they see
   who signs instead. */
.prepnote{display:flex;flex-direction:column;text-align:right;line-height:1.3}
.prepnote b{font-size:.9rem;color:var(--navy)}
.prepnote span{font-size:.8rem;color:var(--muted)}

/* ---------------------------------------------------------------------
   THE NOTIFICATION BELL, AND AN AVATAR THE SIZE OF THE MARK.

   The firm asked for the avatar to match the logo on the other side of the
   banner. It was 38px against the mark's 56px, which read as two different
   kinds of thing rather than two ends of one row.
   --------------------------------------------------------------------- */
.topbanner .bright{gap:.7rem}
.topbanner .avatar{width:56px;height:56px;font-size:1.05rem;overflow:hidden}
.topbanner .avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
@media (max-width:900px){
  .topbanner .avatar{width:38px;height:38px;font-size:.85rem}
  .topbanner .bright{gap:.45rem}
}

.bell{position:relative}
.bell > summary{list-style:none;cursor:pointer;display:grid;place-items:center;
  width:42px;height:42px;border-radius:50%;color:var(--muted);position:relative}
.bell > summary::-webkit-details-marker{display:none}
.bell > summary:hover{background:var(--panel);color:var(--ink)}
.bell > summary svg{width:23px;height:23px;display:block}
.bell[open] > summary{background:var(--panel);color:var(--ink)}
/* The count. Red because the only reason to look at a bell is that something
   is waiting, and a grey number beside a grey bell says nothing at a glance. */
.bell .bcount{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 4px;
  border-radius:9px;background:var(--warn,#b8860b);color:#fff;font-size:.68rem;font-weight:600;
  line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--surface)}
.bell .bcount.bad{background:var(--bad,#b3261e)}
.bell .bcount[hidden]{display:none}

.bellmenu{position:absolute;top:calc(100% + 8px);right:0;z-index:60;min-width:18rem;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.35rem;box-shadow:0 14px 34px -14px rgba(3,1,129,.32)}
.bellmenu a{display:block;padding:.55rem .7rem;border-radius:6px;font-size:.88rem;
  color:var(--ink);text-decoration:none}
.bellmenu a:hover{background:var(--panel)}
.bellmenu a.bad{color:var(--bad);font-weight:500}
.bellmenu .none{margin:0;padding:.55rem .7rem;font-size:.88rem;color:var(--muted)}
@media (max-width:900px){
  .bellmenu{position:fixed;left:4vw;right:4vw;top:auto;min-width:0}
}

/* ---------------------------------------------------------------------
   TIME OUT IS RED, AND UNDERTIME IS RED.

   Time in and Time out were the same white button in the same place, which
   is how a second press on what looks like the same control closes a day at
   nought minutes. Two different colors make them two different acts.
   --------------------------------------------------------------------- */
.btn-clock.btn-out{background:var(--bad,#b3261e);border-color:var(--bad,#b3261e);color:#fff}
.btn-clock.btn-out:hover{background:#8f1e18;border-color:#8f1e18;color:#fff}

/* A short day is money off somebody's pay. It should be findable by scanning
   the column, not by reading every row. */
.grid tr.short > td{background:rgba(179,38,30,.07)}
.grid tr.short:hover > td{background:rgba(179,38,30,.12)}
.grid tr.short td:first-child{box-shadow:inset 3px 0 0 var(--bad,#b3261e)}

/* =====================================================================
   UPDATE 20 — the screens the firm asked to have reworked.
   ===================================================================== */

/* ---- THE TWO BANNERS, THE SAME HEIGHT ----
   The firm preferred the dashboard's. The punch-strip rules that used to sit
   here went with the strip itself (2 September 2026) — the clock page now
   wears the dashboard's .hero-clock card, so the two banners match by
   construction rather than by adjustment. */

/* ---- THE FOOTER ----
   The firm's name in blue capitals, and the data-protection notice running
   the full width of the section instead of a 70-character column inside it. */
.foot .firmname{font-weight:600;letter-spacing:.09em;color:#fff;
  font-size:.82rem;max-width:none}
.foot .firmname .dot{opacity:.55}
.foot .dpa{max-width:none;color:rgba(255,255,255,.72)}
.foot a{color:#fff}

/* Anything that should run the whole width of its section rather than being
   penned into a reading column. */
.wide{max-width:none !important;grid-column:1/-1}
p.lede.wide{max-width:none}

/* ---- leave: the rules, below and across ---- */
.howworks{margin-top:1.2rem}
.lvrules{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem}
.lvrules .lvnote{margin:0}

/* ---- a company, folded ---- */
.entgrp{margin-top:1.2rem;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--surface);overflow:hidden}
.entgrp > summary{cursor:pointer;list-style:none;padding:.85rem clamp(14px,2vw,20px);
  font-size:.95rem;background:var(--panel);border-bottom:1px solid transparent}
.entgrp > summary::-webkit-details-marker{display:none}
.entgrp[open] > summary{border-bottom-color:var(--line)}
.entgrp > summary::before{content:"";display:inline-block;width:6px;height:6px;margin-right:.55rem;
  border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
  transform:rotate(-45deg);opacity:.55;transition:transform .15s ease}
.entgrp[open] > summary::before{transform:rotate(45deg)}
.entgrp .tablewrap{border:0}

/* ---- what is coming up ---- */
.upcoming{display:grid;gap:1.2rem}
.upblock .sechead{margin-top:0}
.uplist{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.uplist li{display:grid;grid-template-columns:auto 1fr auto;gap:.2rem .6rem;align-items:baseline;
  padding:.5rem .65rem;border-radius:8px;background:var(--panel);font-size:.88rem}
.uplist li b{grid-column:2;min-width:0}
.uplist li .cw{grid-row:1/3;align-self:center;font-size:1.1rem}
.uplist li .when{grid-column:3;color:var(--muted);white-space:nowrap;font-size:.82rem}
.uplist li .tagline{grid-column:2/4;color:var(--muted);font-size:.78rem}
.uplist li .sub{grid-column:2/4;font-size:.75rem}
/* Somebody who is out TODAY is the one fact this panel exists to deliver. */
.uplist li.now{background:var(--navy-soft);box-shadow:inset 3px 0 0 var(--navy)}
.uplist li.now .tagline{color:var(--navy);font-weight:500}

/* The away cards, two lines each — 2 September 2026: "First line is the
   name, 2nd line are the inclusive dates." The dates used to sit in a
   right-hand column that refused to wrap, and on a phone it was the NAME
   that paid for that, folding to a word per line. One column now: the name
   owns its line, the dates sit under it. */
.uplist.awlist li{grid-template-columns:1fr}
.uplist.awlist li b{grid-column:1}
.uplist.awlist li .when{grid-column:1;justify-self:start;white-space:normal}
.uplist.awlist li .tagline,.uplist.awlist li .sub{grid-column:1}

/* ---- memos ---- */
.memo{margin-bottom:1.1rem}
.memo.urgent{border-left:3px solid var(--warn)}
.memobody{font-size:.95rem;line-height:1.6}
.memobody p{margin:0 0 .7rem}
.okword{color:var(--ok)}
.pickgrp{margin:.6rem 0;border:1px solid var(--line);border-radius:8px}
.pickgrp > summary{cursor:pointer;padding:.6rem .8rem;font-size:.88rem}
.picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.3rem;
  padding:0 .8rem .8rem}
.pick{display:flex;align-items:center;gap:.45rem;font-size:.88rem;margin:0}
.pick input{width:auto;margin:0}

/* ---- the profile: what is required, and what is spent ---- */
.req{color:var(--bad);font-weight:600}
.rowform label.chk{display:grid;grid-template-columns:auto 1fr;gap:.3rem .6rem;align-items:start;
  border-top:1px solid var(--line-soft);padding-top:1rem}
.rowform label.chk input{margin:.15rem 0 0;width:auto;justify-self:start}
.rowform label.chk .sub{grid-column:2;margin:.25rem 0 0;line-height:1.45}
.rowform input[readonly]{background:var(--panel);color:var(--muted);cursor:not-allowed}
.docup{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;margin:0}
.docup input[type=file]{font-size:.8rem;max-width:14rem}

/* ---- time-out corrections ---- */
.tof{margin-top:.7rem}
.hint.spent{color:var(--bad)}
.toflist{display:grid;grid-template-columns:auto 1fr;gap:.25rem .7rem;margin:.8rem 0 0;
  font-size:.84rem}
.toflist dt{color:var(--muted)}
.toflist dd{margin:0}
.tag.pending{background:var(--warn-soft,#fdf3e0);color:var(--warn)}
.tag.approved{background:var(--ok-soft,#e8f5ec);color:var(--ok)}
.tag.declined{background:var(--red-soft,#fdecea);color:var(--bad)}

/* ---- THE PUNCH CONTROL IN THE RIBBON, beside the clock ----
   Red for Time out, white for Time in. Which of the two acts is on offer
   should be legible before the word is read — that is the whole reason the
   two were confusable in the band. */
.navpunch{display:inline-flex;align-items:center;gap:.4rem;margin-left:.7rem;
  padding:.42rem .8rem;border-radius:var(--radius);font-size:.84rem;font-weight:500;
  text-decoration:none;border:1px solid var(--line);background:var(--surface);color:var(--navy);
  white-space:nowrap}
.navpunch:hover{background:var(--panel)}
.navpunch.out{background:var(--bad,#b3261e);border-color:var(--bad,#b3261e);color:#fff}
.navpunch.out:hover{background:#8f1e18;border-color:#8f1e18}
.navpunch.done{color:var(--muted);background:var(--panel);cursor:default}
.navpunch .np-dot{width:7px;height:7px;border-radius:50%;background:#fff;flex:0 0 auto;
  animation:pdot 2.4s ease-in-out infinite}
@keyframes pdot{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.navpunch .np-dot{animation:none}}
@media (max-width:720px){.navpunch{margin-left:.4rem;padding:.38rem .6rem;font-size:.78rem}}

/* ---- a photograph, and the control to change it ---- */
.photorow{display:flex;gap:1.2rem;align-items:flex-start;flex-wrap:wrap}
.photobox{width:96px;height:96px;border-radius:50%;overflow:hidden;flex:0 0 auto;
  background:var(--navy-soft);display:grid;place-items:center}
.photobox img{width:100%;height:100%;object-fit:cover;display:block}
.photobox .ph{font-size:1.6rem;font-weight:600;color:var(--navy)}
.photoask{flex:1 1 18rem;min-width:0}

/* ---- MY PROFILE, DRESSED PROPERLY ----
   2 September 2026: "Make the presentation of 'My profile' more
   professional and pleasant looking." A header card that reads like an
   H R file — big photograph, name, role, state — and the form's sections
   laid out two abreast instead of one long scroll. */
.profhead .pb{padding:clamp(18px,2.6vw,28px)}
.profhead{background:linear-gradient(135deg,var(--navy-soft) 0%,var(--surface) 55%)}
.photobox.big{width:128px;height:128px;border-radius:16px;
  box-shadow:0 6px 18px rgba(3,1,129,.16)}
.photobox.big .ph{font-size:2.2rem}
.profname{margin:0;font-size:clamp(1.3rem,2.4vw,1.7rem);font-weight:500;color:var(--navy);
  letter-spacing:-.01em}
.profrole{margin:.15rem 0 0;color:var(--ink);font-size:.95rem}
.profmail{margin:.1rem 0 0;color:var(--muted);font-size:.85rem}
.profbadge{display:inline-block;margin:.6rem 0 0;font-size:.78rem;font-weight:500;
  padding:.3rem .75rem;border-radius:999px}
.profbadge.ok-b{background:#e5f6ec;color:#0d7a43;border:1px solid #bfe7cf}
.profbadge.todo-b{background:#fdf1e4;color:#9a5b00;border:1px solid #f2ddc0}
.profup{margin-top:.9rem}
.profup .sub{display:block;margin-top:.35rem}
/* The form's sections, two abreast on a wide screen. */
.profx{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:0}
.profx .pb{border-top:1px solid var(--line-soft)}
.profx .pb:nth-child(odd){border-right:1px solid var(--line-soft)}
.profx .pb:first-child,.profx .pb:nth-child(2){border-top:0}
.profx .pb:last-child{grid-column:1/-1;border-right:0}
@media (max-width:860px){
  .profx{grid-template-columns:minmax(0,1fr)}
  .profx .pb{border-right:0 !important}
  .profx .pb:nth-child(2){border-top:1px solid var(--line-soft)}
}

/* =====================================================================
   PHONES AND TABLETS, AND A LITTLE MORE LIFE.

   Asked for on 30 August 2026: "make the portal accessible to android and
   apple mobile/tablet" and "improve the visual presentation... it is too
   white and dry, add more life while maintaining the first company colors."

   The two are one job. They are the same stylesheet and the same screens,
   and the thing that made the system look dry — a white card on a white
   page — is the same thing that made it hard to read on a phone, because
   with nothing to separate them a screen full of panels is one long
   undifferentiated column.

   The color work is at the top of this file, in the tokens. This section is
   the behavior: what happens when the screen is 390 pixels wide, and the
   few components that carry the life.
   ===================================================================== */

/* ---- A WIDE TABLE ON A NARROW SCREEN ----

   A payroll register has fourteen columns and there is no honest way to fit
   them on a phone. It scrolls sideways, which is right — but a table that
   scrolls with no sign that it scrolls is a table people believe they have
   read to the end of, and on a payroll that matters.

   So the scroll is made visible: a soft fade at whichever edge has more
   content behind it. The trick is two background layers, one fixed to the
   scroll container and one attached to the content — the fade shows only
   while there is something past the edge and disappears at the end of the
   travel, without a line of JavaScript. */
.tablewrap{
  background-image:
    linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)),
    linear-gradient(to left,  var(--surface) 30%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(3,1,129,.10), rgba(3,1,129,0)),
    linear-gradient(to left,  rgba(3,1,129,.10), rgba(3,1,129,0));
  background-position:left center, right center, left center, right center;
  background-repeat:no-repeat;
  background-size:36px 100%, 36px 100%, 14px 100%, 14px 100%;
  background-attachment:local, local, scroll, scroll;
}

@media (max-width:720px){
  /* Tighter, so a four or five column table fits without scrolling at all
     and only the genuinely wide ones move. */
  table.grid{font-size:.86rem;min-width:520px}
  table.grid th{padding:.6rem .7rem;font-size:.66rem;letter-spacing:.06em}
  table.grid td{padding:.6rem .7rem}
  table.grid.people{min-width:640px}
  /* A table is the full bleed of the screen on a phone: the 16px of page
     padding either side costs a column and buys nothing. */
  .tablewrap{margin-left:calc(-1 * clamp(16px,4vw,32px));
             margin-right:calc(-1 * clamp(16px,4vw,32px));
             border-left:0;border-right:0;border-radius:0}
  .panel .tablewrap,.panelx .tablewrap{margin-left:0;margin-right:0;
             border-left:1px solid var(--line);border-right:1px solid var(--line);
             border-radius:var(--radius)}
}

/* ---- THE RIBBON ON A PHONE ----
   It already scrolls sideways. What it lacked was any sign that it does, and
   a scrollbar across the navigation of a payroll looks like a fault. */
@media (max-width:720px){
  .mainnav{scrollbar-width:none;-ms-overflow-style:none;
    -webkit-overflow-scrolling:touch;
    mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent);
    -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent)}
  .mainnav::-webkit-scrollbar{display:none}
  .mainnav a{white-space:nowrap}
}

/* ---- NOTCHES AND ROUNDED CORNERS ----
   viewport-fit=cover is set in the page head, which lets the page use the
   whole screen — and then puts the first and last few millimeters of it
   under the rounded corner on an iPhone unless this is here. */
@supports (padding:env(safe-area-inset-left)){
  .wrap{padding-left:max(clamp(16px,4vw,32px), env(safe-area-inset-left));
        padding-right:max(clamp(16px,4vw,32px), env(safe-area-inset-right))}
  body{padding-bottom:env(safe-area-inset-bottom)}
}

/* ---- TAPPING ----
   A tap that highlights a grey box around a card looks broken on Android,
   and a control smaller than a fingertip is a control that gets pressed by
   accident on the row below. */
@media (pointer:coarse){
  a,button,summary,label,input,select,textarea{-webkit-tap-highlight-color:rgba(3,1,129,.08)}
  .btn,.mainnav a,table.grid td.act .btn{min-height:44px}
  table.grid td.act .btn{padding-top:.5em;padding-bottom:.5em}
  /* Anything a finger drags gets the momentum it expects. */
  .tablewrap,.mainnav,.scopebar{-webkit-overflow-scrolling:touch}
}

/* On a phone a row of filter buttons wraps into a block four deep and pushes
   the thing being filtered off the screen. It scrolls instead. */
@media (max-width:600px){
  .scopebar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:.2rem}
  .scopebar::-webkit-scrollbar{display:none}
  .scopebar .btn{flex:0 0 auto}
}

/* ---- THE PAGE ITSELF ----
   The warm ground is set on body. main gets nothing, so the paper shows
   through and every panel on it reads as a sheet laid on a desk. */
main{background:transparent}

/* ---- A PROPORTION, DRAWN ----

   Two figures and their ratio — the 90,000 pool used against what is left,
   leave taken against granted, a run's progress. A number tells you the
   answer; a bar tells you the answer and the shape of it at a glance, which
   is the whole difference between a screen you read and a screen you scan.

   Pure CSS on two elements. No charting library: the security policy forbids
   third-party script, and a bar is two divs. */
.spark{height:8px;border-radius:999px;background:var(--panel);overflow:hidden;
  border:1px solid var(--line-soft);margin:.4rem 0 .2rem}
.spark > i{display:block;height:100%;border-radius:999px;
  background:linear-gradient(90deg,var(--navy),var(--navy-lift));
  transition:width .4s ease}
.spark.gold > i{background:linear-gradient(90deg,var(--gold),var(--gold-mid))}
.spark.ok   > i{background:linear-gradient(90deg,var(--ok),#2f8a60)}
.spark.warn > i{background:linear-gradient(90deg,var(--warn),#b8801f)}
.spark.bad  > i{background:linear-gradient(90deg,var(--bad),#b8433f)}
.sparkrow{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;
  font-size:.78rem;color:var(--muted)}
.sparkrow b{color:var(--ink);font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.spark > i{transition:none}}

/* ---- A FIGURE THAT IS THE POINT OF THE PANEL ----
   Net pay, the total of a run, what somebody is owed. Gold, tabular, and
   larger than the prose around it. Never used for anything that means good
   or bad — those stay green and red. */
.bigfig{font-family:var(--serif);font-weight:500;font-size:clamp(1.5rem,3.4vw,2rem);
  line-height:1.1;color:var(--navy);font-variant-numeric:tabular-nums;letter-spacing:-.015em}
.bigfig small{display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);font-family:var(--sans);font-weight:400;margin-bottom:.25rem;
  letter-spacing:.14em}
.bigfig.gold{color:var(--gold)}

/* ---- THE ACCENT, USED SPARINGLY ---- */
.chip.goldchip{background:var(--gold-soft);color:var(--gold)}
.sechead.gold::before{background:var(--gold-mid)}
/* An open panel heading gets a hairline under it rather than a border box,
   which is what stops a page of panels reading as a stack of boxes. */
.panelx .sechead{padding-bottom:.55rem;border-bottom:1px solid var(--line-soft)}

/* ---- THE BAND AT THE TOP OF A DASHBOARD ----
   It was navy to navy to a slightly darker navy, which on a wide screen is
   very nearly a flat rectangle. A third stop and a touch of the accent in
   the corner give it somewhere to go. */
.hero{
  /* ---- STILL the first company NAVY ----
     The first attempt started the gradient on --navy-lift and the band came
     out royal blue: livelier, and not the firm's color any more. The lift
     is a highlight in one corner now, not a third of the width, so the band
     reads as the same navy as the mark and the rule at the top of the page
     — with somewhere for the light to fall. */
  background:
    radial-gradient(90% 120% at 84% -20%, rgba(180,136,31,.16) 0%, rgba(180,136,31,0) 52%),
    linear-gradient(104deg, var(--navy) 0%, var(--navy) 46%, var(--navy-deep) 100%);
  box-shadow:var(--shadow-lg);
}

/* ---------- the evaluation form ----------
   Twelve questions with five options each is a long page whatever is done to
   it. What can be done is make one option obviously chosen and the rest
   obviously not, and make the whole row a target rather than the radio
   button — on a phone a 13px circle is not something anybody hits first
   time. */
.evq{border:0;padding:0;margin:0 0 1.4rem}
.evq legend{padding:0;margin:0 0 .55rem;font-weight:500;font-size:.95rem;color:var(--ink)}
.evopt{display:flex;gap:.7rem;align-items:flex-start;margin:0 0 .35rem;padding:.6rem .8rem;
  border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);
  cursor:pointer;transition:.14s ease;font-weight:400}
.evopt:hover{border-color:var(--navy-line);background:#f7fafd}
.evopt input{margin:.25rem 0 0;flex:0 0 auto;width:auto;min-height:0;accent-color:var(--navy)}
.evopt span{display:block;min-width:0}
.evopt b{display:block;font-size:.9rem;font-weight:500}
.evopt i{display:block;font-style:normal;font-size:.8rem;color:var(--muted);margin-top:.1rem}
.evopt:has(input:checked){border-color:var(--navy);background:var(--navy-soft);
  box-shadow:inset 0 0 0 1px var(--navy)}
.evopt:has(input:checked) b{color:var(--navy)}
.evopt:has(input:disabled){cursor:default;opacity:.75}
.evopt input:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
@media (pointer:coarse){.evopt{padding:.75rem .8rem}}

/* The four directions a rating comes from, as a chip. */
.relchip{display:inline-block;font-size:.7rem;padding:.24em .7em;border-radius:999px;
  background:var(--navy-soft);color:var(--navy);white-space:nowrap}
.relchip.self{background:var(--gold-soft);color:var(--gold)}
.relchip.manager{background:var(--navy-soft);color:var(--navy)}
.relchip.peer{background:var(--panel);color:var(--muted)}
.relchip.report{background:var(--ok-soft);color:var(--ok)}

/* A band, wherever one is shown. */
.band-Outstanding{background:var(--gold-soft);color:var(--gold)}
.band-Exceeds{background:var(--ok-soft);color:var(--ok)}
.band-Solid{background:var(--navy-soft);color:var(--navy)}
.band-Developing{background:var(--warn-soft);color:var(--warn)}
.band-Falls{background:var(--bad-soft);color:var(--bad)}

/* ---------- the assistant ----------
   A question, an answer, and some suggestions. Deliberately not a chat
   window: this posts and reloads, so the answer survives a refresh, works
   with JavaScript off, and sits on a page somebody can come back to. */
.botform{margin:0 0 1.2rem}
.botrow{display:flex;gap:.6rem;align-items:stretch}
.botrow input[type=search]{flex:1 1 auto;font-size:16px}
.botrow .btn{flex:0 0 auto}
@media (max-width:520px){
  .botrow{flex-direction:column}
  .botrow .btn{width:100%}
}
/* The question, set as the person's own words — indented and quiet, so the
   answer below it is what the eye lands on. */
.botq{margin:0 0 .5rem;padding:.7rem 1rem;border-left:3px solid var(--line);
  background:var(--panel);border-radius:0 var(--radius-sm) var(--radius-sm) 0}
.botq p{margin:0;color:var(--muted);font-size:.92rem}
.bota{padding:1.1rem 1.3rem;border:1px solid var(--navy-line);border-left:3px solid var(--navy);
  border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}
.bota p{margin:0}
/* An answer it could not give looks different from one it could. A refusal
   dressed as an answer is the failure mode worth designing against. */
.bota.unknown{border-color:var(--warn-soft);border-left-color:var(--warn);
  background:var(--warn-soft);color:var(--warn)}
.botlinks{margin-top:.9rem!important;display:flex;gap:.5rem;flex-wrap:wrap}
.botsug{display:flex;gap:.5rem;flex-wrap:wrap}
.botsug form{margin:0}
.botsug .btn{font-weight:400;color:var(--muted)}
.botsug .btn:hover{color:var(--navy)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- edit mode ----------
   A mode in which typing changes what everybody sees has to be visible from
   the first glance, and has to carry its own way out. Gold rather than red:
   nothing is wrong, something is unlocked. */
.editbar{background:linear-gradient(90deg,var(--gold),var(--gold-mid));color:#fff;
  box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:29}
.editbar .wrap{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;
  padding-top:.5rem;padding-bottom:.5rem;font-size:.88rem}
.editbar b{font-weight:600}
.editbar .eb-sub{color:rgba(255,255,255,.86);font-size:.82rem;margin-right:auto}
.editbar .eb-dot{width:8px;height:8px;border-radius:50%;background:#fff;flex:0 0 auto;
  animation:ebpulse 2.2s ease-in-out infinite}
@keyframes ebpulse{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.editbar .eb-dot{animation:none}}
.editbar .btn{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.5);color:#fff;
  margin:0}
.editbar .btn:hover{background:rgba(255,255,255,.28);border-color:#fff;color:#fff}
.editbar form{margin:0}
@media (max-width:600px){.editbar .eb-sub{width:100%;margin-right:0;order:5}}

/* One editable thing: what it is, what it says, and how to change it. */
.uirow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:.6rem 1.2rem;
  align-items:start;padding:.85rem 0;border-bottom:1px solid var(--line-soft)}
.uirow:last-child{border-bottom:0}
.uilbl{font-size:.9rem;min-width:0}
.uival{font-size:.88rem;color:var(--muted);min-width:0;word-break:break-word}
.uiform{display:flex;gap:.5rem;align-items:flex-start;min-width:0}
.uiform input[type=text],.uiform textarea,.uiform select{flex:1 1 auto;min-width:0}
.uiform input[type=color]{width:56px;height:44px;padding:2px;flex:0 0 auto;
  border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}
.uiform .btn{flex:0 0 auto;margin:0}
.uiwas{grid-column:2;font-size:.78rem;color:var(--faint)}
.uirow form.inline{grid-column:2}
.swatch{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;
  border:1px solid var(--line)}
@media (max-width:720px){
  .uirow{grid-template-columns:1fr}
  .uiwas,.uirow form.inline{grid-column:1}
}

/* ---- the statutory checklist, on the approver's screen ----
   Beneath the reason rather than in a column of its own: it is read once, at
   the moment of deciding, by somebody whose eye is already on that row. */
.statneed{margin-top:.5rem;padding:.55rem .7rem;border-radius:var(--radius);
  background:var(--gold-soft);border-left:3px solid var(--gold-line);
  font-size:.78rem;line-height:1.5;color:var(--muted);white-space:normal;max-width:26rem}
.statneed b{color:var(--ink)}
.statneed ul{margin:.3rem 0 0;padding-left:1.05rem}
.statneed li{margin-bottom:.15rem}
.statneed .statsss{margin:.5rem 0 0;padding-top:.45rem;border-top:1px solid var(--gold-line)}

/* ---- the structure screen ----
   Somebody may answer to two people at once, so "reports to" is a list rather
   than a value, and it has to read as one at a glance. */
.orgline{margin:0 0 .35rem;padding:0;list-style:none;display:flex;flex-direction:column;gap:.2rem}
.orgline li{font-size:.86rem;display:flex;align-items:baseline;gap:.4rem}
.orgline .linkbtn{font-size:.74rem}

/* ---- the disciplinary notices ----
   Shown as the documents they are, in a monospaced block, because a notice
   under D.O. 147-15 has a shape — heading, ground, facts, directive — and
   reflowing it into the page's prose would make it read as a message rather
   than as a document somebody may one day have to produce. */
.noticedoc{margin:.6rem 0 0;padding:1rem 1.1rem;border-radius:var(--radius);
  background:var(--panel);border:1px solid var(--line-soft);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.78rem;line-height:1.65;color:var(--ink);
  white-space:pre-wrap;word-break:break-word;overflow-x:auto;max-height:34rem;overflow-y:auto}

/* The trail. Numbered, because the order is the point. */
.disctrail{margin:0;padding-left:1.3rem;display:flex;flex-direction:column;gap:.55rem}
.disctrail li{font-size:.88rem}
.disctrail li b{text-transform:none}
.disctrail .when{margin-left:.5rem;font-size:.76rem;color:var(--muted);
  font-variant-numeric:tabular-nums}
.disctrail .sub{margin-top:.1rem}

/* ---- Cookie, the office dog ----
   The same gesture as Revie on the BIR site: a floating face bottom-right
   on every signed-in screen, a small wave for the first-time visitor, and
   a chat panel that answers from the payroll and nothing else. */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* The dog stands free in the corner — no circle around her. She is drawn
   full-body, so the button is just her, with a shadow at her paws. */
.cookiebtn{position:fixed;right:1rem;bottom:.4rem;z-index:60;width:5rem;height:5.8rem;
  border:0;background:none;cursor:pointer;padding:0;
  filter:drop-shadow(0 5px 8px rgba(3,1,129,.28));transition:transform .15s}
.cookiebtn:hover,.cookiebtn:focus-visible{transform:scale(1.06)}
.cookiebtn:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:12px}
.cookiebtn svg{width:100%;height:100%}

/* Cookie's idle life: the tail wags, the eyes blink, the head tilts once in
   a while. All of it stops for anybody whose system asks for reduced
   motion — a mascot is decoration, and decoration never outranks comfort. */
.mt-tail{transform-origin:96px 102px;transform-box:view-box;
  animation:ckwag 1.4s ease-in-out infinite}
@keyframes ckwag{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
.mt-lids{transform-origin:center;transform-box:fill-box;transform:scaleY(0);
  animation:ckblink 4.6s infinite}
@keyframes ckblink{0%,93%,100%{transform:scaleY(0)}95.5%{transform:scaleY(1)}}
.mt-head{transform-origin:60px 54px;transform-box:view-box;
  animation:cktilt 6.2s ease-in-out infinite}
@keyframes cktilt{0%,68%,92%,100%{transform:rotate(0)}78%{transform:rotate(-4.5deg)}}
@media (prefers-reduced-motion:reduce){
  .mt-tail,.mt-lids,.mt-head{animation:none}
}

.cookiewave{position:fixed;right:6.4rem;bottom:2.2rem;z-index:60;max-width:15rem;
  background:var(--surface);border:1px solid var(--gold-line);border-radius:14px 14px 4px 14px;
  padding:.6rem 1.8rem .6rem .8rem;font-size:.82rem;line-height:1.45;color:var(--ink);
  box-shadow:0 6px 18px rgba(3,1,129,.16);cursor:pointer;animation:ckwave .25s ease-out}
.cookiewave .cookiex{position:absolute;top:.15rem;right:.3rem}
@keyframes ckwave{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.cookiewave{animation:none}
  .cookiebtn,.cookiebtn:hover{transition:none;transform:none}}

.cookiepanel{position:fixed;right:1.1rem;bottom:6.5rem;z-index:61;width:22rem;max-width:92vw;
  max-height:min(30rem,75vh);display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 14px 40px rgba(3,1,129,.25);overflow:hidden}
.cookiepanel[hidden]{display:none}
@media (max-width:480px){.cookiepanel{right:.5rem;left:.5rem;width:auto}}

.cookiehead{display:flex;align-items:center;gap:.6rem;padding:.65rem .8rem;
  background:var(--navy);color:#fff}
.cookiehead b{font-size:.95rem}
.cookiehead .sub{display:block;font-size:.72rem;color:#cfd2ff}
.cookieava{flex:0 0 auto;width:2.7rem;height:2.7rem;border-radius:50%;background:#fff;
  padding:.18rem;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cookieava svg{width:100%;height:100%}
.cookiex{margin-left:auto;background:none;border:0;color:inherit;font-size:1.2rem;
  line-height:1;cursor:pointer;padding:.2rem .4rem;border-radius:4px}
.cookiehead .cookiex:hover,.cookiehead .cookiex:focus-visible{background:rgba(255,255,255,.18)}
.cookiewave .cookiex{color:var(--muted);font-size:1rem}

.cookielog{flex:1 1 auto;overflow-y:auto;padding:.8rem;display:flex;flex-direction:column;
  gap:.55rem;background:var(--paper);min-height:8rem}
.ck{max-width:88%;display:flex;flex-direction:column;gap:.3rem}
.ck-bot{align-self:flex-start}
.ck-me{align-self:flex-end}
.ckb{padding:.55rem .75rem;border-radius:12px;font-size:.85rem;line-height:1.5;
  overflow-wrap:break-word}
.ck-bot .ckb{background:var(--surface);border:1px solid var(--line-soft);
  border-bottom-left-radius:4px;color:var(--ink)}
.ck-me .ckb{background:var(--navy);color:#fff;border-bottom-right-radius:4px}
.ckthink{font-size:.78rem;color:var(--muted);font-style:italic;padding:.2rem .4rem}
.cklink{align-self:flex-start;font-size:.78rem;padding:.3rem .7rem;border-radius:999px;
  background:var(--gold-soft);color:var(--gold);border:1px solid var(--gold-line);
  text-decoration:none}
.cklink:hover,.cklink:focus-visible{background:var(--gold-line)}

.cookiesugs{display:flex;flex-wrap:wrap;gap:.35rem;padding:0 .8rem .5rem;background:var(--paper)}
.cookiesugs:empty{display:none}
.ckchip{font-size:.75rem;padding:.32rem .7rem;border-radius:999px;cursor:pointer;
  background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.ckchip:hover,.ckchip:focus-visible{border-color:var(--gold);color:var(--gold)}

.cookieask{display:flex;gap:.45rem;padding:.6rem .8rem;border-top:1px solid var(--line-soft);
  background:var(--surface)}
.cookieask input{flex:1 1 auto;min-width:0}

/* The dog must never sit on top of the idle warning. */
.idle{z-index:80}

/* ---- Cookie's ticket form — "Tickets may also be submitted thru cookie" ---- */
.cookieticketbar { padding: .35rem .8rem 0; }
.cookieticketbar .ckchip { font-size: .78rem; }
.cookieticket { display: flex; flex-direction: column; gap: .45rem;
                padding: .6rem .8rem; border-top: 1px solid var(--line, #e3e0da); }
.cookieticket .cktickethead { margin: 0; font-size: .78rem; color: var(--muted, #6b675f); }
.cookieticket select, .cookieticket input, .cookieticket textarea {
  width: 100%; font: inherit; font-size: .85rem; padding: .4rem .5rem;
  border: 1px solid var(--line, #cfcabf); border-radius: .4rem; background: #fff; }
.cookieticket textarea { resize: vertical; max-height: 10rem; }
.ckticketgo { display: flex; gap: .5rem; }

/* 2 September 2026: "cookie has no send button for the ticket." On a phone,
   a ticket with a real paragraph in it made the form taller than the panel,
   and the panel clips at its edge — so Send it was pushed clean out of view
   with no way to scroll to it. Three rules make that impossible now: while
   a ticket is being written the chat log and the ask box give way (the
   .ticketing class comes from cookie.js), the form itself scrolls when it
   still runs long, and the Send row rides sticky at the form's foot so it
   is on screen whatever the phone's height. */
.cookieticket { flex: 0 1 auto; min-height: 0; overflow-y: auto; }
.ckticketgo { position: sticky; bottom: 0; background: var(--surface);
              padding: .3rem 0 .1rem; }
.cookiepanel.ticketing .cookielog { flex: 0 1 5rem; min-height: 2.5rem; }
.cookiepanel.ticketing .cookiesugswrap,
.cookiepanel.ticketing .cookieask { display: none; }

/* ---- SUPER COOKIE — the transformation -------------------------------
   Gold flame aura, violet lightning, and the dog up on two feet. All of
   it stops under prefers-reduced-motion, like every animation here. */
.skydog .sk-aura { transform-origin: 70px 160px; transform-box: view-box;
                   animation: skaura .8s ease-in-out infinite alternate; }
.skydog .sk-a2 { animation: skflick 1.1s ease-in-out infinite alternate; }
@keyframes skaura { from { transform: scaleY(1); } to { transform: scaleY(1.045) scaleX(1.01); } }
@keyframes skflick { from { opacity: .95; } to { opacity: .8; } }
.skydog .sk-bolt { opacity: 0; animation: skbolt 2.2s linear infinite; }
.skydog .sk-b2 { animation-delay: .7s; }
.skydog .sk-b3 { animation-delay: 1.4s; }
@keyframes skbolt { 0%, 86% { opacity: 0; } 88%, 93% { opacity: 1; } 95%, 100% { opacity: 0; } }
.supercookie .cookiebtn.superbtn { width: 6.2rem; height: 7.2rem;
  filter: drop-shadow(0 0 14px rgba(255, 207, 15, .55)); }
.supercookie .cookiehead { background: linear-gradient(135deg, #2b2352, #030181); }
.superava { box-shadow: 0 0 0 2px #ffcf0f, 0 0 12px rgba(255, 207, 15, .8); }
.cookiehead .sub a { color: #ffe14d; }

/* The transformation chamber and the checkup. */
.superwrap { max-width: 62rem; }
.superlockcard { max-width: 34rem; margin: 2rem auto; text-align: center; }
.superlockcard .superart svg { width: 10rem; height: auto; }
.superart.dim { filter: grayscale(.2); opacity: .9; }
.superform { text-align: left; margin-top: 1rem; }
.superhero { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.superhero .superart svg { width: 13rem; height: auto; }
.supergo { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.panel.diag-bad  { border-left: 4px solid var(--bad, #b3261e); margin-bottom: .8rem; }
.panel.diag-warn { border-left: 4px solid var(--warn, #b98900); margin-bottom: .8rem; }
.panel.diag-ok   { border-left: 4px solid var(--ok, #2e7d32); margin-bottom: .8rem; opacity: .85; }
@media (prefers-reduced-motion: reduce) {
  .skydog .sk-aura, .skydog .sk-a2, .skydog .sk-bolt { animation: none; }
  .skydog .sk-bolt { opacity: .5; }
}

/* ---- Super Cookie, refined: the ORIGINAL sitting Cookie inside the
   firm's own aura image (assets/super-aura.png, transparency kept). ---- */
.superdogwrap { position: relative; display: inline-block; }
/* The dog is scaled DOWN inside her own frame and the flame up — "Reduce
   the size of super cookie so that the moving aura can be emphasized",
   1 September 2026. Scale, not width, so nothing around her reflows. */
.superdogwrap > svg { position: relative; z-index: 1; width: 100%; height: auto;
  transform: scale(.72); transform-origin: 50% 78%; }
.superdogwrap picture { position: static; }
.superdogwrap .superaura { position: absolute; z-index: 0; left: 50%; top: 50%;
  width: 205%; height: auto; transform: translate(-50%, -54%);
  pointer-events: none; animation: skglow 1.1s ease-in-out infinite alternate; }
@keyframes skglow { from { opacity: 1; } to { opacity: .82; } }
.supercookie .cookiebtn.superbtn { overflow: visible; }
.supercookie .cookiebtn.superbtn .superdogwrap { width: 100%; }
@media (prefers-reduced-motion: reduce) { .superdogwrap .superaura { animation: none; } }

/* ---- 30 August refinements: the panel always fits, the suggestions fold,
   the aura keeps off the words, the settings sections open on demand. ---- */

/* The whole chat — box included — must fit the screen it is on. */
.cookiepanel { max-height: min(76vh, 34rem); }
.cookielog { min-height: 7rem; }
.cookiesugswrap { background: var(--paper); border-top: 1px solid var(--line, #e3e0da); }
.cookiesugswrap > summary { cursor: pointer; padding: .45rem .8rem; font-size: .8rem;
  color: var(--muted, #6b675f); user-select: none; }
.cookiesugswrap > summary:hover { color: inherit; }
.cookiesugswrap[open] > summary { border-bottom: 1px dashed var(--line, #e3e0da); }
.cookiesugswrap .cookiesugs { padding-top: .5rem; max-height: 11rem; overflow-y: auto; }

/* The aura stays behind and around the dog, never over the words beside
   her. The picture may glow; the sentences may not. */
.superdogwrap .superaura { width: 150%; transform: translate(-50%, -53%); }
.superhero { position: relative; flex-wrap: nowrap; align-items: center; }
/* Small enough that the words sit BESIDE her, as asked on 30 August —
   the aura needs breathing room, the heading needs the row. */
/* "reduce cookie's size a little bit more" — 30 August 2026. */
.superhero .superart { flex: 0 0 auto; width: 7rem;
  margin: 1.8rem 2.2rem 1.6rem 1rem; z-index: 0; }
@media (max-width: 560px) { .superhero { flex-wrap: wrap; } }
.superhero > div, .superwrap > .hint, .superwrap > .sechead, .superwrap > .panel,
.superwrap .supergo { position: relative; z-index: 1; }
.superlockcard .superart { margin-top: 1rem; }

/* Settings and the activity log, in sections that open. */
details.setx { margin-top: 1.2rem; }
details.setx > summary { cursor: pointer; user-select: none; list-style: none;
  display: flex; align-items: center; gap: .55rem; }
details.setx > summary::-webkit-details-marker { display: none; }
details.setx > summary::after { content: "▾"; font-size: .8rem; color: var(--muted, #6b675f);
  transform: rotate(-90deg); transition: transform .15s ease; }
details.setx[open] > summary::after { transform: rotate(0deg); }
details.setx > summary .sechead { margin: 0; }
details.setx > *:nth-child(2) { margin-top: .8rem; }

/* ---- the 2 September 2026 collapsibility pass ----
   Notices in two category drawers, each notice its own fold; memos fold to
   their subject line; and the counting chips that say whether a drawer is
   worth opening. */
details.setx.memofold { margin-top: 0; }
details.setx > summary .sechead .sub { font-weight: 400; margin-left: .5rem; }
.ancat .anlist { margin-top: .4rem; }
.unreadchip { background: #fdecec; color: #b3261e; border: 1px solid #f2c6c2; }
details.anfold > summary { cursor: pointer; user-select: none; list-style: none;
  position: relative; }
details.anfold > summary::-webkit-details-marker { display: none; }
details.anfold > summary::after { content: "▾"; position: absolute; right: .1rem;
  top: .15rem; font-size: .8rem; color: var(--muted);
  transform: rotate(-90deg); transition: transform .15s ease; }
details.anfold[open] > summary::after { transform: rotate(0deg); }
details.anfold > summary h2 { margin-bottom: 0; }
details.anfold > .an-body { margin-top: .6rem; }

/* .foldx — a section whose own header is the toggle (payroll.js). */
.foldx .foldtog { cursor: pointer; position: relative; }
.foldx .foldtog::after { content: "▾"; font-size: .8rem; color: var(--muted);
  position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  transition: transform .15s ease; }
.foldx.foldx-shut .foldtog::after { transform: translateY(-50%) rotate(-90deg); }
.foldx p.sechead.foldtog { padding-right: 1.4rem; }
.foldx.foldx-shut { padding-bottom: 0; }
.foldx.foldx-shut .runhead { border-bottom: 0; margin-bottom: 0; }
.foldx .foldtog:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px;
  border-radius: 6px; }

/* ---- client time charges: a titled card per company ----
   "make it more professional looking and elegant" (31 August 2026). The name
   reads as a heading, three headline figures carry the glance, and the tables
   and forms sit in bordered folds beneath. */
.tcent{margin-bottom:1.3rem}
.tcenthead{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;
  padding:15px 20px;border-bottom:1px solid var(--line);position:relative;
  background:linear-gradient(180deg,#fdfcfa,#f6f3ec)}
.tcenthead::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--navy)}
.tcentname{font-size:1.15rem;font-weight:600;color:var(--navy);margin:0;letter-spacing:.01em}
.tcentsub{font-size:.75rem;color:var(--muted);margin:.15rem 0 0}
.tcentspan{font-size:.74rem;color:var(--muted);white-space:nowrap;background:var(--paper);
  border:1px solid var(--line-soft);border-radius:999px;padding:.22rem .7rem;flex:0 0 auto}
.tcstats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line-soft);
  border-bottom:1px solid var(--line)}
.tcstat{background:var(--surface);padding:14px 20px;display:flex;flex-direction:column;gap:.15rem}
.tcstatn{font-size:1.55rem;font-weight:600;color:var(--ink);line-height:1.05;
  font-variant-numeric:tabular-nums}
.tcstatl{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.tcstat.warn .tcstatn{color:var(--warn)}
.tcempty{color:var(--muted);text-align:center;padding:1.5rem 1rem;margin:0;
  background:var(--paper);border:1px dashed var(--line);border-radius:var(--radius)}
.tcent > .tablewrap{margin:16px 20px 2px}
.tcent > .hint{margin:.85rem 20px 0}
.tcent > .pb{padding:16px 20px}
.tcfold{margin:12px 20px;border:1px solid var(--line-soft);border-radius:var(--radius);
  background:var(--paper)}
.tcfold > summary{padding:.7rem .9rem;font-weight:500;color:var(--navy)}
.tcfold[open] > summary{border-bottom:1px solid var(--line-soft)}
.tcfold > *:nth-child(2){margin:0}
.tcfold > .pb{padding:12px 16px 14px}
@media(max-width:640px){.tcstats{grid-template-columns:1fr}.tcstatn{font-size:1.35rem}
  .tcenthead{flex-direction:column;gap:.5rem}}

/* ---- the calendar speaks when pressed — 30 August 2026 ---- */
.calgrid .cd { position: relative; }
.calgrid .cd[tabindex] { cursor: pointer; }
.calgrid .cd[tabindex]:focus-visible { outline: 2px solid var(--navy, #030181);
  outline-offset: 1px; }
.cdpop { display: none; position: absolute; z-index: 30; bottom: calc(100% + .35rem);
  left: 50%; transform: translateX(-50%); width: max-content; max-width: 12rem;
  background: #241d16; color: #fff; font-size: .72rem; line-height: 1.4;
  padding: .45rem .6rem; border-radius: .45rem; text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); pointer-events: none; }
.calgrid .cd.open > .cdpop { display: block; }
/* The columns at the edges keep their popover on the page. */
.calgrid .cd:nth-child(7n+1) > .cdpop { left: 0; transform: none; }
.calgrid .cd:nth-child(7n) > .cdpop { left: auto; right: 0; transform: none; }

/* THE FIX for a ticket form that would not go away: display:flex on the
   form was overriding the browser's own [hidden] rule, so "Never mind"
   set an attribute that changed nothing. hidden must always win. */
.cookieticket[hidden], .cookiesugswrap[hidden], #cookie [hidden] { display: none !important; }

/* ---- birthdays and anniversaries, with faces (prototype-matched) ---- */
.cellist .celrow { display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line, #e7e4de); }
.cellist .celrow:last-child { border-bottom: 0; }
.celtxt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.celtxt b { font-size: .95rem; }
.celface { position: relative; flex: 0 0 auto; width: 46px; height: 46px; }
.celface img, .celface i { width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; display: block; border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(20, 22, 31, .18); }
/* The initials sit behind; the face (if any) is laid over them and removes
   itself on error, so a person with no photo — or a photo that fails —
   shows a navy monogram, never a broken image (1 September 2026). */
.celface i { position: absolute; inset: 0; font-style: normal; display: flex;
  align-items: center; justify-content: center;
  background: var(--navy, #030181); color: #fff; font-size: .85rem; letter-spacing: .05em; }
.celface img { position: relative; z-index: 1; }
.celface em { position: absolute; right: -4px; bottom: -4px; font-style: normal;
  font-size: .8rem; }

/* ---------------------------------------------------------------------
   The payroll run: frozen names, locked rows, a pencil to open one.
   --------------------------------------------------------------------- */
/* "When scrolling the payroll run, the name of employee should be frozen."
   The first column rides over the horizontal scroll; a soft edge says the
   rest of the row is sliding under it. */
.runtbl th:first-child,.runtbl td:first-child{position:sticky;left:0;z-index:2;
  background:var(--surface);box-shadow:2px 0 0 var(--line)}
.runtbl thead th:first-child{z-index:3}
.runtbl tr.totrow td:first-child{background:var(--panel)}
/* A locked row shows its figures as figures — the boxes take no input and
   drop their chrome until the row's pencil is pressed. */
.runtbl tr.locked input[type="number"]{pointer-events:none;border-color:transparent;
  background:transparent;appearance:textfield;-moz-appearance:textfield;
  opacity:1;color:var(--ink)}
.runtbl tr.locked input[type="number"]::-webkit-outer-spin-button,
.runtbl tr.locked input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.rowedit{font-size:1rem;line-height:1}

/* A group separator row inside a grid table — the evaluation round page
   groups the forms due by who owes them. */
.grid tr.grpsep td{background:var(--panel);padding:.3rem .7rem}

/* The color rows on Appearance: picker and text box, one value. */
.uicolor{display:inline-flex;align-items:center;gap:.4rem}
.uicolor .uipick{width:2.4rem;height:2rem;padding:0;border:1px solid var(--line);
  border-radius:6px;background:none}

/* ---------------------------------------------------------------------
   The day itself: the celebrant's greeting, once, on their own dashboard.
   --------------------------------------------------------------------- */
#fete{position:fixed;inset:0;z-index:90;display:flex;align-items:center;
  justify-content:center;background:rgba(29,27,32,.45)}
#fete[hidden]{display:none}
.fetecard{background:var(--surface);border-radius:14px;padding:2rem 2.4rem;max-width:26rem;
  text-align:center;box-shadow:0 24px 60px -18px rgba(3,1,129,.45);
  border-top:4px solid var(--gold)}
.fete-emoji{font-size:2.6rem;line-height:1;display:block;margin-bottom:.6rem}
.fete-line{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.5rem;color:var(--navy);
  margin:.2rem 0 .3rem;font-weight:600}
.fete-sub{color:var(--muted);margin:0 0 1.1rem}
.fete-actions{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap}
@media (prefers-reduced-motion:no-preference){
  .fetecard{animation:fetein .45s cubic-bezier(.2,.9,.3,1.2)}
  @keyframes fetein{0%{transform:scale(.85);opacity:0}100%{transform:scale(1);opacity:1}}
}

/* The month's own header: ‹ August 2026 › — the arrows beside the name. */
.calhead.withnav{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.calhead.withnav .calttl{flex:1;text-align:center}

/* ---------------------------------------------------------------------
   The People table fits the screen — status stacked, no sideways scroll.
   "the status can be stacked maximum of three... 'let them authorize'
   should be below" — 30 August 2026.
   --------------------------------------------------------------------- */
.grid.people .statuscell{max-width:11rem}
.grid.people .statuscell > .chip{display:inline-block;margin-bottom:.15rem}
.grid.people .statuscell .sub{display:block}
.grid.people .statuscell .sub .chip{display:inline-block;margin-bottom:.15rem}
.grid.people .statuscell form.inline{display:block;margin-top:.1rem}
.grid.people td,.grid.people th{white-space:normal}
.grid.people td.nw{white-space:nowrap}
.grid.people .acts{flex-direction:column;align-items:stretch}
.grid.people .acts .btn{width:100%}

/* The three pools, presentable: name above, caption beneath, aligned row. */
.poolform{align-items:flex-end}
.poolform > div{flex:1 1 12rem}
.poolform label .sub{display:block;font-weight:400;margin-top:.1rem}
.poolform input[type=number]{width:100%}
.poolform .poolgo{flex:0 0 auto}

/* GAP 1 — the view-as switch for an employee who also holds an officer seat */
.viewaspill{display:inline-block;margin-right:.6rem;padding:.3rem .75rem;border-radius:999px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.45);color:inherit;
  font-size:.8rem;font-weight:600;text-decoration:none;white-space:nowrap}
.viewaspill:hover{background:rgba(255,255,255,.26)}
.whomenu a.viewas{font-weight:600}

/* GAP 1 — schedules, pickers, reports */
.gapchecks{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.2rem .8rem;
  max-height:260px;overflow:auto;border:1px solid var(--line,#d8dcec);border-radius:8px;padding:.5rem .7rem;margin:.4rem 0}
.gapchecks .check{margin:0;font-weight:400}
.gapweek{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.4rem .9rem;margin:.4rem 0}
.gapweek div{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
.gapweek b{width:2.6rem}
.gapweek input[type=time]{width:auto}
.gapcal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:.6rem}
.gaphd{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#5a6178);padding:.2rem .3rem}
.gapcell{display:flex;flex-direction:column;gap:.15rem;min-height:74px;padding:.35rem .4rem;border-radius:8px;
  border:1px solid var(--line,#d8dcec);font-size:.78rem;cursor:pointer;background:#fff}
.gapcell .gapd{font-weight:700;display:flex;align-items:center;gap:.3rem}
.gapcell .gapt{color:var(--muted,#5a6178);line-height:1.25}
.gapcell .chip{font-size:.62rem;padding:.05rem .35rem;align-self:flex-start}
.gapwork{background:#eef6ff}.gapteam{background:#e8f7ef;border-color:#8fd0aa}
.gaprest{background:#f6f6f8}.gaphol{background:#fff4e5}.gapblank{border:0;background:transparent;cursor:default}
.gapaw{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.gapaw ol{margin:.4rem 0 0 1.1rem;padding:0}
@media (max-width:640px){.gapcell{min-height:58px;font-size:.7rem}.gapcell .gapt{display:none}}
/* the Monday leave reminder */
.gaprem{position:fixed;inset:0;background:rgba(15,20,35,.55);display:flex;align-items:center;justify-content:center;z-index:9999;padding:16px}
.gaprem[hidden]{display:none}
.gaprem .box{background:#fff;max-width:460px;width:100%;border-radius:14px;padding:1.4rem 1.5rem;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.gaprem h2{margin:0 0 .5rem;font-size:1.15rem}
.gaprem ul{margin:.5rem 0 1rem 1.1rem;padding:0}

/* Search the whole HRIS (23 Sep 2026) */
/* Search: a magnifier right of the bell; the box opens on click (25 Sep 2026). */
.gsearch{position:relative;display:flex;align-items:center;margin-left:.35rem}
.gsearch button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;font-size:1rem;line-height:1}
.gsearch button:hover,.gsearch.open button{background:#eef1f8}
.gsearch input[type=search]{display:none;position:absolute;right:0;top:calc(100% + 8px);width:18rem;max-width:80vw;padding:.55rem .75rem;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:.9rem;background:#fff;box-shadow:0 8px 24px rgba(10,20,60,.14);z-index:60}
.gsearch.open input[type=search]{display:block}
.srchres h2{font-size:1rem;margin:1.2rem 0 .4rem}
.srchres ul{list-style:none;margin:0;padding:0}
.srchres li{padding:.5rem 0;border-bottom:1px solid var(--line)}
.srchres li .sub{display:block}

/* ---- PEOPLE ROWS (24 September 2026) — even columns, one status dropdown,
   small same-size buttons on the right. ---- */
table.grid.people{min-width:860px;width:100%;table-layout:fixed}
table.grid.people th:nth-child(1){width:26%}
table.grid.people th:nth-child(2){width:23%}
table.grid.people th:nth-child(3){width:16%}
table.grid.people th:nth-child(4){width:14%}
table.grid.people th:nth-child(5){width:21%}
table.grid.people td{vertical-align:middle;overflow-wrap:anywhere;padding:.6rem .8rem}
table.grid.people .sub{line-height:1.35}
table.grid.people .chip{font-size:.72rem;padding:.12rem .5rem}
table.grid.people td:first-child{min-width:0}
table.grid.people .pname{font-size:.95rem}
table.grid.people .whocell .inline{display:block;margin-top:.25rem}
table.grid.people .whocell select{width:auto;max-width:100%;height:30px;font-size:.8rem;padding:.2rem 1.7rem .2rem .55rem;background-position:right .5rem center;margin-top:.25rem}
table.grid.people .statuscell{max-width:none}
table.grid.people .statuscell .sub{margin-top:.25rem}
.stsel{width:auto;height:30px;font-size:.8rem;padding:.2rem 1.7rem .2rem .7rem;border-radius:999px;
  background-color:var(--surface);background-position:right .5rem center;cursor:pointer;font-weight:600}
.stsel.st-active{color:#1d6b3a;border-color:#b7dcc3;background-color:#eef8f1}
.stsel.st-invited{color:var(--warn);border-color:#e6d3ae;background-color:var(--warn-soft)}
.stsel.st-disabled{color:#9b2c2c;border-color:#efc6c6;background-color:#fbeeee}
.warntxt{color:var(--warn)}
table.grid.people td.act .acts{display:flex;gap:.35rem;justify-content:flex-end;align-items:center;flex-wrap:nowrap;flex-direction:row}
table.grid.people td.act .acts > form, table.grid.people td.act .acts > a, table.grid.people td.act .acts > details{margin:0;min-width:0}
table.grid.people td.act .acts .btn{box-sizing:border-box;justify-content:center;text-align:center;
  font-size:.76rem;padding:.28rem .7rem;min-width:4.6rem;min-height:0;height:28px;line-height:1.1;white-space:nowrap}
.pmenu{position:relative}
.pmenu > summary{list-style:none;cursor:pointer}
.pmenu > summary::-webkit-details-marker{display:none}
.pmenu > summary::after{content:" ▾";font-size:.65rem}
.pmenu[open] > summary{background:var(--line-soft)}
.pmenu-body{position:absolute;right:0;top:calc(100% + 6px);z-index:25;min-width:16rem;background:var(--surface);
  border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(20,40,80,.12);padding:.6rem;text-align:left}
.pmenu-body form{display:flex;flex-direction:column;gap:.45rem;margin:0}
.pmenu-body label{display:flex;flex-direction:column;gap:.2rem;font-size:.82rem;font-weight:600}
.pmenu-body input{height:36px;font-size:.9rem;padding:.4rem .6rem}
.pmenu-body form + form{margin-top:.3rem}
.btn.warnbtn{color:var(--warn);border-color:#e6d3ae;background:var(--warn-soft)}
.menuitem{display:block;width:100%;text-align:left;background:none;border:0;border-radius:6px;padding:.45rem .55rem;
  font:inherit;font-size:.88rem;font-weight:600;cursor:pointer;color:inherit}
.menuitem:hover{background:var(--line-soft)}
.menuitem .sub{display:block;font-weight:400}
a.menuitem{text-decoration:none}
.pmenu-body details.renamep > summary{list-style:none}
.pmenu-body details.renamep > summary::-webkit-details-marker{display:none}
.pmenu-body .menuform{padding:.3rem .55rem .5rem}
.pmenu-body form + form, .pmenu-body details + form{margin-top:0}
table.grid.people td.act .acts > form .btn{min-width:6.9rem}
.pmenu-body select{height:34px;font-size:.85rem;padding:.3rem 1.8rem .3rem .55rem;background-position:right .55rem center}
/* ---- Tabs across a merged screen (24 September 2026) ---- */
.pgtabs{display:flex;gap:.25rem;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:.2rem 0 1rem}
.pgtabs a{padding:.5rem .9rem;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;
  text-decoration:none;color:var(--muted,#5b6070);font-weight:600;font-size:.9rem;margin-bottom:-1px}
.pgtabs a:hover{color:var(--ink);background:var(--line-soft)}
.pgtabs a.on{color:var(--navy);background:var(--surface);border-color:var(--line)}
.pgtabs .count{display:inline-block;min-width:1.2rem;padding:0 .35rem;border-radius:999px;background:#c0392b;color:#fff;
  font-size:.72rem;text-align:center;margin-left:.2rem}

/* The "?" beside a heading, centred on its words; the bubble holds what used to sit below it. */
.qtip{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
  width:1.3rem;height:1.3rem;margin-left:.5rem;border-radius:50%;border:1.5px solid var(--navy,#0a1172);
  color:var(--navy,#0a1172);background:#fff;font:600 .8rem/1 Roboto,system-ui,sans-serif;letter-spacing:0;
  text-transform:none;cursor:help;top:-.06em}
.qtip:hover,.qtip:focus{background:var(--navy,#0a1172);color:#fff;outline:none}
.qtip-b{display:none;position:absolute;left:-.5rem;top:100%;padding-top:.55rem;z-index:80;cursor:auto}
.qtip:hover .qtip-b,.qtip:focus .qtip-b,.qtip:focus-within .qtip-b{display:block}
.qtip-c{display:block;width:max-content;max-width:min(34rem,86vw);background:#fff;border:1px solid #d6dbea;border-radius:10px;
  box-shadow:0 10px 28px rgba(10,20,60,.16);padding:.9rem 1.05rem;
  font:400 .88rem/1.55 Roboto,system-ui,sans-serif;color:#2b3350;text-align:left;white-space:normal;text-transform:none;letter-spacing:0}
.qtip-c a{color:var(--navy,#0a1172);text-decoration:underline}
.qtip-c b{font-weight:600}
@media (max-width:640px){.qtip-b{position:fixed;left:16px;right:16px;top:auto;margin-top:.4rem}.qtip-c{width:auto;max-width:none}}

/* Active / Inactive / All above the People list. */
.segtabs{display:inline-flex;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:0 0 1.1rem;background:#fff}
.segtabs a{padding:.45rem 1rem;font-size:.88rem;color:inherit;text-decoration:none;border-right:1px solid var(--line)}
.segtabs a:last-child{border-right:0}
.segtabs a:hover{background:#f1f4fa}
.segtabs a[aria-current="page"]{background:var(--navy,#0a1172);color:#fff}

.scopebar .dlpair{margin-left:auto;display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;color:var(--muted)}

/* Forms laid out in two even columns with breathing room, not stretched
   edge to edge (25 September 2026). */
.neatform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;max-width:54rem;
  padding:1.1rem 1.4rem 1.4rem;margin:0;align-items:end}
.neatform > label{display:flex;flex-direction:column;gap:.4rem;margin:0;font-weight:600;font-size:.86rem;line-height:1.3}
.neatform > label input,.neatform > label select,.neatform > label textarea{width:100%;margin:0;font-weight:400}
.neatform > label .sub{font-weight:400;margin:0;font-size:.8rem}
.neatform > label.wide{grid-column:1/-1;max-width:calc(50% - .75rem)}
.neatform > button{grid-column:1/-1;justify-self:start;min-width:10rem;margin-top:.3rem}
@media (max-width:640px){.neatform{grid-template-columns:1fr;padding:1rem}.neatform > label.wide{max-width:none}}

/* ---- 2 October 2026: a folded section looks like one ----
   "The 'Already Decided' section, when collapsed, loses its margin and almost
   merges with 'About to Lapse' … it appears to be the title instead of a
   section." A fold that stands on its own (not inside a panel) now has a
   bar of its own — a light card with a border and a "Show" cue — and space
   above and below it, open or shut. */
details.setx:not(.panel):not(.memofold):not(.upfold):not(.archreq) {
  margin: 1.2rem 0 1.4rem;
}
details.setx:not(.panel):not(.memofold):not(.upfold):not(.archreq) > summary {
  padding: .6rem .9rem; border: 1px solid var(--line, #dfe3ee); border-radius: 10px;
  background: var(--card, #fff); box-shadow: 0 1px 2px rgba(20, 22, 40, .04);
}
details.setx:not(.panel):not(.memofold):not(.upfold):not(.archreq) > summary:hover {
  border-color: var(--brand, #030181);
}
details.setx:not(.panel):not(.memofold):not(.upfold):not(.archreq):not([open]) > summary::before {
  content: "Show"; order: 3; margin-left: auto; font-size: .78rem; color: var(--brand, #030181);
  letter-spacing: .02em;
}
details.setx:not(.panel):not(.memofold):not(.upfold):not(.archreq)[open] > summary::before {
  content: "Hide"; order: 3; margin-left: auto; font-size: .78rem; color: var(--muted, #6b675f);
}
details.setx:not(.panel):not(.memofold):not(.upfold):not(.archreq) > summary::after { order: 4; }

/* "3 out" on the office calendar (14 October 2026) — a count, not a colour. */
.calgrid .cd .cdout{position:absolute;left:50%;bottom:2px;transform:translateX(-50%);font-style:normal;
  font-size:.58rem;line-height:1;padding:1px 4px;border-radius:6px;background:#fbf3e4;color:var(--warn,#9a5b00);
  white-space:nowrap;font-weight:600}
.cdout.cdkey{position:static;transform:none;display:inline-block;font-style:normal;font-size:.62rem;padding:1px 4px;
  border-radius:6px;background:#fbf3e4;color:var(--warn,#9a5b00);font-weight:600}

/* ---- The dashboard, 14 October 2026 ----
   "The weather banner takes about a third of the first screen." The band
   now sits under Needs Your Attention and is drawn slim: one line of
   greeting and weather, no aside, a smaller picture. */
.dashwx .hero.wx{padding:14px 22px;margin:0 0 18px}
.dashwx .hero .eyebrow{margin:0 0 .15rem;font-size:.66rem}
.dashwx .hero .pgh{font-size:1.45rem}
.dashwx .hero .wx-now{margin:.25rem 0 0;font-size:.9rem}
.dashwx .hero .wx-aside{display:none}
.dashwx .hero .sub{margin:.3rem 0 0;font-size:.88rem}
.dashwx .hero .wx-side{transform:scale(.62);transform-origin:right center}
.dashwx .hero .wx-side .btn-clock{transform:scale(1.4);transform-origin:right center}
.dashwx .hero .pgh{display:inline-block;margin:0 1rem 0 0!important;vertical-align:middle}
.dashwx .hero .wx-now{display:inline-flex;vertical-align:middle;margin:0!important}
.dashwx .xmasband{margin-top:.55rem!important;padding:.35rem .8rem!important;min-height:0!important}
.dashwx .xmasband .xsub{display:none}
.dashwx .xmasband .xparol{width:26px!important;height:26px!important}
.dashwx .xmasband .xcount{padding:.15rem .5rem!important;flex-direction:row!important;gap:.35rem;align-items:baseline}
.dashwx .xmasband .xcount b{font-size:1rem!important}
.attn{margin-bottom:18px}
.attn .badge.calmbadge{background:var(--navy,#030181)}
.notinlist{max-height:16rem;overflow:auto}
.tiles:has(> .tile:nth-child(5)){grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
.dashwx .hero .wx-side .wxf-emblem,.dashwx .hero .wx-side .wx-emblem{display:none}
/* Date and period pickers size to their words (14 October 2026: the month
   read "Octob"). */
form.dsel select{width:auto!important;max-width:none;flex:0 0 auto}
form.dsel select[name="dm"]{min-width:9.5rem}
form.dsel select[name="w"]{min-width:12rem}
.tag.remote{background:#eef2fa;color:#3b4a7a;border:1px solid #d6dcef}
.tag.okchip{background:#e7f5ee;color:#16683f;border:1px solid #c6e6d4}

/* Cookie, put away (14 October 2026). */
.cookietuck{position:fixed;right:.55rem;bottom:5.3rem;z-index:62;width:1.25rem;height:1.25rem;border-radius:50%;
  border:1px solid var(--line,#dfe3ee);background:var(--surface,#fff);color:var(--muted,#6b675f);font-size:.8rem;
  line-height:1;cursor:pointer;padding:0;box-shadow:0 1px 3px rgba(3,1,129,.18)}
.cookietuck:hover{color:var(--ink,#111)}
.cookietab{display:none;position:fixed;right:0;bottom:1.2rem;z-index:60;writing-mode:vertical-rl;transform:rotate(180deg);
  border:1px solid var(--gold-line,#e3c56b);border-right:0;border-radius:0 8px 8px 0;background:var(--surface,#fff);
  color:var(--navy,#030181);font-size:.7rem;letter-spacing:.08em;padding:.6rem .25rem;cursor:pointer;
  box-shadow:0 2px 8px rgba(3,1,129,.16)}
#cookie.tucked .cookiebtn,#cookie.tucked .cookietuck,#cookie.tucked .cookiewave,#cookie.tucked #cookieWave{display:none!important}
#cookie.tucked .cookietab{display:block}

/* Leave waiting for a decision: the Decision column stays on screen
   (14 October 2026: "the Decision column is still cut off"). */
table.lvwait td.sub{min-width:9rem;max-width:18rem;white-space:normal}
table.lvwait td.act{min-width:15rem}
table.lvwait .lvdec{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
table.lvwait .lvdec input[type=text]{flex:1 1 100%;min-width:0}
/* The payroll run and register use the width of the screen (14 October
   2026: "the table is cut off on the right"). */
main.wrap:has(table.runtbl),main.wrap:has(table.regtbl){max-width:min(1500px,100vw)}
.runtbl td,.runtbl th{padding-left:.4rem;padding-right:.4rem}
.runtbl input[type=number]{width:4.6rem}
.runtbl .totrow td{white-space:nowrap}
table.grid.runtbl th{white-space:normal!important;letter-spacing:.04em;line-height:1.25;vertical-align:bottom;
  padding-left:.45rem!important;padding-right:.45rem!important}
table.grid.runtbl td{padding-left:.45rem!important;padding-right:.45rem!important;font-size:.86rem}
table.grid.runtbl td .sub{white-space:normal;max-width:8.5rem;margin-left:auto}
table.grid.runtbl input[type=number]{width:3.9rem;padding:.25rem .35rem}
/* The register, compact like the run (14 October 2026). */
table.grid.regtbl th{white-space:normal!important;letter-spacing:.04em;line-height:1.25;vertical-align:bottom;
  padding-left:.45rem!important;padding-right:.45rem!important;font-size:.66rem}
table.grid.regtbl td{padding-left:.45rem!important;padding-right:.45rem!important;font-size:.84rem}
table.grid.regtbl td .sub{white-space:normal}

/* 22 October 2026: leave waiting for a decision fits the screen like Already
   Decided — cells wrap instead of the table scrolling sideways. */
table.lvwait{width:100%}
table.lvwait td.nw{white-space:normal}
table.lvwait td.act{min-width:11rem}
.attbreak{line-height:1.5;padding:.15rem 0 .35rem}
details.holedit>summary{list-style:none;display:inline}
details.holedit>summary::-webkit-details-marker{display:none}
