/* The lesson pill (floating, bottom right by default). Dark console panel in the Relay language. */
.lp { position: fixed; right: 16px; bottom: 64px; z-index: 45; display: flex; align-items: stretch; background: #162122; color: #EDE4CB; border: 1px solid rgb(237 228 203 / .34); border-radius: 12px; box-shadow: inset 0 0 0 3px #162122, inset 0 0 0 4px rgb(237 228 203 / .14), 0 8px 22px rgb(0 0 0 / .3); font-family: var(--font-mono); max-width: calc(100vw - 16px); overflow: hidden; }
.lp[hidden] { display: none; }
.lp button { background: transparent !important; color: inherit !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 46px; padding: 0; cursor: pointer; font: inherit; translate: none; }
.lp button:hover:not(:disabled) { background: rgb(237 228 203 / .1) !important; }
.lp button:focus-visible { outline: 3px solid #E8BB56; outline-offset: -3px; }
.lp-grip { width: 26px; cursor: grab !important; display: grid; place-items: center; touch-action: none; }
.lp-grip:active { cursor: grabbing !important; }
.lp-grip::before { content: ""; width: 6px; height: 18px; background: radial-gradient(circle, #AFC48B 1.3px, transparent 1.7px) 0 0 / 6px 6px; }
.lp-chip { display: grid; gap: 2px; padding: 7px 14px 9px !important; text-align: left; border-left: 1px solid rgb(237 228 203 / .22) !important; position: relative; min-width: 112px; align-content: center; }
.lp-title { font: 800 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #AFC48B; max-width: 17ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-time { font: 800 23px/1 var(--font-mono); letter-spacing: .02em; }
.lp-sub { font: 650 10.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #C9D3B8; }
.lp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(237 228 203 / .16); }
.lp-bar b { display: block; height: 100%; background: #E8BB56; }
.lp-timer .lp-title::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #AFC48B; border-radius: 50%; vertical-align: 1px; }
.lp-timer[data-state=paused] .lp-title::before { background: #E8BB56; } .lp-timer[data-state=done] .lp-title::before { background: #C4623A; }
.lp-hide { width: 30px; font: 700 20px/1 var(--font-mono) !important; border-left: 1px solid rgb(237 228 203 / .22) !important; }
.lp-min { border-radius: 14px; }
.lp-open { width: 50px; height: 50px; display: grid; place-items: center; position: relative; }
.lp-ico { width: 24px; height: 24px; background: #EDE4CB; -webkit-mask: url(assets/mod-timer.svg?v=92) center / contain no-repeat; mask: url(assets/mod-timer.svg?v=92) center / contain no-repeat; }
.lp-n { position: absolute; right: 5px; top: 4px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: #E8BB56; color: #202D2C; font: 800 10px/16px var(--font-mono); text-align: center; }
@media (max-width: 560px) { .lp-chip { min-width: 92px; padding: 6px 10px 8px !important; } .lp-time { font-size: 19px; } }
@media (prefers-reduced-motion: no-preference) { .lp:not([hidden]) { animation: lp-in var(--m-slow, 260ms) var(--m-ease, ease-out) both; } @keyframes lp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
@media print { .lp { display: none !important; } }
