/* Teakwood project timeline */
.tl { --tl-date-w: 96px; --tl-track-w: 40px; --tl-bg: var(--limestone); }

/* Summary */
.tl-summary { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; margin: 0 0 40px; }
.tl-finish, .tl-next { background: var(--paper); border-radius: 8px; padding: 22px 24px; }
.tl-finish { background: var(--river); color: var(--river-ink); }
.tl-k { font-size: .95rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; color: inherit; margin: 0 0 6px; }
.tl-next .tl-k { color: var(--river); }
.tl-big { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 780; font-stretch: 118%; line-height: 1.05; color: var(--paper); margin: 0 0 10px; letter-spacing: -0.01em; display: inline-block; border-radius: 4px; }
.tl-shift { margin: 0; font-size: .98rem; }
.tl-shift.is-ok { color: #b9dccd; font-weight: 650; }
.tl-shift.is-moved { color: #ffd9cf; }
.tl-next-list { list-style: none; margin: 0; padding: 0; }
.tl-next-list li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--rule); }
.tl-next-list li:first-child { border-top: 0; padding-top: 2px; }
.tl-next-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.tl-next-list a:hover { text-decoration: underline; }
.tl-next-when { font-size: .92rem; color: var(--ink-2); }
.tl-next-when.is-soon { color: var(--teak-dark); font-weight: 650; }
.tl-next-when.is-grace { color: #845a08; font-weight: 650; }
.tl-next-when.is-late { color: var(--brick); font-weight: 700; }
.tl-next-none { margin: 0; color: var(--ink-2); }

/* Board: two lines, the property owner's (left) and Teakwood's (right). 2026-10-22 */
.tl { --tl-spine: 64px; }
.tl-board { position: relative; padding-top: 48px; }
.tl-track { position: absolute; top: 0; left: var(--tl-date-w); width: var(--tl-spine); height: 100%; pointer-events: none; z-index: 2; }
.tl-lane { position: absolute; top: 0; bottom: 0; width: 50%; }
.tl-lane.lane-owner { left: 0; }
.tl-lane.lane-tw { left: 50%; }
.tl-lane::before {
  content: ""; position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px;
  background: repeating-linear-gradient(to bottom, #b6bcb5 0 6px, transparent 6px 12px);
}
.tl-bobtrack { z-index: 5; }
.tl-bobtrack .tl-lane::before { display: none; }
.tl-string { position: absolute; left: calc(50% - 1.25px); top: 0; width: 2.5px; height: 0; border-radius: 2px; }
.lane-owner .tl-string { background: var(--teak); }
.lane-tw .tl-string { background: var(--chalk); }
.tl-bob { position: absolute; left: calc(50% - 14px); top: 0; width: 28px; height: 44px; will-change: transform; z-index: 4; }
.tl-bob svg { display: block; filter: drop-shadow(0 3px 3px rgba(30, 58, 52, .28)); transform-origin: 50% 0; transition: transform .3s ease; }
.tl-bob.is-pressing svg { transform: scaleY(.93); }
.tl-today {
  position: absolute; top: 4px; white-space: nowrap;
  font-size: .76rem; font-weight: 650; line-height: 1.2; color: var(--chalk);
  background: var(--tl-bg); padding: 3px 6px; border-radius: 4px;
}
.tl-today b { font-weight: 800; font-stretch: 106%; display: block; }
.tl-bob:not(.is-behind) .tl-today { display: none; }
/* 2026-10-22 v12: today as a thin line across the board, like the business onboarding timeline */
.tl-nowline { position: absolute; left: -12px; right: -12px; top: 0; height: 0; border-top: 1.5px solid var(--teak); z-index: 1; pointer-events: none; will-change: transform; }
.tl-nowline span { position: absolute; right: 12px; top: 0; transform: translateY(-50%); background: var(--tl-bg); padding: 2px 10px; border: 1.5px solid var(--teak); border-radius: 999px;
  font-size: .76rem; font-weight: 750; letter-spacing: .02em; color: var(--teak-dark); white-space: nowrap; }
.lane-owner .tl-today { right: calc(100% + 4px); text-align: right; color: var(--teak-dark); }
.lane-tw .tl-today { left: calc(100% + 4px); text-align: left; }
.tl-bob.is-behind .tl-today { color: var(--brick); }

.tl-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: -18px 0 22px; font-size: .9rem; color: var(--ink-2); }
.tl-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.tl-legend .lg::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.tl-legend .lg-owner::before { background: var(--teak); }
.tl-legend .lg-tw::before { background: var(--chalk); }

.tl-list { list-style: none; margin: 0; padding: 0; position: relative; }
.tl-row, .tl-phase { display: grid; grid-template-columns: var(--tl-date-w) var(--tl-spine) minmax(0, 1fr); }
.tl-row { padding: 0 0 28px; scroll-margin-top: 110px; }
.tl-row > .tl-date { grid-column: 1; grid-row: 1; }
.tl-row > .tl-spine { grid-column: 2; grid-row: 1; position: relative; min-height: 22px; }
.tl-row > .tl-body { grid-column: 3; grid-row: 1; }
.tl-phase { padding: 6px 0 20px; }
.tl-phase span {
  grid-column: 3; font-weight: 780; font-stretch: 116%; color: var(--teak-dark); font-size: 1.02rem;
  padding-left: 14px;
}
.tl-date { text-align: right; padding: 1px 12px 0 0; line-height: 1.25; }
.tl-cdate { display: none; margin: 0 0 2px; line-height: 1.25; }
.tl-d { font-weight: 750; font-stretch: 108%; color: var(--river); font-size: 1rem; display: inline-block; border-radius: 3px; padding: 0 2px; }
.tl-was { display: block; font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.tl-cdate .tl-was { display: inline; margin-left: 6px; }
.tl-dot {
  position: absolute; top: 2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  border: 2px solid #9aa29d; background: var(--tl-bg); z-index: 3; box-sizing: border-box;
  display: grid; place-items: center; color: #fff;
}
.tl-dot.on-owner { left: 25%; }
.tl-dot.on-tw { left: 75%; }
.tl-tie { position: absolute; top: 10px; left: 25%; width: 50%; height: 2px; background: #9aa29d; z-index: 2; }
.tl-body { padding-left: 14px; min-width: 0; }
.tl-title { font-size: 1.08rem; font-stretch: 104%; font-weight: 700; line-height: 1.3; margin: 0 0 5px; color: var(--ink); letter-spacing: 0; }
.tl-who { margin: 0 0 5px; }
.tl-chip { display: inline-block; font-size: .76rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; line-height: 1.4; }
.chip-client { background: var(--teak); color: #fff; }
.chip-teakwood { border: 1px solid var(--river); color: var(--river); padding: 1px 8px; }
.chip-county { background: #dfe2dc; color: var(--ink-2); }
.chip-meeting { border: 1px dashed var(--teak); color: var(--teak); padding: 1px 8px; }
.tl-status { margin: 0; font-size: .96rem; color: var(--ink-2); max-width: 54ch; }
.tl-note { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); border-left: 2px solid var(--rule); padding-left: 10px; max-width: 54ch; }
.tl-mark {
  margin-top: 10px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--teak-dark);
  background: transparent; border: 1.5px solid var(--teak); border-radius: 6px; padding: 6px 12px; cursor: pointer;
}
.tl-mark:hover { background: var(--teak); color: #fff; }

/* Wide screens: your steps down the left of the center lines, Teakwood's down the right;
   meetings and milestones sit across both. */
@media (min-width: 900px) {
  .tl { --tl-spine: 76px; }
  .tl-track { left: calc(50% - var(--tl-spine) / 2); }
  .tl-row, .tl-phase { grid-template-columns: minmax(0, 1fr) var(--tl-spine) minmax(0, 1fr); }
  .tl-row > .tl-date { display: none; }
  .tl-cdate { display: block; }
  .tl-row > .tl-spine { grid-column: 2; }
  .tl-row.lane-owner > .tl-body { grid-column: 1; padding: 0 16px 0 0; }
  .tl-row.lane-tw > .tl-body { grid-column: 3; padding: 0 0 0 16px; }
  .tl-row.lane-both > .tl-body { grid-column: 1 / -1; grid-row: 2; justify-self: center; text-align: center; max-width: 520px;
    background: var(--tl-bg); position: relative; z-index: 3; padding: 6px 14px 2px; margin-top: 10px; }
  .tl-row.lane-both .tl-note, .tl-row.lane-both .tl-status { margin-left: auto; margin-right: auto; }
  .tl-row.lane-owner > .tl-body .tl-cdate .tl-d { color: var(--teak-dark); }
  .tl-phase span { grid-column: 1 / -1; text-align: center; padding: 0; }
  .tl-today { font-size: .8rem; }
  .tl-items { max-width: none; }
  .tl-row.lane-owner .tl-items li, .tl-row.lane-owner .tl-lock { text-align: left; }
}

/* States */
.is-past .tl-title { color: var(--ink-2); }
.is-done .tl-dot { background: var(--done); border-color: var(--done); }
.is-start .tl-dot { border-radius: 3px; transform: rotate(45deg); width: 16px; height: 16px; background: var(--river); border-color: var(--river); }
.is-start .tl-dot svg { display: none; }
.is-start .tl-title { color: var(--river); }
.owner-client.is-upcoming .tl-dot { border-color: var(--teak); }
.is-due-soon .tl-dot { border-color: var(--teak); background: radial-gradient(circle, var(--teak) 0 4px, var(--tl-bg) 4.5px); }
.is-due-soon .tl-status { color: var(--teak-dark); font-weight: 650; }
.is-current .tl-dot { border-color: var(--river); background: radial-gradient(circle, var(--river) 0 4px, var(--tl-bg) 4.5px); }
.is-current .tl-status { color: var(--river); font-weight: 650; }
.is-grace .tl-dot { background: var(--amber); border-color: var(--amber); }
.is-grace .tl-status { color: #7a5207; font-weight: 650; }
.is-late .tl-dot { background: var(--brick); border-color: var(--brick); }
.is-late .tl-status { color: var(--brick); font-weight: 650; }
.is-blocking .tl-body, .is-tw-behind .tl-body { background: #f7e4df; border-radius: 6px; padding: 12px 14px !important; margin: -10px 0 0 6px; box-shadow: inset 3px 0 0 var(--brick); }
.tl-row:target .tl-body { background: #fff4d6; border-radius: 6px; }

.tl-flash { animation: tlflash 1.8s ease-out; }
@keyframes tlflash {
  0% { background: #ffd970; box-shadow: 0 0 0 4px #ffd970; }
  100% { background: transparent; box-shadow: 0 0 0 4px rgba(255, 217, 112, 0); }
}
@media (prefers-reduced-motion: reduce) { .tl-flash { animation: none; } }

.tl-error { background: #f7e4df; border-left: 3px solid var(--brick); padding: 14px 16px; border-radius: 4px; }

/* Preview day control */
.tl-scrub { background: var(--river); color: var(--river-ink); border-radius: 8px; padding: 14px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center; }
.tl-scrub.fixed { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: min(860px, calc(100% - 24px)); z-index: 20; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); }
.tl-scrub label { font-weight: 700; color: var(--paper); white-space: nowrap; }
.tl-scrub output { font-weight: 800; font-stretch: 110%; color: #9cc3ff; display: block; font-size: .95rem; }
.tl-scrub input[type=range] { width: 100%; accent-color: var(--brass); }
.tl-scrub .btns { display: flex; gap: 8px; }
.tl-scrub button { font: inherit; font-size: .9rem; font-weight: 700; background: transparent; color: var(--paper); border: 1.5px solid rgba(248, 248, 245, .6); border-radius: 6px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.tl-scrub button:hover { background: var(--paper); color: var(--river); }
.tl-scrub .hint { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: #b8c8c2; max-width: none; }

.tl-d { white-space: nowrap; }
.tl-ask-q { display: inline; }
@media (max-width: 640px) {
  .tl { --tl-date-w: 64px; --tl-track-w: 30px; --tl-spine: 52px; }
  .lane-tw .tl-today { display: none; }
  .lane-owner .tl-today { font-size: .7rem; padding: 2px 4px; }
  .tl-pop { padding: 8px; place-items: end center; }
  .tl-pop-card { max-height: calc(100vh - 16px); padding: 16px; }
  .tl-pop-3d iframe { height: 240px; }
  .tl-summary { grid-template-columns: 1fr; }
  .tl-d { font-size: .84rem; font-stretch: 100%; }
  .tl-ask-q { display: none; }
  .tl-scrub.fixed { bottom: 8px; padding: 10px 12px; gap: 6px 10px; grid-template-columns: 1fr auto; }
  .tl-scrub.fixed label { grid-column: 1; display: flex; gap: 8px; align-items: baseline; font-size: .9rem; }
  .tl-scrub.fixed .btns { grid-column: 2; grid-row: 1; }
  .tl-scrub.fixed input[type=range] { grid-column: 1 / -1; }
  .tl-scrub.fixed .hint { display: none; }
  .tl-scrub.fixed button { padding: 5px 9px; font-size: .82rem; }
  .tl-scrub.fixed #tl-reset { display: none; }
  .tl-was { font-size: .74rem; }
  .tl-today { font-size: .68rem; padding: 2px 4px; }
  .tl-body { padding-left: 10px; }
  .is-blocking .tl-body { margin-left: 2px; }
  .tl-scrub { grid-template-columns: 1fr; }
  .tl-scrub .btns { justify-content: flex-start; }
}

/* 2026-10-20: decision items and the two decision dates, read live from the project sheet */
.tl-respond { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); max-width: 54ch; }
.tl-items { list-style: none; margin: 10px 0 0; padding: 0; max-width: 560px; display: grid; gap: 8px; }
.tl-items li { border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; background: #fff; }
.tl-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tl-item-name { font-weight: 650; }
.tl-item-ans { font-size: .8rem; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tl-item-ans.ans-ok { background: #e3f1e6; color: #1f6b33; }
.tl-item-ans.ans-change { background: #fbf3dc; color: #7a5207; }
.tl-item-ans.ans-wait, .tl-item-ans.ans-other { background: #eef0f3; color: var(--ink-2); }
.tl-item-detail, .tl-item-said, .tl-item-reply { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }
.tl-item-reply { color: var(--teak-dark); }

.tl-scrub label.late { grid-column: 1 / -1; white-space: normal; font-weight: 600; display: flex; align-items: center; gap: 8px; font-size: .9rem; margin: 6px 0 0; cursor: pointer; }
@media (max-width: 640px) {
  .tl-scrub.fixed label:not(.late) { flex-wrap: wrap; white-space: normal; row-gap: 0; }
  .tl-scrub.fixed label.late { grid-column: 1 / -1; font-size: .84rem; align-items: flex-start; }
  .tl-scrub.fixed label.late input { margin-top: 3px; }
}

/* 2026-10-20 step 6: client answers and lock */
.tl-asname { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .9rem; font-weight: 650; color: var(--ink); }
.tl-asname input, .tl-lock input, .tl-change textarea { font: inherit; font-size: .95rem; border: 1px solid var(--rule); border-radius: 6px; padding: 6px 9px; background: #fff; color: var(--ink); }
.tl-asname input { min-width: 0; width: 14rem; max-width: 100%; }
.tl-item-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.tl-btn { font: inherit; font-size: .86rem; font-weight: 700; border: 1.5px solid var(--teak-dark, #3f6b1f); color: var(--teak-dark, #3f6b1f); background: #fff; border-radius: 6px; padding: 6px 11px; cursor: pointer; }
.tl-btn.is-on { background: var(--teak-dark, #3f6b1f); color: #fff; }
.tl-btn:disabled { opacity: .55; cursor: default; }
.tl-change { margin-top: 8px; }
.tl-change label { display: grid; gap: 6px; font-size: .88rem; font-weight: 650; }
.tl-change textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.tl-lock { margin-top: 12px; padding: 12px; border: 1.5px dashed var(--teak-dark, #3f6b1f); border-radius: 8px; max-width: 560px; }
.tl-lock p { margin: 0; font-size: .92rem; }
.tl-lock input { width: 8rem; text-transform: uppercase; }
.tl-lock-note { color: var(--ink-2); font-size: .85rem !important; margin-top: 6px !important; }
.tl-act-msg { margin: 8px 0 0; font-size: .9rem; font-weight: 650; color: var(--teak-dark, #3f6b1f); min-height: 0; }
.tl-act-msg:empty { display: none; }
.tl-locked { margin: 6px 0 0; font-size: .9rem; font-weight: 650; color: var(--ink-2); }

/* 2026-10-20: contract draws on the step that triggers each invoice */
.tl-draw { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.tl-draw-k { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4d7a14; border: 1px solid #8dc73f; border-radius: 3px; padding: 0 6px; margin-right: 4px; }

/* 2026-10-22: item detail popup and allowances */
.tl-item-name { font: inherit; font-weight: 650; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tl-item-name:hover { color: var(--teak-dark); }
.tl-item-more { font-size: .8rem; font-weight: 700; color: var(--teak-dark); text-decoration: underline; text-underline-offset: 2px; }
.tl-allow { margin: 6px 0 0; font-size: .9rem; color: var(--ink); }
.tl-over { color: var(--brick); font-weight: 700; }
.tl-under { color: #1f6b33; font-weight: 700; }
.tl-even { color: var(--ink-2); font-weight: 650; }
.tl-allow-sum { background: var(--paper); border-radius: 8px; padding: 16px 20px; margin: -22px 0 34px; border-left: 4px solid var(--teak); }
.tl-allow-sum .tl-k { color: var(--river); }
.tl-allow-sum p { margin: 0; }
.tl-pop[hidden] { display: none !important; }
.tl-pop { position: fixed; inset: 0; z-index: 60; background: rgba(18, 18, 18, .55); display: grid; place-items: center; padding: 16px; text-align: left; }
.tl-pop-card { background: #fff; border-radius: 12px; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 20px 20px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); box-sizing: border-box; }
.tl-pop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tl-pop-head h4 { margin: 0; font-family: var(--heading); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.tl-pop-step { margin: 0 0 2px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teak-dark); }
.tl-pop-x { font: inherit; font-size: 1.6rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink-2); padding: 0 4px; }
.tl-pop-ans { margin: 8px 0 12px; }
.tl-pop-img { display: block; margin: 0 0 10px; }
.tl-pop-img img { display: block; width: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; background: var(--mist); }
.tl-pop-3d { margin: 0 0 10px; }
.tl-pop-3d iframe { width: 100%; height: 320px; border: 0; border-radius: 8px; background: var(--mist); }
.tl-pop-3d a, .tl-pop-link a { font-size: .9rem; font-weight: 700; color: var(--teak-dark); }
.tl-pop-link { margin: 0 0 8px; }
.tl-pop-detail { margin: 0 0 8px; font-weight: 650; }
.tl-pop-more { margin: 0 0 10px; font-size: .95rem; color: var(--ink); line-height: 1.55; }
.tl-pop-msg { margin: 8px 0 0; font-size: .9rem; font-weight: 650; color: var(--teak-dark); }
body.tl-modal-open { overflow: hidden; }
body.tl-modal-open .tl-scrub.fixed, body.tl-modal-open .tl-scrub-pill, body.tl-modal-open .tl-bobtrack, body.tl-modal-open .tl-nowline { visibility: hidden; }
/* 2026-10-22: the preview bar hides down to a small button at the bottom right */
.tl-scrub.fixed[hidden] { display: none; }
.tl-scrub button.tl-min { border-color: transparent; padding-left: 8px; padding-right: 8px; opacity: .85; }
.tl-scrub-pill { position: fixed; right: 16px; bottom: 16px; z-index: 20; font: inherit; font-size: .9rem; font-weight: 700; background: var(--river); color: var(--paper);
  border: 0; border-top: 3px solid var(--brass); border-radius: 8px; padding: 10px 14px; cursor: pointer; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .6); }
.tl-scrub-pill:hover { filter: brightness(1.15); }
.tl-scrub-pill[hidden] { display: none; }
.tl-scrub-pill span { color: #9cc3ff; }

/* 2026-10-22 v13: filter chips (every step carries tags: yours, Teakwood's, meetings, draws, milestones) */
.tl-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; }
.tl-filter-k { font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-right: 2px; }
.tl-filter button { font: inherit; font-size: .88rem; font-weight: 650; color: var(--ink); background: #fff; border: 1.5px solid #cfd4cc; border-radius: 999px; padding: 6px 13px; cursor: pointer; line-height: 1.2; }
.tl-filter button .n { font-weight: 800; color: var(--ink-2); margin-left: 3px; }
.tl-filter button:hover { border-color: var(--teak); }
.tl-filter button[aria-pressed="true"] { background: var(--chalk); border-color: var(--chalk); color: #fff; }
.tl-filter button[aria-pressed="true"] .n { color: #c9d6cf; }
.tl-row.is-hidden, .tl-phase.is-hidden { display: none; }
.tl-none { list-style: none; padding: 24px 0 36px; color: var(--ink-2); text-align: center; position: relative; z-index: 3; }
.chip-milestone { background: var(--chalk); color: #fff; }
@media (max-width: 640px) { .tl-filter { gap: 6px; } .tl-filter button { font-size: .82rem; padding: 5px 10px; } }

/* 2026-10-22 v13: Teakwood staff view (/staff, behind Cloudflare Access since v16) */
.tl-staff { background: var(--chalk); color: #fff; border-radius: 10px; padding: 12px 14px 12px; margin: 0 0 22px; }
.tl-staff-k { margin: 0 0 8px; font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--teak); }
.tl-staff-k span { margin-left: 8px; letter-spacing: 0; text-transform: none; font-weight: 600; color: #b9c2bd; }
.tl-staff-row { display: flex; align-items: center; gap: 10px; }
.tl-nav { font: inherit; font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; }
.tl-nav:hover { background: #fff; color: var(--chalk); }
#tl-staff-pick { flex: 1; min-width: 0; font: inherit; font-weight: 700; font-size: .95rem; padding: 9px 10px; border-radius: 8px; border: 0; background: #fff; color: var(--ink); }
.tl-staff-pos { flex: none; font-size: .85rem; color: #b9c2bd; white-space: nowrap; }
.tl-staff-meta { margin: 9px 0 0; font-size: .86rem; color: #dfe5e1; }
.tl-staff-meta a { color: #fff; }
.tl-shown { color: var(--teak); font-weight: 700; }
.tl-hidden { color: #ffcf8a; font-weight: 700; }
.tl-copy { font: inherit; font-size: .78rem; font-weight: 700; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 5px; padding: 1px 7px; cursor: pointer; }
#timeline { transition: opacity .16s ease, transform .16s ease; }
#timeline.tl-out { opacity: 0; }
#timeline.tl-in-right { animation: tl-in-r .28s ease; }
#timeline.tl-in-left { animation: tl-in-l .28s ease; }
@keyframes tl-in-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes tl-in-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #timeline.tl-in-right, #timeline.tl-in-left { animation: none; } }
@media (max-width: 640px) { .tl-staff-pos { display: none; } .tl-nav { width: 40px; height: 40px; } }

/* 2026-10-22 v14: sections (All, Allowances, Contract draws) */
/* v15: the grey line is an inset shadow and the tabs no longer hang 2px below the box, so the box never scrolls up and down (Corey saw a scroll bar on Windows). */
.tl-sections { display: flex; gap: 0; margin: 0 0 26px; box-shadow: inset 0 -2px 0 #d9ddd6; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tl-sections::-webkit-scrollbar { display: none; }
.tl-sections button { font: inherit; font-size: .98rem; font-weight: 750; color: var(--ink-2); background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 10px 16px; cursor: pointer; white-space: nowrap; }
.tl-sections button:hover { color: var(--ink); }
.tl-sections button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teak); }
.tl-section .tl-allow-sum { margin: 0 0 26px; }
.tl-sec-group { margin: 0 0 26px; }
.tl-sec-group h3 { margin: 0; font-size: 1.15rem; }
.tl-sec-when { margin: 2px 0 10px; font-size: .9rem; color: var(--ink-2); }
.tl-sec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; font-size: .95rem; }
.tl-sec-table th { text-align: left; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: #f4f5f2; padding: 9px 12px; }
.tl-sec-table td { padding: 11px 12px; border-top: 1px solid #ecefea; vertical-align: top; }
.tl-sec-table td:not(:first-child), .tl-sec-table th:not(:first-child) { white-space: nowrap; }
.tl-draws td:nth-child(3), .tl-draws th:nth-child(3) { white-space: normal; }
.tl-sec-sub { display: block; font-size: .82rem; color: var(--ink-2); }
.tl-sec-note { font-size: .9rem; color: var(--ink-2); margin: 6px 0 0; }
.tl-muted { color: var(--ink-2); }
.tl-m-only { display: none; }
.tl-draws tr.is-invoiced td { color: var(--ink-2); }
.chip-done { background: #e3efd9; color: #2f5d12; padding: 1px 8px; }
@media (max-width: 640px) {
  .tl-sections button { padding: 9px 11px; font-size: .9rem; }
  .tl-sec-table { font-size: .85rem; }
  .tl-sec-table th, .tl-sec-table td { padding: 8px 7px; }
  .tl-sec-table th { font-size: .66rem; letter-spacing: .04em; }
  .tl-sec-table td:not(:first-child), .tl-sec-table th:not(:first-child) { white-space: normal; }
  .tl-draws th:nth-child(3), .tl-draws td:nth-child(3) { display: none; }
  .tl-sec-table .tl-m-only { display: block; }
}

/* 2026-10-28 (Corey, Q Real Estate): one line instead of two. A realtor's client and agent work in one sequence,
   so the page reads dates, then the line, then the step, on every screen size (brand.js lanes: 1). */
.tl-board.is-one-lane { --tl-spine: 36px; }
.tl-lane.lane-one { left: 0; width: 100%; }
.lane-one .tl-string { background: var(--teak); }
.tl-dot.on-one { left: 50%; }
.lane-one .tl-today { left: calc(100% + 4px); text-align: left; }
@media (min-width: 900px) {
  .tl-board.is-one-lane { --tl-spine: 40px; }
  .is-one-lane .tl-track { left: var(--tl-date-w); }
  .is-one-lane .tl-row, .is-one-lane .tl-phase { grid-template-columns: var(--tl-date-w) var(--tl-spine) minmax(0, 1fr); }
  .is-one-lane .tl-row > .tl-date { display: block; }
  .is-one-lane .tl-cdate { display: none; }
  .is-one-lane .tl-row > .tl-body { grid-column: 3; padding: 0 0 0 14px; }
  .is-one-lane .tl-phase span { grid-column: 3; text-align: left; padding-left: 14px; }
  .is-one-lane .tl-items { max-width: 560px; }
}
@media (max-width: 640px) {
  .tl-board.is-one-lane { --tl-spine: 30px; }
  .lane-one .tl-today { font-size: .7rem; padding: 2px 4px; }
}
