/* Left column: mini timeline, full-timeline panel, calendar feeds, newsletter.
   Rules copied from the reference (css_main mtl and ftl rules, then the Launch override block, which wins). */

/* Mini timeline card */
.mtl{position:relative;background:#FFFFFF;border:1px solid #E3E1DA;border-radius:10px;padding:12px 14px;overflow:hidden}
.mtl-h{font-size:15px;font-weight:650;color:#1C1B18;padding-bottom:8px}
.mtl-plot{position:relative;padding-top:18px}
.mtl-ticks{position:absolute;top:0;bottom:0;left:72px;right:0}
.mtl-now{position:absolute;top:14px;bottom:0;width:0;border-left:2px solid #E03A3A;z-index:2;pointer-events:none}
.mtl-tick{position:absolute;top:0;bottom:0;border-left:1px solid #EFEEE9;font-size:11px;color:#8A8983;padding-left:4px;line-height:1;white-space:nowrap}
.mtl-lanes{position:relative;display:flex;flex-direction:column;gap:5px;padding:4px 0}
.mtl-lane{position:relative;display:flex;align-items:center;gap:6px;width:100%;height:14px;border:0;padding:0;background:none;cursor:pointer;border-radius:3px;font:inherit;color:inherit;text-align:left}
.mtl-lane:focus-visible{outline:2px solid #3B5998;outline-offset:1px}
.mtl-ab{display:flex;align-items:center;gap:4px;width:66px;flex:none;font-size:10.5px;font-weight:600;color:#6E6D67;text-align:left;white-space:nowrap;overflow:hidden}
.mtl-abt{overflow:hidden;text-overflow:clip}
.mtl-ab .mtl-mk{flex:none;width:11px;height:11px;color:#8A8983}
.mtl-lane.hl .mtl-ab .mtl-mk,.mtl-lane:hover .mtl-ab .mtl-mk{color:#1C1B18}
.evl .mtl-ab .mtl-mk{color:#138A7A}
.mtl-lane.hl .mtl-ab{color:#1C1B18}
.mtl-track{position:relative;flex:1;height:12px}
.mtl-lane:hover .mtl-track,.mtl-lane.hl .mtl-track{background:#F2F1EC;border-radius:3px}
.mtl-bar{position:absolute;top:0;height:12px;border-radius:3px;min-width:4px}
.mtl-bar.apps{background:var(--apps)}
.mtl-bar.apps.now{background:var(--now-bar)}
.mtl-bar.run{background:var(--run-bar)}
.mtl-bar.guess{opacity:.45}
.mtl-lane.hl .mtl-bar.apps{background:#1F3B78}
.mtl-lane.hl .mtl-bar.apps.now{background:var(--now-bar)}
.mtl-lane.hl .mtl-bar.run{background:#B4B2AA}
.mtl-read{margin:6px 0 0;min-height:32px;line-height:32px;padding-right:44px;font-size:12px;color:#6E6D67;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mtl-read b{color:#1C1B18;font-weight:600}
/* Expand control: bottom-right of the card, opens the full timeline */
.mtl-full{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--apps-line);border-radius:8px;background:var(--apps-soft);color:var(--apps);cursor:pointer;transition:background .12s,transform .12s}
.mtl-full:hover{background:#DCE4F4;transform:scale(1.06)}
.mtl-full:focus-visible{outline:2px solid var(--apps);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.mtl-full{transition:none}.mtl-full:hover{transform:none}}
/* Launch overrides: Events lane + teal event ticks */
.evl .mtl-ab{color:#138A7A;font-weight:700;font-style:italic}
.mtl-lane.evl{margin-bottom:4px}
.mtl-lane.evl::after{content:"";position:absolute;left:0;right:0;bottom:-5px;border-bottom:1px dashed #DCDAD3}
.mtl-ev{position:absolute;top:0;width:0;height:12px;margin-left:-1px;border:0;border-left:2px solid #138A7A;background:none;transform:none;border-radius:0;z-index:1}

/* Full timeline panel (grows out of the mini card) */
.ftl-scrim{position:fixed;inset:0;z-index:80;background:rgba(27,27,25,.32);animation:ftlFade .32s ease both}
.ftl-scrim.out{animation:ftlFade .26s ease reverse both}
@keyframes ftlFade{from{opacity:0}}
.ftl{position:fixed;top:24px;left:24px;right:24px;height:calc(100vh - 48px);z-index:81;display:flex;flex-direction:column;background:#FFFFFF;border:1px solid #E3E1DA;border-radius:14px;box-shadow:0 24px 64px rgba(27,27,25,.24);overflow:hidden;transform-origin:0 0;animation:ftlGrow .34s cubic-bezier(.2,.8,.2,1) both}
.ftl.pre{visibility:hidden;animation:none}
.ftl.out{animation:ftlShrink .26s cubic-bezier(.4,0,.6,1) both}
@keyframes ftlGrow{from{transform:translate(var(--fx),var(--fy)) scale(var(--sx),var(--sy));border-radius:30px}}
@keyframes ftlShrink{to{transform:translate(var(--fx),var(--fy)) scale(var(--sx),var(--sy));opacity:.6}}
.ftl-frame{flex:1;width:100%;min-height:0;border:0;display:block;background:#FFFFFF}
@media (max-width:520px){.ftl{left:12px;right:12px;height:calc(100vh - 24px)}}
@media (prefers-reduced-motion:reduce){.ftl,.ftl.out,.ftl-scrim,.ftl-scrim.out{animation-duration:1ms}}

/* Calendar feeds + newsletter cards */
.sf-box{background:#FFFFFF;border:1px solid #E3E1DA;border-radius:10px;padding:12px 14px}
.sf-feeds{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.sf-feed{display:flex;align-items:center;gap:10px;justify-content:space-between}
.sf-ft{display:flex;flex-direction:column;min-width:0}
.sf-ft b{font-size:13.5px;font-weight:600;color:#1C1B18}
.sf-ft span{font-size:12px;color:#6E6D67}
.sf-add{flex:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:7px;border:1px solid #DCDAD3;background:#FFFFFF;color:#1C1B18;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
.sf-add:hover,.sf-add:focus-visible{background:#F7F6F2;color:#1C1B18}
.sf-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sf-row{display:flex;gap:8px}
.sf-in{flex:1;min-width:0;height:34px;box-sizing:border-box;border:1px solid #DCDAD3;border-radius:7px;padding:0 10px;font:inherit;font-size:13px;color:#1B1B19;background:#FFFFFF}
.sf-go{flex:none;height:34px;padding:0 14px;border-radius:7px;border:0;background:#3B5998;color:#FFFFFF;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.sf-go:hover{background:#2F4A85}
.sf-go:disabled{opacity:.7;cursor:default}
.sf-done{margin:0;font-size:13px;color:#3A3935}
.sf-err{margin:6px 0 0;font-size:12px;color:#B42318}
.sf-err:empty{display:none}

/* Newsletter verification dialog (Turnstile appears only here) */
.nlv{max-width:380px}
.nlv-b{padding:6px 16px 16px}
.nlv-d{margin:0 0 12px;font-size:13.5px;line-height:1.45;color:#3A3935;overflow-wrap:anywhere}
.nlv-ts{min-height:65px;display:flex;justify-content:center}
.nlv-ts[hidden]{display:none}
.nlv-msg{margin:10px 0 0;min-height:18px;font-size:12.5px;color:#6E6D67;text-align:center}
.nlv-msg.err{color:#B3261E}
