/* Page headers (requests of 19 Nov): the coloured band at the top of every page (.lr-hero — Dashboard, Projects, Office,
   Sharing, EQC & Notices, FastTrack, Firm Library, Laws & Reference, Tools, Manual …) in a balanced layout: the kicker and
   the title on the left, the page's buttons on the right (centred against the title), the subtitle under both across the
   whole band (justified, always two lines, so every header has the same height), even padding above and below.
   The band's colours are those of brand.css / theme.css; this file only places things. Loaded after every other style
   sheet (base.html). */
.lr-hero .lr-hero-in,.lr-hero.sm .lr-hero-in,.lr-hero.sm.pg-band .lr-hero-in{padding:20px clamp(16px,2.6vw,36px) 18px}
.lr-hero{border-bottom:2px solid var(--red,#c8102e)}
.lr-hero .lr-kicker{margin:0}
.lr-hero .lr-h1,.lr-hero.sm .lr-h1{margin:8px 0 0;font:700 clamp(20px,2.1vw,26px)/1.2 var(--f-ui);letter-spacing:-.2px}

/* ---------- the subtitle: justified, across the whole band, two lines (the rest on hover) ---------- */
.lr-hero .lr-sub,.lr-hero.sm .lr-sub{max-width:none;margin:10px 0 0;text-align:justify;text-justify:inter-word;hyphens:auto;
  font-size:13px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:3em}

/* ---------- title left, buttons right, subtitle under both ---------- */
.pg-band-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:24px!important;row-gap:0!important;align-items:center}
.pg-band-row>.min-w-0{display:contents}
.pg-band-row>.min-w-0>.lr-kicker{grid-column:1;grid-row:1;justify-self:start}
.pg-band-row>.min-w-0>.lr-h1{grid-column:1;grid-row:2}
.pg-band-row>.min-w-0>:not(.lr-kicker):not(.lr-h1):not(.lr-sub){grid-column:1}
.pg-band-row>.pg-band-qa{grid-column:2;grid-row:1 / span 2;align-self:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.pg-band-row>.min-w-0>.lr-sub{grid-column:1 / -1;grid-row:3}
@media (max-width:760px){.pg-band-row{grid-template-columns:minmax(0,1fr)}
  .pg-band-row>.pg-band-qa{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:12px}
  .pg-band-row>.min-w-0>.lr-sub{grid-row:auto}}

/* ---------- pages with sub-tabs (Projects · APP / MPP · Firm Library; Office & Members; EQC & Notices) ----------
   The tabs come first, in the same place on every page of the group, and the band under them has the same height on
   each, so switching tabs moves nothing. */
.sub-tabs{padding:10px clamp(16px,2.6vw,36px) 0}
.sub-tabs>nav{display:flex;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none;margin:0!important;padding:0!important;border-bottom:1px solid var(--line,#e2e8f0);background:none!important;box-shadow:none!important}
.sub-tabs>nav::-webkit-scrollbar{display:none}
.sub-tabs>nav a{display:inline-flex;align-items:center;gap:6px;flex:none;height:38px;padding:0 14px;margin:0 0 -1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted,#64748b);font:600 13.5px/1 var(--f-ui);text-decoration:none;white-space:nowrap}
.sub-tabs>nav a:hover{color:var(--ink,#0f172a);background:none}
.sub-tabs>nav a[aria-current="page"]{color:var(--ink,#0f172a);border-bottom-color:var(--accent,var(--red,#c8102e));background:none}
.sub-tabs>nav a svg{width:15px;height:15px}
.sub-tabs>nav a.of-new{margin-left:auto}
.sub-tabs+.lr-hero{margin-top:12px}
@media print{.lr-hero{border-bottom:0}}

/* a .btn marked "hidden sm:inline-flex" (the landing header's Security link) stays hidden on a phone: the .btn display of the
   later style sheets beat Tailwind's hidden, and the link overlapped the logo */
@media (max-width: 639.98px) { .btn.hidden.sm\:inline-flex { display: none !important; } }

/* review item 42: the primary action in the brand blue; red is kept for what deletes or cannot be undone */
.tk-btn.accent,.tk-btn.primary{background:var(--n-600,#0b3a82);border-color:var(--n-600,#0b3a82);color:#fff}
.tk-btn.accent:hover,.tk-btn.primary:hover{background:var(--n-700,#072a60);border-color:var(--n-700,#072a60)}
.tk-btn.del,.tk-btn.danger{background:#fff;color:#b42318;border-color:#f3b4ae}
.tk-btn.del:hover,.tk-btn.danger:hover{background:#b42318;color:#fff;border-color:#b42318}
html.dark .tk-btn.accent,html.dark .tk-btn.primary{background:#2b6cb0;border-color:#2b6cb0}
