/* ==========================================================================
   Landingpage Task Agent – Vorführungen (agents/todo/landing-view.php)
   Nur Variablen aus tokens.css und landing.css. Präfix: lpt-
   ========================================================================== */

/* ---------- Gemeinsam ---------- */
.lpt-group { margin: 2px 0 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.lpt-group b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--c-warning-soft); color: var(--c-warning); font-size: 11px; letter-spacing: 0; }
.lpt-say-row { display: flex; gap: 10px; align-items: flex-start; }
.lpt-say { margin: 0; flex: 1; min-width: 0; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--lp-a-soft); border: 1px solid var(--lp-a-line); color: var(--text); font-size: var(--fs-sm); line-height: 1.45; }
.lpt-say.is-typing::after, .lpt-seg.is-typing::after, .lpt-dump-text.is-typing::after {
    content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--lp-a); animation: lp-caret .8s steps(1) infinite;
}
.lp-tag .icon { flex: none; }

/* Zeiger erst zeigen, wenn die Szene ihn braucht */
.lpt-hero .lp-cursor, .lpt-watch .lp-cursor, .lpt-cmd .lp-cursor { opacity: 0; transition: transform .7s cubic-bezier(.6, .05, .3, 1), opacity .25s ease; }
.lpt-hero .lp-cursor.lpt-on, .lpt-watch .lp-cursor.lpt-on, .lpt-cmd .lp-cursor.lpt-on { opacity: 1; }

/* Aufgabenzeile */
.lpt-task {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px;
    border-radius: 12px; background: var(--surface); border: 1px solid var(--border); max-height: 90px; overflow: hidden;
    transition: max-height .45s ease, opacity .4s ease, transform .45s cubic-bezier(.2, .7, .2, 1), padding .45s ease, margin .45s ease, border-color .3s ease, background .3s ease;
}
.lpt-task.is-new { border-color: var(--lp-a-line); background: var(--lp-a-soft); }
.lpt-task.is-hidden { max-height: 0; opacity: 0; transform: translateY(-10px); padding-block: 0; margin-block: -3px; border-width: 0; }
.lpt-check {
    width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; flex: none;
    color: var(--bg); transition: background .25s ease, border-color .25s ease, transform .15s ease;
}
.lpt-check .icon { opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .25s ease; }
.lpt-check.is-pressed { transform: scale(.85); }
.lpt-task.is-done .lpt-check { background: var(--c-success); border-color: var(--c-success); }
.lpt-task.is-done .lpt-check .icon { opacity: 1; transform: none; }
.lpt-task-body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.lpt-task-body > strong { font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s ease; }
.lpt-task.is-done .lpt-task-body > strong { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--text-2); }
.lpt-meta { display: flex; flex-wrap: wrap; gap: 4px; }

/* Eingabefeld */
.lpt-input {
    position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 7px 8px 7px 12px;
    border-radius: 12px; background: var(--surface); border: 1.5px solid var(--lp-a-line); box-shadow: 0 0 0 4px color-mix(in oklab, var(--lp-a) 8%, transparent);
}
.lpt-input.is-empty::before { content: attr(data-ph); position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-size: var(--fs-sm); pointer-events: none; }
.lpt-line { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; font-size: var(--fs-sm); line-height: 1.5; color: var(--text); }
.lpt-tok { display: inline-flex; align-items: center; gap: 4px; height: 24px; border-radius: 7px; transition: background .25s ease, color .25s ease, padding .25s ease; }
.lpt-tok .icon { display: none; }
.lpt-tok.is-chip { padding: 0 7px; font-weight: 600; font-size: var(--fs-xs); background: var(--lp-a-soft); color: var(--lp-a); box-shadow: inset 0 0 0 1px var(--lp-a-line); }
.lpt-tok.is-chip .icon { display: inline-block; }
.lpt-tok.is-chip[data-k="3"] { background: var(--c-warning-soft); color: var(--c-warning); box-shadow: none; }
.lpt-tok.is-chip[data-k="4"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.lpt-tok.is-chip[data-k="5"] { background: var(--c-success-soft); color: var(--c-success); box-shadow: none; }
.lpt-tok.is-fresh { animation: lpt-pop .4s ease both; }
.lpt-enter {
    flex: none; align-self: center; min-width: 32px; height: 30px; display: inline-grid; place-items: center; border-radius: 8px; font-family: var(--font-mono); font-size: var(--fs-sm);
    background: var(--lp-a); color: var(--lp-on-a); transition: transform .15s ease;
}
.lpt-enter.is-pressed { transform: scale(.88); }
.lpt-found { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11px; }
.lpt-found span { color: var(--text-2); font-weight: 600; margin-right: 2px; }
.lpt-found i { font-style: normal; height: 20px; padding: 0 8px; border-radius: 99px; display: inline-flex; align-items: center; color: var(--text-2); border: 1px dashed var(--border-strong); transition: all .25s ease; }
.lpt-found i.is-on { color: var(--lp-a); background: var(--lp-a-soft); border: 1px solid var(--lp-a-line); }

/* ---------- Hero ---------- */
.lpt-hero { position: relative; display: flex; flex-direction: column; gap: 12px; }
.lpt-hero-win .lp-win-body { min-height: 452px; }
.lpt-alex { display: flex; gap: 10px; align-items: flex-start; }
.lpt-alex-text { margin: 0; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--lp-a-soft); border: 1px solid var(--lp-a-line); font-size: var(--fs-sm); line-height: 1.45; min-height: 2.9em; flex: 1; }
.lpt-list { display: flex; flex-direction: column; gap: 6px; }
.lpt-hero .lp-toast b { margin-left: 4px; }

/* ---------- Bühne ---------- */
.lpt-stage-win .lp-win-body { min-height: 446px; }
.lpt-s-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.lpt-s-head strong { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-sm); color: var(--text); }
.lpt-s-head strong .icon { color: var(--lp-a); }
.lpt-s-head span { font-size: var(--fs-xs); color: var(--text-2); }

.lpt-parse { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lpt-parse li { padding: 10px 12px; border-radius: 11px; background: var(--surface-2); display: flex; flex-direction: column; gap: 7px; }
.lpt-parse code { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text); overflow-wrap: anywhere; }
.lpt-parsed { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.lpt-parsed > .icon { color: var(--text-2); }

.lpt-tl { margin-bottom: 14px; }
.lpt-tl-bar { position: relative; height: 46px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.lpt-tl-bar > span { position: absolute; top: 5px; bottom: 5px; border-radius: 7px; }
.lpt-tl-ev {
    z-index: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 5px, var(--surface-2) 5px, var(--surface-2) 10px);
    box-shadow: inset 0 0 0 1px var(--border-strong);
}
.lpt-tl-ev b { font-size: 10px; font-weight: 600; color: var(--text); background: var(--surface); padding: 1px 3px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96%; }
.lpt-tl-break { background: repeating-linear-gradient(90deg, var(--border-strong), var(--border-strong) 2px, transparent 2px, transparent 5px); opacity: .7; }
.lpt-tl-free { background: var(--lp-a-soft); box-shadow: inset 0 0 0 1.5px var(--lp-a-line); transform-origin: 0 50%; }
.lpt-tl-task { background: linear-gradient(135deg, var(--lp-a), color-mix(in oklab, var(--lp-a) 60%, var(--lp-a2))); transform-origin: 0 50%; box-shadow: inset -1px 0 0 var(--surface); }
.lpt-tl-axis { position: relative; height: 18px; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.lpt-tl-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.lpt-tl-axis span:nth-child(1) { left: 0; transform: none; }
.lpt-tl-axis span:nth-child(2) { left: 22.222%; }
.lpt-tl-axis span:nth-child(3) { left: 44.444%; }
.lpt-tl-axis span:nth-child(4) { left: 66.667%; }
.lpt-tl-axis span:nth-child(5) { left: 88.889%; }
.lpt-tl-axis span:nth-child(6) { right: 0; left: auto; transform: none; }

.lpt-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.lpt-kv div { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.lpt-kv dt { font-size: var(--fs-xs); color: var(--text-2); }
.lpt-kv dd { margin: 2px 0 0; font-weight: 650; font-size: var(--fs-md); color: var(--text); }
.lpt-kv div.is-free { background: var(--lp-a-soft); box-shadow: inset 0 0 0 1px var(--lp-a-line); }
.lpt-kv div.is-free dd { color: var(--lp-a); }

.lpt-cap { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.lpt-cap-bar { position: relative; height: 8px; border-radius: 99px; background: var(--surface-2); }
.lpt-cap-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--lp-a), var(--lp-a2)); }
.lpt-cap-bar em { position: absolute; left: var(--at); top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--text); }
.lpt-cap > span { font-size: var(--fs-xs); color: var(--text-2); }
.lpt-plan { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.lpt-plan li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-xs); }
.lpt-plan-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 500; }
.lpt-plan.is-small li { grid-template-columns: 4.6em minmax(0, 1fr); padding: 7px 10px; font-size: var(--fs-sm); }
.lpt-skipped { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: var(--fs-xs); color: var(--text-2); }
.lpt-skipped .icon { color: var(--c-warning); flex: none; }

.lpt-s4 .lpt-say-row { margin-bottom: 12px; }
.lpt-say { min-height: 2.9em; }
.lpt-close-item { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.lpt-close-item strong { font-size: var(--fs-sm); }
.lpt-close-item ol { list-style: none; margin: 0; padding: 3px; display: flex; flex-wrap: wrap; gap: 3px; border-radius: 10px; background: var(--surface-2); }
.lpt-close-item li { flex: 1 1 auto; text-align: center; padding: 6px 8px; border-radius: 8px; color: var(--text-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.lpt-close-item li.is-on { background: var(--surface); color: var(--lp-a); box-shadow: 0 2px 6px -2px var(--lp-shadow); }
.lpt-week p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: var(--fs-xs); color: var(--text-2); }
.lpt-week p b { font-size: var(--fs-lg); color: var(--lp-a); letter-spacing: -0.02em; }
.lpt-week ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-items: flex-end; height: 84px; }
.lpt-week li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.lpt-week li i { display: block; width: 100%; max-width: 34px; height: calc(var(--h) * 10px); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lp-a), var(--lp-a2)); transform-origin: 50% 100%; }
.lpt-week li span { font-size: 11px; color: var(--text-2); font-family: var(--font-mono); }

/* Einlauf je Schritt */
@keyframes lpt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lpt-pop { 0% { opacity: .4; transform: scale(.85); } 60% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes lpt-grow-x { from { transform: scaleX(0); } }
@keyframes lpt-grow-y { from { transform: scaleY(0); } }
.lp-js [data-step="1"] .lpt-s1 .lpt-parse li,
.lp-js [data-step="2"] .lpt-s2 .lpt-kv div,
.lp-js [data-step="3"] .lpt-s3 .lpt-plan li { animation: lpt-in .45s both; animation-delay: calc(var(--d) * 260ms + 250ms); }
.lp-js [data-step="1"] .lpt-s1 .lpt-parse li .lp-tag { animation: lpt-pop .4s both; animation-delay: calc(var(--d) * 260ms + 600ms); }
.lp-js [data-step="2"] .lpt-s2 .lpt-tl-free,
.lp-js [data-step="3"] .lpt-s3 .lpt-tl-task { animation: lpt-grow-x .5s cubic-bezier(.3, .7, .2, 1) both; animation-delay: calc(var(--d) * 200ms + 300ms); }
.lp-js [data-step="3"] .lpt-s3 .lpt-cap-bar i { animation: lpt-grow-x 1.4s ease both .5s; transform-origin: 0 50%; }
.lp-js [data-step="3"] .lpt-s3 .lpt-skipped { animation: lpt-in .45s both 2s; }
.lp-js [data-step="4"] .lpt-s4 .lpt-close-item li.is-on { animation: lpt-pop .45s both 1.4s; }
.lp-js [data-step="4"] .lpt-s4 .lpt-week li i { animation: lpt-grow-y .6s cubic-bezier(.3, .7, .2, 1) both; animation-delay: calc(var(--d) * 120ms + 1.6s); }

/* ---------- Gedanken abladen ---------- */
.lpt-dump { position: relative; display: flex; flex-direction: column; gap: 12px; }
.lpt-dump-text { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--text); font-size: var(--fs-sm); line-height: 1.6; }
.lpt-dump-bar { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.lpt-dump-go { transition: transform .15s ease, opacity .2s ease; }
.lpt-dump-go.is-busy { opacity: .8; animation: lpt-pulse 1s ease-in-out infinite; }
@keyframes lpt-pulse { 50% { opacity: .55; } }
.lpt-dump-out { display: flex; flex-direction: column; gap: 10px; transition: opacity .35s ease, transform .35s ease; }
.lpt-dump-out.is-hidden { opacity: 0; transform: translateY(8px); }
.lpt-dump-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lpt-dump-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-sm); transition: opacity .35s ease, transform .35s ease; }
.lpt-dump-row.is-pending, .lpt-dump-create.is-pending, .lpt-cmd-list li.is-pending { opacity: 0; transform: translateX(-10px); }
.lpt-dump-t { flex: 1; min-width: 0; }
.lpt-box { width: 18px; height: 18px; flex: none; border-radius: 5px; display: grid; place-items: center; border: 1.5px solid var(--border-strong); color: var(--lp-on-a); }
.lpt-box.is-on { background: var(--lp-a); border-color: var(--lp-a); }
.lpt-dump-create { align-self: flex-start; transition: opacity .35s ease, transform .35s ease; }

/* ---------- Morgen-Planung ---------- */
.lpt-walk { display: flex; flex-direction: column; gap: 12px; }
.lpt-deck { position: relative; height: 262px; }
.lpt-card {
    position: absolute; inset: 0 0 26px 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 14px 30px -18px var(--lp-shadow); display: flex; flex-direction: column; gap: 10px; overflow: hidden;
    transform: translateY(calc(var(--depth, 0) * 9px)) scale(calc(1 - var(--depth, 0) * .035)); transform-origin: 50% 100%;
    transition: transform .55s cubic-bezier(.3, .7, .2, 1), opacity .45s ease;
}
.lpt-card.is-task { border-color: var(--lp-a-line); }
.lpt-card.is-gone[data-move="right"] { transform: translateX(115%) rotate(7deg); opacity: 0; }
.lpt-card.is-gone[data-move="left"] { transform: translateX(-115%) rotate(-7deg); opacity: 0; }
.lpt-card-pos { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.lpt-card-pos > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.lpt-card.is-plan .lpt-card-pos { color: var(--lp-a); font-weight: 600; }
.lpt-card h4 { margin: 0; font-size: var(--fs-md); letter-spacing: -0.01em; color: var(--lp-ink); }
.lpt-card .lpt-say { min-height: 0; }
.lpt-card-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.lpt-decs { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.lpt-dec {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 11px; color: var(--text);
    background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: opacity .3s ease, transform .3s ease;
}
.lpt-dec b { color: var(--c-success); font-weight: 700; }
.lpt-dec.is-later b { color: var(--text-2); }
.lpt-dec:not(.is-on) { opacity: 0; transform: scale(.85); }
.lpt-keys { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-xs); color: var(--text-2); }
.lpt-keys span { display: inline-flex; align-items: center; gap: 5px; }
.lpt-keys kbd, .lpt-mini-keys kbd {
    min-width: 26px; height: 24px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 6px; font-family: var(--font-mono); font-size: 11px;
    background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 2px 0 var(--border-strong); color: var(--text); transition: all .15s ease;
}
.lpt-keys span.is-hot kbd { background: var(--lp-a); color: var(--lp-on-a); border-color: transparent; box-shadow: 0 0 0 transparent; transform: translateY(2px); }
.lpt-keys span.is-hot { color: var(--lp-a); }

/* ---------- Aufschiebe-Wächter ---------- */
.lpt-watch { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 330px; }
.lpt-task.is-watched { grid-template-columns: auto minmax(0, 1fr) auto; border-color: var(--lp-a-line); }
.lpt-when { transition: opacity .3s ease, transform .3s ease; }
.lpt-when.is-hidden { opacity: 0; transform: scale(.8); }
.lpt-count.is-bump { animation: lpt-pop .5s ease both; }
.lpt-later { flex: none; }
.lpt-watch-alex { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; transition: opacity .4s ease, transform .4s ease; }
.lpt-watch-alex.is-hidden { opacity: 0; transform: translateY(10px); }
.lpt-watch-bubble { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: var(--lp-a-soft); border: 1px solid var(--lp-a-line); }
.lpt-watch-bubble .lpt-say { padding: 0; background: none; border: 0; border-radius: 0; }
.lpt-watch-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- Befehle ---------- */
.lpt-cmd { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 330px; }
.lpt-cmd-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--lp-a-line); background: var(--surface); transition: opacity .35s ease, transform .35s ease; }
.lpt-cmd-card.is-hidden { opacity: 0; transform: translateY(8px); }
.lpt-cmd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.lpt-cmd-list li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--surface-2); font-size: var(--fs-sm); transition: opacity .35s ease, transform .35s ease, color .3s ease; }
.lpt-cmd-list li .icon { color: var(--lp-a); flex: none; }
.lpt-cmd-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.lpt-cmd-done { display: none; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--lp-ink); color: var(--bg); font-size: var(--fs-xs); align-self: flex-start; }
.lpt-cmd-done b { color: var(--lp-a2); margin-left: 4px; }
.lpt-cmd-card.is-done .lpt-cmd-btns { display: none; }
.lpt-cmd-card.is-done .lpt-cmd-done { display: inline-flex; animation: lpt-pop .4s ease both; }
.lpt-cmd-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-2); }
.lpt-cmd-try code { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }

/* ---------- Mini-Demos im Raster ---------- */
.lpt-mini-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lpt-mini-alex .lp-alex-bubble { font-size: var(--fs-sm); }
.lpt-mini-toast { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--lp-ink); color: var(--bg); font-size: var(--fs-xs); }
.lpt-mini-toast b { color: var(--lp-a2); margin-left: 4px; }
.lpt-mini-widget { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.lpt-mini-rows { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lpt-mini-rows > span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; background: var(--surface-2); font-size: var(--fs-sm); color: var(--text); min-width: 0; }
.lpt-mini-rows > span i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; display: grid; place-items: center; color: var(--bg); }
.lpt-mini-rows > span.is-done { color: var(--text-2); text-decoration: line-through; }
.lpt-mini-rows > span.is-done i { background: var(--c-success); border-color: var(--c-success); }
.lpt-mini-rows em { font-style: normal; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; border: 1px dashed var(--border-strong); font-size: var(--fs-xs); color: var(--text-2); }
.lpt-mini-kpis { display: flex; flex-direction: column; gap: 6px; }
.lpt-mini-kpis span { display: flex; flex-direction: column; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; color: var(--text-2); }
.lpt-mini-kpis b { font-size: var(--fs-lg); line-height: 1.1; color: var(--lp-a); }
.lpt-mini-kpis span.is-danger b { color: var(--c-danger); }

@media (max-width: 640px) {
    .lpt-hero-win .lp-win-body { min-height: 470px; }
    .lpt-stage-win .lp-win-body { min-height: 0; }
    .lpt-tl-ev b { display: none; }
    .lpt-plan li { grid-template-columns: 4.6em minmax(0, 1fr); }
    .lpt-plan li > .lp-time:last-child { display: none; }
    .lpt-deck { height: 296px; }
    .lpt-task.is-watched { grid-template-columns: auto minmax(0, 1fr); }
    .lpt-task.is-watched .lpt-later { grid-column: 2; justify-self: start; }
    .lpt-mini-widget { grid-template-columns: 1fr; }
    .lpt-mini-kpis { flex-direction: row; }
    .lpt-mini-kpis span { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .lpt-hero *, .lpt-stage-win *, .lpt-dump *, .lpt-walk *, .lpt-watch *, .lpt-cmd * { animation: none !important; transition: none !important; }
}
