/* ═══════════════════════════════════════════════════════════════════════════
   Carousel Projects — «Der Lichttisch»
   Dark, warm, precise. One stylesheet for all three sides (studio, client,
   partner). Tailwind utilities still work on top; these are the design tokens
   and the components that carry the identity.
   ═══════════════════════════════════════════════════════════════════════════ */
/* Barlow comes with the :app bundle (self-hosted, same files as oshoot.ch); the mono is self-hosted too — no request leaves the room. */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/jetbrains-mono-400-310ed802.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/jetbrains-mono-500-4c06e7a1.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/jetbrains-mono-600-36667725.woff2") format("woff2"); }

:root {
  --lt-stage: #14120F; --lt-stage-2: #1D1A16; --lt-stage-3: #2A2620; --lt-stage-4: #37322A;
  --lt-line: rgba(255,255,255,.09); --lt-line-2: rgba(255,255,255,.16);
  --lt-paper: #F4EFE6; --lt-dim: rgba(244,239,230,.62); --lt-mute: rgba(244,239,230,.40); --lt-faint: rgba(244,239,230,.22);
  --lt-copper: #D98B4A; --lt-copper-2: #F2A968; --lt-copper-soft: rgba(217,139,74,.16);
  --lt-go: #3DBE7A; --lt-go-soft: rgba(61,190,122,.14);
  --lt-mark: #FF3B30; --lt-hold: #E4B23A; --lt-hold-soft: rgba(228,178,58,.12);
  --lt-violet: #A78BFA; --lt-violet-soft: rgba(167,139,250,.14);
  --lt-sky: #8BC7FF;
  --lt-ink: #1C1A17;
  --lt-display: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --lt-sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --lt-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --lt-r: 12px; --lt-r-lg: 16px;
}
html:has(body.lt) { background: var(--lt-stage); }
body.lt { background: var(--lt-stage); color: var(--lt-paper); color-scheme: dark; font-family: var(--lt-sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
.lt a { color: inherit; }
.lt ::selection { background: var(--lt-copper); color: var(--lt-ink); }
.lt input, .lt textarea, .lt button { font-family: inherit; }

/* ── type ── */
.lt-display { font-family: var(--lt-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; }
.lt-h1 { font-family: var(--lt-display); font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.lt-h2 { font-family: var(--lt-display); font-weight: 600; font-size: 21px; line-height: 1.1; letter-spacing: -.005em; }
.lt-k { font-family: var(--lt-sans); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lt-mute); }
.lt-k.copper { color: var(--lt-copper-2); } .lt-k.violet { color: var(--lt-violet); } .lt-k.go { color: var(--lt-go); }
.lt-small { font-size: 12px; color: var(--lt-dim); font-variant-numeric: tabular-nums; }   /* small running text: hints, stamps, counts */
.lt-mono { font-family: var(--lt-mono); font-size: 12px; color: var(--lt-dim); font-variant-numeric: tabular-nums; }   /* real data only: file names, pixels, specs, tokens */
.lt-dim { color: var(--lt-dim); } .lt-mute { color: var(--lt-mute); }

/* ── chrome ── */
.lt-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--lt-line); background: rgba(20,18,15,.85); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; }
.lt-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lt-mute); text-decoration: none; }
.lt-brand b { color: var(--lt-paper); font-weight: 600; letter-spacing: .06em; font-family: var(--lt-sans); font-size: 14px; }
.lt-brand i { width: 6px; height: 6px; border-radius: 50%; background: var(--lt-copper); display: block; }
.lt-nav { display: flex; align-items: center; gap: 4px; }
.lt-nav a { font-size: 13px; font-weight: 600; color: var(--lt-dim); padding: 6px 10px; border-radius: 8px; text-decoration: none; }
.lt-nav a:hover { color: var(--lt-paper); background: rgba(255,255,255,.05); }
.lt-nav a.on { color: var(--lt-paper); background: rgba(255,255,255,.08); }
.lt-wrap { max-width: 1480px; margin: 0 auto; padding: 22px 24px 60px; }
.lt-flash { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 14px; background: var(--lt-copper-soft); border: 1px solid rgba(217,139,74,.35); }
.lt-flash.alert { background: var(--lt-hold-soft); border-color: rgba(228,178,58,.4); }
.lt-preview { margin: 0 0 16px; padding: 8px 14px; border-radius: 10px; font-size: 13px; background: var(--lt-violet-soft); border: 1px solid rgba(167,139,250,.35); color: var(--lt-violet); }

/* ── surfaces ── */
.lt-card { background: var(--lt-stage-2); color: var(--lt-paper); border: 1px solid var(--lt-line); border-radius: var(--lt-r-lg); }
.lt-card.pad { padding: 20px; }
.lt-quiet { border: 1px dashed var(--lt-line-2); border-radius: var(--lt-r-lg); }
.lt-doc { background: var(--lt-stage-2); border-left: 3px solid var(--lt-copper); border-radius: 0 var(--lt-r-lg) var(--lt-r-lg) 0; padding: 18px; }
.lt-rule { border: 0; border-top: 1px solid var(--lt-line); margin: 14px 0; }

/* ── the move ── */
.lt-move { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, var(--lt-copper-soft), rgba(217,139,74,.03)); border: 1px solid rgba(217,139,74,.35); border-radius: var(--lt-r-lg); padding: 16px 18px; }
.lt-move .t { font-family: var(--lt-display); font-weight: 600; font-size: 20px; line-height: 1.1; margin-top: 2px; }
.lt-move .d { color: var(--lt-dim); font-size: 13px; margin-top: 3px; }
.lt-move.quiet { background: transparent; border: 1px dashed var(--lt-line-2); }
.lt-move.violet { background: linear-gradient(90deg, var(--lt-violet-soft), rgba(167,139,250,.02)); border-color: rgba(167,139,250,.35); }

/* ── buttons ── */
.lt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; line-height: 1; color: var(--lt-ink); background: var(--lt-copper); border: 0; cursor: pointer; white-space: nowrap; text-decoration: none; box-shadow: 0 10px 28px -12px rgba(217,139,74,.8); transition: transform .12s ease, filter .12s ease; }
.lt-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.lt-btn.go { background: var(--lt-go); box-shadow: 0 10px 28px -12px rgba(61,190,122,.7); }
.lt-btn.violet { background: var(--lt-violet); box-shadow: none; }
.lt-btn.ghost { background: transparent; color: var(--lt-paper); border: 1px solid var(--lt-line-2); box-shadow: none; }
.lt-btn.ghost:hover { border-color: var(--lt-paper); }
.lt-btn.sm { padding: 7px 13px; font-size: 13px; }
.lt-btn.xs { padding: 4px 9px; font-size: 11.5px; letter-spacing: .02em; font-weight: 600; }
.lt-link { background: none; border: 0; padding: 0; color: var(--lt-copper-2); font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: none; }
.lt-link:hover { text-decoration: underline; }
.lt-link.mute { color: var(--lt-mute); font-weight: 500; }

/* ── inputs ── */
.lt-input { width: 100%; background: var(--lt-stage); border: 1px solid var(--lt-line-2); border-radius: 10px; padding: 9px 12px; font-size: 14px; color: var(--lt-paper); outline: 0; }
.lt-input::placeholder { color: var(--lt-faint); }
.lt-input:focus { border-color: var(--lt-copper); box-shadow: 0 0 0 3px var(--lt-copper-soft); }
.lt-input.mono { font-family: var(--lt-mono); font-size: 12.5px; }
.lt-seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; border: 1px solid var(--lt-line-2); border-radius: 999px; overflow: hidden; background: var(--lt-stage); }
.lt-seg label { cursor: pointer; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--lt-dim); white-space: nowrap; }
.lt-seg label:hover { color: var(--lt-paper); background: rgba(255,255,255,.05); }
.lt-seg label:has(input:checked) { background: var(--lt-paper); color: var(--lt-ink); }
.lt-seg.sm label { padding: 3px 8px; font-size: 11px; }
.lt-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--lt-line-2); color: var(--lt-dim); }
.lt-chip.go { color: var(--lt-go); border-color: rgba(61,190,122,.4); } .lt-chip.hold { color: var(--lt-hold); border-color: rgba(228,178,58,.4); }
.lt-chip.sky { color: var(--lt-sky); border-color: rgba(139,199,255,.4); } .lt-chip.violet { color: var(--lt-violet); border-color: rgba(167,139,250,.4); } .lt-chip.copper { color: var(--lt-copper-2); border-color: rgba(217,139,74,.4); }

/* ── stats ── */
.lt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lt-stat { border: 1px solid var(--lt-line); border-radius: var(--lt-r); padding: 12px 14px; background: var(--lt-stage-2); }
.lt-stat .v { color: var(--lt-paper); font-family: var(--lt-display); font-weight: 600; font-size: 26px; line-height: 1.05; margin-top: 2px; font-variant-numeric: tabular-nums; }
.lt-stat .v small { font-size: 14px; color: var(--lt-dim); font-family: var(--lt-sans); font-weight: 500; }
.lt-bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
.lt-bar i { display: block; height: 100%; background: var(--lt-go); border-radius: 999px; }
.lt-ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--lt-go) 0 calc(var(--p) * 1%), rgba(255,255,255,.1) calc(var(--p) * 1%) 100%); display: grid; place-items: center; flex: none; }
.lt-ring i { width: 34px; height: 34px; border-radius: 50%; background: var(--lt-stage-2); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 11px; }

/* ── the wall ── */
.lt-folder { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--lt-line-2); }
.lt-folder b { font-family: var(--lt-display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.lt-folder b a { text-decoration: none; } .lt-folder b a:hover { color: var(--lt-copper-2); }
.lt-folder .meta { font-size: 11px; color: var(--lt-mute); letter-spacing: .04em; }
.lt-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lt-wall.lg { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.lt-visual { position: relative; border-radius: 10px; overflow: hidden; background: var(--lt-stage-3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .16s ease, box-shadow .16s ease; }
.lt-visual .ph { display: block; width: 100%; aspect-ratio: var(--ar, 1 / 1); object-fit: cover; background: var(--lt-stage-3); }
.lt-visual.click { cursor: zoom-in; }
.lt-visual.click:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.14); }
.lt-visual .st { position: absolute; left: 8px; top: 8px; font-weight: 600; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: rgba(20,18,15,.75); color: var(--lt-paper); backdrop-filter: blur(6px); }
.lt-visual .st.go { color: var(--lt-go); } .lt-visual .st.hold { color: var(--lt-hold); } .lt-visual .st.sky { color: var(--lt-sky); } .lt-visual .st.violet { color: var(--lt-violet); }
.lt-visual .seal { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--lt-go); color: var(--lt-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.lt-visual .v2 { position: absolute; right: 8px; top: 8px; font-size: 10px; padding: 3px 7px; border-radius: 999px; background: var(--lt-sky); color: var(--lt-ink); font-weight: 700; }
.lt-visual .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 9px 8px; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: 12px; line-height: 1.2; pointer-events: none; }
.lt-visual .cap b { display: block; font-weight: 700; } .lt-visual .cap span { color: var(--lt-dim); font-size: 11px; font-family: var(--lt-mono); }
.lt-visual .cap .n { position: absolute; right: 8px; bottom: 8px; font-size: 10px; font-weight: 600; color: var(--lt-dim); }
.lt-visual.new::after { content: ""; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--lt-copper); animation: lt-glow 2.4s ease-out 1 forwards; pointer-events: none; }
@keyframes lt-glow { 0%, 60% { opacity: 1 } 100% { opacity: 0 } }
.lt-empty { border-radius: 10px; border: 2px dashed var(--lt-line-2); aspect-ratio: var(--ar, 1 / 1); display: grid; place-items: center; text-align: center; padding: 10px; font-size: 12px; color: var(--lt-mute); transition: border-color .12s ease, background .12s ease; }
.lt-empty b { display: block; color: var(--lt-paper); font-weight: 700; margin-bottom: 2px; }
.lt-empty.violet { border-color: rgba(167,139,250,.5); color: var(--lt-violet); }
.lt-visual.over, .lt-empty.over { outline: 2px solid var(--lt-copper); outline-offset: 2px; background: var(--lt-copper-soft); }
.lt-dropzone { border: 2px dashed var(--lt-line-2); border-radius: var(--lt-r); padding: 16px; text-align: center; font-size: 13px; color: var(--lt-dim); cursor: pointer; }
.lt-dropzone:hover, .lt-dropzone.dz-over { border-color: var(--lt-copper); background: var(--lt-copper-soft); color: var(--lt-paper); }
.lt-dropzone .dz-icon { display: none; }

/* ── lists ── */
.lt-list .it { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--lt-line); font-size: 13px; }
.lt-list .it:last-child { border-bottom: 0; }
.lt-list .it i.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: block; background: var(--lt-mute); }
.lt-list .it .r { margin-left: auto; font-size: 11px; color: var(--lt-mute); white-space: nowrap; }
/* Admin people rows on a phone: name on its own line, e-mail + invite/× below it */
@media (max-width: 640px) { .lt-list.lt-people .it { flex-wrap: wrap; row-gap: 2px; } .lt-list.lt-people .it .r { flex-basis: 100%; min-width: 0; padding-left: 18px; } }
.lt-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--lt-paper); }   /* the :app base layer paints tables ink */
.lt-table th { text-align: left; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lt-mute); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--lt-line-2); }
.lt-table td { padding: 7px 8px; border-bottom: 1px solid var(--lt-line); vertical-align: middle; }
.lt-table td.mono { font-family: var(--lt-mono); font-size: 12px; }
.lt-table tr:hover td { background: rgba(255,255,255,.025); }
.lt-table input.cell { width: 100%; background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--lt-paper); font-size: 13px; padding: 2px 0; outline: 0; }
.lt-table input.cell:focus { border-bottom-color: var(--lt-copper); }
.lt-table input.cell.mono { font-family: var(--lt-mono); font-size: 12px; }

/* ── conversation ── */
.lt-thread { display: flex; flex-direction: column; gap: 10px; }
.lt-msg { max-width: 92%; border-radius: 14px; padding: 9px 12px; font-size: 13.5px; line-height: 1.4; background: var(--lt-stage-3); }
.lt-msg.me { align-self: flex-end; background: var(--lt-copper-soft); border: 1px solid rgba(217,139,74,.25); }
.lt-msg.client { background: var(--lt-go-soft); border: 1px solid rgba(61,190,122,.2); }
.lt-msg.partner { background: var(--lt-violet-soft); border: 1px solid rgba(167,139,250,.2); }
.lt-msg .who { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--lt-mute); margin-bottom: 3px; }
.lt-event { font-size: 11px; color: var(--lt-mute); text-align: center; padding: 2px 0; }
.lt-note { display: flex; gap: 10px; font-size: 13px; line-height: 1.35; padding: 8px 0; border-bottom: 1px solid var(--lt-line); }
.lt-note .n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lt-mark); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 700; margin-top: 1px; border: 0; cursor: pointer; }
.lt-note .tools { margin-left: auto; display: flex; gap: 6px; flex: none; }
.lt-note .tools button { font-size: 12px; }
.lt-note .who { color: var(--lt-mute); font-size: 10.5px; font-weight: 600; display: block; }

/* ── light table (review) ── */
.lt-table-stage { display: grid; grid-template-columns: 1fr 320px; min-height: calc(100dvh - 54px); }
.lt-big { position: relative; background: #0D0C0A; display: grid; place-items: center; padding: 28px 28px 92px; overflow: hidden; }
.lt-big .frame { position: relative; max-width: 100%; max-height: calc(100dvh - 200px); }
.lt-big img { display: block; max-width: 100%; max-height: calc(100dvh - 200px); border-radius: 6px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.9); user-select: none; }
.lt-big canvas { position: absolute; inset: 0; touch-action: none; }
.lt-film { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 12px 20px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); justify-content: center; overflow-x: auto; }
.lt-film button { flex: none; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; border: 0; padding: 0; opacity: .5; cursor: pointer; background: var(--lt-stage-3); position: relative; }
.lt-film button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lt-film button.on { opacity: 1; outline: 2px solid var(--lt-copper); outline-offset: 1px; }
.lt-film button i { position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; font-size: 9px; font-weight: 800; display: grid; place-items: center; color: var(--lt-ink); }
.lt-decide { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.lt-decide button { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lt-line-2); color: var(--lt-dim); background: rgba(20,18,15,.7); backdrop-filter: blur(8px); cursor: pointer; }
.lt-decide button:hover { color: var(--lt-paper); border-color: var(--lt-paper); }
.lt-decide button.on.yes { background: var(--lt-go); color: var(--lt-ink); border-color: transparent; }
.lt-decide button.on.change { background: var(--lt-hold); color: var(--lt-ink); border-color: transparent; }
.lt-decide button.on.no { background: var(--lt-mark); color: #fff; border-color: transparent; }
.lt-tools { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; z-index: 5; }
.lt-tools button { font-size: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--lt-line-2); color: var(--lt-dim); background: rgba(20,18,15,.7); cursor: pointer; }
.lt-tools button.on { background: var(--lt-mark); color: #fff; border-color: transparent; }
.lt-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--lt-mute); font-size: 34px; cursor: pointer; padding: 20px 14px; z-index: 5; }
.lt-arrow:hover { color: var(--lt-paper); } .lt-arrow.l { left: 6px; } .lt-arrow.r { right: 6px; }
.lt-panel { background: var(--lt-stage-2); border-left: 1px solid var(--lt-line); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.lt-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 16px; pointer-events: none; opacity: 0; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); }
.lt-stamp .sym { font-size: 22px; line-height: 1; }
.lt-stamp.show { animation: lt-stamp .9s ease-out forwards; }
@keyframes lt-stamp { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.7) } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.04) } 25% { transform: translate(-50%, -50%) scale(1) } 75% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1) } }
@media (prefers-reduced-motion: reduce) { .lt-stamp.show { animation-duration: .01s; opacity: 1 } }
.lt-before { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid var(--lt-line); border-radius: 10px; padding: 8px; font-size: 12.5px; color: var(--lt-dim); }
.lt-before img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex: none; }
.lt-kbd { font-family: var(--lt-mono); font-size: 11px; color: var(--lt-mute); }
.lt-kbd b { display: inline-block; border: 1px solid var(--lt-line-2); border-radius: 5px; padding: 0 6px; color: var(--lt-dim); font-weight: 500; }
@media (max-width: 960px) { .lt-table-stage { grid-template-columns: 1fr; } .lt-panel { border-left: 0; border-top: 1px solid var(--lt-line); } .lt-stats { grid-template-columns: repeat(2, 1fr); } }
@media (pointer: coarse) { .lt-decide button { padding: 12px 18px; font-size: 14px; } }

/* ── layout grids ── */
.lt-room { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.lt-regie { display: grid; grid-template-columns: 250px 1fr 290px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .lt-room, .lt-regie { grid-template-columns: 1fr; } }
.lt-side .row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--lt-line); font-size: 14px; }
.lt-side .row span:last-child { color: var(--lt-dim); font-family: var(--lt-mono); font-size: 12px; text-align: right; }
.lt-customer { display: block; text-decoration: none; background: var(--lt-stage-2); border: 1px solid var(--lt-line); border-radius: var(--lt-r-lg); padding: 18px; transition: border-color .12s ease, transform .12s ease; }
.lt-customer:hover { border-color: var(--lt-line-2); transform: translateY(-2px); }
.lt-customer.move { border-color: rgba(217,139,74,.45); }
/* four equal squares that scale with the card — fixed 64px spilled out of narrow cards (Andy 23.09.) */
.lt-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; max-width: 300px; }
.lt-strip img, .lt-strip i { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 5px; object-fit: cover; display: block; background: var(--lt-stage-3); }
.lt-strip.pages { display: flex; margin-top: 6px; flex-wrap: wrap; max-width: none; }
.lt-strip.pages img { width: 156px; height: 210px; object-fit: contain; object-position: top; border: 1px solid var(--lt-line-2); background: #fff; }   /* a brief page, portrait: the set line as the client drew it */
.lt-strip.pages a:hover img { border-color: var(--lt-violet); }
details.lt-details > summary { list-style: none; cursor: pointer; }
details.lt-details > summary::-webkit-details-marker { display: none; }

/* hidden must mean hidden — unlayered .lt-* rules otherwise beat Tailwind's .hidden */
[hidden], .hidden, .lt-hide { display: none !important; }
.lt-details > summary { cursor: pointer; list-style: none; } .lt-details > summary::-webkit-details-marker { display: none; }
.lt-details > summary .tri { display: inline-block; transition: transform .15s; } .lt-details[open] > summary .tri { transform: rotate(90deg); }

/* ── one-line standing (replaces the four stat boxes) ── */
.lt-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 14px; color: var(--lt-dim); }
.lt-line b { color: var(--lt-paper); font-weight: 700; font-variant-numeric: tabular-nums; }
.lt-wall.sm { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.lt-setup > summary { padding: 8px 0; }
.lt-doc.slim { padding: 12px 16px; }
.lt-doc.slim .lt-input[type=file] { padding: 4px; font-size: 11px; }
.lt-setup[open] > summary { color: var(--lt-dim); }

/* ── confirm dialog (Turbo setConfirmMethod → confirm_controller) ── */
.lt-dialog { background: var(--lt-stage-2); color: var(--lt-paper); border: 1px solid var(--lt-line-2); border-radius: var(--lt-r-lg); padding: 22px 24px 20px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(217,139,74,.12); margin: auto; }
.lt-dialog::backdrop { background: rgba(20,18,15,.72); backdrop-filter: blur(3px); }
.lt-dialog[open] { animation: lt-dialog-in .16s ease-out; }
@keyframes lt-dialog-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.lt-dialog-msg { font-family: var(--lt-sans); font-size: 15px; line-height: 1.45; margin: 10px 0 18px; color: var(--lt-paper); }
.lt-dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 22px 0 0; }   /* was margin:0 — plain CSS beats Tailwind, so every «mt-5» on it was ignored and the buttons sat on the last field */
@media (prefers-reduced-motion: reduce) { .lt-dialog[open] { animation: none; } }

/* ── page grids (desktop first; collapse for tablet and phone) ── */
.lt-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.lt-three { display: grid; grid-template-columns: 290px minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
/* sticky columns sit below the header, whose height varies (contact box, wrapped nav): --lt-top-h is measured by the layout */
.lt-conv { position: sticky; top: calc(var(--lt-top-h, 58px) + 12px); height: calc(100dvh - var(--lt-top-h, 58px) - 34px); }
@media (max-width: 1180px) {
  .lt-three { grid-template-columns: minmax(0, 1fr) 360px; }
  .lt-three > :first-child { grid-column: 1 / -1; order: 3; }     /* setup column goes full width below Now + Exchange */
  .lt-three .lt-conv { position: static; height: auto; max-height: 78dvh; min-height: 360px; }   /* not sticky here: a sticky, viewport-high exchange would cover the full-width column below */
  .lt-two { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 860px) {
  .lt-two, .lt-three { grid-template-columns: minmax(0, 1fr); }
  .lt-three > :first-child { order: 0; }
  .lt-conv { position: static; height: auto; max-height: 78dvh; min-height: 360px; }
}

/* ── phone ── */
@media (max-width: 720px) {
  .lt-wrap { padding: 16px max(16px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .lt-top { position: static; flex-wrap: wrap; gap: 8px 12px; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
  .lt-top .lt-brand { margin-right: auto; }
  .lt-top .lt-brand { font-size: 10px; letter-spacing: .12em; }
  .lt-nav { order: 3; flex-basis: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -4px; }
  .lt-nav::-webkit-scrollbar { display: none; }
  .lt-nav a { white-space: nowrap; padding: 7px 10px; }
  .lt-top-right { flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; }
  .lt-poc { order: 4; flex-basis: 100%; padding: 6px 10px !important; gap: 10px !important; justify-content: space-between; }
  .lt-poc .lt-k { display: none; }
  .lt-poc .lt-mono { text-align: right; }
  .lt-h1 { font-size: 26px; }
  .lt-move { flex-wrap: wrap; gap: 10px 14px; }
  .lt-move .t { font-size: 19px; }
  .lt-move > .lt-btn, .lt-move > form { flex-basis: 100%; }
  .lt-move > form .lt-btn, .lt-move > .lt-btn { width: 100%; justify-content: center; }
  .lt-doc { padding: 14px; }
  .lt-dialog { padding: 18px 18px 16px; width: calc(100vw - 24px); }
  .lt-dialog-actions { flex-wrap: wrap; }
  .lt-dialog-actions .lt-btn { flex: 1 1 auto; }
  /* the light table on a phone: image on top with the decision under it, notes below */
  .lt-table-stage { min-height: 0; }
  .lt-big { padding: 14px 10px 84px; min-height: 62dvh; }
  .lt-big .frame, .lt-big img { max-height: calc(62dvh - 100px); }
  .lt-decide { top: auto; bottom: 84px; left: 50%; width: max-content; }
  .lt-tools { top: 10px; right: 10px; }
  .lt-arrow { padding: 20px 6px; font-size: 28px; }
  .lt-film { padding: 10px 12px 12px; justify-content: flex-start; }
  .lt-film button { width: 48px; height: 48px; }
  .lt-panel { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
  .lt-kbd { display: none; }
  .lt-stats { grid-template-columns: repeat(2, 1fr); }
  .lt-wall, .lt-wall.lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lt-wall.sm { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}
@media (pointer: coarse) {
  .lt-btn.xs { padding: 7px 12px; font-size: 12px; }
  .lt-btn.sm { padding: 10px 16px; }
  .lt-tools button { padding: 10px 14px; font-size: 13px; }
  .lt-film button { width: 52px; height: 52px; }
  .lt-kbd { display: none; }
}

/* ── the status track (studio head): five stages, the current one lit, each one a switch ── */
.lt-track { display: flex; align-items: stretch; margin-top: 18px; border: 1px solid var(--lt-line); border-radius: 14px; overflow: hidden; background: var(--lt-stage-2); }
.lt-track form { display: contents; }
.lt-track .st { flex: 1 1 0; min-width: 0; display: grid; gap: 4px; padding: 12px 16px; border: 0; border-right: 1px solid var(--lt-line); background: transparent; color: inherit; text-align: left; cursor: pointer; font-family: inherit; }
.lt-track form:last-child .st, .lt-track .st:last-child { border-right: 0; }
.lt-track .st b { font-family: var(--lt-display); font-weight: 600; font-size: 16px; line-height: 1; color: var(--lt-mute); white-space: nowrap; }
.lt-track .st small { font-weight: 600; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--lt-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-track .st.done b { color: var(--lt-dim); } .lt-track .st.done small { color: var(--lt-go); }
.lt-track .st.now { background: var(--lt-copper-soft); box-shadow: inset 0 -3px 0 var(--lt-copper); cursor: default; }
.lt-track .st.now b { color: var(--lt-paper); } .lt-track .st.now small { color: var(--lt-copper); }
.lt-track .st.now.hold { background: var(--lt-hold-soft); box-shadow: inset 0 -3px 0 var(--lt-hold); } .lt-track .st.now.hold small { color: var(--lt-hold); }
.lt-track .st.now.violet { background: var(--lt-violet-soft); box-shadow: inset 0 -3px 0 var(--lt-violet); } .lt-track .st.now.violet small { color: var(--lt-violet); }
.lt-track .st.now.go { background: var(--lt-go-soft); box-shadow: inset 0 -3px 0 var(--lt-go); } .lt-track .st.now.go small { color: var(--lt-go); }
.lt-track .st:not(.now):hover { background: rgba(255,255,255,.04); } .lt-track .st:not(.now):hover b { color: var(--lt-paper); }
.lt-track .st:focus-visible { outline: 2px solid var(--lt-copper); outline-offset: -2px; }
@media (max-width: 800px) { .lt-track { flex-wrap: wrap; } .lt-track .st { flex: 1 1 45%; border-bottom: 1px solid var(--lt-line); } }

/* ── kick-off: an empty project shows three steps, nothing else ── */
.lt-kick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.lt-step { background: var(--lt-stage-2); border: 1px solid var(--lt-line); border-radius: var(--lt-r-lg); padding: 24px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; min-height: 340px; }
.lt-step.done { border-color: rgba(61,190,122,.35); }
.lt-step .num { font-family: var(--lt-display); font-weight: 600; font-size: 40px; line-height: .95; color: var(--lt-copper); }
.lt-step.done .num { color: var(--lt-go); }
.lt-step h3 { font-family: var(--lt-display); font-weight: 700; font-size: 20px; line-height: 1.05; margin: 0; }
.lt-step p { margin: 0; color: var(--lt-dim); font-size: 14px; }
.lt-step .note { font-size: 12.5px; color: var(--lt-mute); align-self: end; }
.lt-ways { display: grid; gap: 8px; align-content: start; }
.lt-way { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px dashed var(--lt-line-2); border-radius: 12px; background: transparent; color: var(--lt-paper); font-weight: 600; font-size: 14px; text-align: left; cursor: pointer; font-family: inherit; text-decoration: none; }
.lt-way:hover { border-color: var(--lt-copper); background: rgba(217,139,74,.06); }
.lt-way i { width: 34px; height: 34px; border-radius: 9px; background: var(--lt-stage-3); display: grid; place-items: center; font-style: normal; font-size: 16px; flex: none; }
.lt-way small { display: block; font-weight: 400; color: var(--lt-mute); font-size: 12px; margin-top: 1px; }
.lt-way.primary { border: 1px solid var(--lt-copper); background: var(--lt-copper-soft); }
.lt-way.done { border-style: solid; border-color: rgba(61,190,122,.4); cursor: default; }
.lt-way.done i { background: var(--lt-go-soft); color: var(--lt-go); }
@media (max-width: 1100px) { .lt-kick { grid-template-columns: 1fr; } .lt-step { min-height: 0; } }

/* ── the brief as a wide document ── */
.lt-brief dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; margin: 14px 0 0; }
.lt-brief dl .wide { grid-column: 1 / -1; }
.lt-brief dt { font-family: var(--lt-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lt-mute); }
.lt-brief dd { margin: 3px 0 0; color: var(--lt-dim); font-size: 14px; white-space: pre-line; line-height: 1.45; }
@media (max-width: 1100px) { .lt-brief dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .lt-brief dl { grid-template-columns: 1fr; } }

/* ── form dialogs (the confirm dialog's bigger sibling) ── */
.lt-dialog.wide { width: min(600px, calc(100vw - 32px)); max-height: 90dvh; overflow-y: auto; }
.lt-dialog .lt-dialog-title { font-family: var(--lt-display); font-weight: 700; font-size: 22px; line-height: 1.05; margin: 0 0 4px; }
.lt-dialog .lt-dialog-lead { color: var(--lt-dim); font-size: 13px; margin: 0 0 14px; }
.lt-dialog .field { display: block; margin-top: 12px; }
.lt-dialog .field > span { display: block; font-family: var(--lt-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lt-mute); margin-bottom: 5px; }
.lt-dialog .more > summary { margin-top: 14px; }

/* ── size steps (instead of inline font-size / padding) ── */
.lt-k.xs { font-size: 10px; }
.lt-mono.xs { font-size: 10px; } .lt-small.xs { font-size: 11px; }
.lt-chip.xs { font-size: 9px; }
.lt-bar.thin { height: 3px; }
.lt-input.sm { padding: 7px 10px; font-size: 13px; }
.lt-input.auto { width: auto; padding: 5px 8px; font-size: 12px; }
.lt-tabs label { padding: 0; }
.lt-ask { padding: 6px 8px; border-left: 3px solid var(--lt-hold); background: var(--lt-hold-soft); border-radius: 0 8px 8px 0; }
.lt-order-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.lt-order-card.needs { border-color: rgba(167,139,250,.45); }
.lt-doc.violet { border-left-color: var(--lt-violet); }
.lt-card.violet { border-color: rgba(167,139,250,.3); }

/* ── spec chips on visuals ── */
.lt-visual .chk { position: absolute; left: 8px; bottom: 8px; font-family: var(--lt-mono); font-size: 10px; letter-spacing: .06em; padding: 3px 7px; border-radius: 999px; background: var(--lt-mark); color: #fff; font-weight: 700; z-index: 2; }
.lt-visual .chk.ok { background: var(--lt-go); color: var(--lt-ink); }
.lt-visual .cap { z-index: 1; }
/* pickers (customer / partner) on the dark stage: the keyboard-active row must stay readable */
body.lt [data-customerpicker-target="list"] { background: var(--lt-stage-3); border-color: var(--lt-line-2); color: var(--lt-paper); }
body.lt [data-customerpicker-target="option"] { color: var(--lt-paper); }
body.lt [data-customerpicker-target="option"].bg-paper-100, body.lt [data-customerpicker-target="option"]:hover { background: rgba(217,139,74,.18) !important; color: var(--lt-paper); }

/* contact cards on the customer board */
.lt-contacts { display: grid; gap: 8px; }
.lt-contact { display: grid; gap: 2px; padding: 10px 12px; background: var(--lt-stage-2); border: 1px solid var(--lt-line); border-radius: var(--lt-r); font-size: 13px; }
.lt-contact b { font-weight: 700; color: var(--lt-paper); }
.lt-contact a { color: var(--lt-dim); text-decoration: none; font-family: var(--lt-mono); font-size: 12px; }
.lt-contact a:hover { color: var(--lt-copper-2); }

/* customer board: people row, milestone tiles, sticky exchange */
.lt-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.lt-contact .tag { font-family: var(--lt-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lt-copper); margin-bottom: 3px; }
.lt-miles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.lt-mile { display: grid; gap: 3px; background: var(--lt-stage-2); border: 1px solid var(--lt-line); border-radius: var(--lt-r); padding: 10px 12px; font-size: 13px; color: var(--lt-paper); }
.lt-mile:hover { border-color: var(--lt-line-2); }
.lt-mile .d { font-family: var(--lt-mono); font-size: 10.5px; color: var(--lt-mute); }
.lt-mile .p { font-family: var(--lt-mono); font-size: 10px; color: var(--lt-faint); }
.lt-sticky { position: sticky; top: calc(var(--lt-top-h, 58px) + 12px); }
.mt-7 { margin-top: 28px; }
@media (max-width: 860px) { .lt-sticky { position: static; } }

/* milestones as a timeline (not cards — cards are rooms and projects) */
.lt-timeline { display: grid; }
.lt-timeline .row { display: grid; grid-template-columns: 52px 14px minmax(0, 1fr); align-items: baseline; gap: 0 8px; padding: 6px 0; color: var(--lt-paper); font-size: 13.5px; }
.lt-timeline .row .d { font-family: var(--lt-mono); font-size: 11px; color: var(--lt-mute); }
.lt-timeline .row i { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--lt-copper); justify-self: center; top: -1px; }
.lt-timeline .row:not(:last-child) i::after { content: ""; position: absolute; left: 3px; top: 8px; width: 2px; height: 22px; background: var(--lt-line-2); }
.lt-timeline .row .p { font-family: var(--lt-mono); font-size: 11px; color: var(--lt-faint); }
.lt-timeline a.row:hover .t { color: var(--lt-copper-2); }
.lt-contact .tag.violet { color: var(--lt-violet); }
.lt-contact .tag button { margin-left: 6px; font-size: 10px; letter-spacing: 0; text-transform: none; }

/* ── V2.14: two equal columns of cards (admin customers/team, partners), inline add rows, login links ── */
.lt-cards2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .lt-cards2 { grid-template-columns: minmax(0, 1fr); } }
.lt-addrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
@media (max-width: 640px) { .lt-addrow { grid-template-columns: minmax(0, 1fr); } }
.lt-door { background: var(--lt-stage-2); border-radius: 10px; padding: 8px 10px; }
.lt-door code { color: var(--lt-paper); }

/* pill switch (data-pillset) — same look as the room's segment */
.lt-pills { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--lt-stage-2); border: 1px solid var(--lt-line); }
.lt-pills button { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--lt-dim); background: none; border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer; white-space: nowrap; }
.lt-pills button:hover { color: var(--lt-paper); }
.lt-pills button.on { background: var(--lt-paper); color: var(--lt-ink); }
.lt-pills button .n { font-family: var(--lt-mono, ui-monospace); font-size: 10.5px; margin-left: 4px; opacity: .7; }
.lt-pillhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.lt-kick.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .lt-kick.two { grid-template-columns: minmax(0, 1fr); } }

/* right column with pills (room): the whole column is sticky, the exchange fills the rest of the viewport */
.lt-side { position: sticky; top: calc(var(--lt-top-h, 58px) + 12px); display: flex; flex-direction: column; gap: 10px; }
.lt-side .lt-conv { position: static; height: calc(100dvh - var(--lt-top-h, 58px) - 80px); }
.lt-side .lt-inbox { max-height: calc(100dvh - var(--lt-top-h, 58px) - 80px); overflow-y: auto; }
@media (max-width: 1180px) { .lt-three .lt-side { position: static; } .lt-side .lt-conv { height: auto; max-height: 78dvh; min-height: 360px; } }

/* lightbox versions (studio wall) */
.lb-versions { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lb-verhead { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.lb-upload { cursor: pointer; letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 12px; color: var(--lt-copper); }
.lb-upload:hover { color: #fff; }
.lb-vers { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.lb-ver { position: relative; width: 52px; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; background: none; cursor: pointer; overflow: hidden; }
.lb-ver img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.lb-ver span { position: absolute; left: 3px; bottom: 3px; font: 600 9.5px/1 var(--lt-mono, ui-monospace); background: rgba(0,0,0,.7); color: #fff; padding: 2px 4px; border-radius: 3px; }
.lb-ver.on { outline: 2px solid var(--lt-copper); outline-offset: 1px; }
.lb-vernote { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.55); }
.lb-link { background: none; border: 0; padding: 0; color: var(--lt-copper); cursor: pointer; font: inherit; text-decoration: underline; }

/* archived rooms: grey chip (no tone class), grey bar, a little quieter */
.lt-bar.mute i { background: var(--lt-mute); }
.lt-room-archived { opacity: .78; }
.lt-room-archived:hover { opacity: 1; }

/* a stage that can't be reached by a click yet — the reason under the label */
.lt-track .st.locked { opacity: .45; cursor: not-allowed; }
.lt-track .st.locked small { text-transform: none; letter-spacing: 0; }

/* anchors (#brief, #files, #visuals …) land below the sticky header */
.lt-doc[id], [id="visuals"], [id="brief-form"], [id="files"], [id="conversation"] { scroll-margin-top: 88px; }

/* pills as links (tabs that are pages) */
.lt-pills a { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--lt-dim); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.lt-pills a:hover { color: var(--lt-paper); }
.lt-pills a.on { background: var(--lt-paper); color: var(--lt-ink); }

/* Admin → Requirements: rule · value · how strict */
.lt-req .row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--lt-line); }
.lt-req .row:last-child { border-bottom: 0; }
.lt-req .lbl { font-size: 13px; font-weight: 600; color: var(--lt-paper); }
.lt-req .lbl small { display: block; font-size: 10.5px; font-weight: 400; color: var(--lt-mute); margin-top: 2px; line-height: 1.35; }
.lt-req .val { min-width: 0; }
.lt-req .val .lt-input { font-size: 13px; padding: 7px 10px; }
@media (max-width: 900px) { .lt-req .row { grid-template-columns: 1fr; gap: 6px; } }

/* journal rows + overdue count on the To-dos pill */
.lt-jrow { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 13px; line-height: 1.4; border-bottom: 1px solid var(--lt-line); }
.lt-jrow .dot { width: 7px; height: 7px; border-radius: 999px; display: inline-block; transform: translateY(-1px); }
.lt-jrow .t { font-family: var(--lt-mono); font-size: 11px; color: var(--lt-mute); }
.lt-pills button .n.late { background: var(--lt-mark); color: #fff; opacity: 1; padding: 0 5px; border-radius: 999px; }

/* the client's downloads: a strip of the delivered pictures on each card */
.lt-dl .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.lt-dl .thumbs span { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--lt-stage); }
.lt-dl .thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lt-dl .thumbs b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,18,15,.6); color: var(--lt-paper); font-size: 13px; }

/* settings as rows: label left, switch right — short switches never wrap */
.lt-optrows .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--lt-line); }
.lt-optrows .row:last-child { border-bottom: 0; }
.lt-optrows .lt-seg { flex-wrap: nowrap; }
/* pick a person: one card per team member */
.lt-people-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.lt-people-pick label { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid var(--lt-line-2); border-radius: 10px; cursor: pointer; font-size: 13px; color: var(--lt-dim); min-width: 0; }
.lt-people-pick label span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-people-pick label i { flex: none; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--lt-stage-2); color: var(--lt-dim); }
.lt-people-pick label:hover { color: var(--lt-paper); border-color: var(--lt-dim); }
.lt-people-pick label:has(input:checked) { border-color: var(--lt-copper); color: var(--lt-paper); background: rgba(217,139,74,.08); }
.lt-people-pick label:has(input:checked) i { background: var(--lt-copper); color: var(--lt-ink); }
.lt-people-pick label:has(input:focus-visible) { outline: 2px solid var(--lt-copper); outline-offset: 2px; }

/* client / partner room: ONE slim bar above the pictures (the move · where we stand · brief + files as dialogs) */
.lt-roombar { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding: 9px 14px; border: 1px solid var(--lt-line-2); border-radius: 12px; background: var(--lt-stage-2); }
.lt-roombar.go { border-color: rgba(217,139,74,.45); background: linear-gradient(90deg, rgba(217,139,74,.12), var(--lt-stage-2) 60%); }
.lt-roombar .move { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lt-roombar .move .t { font-weight: 700; font-size: 15px; color: var(--lt-paper); }
.lt-roombar .move .d { font-size: 13px; color: var(--lt-dim); }
.lt-roombar .facts { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 13px; color: var(--lt-dim); }
.lt-roombar .facts b { color: var(--lt-paper); }
.lt-pillbtn { font: inherit; font-size: 12px; font-weight: 600; color: var(--lt-paper); background: var(--lt-stage); border: 1px solid var(--lt-line-2); border-radius: 999px; padding: 4px 11px; cursor: pointer; white-space: nowrap; }
.lt-pillbtn:hover { border-color: var(--lt-dim); }
.lt-pillbtn.go { color: var(--lt-go); border-color: rgba(61,190,122,.45); }

/* attachments in the exchange */
.lt-attach { cursor: pointer; font-size: 14px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--lt-line-2); color: var(--lt-dim); line-height: 1.6; }
.lt-attach:hover, .lt-attach.on { color: var(--lt-paper); border-color: var(--lt-copper); }
.lt-attach .n { font-size: 11px; font-weight: 700; }
.lt-msgfiles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lt-msgfiles a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--lt-line-2); }
.lt-msgfiles img { width: 64px; height: 64px; object-fit: cover; display: block; }
.lt-msgfiles span { display: block; padding: 5px 8px; font-size: 11.5px; color: var(--lt-paper); }

/* single view: where the picture stands + take it back */
.lb-statebar { position: absolute; top: 38px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; z-index: 10; white-space: nowrap; }
.lb-state { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--lt-paper); }
.lb-state.approved { background: var(--lt-go); color: #0d1f14; }
.lb-state.changes { background: var(--lt-hold); color: #241a05; }
.lb-state.round { background: rgba(125,180,230,.25); color: #cfe6ff; }
.lb-state-sub { font-size: 11.5px; color: rgba(255,255,255,.6); }
.lb-reopen { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lb-reopen summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--lt-hold); list-style: none; }
.lb-reopen summary::-webkit-details-marker { display: none; }
.lb-reopen summary::before { content: "↺ "; }
.lb-reopen form { display: grid; gap: 8px; margin-top: 8px; }
.lb-reopen textarea { width: 100%; background: var(--lt-stage); color: var(--lt-paper); border: 1px solid var(--lt-line-2); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; }
/* the 10-minute undo */
.lt-undo { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(61,190,122,.4); background: var(--lt-go-soft); font-size: 13px; color: var(--lt-paper); }
.lt-roombar.violet.go { border-color: rgba(167,139,250,.5); background: linear-gradient(90deg, rgba(167,139,250,.13), var(--lt-stage-2) 60%); }

/* a card whose whole face opens its main link (the link's ::after covers the card; buttons sit above with z-10) */
.lt-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lt-chip.go { color: var(--lt-go); border-color: rgba(61,190,122,.4); text-transform: none; letter-spacing: 0; font-size: 12px; }

/* the customer's logo in their room: never wider than the column, SVGs turned white by a filter */
.lt-custlogo { display: block; width: auto; max-width: 100%; object-fit: contain; }
.lt-custlogo.white { filter: brightness(0) invert(1); }
.lt-brand-x { display: inline-flex; align-items: center; gap: 12px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--lt-line-2); }
@media (max-width: 1180px) { .lt-brand-x { display: none; } }   /* the room's top bar is full enough — the logo stays on the door + «Your projects» */
.lt-logo-preview { background: var(--lt-stage, #141311); border: 1px solid var(--lt-line-2); border-radius: 12px; padding: 22px; display: grid; place-items: center; min-height: 96px; }

/* Carousel Projects' own date picker (projects/_date): a field that looks like .lt-input + a dark calendar that floats
   fixed (escapes sideways-scrolling tables). The .dp-* grid classes come from the Carousel picker; here they turn dark. */
.lt-date-wrap { position: relative; display: block; min-width: 0; }
.lt-date-wrap.cell { display: inline-block; }
.lt-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; cursor: pointer; }
.lt-date svg { flex: none; color: var(--lt-mute); }
.lt-date:hover svg { color: var(--lt-paper); }
.lt-date-ph { color: var(--lt-mute); }
.lt-date.cell { width: auto; padding: 4px 2px; background: transparent; border: 0; border-bottom: 1px dashed var(--lt-line-2); border-radius: 0; font-family: var(--lt-mono); font-size: 12px; color: var(--lt-paper); gap: 6px; }
.lt-dp-menu { position: fixed; z-index: 80; width: 16rem; padding: 10px; background: var(--lt-stage-2); border: 1px solid var(--lt-line-2); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
.lt-dp-menu .dp-title { font-size: 13px; font-weight: 700; color: var(--lt-paper); text-transform: capitalize; }
.lt-dp-menu .dp-nav { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--lt-dim); font-size: 18px; line-height: 1; cursor: pointer; }
.lt-dp-menu .dp-nav:hover { background: rgba(255,255,255,.06); color: var(--lt-paper); }
.lt-dp-menu .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.lt-dp-menu .dp-dow { text-align: center; font-size: 10px; font-weight: 700; color: var(--lt-mute); padding: 4px 0; text-transform: capitalize; }
.lt-dp-menu .dp-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: 12.5px; color: var(--lt-dim); cursor: pointer; }
.lt-dp-menu .dp-day:hover { background: rgba(255,255,255,.07); color: var(--lt-paper); }
.lt-dp-menu .dp-today { color: var(--lt-copper-2); font-weight: 800; }
.lt-dp-menu .dp-sel, .lt-dp-menu .dp-sel:hover { background: var(--lt-copper); color: var(--lt-ink); font-weight: 800; }
.lt-dp-menu .dp-foot { font-size: 12px; font-weight: 600; color: var(--lt-copper-2); cursor: pointer; }
.lt-dp-menu .dp-foot.mute { color: var(--lt-mute); }
.lt-dp-menu .dp-foot:hover { text-decoration: underline; }
