/* ══════════════════════════════════════════════════════════════════════
   DELAY & EOT — its own tab (tabs/delay/*)

   A LIGHT ENGINEERING CONTROL CENTRE. The root carries .upd as well as
   .dly, so every token of styles/tabs/update.css — the status colours, the
   bar colours, the chart paper, the gridlines and the Update grid's own
   table rules — applies here unchanged. The Gantt on the Analysis
   workspace IS the Update tab's Gantt.

   One screen high: delay.tab.js measures --dl-h; the shell is fixed and
   the workspaces' panes scroll on their own.

   This app switches theme on an attribute, never on the OS
   (AGENTS.md, v120): this sheet keys on no colour-scheme media query.
   ══════════════════════════════════════════════════════════════════════ */

.dly-host { --dl-h: calc(100vh - 120px); container-type: inline-size; container-name: dly; }
.upd.dly {
  --dl-ink: var(--st, #0F1B2E);
  --dl-mu: var(--mu, #4D6E91);
  --dl-line: var(--sk, rgba(15, 27, 46, .14));
  --dl-paper: #FFFFFF;
  --dl-soft: #F6F8FB;
  --dl-wash: #EEF3F9;
  --dl-acc: #1F4E79;
  --dl-emp: #4F5BD5;     /* employer / other-party side */
  --dl-con: #D9822B;     /* contractor side */
  --dl-neu: #1BAF7A;     /* neutral (validated against employer / contractor for CVD) */
  --dl-unk: #8A96A8;     /* not identified */
  --dl-bad: var(--u-crit, #C6462B);
  --dl-ok: var(--u-good, #188D68);
  --dl-warn: #B7791F;
  --dl-ai: var(--u-ai, #6D5BA8);
  --dl-frag: #9B4DCA;
  --dl-ev: #D14B8F;
  --u-namew: 230px;
  --u-tlw: clamp(320px, 34vw, 780px);
  height: var(--dl-h);
  min-height: 560px;
  padding-bottom: 0;   /* the Update tab's 40px is not this shell's: it only left a blank band */
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden; position: relative;
  font-size: 12px; color: var(--dl-ink);
}
.upd.dly * { box-sizing: border-box; }
.dly .mono { font-family: var(--u-mono); font-variant-numeric: tabular-nums; }
.dly .dl-sp { flex: 1 1 auto; }
.dly .dl-ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── buttons & controls ─────────────────────────────────────────────── */
.dly .dl-b { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 11.5px; font-weight: 700; padding: 7px 12px;
  border-radius: 8px; border: 1px solid var(--dl-line); background: var(--dl-paper); color: var(--dl-ink); cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, box-shadow .12s; }
.dly .dl-b:hover { border-color: var(--dl-mu); background: var(--dl-soft); }
.dly .dl-b:focus-visible, .dly .dl-seg:focus-visible, .dly .dl-tab:focus-visible, .dly .dl-card:focus-visible, .dly [role="button"]:focus-visible,
.dly .dl-in:focus-visible, .dly .dl-sel:focus-visible { outline: 2px solid var(--dl-acc); outline-offset: 2px; }
.dly .dl-b.pri { background: var(--dl-acc); border-color: var(--dl-acc); color: #fff; }
.dly .dl-b.pri:hover { background: #173E61; }
.dly .dl-b.ghost { background: transparent; }
.dly .dl-b.sm { padding: 5px 9px; font-size: 11px; }
.dly .dl-b.wide { width: 100%; justify-content: center; margin-top: 6px; }
.dly .dl-b.is-link { border: 0; background: none; padding: 0 2px; color: var(--dl-acc); text-decoration: underline; font-weight: 600; }
.dly .dl-b.is-danger { color: var(--dl-bad); border-color: rgba(198, 70, 43, .35); }
.dly .dl-b[disabled] { opacity: .45; cursor: not-allowed; }
.dly .dl-in, .dly .dl-sel { font: inherit; font-size: 12px; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--dl-line); background: #fff; color: var(--dl-ink); width: 100%; min-width: 0; }
.dly .dl-in.sm, .dly .dl-sel.sm { font-size: 11px; padding: 5px 7px; }
.dly .dl-in.big { font-size: 15px; font-weight: 700; padding: 10px 12px; }
.dly .dl-in.num { text-align: right; }
.dly textarea.dl-in { resize: vertical; line-height: 1.45; }
.dly .dl-l { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-mu); margin: 12px 0 5px; }
.dly .dl-segs { display: inline-flex; gap: 2px; background: var(--dl-wash); border-radius: 9px; padding: 3px; }
.dly .dl-segs.wrap { flex-wrap: wrap; }
.dly .dl-seg { font: inherit; font-size: 11px; font-weight: 700; border: 0; background: transparent; color: var(--dl-mu); padding: 5px 10px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.dly .dl-seg:hover { color: var(--dl-ink); }
.dly .dl-seg.on { background: #fff; color: var(--dl-ink); box-shadow: 0 1px 3px rgba(15, 27, 46, .14); }
.dly .dl-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dly .dl-2.top { align-items: start; }
.dly .dl-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dly .dl-tog { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--dl-mu); white-space: nowrap; }

/* ── the header: light, with the project's figures ───────────────────── */
.dl-top { flex: none; display: flex; align-items: stretch; gap: 0; min-height: 58px; background: var(--dl-paper);
  border: 1px solid var(--dl-line); border-radius: 14px; padding: 0 10px 0 0; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 27, 46, .05), 0 12px 28px -24px rgba(15, 27, 46, .45); }
.dl-brand { display: flex; flex-direction: column; justify-content: center; padding: 8px 18px; min-width: 0; max-width: 300px;
  background: linear-gradient(135deg, #F1F5FB, #E6EEF8); border-right: 1px solid var(--dl-line); }
.dl-brand .k em.dl-build { font-style: normal; font-weight: 700; letter-spacing: .02em; color: #7C8DA3; margin-left: 4px; }
.dl-brand .k { font-size: 9.5px; font-weight: 800; letter-spacing: .16em; color: var(--dl-acc); }
.dl-brand .v { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-tf { display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-right: 1px solid var(--dl-line); min-width: 0; }
.dl-tf .k { font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dl-mu); white-space: nowrap; }
.dl-tf .v { font-size: 13px; font-weight: 700; white-space: nowrap; }
.dl-tf .v em { font-style: normal; font-weight: 600; margin-left: 6px; font-size: 11px; color: var(--dl-mu); }
.dl-tf.is-bad .v em { color: var(--dl-bad); }
.dl-tf.is-ok .v em { color: var(--dl-ok); }
.dl-cpill { align-self: center; margin-left: 10px; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 5px 10px; border-radius: 20px; white-space: nowrap; max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
.dl-cpill.is-ok { background: rgba(24, 141, 104, .1); color: var(--dl-ok); border: 1px solid rgba(24, 141, 104, .35); }
.dl-cpill.is-warn { background: rgba(183, 121, 31, .1); color: var(--dl-warn); border: 1px solid rgba(183, 121, 31, .4); }
.dl-asof { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-mu); margin-right: 8px; }
.dl-asof input { font: inherit; font-size: 11.5px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--dl-ink); border: 1px solid var(--dl-line); border-radius: 8px; padding: 5px 7px; background: #fff; }
.dl-top > .dl-b { align-self: center; margin-left: 6px; }
/* the panel's width decides, not the viewport's: the sidebar takes a
   different share of the screen on every layout */
@container dly (max-width: 1500px) { .dl-top .tf-eot { display: none; } .dl-brand { max-width: 220px; } }
@container dly (max-width: 1320px) { .dl-top .tf-bl { display: none; } .dl-asof > span { display: none; } }
@container dly (max-width: 1080px) { .dl-cpill { display: none; } .dl-top > .dl-b span { display: none; } }
@container dly (max-width: 820px) { .dl-top .tf-dd { display: none; } }

/* ── the workspace tabs ─────────────────────────────────────────────── */
.dl-tabs { flex: none; display: flex; gap: 2px; background: var(--dl-paper); border: 1px solid var(--dl-line); border-radius: 12px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.dl-tabs::-webkit-scrollbar { display: none; }
.dl-tab { flex: 1 1 0; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-size: 12px; font-weight: 700;
  color: var(--dl-mu); background: transparent; border: 0; padding: 8px 12px; border-radius: 9px; cursor: pointer; position: relative; }
.dl-tab:hover { background: var(--dl-soft); color: var(--dl-ink); }
.dl-tab.on { background: var(--dl-wash); color: var(--dl-acc); box-shadow: inset 0 -2px 0 var(--dl-acc); }
.dl-badge { font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; background: var(--dl-wash); color: var(--dl-acc); }
.dl-badge.is-bad { background: var(--dl-bad); color: #fff; }
.dl-badge.is-warn { background: rgba(183, 121, 31, .16); color: var(--dl-warn); }

.dl-stage { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.dl-alert { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.dl-alert.is-bad { background: #FDEFEB; color: #8B3A1F; border: 1px solid rgba(198, 70, 43, .35); }
.dl-alert .dl-b { margin-left: auto; }
.dl-veil { position: absolute; inset: 0; z-index: 30; background: rgba(246, 248, 251, .72); backdrop-filter: blur(1.5px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; font-weight: 700; color: var(--dl-acc); border-radius: 14px; }
.dl-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--dl-wash); border-top-color: var(--dl-acc); animation: dl-spin .9s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dl-spin { animation: none; } }

/* ── panes ──────────────────────────────────────────────────────────── */
.dl-pane { background: var(--dl-paper); border: 1px solid var(--dl-line); border-radius: 12px; min-height: 0; min-width: 0;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  box-shadow: 0 1px 2px rgba(15, 27, 46, .04), 0 10px 24px -22px rgba(15, 27, 46, .35); }
.dl-ph { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; flex-wrap: wrap; border-bottom: 1px solid rgba(15, 27, 46, .06); }
.dl-ph h3 { margin: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dl-ink); }
.dl-ph > span { font-size: 11px; color: var(--dl-mu); }
.dl-ph > .dl-b, .dl-ph > .dl-gtools, .dl-ph > .dl-tog { margin-left: auto; }
.dl-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 10px 12px; overscroll-behavior: contain; }
.dl-split { flex: 1 1 auto; min-height: 0; display: grid; gap: 8px; }
.dl-split.ev3 { grid-template-columns: 230px minmax(0, 1fr) 380px; }
.dl-split.rv { grid-template-columns: minmax(0, 1fr) 320px; }
.dl-split.wz { grid-template-columns: 210px minmax(0, 1fr) 320px; }
.dl-split.an0 { grid-template-columns: 300px minmax(0, 1fr); }
.dl-split.an { grid-template-columns: 330px minmax(0, 1fr) 310px; }
.dl-split.an0 > .dl-ancol + div:empty { display: none; }
.dl-split.win { grid-template-columns: minmax(0, 1fr) 330px; }
.dl-split.conc { grid-template-columns: minmax(0, 1fr) 360px; }
.dl-split.ct { grid-template-columns: 300px minmax(0, 1fr) 340px; }
.dl-split.nt { grid-template-columns: minmax(0, 1fr) 460px; }
.dl-split.evd { grid-template-columns: 280px minmax(0, 1fr) 300px; }
.dl-split.rp { grid-template-columns: 290px minmax(0, 1fr); }
.dl-ancol { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }
.dl-ancol > .grow { flex: 1 1 auto; }
.dl-ancol > .lower { flex: 0 0 auto; max-height: 42%; }
.dl-pane.lower.shut { max-height: 44px; }
@media (max-width: 1280px) {
  .dl-split.ev3, .dl-split.an, .dl-split.ct, .dl-split.evd { grid-template-columns: 250px minmax(0, 1fr); }
  .dl-split.ev3 > :last-child, .dl-split.an > :last-child, .dl-split.ct > :last-child, .dl-split.evd > :last-child { grid-column: 1 / -1; max-height: 42vh; }
  .upd.dly { height: auto; overflow: visible; }
  /* the Gantt workspaces keep one screen at every width: the page never
     scrolls, the Gantt scrolls inside its own area (as the Update tab) */
  .upd.dly[data-ws="studio"], .upd.dly[data-ws="overview"] { height: var(--dl-h); overflow: hidden; }
}
@media (max-width: 860px) {
  .dl-split { grid-template-columns: 1fr !important; }
  .dl-split > * { grid-column: auto !important; max-height: none; }
}

.dly .dl-empty { padding: 28px 18px; text-align: center; color: var(--dl-mu); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dly .dl-empty .t { font-size: 14px; font-weight: 800; color: var(--dl-ink); }
.dly .dl-empty .s { max-width: 440px; line-height: 1.5; }
.dly .dl-empty.big { height: 100%; justify-content: center; }
.dly .dl-note { font-size: 11.5px; color: var(--dl-mu); line-height: 1.5; margin: 6px 0; }
.dly .dl-found { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 10px; padding: 8px 10px; border: 1px solid #D5E3F0; background: #F5F9FD; border-radius: 8px; font-size: 12px; color: #1E293B; line-height: 1.45; } .dly .dl-found em { display: block; font-style: normal; color: var(--dl-mu); font-size: 11px; }
.dly .dl-note.is-warn { color: var(--dl-warn); }
.dly .dl-note.is-ok { color: var(--dl-ok); }
.dly .dl-hint { font-size: 11px; color: var(--dl-mu); margin-top: 5px; line-height: 1.45; }
.dly .dl-sub { font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--dl-mu); margin: 14px 0 6px; }
.dly .dl-mini { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.dly .dl-mini.mono { font-size: 11px; }
.dly .dl-bar { flex: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; background: var(--dl-paper); border: 1px solid var(--dl-line); border-radius: 12px; }
.dl-pane .dl-bar { border: 0; border-bottom: 1px solid rgba(15, 27, 46, .06); border-radius: 0; }
.dly .dl-bar > b { font-size: 12px; }
.dly .dl-bar .dl-in, .dly .dl-bar .dl-sel { width: auto; }

.dly .dl-pill { display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .03em; padding: 3px 8px; border-radius: 12px; white-space: nowrap; border: 1px solid transparent; }
.dly .dl-pill.is-ok { background: rgba(24, 141, 104, .1); color: var(--dl-ok); border-color: rgba(24, 141, 104, .3); }
.dly .dl-pill.is-warn { background: rgba(183, 121, 31, .12); color: var(--dl-warn); border-color: rgba(183, 121, 31, .35); }
.dly .dl-pill.is-bad { background: rgba(198, 70, 43, .1); color: var(--dl-bad); border-color: rgba(198, 70, 43, .35); }
.dly .dl-pill.is-mute { background: var(--dl-soft); color: var(--dl-mu); border-color: var(--dl-line); }
.dly .dl-chip { display: inline-flex; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--dl-wash); color: var(--dl-acc); white-space: nowrap; }
.dly .dl-chip.lite { background: transparent; border: 1px solid var(--dl-line); color: var(--dl-mu); }
.dly .dl-side { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.dly .dl-side::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.dly .s-EMPLOYER.dl-side { color: var(--dl-emp); background: rgba(79, 91, 213, .08); }
.dly .s-CONTRACTOR.dl-side { color: var(--dl-con); background: rgba(217, 130, 43, .1); }
.dly .s-NEUTRAL.dl-side { color: var(--dl-neu); background: rgba(62, 156, 143, .1); }
.dly .s-UNKNOWN.dl-side { color: var(--dl-unk); background: var(--dl-soft); }

.dly .dl-callout { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; margin: 8px 0; line-height: 1.5; font-size: 11.5px; }
.dly .dl-callout .dl-ic { margin-top: 1px; }
.dly .dl-callout.is-info { background: #EEF3FB; color: #22466E; }
.dly .dl-callout.is-warn { background: #FDF6EA; color: #7A4E12; }
.dly .dl-callout.is-ok { background: #EAF6F1; color: #125C44; }

/* ── overview ───────────────────────────────────────────────────────── */
.dl-grid.dl-ov { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.dl-kpis { flex: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1000px) { .dl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dly .dl-kpi { text-align: left; font: inherit; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--dl-paper);
  border: 1px solid var(--dl-line); position: relative; overflow: hidden; min-width: 0; color: inherit; }
.dly button.dl-kpi { cursor: pointer; }
.dly button.dl-kpi:hover { border-color: var(--dl-mu); }
.dly .dl-kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--dl-line); }
.dly .dl-kpi .k { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .dl-kpi b { font-size: 22px; font-weight: 800; font-family: var(--u-mono); letter-spacing: -.5px; line-height: 1.15; }
.dly .dl-kpi b small { font-size: 11px; font-weight: 700; color: var(--dl-mu); letter-spacing: 0; }
.dly .dl-kpi em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .dl-kpi.is-bad::before { background: var(--dl-bad); } .dly .dl-kpi.is-bad b { color: var(--dl-bad); }
.dly .dl-kpi.is-warn::before { background: var(--dl-warn); }
.dly .dl-kpi.is-ok::before { background: var(--dl-ok); }
.dly .dl-kpi.is-info::before { background: var(--dl-acc); }
.dl-ovmain { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 8px; }
.dl-col { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, .8fr); gap: 8px; min-height: 0; }
@media (max-width: 1100px) { .dl-ovmain { grid-template-columns: 1fr; } }
.dl-tlwrap { background: linear-gradient(180deg, #FBFCFE, #fff); }
.dly .dl-att { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dly .dl-att button { width: 100%; display: flex; gap: 8px; align-items: baseline; text-align: left; font: inherit; font-size: 11.5px; padding: 7px 9px; border-radius: 8px;
  border: 1px solid var(--dl-line); background: #fff; cursor: pointer; border-left: 3px solid var(--dl-unk); color: var(--dl-ink); }
.dly .dl-att button:hover { background: var(--dl-soft); }
.dly .dl-att .t-bad { border-left-color: var(--dl-bad); } .dly .dl-att .t-warn { border-left-color: var(--dl-warn); } .dly .dl-att .t-ok { border-left-color: var(--dl-ok); }
.dly .dl-att b { flex: none; }
.dly .dl-mvbig { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--dl-soft); margin-bottom: 8px; }
.dly .dl-mvbig b { font-family: var(--u-mono); font-size: 22px; white-space: nowrap; }
.dly .dl-mvbig.is-bad b { color: var(--dl-bad); } .dly .dl-mvbig.is-ok b { color: var(--dl-ok); }
.dly .dl-mvbig span { color: var(--dl-mu); font-size: 11.5px; }
.dly .dl-finds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.dly .dl-finds.sm li { font-size: 11.5px; padding: 5px 8px; border-radius: 7px; background: var(--dl-soft); border-left: 3px solid var(--dl-unk); }
.dly .dl-finds.sm li.high { border-left-color: var(--dl-bad); } .dly .dl-finds.sm li.medium { border-left-color: var(--dl-warn); } .dly .dl-finds.sm li.is-good { border-left-color: var(--dl-ok); }
.dly .dl-find { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; grid-template-areas: 'code t aid' 'code cause cause'; gap: 4px 12px;
  padding: 9px 11px; border-radius: 10px; border: 1px solid var(--dl-line); border-left: 4px solid var(--dl-unk); background: #fff; }
.dly .dl-find.high { border-left-color: var(--dl-bad); } .dly .dl-find.medium { border-left-color: var(--dl-warn); } .dly .dl-find.is-good { border-left-color: var(--dl-ok); }
.dly .dl-find .code { grid-area: code; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-mu); }
.dly .dl-find .t { grid-area: t; line-height: 1.45; }
.dly .dl-find .aid { grid-area: aid; color: var(--dl-mu); }
.dly .dl-find .cause { grid-area: cause; display: flex; gap: 6px; }
.dly .dl-find .cause .dl-sel { width: auto; }
.dly .dl-prose p { line-height: 1.55; margin: 0 0 10px; }

/* ── the SVG timeline ───────────────────────────────────────────────── */
.dly svg.dl-tl, .dly svg.dl-win, .dly svg.dl-conc { width: 100%; height: auto; display: block; font-family: inherit; }
.dl-tl .grid { stroke: rgba(15, 27, 46, .07); }
.dl-tl .ax, .dl-win .ax { font-size: 11.5px; fill: var(--dl-mu); font-weight: 700; }
.dl-tl .lane { font-size: 12px; font-weight: 800; fill: var(--dl-ink); }
.dl-tl .lane-s { font-size: 10px; fill: var(--dl-mu); }
.dl-tl .bl { fill: var(--u-bl, #D9A419); }
.dl-tl .rl { font-size: 11px; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-tl .st line { stroke: #8FA6C0; stroke-width: 2; }
.dl-tl .st circle { fill: #fff; stroke: #1F4E79; stroke-width: 1.5; }
.dl-tl .st path { fill: #1F4E79; }
.dl-tl .st.late path { fill: var(--dl-bad); } .dl-tl .st.early path { fill: var(--dl-ok); }
.dl-tl .blf { stroke: var(--u-bl, #D9A419); stroke-width: 1.5; stroke-dasharray: 5 4; }
.dl-tl .win rect { fill: #EEF3F9; stroke: #D3DEEA; }
.dl-tl .win.b rect { fill: #F6F8FB; }
.dl-tl .win.late rect { fill: rgba(198, 70, 43, .08); stroke: rgba(198, 70, 43, .25); }
.dl-tl .win.early rect { fill: rgba(24, 141, 104, .08); stroke: rgba(24, 141, 104, .25); }
.dl-tl .win text { font-size: 11px; font-weight: 700; fill: var(--dl-ink); }
.dl-tl .ev { cursor: pointer; }
.dl-tl .ev text { font-size: 11px; font-weight: 700; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-tl .ev.s-EMPLOYER rect, .dl-conc .ce.s-EMPLOYER rect { fill: var(--dl-emp); }
.dl-tl .ev.s-CONTRACTOR rect, .dl-conc .ce.s-CONTRACTOR rect { fill: var(--dl-con); }
.dl-tl .ev.s-NEUTRAL rect, .dl-conc .ce.s-NEUTRAL rect { fill: var(--dl-neu); }
.dl-tl .ev.s-UNKNOWN rect, .dl-conc .ce.s-UNKNOWN rect { fill: var(--dl-unk); }
.dl-tl .ev:hover rect, .dl-tl .ev:focus rect, .dl-tl .ev.focus rect { stroke: var(--dl-ink); stroke-width: 1.5; }
.dl-tl .nt { stroke-width: 1.4; fill: none; }
.dl-tl .nt.is-bad { stroke: var(--dl-bad); fill: var(--dl-bad); } .dl-tl .nt.is-warn { stroke: var(--dl-warn); fill: var(--dl-warn); }
.dl-tl .nt.is-ok { stroke: var(--dl-ok); fill: var(--dl-ok); } .dl-tl .nt.is-mute { stroke: var(--dl-mu); fill: var(--dl-mu); }
.dl-tl .rcv circle { fill: #fff; stroke: var(--dl-ok); stroke-width: 2; }
.dl-tl .rcv line, .dl-tl .rcv path { stroke: var(--dl-ok); stroke-dasharray: 3 3; }
.dl-tl .rcv text { font-size: 10px; font-weight: 700; fill: var(--dl-ok); }
.dl-tl .dd { stroke: var(--u-dd, #2F6BD8); stroke-width: 1.5; }
.dl-tl .asof { stroke: var(--dl-ink); stroke-width: 1; stroke-dasharray: 2 3; }
.dly .dl-lgd { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 10.5px; color: var(--dl-mu); padding: 8px 4px 2px; }
.dly .dl-lgd span { display: inline-flex; align-items: center; gap: 6px; }
.dly .dl-lgd .k { width: 14px; height: 8px; border-radius: 2px; display: inline-block; }
.dly .dl-lgd .k.bl { background: var(--u-bl, #D9A419); } .dly .dl-lgd .k.st { background: #1F4E79; height: 2px; }
.dly .dl-lgd .k.s-EMPLOYER { background: var(--dl-emp); } .dly .dl-lgd .k.s-CONTRACTOR { background: var(--dl-con); } .dly .dl-lgd .k.s-NEUTRAL { background: var(--dl-neu); }
.dly .dl-lgd .k.nt { background: var(--dl-warn); width: 3px; height: 12px; } .dly .dl-lgd .k.dd { background: var(--u-dd, #2F6BD8); width: 2px; height: 12px; }
.dly .dl-lgd .k.asof { border-left: 1px dashed var(--dl-ink); width: 2px; height: 12px; }
.dly .dl-lgd .k.late { background: rgba(198, 70, 43, .75); } .dly .dl-lgd .k.early { background: rgba(24, 141, 104, .75); }
.dly .dl-lgd .k.cum { background: var(--dl-acc); height: 2px; } .dly .dl-lgd .k.ddm { background: var(--u-dd, #2F6BD8); width: 8px; height: 8px; border-radius: 50%; }
.dly .dl-lgd .k.is-crit { background: var(--dl-emp); } .dly .dl-lgd .k.nc { background: rgba(79, 91, 213, .3); }
.dly .dl-lgd .k.na { background: repeating-linear-gradient(45deg, #C4CCD8 0 2px, #fff 2px 4px); border: 1px solid #C4CCD8; }
.dly .dl-lgd .k.pci { background: rgba(198, 70, 43, .18); border: 1px solid var(--dl-bad); }

/* the overview's impact chart */
.dl-ancol > .tlp { flex: 0 1 auto; max-height: 58%; }
.dl-ov .dl-ancol > .tlp { max-height: none; }
.dly svg.dl-imp { width: 100%; height: auto; display: block; }
.dl-imp .grid { stroke: rgba(15, 27, 46, .07); }
.dl-imp .ax { font-size: 11px; fill: var(--dl-mu); font-weight: 700; }
.dl-imp .im { cursor: pointer; }
.dl-imp .hit { fill: transparent; }
.dl-imp .im:hover .hit, .dl-imp .im:focus .hit { fill: rgba(31, 78, 121, .05); }
.dl-imp .sd { fill: var(--dl-unk); }
.dl-imp .s-EMPLOYER .sd { fill: var(--dl-emp); } .dl-imp .s-CONTRACTOR .sd { fill: var(--dl-con); } .dl-imp .s-NEUTRAL .sd { fill: var(--dl-neu); }
.dl-imp .id { font-size: 12px; font-weight: 800; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-imp .tt { font-size: 11.5px; fill: var(--dl-mu); }
.dl-imp .gr { fill: var(--dl-bad); }
.dl-imp .mi { fill: var(--dl-ok); }
.dl-imp .eo { fill: #1F4E79; }
.dl-imp .rg { fill: url(#none); fill: rgba(31, 78, 121, .25); stroke: #1F4E79; stroke-dasharray: 3 2; }
.dl-imp .na { fill: #fff; stroke: #9AA6B8; stroke-dasharray: 4 3; }
.dl-imp .lab { font-size: 11.5px; font-weight: 700; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-imp .lab.eo { fill: #1F4E79; }
.dl-imp .nt { font-size: 11px; font-weight: 800; }
.dl-imp .nt.is-bad { fill: var(--dl-bad); } .dl-imp .nt.is-warn { fill: var(--dl-warn); } .dl-imp .nt.is-ok { fill: var(--dl-ok); } .dl-imp .nt.is-mute { fill: var(--dl-mu); }

/* ── events ─────────────────────────────────────────────────────────── */
.dly .dl-form .dl-in, .dly .dl-form .dl-sel { margin-bottom: 2px; }
.dly .dl-cards { display: flex; flex-direction: column; gap: 6px; }
.dly .dl-card { font: inherit; color: inherit; text-align: left; width: 100%; display: grid; grid-template-columns: 4px minmax(0, 2.6fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.1fr) 34px;
  gap: 12px; align-items: center; padding: 10px 12px 10px 0; background: #fff; border: 1px solid var(--dl-line); border-radius: 11px; cursor: pointer; transition: box-shadow .12s, border-color .12s; }
.dly .dl-card:hover { border-color: #B9C7D8; box-shadow: 0 6px 16px -12px rgba(15, 27, 46, .5); }
.dly .dl-card.on { border-color: var(--dl-acc); box-shadow: 0 0 0 2px rgba(31, 78, 121, .15); }
.dly .dl-card.closed { opacity: .62; }
.dly .dl-card .stripe { align-self: stretch; border-radius: 11px 0 0 11px; background: var(--dl-unk); margin: -10px 0; }
.dly .dl-card.s-EMPLOYER .stripe { background: var(--dl-emp); } .dly .dl-card.s-CONTRACTOR .stripe { background: var(--dl-con); } .dly .dl-card.s-NEUTRAL .stripe { background: var(--dl-neu); }
.dly .dl-card .c1 { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dly .dl-card .c1 .tt { font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .dl-card .chips { display: flex; gap: 4px; flex-wrap: wrap; }
.dly .dl-card .c2, .dly .dl-card .c3, .dly .dl-card .c4 { display: flex; flex-direction: column; gap: 3px; font-size: 11px; min-width: 0; }
.dly .dl-card .c2 i { font-style: normal; color: var(--dl-mu); margin: 0 3px; }
.dly .dl-card em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .dl-card .c4 b { font-size: 12px; }
.dly .dl-impact { height: 6px; border-radius: 3px; background: var(--dl-wash); overflow: hidden; }
.dly .dl-impact i { display: block; height: 100%; background: linear-gradient(90deg, #E08A6D, var(--dl-bad)); border-radius: 3px; }
.dly .dl-ring .bg { fill: none; stroke: var(--dl-wash); stroke-width: 3; }
.dly .dl-ring .fg { fill: none; stroke-width: 3; stroke-linecap: round; }
.dly .dl-ring.is-ok .fg { stroke: var(--dl-ok); } .dly .dl-ring.is-warn .fg { stroke: var(--dl-warn); } .dly .dl-ring.is-bad .fg { stroke: var(--dl-bad); }
.dly .dl-ring text { font-size: 8px; font-weight: 800; fill: var(--dl-ink); font-family: var(--u-mono); }
@media (max-width: 1500px) { .dly .dl-card { grid-template-columns: 4px minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) 34px; } .dly .dl-card .c2 { display: none; } }

.dly .dl-detail .dl-evt { font-size: 16px; margin: 0 0 6px; line-height: 1.3; }
.dly .dl-desc { margin: 0 0 8px; line-height: 1.5; color: #33475F; }
.dly .dl-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.dly .dl-facts { display: flex; flex-direction: column; border: 1px solid var(--dl-line); border-radius: 10px; overflow: hidden; margin: 8px 0; }
.dly .dl-fr { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; font-size: 11.5px; }
.dly .dl-fr:nth-child(odd) { background: var(--dl-soft); }
.dly .dl-fr span { color: var(--dl-mu); white-space: nowrap; }
.dly .dl-fr b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.dly .dl-fr b em { font-style: normal; color: var(--dl-mu); font-size: 10.5px; }
.dly .dl-acts { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.dly .dl-acts.col { flex-direction: column; }
.dly .dl-acts.col .dl-b { justify-content: center; }
.dly .dl-edit { border: 1px solid var(--dl-line); border-radius: 10px; padding: 0 10px; margin: 8px 0; }
.dly .dl-edit > summary { cursor: pointer; font-weight: 800; font-size: 11px; padding: 9px 0; color: var(--dl-ink); }
.dly .dl-edit[open] { padding-bottom: 10px; }
.dly .dl-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.dly .dl-hist li { padding: 5px 7px; border-radius: 7px; background: var(--dl-soft); line-height: 1.4; }
.dly .dl-hist em { font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #fff; color: var(--dl-mu); }
.dly .dl-hist em.src-ENGINE { color: var(--dl-acc); } .dly .dl-hist em.src-AI { color: var(--dl-ai); }
.dly .dl-aibox { border: 1px dashed rgba(109, 91, 168, .45); background: rgba(109, 91, 168, .04); border-radius: 10px; padding: 8px 10px; margin: 10px 0; }
.dly .dl-aibox .hd { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--dl-ai); }
.dly .dl-aibox .hd span { font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-aibox .hd .dl-b { margin-left: auto; }
.dly .dl-ai { border-left: 3px solid var(--dl-ai); padding: 6px 10px; margin: 8px 0; background: rgba(109, 91, 168, .05); border-radius: 0 8px 8px 0; font-size: 11.5px; line-height: 1.5; }
.dly .dl-ai .lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-ai); margin-bottom: 4px; }
.dly .dl-ai .sub { font-weight: 800; font-size: 10.5px; margin-top: 6px; }
.dly .dl-ai ul { margin: 4px 0; padding-left: 16px; }
.dly .dl-ai .rej { font-size: 10.5px; color: var(--dl-warn); margin-top: 6px; }

/* the story chain: PLAN → EVENT → … → NET IMPACT */
.dly .dl-story { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.dly .dl-story li { position: relative; padding: 10px 14px 10px 12px; background: var(--dl-soft); display: flex; flex-direction: column; gap: 2px; min-width: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.dly .dl-story li:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); border-radius: 10px 0 0 10px; }
.dly .dl-story li:nth-child(even) { background: var(--dl-wash); }
.dly .dl-story .n { font-size: 9px; font-weight: 800; color: var(--dl-mu); }
.dly .dl-story .k { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-mu); }
.dly .dl-story b { font-family: var(--u-mono); font-size: 12.5px; line-height: 1.25; overflow-wrap: anywhere; }
.dly .dl-story em { font-style: normal; font-size: 10px; color: var(--dl-mu); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dly .dl-story li.is-bad b { color: var(--dl-bad); } .dly .dl-story li.is-good b { color: var(--dl-ok); }
.dly .dl-story li.net { background: #1F4E79; } .dly .dl-story li.net * { color: #fff !important; }
.dly .dl-story.sm { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 4px; }
.dly .dl-story.sm li, .dly .dl-story.sm li:first-child { clip-path: none; border-radius: 8px; margin-right: 4px; padding: 7px 8px; }
.dly .dl-story.sm b { font-size: 12px; }
@media (max-width: 1100px) { .dly .dl-story { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 4px; } .dly .dl-story li { clip-path: none !important; border-radius: 8px; margin-right: 4px; } }

/* ── the guided workflow ────────────────────────────────────────────── */
.dly .dl-wzs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dly .dl-wzs button { width: 100%; display: flex; align-items: center; gap: 10px; font: inherit; font-size: 12px; font-weight: 700; padding: 8px 10px; border: 0; background: transparent; border-radius: 9px; color: var(--dl-mu); cursor: pointer; text-align: left; }
.dly .dl-wzs button:hover { background: var(--dl-soft); }
.dly .dl-wzs .n { width: 24px; height: 24px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--dl-line); background: #fff; font-size: 11px; }
.dly .dl-wzs .n .dl-ic { width: 12px; height: 12px; }
.dly .dl-wzs button.on { background: var(--dl-wash); color: var(--dl-acc); }
.dly .dl-wzs button.on .n { border-color: var(--dl-acc); color: var(--dl-acc); }
.dly .dl-wzs button.done { color: var(--dl-ink); }
.dly .dl-wzs button.done .n { background: var(--dl-ok); border-color: var(--dl-ok); color: #fff; }
.dly .wzb h2 { font-size: 18px; margin: 4px 0 10px; }
.dly .dl-fld { margin-bottom: 10px; }
.dly .dl-chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.dly .dl-chipset .dl-seg { background: var(--dl-soft); border: 1px solid var(--dl-line); }
.dly .dl-chipset .dl-seg.on { background: var(--dl-acc); color: #fff; border-color: var(--dl-acc); }
.dly .dl-wzf { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--dl-line); background: var(--dl-soft); }
.dly .dl-tree { list-style: none; margin: 6px 0; padding: 0; font-size: 11.5px; }
.dly .dl-tree li { display: flex; align-items: center; gap: 4px; padding: 3px 0 3px calc(var(--lv, 0) * 16px); border-bottom: 1px solid rgba(15, 27, 46, .04); }
.dly .dl-tree li.w { font-weight: 700; background: var(--dl-soft); }
.dly .dl-tree li label { display: flex; align-items: center; gap: 6px; min-width: 0; cursor: pointer; }
.dly .dl-tree li em { font-style: normal; color: var(--dl-mu); font-size: 10.5px; margin-left: 4px; white-space: nowrap; }
.dly .dl-tree .tw { border: 0; background: none; cursor: pointer; width: 18px; color: var(--dl-mu); }
.dly .dl-tree .is-crit { color: var(--dl-bad); font-style: normal; } .dly .dl-tree .ms { color: var(--dl-acc); font-style: normal; }
.dly .dl-checks { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; }
.dly .dl-checks em { font-style: normal; color: var(--dl-mu); }
.dly .dl-evform { display: grid; grid-template-columns: 150px minmax(0, 1.4fr) minmax(0, 1fr) 130px 150px auto; gap: 6px; margin: 8px 0; align-items: center; }
.dl-pane > .dl-evform { padding: 8px 12px 0; margin: 0; }
.dly .dl-basis { list-style: none; margin: 6px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dly .dl-basis button { width: 100%; text-align: left; font: inherit; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--dl-line); background: #fff; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.dly .dl-basis button.on { border-color: var(--dl-acc); background: var(--dl-wash); }

.dly .dl-mcards { display: flex; flex-direction: column; gap: 5px; }
.dly .dl-mc { border: 1px solid var(--dl-line); border-radius: 10px; background: #fff; overflow: hidden; border-left: 3px solid var(--dl-unk); }
.dly .dl-mc.is-ok { border-left-color: var(--dl-ok); } .dly .dl-mc.is-warn { border-left-color: var(--dl-warn); } .dly .dl-mc.is-bad { border-left-color: var(--dl-bad); }
.dly .dl-mc.on { box-shadow: 0 0 0 2px rgba(31, 78, 121, .25); border-color: var(--dl-acc); }
.dly .dl-mc .hd { width: 100%; display: flex; align-items: center; gap: 8px; font: inherit; text-align: left; padding: 7px 8px; border: 0; background: none; cursor: pointer; }
.dly .dl-mc .hd[disabled] { cursor: not-allowed; opacity: .6; }
.dly .dl-mc .dl-lt { width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--dl-wash); color: var(--dl-acc); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.dly .dl-mc .nm { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; flex: 1 1 auto; }
.dly .dl-mc .nm b { font-size: 11.5px; }
.dly .dl-mc .nm em { font-style: normal; font-size: 10px; color: var(--dl-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .dl-mc details { padding: 0 10px 6px 38px; }
.dly .dl-mc summary { cursor: pointer; font-size: 10.5px; color: var(--dl-acc); font-weight: 700; }
.dly .dl-chk { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.dly .dl-chk li { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; line-height: 1.4; }
.dly .dl-chk li em { font-style: normal; font-size: 9.5px; color: var(--dl-mu); margin-left: auto; white-space: nowrap; }
.dly .dl-chk li.is-ok .dl-ic { color: var(--dl-ok); } .dly .dl-chk li.is-warn .dl-ic { color: var(--dl-warn); } .dly .dl-chk li.is-bad .dl-ic { color: var(--dl-bad); }
.dly .dl-chk .dl-ic { width: 13px; height: 13px; margin-top: 1px; }

/* ── tables ─────────────────────────────────────────────────────────── */
.dly table.dl-t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11.5px; }
.dly table.dl-t th { position: sticky; top: 0; background: var(--dl-soft); text-align: left; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--dl-mu); padding: 7px 8px; border-bottom: 1px solid var(--dl-line); z-index: 1; }
.dly table.dl-t td { padding: 7px 8px; border-bottom: 1px solid rgba(15, 27, 46, .06); vertical-align: top; line-height: 1.4; }
.dly table.dl-t tr[data-act] { cursor: pointer; }
.dly table.dl-t tr[data-act]:hover td { background: var(--dl-soft); }
.dly table.dl-t tr.sel td { background: var(--dl-wash); }
.dly table.dl-t tr.path td:first-child { box-shadow: inset 3px 0 0 var(--dl-bad); }
.dly table.dl-t tr.tot td { font-weight: 800; background: var(--dl-soft); }
.dly table.dl-t tr.wd td { opacity: .5; text-decoration: line-through; }
.dly table.dl-t .num { text-align: right; }
.dly table.dl-t em { font-style: normal; color: var(--dl-mu); font-size: 10.5px; }
.dly table.dl-t.fr td { padding: 3px 4px; }
.dly .dl-frag { margin-top: 12px; padding: 10px; border: 1px dashed rgba(155, 77, 202, .45); border-radius: 10px; background: rgba(155, 77, 202, .03); }
.dly .dl-frag table { margin: 6px 0 4px; }
.dly .dl-tag { display: inline-block; font-size: 9.5px; font-weight: 800; padding: 1px 6px; border-radius: 5px; background: var(--dl-wash); color: var(--dl-acc); margin: 0 3px 2px 0; text-transform: capitalize; }
.dly .dl-tag.NOTICE { background: rgba(79, 91, 213, .1); color: var(--dl-emp); } .dly .dl-tag.TIME_BAR { background: rgba(198, 70, 43, .1); color: var(--dl-bad); }
.dly .dl-tag.EOT { background: rgba(24, 141, 104, .1); color: var(--dl-ok); } .dly .dl-tag.RECORDS { background: rgba(183, 121, 31, .1); color: var(--dl-warn); }

/* ── analysis: the hero ─────────────────────────────────────────────── */
.dly .dl-evsum { display: flex; flex-direction: column; gap: 4px; padding: 9px 10px; margin: 8px 0; border-radius: 10px; background: var(--dl-soft); border-left: 4px solid var(--dl-unk); }
.dly .dl-evsum.s-EMPLOYER { border-left-color: var(--dl-emp); } .dly .dl-evsum.s-CONTRACTOR { border-left-color: var(--dl-con); } .dly .dl-evsum.s-NEUTRAL { border-left-color: var(--dl-neu); }
.dly .dl-anlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.dly .dl-anlist button { width: 100%; font: inherit; font-size: 11.5px; text-align: left; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--dl-line); background: #fff; cursor: pointer; }
.dly .dl-anlist button.on { border-color: var(--dl-acc); background: var(--dl-wash); }
.dly .dl-anlist em { font-style: normal; color: var(--dl-mu); font-size: 10.5px; margin-left: auto; }
.dly .dl-gtools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dly .gpane .dl-gwrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.dly .dl-gwrap { border: 0; border-radius: 0; }
.dly .dl-gwrap .dl-gscroll { flex: 1 1 auto; min-height: 0; height: auto; max-height: none; overflow: auto; }
.dly .dl-evline { position: absolute; top: -40px; bottom: -40px; width: 0; border-left: 2px dashed var(--dl-ev); opacity: .75; pointer-events: none; z-index: 1; }
.dly .dl-evm { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--dl-ev); }
.dly .dl-evm::before { content: 'EVENT'; position: absolute; top: 0; left: 3px; font-size: 8.5px; font-weight: 800; letter-spacing: .06em; color: var(--dl-ev); background: #fff; padding: 0 2px; }
.dly .dl-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 15px; height: 15px; margin-left: 4px; border-radius: 4px; font-size: 9px; font-weight: 800; color: #fff; flex: none; }
.dly .dl-flag.fn { background: var(--dl-frag); } .dly .dl-flag.dp { background: var(--dl-bad); } .dly .dl-flag.nc { background: var(--dl-warn); }
/* a fragnet row is tinted on its figures, never on the chart cell: that
   cell is sticky over the scrolling columns and must stay opaque */
.dly table.u-g tr.dl-frow td:not(.u-tl) { background-image: linear-gradient(rgba(155, 77, 202, .08), rgba(155, 77, 202, .08)); }
.dly table.u-g tr.dl-frow td.stk { background-color: var(--p); box-shadow: inset 3px 0 0 var(--dl-frag), 6px 0 10px -10px rgba(15, 27, 46, .55); }
/* the chart takes the pane: sized from the pane, not the viewport */
.dly .gpane { container-type: inline-size; }
.dly .gpane table.u-g { --u-namew: 210px; --u-tlw: max(300px, calc(100cqw - 210px - 190px)); min-width: 0; }
.dly .gpane table.u-g.dl-nocols { --u-tlw: calc(100cqw - 212px); }
.dly table.u-g.dl-nocols td:not(.stk):not(.u-tl), .dly table.u-g.dl-nocols th:not(.stk):not(.u-tlh-c):not(.tl) { display: none; }
.dly table.u-g.dl-nocols thead tr.sub th:not(.u-tlh-c) { display: none; }
.dly tr.dl-frow .ub.ucur { background: var(--dl-frag) !important; }
.dly .dl-src .u-dt { color: var(--u-prev, #7C89A6); }
.dly th.dl-srch { color: var(--u-prev, #7C89A6); } .dly th.dl-imph { color: var(--dl-bad); }
.dly .dl-sh { font-family: var(--u-mono); font-weight: 700; color: var(--dl-mu); }
.dly .dl-sh.is-bad { color: var(--dl-bad); } .dly .dl-sh.is-good { color: var(--dl-ok); }
.dly .uk.dl-fnk { background: var(--dl-frag); } .dly .uk.dl-evk { background: var(--dl-ev); width: 2px; }
.dly .dl-fin { border-radius: 12px; padding: 12px; background: var(--dl-soft); border: 1px solid var(--dl-line); margin-bottom: 8px; }
.dly .dl-fin .k { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-mu); }
.dly .dl-fin > b { display: block; font-family: var(--u-mono); font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin: 2px 0 6px; }
.dly .dl-fin.is-bad { background: #FDF3F0; border-color: rgba(198, 70, 43, .25); } .dly .dl-fin.is-bad > b { color: var(--dl-bad); }
.dly .dl-fin.is-ok { background: #F0F8F4; border-color: rgba(24, 141, 104, .25); } .dly .dl-fin.is-ok > b { color: var(--dl-ok); }
.dly .dl-fin2 { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-fin2 span { display: flex; flex-direction: column; }
.dly .dl-fin2 span b { font-size: 12px; color: var(--dl-ink); }
.dly .dl-fin2 i { font-style: normal; }
.dly .dl-cpbar { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--dl-mu); }
.dly .dl-cpbar b { font-family: var(--u-mono); font-size: 16px; color: var(--dl-ink); }
.dly .dl-cl { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; margin: 6px 0; font-size: 10.5px; }
.dly .dl-cl > span { font-weight: 800; color: var(--dl-mu); margin-right: 3px; }
.dly .dl-aid { font: inherit; font-family: var(--u-mono); font-size: 10.5px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--dl-line); background: #fff; cursor: pointer; color: var(--dl-ink); }
.dly .dl-aid.is-bad { border-color: rgba(198, 70, 43, .4); color: var(--dl-bad); } .dly .dl-aid.is-ok { border-color: rgba(24, 141, 104, .4); color: var(--dl-ok); }
.dly .dl-aid.fn { border-color: rgba(155, 77, 202, .45); color: var(--dl-frag); }
.dly .dl-wf { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.dly .dl-wf li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 60px; gap: 8px; align-items: center; font-size: 11px; }
.dly .dl-wf li i { display: block; height: 8px; border-radius: 4px; }
.dly .dl-wf li.g i { background: var(--dl-bad); } .dly .dl-wf li.m i { background: var(--dl-ok); } .dly .dl-wf li.r i { background: #E08A6D; } .dly .dl-wf li.c i { background: repeating-linear-gradient(45deg, var(--dl-bad) 0 3px, #fff 3px 6px); }
.dly .dl-wf li b { text-align: right; }
.dly .dl-wf li.net { grid-template-columns: 1fr auto; padding: 7px 9px; border-radius: 8px; background: #1F4E79; color: #fff; font-weight: 800; }
.dly .dl-mit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; text-align: center; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-mit span { background: var(--dl-soft); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; }
.dly .dl-mit b { font-family: var(--u-mono); font-size: 16px; color: var(--dl-ink); }
.dly .dl-mit .g b { color: var(--dl-ok); }
.dly .dl-lk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11px; }

/* windows */
.dl-win .zero { stroke: rgba(15, 27, 46, .35); }
.dl-win .wc { cursor: pointer; }
.dl-win .band { fill: transparent; }
.dl-win .wc:nth-of-type(odd) .band { fill: rgba(15, 27, 46, .025); }
.dl-win .wc:hover .band, .dl-win .wc:focus .band { fill: rgba(31, 78, 121, .07); }
.dl-win .wc.on .band { fill: rgba(31, 78, 121, .11); stroke: var(--dl-acc); }
.dl-win .wc.same .band { fill: url(#none); stroke-dasharray: 3 3; stroke: rgba(15, 27, 46, .2); }
.dl-win .mv.late { fill: rgba(198, 70, 43, .78); } .dl-win .mv.early { fill: rgba(24, 141, 104, .78); }
.dl-win .wl { font-size: 12px; font-weight: 800; fill: var(--dl-ink); }
.dl-win .wv { font-size: 11.5px; font-weight: 700; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-win .bd { stroke: rgba(15, 27, 46, .12); }
.dl-win .cum { fill: none; stroke: var(--dl-acc); stroke-width: 2; }
.dl-win .cumd { fill: #fff; stroke: var(--dl-acc); stroke-width: 2; }
.dl-win .ddm path { fill: var(--u-dd, #2F6BD8); } .dl-win .ddm text { font-size: 9px; fill: var(--dl-mu); font-family: var(--u-mono); }

/* concurrency */
.dl-conc .lane { fill: #FAFBFD; stroke: rgba(15, 27, 46, .06); }
.dl-conc .lane.CONTRACTOR { fill: #FFFBF6; }
.dl-conc .ln { font-size: 12px; font-weight: 800; fill: var(--dl-ink); }
.dl-conc .ce { cursor: pointer; }
.dl-conc .ce text { font-size: 11.5px; font-weight: 700; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-conc .ce.nc rect { fill-opacity: .3; }
.dl-conc .ce.na rect { fill: #fff !important; stroke: #9AA6B8; stroke-dasharray: 3 2; }
.dl-conc .ce.focus rect { stroke: var(--dl-ink); stroke-width: 1.5; }
.dl-conc .ov { fill: rgba(15, 27, 46, .05); }
.dl-conc .ov.POTENTIAL_CONCURRENT { fill: rgba(198, 70, 43, .10); }
.dl-conc .pci { fill: none; stroke: var(--dl-bad); stroke-width: 1.5; stroke-dasharray: 5 3; }
.dly .dl-treat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dly .dl-treat li { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 9px; background: var(--dl-soft); font-size: 11.5px; }

/* contract */
.dly .dl-fws { display: flex; flex-direction: column; gap: 4px; }
.dly .dl-fws button { font: inherit; text-align: left; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--dl-line); background: #fff; cursor: pointer; display: flex; flex-direction: column; }
.dly .dl-fws button em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-fws button.on { border-color: var(--dl-acc); background: var(--dl-wash); }
.dly .dl-drop { display: flex; gap: 10px; align-items: center; padding: 14px; border: 2px dashed #C9D5E4; border-radius: 12px; cursor: pointer; background: var(--dl-soft); font-size: 11.5px; line-height: 1.45; }
.dly .dl-drop:hover, .dly .dl-drop.over { border-color: var(--dl-acc); background: var(--dl-wash); }
.dly .dl-drop .dl-ic { width: 26px; height: 26px; color: var(--dl-acc); }
.dly .dl-docs { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dly .dl-docs li { display: flex; flex-direction: column; padding: 7px 9px; border-radius: 8px; background: var(--dl-soft); position: relative; }
.dly .dl-docs li em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-docs li .dl-b { position: absolute; right: 4px; top: 4px; }
.dly .dl-clause { margin-top: 10px; border: 1px solid var(--dl-line); border-radius: 10px; padding: 10px; background: #FCFDFE; }
.dly .dl-clause .hd em { display: block; font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-clause p { line-height: 1.55; white-space: pre-wrap; font-size: 11.5px; }
.dly .dl-ruleform { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dly .dl-ruleform .dl-in, .dly .dl-ruleform .dl-sel { width: auto; }
.dly .dl-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dly .dl-rules li { padding: 7px 9px; border-radius: 8px; background: var(--dl-soft); font-size: 11.5px; display: flex; flex-direction: column; gap: 3px; opacity: .7; }
.dly .dl-rules li.win { opacity: 1; background: #EAF6F1; } .dly .dl-rules li.win.ref { background: #FDF6EA; }
.dly .dl-rules li.cand { opacity: 1; border: 1px dashed var(--dl-line); background: #fff; }
.dly .dl-rules li em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-rules li .dl-pill, .dly .dl-rules li .dl-b { align-self: flex-start; }

/* notices */
.dly .dl-ncs { display: flex; flex-direction: column; gap: 8px; }
.dly .dl-nc { flex: none; border: 1px solid var(--dl-line); border-radius: 12px; background: #fff; overflow: hidden; border-left: 5px solid var(--dl-unk); }
.dly .dl-nc.is-bad { border-left-color: var(--dl-bad); } .dly .dl-nc.is-warn { border-left-color: var(--dl-warn); } .dly .dl-nc.is-ok { border-left-color: var(--dl-ok); }
.dly .dl-nc.on { box-shadow: 0 0 0 2px rgba(31, 78, 121, .2); }
.dly .dl-nc .hd { width: 100%; display: flex; align-items: center; gap: 14px; font: inherit; text-align: left; padding: 10px 12px; border: 0; background: none; cursor: pointer; }
.dly .dl-nc .cd { flex: none; width: 64px; text-align: center; display: flex; flex-direction: column; }
.dly .dl-nc .cd b { font-family: var(--u-mono); font-size: 26px; font-weight: 800; line-height: 1; }
.dly .dl-nc.is-bad .cd b { color: var(--dl-bad); } .dly .dl-nc.is-warn .cd b { color: var(--dl-warn); }
.dly .dl-nc .cd em, .dly .dl-nc .bd em { font-style: normal; font-size: 10px; color: var(--dl-mu); }
.dly .dl-nc .bd { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dly .dl-nbar { height: 5px; border-radius: 3px; background: var(--dl-wash); overflow: hidden; }
.dly .dl-nbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--dl-ok), var(--dl-warn) 70%, var(--dl-bad)); }
.dly .dl-nc .ft { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr auto auto; gap: 6px; padding: 0 12px 10px 90px; }
.dly .dl-nc .dl-note { padding: 0 12px 8px 90px; margin: 0; }
.dly pre.dl-doc { white-space: pre-wrap; font-family: 'DM Sans', system-ui, sans-serif; font-size: 12.5px; line-height: 1.6; background: #fff; border: 1px solid var(--dl-line);
  border-radius: 10px; padding: 16px 18px; margin: 8px 0; box-shadow: 0 8px 20px -18px rgba(15, 27, 46, .5); }
.dly pre.dl-doc.ai { border-left: 3px solid var(--dl-ai); }

/* evidence */
.dly .dl-evl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dly .dl-evl button { width: 100%; display: flex; gap: 9px; align-items: center; font: inherit; font-size: 11.5px; text-align: left; padding: 7px 8px; border-radius: 9px; border: 1px solid var(--dl-line); background: #fff; cursor: pointer; }
.dly .dl-evl button.on { border-color: var(--dl-acc); background: var(--dl-wash); }
.dly .dl-evl button span { display: flex; flex-direction: column; min-width: 0; }
.dly .dl-evl em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-compl { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dly .dl-compl .dl-ring text { font-size: 16px; }

/* reports */
.dly .dl-rkinds { display: flex; flex-direction: column; gap: 4px; }
.dly .dl-rkinds button { font: inherit; text-align: left; display: grid; grid-template-columns: 20px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--dl-line); background: #fff; cursor: pointer; }
.dly .dl-rkinds button .dl-ic { grid-row: span 2; color: var(--dl-acc); }
.dly .dl-rkinds button em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-rkinds button.on { border-color: var(--dl-acc); background: var(--dl-wash); }
.dly .dl-paper { background: #E9EEF4; padding: 18px; }
.dly .dl-rep { background: #fff; max-width: 920px; margin: 0 auto; padding: 34px 40px; border-radius: 4px; box-shadow: 0 16px 40px -24px rgba(15, 27, 46, .55); font-size: 12px; line-height: 1.5; }
.dly .dl-rh { border-bottom: 3px solid #1F4E79; padding-bottom: 12px; margin-bottom: 14px; }
.dly .dl-rh .k { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--dl-acc); text-transform: uppercase; }
.dly .dl-rh h1 { font-size: 21px; margin: 4px 0; }
.dly .dl-rh .m { font-size: 11px; color: var(--dl-mu); }
.dly .dl-rs { margin: 18px 0; break-inside: avoid-page; }
.dly .dl-rs h2 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 0 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--dl-line); }
.dly .dl-rs h2 span { width: 22px; height: 22px; border-radius: 6px; background: #1F4E79; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.dly .dl-rf { margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--dl-line); font-size: 10.5px; color: var(--dl-mu); }
.dly dl.dl-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 6px 0; }
.dly dl.dl-kv dt { color: var(--dl-mu); font-size: 11px; }
.dly dl.dl-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dly .dl-rl { padding-left: 18px; margin: 6px 0; }
.dly .dl-refs { font-size: 11px; background: var(--dl-soft); border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
.dly .dl-refs ul { margin: 4px 0 0; padding-left: 16px; }
.dly .dl-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; margin: 8px 0; }
.dly .dl-figs > div { border: 1px solid var(--dl-line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.dly .dl-figs span { font-size: 10px; color: var(--dl-mu); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dly .dl-figs b { font-family: var(--u-mono); font-size: 16px; }
.dly .dl-figs .is-bad b { color: var(--dl-bad); } .dly .dl-figs .is-good b, .dly .dl-figs .is-ok b { color: var(--dl-ok); }
.dly .dl-rgantt { border: 1px solid var(--dl-line); border-radius: 8px; overflow: hidden; margin: 8px 0; }
.dly .dl-rgantt .dl-gscroll { height: auto; max-height: none; overflow: visible; }
.dly table.dl-t.rt th { position: static; }
.dly table.dl-t.eot tr.net td { font-weight: 800; background: #1F4E79; color: #fff; }
.dly .dl-cover { text-align: center; padding: 40px 10px; background: linear-gradient(135deg, #F1F5FB, #E6EEF8); border-radius: 8px; }
.dly .dl-cover .k { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--dl-acc); }
.dly .dl-cover h1 { font-size: 24px; margin: 10px 0; }
.dly .dl-cover .m { color: var(--dl-mu); font-size: 11px; margin-top: 6px; }

/* printing a report: the report and nothing else */
body.dl-printbody { margin: 0; }
.upd.dly.print { height: auto; min-height: 0; overflow: visible; display: block; }
.upd.dly.print .dl-rep { box-shadow: none; max-width: none; padding: 0; }
.upd.dly.print .dl-b { display: none; }

/* ════════════════════════════════════════════════════════════════════
   OVERVIEW · COMPLETION — the verdict, the drift chart, the record
   The main column scrolls as one page, so the chart is never clipped;
   every pane in it takes its natural height.
═══════════════════════════════════════════════════════════════════ */
.dl-ov .dl-ancol { overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.dl-ov .dl-ancol > .dl-pane { flex: none; overflow: visible; }
.dl-ov .dl-ancol > .dl-pane > .dl-scroll { overflow: visible; flex: none; }
.dl-ov .dl-ph .dl-segs { margin-left: auto; }
.dl-ov .dl-segs.sm .dl-seg { padding: 4px 10px; }

.dly .dl-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 0; margin: 10px 12px 0;
  border: 1px solid var(--dl-line); border-radius: 12px; overflow: hidden; background: var(--dl-paper); }
.dly .dl-hero .hv { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; border-left: 4px solid var(--dl-unk); background: var(--dl-soft); min-width: 0; }
.dly .dl-hero.is-ok .hv { border-left-color: var(--dl-ok); } .dly .dl-hero.is-warn .hv { border-left-color: var(--dl-warn); } .dly .dl-hero.is-bad .hv { border-left-color: var(--dl-bad); }
.dly .dl-hero .hv .k, .dly .dl-sf .k { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dl-mu); }
.dly .dl-hero .hv b { font-size: 19px; font-weight: 800; line-height: 1.25; color: var(--dl-ink); letter-spacing: -.2px; }
.dly .dl-hero.is-bad .hv b { color: var(--dl-bad); }
.dly .dl-hero .hv em { font-style: normal; font-size: 11.5px; color: var(--dl-mu); line-height: 1.4; }
.dly .dl-sf { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 0; border-left: 1px solid var(--dl-line);
  background: var(--dl-paper); color: var(--dl-ink); min-width: 0; position: relative; }
.dly button.dl-sf { cursor: pointer; }
.dly button.dl-sf:hover { background: var(--dl-soft); }
.dly .dl-sf b { font-family: var(--u-mono); font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.dly .dl-sf b small { font-size: 11px; color: var(--dl-mu); font-weight: 700; letter-spacing: 0; }
.dly .dl-sf em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); line-height: 1.35; }
.dly .dl-sf.is-bad b { color: var(--dl-bad); } .dly .dl-sf.is-warn b { color: var(--dl-warn); }
.dly .dl-sf::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: transparent; }
.dly .dl-sf.is-bad::after { background: var(--dl-bad); } .dly .dl-sf.is-warn::after { background: var(--dl-warn); } .dly .dl-sf.is-ok::after { background: var(--dl-ok); }
@container dly (max-width: 1250px) { .dly .dl-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dly .dl-hero .hv { grid-column: 1 / -1; } .dly .dl-hero .hv + .dl-sf { border-left: 0; } }
@container dly (max-width: 700px) { .dly .dl-hero { grid-template-columns: 1fr; } .dly .dl-sf { border-left: 0; border-top: 1px solid var(--dl-line); } }

.dly svg.dl-drift { width: 100%; height: auto; display: block; font-family: inherit; overflow: visible; }
.dl-drift .grid { stroke: rgba(15, 27, 46, .07); stroke-width: 1; }
.dl-drift .grid.zero { stroke: var(--dl-ink); stroke-opacity: .55; }
.dl-drift .axis { stroke: rgba(15, 27, 46, .18); }
.dl-drift .ax { font-size: 11px; fill: var(--dl-mu); font-family: var(--u-mono); }
.dl-drift .axt { font-size: 10px; fill: var(--dl-mu); font-weight: 700; }
.dl-drift .band.ent { fill: var(--dl-ok); fill-opacity: .10; }
.dl-drift .band.pot { fill: var(--dl-acc); fill-opacity: .08; }
.dl-drift .band.exp { fill: var(--dl-bad); fill-opacity: .035; }
.dl-drift .bandl { font-size: 11px; font-weight: 700; fill: var(--dl-ink); }
.dl-drift .bandl .sub, .dl-drift .refl .mono { fill: var(--dl-mu); font-weight: 600; }
.dl-drift .refl { font-size: 11px; font-weight: 700; fill: var(--dl-ink); }
.dl-drift .refl .bandl { font-weight: 700; }
.dl-drift .refl .mono, .dl-drift .curl .mono { font-family: var(--u-mono); }
.dl-drift .ref { stroke: var(--dl-ink); stroke-opacity: .5; stroke-width: 1; }
.dl-drift .aft { fill: var(--dl-soft); }
.dl-drift .aftl { font-size: 10px; fill: var(--dl-mu); font-weight: 700; }
.dl-drift .seg { stroke-width: 2.5; stroke-linecap: round; }
.dl-drift .seg.up { stroke: var(--dl-bad); } .dl-drift .seg.down { stroke: var(--dl-ok); } .dl-drift .seg.flat { stroke: #7C8DA3; }
.dl-drift .pt { fill: var(--dl-acc); stroke: #fff; stroke-width: 2; }
.dl-drift .pt.bl { fill: #fff; stroke: var(--dl-acc); stroke-width: 2; }
.dl-drift .pt.cur { fill: var(--dl-ink); stroke: #fff; stroke-width: 2.5; }
.dl-drift .dlt { font-size: 11px; font-weight: 800; font-family: var(--u-mono); fill: var(--dl-ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.dl-drift .curl { font-size: 12px; font-weight: 800; fill: var(--dl-ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.dl-drift .peak { font-size: 10.5px; font-weight: 700; fill: var(--dl-mu); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.dl-drift .xl { font-size: 11px; font-weight: 800; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-drift .xs { font-size: 10px; fill: var(--dl-mu); font-family: var(--u-mono); }
.dl-drift .lanel { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; fill: var(--dl-mu); }
.dl-drift .lanee { font-size: 11px; fill: var(--dl-mu); }
.dl-drift .hit { fill: transparent; cursor: default; }
.dl-drift .hit:hover { fill: rgba(31, 78, 121, .045); }
.dl-drift .evc, .dl-drift .gap { cursor: pointer; }
.dl-drift .evd circle { stroke: #fff; stroke-width: 2; }
.dl-drift .evd.s-EMPLOYER circle { fill: var(--dl-emp); } .dl-drift .evd.s-CONTRACTOR circle { fill: var(--dl-con); }
.dl-drift .evd.s-NEUTRAL circle { fill: var(--dl-neu); } .dl-drift .evd.s-UNKNOWN circle { fill: var(--dl-unk); }
.dl-drift .evd text { font-size: 11px; font-weight: 800; fill: var(--dl-ink); font-family: var(--u-mono); }
.dl-drift .gap rect { fill: rgba(183, 121, 31, .1); stroke: var(--dl-warn); stroke-width: 1; stroke-dasharray: 3 2; }
.dl-drift .gap text { font-size: 10.5px; font-weight: 800; fill: #8A5A12; }
.dl-drift .gap:hover rect, .dl-drift .gap:focus rect { fill: rgba(183, 121, 31, .2); }
.dl-drift .evc:focus, .dl-drift .gap:focus { outline: none; }
.dl-drift .evc:focus circle, .dl-drift .gap:focus rect { stroke: var(--dl-ink); }
.dly .dl-lgd .k.seg-up { background: var(--dl-bad); height: 3px; } .dly .dl-lgd .k.seg-down { background: var(--dl-ok); height: 3px; }
.dly .dl-lgd .k.b-ent { background: rgba(24, 141, 104, .18); } .dly .dl-lgd .k.b-pot { background: rgba(31, 78, 121, .14); }
.dly .dl-lgd .k.b-exp { background: rgba(198, 70, 43, .09); border: 1px solid rgba(198, 70, 43, .2); }
.dly .dl-lgd .k.gap { background: rgba(183, 121, 31, .12); border: 1px dashed var(--dl-warn); border-radius: 5px; }
.dly .dl-lgd .k.s-UNKNOWN { background: var(--dl-unk); }
.dly .dl-read { margin: 4px 4px 2px; font-size: 11px; line-height: 1.5; color: var(--dl-mu); max-width: 900px; }
.dly table.dl-drt td em { font-style: normal; font-size: 10px; color: var(--dl-mu); }
.dly table.dl-drt td.is-bad { color: var(--dl-bad); font-weight: 700; } .dly table.dl-drt td.is-ok { color: var(--dl-ok); font-weight: 700; }

/* the delay record: what is in place, what comes next */
.dly .dl-steps { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: none; }
.dly .dl-steps li > button, .dly .dl-steps li > div { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  font: inherit; font-size: 11.5px; text-align: left; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--dl-ink); }
.dly .dl-steps li > button { cursor: pointer; }
.dly .dl-steps li > button:hover { background: var(--dl-soft); border-color: var(--dl-line); }
.dly .dl-steps .n { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800;
  background: var(--dl-wash); color: var(--dl-mu); }
.dly .dl-steps .tx { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.dly .dl-steps .k { font-weight: 800; }
.dly .dl-steps .v { color: var(--dl-mu); font-size: 11px; line-height: 1.35; }
.dly .dl-steps li.done .n { background: var(--dl-ok); color: #fff; }
.dly .dl-steps li.next > * { background: #F2F6FC; border-color: rgba(31, 78, 121, .28); }
.dly .dl-steps li.next .n { background: var(--dl-acc); color: #fff; }
.dly .dl-steps li.next .v { color: var(--dl-ink); }
.dly .dl-steps li.is-bad .n { background: var(--dl-bad); color: #fff; } .dly .dl-steps li.is-bad .v { color: var(--dl-bad); font-weight: 700; }
.dly .dl-steps li.na { opacity: .55; }
.dly .dl-steps .go { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--dl-acc); padding: 2px 7px; border-radius: 10px; }

/* chart tooltip — lives on <body>, so it is styled outside .dly */
.dl-tip { position: fixed; z-index: 100000; display: none; pointer-events: none; max-width: 340px; padding: 8px 10px; border-radius: 8px;
  background: #0F1B2E; color: #E8EEF6; font: 500 11.5px/1.45 Inter, system-ui, sans-serif; box-shadow: 0 10px 28px -10px rgba(15, 27, 46, .55); }
.dl-tip b { display: block; font-weight: 800; color: #fff; margin-bottom: 2px; }


/* ════════════════════════════════════════════════════════════════════
   THE STUDIO — the programme as the Gantt chart draws it, with the delay
   events on it. WBS bands take the Gantt's own level palette; bars are the
   Gantt's: actual work blue, remaining red on the critical path, green off
   it; WBS summaries black with pointed ends; milestones black diamonds.
═══════════════════════════════════════════════════════════════════ */
.dly .st-wrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.dly .st-bar { flex: none; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow: hidden; background: var(--dl-paper); border: 1px solid var(--dl-line); border-radius: 10px; padding: 4px 6px; }
.dly .st-tools { display: inline-flex; gap: 2px; background: var(--dl-wash); border-radius: 8px; padding: 2px; flex: none; }
.dly .st-tools .dl-seg { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; font-size: 11.5px; }
.dly .st-tools .sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; background: var(--dl-unk); }
.dly .sw.s-EMPLOYER, .dly .sd.s-EMPLOYER { background: var(--dl-emp) !important; } .dly .sw.s-CONTRACTOR, .dly .sd.s-CONTRACTOR { background: var(--dl-con) !important; } .dly .sw.s-NEUTRAL, .dly .sd.s-NEUTRAL { background: var(--dl-neu) !important; }
.dly .st-bar > .dl-seg { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--dl-line); background: #fff; }
.dly .st-bar > .dl-seg.on { background: #0F1B2E; color: #fff; border-color: #0F1B2E; }
.dly .st-bar .dl-segs { flex: none; }
.dly .st-basis { width: auto; max-width: 180px; flex: none; }
.dly .st-fin { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--dl-soft); border: 1px solid var(--dl-line); font-size: 11px; }
.dly .st-fin b { font-size: 11.5px; } .dly .st-fin i { font-style: normal; color: var(--dl-mu); }
.dly .st-fin strong { font-family: var(--u-mono); font-size: 13.5px; font-weight: 800; }
.dly .st-fin.late { border-color: rgba(198, 70, 43, .35); background: rgba(198, 70, 43, .06); } .dly .st-fin.late strong { color: var(--dl-bad); }
.dly .st-fin.early strong { color: var(--dl-ok); }
@container dly (max-width: 1350px) { .dly .st-tools .dl-seg { padding: 5px 7px; } .dly .st-bar > .dl-seg svg + * { display: none; } .dly .st-fin > b { display: none; } .dly .st-fin > i { display: none; } }

.dly .st-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.dly .st-main > .st-gantt { flex: 1 1 auto; }

.dly .st-gantt { min-height: 0; min-width: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; position: relative;
  background: #fff; border: 1px solid #D5DEE9; border-radius: 10px; font-family: 'DM Sans', system-ui, sans-serif; --st-lw: 540px; }
@container dly (max-width: 1350px) { .dly .st-gantt { --st-lw: 330px; } .dly .st-gantt .c-dt, .dly .st-gantt .c-du { display: none; } }
.dly .st-main { position: relative; }
.dly .st-main.st-busy::after { content: 'Calculating on the project CPM…'; position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .55); color: #1F4E79; font-weight: 800; font-size: 13px; border-radius: 10px; cursor: progress; }
.dly .st-grid { width: calc(var(--st-lw) + var(--st-cw)); min-width: 100%; }
.dly .st-hrow { position: sticky; top: 0; z-index: 4; display: flex; height: 40px; }
.dly .st-brow { display: flex; }
.dly .st-corner, .dly .st-names .tr { display: grid; grid-template-columns: 78px minmax(0, 1fr) 34px 82px 82px 36px; align-items: center; }
@container dly (max-width: 1350px) { .dly .st-corner, .dly .st-names .tr { grid-template-columns: 74px minmax(0, 1fr) 34px; } }
.dly .st-corner { position: sticky; left: 0; z-index: 5; flex: none; width: var(--st-lw); box-sizing: border-box; background: #F8FAFC; border-right: 1px solid #C8D6E5; border-bottom: 1px solid #C8D6E5;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #43546A; }
.dly .st-corner > span, .dly .st-names .tr > span { padding: 0 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .c-du, .dly .c-sh { text-align: right; } .dly .c-dt { text-align: center; }
.dly .st-head { flex: none; width: var(--st-cw); border-bottom: 1px solid #C8D6E5; background: #F8FAFC; box-shadow: 0 2px 6px rgba(27, 26, 23, .06); }
.dly .st-names { position: sticky; left: 0; z-index: 3; flex: none; width: var(--st-lw); box-sizing: border-box; background: #fff; border-right: 1px solid #C8D6E5; box-shadow: 4px 0 10px rgba(0, 0, 0, .06); }
.dly .st-chart { flex: none; width: var(--st-cw); position: relative; }
.dly .st-hsvg, .dly .st-svg { display: block; font-family: 'DM Sans', system-ui, sans-serif; }
.st-hsvg .yl { font-size: 11px; font-weight: 800; fill: #0F172A; } .st-hsvg .ml { font-size: 10.5px; font-weight: 800; fill: #43546A; letter-spacing: .06em; }
.st-hsvg .mt, .st-hsvg .yt { stroke: #D5DEE9; } .st-hsvg .hr { stroke: #E2E8F0; }
.st-hsvg .hfin text { font-size: 11px; font-weight: 800; font-family: var(--u-mono); fill: var(--dl-bad); } .st-hsvg .hfin.early text { fill: var(--dl-ok); }

/* the table */
.dly .st-names .tr { height: 22px; box-sizing: border-box; width: 100%; font: inherit; font-size: 11px; text-align: left; border: 0; border-bottom: 1px solid #E5E9EF; background: #F6F8F9; color: #1F2937; cursor: default; }
.dly .st-names button.tr { cursor: pointer; }
.dly .st-names .tr.act:hover, .dly .st-names .tr.ev:hover { background: #EDF3FA; }
.dly .st-names .tr .c-id { font-size: 10.5px; color: #475569; }
.dly .st-names .tr.act .c-nm { padding-left: calc(6px + var(--lv, 0) * 8px); font-weight: 600; }
.dly .st-names .tr.act.is-crit { color: #8B3A1F; } .dly .st-names .tr.act.is-crit .c-id { color: #B42318; font-weight: 700; }
.dly .st-names .tr.act.done { color: #64748B; }
.dly .st-names .tr .c-dt { font-family: var(--u-mono); font-size: 10.5px; }
.dly .st-names .tr .c-dt i { font-style: normal; font-size: 9px; color: #2458C6; margin-left: 2px; font-weight: 800; }
.dly .st-names .tr .c-du { font-family: var(--u-mono); font-size: 10.5px; }
.dly .st-names .tr .c-sh { font-family: var(--u-mono); font-size: 10.5px; font-weight: 800; }
.dly .st-names .tr .c-sh.late { color: var(--dl-bad); } .dly .st-names .tr .c-sh.early { color: var(--dl-ok); }
.dly .st-names .tr.foc { background: #E3EEFB; box-shadow: inset 3px 0 0 #2458C6; }
.dly .st-names .tr.dim { opacity: .38; }
.dly .st-names .tr.wbs { background: var(--wbg, #1C2B1A); color: var(--wtx, #fff); border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 800; }
.dly .st-names .tr.wbs .c-id, .dly .st-names .tr.wbs .c-dt { color: inherit; opacity: .92; font-weight: 800; }
.dly .st-names .tr.wbs .c-nm { padding-left: calc(4px + var(--lv, 0) * 8px); }
.dly .st-names .tr.wbs .tw { font-size: 9px; margin-right: 5px; opacity: .8; }
.dly .st-names .tr.sec { background: #0F1B2E; color: #fff; font-weight: 800; font-size: 10.5px; letter-spacing: .04em; }
.dly .st-names .tr.sec .c-id { color: #9FB3CC; font-size: 9.5px; letter-spacing: .1em; }
.dly .st-names .tr.sec em { font-style: normal; margin-left: 6px; font-size: 10px; padding: 0 6px; border-radius: 8px; background: rgba(255, 255, 255, .16); }
.dly .st-names .tr.ev { background: #fff; }
.dly .st-names .tr.ev .c-id { display: flex; align-items: center; gap: 5px; color: #0F1B2E; font-weight: 800; }
.dly .st-names .tr.ev .sd { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.dly .st-names .tr.ev .c-nm { font-weight: 700; }
.dly .st-names .tr.ev.sub .c-nm { padding-left: 16px; font-weight: 500; color: #475569; }
.dly .st-names .tr.new { background: #FBFCFD; color: #7C8DA3; font-size: 10.5px; }
.dly .st-names .tr.new .dl-ic { width: 12px; height: 12px; }
.dly .st-names .tr.new.armed { color: #2458C6; font-weight: 700; background: #EEF4FC; }

/* the chart */
.st-svg .bg { fill: #fff; } .st-svg .bg.odd { fill: #FAFBFC; }
.st-svg .bg.k-wbs { fill: #EEF1F5; } .st-svg .bg.k-evsec { fill: #E6EBF2; }
.st-svg .bg.k-new { fill: #FBFCFD; } .st-svg .bg.k-evph { fill: #FFFBF3; }
.st-svg .bg.foc { fill: #EAF2FC; }
.tool-draw .st-svg .bg.k-act:hover, .tool-draw .st-svg .bg.k-new:hover, .tool-draw .st-svg .bg.k-evph:hover { fill: #E5EEF9; }
.st-svg .mg { stroke: #E7ECF2; }
.st-svg .dd { stroke: #2F6BD8; stroke-width: 1.5; }
.st-svg .fin { stroke-width: 1.2; stroke-dasharray: 4 3; } .st-svg .fin.b { stroke: #94A3B8; } .st-svg .fin.late { stroke: var(--dl-bad); } .st-svg .fin.early { stroke: var(--dl-ok); }
.st-svg .sx-sum rect, .st-svg .sx-sum path { fill: #111827; }
.st-svg .sx-b-act { fill: #3B72DC; } .st-svg .sx-b-crit { fill: #E1452C; } .st-svg .sx-b-non { fill: #1FA35B; }
.st-svg .sx-bo { fill: none; stroke: rgba(15, 23, 42, .55); stroke-width: .8; }
.st-svg .sx-crit .sx-bo { stroke: #A82A18; } .st-svg .sx-act .sx-bo { stroke: #1B449B; } .st-svg .sx-non .sx-bo { stroke: #157A43; }
.st-svg .sx-bar.sel .sx-bo { stroke: #0F172A; stroke-width: 2; }
.st-svg .sx-ms { fill: #111; stroke: #000; } .st-svg .sx-ms.sel { stroke: #2458C6; stroke-width: 2; }
.st-svg .sx-ghost { fill: #94A3B8; } .st-svg .sx-ghostm { fill: none; stroke: #94A3B8; stroke-width: 1.2; }
.st-svg .sx-nm { font-size: 10.5px; font-weight: 700; fill: #1F2937; pointer-events: none; }
.st-svg .sx-nm .sh, .st-svg .eb text .sh { font-family: var(--u-mono); font-weight: 800; }
.st-svg .sh.late { fill: var(--dl-bad); } .st-svg .sh.early { fill: var(--dl-ok); }
.st-svg .sx-hnd { fill: transparent; }
.st-svg .sx-arow.dim { opacity: .22; }
.path-on .st-svg .sx-arow.onpath .sx-bo { stroke: #0F172A; stroke-width: 1.6; }
.st-svg .eb .sx-bd { fill: var(--dl-unk); }
.st-svg .eb.s-EMPLOYER .sx-bd { fill: var(--dl-emp); } .st-svg .eb.s-CONTRACTOR .sx-bd { fill: var(--dl-con); } .st-svg .eb.s-NEUTRAL .sx-bd { fill: var(--dl-neu); }
.st-svg .eb .sx-hatch { fill: url(#st-hatch); pointer-events: none; }
.st-svg .eb .sx-bd { stroke: rgba(15, 23, 42, .55); stroke-width: .8; }
.st-svg .eb.foc .sx-bd { stroke: #0F172A; stroke-width: 2; }
.st-svg .eb.on-act .sx-bd { stroke: #fff; stroke-width: 1; }
.st-svg .eb.out { opacity: .3; }
.st-svg .eb text { font-size: 10.5px; font-weight: 600; fill: #1F2937; pointer-events: none; }
.st-svg .eb text .eid { font-weight: 800; font-family: var(--u-mono); } .st-svg .eb text .mu { fill: #64748B; font-weight: 500; }
.st-svg .eb.sx-ph rect { fill: rgba(183, 121, 31, .08); stroke: var(--dl-warn); stroke-dasharray: 3 2; }
.st-svg .lk path { fill: none; stroke-width: 1.2; stroke: #64748B; } .st-svg .lk path.ah { stroke: none; fill: #64748B; }
.st-svg .lk.s-EMPLOYER path { stroke: var(--dl-emp); } .st-svg .lk.s-EMPLOYER path.ah { fill: var(--dl-emp); }
.st-svg .lk.s-CONTRACTOR path { stroke: var(--dl-con); } .st-svg .lk.s-CONTRACTOR path.ah { fill: var(--dl-con); }
.st-svg .lk.s-NEUTRAL path { stroke: var(--dl-neu); } .st-svg .lk.s-NEUTRAL path.ah { fill: var(--dl-neu); }
.st-svg .lk { pointer-events: none; } .st-svg .lk.foc path { stroke-width: 2; }
.st-svg .draft { opacity: .55; stroke: #0F1B2E; stroke-dasharray: 3 2; }
.st-svg .draft.s-EMPLOYER { fill: var(--dl-emp); } .st-svg .draft.s-CONTRACTOR { fill: var(--dl-con); } .st-svg .draft.s-NEUTRAL { fill: var(--dl-neu); }
.st-svg .draftl { stroke: #2458C6; stroke-width: 2; stroke-dasharray: 4 3; fill: none; }
.tool-draw .st-svg { cursor: crosshair; }
.tool-select .st-svg .eb { cursor: grab; } .tool-select .st-svg .sx-hnd { cursor: ew-resize; }
.tool-select .st-svg .sx-bar, .tool-select .st-svg .sx-ms { cursor: pointer; }
.tool-tie .st-svg .eb, .tool-tie .st-svg .sx-bar, .tool-tie .st-svg .sx-ms { cursor: alias; }
.tool-prolong .st-svg .sx-bar { cursor: e-resize; }
.st-svg .eb, .st-svg .sx-bar { touch-action: none; }

/* the popover on an activity */
.dly .st-pop { position: absolute; z-index: 5; width: 280px; background: #fff; border: 1px solid #C8D6E5; border-radius: 10px; box-shadow: 0 14px 34px -14px rgba(15, 27, 46, .45); padding: 8px; display: flex; flex-direction: column; gap: 7px; font-family: 'DM Sans', system-ui, sans-serif; }
.dly .st-pop .ph { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.dly .st-pop .ph span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.dly .st-pop .pn { margin: 0; font-size: 11px; color: var(--dl-mu); }
.dly .pside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.dly .sp-ev .pside { grid-template-columns: repeat(3, minmax(0, 1fr)) 30px; }
.dly .pside button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .pside button { font: inherit; font-size: 11px; font-weight: 700; padding: 5px 4px; border-radius: 7px; border: 1px solid var(--dl-line); background: #fff; color: #475569; cursor: pointer; }
.dly .pside button.on { color: #fff; border-color: transparent; background: #64748B; }
.dly .pside button.on.s-EMPLOYER { background: var(--dl-emp); } .dly .pside button.on.s-CONTRACTOR { background: #C46A12; } .dly .pside button.on.s-NEUTRAL { background: #13875E; }
.dly .st-pop .pdays { display: grid; grid-template-columns: 70px 1fr; gap: 6px; }
.dly .st-pop label, .dly .sp-row label { display: flex; flex-direction: column; gap: 2px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; min-width: 0; }
.dly .st-pop .pacts { display: flex; flex-direction: column; gap: 4px; }
.dly .dl-b.pa { justify-content: flex-start; gap: 9px; padding: 7px 9px; text-align: left; white-space: normal; }
.dly .dl-b.pa span { display: flex; flex-direction: column; }
.dly .dl-b.pa em { font-style: normal; font-weight: 500; font-size: 10.5px; color: #64748B; }
.dly .dl-b.pa:hover { border-color: #2458C6; background: #F2F7FE; }
.dly .st-pop .pev { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid #E5E9EF; padding-top: 6px; }
.dly .st-pop .pev button, .dly .sp-led button { display: flex; align-items: center; gap: 5px; font: inherit; font-size: 11px; border: 0; background: none; padding: 2px 0; cursor: pointer; color: #1F2937; text-align: left; }
.dly .sd { display: inline-block; width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--dl-unk); }

/* the panel */
.dly .st-panel { background: var(--dl-paper); border: 1px solid var(--dl-line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.dly .sp-fin { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 9px 11px; border-radius: 9px; background: var(--dl-soft); border: 1px solid var(--dl-line); }
.dly .sp-fin span { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.dly .sp-fin b { font-family: var(--u-mono); font-size: 20px; font-weight: 800; grid-row: 1 / 3; grid-column: 2; }
.dly .sp-fin em { font-style: normal; font-size: 11px; color: #64748B; }
.dly .sp-fin.late { background: rgba(198, 70, 43, .06); border-color: rgba(198, 70, 43, .3); } .dly .sp-fin.late b { color: var(--dl-bad); } .dly .sp-fin.early b { color: var(--dl-ok); }
.dly .sp-empty { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: #64748B; padding: 6px 2px; line-height: 1.45; }
.dly .sp-empty b { color: #0F1B2E; font-size: 12.5px; }
.dly .sp-h { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0F1B2E; display: flex; flex-direction: column; gap: 1px; margin-bottom: 5px; }
.dly .sp-h span { font-size: 10.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #64748B; }
.dly .sp-led { width: 100%; border-collapse: collapse; font-size: 11px; }
.dly .sp-led th { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; text-align: left; padding: 3px 2px; border-bottom: 1px solid #E5E9EF; }
.dly .sp-led td { padding: 3px 2px; border-bottom: 1px solid #F0F3F7; font-family: var(--u-mono); }
.dly .sp-led .num { text-align: right; } .dly .sp-led .strong { font-weight: 800; } .dly .sp-led .late { color: var(--dl-bad); }
.dly .sp-led tr.on td { background: #EEF4FC; } .dly .sp-led tr.tot td { border-bottom: 0; font-family: inherit; font-weight: 800; }
.dly .sp-led .own { font-family: inherit; font-size: 10px; color: #8A5A12; }
.dly .sp-led .sec { display: inline-flex; align-items: center; gap: 2px; color: var(--dl-ok); font-weight: 800; }
.dly .sp-led .sec .dl-ic, .dly .sp-note .dl-ic, .dly .sp-why .dl-ic, .dly .sp-hint .dl-ic, .dly .sp-bad .dl-ic { width: 12px; height: 12px; }
.dly .sp-note { display: flex; gap: 6px; margin-top: 8px; font-size: 11px; color: #334155; line-height: 1.4; }
.dly .sp-why { margin-top: 6px; font-size: 11px; }
.dly .sp-why summary { cursor: pointer; color: #2458C6; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; list-style: none; }
.dly .sp-why ul { margin: 6px 0 0; padding-left: 14px; display: flex; flex-direction: column; gap: 6px; color: #334155; line-height: 1.45; }
.dly .sp-ev { display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--dl-unk); padding-left: 9px; }
.dly .sp-ev.s-EMPLOYER { border-left-color: var(--dl-emp); } .dly .sp-ev.s-CONTRACTOR { border-left-color: var(--dl-con); } .dly .sp-ev.s-NEUTRAL { border-left-color: var(--dl-neu); }
.dly .sp-evh { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #64748B; }
.dly .dl-in.ttl { font-size: 13px; font-weight: 800; padding: 7px 9px; }
.dly .sp-row { display: grid; grid-template-columns: 1fr 70px; gap: 5px; }
.dly .sp-row label.w { grid-column: 1 / -1; }
.dly .chips { display: flex; flex-wrap: wrap; gap: 4px; }
.dly .chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 3px 2px 2px; border-radius: 7px; border: 1px solid #D5DEE9; background: #F8FAFC; font-size: 10.5px; }
.dly .chip select.tt { font: inherit; font-size: 10px; font-weight: 800; border: 0; background: #E6ECF4; border-radius: 5px; padding: 1px 2px; }
.dly .chip em { font-style: normal; font-size: 10px; color: #64748B; padding-left: 3px; }
.dly .chip .dn { width: 38px; font: inherit; font-size: 10.5px; border: 1px solid #D5DEE9; border-radius: 5px; padding: 1px 3px; }
.dly .chip .dl-b.x { padding: 1px; border: 0; background: none; }
.dly .chip .dl-b.x .dl-ic { width: 11px; height: 11px; }
.dly .sp-hint { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #64748B; }
.dly .sp-hint.own { color: #8A5A12; line-height: 1.4; }
.dly .sp-bad { display: flex; gap: 5px; font-size: 11px; color: var(--dl-bad); }
.dly .sp-imp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--dl-line); border-radius: 9px; overflow: hidden; }
.dly .sp-imp > div { display: flex; flex-direction: column; padding: 6px 8px; border-right: 1px solid var(--dl-line); }
.dly .sp-imp > div:last-child { border-right: 0; }
.dly .sp-imp span { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.dly .sp-imp b { font-family: var(--u-mono); font-size: 14px; } .dly .sp-imp b.late { color: var(--dl-bad); }
.dly .sp-rec { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.dly .sp-rec span { flex: 1 1 auto; } .dly .sp-rec .dl-ic { width: 12px; height: 12px; color: var(--dl-ok); }
.dly .sp-meth summary { cursor: pointer; font-size: 11px; font-weight: 700; color: #2458C6; }
.dly .sp-meth ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.dly .sp-meth li { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 6px; font-size: 10.5px; color: #475569; }
.dly .sp-meth li em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .sp-foot { display: flex; justify-content: space-between; }


/* ── the Studio, method first ───────────────────────────────────────── */
.dly .st-bar.mb { gap: 8px; }
.dly .st-bar.tb { margin-top: -2px; background: #F8FAFC; }
.dly .st-mchip { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid #1F4E79; background: #1F4E79; color: #fff; cursor: pointer; }
.dly .st-mchip b { font-size: 12.5px; } .dly .st-mchip em { font-style: normal; font-size: 10.5px; opacity: .75; } .dly .st-mchip i { font-style: normal; font-size: 10px; opacity: .8; }
.dly .st-src { font-size: 11px; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dly .st-err { font-size: 11px; color: var(--dl-bad); }
.dly .st-step { display: inline-flex; align-items: center; gap: 4px; }
.dly .st-step b { font-family: var(--u-mono); font-size: 12px; } .dly .st-step b em { font-style: normal; color: #64748B; font-weight: 600; }
.dly .st-strip { font-size: 11.5px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; }
.dly .st-strip b.late { color: var(--dl-bad); } .dly .st-strip b.early { color: var(--dl-ok); } .dly .st-strip em { font-style: normal; color: #64748B; }
.dly .st-strip.is-bad { color: var(--dl-bad); }
@container dly (max-width: 1350px) { .dly .st-src { display: none; } }

/* the drawer: over the Gantt, only while it is needed */
.dly .st-drawer { position: absolute; top: 8px; right: 8px; bottom: 8px; width: 330px; max-width: calc(100% - 16px); z-index: 12; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #C8D6E5; border-radius: 12px; box-shadow: 0 18px 44px -18px rgba(15, 27, 46, .45); }
.dly .st-drawer .dr-h { flex: none; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-bottom: 1px solid #E5E9EF; }
.dly .st-drawer .dr-h b { font-size: 12px; margin: 0 4px; }
.dly .st-drawer .dr-h .dl-seg { border: 1px solid transparent; }
.dly .st-drawer .dr-b { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.dly .mn { margin: 4px 0 8px; padding-left: 16px; font-size: 11px; line-height: 1.45; color: #334155; display: flex; flex-direction: column; gap: 4px; }

/* Before · After */
.dly .st-gap { flex: none; width: 8px; background: repeating-linear-gradient(90deg, #E2E8F0 0 1px, #F8FAFC 1px 8px); }
.dly .st-gap.h { height: 40px; }
.dly .split .st-head { flex: none; }
.st-hsvg .pn.before { fill: #EEF1F5; } .st-hsvg .pn.after { fill: #FDF1EE; }
.st-hsvg .pl { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; fill: #0F1B2E; } .st-hsvg .pl .pf { font-family: var(--u-mono); fill: #475569; font-weight: 700; }

/* the event, strongly, on the activity it acts on */
.st-svg .sx-slip { fill: #E1452C; fill-opacity: .16; stroke: #E1452C; stroke-opacity: .55; stroke-width: 1; stroke-dasharray: 3 2; }
.st-svg .sx-push { fill: #94A3B8; fill-opacity: .18; stroke: #94A3B8; stroke-dasharray: 3 2; }
.st-svg .bg.hit { fill: #FFF8EE; }
.st-svg .sx-bar.hit .sx-bo { stroke: #0F172A; stroke-width: 1.4; }
.st-svg .sx-nm.hit { font-weight: 800; }
.st-svg .eb.on-act .sx-bd { stroke: #0F172A; stroke-width: 1.2; }
.st-svg .eb.on-act .sx-hatch { fill: url(#st-hatch); }
.dly .st-names .tr.act.hit { box-shadow: inset 3px 0 0 #D9822B; background: #FFF8EE; }

/* the picker */
.dly .st-pick { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 4px 2px; }
.dly .pk-h { display: flex; flex-direction: column; gap: 4px; }
.dly .pk-h b { font-size: 17px; } .dly .pk-h span { font-size: 12px; color: #475569; max-width: 900px; line-height: 1.5; }
.dly .pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.dly .pk-c { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid #D5DEE9; background: #fff; color: #0F1B2E; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 27, 46, .04); transition: border-color .12s, box-shadow .12s, transform .12s; }
.dly .pk-c:hover { border-color: #1F4E79; box-shadow: 0 12px 26px -18px rgba(31, 78, 121, .6); transform: translateY(-1px); }
.dly .pk-c.weak { opacity: .7; }
.dly .pk-t { display: flex; flex-direction: column; } .dly .pk-t b { font-size: 14px; } .dly .pk-t em { font-style: normal; font-size: 10.5px; color: #64748B; }
.dly .pk-q { font-size: 12.5px; font-weight: 700; color: #1F4E79; }
.dly .pk-on { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; color: #334155; } .dly .pk-on .dl-ic { width: 13px; height: 13px; flex: none; margin-top: 1px; }
.dly .pk-c ol { margin: 0; padding-left: 16px; font-size: 11px; color: #475569; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; }
.dly .pk-rd { font-size: 10.5px; color: #475569; border-top: 1px solid #EEF1F5; padding-top: 7px; line-height: 1.6; }
.dly .pk-rd i { font-style: normal; font-weight: 800; margin-right: 5px; } .dly .pk-rd i.y { color: var(--dl-ok); } .dly .pk-rd i.n { color: var(--dl-warn); }

@media print {
  .upd.dly.print .dl-rs { break-inside: auto; }
  .upd.dly.print .dl-rs h2 { break-after: avoid; }
  .upd.dly.print table { break-inside: auto; }
  .upd.dly.print tr { break-inside: avoid; }
}

/* ── fitted to narrow panes ─────────────────────────────────────────── */
.dly .dl-card .c3 { overflow: hidden; align-items: flex-start; }
.dly .dl-card .c3 .dl-pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.dly .dl-tree label, .dly .dl-checks label, .dly .dl-tog { min-height: 0; margin: 0; padding: 0; }
.dly .dl-tree li { min-height: 26px; }
.dly .dl-evform { grid-template-columns: 150px minmax(180px, 1.6fr) minmax(150px, 1fr); }
.dly .dl-evform > .dl-b { justify-self: start; }
.dly .dl-chk li em { white-space: normal; text-align: right; max-width: 42%; }
.dly .dl-ai .lbl { text-transform: none; letter-spacing: 0; font-size: 10.5px; font-style: italic; font-weight: 700; }

/* the event story, opened from the event marker */
.dly .dl-evm { cursor: pointer; pointer-events: auto; z-index: 3; }
.dly .dl-evm::after { content: ''; position: absolute; left: -7px; top: 0; bottom: 0; width: 14px; }
.dly .dl-vstory { list-style: none; margin: 10px 0; padding: 0; position: relative; }
.dly .dl-vstory::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--dl-wash); }
.dly .dl-vstory li { display: flex; gap: 10px; padding: 5px 0; position: relative; }
.dly .dl-vstory .n { width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fff; border: 2px solid #C9D5E4; font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; color: var(--dl-mu); z-index: 1; }
.dly .dl-vstory div { display: flex; flex-direction: column; min-width: 0; }
.dly .dl-vstory .k { font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--dl-mu); }
.dly .dl-vstory b { font-family: var(--u-mono); font-size: 13px; }
.dly .dl-vstory em { font-style: normal; font-size: 10.5px; color: var(--dl-mu); }
.dly .dl-vstory li.is-bad .n { border-color: var(--dl-bad); color: var(--dl-bad); } .dly .dl-vstory li.is-bad b { color: var(--dl-bad); }
.dly .dl-vstory li.is-good .n { border-color: var(--dl-ok); color: var(--dl-ok); }
.dly .dl-vstory li.net .n { background: #1F4E79; border-color: #1F4E79; color: #fff; }
.dly .dl-chron { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.dly .dl-chron li { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 5px 8px; border-radius: 7px; background: var(--dl-soft); border-left: 3px solid var(--dl-unk); line-height: 1.4; }
.dly .dl-chron li.k-event { border-left-color: var(--dl-ev); } .dly .dl-chron li.k-notice { border-left-color: var(--dl-warn); }
.dly .dl-chron li.k-update { border-left-color: var(--u-dd, #2F6BD8); } .dly .dl-chron li.k-analysis { border-left-color: var(--dl-acc); }
.dly .dl-chron li.k-evidence { border-left-color: var(--dl-ok); }
/* the fragnet editor, in a narrow pane */
.dly table.dl-t.fr { table-layout: fixed; }
.dly table.dl-t.fr th { padding: 5px 4px; font-size: 9px; }
.dly table.dl-t.fr .dl-in, .dly table.dl-t.fr .dl-sel { padding: 5px 5px; font-size: 11px; }
.dly table.dl-t.fa th:nth-child(1) { width: 34%; } .dly table.dl-t.fa th:nth-child(3) { width: 58px; } .dly table.dl-t.fa th:nth-child(4) { width: 30px; }
.dly table.dl-t.fl th:nth-child(2) { width: 58px; } .dly table.dl-t.fl th:nth-child(3) { width: 46px; } .dly table.dl-t.fl th:nth-child(5) { width: 30px; }
.dly table.dl-t.fx th:nth-child(2) { width: 58px; } .dly table.dl-t.fx th:nth-child(3) { width: 30px; }

/* ── Studio · suspension of the works ───────────────────────────────── */
.st-svg .sx-susp { pointer-events: none; }
.st-svg .sx-susp .band { fill-opacity: .07; }
.st-svg .sx-susp .row { fill-opacity: .22; }
.st-svg .sx-susp .edge { stroke-width: 1.2; stroke-dasharray: 4 3; stroke-opacity: .75; }
.st-svg .sx-susp.pre .band { fill-opacity: .035; }
.st-svg .sx-susp.foc .band { fill-opacity: .11; }
.st-svg .sx-susp.s-EMPLOYER .band, .st-svg .sx-susp.s-EMPLOYER .row { fill: var(--dl-emp); } .st-svg .sx-susp.s-EMPLOYER .edge { stroke: var(--dl-emp); }
.st-svg .sx-susp.s-CONTRACTOR .band, .st-svg .sx-susp.s-CONTRACTOR .row { fill: var(--dl-con); } .st-svg .sx-susp.s-CONTRACTOR .edge { stroke: var(--dl-con); }
.st-svg .sx-susp.s-NEUTRAL .band, .st-svg .sx-susp.s-NEUTRAL .row { fill: var(--dl-neu); } .st-svg .sx-susp.s-NEUTRAL .edge { stroke: var(--dl-neu); }
.st-hsvg .hsu > rect:first-child { fill-opacity: .14; }
.st-hsvg .hsu .pill { fill-opacity: .92; }
.st-hsvg .hsu text { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; fill: #fff; }
.st-hsvg .hsu.s-EMPLOYER rect { fill: var(--dl-emp); } .st-hsvg .hsu.s-CONTRACTOR rect { fill: var(--dl-con); } .st-hsvg .hsu.s-NEUTRAL rect { fill: var(--dl-neu); }
.dly .sp-su-form { display: flex; flex-direction: column; gap: 8px; }
.dly .sp-su-form .su-mode { align-self: flex-start; }
.dly .su-hint { font-size: 11.5px; color: var(--dl-mute, #5B6B80); line-height: 1.4; }
.dly .su-tree { max-height: 280px; overflow: auto; border: 1px solid var(--dl-line); border-radius: 8px; padding: 4px 0; }
.dly .su-n { display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px calc(8px + var(--lv, 0) * 12px); font-size: 12px; }
.dly .su-n:hover { background: rgba(15, 23, 42, .04); }
.dly .su-n .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .su-n .nm i { font-style: normal; font-size: 10.5px; color: #6B7A90; margin-right: 6px; }
.dly .su-n.inc { background: rgba(79, 91, 213, .08); } .dly .su-n.exc { background: rgba(27, 175, 122, .08); }
.dly .su-n.exc .nm { text-decoration: line-through; text-decoration-color: rgba(15, 23, 42, .3); }
.dly .su-n .t { border: 1px solid var(--dl-line); background: #fff; border-radius: 6px; font-size: 10.5px; font-weight: 700; padding: 2px 6px; color: #5B6B80; cursor: pointer; white-space: nowrap; }
.dly .su-n .t.stop.on { background: var(--dl-emp); border-color: var(--dl-emp); color: #fff; }
.dly .su-n .t.keep.on { background: var(--dl-neu); border-color: var(--dl-neu); color: #fff; }
.dly .su-sum { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.dly .su-rules { margin: 0; padding-left: 16px; font-size: 11.5px; color: #5B6B80; line-height: 1.45; }
.dly .sp-su { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--dl-line); border-radius: 9px; }
.dly .sp-su .su-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 4px; }
.dly .sp-su .su-k > div { display: flex; flex-direction: column; padding: 4px 6px; background: rgba(15, 23, 42, .03); border-radius: 6px; }
.dly .sp-su .su-k b { font-size: 15px; } .dly .sp-su .su-k span { font-size: 10.5px; color: #5B6B80; }
.dly .sp-su .su-k .sp b { color: var(--dl-emp); } .dly .sp-su .su-k .hd b { color: var(--dl-con); }
.dly .su-ids summary { font-size: 11.5px; font-weight: 700; cursor: pointer; }
.dly .su-ids div { display: flex; flex-wrap: wrap; gap: 3px; padding-top: 4px; }
.dly .su-ids button { border: 1px solid var(--dl-line); background: #fff; border-radius: 5px; font-size: 10.5px; padding: 1px 5px; cursor: pointer; }
.st-hsvg .hsu .ib { fill: #fff !important; }
.dly .chip .x.alt { width: auto; padding: 0 5px; font-size: 10px; font-weight: 800; letter-spacing: .03em; color: #4F5BD5; border: 1px solid rgba(79, 91, 213, .35); border-radius: 5px; margin-left: 2px; }

/* ── Studio · completion drawn like the Data Date ───────────────────── */
.st-svg .fin-band.late { fill: var(--dl-bad); fill-opacity: .06; } .st-svg .fin-band.early { fill: var(--dl-ok); fill-opacity: .06; }
.st-svg .fin.b { stroke: #334155; stroke-width: 1.5; stroke-dasharray: 5 4; }
.st-svg .fin.a { stroke-width: 2; stroke-dasharray: none; } .st-svg .fin.a.late { stroke: var(--dl-bad); } .st-svg .fin.a.early { stroke: var(--dl-ok); }
.st-hsvg .hfin rect { fill: #334155; } .st-hsvg .hfin.late rect { fill: var(--dl-bad); } .st-hsvg .hfin.early rect { fill: var(--dl-ok); }
.st-hsvg .hfin text, .st-hsvg .hfin.early text { font-size: 10px; font-weight: 800; letter-spacing: .03em; fill: #fff; font-family: var(--u-mono, ui-monospace, monospace); }

/* ── Studio · who moved it, and whether it matters ──────────────────── */
.st-svg .sx-seg { fill-opacity: .85; }
.st-svg .sx-seg.s-EMPLOYER { fill: var(--dl-emp); } .st-svg .sx-seg.s-CONTRACTOR { fill: var(--dl-con); } .st-svg .sx-seg.s-NEUTRAL { fill: var(--dl-neu); }
.st-svg .sx-seg.s-MIXED, .st-svg .sx-seg.s-UNKNOWN { fill: #94A3B8; }
.st-svg .sx-seg.conc { fill: url(#st-conc); fill-opacity: 1; }
.st-svg .sx-seg.abs { fill-opacity: .32; } .st-svg .sx-seg.conc.abs { fill-opacity: .45; }
.st-svg .sx-slipo { fill: none; pointer-events: none; }
.st-svg .sx-slipo.drive { stroke: var(--dl-bad); stroke-width: 1.6; }
.st-svg .sx-slipo.abs { stroke: #D97706; stroke-width: 1.2; stroke-dasharray: 3 2; }
.st-svg .sh.abs { fill: #B45309; }
.dly .st-names .tr .c-sh.abs { color: #B45309; }

/* ── Studio · the dock under the Gantt ──────────────────────────────── */
.dly .st-dock { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; padding: 8px 12px 10px; border-top: 1px solid var(--dl-line); background: #FBFCFE; max-height: 190px; overflow: auto; font-size: 12px; }
.dly .dk-sum { display: flex; flex-wrap: wrap; gap: 6px; }
.dly .dk-kv { display: flex; flex-direction: column; gap: 1px; padding: 5px 10px; border: 1px solid var(--dl-line); border-radius: 8px; background: #fff; min-width: 108px; }
.dly .dk-kv > span { font-size: 10.5px; color: #5B6B80; display: inline-flex; align-items: center; gap: 5px; }
.dly .dk-kv > b { font-size: 13px; font-family: var(--u-mono, ui-monospace, monospace); }
.dly .dk-kv > b i { font-style: normal; color: #94A3B8; padding: 0 3px; } .dly .dk-kv > b em { font-style: normal; margin-left: 6px; }
.dly .dk-kv.wide { min-width: 220px; }
.dly .dk-kv.conc { border-color: #B8A3E0; background: #F7F3FF; } .dly .dk-kv.conc > b { color: #6D3FC0; }
.dly .dk-kv.late > b, .dly .dk-kv em.late, .dly .dk-v.late { color: var(--dl-bad); } .dly .dk-kv em.early, .dly .dk-v.early { color: var(--dl-ok); } .dly .dk-v.abs { color: #B45309; }
.dly .dk-kv.emp { border-color: rgba(79, 91, 213, .35); }
.dly .dk-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: #5B6B80; align-items: center; }
.dly .dk-lg > span { display: inline-flex; align-items: center; gap: 5px; }
.dly .dk-lg b.late { color: var(--dl-bad); } .dly .dk-lg b.abs { color: #B45309; }
.dly .st-dock .sw { display: inline-block; width: 12px; height: 9px; border-radius: 2px; }
.dly .st-dock .sw.conc { background: repeating-linear-gradient(45deg, #4F5BD5 0 3px, #D9822B 3px 6px); }
.dly .st-dock .ol { display: inline-block; width: 16px; height: 9px; border-radius: 2px; } .dly .st-dock .ol.drive { border: 2px solid var(--dl-bad); } .dly .st-dock .ol.abs { border: 1.5px dashed #D97706; }
.dly .st-dock .ln { display: inline-block; width: 0; height: 13px; } .dly .st-dock .ln.b { border-left: 2px dashed #334155; } .dly .st-dock .ln.a { border-left: 2px solid var(--dl-bad); } .dly .st-dock .ln.dd { border-left: 2px solid #3B82F6; }
.dly .dk-hint { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6B7A90; margin: 0; }
.dly .dk-head { display: flex; align-items: center; gap: 8px; }
.dly .dk-head span { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dly .dk-head em { font-style: normal; font-size: 11px; color: #5B6B80; }
.dly .dk-body { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-start; }
.dly .dk-evs { display: flex; flex-direction: column; gap: 3px; }
.dly .dk-ev { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--dl-line); background: #fff; border-radius: 6px; padding: 3px 7px; font-size: 11.5px; cursor: pointer; text-align: left; }
.dly .dk-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dly .dk-act label { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #5B6B80; }
.dly .dk-act .pside { display: inline-flex; }

/* ── Studio · the right-click menu ──────────────────────────────────── */
.dly .st-ctx, .st-ctx { position: fixed; z-index: 2147483000; min-width: 250px; max-width: 340px; background: #fff; border: 1px solid #D5DEE9; border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 23, 42, .18); padding: 5px; font-size: 12.5px; }
.st-ctx .cm-h { display: flex; align-items: center; gap: 6px; padding: 5px 8px 7px; border-bottom: 1px solid #EEF2F7; margin-bottom: 4px; }
.st-ctx .cm-h span { color: #5B6B80; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ctx .cm-i { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; padding: 7px 8px; border-radius: 6px; cursor: pointer; text-align: left; font: inherit; color: #0F172A; }
.st-ctx .cm-i:hover, .st-ctx .cm-i:focus-visible { background: #F1F5FB; }
.st-ctx .cm-i em { font-style: normal; color: #6B7A90; margin-left: auto; font-size: 11px; }
.st-ctx .cm-i.bad { color: var(--dl-bad, #C6462B); }
.st-ctx .cm-sep { height: 1px; background: #EEF2F7; margin: 4px 2px; }
.st-ctx .cm-sides { display: flex; gap: 4px; padding: 4px 8px; }
.st-ctx .cm-sides button { flex: 1; border: 1px solid #D5DEE9; background: #fff; border-radius: 6px; padding: 4px 6px; font-size: 11px; font-weight: 700; cursor: pointer; }
.st-ctx .cm-sides button.on.s-EMPLOYER { background: var(--dl-emp, #4F5BD5); color: #fff; border-color: var(--dl-emp, #4F5BD5); }
.st-ctx .cm-sides button.on.s-CONTRACTOR { background: var(--dl-con, #D9822B); color: #fff; border-color: var(--dl-con, #D9822B); }
.st-ctx .cm-sides button.on.s-NEUTRAL { background: var(--dl-neu, #1BAF7A); color: #fff; border-color: var(--dl-neu, #1BAF7A); }
.st-ctx .sd { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.st-ctx .dl-ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: 0 0 auto; }
.dly .dl-b.undo { border-color: #D97706; color: #B45309; }
.dly .sp-gap { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px dashed #CBD5E1; border-radius: 8px; font-size: 11.5px; color: #475569; }
.dly .sp-gap > span { display: flex; gap: 6px; }

.st-ctx .sd.s-EMPLOYER { background: var(--dl-emp, #4F5BD5); } .st-ctx .sd.s-CONTRACTOR { background: var(--dl-con, #D9822B); } .st-ctx .sd.s-NEUTRAL { background: var(--dl-neu, #1BAF7A); } .st-ctx .sd.s-UNKNOWN { background: #94A3B8; }
/* the Update module's .upd keeps 40px under its long screens for scroll
   room; the Studio and the Overview are one screen high and end at the
   bottom of it */
.upd.dly[data-ws="studio"], .upd.dly[data-ws="overview"] { padding-bottom: 6px; }
.st-svg .sx-nm .cc { fill: #6D3FC0; font-weight: 800; }

/* ── Studio · the analysis in the header, one toolbar ───────────────── */
.dly .dl-top.has-studio { gap: 12px; }
.dly .st-hbits { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: nowrap; }
.dly .st-hbits .st-basis { max-width: 210px; }
.dly .st-hbits .st-fin { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border: 1px solid var(--dl-line); border-radius: 9px; background: #fff; white-space: nowrap; }
.dly .st-hbits .st-fin > span { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6B80; }
.dly .st-hbits .st-fin i { font-style: normal; color: #94A3B8; }
.dly .st-hbits .st-fin strong { margin-left: 4px; }
.dly .st-hbits .st-fin.late strong { color: var(--dl-bad); } .dly .st-hbits .st-fin.early strong { color: var(--dl-ok); }
.dly .st-bar.tb { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.dly .st-bar.tb::-webkit-scrollbar { display: none; }
.dly .st-viewseg .dl-seg.on { background: #0F172A; color: #fff; }

/* ── Studio · before and after on one row ───────────────────────────── */
.st-svg .sx-was { fill: #475569; fill-opacity: .55; }
.st-svg .sx-dl { fill-opacity: .95; }
.st-svg .sx-dl.s-EMPLOYER { fill: var(--dl-emp); } .st-svg .sx-dl.s-CONTRACTOR { fill: var(--dl-con); } .st-svg .sx-dl.s-NEUTRAL { fill: var(--dl-neu); }
.st-svg .sx-dl.s-MIXED, .st-svg .sx-dl.s-UNKNOWN { fill: #64748B; }
.st-svg .sx-dl.conc { fill: url(#st-conc); }
.st-svg .sx-dl.abs { fill-opacity: .4; }
.st-svg .sx-dl.early { fill: var(--dl-ok); fill-opacity: .6; }
.st-svg .sx-dla.drive { fill: var(--dl-bad); } .st-svg .sx-dla.abs { fill: #D97706; fill-opacity: .8; }
.st-svg .sx-mline { stroke-width: 1.4; stroke-dasharray: 3 2; } .st-svg .sx-mline.drive { stroke: var(--dl-bad); } .st-svg .sx-mline.abs { stroke: #D97706; } .st-svg .sx-mline.early { stroke: var(--dl-ok); }
.st-svg .sx-ghostm { fill: #fff; stroke: #475569; stroke-width: 1.2; }

/* ── Studio · a compact dock ────────────────────────────────────────── */
.dly .st-dock { padding: 5px 10px 6px; gap: 4px; max-height: 118px; }
.dly .st-dock:not(.is-act) { max-height: 74px; }
.dly .dk-row { display: flex; flex-wrap: wrap; gap: 5px; }
.dly .dk-row .dk-kv { flex-direction: row; align-items: baseline; gap: 7px; padding: 2px 9px; min-width: 0; border-radius: 7px; }
.dly .dk-row .dk-kv > b { font-size: 12.5px; }
.dly .dk-row .dk-kv.wide { min-width: 0; }
.dly .dk-lg { font-size: 10.5px; gap: 2px 12px; }
.dly .dk-lg .lg-bar { display: inline-block; width: 16px; height: 7px; background: #1E9E57; border: 1px solid #157A43; border-radius: 1px; }
.dly .dk-lg .lg-was { display: inline-block; width: 16px; height: 3px; background: #475569; opacity: .6; border-radius: 1px; }
.dly .dk-lg .lg-dl { display: inline-block; width: 14px; height: 5px; border-radius: 1px; }
.dly .dk-lg .lg-dl.s-EMPLOYER { background: var(--dl-emp); } .dly .dk-lg .lg-dl.s-CONTRACTOR { background: var(--dl-con); } .dly .dk-lg .lg-dl.s-NEUTRAL { background: var(--dl-neu); }
.dly .dk-lg .lg-dl.conc { background: repeating-linear-gradient(45deg, #4F5BD5 0 3px, #D9822B 3px 6px); }
@container dly (max-width: 1700px) { .dly .st-bar.tb .tl { display: none; } .dly .st-bar.tb .dl-seg .sw { margin: 0; } }
.dly .st-bar .dl-segs .sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; vertical-align: middle; }

/* ── Studio · named party tools, the event filter ───────────────────── */
.dly .st-tools .tn { font-size: 11px; font-weight: 700; }
.dly .st-bar.tb .st-evsel { width: auto; min-width: 0; max-width: 150px; font-size: 11.5px; }
@container dly (max-width: 1700px) { .dly .st-bar.tb .tn { display: inline; } }
@container dly (max-width: 1150px) { .dly .st-bar.tb .tn { display: none; } }

/* ── Studio · the delay on a row: one quiet line ────────────────────── */
.st-svg .sx-dlx { stroke-width: 1.8; stroke-linecap: round; }
.st-svg .sx-dlx.drive { stroke: var(--dl-bad); }
.st-svg .sx-dlx.abs { stroke: #D97706; stroke-dasharray: 3 2.5; }
.dly .dk-lg .lg-dx { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--dl-bad); }
.dly .dk-lg .lg-dx.abs { border-top: 2px dashed #D97706; }
.dly .dk-lg .sw.conc, .dly .st-names .sw.conc { display: inline-block; width: 12px; height: 9px; border-radius: 2px; background: repeating-linear-gradient(45deg, #4F5BD5 0 3px, #D9822B 3px 6px); }

/* ── Studio · the overlap row ───────────────────────────────────────── */
.st-svg .sx-ovl .ol-e { fill: var(--dl-emp); }
.st-svg .sx-ovl .ol-k { fill: var(--dl-con); }
.st-svg .sx-ovl .ol-b { fill: url(#st-conc); fill-opacity: .3; stroke: #6D3FC0; stroke-width: 1.2; }
.st-svg .sx-ovl .ol-t { font-size: 10.5px; font-weight: 700; fill: #6D3FC0; }
.dly .st-names .tr.ovl { background: #F7F3FF; }
.dly .st-names .tr.ovl .c-nm { font-weight: 700; color: #4C2A8A; }
.dly .st-names .tr.ovl .c-nm em { font-style: normal; font-weight: 500; color: #7C6BA8; margin-left: 6px; font-size: 10.5px; }
.dly .st-names .tr.ovl .c-sh { color: #6D3FC0; font-weight: 800; }

/* ── Studio · the events in the preview ─────────────────────────────── */
.dly .st-evbtn { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; }
.dly .st-evbtn.part { border-color: #6D3FC0 !important; color: #4C2A8A; background: #F7F3FF; }
.dly .st-evbtn .car { font-style: normal; font-size: 9px; opacity: .7; }
.dly .st-wrap { position: relative; }
.dly .st-evpick { position: absolute; z-index: 40; top: 46px; left: 330px; width: 440px; max-height: 60%; display: flex; flex-direction: column; background: #fff; border: 1px solid #D5DEE9; border-radius: 12px; box-shadow: 0 14px 36px rgba(15, 23, 42, .18); }
.dly .st-evpick .ep-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 4px 12px; }
.dly .st-evpick .ep-q { display: flex; gap: 5px; flex-wrap: wrap; padding: 0 10px 8px; border-bottom: 1px solid #EEF2F7; }
.dly .st-evpick .ep-q .sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; }
.dly .st-evpick .ep-l { overflow: auto; padding: 4px; }
.dly .st-evpick .ep-i { display: grid; grid-template-columns: 18px 10px 62px 1fr auto auto; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; cursor: pointer; font-size: 12px; opacity: .55; }
.dly .st-evpick .ep-i.on { opacity: 1; } .dly .st-evpick .ep-i:hover { background: #F1F5FB; }
.dly .st-evpick .ep-i span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .st-evpick .ep-i em { font-style: normal; font-size: 11px; color: #6B7A90; } .dly .st-evpick .ep-i strong { font-family: var(--u-mono); font-size: 11.5px; } .dly .st-evpick .late { color: var(--dl-bad); }
.dly .st-evpick .sd { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dly .st-evpick .ep-f { padding: 8px 12px; border-top: 1px solid #EEF2F7; font-size: 12px; }
.dly .st-names .tr.ev.out { opacity: .45; }

/* ── Studio · assign: the tie picker, laid out as the Gantt's table ─── */
.dly .st-tpick { position: absolute; z-index: 45; top: 50px; left: 50%; transform: translateX(-50%); width: min(820px, 94%); height: min(560px, 86%); display: flex; flex-direction: column; background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; box-shadow: 0 18px 44px rgba(15, 23, 42, .22); overflow: hidden; }
.dly .st-tpick .tp-h { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #EEF2F7; }
.dly .st-tpick .tp-h span { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .st-tpick .sd { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dly .st-tpick .tp-c { display: flex; align-items: center; gap: 8px; padding: 8px 12px; flex-wrap: wrap; }
.dly .st-tpick .tp-c .pq { flex: 1; min-width: 200px; }
.dly .st-tpick .tp-lag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #5B6B80; } .dly .st-tpick .tp-lag input { width: 56px; }
.dly .st-tpick .tp-note { padding: 0 12px 8px; font-size: 11.5px; color: #5B6B80; }
.dly .st-tpick .tp-hd, .dly .st-tpick .pk-r { display: grid; grid-template-columns: 96px 1fr 44px 86px 86px; align-items: center; gap: 6px; padding: 0 12px; min-height: 26px; font-size: 12px; }
.dly .st-tpick .tp-hd { background: #F1F5FB; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: #5B6B80; border-top: 1px solid #EEF2F7; border-bottom: 1px solid #E2E8F0; }
.dly .st-tpick .tp-l { flex: 1; overflow: auto; }
.dly .st-tpick .pk-r.wbs { background: var(--wbg); color: var(--wtx); font-weight: 800; padding-left: calc(12px + var(--lv, 0) * 10px); }
.dly .st-tpick .pk-r.wbs .c-nm { grid-column: 2 / -1; }
.dly .st-tpick .pk-r.act { width: 100%; border: 0; border-bottom: 1px solid #F1F5F9; background: #fff; text-align: left; cursor: pointer; font: inherit; font-size: 12px; }
.dly .st-tpick .pk-r.act:hover { background: #EEF4FF; } .dly .st-tpick .pk-r.act.done { color: #94A3B8; cursor: not-allowed; }
.dly .st-tpick .pk-r.act .c-nm { padding-left: calc(var(--lv, 0) * 8px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .st-tpick .pk-r .c-dt i { font-style: normal; font-size: 9px; font-weight: 800; color: #1B449B; margin-left: 2px; }
.dly .st-tpick .pk-r .c-du, .dly .st-tpick .tp-hd .c-du { text-align: right; }
.dly .sp-assign { display: flex; gap: 6px; flex-wrap: wrap; }
.dly .st-bar > .st-evbtn .en { display: inline !important; }
.dly .st-tpick .tp-c select { width: auto; flex: 0 0 auto; }
.dly .st-tpick .tp-c .tp-lag input { width: 60px; flex: 0 0 auto; }
.dly .st-tpick .tp-c .dl-segs { flex: 0 0 auto; }
.dly .st-view { display: inline-flex; align-items: center; gap: 5px; padding-left: 8px; border-left: 1px solid var(--dl-line); flex: none; }
.dly .st-view .vl { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5B6B80; }
.dly .st-view .dl-segs .dl-seg { display: inline-flex; align-items: center; gap: 5px; }
.dly .st-view .tn { font-size: 11px; font-weight: 700; display: inline !important; }
.dly .st-hbits > .dl-seg { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--dl-line); background: #fff; flex: none; }
.dly .st-hbits > .dl-seg.on { background: #0F1B2E; color: #fff; border-color: #0F1B2E; }
@container dly (max-width: 1450px) {
  .dly .st-tools .tn, .dly .st-tools .dl-seg > svg + span { display: none; }
  .dly .st-view .tn { display: inline !important; }
}
.dly .st-bar.tb > * { flex: none; }
.dly .st-bar.tb > .dl-sp { flex: 1 1 auto; min-width: 4px; }
@container dly (max-width: 1450px) {
  .dly .st-bar.tb .st-tools .tn { display: none; }
  .dly .st-bar.tb .st-view .tn, .dly .st-bar.tb > .dl-seg .tn { display: inline; }
}

/* ── Studio · the project's delay, broken down ──────────────────────── */
.st-svg .sx-comp .cp-seg { fill-opacity: .9; stroke: #fff; stroke-width: .8; }
.st-svg .sx-comp .cp-seg.s-EMPLOYER { fill: var(--dl-emp); } .st-svg .sx-comp .cp-seg.s-CONTRACTOR { fill: var(--dl-con); } .st-svg .sx-comp .cp-seg.s-NEUTRAL { fill: var(--dl-neu); }
.st-svg .sx-comp .cp-seg.s-MIXED, .st-svg .sx-comp .cp-seg.s-UNKNOWN { fill: #64748B; }
.st-svg .sx-comp .cp-seg.conc { fill: url(#st-conc); }
.st-svg .sx-comp .cp-t { font-size: 10.5px; font-weight: 700; fill: #334155; }
.st-svg .sx-comp .cp-t .tot { fill: var(--dl-bad); font-weight: 800; }
.st-svg .sx-comp .cp-t .s-EMPLOYER { fill: var(--dl-emp); } .st-svg .sx-comp .cp-t .s-CONTRACTOR { fill: #B8661A; } .st-svg .sx-comp .cp-t .conc { fill: #6D3FC0; } .st-svg .sx-comp .cp-t .s-NEUTRAL { fill: #138A5F; }
.st-svg .sx-comp .cp-t .sep { fill: #94A3B8; }
.dly .st-names .tr.comp { background: #FFF6F3; }
.dly .st-names .tr.comp .c-nm { font-weight: 800; color: #7A2A18; }
.dly .st-names .tr.comp .c-nm em { font-style: normal; font-weight: 600; color: #8A5A4E; margin-left: 6px; font-size: 10.5px; }

/* ── An event, named: its date and its method, small ────────────────── */
.dly .dl-evtag { font-style: normal; font-size: 10.5px; font-weight: 600; color: #6B7A90; margin-left: 7px; white-space: nowrap; }
.dly .sd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }

/* ── The event log ──────────────────────────────────────────────────── */
.dly .lg-wrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.dly .lg-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dly .lg-bar .dl-seg { display: inline-flex; align-items: center; }
.dly .lg-t { flex: 1 1 auto; min-height: 0; overflow: auto; border: 1px solid var(--dl-line); border-radius: 12px; background: #fff; }
.dly .lg-h, .dly .lg-m { display: grid; grid-template-columns: minmax(280px, 2.6fr) 110px 70px minmax(130px, 1.1fr) 80px 90px 100px minmax(110px, 1fr) minmax(120px, 1fr) 100px 110px; gap: 8px; align-items: center; padding: 0 14px; }
.dly .lg-h { position: sticky; top: 0; z-index: 2; background: #F4F7FB; min-height: 34px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6B80; border-bottom: 1px solid var(--dl-line); }
.dly .lg-h .n, .dly .lg-m .n { text-align: right; }
.dly .lg-r { border-bottom: 1px solid #EEF2F7; border-left: 3px solid transparent; }
.dly .lg-r.s-EMPLOYER { border-left-color: var(--dl-emp); } .dly .lg-r.s-CONTRACTOR { border-left-color: var(--dl-con); } .dly .lg-r.s-NEUTRAL { border-left-color: var(--dl-neu); }
.dly .lg-r.closed { opacity: .6; }
.dly .lg-m { width: 100%; min-height: 44px; border: 0; background: transparent; text-align: left; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--dl-ink); }
.dly .lg-m:hover { background: #F7FAFE; } .dly .lg-r.open .lg-m { background: #F3F7FD; }
.dly .lg-m .ev { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dly .lg-m .ev .t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .lg-m .car { font-style: normal; color: #94A3B8; width: 12px; }
.dly .lg-m .late { color: var(--dl-bad); font-weight: 800; }
.dly .lg-m .cc { color: #6D3FC0; }
.dly .lg-m .st { font-size: 11px; color: #5B6B80; }
.dly .lg-m em.mu, .dly .lg-d em.mu { font-style: normal; color: #94A3B8; }
.dly .lg-d { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; padding: 10px 18px 14px 34px; background: #FBFCFE; border-top: 1px dashed #E2E8F0; }
.dly .lg-col { display: flex; flex-direction: column; gap: 6px; }
.dly .lg-kv { display: flex; flex-direction: column; gap: 1px; font-size: 12px; }
.dly .lg-kv > span { font-size: 10.5px; color: #6B7A90; font-weight: 700; } .dly .lg-kv .late { color: var(--dl-bad); }
.dly .lg-act { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.dly .lg-empty { padding: 30px; text-align: center; color: #6B7A90; }

/* ── The claims register ────────────────────────────────────────────── */
.dly .cl-wrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.dly .cl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.dly .cl-card { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid var(--dl-line); border-radius: 11px; background: #fff; border-top: 3px solid #CBD5E1; }
.dly .cl-card span { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #5B6B80; text-transform: uppercase; }
.dly .cl-card b { font-size: 17px; font-family: var(--u-mono); } .dly .cl-card em { font-style: normal; font-size: 11px; color: #6B7A90; }
.dly .cl-card.is-ok { border-top-color: var(--dl-ok); } .dly .cl-card.is-info { border-top-color: var(--dl-emp); } .dly .cl-card.is-bad { border-top-color: var(--dl-bad); }
.dly .cl-card.is-warn { border-top-color: #D97706; } .dly .cl-card.conc { border-top-color: #6D3FC0; }
.dly .cl-t { flex: 1 1 auto; min-height: 0; overflow: auto; border: 1px solid var(--dl-line); border-radius: 12px; background: #fff; }
.dly table.cl { width: 100%; border-collapse: collapse; font-size: 12px; }
.dly table.cl th { position: sticky; top: 0; background: #F4F7FB; z-index: 1; text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #5B6B80; padding: 9px 8px; border-bottom: 1px solid var(--dl-line); white-space: nowrap; }
.dly table.cl td { padding: 7px 8px; border-bottom: 1px solid #EEF2F7; vertical-align: middle; }
.dly table.cl td.ev { min-width: 260px; }
.dly table.cl .num { text-align: right; }
.dly table.cl tr.s-EMPLOYER td:first-child { box-shadow: inset 3px 0 0 var(--dl-emp); } .dly table.cl tr.s-CONTRACTOR td:first-child { box-shadow: inset 3px 0 0 var(--dl-con); } .dly table.cl tr.s-NEUTRAL td:first-child { box-shadow: inset 3px 0 0 var(--dl-neu); }
.dly table.cl tr.tot td { font-weight: 800; background: #F8FAFC; position: sticky; bottom: 0; }
.dly table.cl .dl-sel.sm { max-width: 170px; }
.dly .dl-due { display: block; font-style: normal; font-size: 10.5px; color: #6B7A90; margin-top: 2px; }
.dly .dl-due.is-bad { color: var(--dl-bad); font-weight: 700; } .dly .dl-due.is-warn { color: #B45309; font-weight: 700; }
.dly .cl-foot { margin: 0; font-size: 11px; color: #6B7A90; line-height: 1.45; }
.upd.dly[data-ws="events"], .upd.dly[data-ws="claims"] { height: var(--dl-h); overflow: hidden; }
.upd.dly[data-ws="events"] .dl-stage, .upd.dly[data-ws="claims"] .dl-stage { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
/* the log: the id apart, the name and its date · method on two lines */
.dly .lg-h, .dly .lg-m { grid-template-columns: 78px minmax(220px, 2.4fr) 100px 62px minmax(118px, 1fr) 70px 86px 76px minmax(110px, 1fr) minmax(110px, 1fr) 96px; }
.dly .lg-m .id { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.dly .lg-m .ev { flex-direction: column; align-items: flex-start; gap: 1px; }
.dly .lg-m .ev .t { max-width: 100%; }
.dly .lg-m .ev .dl-evtag { margin-left: 0; }
.dly .lg-m > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* the register: compact fields in the table */
.dly table.cl .dl-in.sm, .dly table.cl .dl-sel.sm { height: 28px; min-height: 0; padding: 2px 6px; border-radius: 6px; font-size: 11.5px; box-shadow: none; }
.dly table.cl .dl-sel.sm { width: 128px; max-width: 128px; }
.dly table.cl td.ev .dl-evtag { display: block; margin: 2px 0 0; }

/* ── Notices · the deadlines on one time scale ──────────────────────── */
.dly .dl-dlbox { flex: none; max-height: 34vh; overflow-y: auto; background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 8px 12px 6px; }
.dly .dl-dlh { display: flex; align-items: center; gap: 14px; font-size: 11px; color: #5B6B80; margin-bottom: 4px; }
.dly .dl-dlh b { font-size: 12.5px; color: var(--dl-ink); margin-right: 6px; }
.dly .dl-dlh .k { display: inline-block; width: 16px; height: 8px; border-radius: 4px; margin-right: 5px; vertical-align: middle; }
.dly .dl-dlh .k.nt { background: #4F5BD5; } .dly .dl-dlh .k.cl { background: #C7D2FE; } .dly .dl-dlh .k.mk { width: 9px; height: 9px; transform: rotate(45deg); background: #334155; border-radius: 1px; } .dly .dl-dlh .k.sent { background: var(--dl-ok); }
.dly svg.dl-dls { width: 100%; height: auto; display: block; }
.dl-dls .ax-m { stroke: #E2E8F0; } .dl-dls .ax-t { font-size: 9.5px; font-weight: 800; fill: #6B7A90; letter-spacing: .05em; }
.dl-dls .dr { cursor: pointer; } .dl-dls .dr .bg { fill: transparent; } .dl-dls .dr:hover .bg { fill: #F4F7FB; }
.dl-dls .cl-p { fill: #C7D2FE; } .dl-dls .nt-p { fill: #4F5BD5; fill-opacity: .85; } .dl-dls .nt-p.over { fill: var(--dl-bad, #C6462B); } .dl-dls .nt-p.done { fill: var(--dl-ok, #188D68); }
.dl-dls .aw { fill: #fff; stroke: #334155; stroke-width: 1.5; }
.dl-dls .mk { fill: #334155; } .dl-dls .mk.over { fill: var(--dl-bad, #C6462B); } .dl-dls .mk.done { fill: var(--dl-ok, #188D68); } .dl-dls .mk.c { fill-opacity: .7; }
.dl-dls .ok-mk { fill: none; stroke: #fff; stroke-width: 2; }
.dl-dls .lb { font-size: 11px; font-weight: 700; fill: #334155; } .dl-dls .lbw { font-weight: 600; fill: #B45309; }
.dl-dls .today { stroke: #0F172A; stroke-width: 1.4; stroke-dasharray: 3 3; } .dl-dls .today-t { font-size: 9.5px; font-weight: 800; fill: #0F172A; }
.dly .dl-ncl { display: flex; align-items: center; gap: 8px; padding: 6px 12px 8px; border-top: 1px dashed #E2E8F0; font-size: 11.5px; }
.dly .dl-ncl .k { font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: #5B6B80; }
.dly .dl-ncl em { font-style: normal; color: #5B6B80; flex: 1; }

/* ── The overview ───────────────────────────────────────────────────── */
.dly .hm { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.dly .hm-row { display: flex; gap: 10px; min-height: 0; }
.dly .hm-row.a { flex: 0 0 auto; } .dly .hm-row.b { flex: 1 1 auto; min-height: 220px; }
.dly .hm-card { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dly .hm-card.grow { flex: 1 1 auto; }
.dly .hm-row.b > .hm-card:first-child { flex: 0 0 380px; }
.dly .hm-h { display: flex; align-items: center; gap: 10px; }
.dly .hm-h b { font-size: 13.5px; } .dly .hm-h span { font-size: 11.5px; color: #6B7A90; flex: 1; }
.dly .hm-stand { flex: 0 0 250px; display: flex; flex-direction: column; gap: 6px; }
.dly .hm-k { background: #fff; border: 1px solid var(--dl-line); border-radius: 10px; padding: 7px 12px; border-left: 4px solid #CBD5E1; display: flex; flex-direction: column; }
.dly .hm-k span { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #5B6B80; }
.dly .hm-k b { font-size: 16px; font-family: var(--u-mono); } .dly .hm-k em { font-style: normal; font-size: 11px; color: #6B7A90; }
.dly .hm-k.is-bad { border-left-color: var(--dl-bad); } .dly .hm-k.is-bad b { color: var(--dl-bad); } .dly .hm-k.is-ok { border-left-color: var(--dl-ok); } .dly .hm-k.is-info { border-left-color: var(--dl-emp); }
.dly svg.dl-bridge { width: 100%; height: auto; display: block; }
.dl-bridge .ax-m { stroke: #EEF2F7; } .dl-bridge .ax-t { font-size: 9.5px; font-weight: 800; fill: #6B7A90; }
.dl-bridge .bl { font-size: 12px; font-weight: 800; fill: #0F172A; } .dl-bridge .bn { font-size: 10px; fill: #6B7A90; }
.dl-bridge .bd { fill: #0F172A; } .dl-bridge .bd.end { fill: var(--dl-bad, #C6462B); }
.dl-bridge .bs.pre { fill: #94A3B8; } .dl-bridge .bs.s-EMPLOYER { fill: #4F5BD5; } .dl-bridge .bs.s-CONTRACTOR { fill: #D9822B; } .dl-bridge .bs.s-NEUTRAL { fill: #1BAF7A; } .dl-bridge .bs.s-MIXED { fill: #64748B; }
.dl-bridge .bs.conc { fill: url(#hm-conc); }
.dl-bridge .bv { font-size: 11px; font-weight: 800; font-family: var(--u-mono, monospace); fill: #0F172A; } .dl-bridge .bv.late { fill: var(--dl-bad, #C6462B); } .dl-bridge .bv.early { fill: var(--dl-ok, #188D68); }
.dl-bridge .bc { stroke: #94A3B8; stroke-dasharray: 2 2; }
.dl-bridge .ent { stroke: var(--dl-ok, #188D68); stroke-width: 1.6; stroke-dasharray: 5 3; } .dl-bridge .ent-t { font-size: 10px; font-weight: 700; fill: var(--dl-ok, #188D68); }
.dly .hm-todo { display: flex; flex-direction: column; gap: 5px; overflow: auto; }
.dly .hm-do { display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; gap: 0 10px; align-items: center; text-align: left; border: 1px solid var(--dl-line); border-left: 4px solid #CBD5E1; background: #fff; border-radius: 9px; padding: 6px 10px; cursor: pointer; font: inherit; font-size: 12px; }
.dly .hm-do > b { grid-row: 1 / 3; font-family: var(--u-mono); font-size: 12px; }
.dly .hm-do em { font-style: normal; font-size: 10.5px; color: #6B7A90; }
.dly .hm-do.is-bad { border-left-color: var(--dl-bad); } .dly .hm-do.is-bad > b { color: var(--dl-bad); } .dly .hm-do.is-warn { border-left-color: #D97706; } .dly .hm-do.is-warn > b { color: #B45309; } .dly .hm-do.is-info { border-left-color: var(--dl-emp); } .dly .hm-do.is-info > b { color: var(--dl-emp); }
.dly .hm-ok { padding: 18px; text-align: center; color: #6B7A90; font-size: 12px; }
.dly svg.dl-lanes { width: 100%; height: auto; display: block; }
.dl-lanes .ax-m { stroke: #EEF2F7; } .dl-lanes .ax-t { font-size: 9.5px; font-weight: 800; fill: #6B7A90; }
.dl-lanes .ln-bg { fill: transparent; stroke: #F1F5F9; } .dl-lanes .ln-t { font-size: 11px; font-weight: 800; }
.dl-lanes .ln-t.s-EMPLOYER { fill: #4F5BD5; } .dl-lanes .ln-t.s-CONTRACTOR { fill: #B8661A; } .dl-lanes .ln-t.s-NEUTRAL { fill: #138A5F; }
.dl-lanes .ln-e { cursor: pointer; } .dl-lanes .ln-e.s-EMPLOYER { fill: #4F5BD5; } .dl-lanes .ln-e.s-CONTRACTOR { fill: #D9822B; } .dl-lanes .ln-e.s-NEUTRAL { fill: #1BAF7A; }
.dl-lanes .ln-dd { stroke: #3B82F6; stroke-width: 1.4; } .dl-lanes .ln-ddt { font-size: 9.5px; font-weight: 800; fill: #3B82F6; }
.upd.dly[data-ws="notices"] .dl-stage { gap: 10px; }

/* ── notices: the lifecycle each claim walks ─────────────────────────── */
.dly .dl-nc .hd { align-items: flex-start; }
.dly .dl-nc .cd { padding-top: 4px; }
.dly .dl-nc .cd em { line-height: 1.2; margin-top: 3px; }
.dly .dl-nc .tt { font-size: 13px; font-weight: 700; color: #1E293B; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.dly .ntk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 6px; }
.dly .ntk-s { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 18px 8px 0 0; min-width: 0; font-size: 11.5px; color: #334155; }
.dly .ntk-s::before { content: ""; position: absolute; left: 12px; right: 0; top: 6px; height: 3px; border-radius: 2px; background: #E2E8F0; }
.dly .ntk-s:last-child::before { display: none; }
.dly .ntk-s > i { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2.5px solid #CBD5E1; box-sizing: border-box; }
.dly .ntk-s > b { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #64748B; }
.dly .ntk-s > span { font-family: var(--u-mono); font-weight: 700; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .ntk-s > em { font-style: normal; font-size: 10.5px; color: #6B7A90; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .ntk-s.done > i { background: var(--dl-ok, #188D68); border-color: var(--dl-ok, #188D68); }
.dly .ntk-s.done::before { background: var(--dl-ok, #188D68); opacity: .55; }
.dly .ntk-s.over > i { background: var(--dl-bad, #C6462B); border-color: var(--dl-bad, #C6462B); }
.dly .ntk-s.over > span, .dly .ntk-s.over > em { color: var(--dl-bad, #C6462B); }
.dly .ntk-s.due > i { background: #FDE68A; border-color: #D97706; }
.dly .ntk-s.due > span, .dly .ntk-s.due > em { color: #B45309; }
.dly .ntk-s.todo > i { border-color: #4F5BD5; }
.dly .ntk-s.na { opacity: .5; }
.dly .ntk-s.na > i { border-style: dashed; }
.dly .dl-nc.is-mute { border-left-color: #CBD5E1; background: #FAFBFC; }
.dl-lanes .ln-l { font-size: 9px; font-weight: 700; fill: #475569; font-family: var(--u-mono, monospace); pointer-events: none; }
.dly .dl-nc .ft > select, .dly .dl-nc .ft > input, .dly .dl-nc .ft > button { height: 30px; min-height: 0; font-size: 12px; padding-top: 0; padding-bottom: 0; }
/* claims register: compact controls so the whole row fits */
.dly table.cl .dl-sel.sm, .dly table.cl .dl-in.sm { height: 28px; min-height: 0; padding: 0 6px; font-size: 11.5px; border-radius: 7px; }
.dly table.cl .dl-sel.sm { max-width: 128px; }
.dly table.cl td { padding: 6px 6px; }
.dly table.cl th { padding: 9px 6px; }
.dly table.cl td.ev { min-width: 190px; max-width: 280px; }
.dly table.cl .dl-due { max-width: 128px; }
/* The landing theme (999-ai-planner-landing-theme.css) sets `input, select { min-height: 44px !important }`.
   A bare-element !important beats any class here, so the module's small controls answer it — the same
   answer cost.css gives. Only `.sm` controls, which are meant to sit in a row or a table cell. */
.dly .dl-in.sm, .dly .dl-sel.sm { min-height: 0 !important; }
.dly .dl-nc .ft > .dl-in, .dly .dl-nc .ft > .dl-sel { height: 30px; }
/* ── the event on the programme (reports): before / after from the Studio ── */
.dly .dl-evcbox { margin: 8px 0 12px; border: 1px solid var(--dl-line, #E2E8F0); border-radius: 10px; padding: 6px 8px 8px; background: #fff; break-inside: avoid; }
.dly svg.dl-evc { width: 100%; height: auto; display: block; }
.dl-evc .ax-m { stroke: #E2E8F0; } .dl-evc .ax-t { font-size: 9.5px; font-weight: 800; fill: #6B7A90; letter-spacing: .05em; }
.dl-evc .rb { fill: transparent; } .dl-evc .rb.z { fill: #F8FAFC; }
.dl-evc .rl { font-size: 10.5px; fill: #334155; font-weight: 600; } .dl-evc .rl.evn { font-weight: 800; fill: #0F172A; }
.dl-evc .was { fill: #94A3B8; }
.dl-evc .now.drv { fill: #C6462B; } .dl-evc .now.abs { fill: #E0A33A; } .dl-evc .now.same { fill: #64748B; }
.dl-evc .now.ev.s-EMPLOYER { fill: #4F5BD5; } .dl-evc .now.ev.s-CONTRACTOR { fill: #D9822B; } .dl-evc .now.ev.s-NEUTRAL { fill: #1F9D74; } .dl-evc .now.ev.s-UNKNOWN { fill: #7C8BA1; }
.dl-evc .sh { font-size: 10.5px; font-weight: 800; font-family: var(--u-mono, monospace); } .dl-evc .sh.late { fill: #C6462B; } .dl-evc .sh.abs { fill: #B7791F; } .dl-evc .sh.early { fill: #188D68; } .dl-evc .sh.ev { fill: #4F5BD5; }
.dl-evc .dd { stroke: #2563EB; stroke-width: 1.2; } .dl-evc .ddt { font-size: 9px; font-weight: 800; fill: #2563EB; }
.dl-evc .cmp { stroke-width: 1.6; } .dl-evc .cmp.was { stroke: #64748B; stroke-dasharray: 4 3; } .dl-evc .cmp.now { stroke: #188D68; } .dl-evc .cmp.now.late { stroke: #C6462B; }
.dl-evc .cmt { font-size: 10.5px; font-weight: 800; fill: #C6462B; font-family: var(--u-mono, monospace); } .dl-evc .cmt.was { fill: #64748B; }
.dly .dl-evcl { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 10.5px; color: #475569; margin-top: 4px; }
.dly .dl-evcl span { display: inline-flex; align-items: center; gap: 5px; }
.dly .dl-evcl em { font-style: normal; color: #6B7A90; margin-left: auto; }
.dly .dl-evcl .k { display: inline-block; width: 16px; height: 8px; border-radius: 2px; }
.dly .dl-evcl .k.was { height: 4px; background: #94A3B8; } .dly .dl-evcl .k.drv { background: #C6462B; } .dly .dl-evcl .k.abs { background: #E0A33A; }
.dly .dl-evcl .k.ev.s-EMPLOYER { background: #4F5BD5; } .dly .dl-evcl .k.ev.s-CONTRACTOR { background: #D9822B; } .dly .dl-evcl .k.ev.s-NEUTRAL { background: #1F9D74; } .dly .dl-evcl .k.ev.s-UNKNOWN { background: #7C8BA1; }
.dly .dl-evcl .k.ln { width: 2px; height: 12px; border-radius: 0; } .dly .dl-evcl .k.ln.was { background: repeating-linear-gradient(#64748B 0 3px, transparent 3px 5px); } .dly .dl-evcl .k.ln.now { background: #C6462B; }
/* charts in a report are printed whole */
.dly .dl-rep .dl-dlbox, .dly.print .dl-dlbox { max-height: none; overflow: visible; }
.dly .dl-rep .dl-rchart { margin: 8px 0 12px; border: 1px solid var(--dl-line, #E2E8F0); border-radius: 10px; padding: 8px 10px; background: #fff; break-inside: avoid; }
.dly .dl-rep .dl-rchart svg { width: 100%; height: auto; display: block; }

/* ══ THE CLAIMS — one delay analysis each ══════════════════════════════ */
.dly .da-kpis { flex: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border: 1px solid var(--dl-line); border-radius: 12px; background: #fff; overflow: hidden; }
.dly .da-k { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-right: 1px solid #EEF2F7; min-width: 0; position: relative; }
.dly .da-k:last-child { border-right: 0; }
.dly .da-k::before { content: ""; position: absolute; left: 14px; top: 0; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: #CBD5E1; }
.dly .da-k.emp::before { background: var(--dl-emp); } .dly .da-k.is-ok::before { background: var(--dl-ok); } .dly .da-k.conc::before { background: #6D3FC0; } .dly .da-k.is-bad::before { background: var(--dl-bad); } .dly .da-k.is-warn::before { background: #D97706; }
.dly .da-k > span { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .da-k > b { font-family: var(--u-mono); font-size: 15px; font-weight: 800; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .da-k.emp > b { color: var(--dl-emp); } .dly .da-k.is-bad > b { color: var(--dl-bad); }
.dly .da-k > em { font-style: normal; font-size: 10.5px; color: #7C8BA1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .da-loose { flex: none; display: flex; align-items: center; gap: 12px; padding: 9px 14px; border: 1px dashed #F59E0B; background: #FFFBEB; border-radius: 10px; font-size: 12px; color: #78350F; }
.dly .da-loose b { white-space: nowrap; } .dly .da-loose span { flex: 1; min-width: 0; }
.dly .da-h, .dly .da-m { display: grid; grid-template-columns: 84px minmax(240px, 2.4fr) 92px 150px minmax(150px, 1.3fr) 96px 92px minmax(170px, 1.3fr) 150px; gap: 10px; align-items: center; padding: 0 14px; }
.dly .da-h { position: sticky; top: 0; z-index: 2; background: #F4F7FB; min-height: 32px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6B80; border-bottom: 1px solid var(--dl-line); }
.dly .da-h .n, .dly .da-m .n { text-align: right; justify-content: flex-end; }
.dly .da-r { border-bottom: 1px solid #EEF2F7; }
.dly .da-r.closed { opacity: .55; }
.dly .da-m { width: 100%; min-height: 58px; border: 0; background: transparent; text-align: left; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--dl-ink); padding-top: 8px; padding-bottom: 8px; }
.dly .da-m:hover { background: #F7FAFE; } .dly .da-r.open > .da-m { background: #F1F5FC; }
.dly .da-m > span { min-width: 0; }
.dly .da-m .no { display: flex; align-items: center; gap: 5px; } .dly .da-m .no b { font-size: 12.5px; color: #1E3A8A; }
.dly .da-m .car { font-style: normal; color: #94A3B8; width: 10px; }
.dly .da-m .ti { display: flex; flex-direction: column; gap: 3px; }
.dly .da-m .ti > b { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .da-idl { display: flex; flex-wrap: wrap; gap: 3px 0; font-size: 10.5px; color: #64748B; }
.dly .da-idl > b { font-weight: 800; color: #334155; background: #EEF2FF; border-radius: 4px; padding: 0 5px; margin-right: 6px; font-size: 10px; letter-spacing: .03em; }
.dly .da-idl > i { font-style: normal; } .dly .da-idl > i + i::before { content: "·"; margin: 0 5px; color: #CBD5E1; }
.dly .da-m .evs { display: flex; gap: 4px; }
.dly .da-m .ch { font-style: normal; font-family: var(--u-mono); font-size: 11px; font-weight: 800; color: #fff; min-width: 20px; height: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.dly .ch.s-EMPLOYER { background: var(--dl-emp); } .dly .ch.s-CONTRACTOR { background: var(--dl-con); } .dly .ch.s-NEUTRAL { background: var(--dl-neu); } .dly .ch.s-UNKNOWN { background: #94A3B8; }
.dly .da-m .cmp, .dly .da-m .eot { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.dly .da-m .cmp b, .dly .da-m .eot b { font-size: 14px; font-weight: 800; }
.dly .da-m .eot b { color: var(--dl-emp); }
.dly .da-m em { font-style: normal; font-size: 10.5px; color: #7C8BA1; }
.dly .da-m .cmp em { white-space: nowrap; }
.dly .da-m .late { color: var(--dl-bad); }
.dly .da-m em.rec { color: #188D68; } .dly .da-m em.rec.drift { color: #B45309; font-weight: 700; }
.dly .da-m .nt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.dly .mu, .dly em.mu { color: #94A3B8; font-style: normal; }
/* who caused it: one bar, the four parts */
.dly .da-split { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.dly .da-split.none { font-size: 11px; color: #94A3B8; }
.dly .da-split .da-bar { display: flex; gap: 2px; height: 16px; border-radius: 4px; overflow: hidden; }
.dly .da-split.big .da-bar { height: 24px; }
.dly .da-split .da-bar i { font-style: normal; display: flex; align-items: center; justify-content: center; min-width: 6px; font-family: var(--u-mono); font-size: 10.5px; font-weight: 800; color: #fff; }
.dly .da-split i.s-EMPLOYER, .dly .sq.s-EMPLOYER { background: var(--dl-emp); } .dly .da-split i.s-CONTRACTOR, .dly .sq.s-CONTRACTOR { background: var(--dl-con); } .dly .da-split i.s-NEUTRAL, .dly .sq.s-NEUTRAL { background: var(--dl-neu); }
.dly .da-split i.conc, .dly .sq.conc { background: repeating-linear-gradient(135deg, var(--dl-emp) 0 5px, var(--dl-con) 5px 10px); }
.dly .da-split .da-lg { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 11.5px; color: #475569; }
.dly .da-split .da-lg span { display: inline-flex; align-items: center; gap: 5px; } .dly .da-split .da-lg i { width: 11px; height: 11px; border-radius: 3px; min-width: 0; }
.dly .sq { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; }
/* the opened analysis */
.dly .da-d { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px 22px; padding: 12px 18px 14px 36px; background: #FBFCFE; border-top: 1px solid #E8EEF6; }
.dly .da-sh { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 6px; } .dly .da-sh b { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #334155; } .dly .da-sh span { font-size: 11px; color: #7C8BA1; }
.dly .da-evs .da-sh + .da-split, .dly .da-evs .da-et + .da-sh { margin-top: 12px; }
.dly table.da-et, .dly table.da-ent { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border: 1px solid #E8EEF6; border-radius: 8px; overflow: hidden; }
.dly table.da-et th, .dly table.da-ent th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #64748B; padding: 6px 8px; background: #F7F9FC; border-bottom: 1px solid #E8EEF6; white-space: nowrap; }
.dly table.da-et td, .dly table.da-ent td { padding: 6px 8px; border-bottom: 1px solid #F1F5F9; vertical-align: middle; }
.dly table.da-et .num, .dly table.da-ent .num { text-align: right; }
.dly table.da-et .t { font-weight: 700; display: block; } .dly table.da-et .late { color: var(--dl-bad); font-weight: 800; }
.dly table.da-et tr.s-EMPLOYER td:first-child { box-shadow: inset 3px 0 0 var(--dl-emp); } .dly table.da-et tr.s-CONTRACTOR td:first-child { box-shadow: inset 3px 0 0 var(--dl-con); } .dly table.da-et tr.s-NEUTRAL td:first-child { box-shadow: inset 3px 0 0 var(--dl-neu); }
.dly table.da-ent tr.tot td { font-weight: 800; background: #F1F5FF; color: #1E3A8A; border-bottom: 0; }
.dly .da-tr { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11px; color: #64748B; } .dly .da-tr .dl-sel { flex: 1; min-width: 0; }
.dly .da-note { margin: 6px 0 0; font-size: 11px; color: #64748B; line-height: 1.45; }
.dly .da-form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.dly .da-form label { display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; font-weight: 700; color: #64748B; }
.dly .da-form label:first-child { grid-column: 1 / -1; }
.dly .da-form .dl-in.sm, .dly .da-form .dl-sel.sm { height: 28px; padding: 0 7px; font-size: 12px; }
.dly .da-dl { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 11.5px; color: #334155; }
.dly .da-d .lg-act { grid-column: 1 / -1; border-top: 1px dashed #E2E8F0; padding-top: 10px; }
.dly .da-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 20px; text-align: center; color: #475569; }
.dly .da-empty b { font-size: 15px; color: #0F172A; } .dly .da-empty span { max-width: 560px; font-size: 12.5px; line-height: 1.5; }
@container (max-width: 1400px) {
  .dly .da-h, .dly .da-m { grid-template-columns: 70px minmax(190px, 2fr) 72px 136px minmax(110px, 1fr) 80px 70px minmax(140px, 1.1fr) 118px; gap: 8px; }
  .dly .da-d { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dly .da-evs { grid-column: 1 / -1; }
}
/* the Studio: the delay analysis it has open */
.dly .st-dachip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid #C7D2FE; background: #EEF2FF; border-radius: 8px; font: inherit; font-size: 12px; cursor: pointer; max-width: 240px; flex: none; }
.dly .st-dachip b { color: #1E3A8A; } .dly .st-dachip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; font-weight: 600; }
.dly .pk-da { display: flex; align-items: flex-end; gap: 12px; margin: 4px 0 14px; flex-wrap: wrap; }
.dly .pk-da label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 700; color: #64748B; min-width: 280px; }
.dly .pk-open { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 2px 0 16px; }
.dly .pk-open > b { flex-basis: 100%; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #334155; }
.dly .pk-open > button:not(.dl-b) { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; border: 1px solid var(--dl-line); background: #fff; border-radius: 10px; font: inherit; font-size: 12px; cursor: pointer; min-width: 200px; text-align: left; }
.dly .pk-open > button:not(.dl-b):hover { border-color: #A5B4FC; background: #F8FAFF; }
.dly .pk-open > button b { color: #1E3A8A; } .dly .pk-open > button span { font-weight: 700; } .dly .pk-open > button em { font-style: normal; font-size: 10.5px; color: #7C8BA1; }
.dly .st-dachip { max-width: 190px; } .dly .st-dachip b { white-space: nowrap; }

/* ══ NOTICES — per claim, compact ═════════════════════════════════════ */
.dly .nt3 { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 10px; }
.dly .nt3-main { min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.dly .nt3-dl { flex: none; background: #fff; border: 1px solid var(--dl-line); border-radius: 10px; padding: 6px 10px 4px; max-height: 190px; overflow-y: auto; }
.dly .nt3-dlh { display: flex; align-items: center; gap: 14px; font-size: 10.5px; color: #64748B; margin-bottom: 2px; }
.dly .nt3-dlh b { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #334155; }
.dly .nt3-dlh span { display: inline-flex; align-items: center; gap: 5px; }
.dly .nt3-dlh .k { display: inline-block; width: 14px; height: 7px; border-radius: 4px; }
.dly .nt3-dlh .k.np { background: #4F5BD5; } .dly .nt3-dlh .k.cp { background: #C7D2FE; height: 4px; } .dly .nt3-dlh .k.done { background: #188D68; } .dly .nt3-dlh .k.over { background: #C6462B; }
.dly svg.nt3-dls { width: 100%; height: auto; display: block; }
.nt3-dls .ax-m { stroke: #EEF2F7; } .nt3-dls .ax-t { font-size: 9px; font-weight: 800; fill: #94A3B8; letter-spacing: .05em; }
.nt3-dls .lb { font-size: 10px; font-weight: 800; fill: #334155; font-family: var(--u-mono, monospace); }
.nt3-dls .np { fill: #4F5BD5; } .nt3-dls .np.done { fill: #188D68; } .nt3-dls .np.over { fill: #C6462B; }
.nt3-dls .cp { fill: #C7D2FE; }
.nt3-dls .mk { fill: #475569; } .nt3-dls .mk.done { fill: #188D68; } .nt3-dls .mk.over { fill: #C6462B; }
.nt3-dls .today { stroke: #0F172A; stroke-width: 1.2; stroke-dasharray: 3 3; } .nt3-dls .today-t { font-size: 9px; font-weight: 800; fill: #0F172A; }
.dly .nt3-t { flex: 1 1 auto; min-height: 0; overflow: auto; background: #fff; border: 1px solid var(--dl-line); border-radius: 10px; }
.dly .nt3-h, .dly .nt3-r { display: grid; grid-template-columns: 74px minmax(200px, 1fr) 120px 150px 150px; gap: 12px; align-items: center; padding: 0 12px; }
.dly .nt3-h { position: sticky; top: 0; z-index: 1; min-height: 30px; background: #F7F9FC; border-bottom: 1px solid #E8EEF6; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.dly .nt3-r { width: 100%; min-height: 50px; border: 0; border-bottom: 1px solid #F1F5F9; background: #fff; font: inherit; text-align: left; cursor: pointer; border-left: 3px solid transparent; }
.dly .nt3-r:hover { background: #F8FAFD; } .dly .nt3-r.on { background: #F1F5FF; border-left-color: #4F5BD5; }
.dly .nt3-r .cd { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 36px; border-radius: 8px; background: #F1F5F9; line-height: 1; }
.dly .nt3-r .cd b { font-family: var(--u-mono); font-size: 15px; font-weight: 800; color: #334155; }
.dly .nt3-r .cd em { font-style: normal; font-size: 8.5px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.dly .nt3-r .cd.over { background: #FDECEA; } .dly .nt3-r .cd.over b, .dly .nt3-r .cd.over em { color: #B42318; }
.dly .nt3-r .cd.due { background: #FEF3C7; } .dly .nt3-r .cd.due b, .dly .nt3-r .cd.due em { color: #92400E; }
.dly .nt3-r .cd.fine { background: #EEF2FF; } .dly .nt3-r .cd.fine b { color: #3730A3; }
.dly .nt3-r .cd.done { background: #E7F6EF; } .dly .nt3-r .cd.done b, .dly .nt3-r .cd.done em { color: #146C4F; }
.dly .nt3-r .ti { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dly .nt3-r .ti b { font-size: 12.5px; font-weight: 700; color: #0F172A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .nt3-r .ti b .mono { color: #1E3A8A; font-weight: 800; margin-right: 4px; }
.dly .nt3-r .ti em, .dly .nt3-r .nc em { font-style: normal; font-size: 10.5px; color: #7C8BA1; }
.dly .nt3-r .nc { display: flex; flex-direction: column; gap: 1px; }
.dly .nt3-r .nc .d { font-size: 12px; font-weight: 700; color: #1E293B; }
.dly .nt3-r .nc em.over { color: #B42318; font-weight: 700; } .dly .nt3-r .nc em.due { color: #B45309; font-weight: 700; }
.dly .nt3-steps { display: flex; align-items: center; gap: 0; }
.dly .nt3-steps i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #CBD5E1; background: #fff; box-sizing: border-box; position: relative; }
.dly .nt3-steps i + i { margin-left: 16px; }
.dly .nt3-steps i + i::before { content: ""; position: absolute; right: 12px; top: 3px; width: 16px; height: 2px; background: #E2E8F0; }
.dly .nt3-steps i.done { background: #188D68; border-color: #188D68; } .dly .nt3-steps i.over { background: #C6462B; border-color: #C6462B; }
.dly .nt3-steps i.due { background: #FDE68A; border-color: #D97706; } .dly .nt3-steps i.todo { border-color: #4F5BD5; } .dly .nt3-steps i.na { border-style: dashed; opacity: .6; }
.dly .nt3-side { min-height: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dl-line); border-radius: 10px; overflow: hidden; }
.dly .nt3-sh { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px 6px; border-bottom: 1px solid #F1F5F9; }
.dly .nt3-sh b { color: #1E3A8A; font-size: 12.5px; } .dly .nt3-sh span { font-size: 12.5px; font-weight: 700; color: #0F172A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .nt3-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; padding: 8px 12px 4px; }
.dly .nt3-rec label { display: flex; flex-direction: column; gap: 2px; font-size: 10px; font-weight: 700; color: #64748B; }
.dly .nt3-rec .dl-in.sm, .dly .nt3-rec .dl-sel.sm { height: 28px; padding: 0 7px; font-size: 12px; }
.dly .nt3-rule { padding: 2px 12px 8px; font-size: 10.5px; color: #64748B; border-bottom: 1px solid #F1F5F9; }
.dly .nt3-gen { display: flex; align-items: center; gap: 6px; padding: 8px 12px; }
.dly .nt3-warn { margin: 0 12px 6px; padding: 6px 9px; border-radius: 7px; background: #FFF7ED; color: #9A3412; font-size: 11px; line-height: 1.4; }
.dly .nt3-doc { flex: 1 1 auto; min-height: 0; overflow: auto; margin: 0 12px 12px; padding: 12px 14px; font-size: 11.5px; line-height: 1.55; background: #FBFCFE; border: 1px solid #EEF2F7; border-radius: 8px; white-space: pre-wrap; }
@container (max-width: 1300px) { .dly .nt3 { grid-template-columns: minmax(0, 1fr) 360px; } .dly .nt3-h, .dly .nt3-r { grid-template-columns: 66px minmax(160px, 1fr) 110px 120px 120px; gap: 8px; } }

/* ══ THE OVERVIEW ═════════════════════════════════════════════════════ */
.dly .dov { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; }
.dly .dov-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.15fr; gap: 10px; }
.dly .dov-t { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 12px; background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; text-align: left; font: inherit; min-width: 0; position: relative; overflow: hidden; }
.dly button.dov-t { cursor: pointer; } .dly button.dov-t:hover { border-color: #A5B4FC; }
.dly .dov-t::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #E2E8F0; }
.dly .dov-t.is-bad::after { background: var(--dl-bad); } .dly .dov-t.is-ok::after { background: var(--dl-ok); } .dly .dov-t.emp::after { background: var(--dl-emp); } .dly .dov-t.is-warn::after { background: #D97706; }
.dly .dov-t .k { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #64748B; }
.dly .dov-t b { font-family: var(--u-mono); font-size: 24px; font-weight: 800; color: #0F172A; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .dov-t.is-bad b { color: var(--dl-bad); } .dly .dov-t.emp b { color: var(--dl-emp); } .dly .dov-t.is-warn b { color: #B45309; }
.dly .dov-t em { font-style: normal; font-size: 11px; color: #64748B; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dly .dov-t em i { font-style: normal; font-weight: 800; font-family: var(--u-mono); } .dly .dov-t em i.late { color: var(--dl-bad); } .dly .dov-t em i.early { color: var(--dl-ok); }
.dly .dov-card { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.dly .dov-h { display: flex; align-items: baseline; gap: 10px; padding: 11px 16px 6px; flex: none; }
.dly .dov-h b { font-size: 13px; font-weight: 800; color: #0F172A; } .dly .dov-h > span { font-size: 11.5px; color: #7C8BA1; }
.dly .dov-h .dl-b { align-self: center; }
.dly .dov-where { grid-column: 1; }
.dly svg.dov-pos { width: 100%; height: auto; display: block; padding: 0 8px; box-sizing: border-box; }
.dov-pos .ax-m { stroke: #F1F5F9; } .dov-pos .ax-t { font-size: 10px; font-weight: 800; fill: #94A3B8; letter-spacing: .05em; }
.dov-pos .trk { fill: #F1F5F9; }
.dov-pos .sg.g { fill: #188D68; } .dov-pos .sg.p { fill: #4F5BD5; } .dov-pos .sg.d { fill: #A5B4FC; } .dov-pos .sg.u { fill: #C6462B; }
.dov-pos .sv { font-size: 11px; font-weight: 800; fill: #fff; font-family: var(--u-mono, monospace); pointer-events: none; }
.dov-pos .mkl { stroke: #0F172A; stroke-width: 1.2; stroke-dasharray: 3 3; } .dov-pos .mkl.f { stroke: #C6462B; }
.dov-pos .mk.c { fill: #0F172A; } .dov-pos .mk.f { fill: #C6462B; }
.dov-pos .ml { font-size: 10.5px; font-weight: 700; fill: #64748B; } .dov-pos .md { font-size: 13px; font-weight: 800; fill: #0F172A; font-family: var(--u-mono, monospace); } .dov-pos .md.f { fill: #C6462B; }
.dly .dov-lg { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 2px 18px 12px; font-size: 11.5px; color: #475569; }
.dly .dov-lg span { display: inline-flex; align-items: center; gap: 6px; } .dly .dov-lg b { font-family: var(--u-mono); color: #0F172A; }
.dly .dov-lg i { width: 12px; height: 12px; border-radius: 3px; } .dly .dov-lg i.g { background: #188D68; } .dly .dov-lg i.p { background: #4F5BD5; } .dly .dov-lg i.d { background: #A5B4FC; } .dly .dov-lg i.u { background: #C6462B; }
.dly .dov-todo { grid-column: 2; grid-row: 2; max-height: 300px; }
.dly .dov-dl { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 4px 12px 12px; }
.dly .dov-do { display: grid; grid-template-columns: 70px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; border: 1px solid #EEF2F7; background: #FBFCFE; border-radius: 9px; padding: 7px 10px; cursor: pointer; font: inherit; font-size: 12px; color: #1E293B; flex: none; }
.dly .dov-do:hover { border-color: #C7D2FE; background: #fff; }
.dly .dov-do > b { grid-row: 1 / 3; font-size: 12px; text-align: center; padding: 5px 0; border-radius: 6px; background: #F1F5F9; color: #334155; }
.dly .dov-do.over > b { background: #FDECEA; color: #B42318; } .dly .dov-do.due > b { background: #FEF3C7; color: #92400E; } .dly .dov-do.is-info > b { background: #EEF2FF; color: #3730A3; }
.dly .dov-do > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dly .dov-do em { font-style: normal; font-size: 10.5px; color: #7C8BA1; }
.dly .dov-claims { grid-column: 1; grid-row: 3; }
.dly .dov-cl { flex: 1 1 auto; min-height: 0; padding: 0 8px 4px; }
.dly .dov-c { display: grid; grid-template-columns: 66px minmax(160px, 1.4fr) minmax(140px, 1.2fr) 70px 80px 120px; gap: 12px; align-items: center; width: 100%; padding: 8px 8px; border: 0; border-bottom: 1px solid #F1F5F9; background: none; font: inherit; text-align: left; cursor: pointer; }
.dly .dov-c:hover { background: #F8FAFD; }
.dly .dov-c .id { font-weight: 800; color: #1E3A8A; font-size: 12px; }
.dly .dov-c .ti { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .dly .dov-c .ti b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dly .dov-c .ti em, .dly .dov-c .n em { font-style: normal; font-size: 10.5px; color: #7C8BA1; }
.dly .dov-c .n { display: flex; flex-direction: column; align-items: flex-end; } .dly .dov-c .n b { font-size: 13px; color: #0F172A; } .dly .dov-c .n:nth-child(4) b { color: var(--dl-emp); }
.dly .dov-c .nx { font-size: 11px; font-weight: 700; color: #475569; text-align: right; } .dly .dov-c .nx.over { color: #B42318; } .dly .dov-c .nx.due { color: #B45309; }
.dly .dov-clg { display: flex; gap: 14px; padding: 6px 16px 10px; font-size: 10.5px; color: #64748B; border-top: 1px solid #F1F5F9; }
.dly .dov-clg span { display: inline-flex; align-items: center; gap: 5px; } .dly .dov-clg i { width: 10px; height: 10px; border-radius: 2px; }
.dly .dov-clg i.s-EMPLOYER { background: var(--dl-emp); } .dly .dov-clg i.s-CONTRACTOR { background: var(--dl-con); } .dly .dov-clg i.s-NEUTRAL { background: var(--dl-neu); } .dly .dov-clg i.conc { background: repeating-linear-gradient(135deg, var(--dl-emp) 0 3px, var(--dl-con) 3px 6px); }
.dly .dov-mv { grid-column: 2; grid-row: 3; }
.dly svg.dov-drift { width: 100%; height: auto; display: block; padding: 0 10px 8px; box-sizing: border-box; }
.dov-drift .gl { stroke: #F1F5F9; } .dov-drift .gt { font-size: 10px; fill: #94A3B8; font-family: var(--u-mono, monospace); }
.dov-drift .area { fill: rgba(198, 70, 43, .08); } .dov-drift .ln { fill: none; stroke: #C6462B; stroke-width: 2; }
.dov-drift .pt { fill: #fff; stroke: #C6462B; stroke-width: 2; } .dov-drift .pt.bare { fill: #FDE68A; stroke: #B45309; }
.dov-drift .xl { font-size: 10.5px; font-weight: 800; fill: #334155; } .dov-drift .xd { font-size: 9.5px; fill: #94A3B8; }
.dov-drift .vl { font-size: 10.5px; font-weight: 800; fill: #C6462B; font-family: var(--u-mono, monospace); }
.dov-drift .eot { stroke: #4F5BD5; stroke-dasharray: 5 4; } .dov-drift .eott { font-size: 10px; font-weight: 800; fill: #4F5BD5; }
.dly .dov-none { padding: 18px 16px; font-size: 12px; color: #7C8BA1; line-height: 1.5; }
.dly .da-ai { grid-column: 1 / -1; } .dly .da-ai .hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .dly .da-aio { margin-top: 6px; }

/* ══ REPORTS V2 ═══════════════════════════════════════════════════════ */
.dly .r2 { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 10px; }
.dly .r2-side { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.dly .r2-side > * { flex: none; }
.dly .r2-sh { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.dly .r2-sh em { font-style: normal; color: #94A3B8; margin-left: 4px; }
.dly .r2-kinds { display: flex; flex-direction: column; gap: 4px; }
.dly .r2-k { display: flex; flex-direction: column; gap: 1px; text-align: left; font: inherit; border: 1px solid #E5EAF1; background: #FBFCFE; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.dly .r2-k b { font-size: 12.5px; color: #0F172A; } .dly .r2-k em { font-style: normal; font-size: 10.5px; color: #7C8BA1; line-height: 1.3; }
.dly .r2-k:hover { border-color: #B8C6DB; } .dly .r2-k.on { border-color: #1F3A5F; background: #F1F4FA; box-shadow: inset 3px 0 0 #1F3A5F; }
.dly .r2-l { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; margin-top: 4px; }
.dly .r2-none, .dly .r2-empty { font-size: 12px; color: #7C8BA1; padding: 8px 0; } .dly .r2-empty { padding: 60px 30px; text-align: center; }
.dly .r2-ready { border: 1px solid #E5EAF1; border-left: 4px solid #94A3B8; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; background: #FBFCFE; }
.dly .r2-ready.is-ok { border-left-color: #188D68; } .dly .r2-ready.is-warn { border-left-color: #B45309; } .dly .r2-ready.is-bad { border-left-color: #C6462B; }
.dly .r2-ready > span { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: #64748B; }
.dly .r2-ready > b { font-size: 12.5px; color: #0F172A; } .dly .r2-ready.is-bad > b { color: #B42318; } .dly .r2-ready.is-warn > b { color: #92400E; }
.dly .r2-ready > em { font-style: normal; font-size: 11px; color: #188D68; }
.dly .r2-gates { display: flex; gap: 3px; }
.dly .r2-gates i { font-style: normal; width: 21px; height: 21px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; color: #fff; background: #94A3B8; cursor: help; }
.dly .r2-gates i.is-ok { background: #188D68; } .dly .r2-gates i.is-warn { background: #D97706; } .dly .r2-gates i.is-bad { background: #C6462B; }
.dly .r2-more { align-self: flex-start; font: inherit; font-size: 11px; font-weight: 700; color: #1F3A5F; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.dly .r2-miss { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; max-height: 220px; overflow: auto; }
.dly .r2-miss li { font-size: 11px; color: #334155; line-height: 1.35; display: flex; gap: 6px; } .dly .r2-miss li b { flex: none; width: 14px; color: #64748B; }
.dly .r2-miss li.is-bad { color: #B42318; } .dly .r2-miss li.is-warn { color: #7C4A03; }
.dly .r2-meta { border: 1px solid #E5EAF1; border-radius: 8px; }
.dly .r2-mh { width: 100%; display: flex; justify-content: space-between; font: inherit; font-size: 11.5px; font-weight: 800; color: #1E293B; background: #FBFCFE; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.dly .r2-mh i { font-style: normal; color: #94A3B8; }
.dly .r2-mf { display: flex; flex-direction: column; gap: 5px; padding: 6px 10px 10px; }
.dly .r2-mf label { display: flex; flex-direction: column; gap: 2px; font-size: 10px; font-weight: 700; color: #64748B; }
.dly .r2-mf .dl-in.sm { height: 27px; padding: 0 7px; font-size: 12px; }
.dly .r2-acts { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 6px; }
.dly .r2-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.dly .r2-strip { flex: none; display: grid; grid-template-columns: 1.5fr .9fr 1.2fr 1.3fr repeat(5, minmax(70px, .55fr)); background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; overflow: hidden; }
.dly .r2-strip > div { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-right: 1px solid #EEF2F7; min-width: 0; }
.dly .r2-strip > div:last-child { border-right: 0; }
.dly .r2-strip span { font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .r2-strip .n { padding: 8px 6px 8px 9px; }
.dly .r2-strip .n span { letter-spacing: .02em; }
.dly .r2-strip b { font-size: 13px; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dly .r2-strip b.is-ok { color: #146C4F; }
.dly .r2-strip em { font-style: normal; font-size: 10.5px; color: #7C8BA1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dly .r2-strip .n b { font-family: var(--u-mono); font-size: 15px; }
.dly .r2-tabs { flex: none; display: flex; align-items: center; gap: 4px; min-width: 0; }
.dly .r2-tabs > .dl-seg { flex: none; white-space: nowrap; }
.dly .r2-nav { display: flex; gap: 3px; overflow-x: auto; flex: 1 1 auto; min-width: 0; max-width: 46%; }
.dly .r2-nav button { flex: none; font: inherit; font-size: 10.5px; font-weight: 800; color: #1F3A5F; background: #fff; border: 1px solid #DCE3EC; border-radius: 5px; padding: 3px 7px; cursor: pointer; }
.dly .r2-nav button:hover { background: #EEF2F8; }
.dly .r2-pages { flex: 1 1 auto; min-height: 0; overflow: auto; background: #D5DBE3; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dly .r2-page { flex: none; width: calc(760px * var(--r2z, 1)); max-width: none; background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .18); }
.dly .r2-page svg { display: block; width: 100%; height: auto; }
.dly .r2-outline, .dly .r2-figs, .dly .r2-src { flex: 1 1 auto; min-height: 0; overflow: auto; background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 14px 18px; }
.dly table.r2-t { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 16px; }
.dly table.r2-t th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; background: #F4F6F9; padding: 6px 8px; border-bottom: 1px solid #1F3A5F; }
.dly table.r2-t td { padding: 5px 8px; border-bottom: 1px solid #EEF2F7; vertical-align: top; color: #1E293B; }
.dly table.r2-t .n { text-align: right; } .dly table.r2-t tr.l1 td { font-weight: 700; } .dly table.r2-t tr.l2 td:nth-child(2) { padding-left: 22px; }
.dly table.r2-t a { color: #1F3A5F; cursor: pointer; text-decoration: none; } .dly table.r2-t a:hover { text-decoration: underline; }
.dly table.r2-t tr.miss td { color: #B42318; background: #FDF3F1; } .dly table.r2-t tr.basis td { background: #F3F1FC; }
.dly table.r2-t tr.q-HIGH td:nth-child(2) { color: #146C4F; font-weight: 800; } .dly table.r2-t tr.q-MEDIUM td:nth-child(2) { color: #92400E; font-weight: 800; } .dly table.r2-t tr.q-LOW td:nth-child(2) { color: #B42318; font-weight: 800; }
.dly .r2-figs { display: flex; flex-direction: column; gap: 18px; }
.dly .r2-fig { border: 1px solid #E5EAF1; border-radius: 10px; padding: 12px 14px; }
.dly .r2-fig.is-bad { color: #B42318; }
.dly .r2-fh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; } .dly .r2-fh b { color: #1F3A5F; } .dly .r2-fh span { font-weight: 700; flex: 1; } .dly .r2-fh em { font-style: normal; font-size: 11px; color: #94A3B8; }
.dly .r2-fsvg svg { width: 100%; height: auto; display: block; }
.dly .r2-fig p { margin: 8px 0 4px; font-size: 12px; line-height: 1.5; color: #334155; }
.dly .r2-fm { display: flex; gap: 14px; flex-wrap: wrap; font-size: 10.5px; color: #7C8BA1; }
.dly .r2-sec { margin-bottom: 8px; }

/* ═══ Reports V2.1 — the editor, the review centre, submission ═══════════ */
.dly .r2.r2-wide { grid-template-columns: minmax(0, 1fr); }
.dly .r2-ready { text-align: left; font: inherit; cursor: pointer; }
.dly .r2-ready > em { color: #64748B; }
.dly .r2-n { font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: #B45309; border-radius: 8px; padding: 0 5px; margin-left: 3px; }
.dly .r2-n.is-bad { background: #C6462B; }
.dly .r2-banner { flex: none; display: flex; gap: 10px; align-items: baseline; background: #F1F4FA; border: 1px solid #D8E0EC; border-left: 4px solid #1F3A5F; border-radius: 10px; padding: 8px 12px; font-size: 12px; color: #334155; }
.dly .r2-banner b { font-size: 10.5px; letter-spacing: .08em; color: #1F3A5F; }
.dly .r2-banner.sub { border-left-color: #188D68; background: #EFF8F4; }

/* the document bar */
.dly .ed-bar { flex: none; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 7px 10px; position: relative; flex-wrap: wrap; }
.dly .ed-id { display: flex; flex-direction: column; min-width: 0; }
.dly .ed-id b { font-size: 13.5px; color: #0F172A; } .dly .ed-id span { font-size: 11px; color: #64748B; font-family: var(--u-mono); }
.dly .ed-pill { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 10px; padding: 3px 8px; background: #EEF2F7; color: #334155; white-space: nowrap; }
.dly .ed-pill.sm { font-size: 9px; padding: 1px 6px; margin-left: 6px; }
.dly .ed-pill.st-draft { background: #EEF2F7; color: #334155; } .dly .ed-pill.st-in_review { background: #FFF4E5; color: #92400E; }
.dly .ed-pill.st-ready { background: #E8F5EF; color: #146C4F; } .dly .ed-pill.st-submitted { background: #1F3A5F; color: #fff; } .dly .ed-pill.st-superseded { background: #E5E7EB; color: #6B7280; }
.dly .ed-pill.st-pending { background: #FFF4E5; color: #92400E; } .dly .ed-pill.st-accepted, .dly .ed-pill.st-edited { background: #E8F5EF; color: #146C4F; } .dly .ed-pill.st-rejected, .dly .ed-pill.st-refused { background: #FDECEA; color: #B42318; }
.dly .ed-ready { display: flex; flex-direction: column; align-items: flex-start; font: inherit; text-align: left; border: 1px solid #E5EAF1; border-left: 4px solid #94A3B8; border-radius: 8px; padding: 3px 10px; background: #FBFCFE; cursor: pointer; min-width: 190px; }
.dly .ed-ready span { font-size: 8.5px; font-weight: 800; letter-spacing: .09em; color: #64748B; } .dly .ed-ready b { font-size: 12px; color: #0F172A; } .dly .ed-ready em { font-style: normal; font-size: 10px; color: #64748B; }
.dly .ed-ready.is-ok { border-left-color: #188D68; } .dly .ed-ready.is-ok b { color: #146C4F; }
.dly .ed-ready.is-warn { border-left-color: #D97706; } .dly .ed-ready.is-warn b { color: #92400E; }
.dly .ed-ready.is-bad { border-left-color: #C6462B; } .dly .ed-ready.is-bad b { color: #B42318; }
.dly .ed-send { letter-spacing: .05em; }
.dly .ed-exp { position: relative; }
.dly .ed-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; width: 340px; background: #fff; border: 1px solid #D5DCE6; border-radius: 10px; box-shadow: 0 12px 28px rgba(15, 23, 42, .16); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.dly .ed-menu > button { display: flex; flex-direction: column; align-items: flex-start; font: inherit; text-align: left; background: none; border: 0; border-radius: 7px; padding: 7px 9px; cursor: pointer; }
.dly .ed-menu > button:hover { background: #F1F4FA; } .dly .ed-menu b { font-size: 12.5px; color: #0F172A; } .dly .ed-menu em { font-style: normal; font-size: 10.5px; color: #64748B; }
.dly .ed-chk { display: flex; gap: 6px; align-items: center; font-size: 11px; color: #334155; padding: 5px 9px; }

/* the editor: outline · canvas · inspector */
.dly .ed { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr) 330px; gap: 10px; }
.dly .ed-out { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 10px 8px; overflow: auto; }
.dly .ed-out ol { list-style: none; margin: 6px 0 0; padding: 0; }
.dly .ed-out li { position: relative; }
.dly .ed-out li > ol { margin: 0 0 2px 16px; }
.dly .ed-out a { display: flex; gap: 6px; align-items: baseline; padding: 4px 6px; border-radius: 6px; font-size: 11.5px; color: #1E293B; cursor: pointer; text-decoration: none; padding-right: 36px; }
.dly .ed-out a:hover { background: #F1F4FA; }
.dly .ed-out .no { flex: none; min-width: 20px; font-weight: 800; color: #1F3A5F; font-size: 10.5px; }
.dly .ed-out .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .ed-out li.l2 a { font-size: 10.8px; color: #475569; }
.dly .ed-out li.app > a { color: #475569; }
.dly .ed-out i { font-style: normal; flex: none; font-size: 9px; font-weight: 800; color: #fff; border-radius: 7px; padding: 0 4px; }
.dly .ed-out i.b-crit { background: #C6462B; } .dly .ed-out i.b-maj { background: #D97706; } .dly .ed-out i.b-cmt { background: #4F5BD5; }
.dly .ed-out .mv { position: absolute; right: 4px; top: 3px; display: none; gap: 1px; }
.dly .ed-out li:hover > .mv { display: flex; }
.dly .ed-out .mv button { font: inherit; font-size: 8px; line-height: 1; border: 1px solid #D5DCE6; background: #fff; border-radius: 3px; padding: 2px 3px; cursor: pointer; color: #475569; }

.dly .ed-canvas { overflow: auto; background: #DDE2E9; border-radius: 12px; padding: 18px 16px 60px; }
.dly .ed-paper { max-width: 800px; margin: 0 auto; background: #fff; box-shadow: 0 2px 12px rgba(15, 23, 42, .14); padding: 34px 54px 48px 72px; font-family: Helvetica, Arial, sans-serif; color: #1E293B; }
.dly .ed-note { font-size: 10.5px; color: #64748B; border-bottom: 1px dashed #D5DCE6; padding-bottom: 8px; margin-bottom: 8px; }
.dly .ed-sec { margin: 0 0 6px; }
.dly .ed-sh { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px; border-bottom: 1.5px solid #1F3A5F; padding-bottom: 3px; position: relative; }
.dly .ed-sh .no { font-size: 17px; font-weight: 800; color: #1F3A5F; }
.dly .ed-sh h2 { font-size: 17px; margin: 0; color: #0F172A; flex: 1; }
.dly .ed-sh.l2 { border-bottom: 0; margin: 14px 0 6px; } .dly .ed-sh.l2 .no, .dly .ed-sh.l2 h3 { font-size: 13.5px; color: #1F3A5F; margin: 0; }
.dly .ed-sh .ed-tools { position: absolute; right: 0; top: -2px; }
.dly .ed-t { outline: none; border-radius: 3px; transition: background .12s; }
.dly .ed-t:hover { background: #F7F9FC; }
.dly .ed-t:focus { background: #FFFDF2; box-shadow: 0 0 0 2px #F5D98B; }
.dly .ed-t[data-ph]:empty::before { content: attr(data-ph); color: #94A3B8; font-style: italic; }
.dly .ed-b { position: relative; margin: 2px -10px; padding: 3px 10px; border-radius: 6px; border-left: 3px solid transparent; }
.dly .ed-b:hover { background: #FAFBFD; }
.dly .ed-b.sel { background: #F5F8FD; border-left-color: #1F3A5F; }
.dly .ed-b.edited { border-left-color: #4F5BD5; } .dly .ed-b.ai { border-left-color: #7C3AED; } .dly .ed-b.user { border-left-color: #0F766E; } .dly .ed-b.stale { border-left-color: #D97706; background: #FFFBF3; }
.dly .ed-meta { display: flex; gap: 6px; align-items: center; min-height: 0; position: absolute; right: 8px; top: -11px; z-index: 2; }
.dly .ed-b.edited, .dly .ed-b.ai, .dly .ed-b.user, .dly .ed-b.stale { margin-top: 14px; }
.dly .ed-badge, .dly .ed-flag, .dly .ed-cm { font-size: 9px; font-weight: 800; letter-spacing: .04em; border-radius: 6px; padding: 1px 6px; background: #EEF2F7; color: #334155; }
.dly .ed-badge.edited { background: #EEF0FC; color: #3B45A8; } .dly .ed-badge.ai { background: #F3EEFE; color: #6D28D9; } .dly .ed-badge.user { background: #E6F4F2; color: #0F766E; } .dly .ed-badge.stale { background: #FFF1DC; color: #92400E; }
.dly .ed-flag.is-bad { background: #C6462B; color: #fff; } .dly .ed-flag.is-warn { background: #D97706; color: #fff; } .dly .ed-cm { background: #EEF0FC; color: #3B45A8; }
.dly .ed-tools { display: none; gap: 2px; background: #fff; border: 1px solid #D5DCE6; border-radius: 7px; padding: 1px; box-shadow: 0 2px 6px rgba(15, 23, 42, .08); }
.dly .ed-b:hover .ed-tools, .dly .ed-b.sel .ed-tools, .dly .ed-sh:hover .ed-tools { display: inline-flex; }
.dly .ed-tools button { font: inherit; font-size: 10px; font-weight: 700; color: #1F3A5F; background: none; border: 0; border-radius: 5px; padding: 2px 6px; cursor: pointer; }
.dly .ed-tools button:hover { background: #EEF2F8; }
.dly .ed-k-p { display: flex; gap: 8px; align-items: flex-start; }
.dly .ed-k-p .ed-t { flex: 1; font-size: 13px; line-height: 1.62; padding: 1px 3px; min-height: 1.6em; }
.dly .ed-prov { flex: none; width: 58px; margin-left: -66px; text-align: right; font-size: 7.5px; font-weight: 800; letter-spacing: .04em; padding-top: 4px; color: #475569; border-right: 2px solid currentColor; padding-right: 5px; }
.dly .ed-prov.p-RECORD { color: #0F766E; } .dly .ed-prov.p-SCHEDULE { color: #1D4ED8; } .dly .ed-prov.p-ANALYSIS { color: #6D28D9; } .dly .ed-prov.p-CONTRACT { color: #92400E; }
.dly .ed-prov.p-ENTITLEMENT { color: #B91C1C; } .dly .ed-prov.p-CONCLUSION { color: #1F3A5F; } .dly .ed-prov.p-QUALIFICATION { color: #B45309; } .dly .ed-prov.p-NONE { border-right-color: transparent; }
.dly .ed-k-h h4 { font-size: 12.5px; color: #1F3A5F; margin: 8px 0 2px; }
.dly .ed-list { margin: 2px 0 6px; padding-left: 22px; font-size: 13px; line-height: 1.55; } .dly .ed-list li { margin: 2px 0; }
.dly .ed-cap { font-size: 11.5px; color: #1F3A5F; margin: 8px 0 4px; } .dly .ed-cap b { margin-right: 3px; }
.dly .ed-tw { overflow-x: auto; }
.dly table.ed-tab { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 4px; }
.dly table.ed-tab th { text-align: left; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748B; background: #EEF2F7; padding: 5px 6px; border-bottom: 1px solid #1F3A5F; vertical-align: top; }
.dly table.ed-tab tbody th { background: none; border-bottom: 1px solid #EDF1F6; text-transform: none; letter-spacing: 0; font-size: 10.5px; width: 32%; }
.dly table.ed-tab td { padding: 4px 6px; border-bottom: 1px solid #E3E8EF; vertical-align: top; line-height: 1.4; }
.dly table.ed-tab tr.total td { font-weight: 800; background: #EAF0FA; border-bottom: 1px solid #1F3A5F; } .dly table.ed-tab tr.hl td { background: #F3F1FC; }
.dly .ed-tnote { font-size: 10.5px; color: #64748B; margin-bottom: 8px; }
.dly .ed-fig { border: 1px solid #E3E8EF; border-radius: 4px; padding: 4px; }
.dly .ed-fsvg svg { display: block; width: 100%; height: auto; }
.dly .ed-k-figure > .ed-t { font-size: 12px; line-height: 1.5; min-height: 1.4em; }
.dly .ed-src { font-size: 10px; color: #64748B; margin: 2px 0 8px; }
.dly .ed-lock { font-size: 9.5px; font-weight: 700; color: #64748B; letter-spacing: .02em; margin: 6px 0 4px; }
.dly .ed-lock::before { content: '🔒 '; }
.dly .ed-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.dly .ed-kpis > div { border: 1px solid #D5DCE6; border-top: 3px solid #1F3A5F; padding: 5px 7px; display: flex; flex-direction: column; min-width: 0; }
.dly .ed-kpis span { font-size: 8.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; } .dly .ed-kpis b { font-size: 14px; color: #1F3A5F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dly .ed-kpis em { font-style: normal; font-size: 9.5px; color: #64748B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dly .ed-card { border: 1px solid #D5DCE6; margin-bottom: 8px; }
.dly .ed-card .hd { background: #1F3A5F; color: #fff; padding: 6px 10px; display: flex; flex-direction: column; } .dly .ed-card .hd span { font-size: 9px; font-weight: 800; letter-spacing: .06em; color: #C9D6EA; } .dly .ed-card .hd b { font-size: 13px; }
.dly .ed-card .ln { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px; padding: 4px 10px; border-top: 1px solid #EDF1F6; }
.dly .ed-card .ln span { font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #64748B; padding-top: 2px; } .dly .ed-card .ln p { margin: 0; font-size: 11.5px; line-height: 1.45; }
.dly .ed-callout { background: #F1F4FA; border-left: 3px solid #1F3A5F; padding: 6px 10px; font-size: 12px; }
.dly .ed-sign { font-size: 12.5px; line-height: 1.5; margin: 10px 0; }
.dly .ed-ev { text-decoration: none; border-bottom: 1px dotted #1D4ED8; color: #1D4ED8; cursor: pointer; }
.dly .ed-addm { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: #F7F9FC; border: 1px solid #D5DCE6; border-radius: 8px; padding: 6px; margin: 4px 0; }
.dly .ed-addm button { font: inherit; font-size: 10.5px; font-weight: 700; border: 1px solid #D5DCE6; background: #fff; border-radius: 5px; padding: 2px 7px; cursor: pointer; color: #1F3A5F; }
.dly .ed-addm span { font-size: 10px; font-weight: 800; color: #64748B; margin-left: 6px; }
.dly .ed-deleted { font-size: 10.5px; color: #64748B; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.dly .ed-deleted button { font: inherit; font-size: 10.5px; color: #1F3A5F; background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }

/* the inspector */
.dly .ed-ins { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; overflow: auto; display: flex; flex-direction: column; }
.dly .ed-itabs { position: sticky; top: 0; z-index: 2; display: flex; background: #fff; border-bottom: 1px solid #E5EAF1; }
.dly .ed-itabs button { flex: 1; font: inherit; font-size: 11.5px; font-weight: 700; color: #475569; background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 4px; cursor: pointer; }
.dly .ed-itabs button.on { color: #1F3A5F; border-bottom-color: #1F3A5F; } .dly .ed-itabs i { font-style: normal; font-size: 9.5px; color: #fff; background: #4F5BD5; border-radius: 7px; padding: 0 5px; }
.dly .ed-ip { padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; border-bottom: 1px solid #EEF2F7; }
.dly .ed-empty { font-size: 11.5px; color: #7C8BA1; padding: 12px; line-height: 1.45; }
.dly .ed-hint { font-size: 10.5px; color: #64748B; line-height: 1.45; margin: 0; }
.dly .ed-dl { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 3px 8px; margin: 0; font-size: 11.5px; } .dly .ed-dl dt { color: #64748B; font-weight: 700; } .dly .ed-dl dd { margin: 0; color: #1E293B; }
.dly .ed-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.dly .ed-chip { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 1px 6px; background: #EEF2F7; }
.dly .ed-chip.is-ok { background: #E8F5EF; color: #146C4F; } .dly .ed-chip.is-bad { background: #FDECEA; color: #B42318; }
.dly .ed-ovr { font-size: 11px; background: #FFF7ED; border-left: 3px solid #D97706; padding: 4px 7px; display: flex; flex-direction: column; } .dly .ed-ovr em { font-style: normal; color: #64748B; font-size: 10px; }
.dly .ed-iss { font-size: 11px; padding: 4px 7px; border-left: 3px solid #94A3B8; background: #F8FAFC; } .dly .ed-iss.is-bad { border-left-color: #C6462B; background: #FDF3F1; } .dly .ed-iss.is-warn { border-left-color: #D97706; background: #FFFBF3; }
.dly .ed-acts { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.dly .ed-aigrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dly .ed-aigrid button { font: inherit; font-size: 10.8px; font-weight: 700; text-align: left; color: #1F3A5F; background: #F7F9FC; border: 1px solid #DCE3EC; border-radius: 6px; padding: 5px 7px; cursor: pointer; }
.dly .ed-aigrid button:hover { background: #EEF2F8; border-color: #B8C6DB; } .dly .ed-aigrid button[disabled] { opacity: .5; cursor: default; }
.dly .ed-lbl { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.dly .ed-ins textarea.dl-in { min-height: 0 !important; height: auto; font-size: 12px; line-height: 1.4; padding: 6px 8px; resize: vertical; width: 100%; box-sizing: border-box; }
.dly .ed-row { display: flex; gap: 5px; } .dly .ed-row .dl-in { flex: 1; }
.dly .ed-prop { border: 1px solid #E5EAF1; border-radius: 8px; padding: 6px 8px; font-size: 11px; display: flex; flex-direction: column; gap: 3px; }
.dly .ed-prop em { font-style: normal; color: #475569; line-height: 1.35; }
.dly .ed-cmt { border: 1px solid #E5EAF1; border-left: 3px solid #4F5BD5; border-radius: 7px; padding: 6px 8px; font-size: 11px; display: flex; flex-direction: column; gap: 3px; }
.dly .ed-cmt.done { opacity: .6; border-left-color: #188D68; } .dly .ed-cmt span { color: #94A3B8; margin-left: 6px; } .dly .ed-cmt p { margin: 0; font-size: 12px; } .dly .ed-cmt a { color: #1F3A5F; cursor: pointer; }
.dly .ed-rep { font-size: 11px; background: #F7F9FC; border-radius: 5px; padding: 3px 6px; } .dly .ed-rep.ai { background: #F3EEFE; }
.dly .ed-evl { display: flex; flex-direction: column; gap: 2px; max-height: 220px; overflow: auto; }
.dly .ed-evl button { display: flex; gap: 8px; font: inherit; font-size: 11px; background: none; border: 0; border-radius: 5px; padding: 3px 5px; cursor: pointer; text-align: left; }
.dly .ed-evl button:hover, .dly .ed-evl button.on { background: #F1F4FA; } .dly .ed-evl b { color: #1D4ED8; min-width: 60px; } .dly .ed-evl span { color: #64748B; }
.dly .ed-evc { border: 1px solid #DCE3EC; border-radius: 8px; padding: 7px 9px; font-size: 11.5px; background: #FBFCFE; }

/* the selection toolbar (on the page body, outside the panel) */
.ed-seltb { position: absolute; z-index: 9000; display: flex; flex-wrap: wrap; max-width: 560px; gap: 2px; background: #1F2937; border-radius: 9px; padding: 4px; box-shadow: 0 10px 26px rgba(15, 23, 42, .3); }
.ed-seltb button { font: 600 11px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif; color: #F8FAFC; background: none; border: 0; border-radius: 6px; padding: 5px 8px; cursor: pointer; white-space: nowrap; }
.ed-seltb button:hover { background: #374151; } .ed-seltb button.more { color: #CBD5E1; font-weight: 500; } .ed-seltb .sep { width: 100%; height: 0; }

/* modals */
.dly .ed-modal { position: fixed; inset: 0; z-index: 8000; background: rgba(15, 23, 42, .38); display: flex; align-items: center; justify-content: center; padding: 20px; }
.dly .ed-mbox { width: min(820px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.dly .ed-mh { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid #E5EAF1; padding-bottom: 8px; } .dly .ed-mh b { font-size: 15px; color: #0F172A; } .dly .ed-mh span { font-size: 11.5px; color: #64748B; }
.dly .ed-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dly .ed-cmp > div { border: 1px solid #E5EAF1; border-radius: 8px; padding: 8px 10px; } .dly .ed-cmp p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; }
.dly .ed-cmp > div:last-child { border-color: #C9B8F5; background: #FBF9FF; }
.dly .ed-diff { font-size: 12.5px; line-height: 1.6; margin: 0; background: #FBFCFE; border: 1px solid #E5EAF1; border-radius: 8px; padding: 8px 10px; }
.dly .ed-diff ins { background: #DDF4E6; color: #135E3F; text-decoration: none; } .dly .ed-diff del { background: #FBE3DF; color: #9B2C1B; }
.dly .ed-refused { background: #FDF3F1; border-left: 4px solid #C6462B; border-radius: 6px; padding: 8px 12px; font-size: 12px; } .dly .ed-refused p { margin: 3px 0 0; }
.dly .ed-choice { display: flex; flex-direction: column; gap: 6px; }
.dly .ed-choice > button, .dly .ed-ovf { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font: inherit; text-align: left; border: 1px solid #DCE3EC; background: #FBFCFE; border-radius: 9px; padding: 8px 11px; cursor: pointer; }
.dly .ed-choice > button:hover { border-color: #1F3A5F; } .dly .ed-choice b { font-size: 12.5px; color: #0F172A; } .dly .ed-choice em { font-style: normal; font-size: 11px; color: #64748B; }
.dly .ed-ovf { cursor: default; border-color: #F2C98D; background: #FFFBF3; } .dly .ed-ovf textarea.dl-in { width: 100%; box-sizing: border-box; min-height: 0 !important; }
.dly table.ed-conf th { width: 190px; }
.dly table.ed-conf b.is-ok { color: #146C4F; } .dly table.ed-conf b.is-bad { color: #B42318; }
.dly .ed-diffrow { margin-bottom: 8px; }

/* the review centre */
.dly .rc { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.dly .rc-head { flex: none; display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--dl-line); border-left: 6px solid #94A3B8; border-radius: 12px; padding: 12px 16px; flex-wrap: wrap; }
.dly .rc-head > div:first-child { display: flex; flex-direction: column; flex: 1; min-width: 240px; } .dly .rc-head span { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; color: #64748B; }
.dly .rc-head b { font-size: 20px; color: #0F172A; } .dly .rc-head em { font-style: normal; font-size: 11.5px; color: #475569; }
.dly .rc-head.is-ok { border-left-color: #188D68; } .dly .rc-head.is-ok b { color: #146C4F; } .dly .rc-head.is-warn { border-left-color: #D97706; } .dly .rc-head.is-warn b { color: #92400E; } .dly .rc-head.is-bad { border-left-color: #C6462B; } .dly .rc-head.is-bad b { color: #B42318; }
.dly .rc-counts { display: flex; gap: 6px; }
.dly .rc-counts > div { display: flex; flex-direction: column; align-items: center; min-width: 62px; border-radius: 8px; padding: 4px 8px; background: #F4F6F9; }
.dly .rc-counts b { font-size: 18px; } .dly .rc-counts span { font-size: 8.5px; font-weight: 800; letter-spacing: .08em; color: #64748B; }
.dly .rc-counts .is-bad b { color: #C6462B; } .dly .rc-counts .is-warn b { color: #B45309; } .dly .rc-counts .is-info b { color: #1D4ED8; } .dly .rc-counts .is-mute b { color: #64748B; }
.dly .rc-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.dly .rc-main, .dly .rc-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dly .rc-group { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.dly .rc-issue { border: 1px solid #E5EAF1; border-left: 4px solid #94A3B8; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; }
.dly .rc-issue.is-bad { border-left-color: #C6462B; } .dly .rc-issue.is-warn { border-left-color: #D97706; } .dly .rc-issue.is-info { border-left-color: #1D4ED8; }
.dly .rc-issue.acked { opacity: .78; background: #FAFBFD; }
.dly .rc-ih { display: flex; gap: 8px; align-items: baseline; } .dly .rc-ih b { flex: 1; font-size: 12.5px; color: #0F172A; line-height: 1.4; } .dly .rc-ih i { font-style: normal; font-size: 10px; font-weight: 800; color: #64748B; }
.dly .ed-sev { flex: none; font-size: 9px; font-weight: 800; letter-spacing: .06em; border-radius: 5px; padding: 1px 6px; color: #fff; background: #94A3B8; }
.dly .ed-sev.is-bad { background: #C6462B; } .dly .ed-sev.is-warn { background: #D97706; } .dly .ed-sev.is-info { background: #1D4ED8; } .dly .ed-sev.is-mute { background: #94A3B8; } .dly .ed-sev.is-ok { background: #188D68; }
.dly .rc-checks td { vertical-align: top; } .dly .rc-checks em { color: #64748B; font-style: normal; font-size: 11px; }
.dly .rc-dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 2px 10px; margin: 0; font-size: 11.5px; } .dly .rc-dl dt { color: #64748B; font-weight: 700; } .dly .rc-dl dd { margin: 0; color: #334155; } .dly .rc-dl a { color: #1F3A5F; cursor: pointer; text-decoration: underline; }
.dly .rc-card { background: #fff; border: 1px solid var(--dl-line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.dly .rc-card.alert { border: 1.5px solid #E7A698; background: #FFFAF8; }
.dly .rc-t { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .dly .rc-t b { font-size: 13px; color: #0F172A; } .dly .rc-t em { font-style: normal; font-size: 10.5px; color: #64748B; }
.dly .rc-card.alert .rc-t b { color: #B42318; letter-spacing: .02em; }
.dly .rc-t i { font-style: normal; width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: #C6462B; }
.dly .rc-card table.r2-t { margin-bottom: 0; font-size: 11px; } .dly .rc-card table.r2-t th { width: 40%; }
.dly .rc-card table.r2-t thead th { width: auto; }
.dly .rc-sw { display: flex; flex-direction: column; gap: 7px; border-top: 1px solid #EEF2F7; padding-top: 8px; }
.dly .rc-src { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid #EEF2F7; padding-top: 8px; margin-top: 6px; font-size: 12px; } .dly .rc-src em { color: #64748B; font-style: normal; font-size: 11px; }
.dly .ed-sw { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.dly .ed-sw button { flex: none; width: 34px; height: 19px; border-radius: 10px; border: 0; background: #CBD5E1; position: relative; cursor: pointer; margin-top: 1px; }
.dly .ed-sw button i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 8px; background: #fff; transition: left .15s; }
.dly .ed-sw button.on { background: #1F3A5F; } .dly .ed-sw button.on i { left: 17px; }
.dly .ed-sw span { display: flex; flex-direction: column; } .dly .ed-sw b { font-size: 12px; color: #0F172A; } .dly .ed-sw em { font-style: normal; font-size: 10.5px; color: #64748B; line-height: 1.35; }
.dly .rc-disc { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #E5EAF1; border-radius: 8px; padding: 7px 9px; }
.dly .rc-disc > div:first-child { flex: 1; } .dly .rc-disc b { font-size: 12px; } .dly .rc-disc em { font-style: normal; font-size: 10px; color: #94A3B8; margin-left: 6px; } .dly .rc-disc p { margin: 3px 0 0; font-size: 11px; color: #475569; line-height: 1.4; }
.dly .rc-disc.on { border-color: #1F3A5F; background: #F5F8FD; } .dly .rc-disc.na { opacity: .55; }
.dly .rc-disc .seg { display: flex; flex-direction: column; gap: 3px; flex: none; }
.dly .rc-disc .seg button { font: inherit; font-size: 10.5px; font-weight: 700; border: 1px solid #DCE3EC; background: #fff; border-radius: 6px; padding: 3px 8px; cursor: pointer; color: #475569; }
.dly .rc-disc .seg button.on { background: #1F3A5F; border-color: #1F3A5F; color: #fff; }
.dly .rc-form { display: flex; flex-direction: column; gap: 6px; background: #F7F9FC; border: 1px solid #DCE3EC; border-radius: 8px; padding: 8px 10px; }
.dly .rc-form textarea.dl-in { min-height: 0 !important; width: 100%; box-sizing: border-box; font-size: 12px; }
.dly .ed-hist { max-height: 260px; overflow: auto; font-size: 11px; color: #334155; display: flex; flex-direction: column; gap: 2px; } .dly .ed-hist span { color: #94A3B8; font-family: var(--u-mono); font-size: 10px; }
@media (max-width: 1280px) { .dly .ed { grid-template-columns: 190px minmax(0, 1fr) 290px; } .dly .rc-cols { grid-template-columns: minmax(0, 1fr); } }

/* ── Contract Intelligence (tabs/delay/delay-contract-ui.js) ─────────── */
.dly .ct-wrap { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 0; }
.dly .ct-wrap > .dl-split { flex: 1; min-height: 0; }
.dly .ci-views { align-self: flex-start; }
/* the whole view is ONE scroller: the header and the documents scroll away
   with the tables, and the evidence stays beside them (sticky) — never a
   short box inside a short box */
.dly .ci { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-right: 2px; }
.dly .ci > * { flex: none; }
.dly .ci-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 10px 14px; }
.dly .ci-head b { font-size: 14px; color: #0F172A; display: block; } .dly .ci-head em { font-style: normal; color: #64748B; font-size: 12px; }
.dly .ci-acts { display: flex; gap: 6px; flex: none; }
.dly .ci-docs { display: flex; flex-wrap: wrap; gap: 6px; }
.dly .ci-doc { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #E2E8F0; border-left-width: 3px; background: #fff; border-radius: 8px; padding: 4px 4px 4px 9px; font-size: 12px; }
.dly .ci-doc.is-ok { border-left-color: #188D68; } .dly .ci-doc.is-warn { border-left-color: #D97706; } .dly .ci-doc.is-bad { border-left-color: #C6462B; }
.dly .ci-doc em { font-style: normal; color: #64748B; }
.dly .ci-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 10px; align-items: start; }
.dly .ci-main, .dly .ci-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dly .ci-side { position: sticky; top: 0; max-height: calc(var(--dl-h) - 56px); overflow: auto; overscroll-behavior: contain; }
.dly .ci-area { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 8px 10px; }
.dly .ci-area h4 { margin: 2px 0 6px; font-size: 12.5px; letter-spacing: .02em; color: #1F3A5F; }
.dly .ci-t td { vertical-align: top; font-size: 12px; } .dly .ci-t td:first-child { width: 190px; color: #334155; font-weight: 600; }
.dly .ci-t td:nth-child(3) { width: 230px; } .dly .ci-t td:last-child { width: 118px; white-space: nowrap; }
.dly .ci-t tr.is-sel td, .dly .ci-t tr.sel td { background: #EEF4FF; }
.dly .ci-src { display: block; text-align: left; background: none; border: 0; padding: 0 0 2px; color: #1D4ED8; font-size: 11.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.dly .ci-list { margin: 0; padding-left: 16px; } .dly .ci-list li { margin: 0 0 2px; }
.dly .ci-ai { font-style: normal; font-size: 9px; font-weight: 800; color: #5B3A8E; border: 1px solid #C9B6EA; border-radius: 4px; padding: 0 3px; }
.dly .ci-ev blockquote { margin: 6px 0; border-left: 3px solid #1F3A5F; padding: 6px 10px; background: #F4F6F9; font-size: 12.5px; color: #1E293B; }
.dly .ci-page pre { white-space: pre-wrap; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; max-height: 42vh; overflow: auto; background: #FBFCFE; border: 1px solid #E2E8F0; border-radius: 8px; padding: 8px; }
.dly .ci-page mark { background: #FEF3C7; }
.dly .ci-cm { margin: 0; padding-left: 16px; font-size: 12px; } .dly .ci-cm li { margin: 0 0 6px; }
.dly .ci-cm li.is-warn b { color: #B45309; } .dly .ci-cm li.is-info b { color: #1D4ED8; } .dly .ci-cm li.is-mute b { color: #64748B; }
.dly .ci-ask { display: flex; gap: 6px; } .dly .ci-ask .dl-in { flex: 1; }
.dly .ci-ans p { font-size: 12.5px; margin: 6px 0; } .dly .ci-pass { border-top: 1px solid #EEF2F7; padding-top: 6px; margin-top: 6px; font-size: 12px; }
.dly .ci-pass p { margin: 2px 0 0; color: #334155; }
.dly .ci-tia ul { list-style: none; margin: 0; padding: 0; font-size: 12px; } .dly .ci-tia li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 6px; margin-bottom: 4px; }
.dly .ci-tia li span { color: #64748B; } .dly .ci-tia li em { grid-column: 2; font-style: normal; color: #64748B; font-size: 11px; }
/* Contract Intelligence — the views (Contract Map, Requirements, Risks, Documents, Clauses, Ask) */
.dly .ci-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid #E2E8F0; padding-bottom: 6px; }
.dly .ci-tab { font: inherit; font-size: 12.5px; font-weight: 700; color: #475569; background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.dly .ci-tab.on { background: #1F3A5F; border-color: #1F3A5F; color: #fff; }
.dly .ci-grid.one { grid-template-columns: minmax(0, 1fr); }
.dly .ci-ref { font-size: 12px; color: #334155; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 8px; padding: 6px 10px; }
.dly .ci-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.dly .ci-card { background: #fff; border: 1px solid #E2E8F0; border-left: 4px solid #CBD5E1; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dly .ci-card.is-ok { border-left-color: #188D68; } .dly .ci-card.is-bad { border-left-color: #C6462B; } .dly .ci-card.is-warn { border-left-color: #D97706; }
.dly .ci-card-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; } .dly .ci-card-h b { font-size: 12.5px; color: #0F172A; }
.dly .ci-pos { font-size: 12.5px; color: #1E293B; overflow-wrap: anywhere; }
.dly .ci-card-f { display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.dly .imp { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .06em; border-radius: 4px; padding: 1px 5px; margin-left: 6px; background: #EEF2F7; color: #475569; }
.dly .imp-high { background: #FDECEA; color: #B42318; } .dly .imp-medium { background: #FFF4E5; color: #92400E; }
.dly .ci-notsaid ul { margin: 0; padding-left: 16px; font-size: 12px; } .dly .ci-notsaid li { margin: 0 0 4px; }
.dly .ci-sum { display: flex; gap: 6px; flex-wrap: wrap; }
.dly .dl-pill.ai { background: #F3EEFB; color: #5B3A8E; }
.dly .ci-rels { margin-top: 6px; font-size: 11px; color: #64748B; border-left: 2px solid #F0C27A; padding-left: 6px; } .dly .ci-rels em { font-style: normal; }
.dly .ci-src.rel { color: #92400E; }
.dly .ci-ov { margin-top: 4px; font-size: 11px; color: #9A3412; font-weight: 600; }
.dly .ci-risks { display: flex; flex-direction: column; gap: 6px; }
.dly .ci-risk { display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 8px 10px; font-size: 12px; }
.dly .ci-risk.is-bad { border-left: 4px solid #C6462B; } .dly .ci-risk.is-warn { border-left: 4px solid #D97706; } .dly .ci-risk.is-mute { border-left: 4px solid #94A3B8; }
.dly .ci-align { font-size: 12px; border-radius: 10px; padding: 8px 10px; border: 1px solid #E2E8F0; background: #fff; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dly .ci-align.is-ok { border-left: 4px solid #188D68; } .dly .ci-align.is-warn { border-left: 4px solid #D97706; }
.dly .ci-filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .dly .ci-filters .dl-in { flex: 1 1 200px; min-width: 160px; }
.dly .ci-chip { font: inherit; font-size: 11.5px; border: 1px solid #E2E8F0; background: #fff; border-radius: 14px; padding: 3px 10px; cursor: pointer; color: #334155; }
.dly .ci-chip.on { background: #EEF4FF; border-color: #1D4ED8; color: #1D4ED8; font-weight: 700; }
.dly .ci-cl tr.rv td { background: #FFFBEB; }
.dly .ci-h { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; margin: 8px 0 4px; } .dly .ci-h.ai { color: #5B3A8E; }
.dly .ci-words { max-height: 40vh; overflow: auto; white-space: pre-wrap; }
.dly .ci-ev.rel blockquote { border-left-color: #D97706; }
/* 2.2 — Contract Intelligence: topics on the left, the chosen one on the right.
   Quiet: one accent, a status dot, the contract's words under their line. */
.dly .ci-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 2px 8px; border-bottom: 1px solid #E2E8F0; }
.dly .ci-top-t { min-width: 0; } .dly .ci-top-t b { font-size: 15px; color: #0F172A; margin-right: 8px; } .dly .ci-top-t .mu { font-size: 12px; overflow-wrap: anywhere; }
.dly .ci-warnbar { font-size: 12px; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; padding: 6px 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dly .ci-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0; align-items: start; min-height: 0; }
.dly .ci-nav { position: sticky; top: 0; display: flex; flex-direction: column; gap: 1px; padding: 10px 10px 10px 0; border-right: 1px solid #E2E8F0; }
.dly .ci-nav-h { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; margin: 12px 8px 4px; }
.dly .ci-nav .ci-tab { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; font-size: 13px; color: #334155; padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.dly .ci-nav .ci-tab:hover { background: #F1F5F9; }
.dly .ci-nav .ci-tab.on { background: #EEF2F7; color: #0F172A; font-weight: 700; box-shadow: inset 3px 0 0 #1F3A5F; }
.dly .ci-nav .ci-tab:focus-visible { outline: 2px solid #1F3A5F; outline-offset: 1px; }
.dly .ci-nav .ci-tab.ask { margin-top: 10px; color: #1F3A5F; font-weight: 600; }
.dly .ci-nav-c { font-size: 11px; font-weight: 700; color: #1F3A5F; background: #E8EEF6; border-radius: 10px; padding: 0 7px; line-height: 18px; }
.dly .ci-nav-c.zero { color: #94A3B8; background: transparent; }
.dly .ci-main { min-width: 0; padding: 10px 4px 24px 22px; display: block; max-width: 980px; }
.dly .ci-title { font-size: 17px; color: #0F172A; margin: 4px 0 12px; font-weight: 700; } .dly .ci-title .mu { font-size: 13px; font-weight: 400; }
.dly .ci-sec { margin: 0 0 22px; } .dly .ci-sec > h4 { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #64748B; margin: 0 0 4px; display: flex; gap: 8px; align-items: center; }
.dly .ci-sec > h4 .mu { text-transform: none; letter-spacing: 0; font-weight: 400; }
.dly .ci-row { border-bottom: 1px solid #EEF2F7; }
.dly .ci-row-b { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 14px 200px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; width: 100%; padding: 9px 6px; cursor: pointer; border-radius: 6px; }
.dly .ci-row-b:hover { background: #F8FAFC; } .dly .ci-row-b:focus-visible { outline: 2px solid #1F3A5F; }
.dly .ci-row.on > .ci-row-b { background: #F8FAFC; }
.dly .ci-dot { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; display: inline-block; transform: translateY(-1px); }
.dly .ci-dot.is-ok { background: #188D68; } .dly .ci-dot.is-bad { background: #C6462B; } .dly .ci-dot.is-warn { background: #D97706; } .dly .ci-dot.is-mute { background: #CBD5E1; }
.dly .ci-row-l { font-size: 13px; color: #475569; }
.dly .ci-row-v { font-size: 13.5px; color: #0F172A; font-weight: 600; overflow-wrap: anywhere; }
.dly .ci-row.none .ci-row-v { color: #94A3B8; font-weight: 400; }
.dly .ci-row-v.long { font-weight: 400; font-size: 13px; color: #1E293B; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dly .ci-row.on .ci-row-v.long { -webkit-line-clamp: unset; display: block; }
.dly .ci-row-m { font-size: 12px; color: #64748B; white-space: nowrap; }
.dly .ci-row.none .ci-row-m { color: #B45309; }
.dly .ci-exp { padding: 2px 6px 12px 34px; }
.dly .ci-q { margin: 6px 0 10px; } .dly .ci-q-h { font-size: 12px; color: #334155; } .dly .ci-q-h span { color: #64748B; }
.dly .ci-q blockquote, .dly .ci-words { margin: 4px 0 6px; border-left: 3px solid #1F3A5F; padding: 6px 12px; background: #F8FAFC; font-size: 13px; line-height: 1.55; color: #1E293B; }
.dly .ci-q.rel blockquote { border-left-color: #D97706; }
.dly .ci-why { font-size: 12px; color: #92400E; }
.dly .ci-q-a { display: flex; gap: 6px; flex-wrap: wrap; }
.dly .ci-warn { color: #B42318; font-size: 12.5px; margin: 4px 0; } .dly .ci-note { color: #1F3A5F; font-size: 12.5px; margin: 4px 0; font-weight: 600; }
.dly .ci-none { font-size: 12.5px; color: #94A3B8; padding: 8px 6px 0 30px; }
.dly .ci-nlink { all: unset; cursor: pointer; color: #64748B; border-bottom: 1px dotted #CBD5E1; } .dly .ci-nlink:hover, .dly .ci-nlink.on { color: #1F3A5F; border-bottom-color: #1F3A5F; } .dly .ci-nlink:focus-visible { outline: 2px solid #1F3A5F; }
.dly .ci-num { width: 18px; height: 18px; border-radius: 50%; background: #E8EEF6; color: #1F3A5F; font-style: normal; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; transform: translateY(3px); }
.dly .ci-row.step .ci-row-b { grid-template-columns: 18px 200px minmax(0, 1fr) auto; }
.dly .ci-row.step.none .ci-num { background: #F1F5F9; color: #94A3B8; }
.dly .ci-conf { color: #5B3A8E; }
.dly .ci-looked { font-size: 12.5px; color: #475569; margin: 4px 0 8px; line-height: 1.55; } .dly .ci-looked b { color: #0F172A; }
.dly .ci-decide > h4 { color: #B42318; } .dly .ci-decide .ci-row-v { color: #B42318; }
.dly .ci-q-v { font-weight: 700; color: #0F172A; margin-left: 6px; }
.dly .ci-foot { font-size: 12.5px; color: #64748B; margin: 6px 0 10px; line-height: 1.5; }
.dly .ci-dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px 16px; margin: 0 0 24px; font-size: 13px; color: #1E293B; }
.dly .ci-dl dt { color: #64748B; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; } .dly .ci-dl dd { margin: 0; line-height: 1.55; }
.dly .ci-notes { margin: 0; padding: 0; list-style: none; } .dly .ci-notes li { font-size: 13px; padding: 8px 6px 8px 14px; border-bottom: 1px solid #EEF2F7; position: relative; line-height: 1.5; }
.dly .ci-notes li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: #CBD5E1; }
.dly .ci-notes li.is-bad::before { background: #C6462B; } .dly .ci-notes li.is-warn::before { background: #D97706; }
.dly .ci-list2 { display: flex; flex-direction: column; }
.dly .ci-li { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 64px minmax(0, 1fr) 76px; gap: 12px; padding: 9px 6px; border-bottom: 1px solid #EEF2F7; cursor: pointer; font-size: 13px; }
.dly .ci-li:hover { background: #F8FAFC; } .dly .ci-li:focus-visible { outline: 2px solid #1F3A5F; }
.dly .ci-li.rv { background: #FFFDF5; }
.dly .ci-li-n { font-weight: 700; color: #1F3A5F; font-variant-numeric: tabular-nums; }
.dly .ci-li-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .dly .ci-li-t b { color: #0F172A; font-weight: 600; } .dly .ci-li-t em { font-style: normal; font-size: 11.5px; color: #64748B; }
.dly .ci-li-t .mu { font-size: 12px; overflow-wrap: anywhere; }
.dly .ci-li-p { font-size: 12px; color: #64748B; text-align: right; white-space: nowrap; }
.dly .ci-chg-v { font-weight: 700; color: #B42318; font-size: 13px; }
.dly .ci-cdet .ci-title { margin-top: 10px; }
.dly .ci-main .ci-filters { margin-bottom: 8px; }
@media (max-width: 1100px) { .dly .ci-body { grid-template-columns: minmax(0, 1fr); } .dly .ci-nav { position: static; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #E2E8F0; padding: 6px 0; } .dly .ci-nav-h { display: none; } .dly .ci-nav .ci-tab { width: auto; } .dly .ci-main { padding-left: 4px; } .dly .ci-row-b, .dly .ci-row.step .ci-row-b { grid-template-columns: 18px minmax(0, 1fr); } .dly .ci-row-v, .dly .ci-row-m { grid-column: 2; } .dly .ci-row-m { white-space: normal; } .dly .ci-dl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1280px) { .dly .ci-grid { grid-template-columns: minmax(0, 1fr); } .dly .ci-side { position: static; max-height: none; overflow: visible; } }

/* ── Scrolling on every screen ────────────────────────────────────────
   Wide and tall: the workspace is one screen and its panes scroll inside
   it. Narrower than 1280 OR shorter than 820 (most laptops, and any screen at 125 %): one
   screen leaves the panes a few rows high, so the workspace flows with the
   page instead — the Gantt workspaces excepted, which stay one screen and
   scroll inside their chart.
   In that mode a pane that no longer scrolls MUST pass the wheel on to the
   page: `overscroll-behavior: contain` on it swallowed every wheel turn and
   nothing scrolled at all. And the long documents keep a screen-high
   viewport of their own, so the report is read in a window, not as one
   20,000-pixel column — and the wheel scrolls the PAGE first, until that
   window fills the screen, then the window (delay.tab.js, pageFirst). */
@media (max-height: 820px) {
  .upd.dly { height: auto; overflow: visible; }
  .upd.dly[data-ws="studio"], .upd.dly[data-ws="overview"], .upd.dly[data-ws="events"], .upd.dly[data-ws="claims"] { height: var(--dl-h); overflow: hidden; }
}
@media (max-width: 1280px), (max-height: 820px) {
  .upd.dly:not([data-ws="studio"]):not([data-ws="overview"]):not([data-ws="events"]):not([data-ws="claims"]) .dl-scroll,
  .upd.dly:not([data-ws="studio"]):not([data-ws="overview"]):not([data-ws="events"]):not([data-ws="claims"]) .ci,
  .upd.dly:not([data-ws="studio"]):not([data-ws="overview"]):not([data-ws="events"]):not([data-ws="claims"]) .r2-side { overscroll-behavior: auto; }
  .upd.dly[data-ws="contract"] .ci { overflow: visible; }
  .upd.dly[data-ws="contract"] .ci-side { max-height: calc(100vh - 80px); }
  .upd.dly[data-ws="reports"] .r2-side { overflow: visible; }
  .upd.dly[data-ws="reports"] .r2-pages, .upd.dly[data-ws="reports"] .ed, .upd.dly[data-ws="reports"] .rc,
  .upd.dly[data-ws="reports"] .r2-outline, .upd.dly[data-ws="reports"] .r2-figs, .upd.dly[data-ws="reports"] .r2-src {
    flex: none; height: calc(100vh - 80px); min-height: 420px; }   /* under the app's fixed header */
}
