/* CTS Premium timeline. Uses premium.css tokens. */
#cts-tl .tl-head { margin-bottom: 1rem; }
#cts-tl .tl-crumb { margin: 0 0 .35rem; font-size: .9rem; }
#cts-tl .tl-back { color: var(--green); font-weight: 600; text-decoration: none; }
@media (max-width: 519px) { #cts-tl .tl-settings .row { grid-template-columns: 1fr; } #cts-tl .tl-check { min-height: 0; } }
#cts-tl .perks { margin: .25rem 0 .5rem; padding-left: 1.1rem; }
#cts-tl .perks li { margin: .25rem 0; line-height: 1.4; }
#cts-tl .cts-tl-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .75rem; }
#cts-tl input[type=date] { width: 100%; min-height: 48px; border: 1px solid #B9AB90; border-radius: 12px; background: #FFFDF7; color: var(--ink); padding: .6rem .8rem; font: inherit; font-size: 16px; }
#cts-tl .tl-check { display: flex; gap: .5rem; align-items: center; font-weight: 600; align-self: end; min-height: 48px; }
#cts-tl .tl-check input, #cts-tl .tl-row input { width: 22px; height: 22px; accent-color: var(--green); flex: none; }
#cts-tl .tl-warn { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: .5rem .75rem; margin: .75rem 0 0; font-size: .9rem; }
#cts-tl .tl-grid { display: grid; gap: 1rem; }
@media (min-width: 1024px) { #cts-tl .tl-grid { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } #cts-tl .tl-aside { position: sticky; top: 1rem; } }
#cts-tl .tl-progress { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
#cts-tl progress { width: 100%; height: 10px; -webkit-appearance: none; appearance: none; border: 0; border-radius: 999px; background: #D9CBB0; overflow: hidden; }
#cts-tl progress::-webkit-progress-bar { background: #D9CBB0; border-radius: 999px; }
#cts-tl progress::-webkit-progress-value { background: var(--green); border-radius: 999px; }
#cts-tl progress::-moz-progress-bar { background: var(--green); border-radius: 999px; }
#cts-tl .tl-h2 { margin: 1.1rem 0 .6rem; font-size: 1.15rem; }
#cts-tl .tl-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
#cts-tl .tl-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .85rem 1rem; }
#cts-tl .tl-item.soon { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
#cts-tl .tl-item.past .tl-when { color: var(--warn); }
#cts-tl .tl-item.done { opacity: .7; }
#cts-tl .tl-item.done .tl-title { text-decoration: line-through; }
#cts-tl .tl-row { display: flex; gap: .7rem; align-items: flex-start; margin: 0; cursor: pointer; }
#cts-tl .tl-title { display: block; font-weight: 700; line-height: 1.3; }
#cts-tl .tl-when { display: block; font-weight: 500; font-size: .85rem; color: var(--ink-3); margin-top: .15rem; }
#cts-tl .tl-note { font-size: .9rem; color: var(--ink-2); margin: .5rem 0 .25rem; }
#cts-tl .tl-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; font-size: .88rem; }
#cts-tl .tl-links a { color: var(--green); font-weight: 600; }
#cts-tl .tl-links .linkbtn { min-height: 40px; font-size: .88rem; }
#cts-tl .tl-add input { margin-bottom: .1rem; }
#cts-tl .tl-sources ul { margin: .5rem 0 0; padding-left: 1.1rem; }
#cts-tl .tl-sources li { margin: .3rem 0; }
#cts-tl .tl-sources a { color: var(--green); }
#cts-tl .locked { position: relative; margin-bottom: 1rem; }
#cts-tl .blur { filter: blur(3px); opacity: .6; pointer-events: none; user-select: none; }
#cts-tl .tl-box { width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 5px; flex: none; }
#cts-tl .locked .tl-item { display: flex; gap: .7rem; }
#cts-tl .btn[disabled] { opacity: .7; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); background: #121410; color: #fff; padding: .7rem 1rem; border-radius: 999px; font-weight: 600; z-index: 80; font-size: .9rem; max-width: 90vw; }
@media (min-width: 768px) { .toast { bottom: 1.5rem; } }
