/* GST Limitation Clock — home page section and /limitation-clock.html */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

.lc {
  --lc-ground: #EDF2F6;
  --lc-surface: #fff;
  --lc-surface-2: #F5F8FA;
  --lc-surface-3: #EAF1F6;
  --lc-ink: #233240;
  --lc-ink-2: #54646F;
  --lc-ink-3: #6B7A86;
  --lc-rule: #D2DDE5;
  --lc-rule-2: #E4ECF1;
  --lc-gone: #6B7681; --lc-gone-bg: #EEF1F3; --lc-gone-line: #B4BEC6;
  --lc-crit: #A9241A; --lc-crit-bg: #FBEAE7; --lc-crit-line: #C4453A;
  --lc-warn: #8A5B08; --lc-warn-bg: #FCF2DC; --lc-warn-line: #DFA326;
  --lc-ok: #136141;   --lc-ok-bg: #E3F1EA;   --lc-ok-line: #4E9E77;
  --lc-shadow: 0 1px 2px rgba(35, 50, 64, .06), 0 8px 22px -12px rgba(35, 50, 64, .28);
}
.lc, .lc * { font-variant-numeric: lining-nums; }   /* Raleway's default figures are old-style */
.lc .num { font-variant-numeric: tabular-nums lining-nums; }

/* "Position as on" stamp */
.lc-stamp { margin: 0; text-align: right; }
.lc-stamp span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lc-stamp strong { font-family: "Raleway", sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--blue); font-variant-numeric: lining-nums; }

/* ---------- Home page section ---------- */

.lc-home { background: var(--lc-ground); border-top: 1px solid var(--rule); padding: 56px 0 60px; }
.lc-home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 26px; }
.lc-home-head h2 { margin-bottom: .25em; }
.lc-home-head p { margin: 0; color: var(--muted); max-width: 40em; }
.lc-home .lc-more { margin: 26px 0 0; }

/* ---------- Cards (home and full page) ---------- */

.lc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lc-card {
  background: var(--lc-surface); border: 1px solid var(--lc-rule); border-top: 4px solid var(--line, var(--lc-rule));
  border-radius: 4px; padding: 16px 18px; box-shadow: var(--lc-shadow); display: flex; flex-direction: column; gap: 6px;
}
.lc-card .k { font-family: "Raleway", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-ink-3); font-variant-numeric: lining-nums; }
.lc-card .t { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--lc-ink); }
.lc-card .dt { font-size: .93rem; color: var(--lc-ink-2); font-weight: 600; }
.lc-card .big { font-family: "Raleway", sans-serif; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 3px; font-variant-numeric: lining-nums; }
.lc-card .big em { font-style: normal; font-family: "Open Sans", sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-left: 7px; }
.lc-card .n { font-size: .82rem; color: var(--lc-ink-2); line-height: 1.5; border-top: 1px solid var(--lc-rule-2); padding-top: 8px; margin-top: 2px; }
.lc-empty { list-style: none; background: var(--lc-surface); border: 1px dashed var(--lc-rule); border-radius: 4px; padding: 24px; color: var(--lc-ink-2); grid-column: 1 / -1; }

/* status colours */
.lc .x-gone { --line: var(--lc-gone-line); }
.lc .x-crit { --line: var(--lc-crit-line); }
.lc .x-warn { --line: var(--lc-warn-line); }
.lc .x-ok   { --line: var(--lc-ok-line); }
.lc-card.x-gone .big { color: var(--lc-gone); }
.lc-card.x-crit .big { color: var(--lc-crit); }
.lc-card.x-warn .big { color: var(--lc-warn); }
.lc-card.x-ok .big   { color: var(--lc-ok); }

/* ---------- Full page ---------- */

.lc-page-head .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.lc-page { background: var(--lc-ground); padding: 40px 0 72px; }
.lc-stack { display: flex; flex-direction: column; gap: 40px; }
.lc-sec-wrap { display: flex; flex-direction: column; gap: 12px; }
.lc-sec-head { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.lc h2.lc-sec { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; color: var(--lc-ink); padding-bottom: 6px; border-bottom: 2px solid var(--cyan); margin: 0; }
.lc-sub { color: var(--lc-ink-2); font-size: .9rem; max-width: 96ch; line-height: 1.55; }
.lc-cap { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--lc-ink-2); max-width: 112ch; }
.lc-cap b { color: var(--lc-ink); font-weight: 700; }

/* section chips */
.s73, .s74, .s74a { font-weight: 800; white-space: nowrap; padding: 1px 6px; border-radius: 3px; background: var(--chip-bg); color: var(--chip-fg); box-shadow: inset 0 -2px 0 var(--chip-line); }
.s73  { --chip-bg: #DCEBF5; --chip-fg: #08527A; --chip-line: #6FAAD0; }
.s74  { --chip-bg: #FBE6D6; --chip-fg: #9A4A12; --chip-line: #E8A776; }
.s74a { --chip-bg: #E1EFE7; --chip-fg: #12563A; --chip-line: #79B598; }
.lc h2.lc-sec .s73, .lc h2.lc-sec .s74, .lc h2.lc-sec .s74a { font-size: .94em; padding: 1px 8px; }

/* alert */
.lc-alert { display: none; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 4px; background: var(--lc-crit-bg); border: 1px solid var(--lc-crit-line); border-left: 4px solid var(--lc-crit-line); font-size: .92rem; color: var(--lc-crit); font-weight: 600; }
.lc-alert.on { display: flex; }
.lc-alert b { font-weight: 800; }
.lc-alert .ak { font-family: "Raleway", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* callout */
.lc-callout { background: var(--lc-surface); border: 1px solid var(--lc-rule); border-left: 4px solid var(--orange); border-radius: 4px; padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--lc-shadow); }
.lc-callout h3 { font-size: 1.05rem; font-weight: 800; margin: 0; color: var(--lc-ink); }
.lc-callout p { margin: 0; font-size: .92rem; line-height: 1.62; color: var(--lc-ink-2); max-width: 92ch; }
.lc-callout p b { color: var(--lc-ink); font-weight: 700; }

/* tables */
.lc-panel { background: var(--lc-surface); border: 1px solid var(--lc-rule); border-radius: 5px; overflow: hidden; box-shadow: var(--lc-shadow); }
.lc-scroll { overflow-x: auto; }
.lc table { width: 100%; border-collapse: collapse; min-width: 800px; font-size: .95rem; line-height: 1.55; }
.lc thead th { font-family: "Raleway", sans-serif; text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; padding: 13px 16px; border-bottom: 2px solid var(--lc-rule); white-space: nowrap; color: #fff; background: var(--blue); }
.lc thead th.fyh { width: 108px; background: var(--blue-dark); white-space: normal; font-size: .66rem; letter-spacing: .1em; }
.lc thead th.h73, .lc thead th.h74 { white-space: normal; padding: 9px 16px 10px; }
.lc thead th.h74 { box-shadow: inset 0 4px 0 var(--orange); }
.lc thead th .hn { display: block; font-size: 1.1rem; font-weight: 800; letter-spacing: .01em; line-height: 1.15; text-transform: none; color: #fff; }
.lc thead th .sh { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .9; margin-top: 3px; max-width: 52ch; line-height: 1.4; }
.lc tbody td, .lc tbody th { padding: 0; border-bottom: 1px solid var(--lc-rule); vertical-align: top; text-align: left; }
.lc tbody tr:last-child td, .lc tbody tr:last-child th { border-bottom: none; }
.lc th.fy { padding: 10px 12px; background: var(--lc-surface-2); font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1rem; white-space: nowrap; border-right: 1px solid var(--lc-rule); color: var(--lc-ink); font-variant-numeric: lining-nums; }
.lc th.fy .yl { display: block; font-family: "Open Sans", sans-serif; font-size: .66rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lc-ink-3); margin-top: 1px; white-space: nowrap; }
.lc td.cell { padding: 10px 16px; border-left: 4px solid var(--line, transparent); }

.lc .slot { display: flex; flex-direction: column; gap: 1px; }
.lc .slot .lab, .lc .orderline .lab { font-family: "Raleway", sans-serif; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-ink-3); }
.lc .dline { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lc .slot .date { font-family: "Raleway", sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lc .slot .rem { font-size: .84rem; font-weight: 700; }
.lc .orderline { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--lc-rule); display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.lc .orderline .date { font-family: "Raleway", sans-serif; font-size: .92rem; font-weight: 700; color: var(--lc-ink-2); }
.lc .gonerow { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; font-size: .9rem; line-height: 1.5; }
.lc .gonerow .g1 { font-family: "Raleway", sans-serif; font-weight: 700; color: var(--lc-gone); white-space: nowrap; }
.lc .gonerow .g1 b { font-weight: 800; }
.lc .gonerow .g2 { font-size: .8rem; color: var(--lc-ink-3); white-space: nowrap; }
.lc .gonerow .g3 { font-size: .78rem; color: var(--lc-ink-3); }
.lc .altline { margin-top: 5px; font-size: .78rem; line-height: 1.5; color: var(--lc-ink-2); border-left: 3px solid var(--cyan); padding-left: 9px; }
.lc .altline b { color: var(--lc-ink); font-weight: 700; }
.lc .altline .aht { display: block; font-family: "Raleway", sans-serif; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.lc .cnote { font-size: .78rem; color: var(--lc-ink-3); line-height: 1.45; margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--lc-rule-2); }
.lc .cnote b { color: var(--lc-ink-2); font-weight: 700; }

.lc .pill { display: inline-block; font-family: "Raleway", sans-serif; font-size: .66rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; border: 1px solid transparent; margin-left: 8px; vertical-align: 2px; line-height: 1.3; }
.lc .x-gone .pill { background: var(--lc-gone-bg); color: var(--lc-gone); border-color: var(--lc-gone-line); }
.lc .x-crit .pill { background: var(--lc-crit-bg); color: var(--lc-crit); border-color: var(--lc-crit-line); }
.lc .x-warn .pill { background: var(--lc-warn-bg); color: var(--lc-warn); border-color: var(--lc-warn-line); }
.lc .x-ok .pill   { background: var(--lc-ok-bg);   color: var(--lc-ok);   border-color: var(--lc-ok-line); }
.lc .x-gone .slot .date, .lc .x-gone .slot .rem { color: var(--lc-gone); }
.lc .x-crit .slot .rem, .lc .x-crit td.r { color: var(--lc-crit); }
.lc .x-warn .slot .rem, .lc .x-warn td.r { color: var(--lc-warn); }
.lc .x-ok .slot .rem, .lc .x-ok td.r     { color: var(--lc-ok); }
.lc .x-gone td.r { color: var(--lc-gone); }

/* simple tables */
.lc table.simple { min-width: 680px; }
.lc table.simple thead th { background: var(--lc-surface-2); color: var(--lc-ink-2); border-bottom: 1px solid var(--lc-rule); }
.lc table.simple td { padding: 13px 16px; border-bottom: 1px solid var(--lc-rule-2); }
.lc table.simple td.st { padding: 0; border-left: 4px solid var(--line, transparent); width: 4px; }
.lc table.simple td.fyc { font-weight: 700; white-space: nowrap; }
.lc table.simple td.what { font-weight: 600; }
.lc table.simple td.d { font-weight: 800; white-space: nowrap; font-family: "Raleway", sans-serif; font-size: 1rem; }
.lc table.simple td.r { white-space: nowrap; font-weight: 700; font-size: .86rem; text-align: right; }
.lc table.simple th.r { text-align: right; }
.lc table.simple td.nt { color: var(--lc-ink-2); font-size: .82rem; line-height: 1.5; }

/* notes */
.lc-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.lc-note { background: var(--lc-surface); border: 1px solid var(--lc-rule); border-radius: 4px; padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.lc-note.flag { border-left: 4px solid var(--lc-warn-line); }
.lc-note h3 { font-size: .98rem; font-weight: 700; margin: 0; color: var(--lc-ink); }
.lc-note p { margin: 0; font-size: .87rem; color: var(--lc-ink-2); line-height: 1.6; }

.lc-basis { background: var(--lc-surface); border: 1px solid var(--lc-rule); border-top: 4px solid var(--blue); border-radius: 4px; padding: 18px 22px; }
.lc-basis h2 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.lc-basis p { margin: 0; font-size: .84rem; color: var(--lc-ink-2); line-height: 1.65; }

@media (max-width: 820px) {
  .lc-home { padding: 44px 0 48px; }
  .lc-stamp { text-align: left; }
  .lc-page { padding: 28px 0 56px; }
  .lc-stack { gap: 32px; }
}
