diff --git a/webui/css/charts.css b/webui/css/charts.css new file mode 100644 index 0000000..34f4a7c --- /dev/null +++ b/webui/css/charts.css @@ -0,0 +1,208 @@ +/* Chart and table rules extracted from styles.css */`r`n`r`n.chartsGrid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); + gap: 12px; + margin-top: 12px; +} + +.chartBlock { + position: relative; + overflow: hidden; + min-width: 0; + padding: 14px; + border: 1px solid var(--border); + border-radius: var(--radius-md); + background: + radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 7%, transparent), transparent 55%), + var(--surface-soft); + transition: border-color var(--motion-fast), box-shadow var(--motion-fast); +} + +.chartBlock::before { + position: absolute; + inset: 0 0 auto 0; + height: 1px; + content: ""; + pointer-events: none; + background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 55%, transparent), color-mix(in oklab, var(--secondary) 55%, transparent), transparent); + opacity: 0.5; +} + +.chartBlock:hover { + border-color: var(--primary-border); + box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 18%, transparent), 0 8px 22px -8px color-mix(in oklab, var(--primary) 28%, transparent); +} + +.chartTitle { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--text-strong); + font-family: "IBM Plex Mono", ui-monospace, monospace; + font-size: 13px; + font-weight: 700; + letter-spacing: 0.1em; + text-transform: uppercase; + line-height: var(--leading-snug); +} + +.chartTitle::before { + width: 6px; + height: 6px; + flex: 0 0 6px; + border-radius: 50%; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent); + content: ""; +} + +.chart { + min-width: 0; + min-height: 76px; + margin-top: 10px; +} + +.chart svg { + width: 100%; + height: auto; +} + +.timelineSvg { + display: block; +} + +.timelineTip { + position: absolute; + z-index: 5; + display: grid; + gap: 6px; + min-width: 140px; + max-width: 200px; + padding: 8px 10px; + border: 1px solid var(--border); + border-radius: var(--radius-sm); + background: var(--surface); + box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12); + color: var(--text); + font-size: var(--text-xs); + font-variant-numeric: tabular-nums; + pointer-events: none; + backdrop-filter: blur(8px); +} + +:root[data-theme="dark"] .timelineTip { + box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55); +} + +.timelineTipTime { + color: var(--muted); + font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; + font-size: 12px; + letter-spacing: 0.04em; +} + +.timelineTipBody { + display: grid; + grid-template-columns: 1fr auto; + align-items: center; + gap: 4px 10px; +} + +.timelineTipBody span { + display: inline-flex; + align-items: center; + gap: 6px; + color: var(--text); +} + +.timelineTipBody b { + color: var(--text-strong); + font-weight: 600; + text-align: right; +} + +.timelineDotMark { + display: inline-block; + width: 8px; + height: 8px; + border-radius: 2px; +} + +.barRow { + display: grid; + grid-template-columns: minmax(78px, 0.9fr) minmax(80px, 2fr) 48px; + align-items: center; + gap: 10px; + min-width: 0; + min-height: 24px; + transition: opacity var(--motion-fast); +} + +.barRow + .barRow { + margin-top: 6px; +} + +.barRow:hover { + opacity: 1; +} + +.chartBlock:hover .barRow:not(:hover) { + opacity: 0.55; +} + +.barLabel { + min-width: 0; + color: var(--text); + font-size: var(--text-sm); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.barTrack { + position: relative; + height: 6px; + overflow: hidden; + border-radius: 99px; + background: var(--chart-track); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset; +} + +.barFill { + position: relative; + height: 100%; + border-radius: 99px; + background: linear-gradient(90deg, var(--secondary), var(--primary)); + box-shadow: 0 0 8px -1px color-mix(in oklab, var(--primary) 50%, transparent); + transition: width var(--motion-slow); +} + +.barFill::after { + position: absolute; + inset: 0; + content: ""; + border-radius: inherit; + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); + background-size: 50% 100%; + background-repeat: no-repeat; + background-position: -50% 0; + animation: barShimmer 2.4s ease-in-out infinite; +} + +@keyframes barShimmer { + 0% { background-position: -50% 0; } + 60%, 100% { background-position: 150% 0; } +} + +@media (prefers-reduced-motion: reduce) { + .barFill::after { animation: none; opacity: 0; } +} + +.barValue { + color: var(--muted); + font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; + font-size: var(--text-sm); + font-variant-numeric: tabular-nums; + font-feature-settings: "ss01", "tnum"; + text-align: right; +} diff --git a/webui/css/logs.css b/webui/css/logs.css new file mode 100644 index 0000000..311ad77 --- /dev/null +++ b/webui/css/logs.css @@ -0,0 +1,222 @@ +/* Log view rules extracted from styles.css */`r`n`r`n.logRow { + display: grid; + grid-template-columns: 1fr; + gap: 12px; + margin-top: 14px; +} + +.singleLogSection { + margin-top: 14px; +} + +.logSection { + min-width: 0; + overflow: hidden; + border: 1px solid var(--border); + border-radius: var(--radius-md); + background: var(--surface); + transition: border-color var(--motion-fast); +} + +.logSection:hover { + border-color: var(--hover-border); +} + +.logHeader { + display: flex; + align-items: center; + justify-content: space-between; + gap: 10px; + min-width: 0; + padding: 10px 12px; + border-bottom: 1px solid var(--border); + background: linear-gradient(180deg, var(--surface-soft), var(--surface)); +} + +.logTitle { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--text-strong); + font-size: 15px; + font-weight: 600; + white-space: nowrap; + letter-spacing: var(--tracking-tight); +} + +.logTitle::before { + width: 6px; + height: 6px; + flex: 0 0 6px; + border-radius: 50%; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent); + content: ""; + opacity: 0.85; +} + +/* Live status pill following the title */ +.logTitle::after { + display: inline-flex; + align-items: center; + gap: 5px; + margin-left: 8px; + padding: 0 7px; + height: 17px; + border: 1px solid color-mix(in oklab, var(--muted) 35%, transparent); + border-radius: 99px; + background: color-mix(in oklab, var(--muted) 10%, transparent); + color: var(--muted); + font-family: "IBM Plex Mono", ui-monospace, monospace; + font-size: 11px; + font-weight: 700; + letter-spacing: 0.16em; + content: "PAUSED"; + transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast); +} + +body.is-running .logTitle::after { + border-color: color-mix(in oklab, var(--success) 50%, transparent); + background: color-mix(in oklab, var(--success) 18%, transparent); + color: var(--success); + content: "● LIVE"; +} + +.logHeaderActions { + display: flex; + align-items: center; + justify-content: flex-end; + flex-wrap: wrap; + gap: 6px; + min-width: 0; +} + +.logHeaderActions .small { + width: auto; + min-height: 28px; + padding: 0 10px; + font-size: 14px; +} + +.logHeaderActions select.small { + background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; + padding-right: 24px; +} + +.logSearchBox { + width: 230px; + min-height: 32px; + font-size: 14px; +} + +.log { + position: relative; + min-width: 0; + min-height: clamp(250px, 32vh, 390px); + max-height: clamp(250px, 32vh, 390px); + margin: 0; + padding: 14px 16px 14px 18px; + overflow: auto; + border-top: 1px solid var(--log-border); + color: var(--log-text); + background: + linear-gradient(180deg, transparent, transparent 50%, color-mix(in oklab, var(--secondary) 4%, transparent) 50%) 0 0 / 100% 4px, + var(--log-bg); + font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; + font-size: var(--text-sm); + font-feature-settings: "ss01"; + line-height: 1.6; + overflow-wrap: anywhere; + white-space: pre-wrap; + scrollbar-width: thin; + scrollbar-color: var(--border-strong) transparent; +} + +/* CRT-style soft scanline overlay */ +.log::before { + position: sticky; + top: 0; + left: 0; + right: 0; + height: 0; + z-index: 0; + content: ""; + display: block; +} + +/* Subtle prompt indicator on the first line — purely decorative */ +.log::after { + position: absolute; + left: 6px; + top: 14px; + width: 6px; + height: 13px; + content: ""; + background: var(--primary); + box-shadow: 0 0 6px var(--primary); + opacity: 0.7; + animation: cursorBlink 1.2s ease-in-out infinite; +} + +@keyframes cursorBlink { + 0%, 49% { opacity: 0.85; } + 50%, 100% { opacity: 0.18; } +} + +@media (prefers-reduced-motion: reduce) { + .log::after { animation: none; } +} + +.log::-webkit-scrollbar { + width: 10px; + height: 10px; +} + +.log::-webkit-scrollbar-track { + background: transparent; +} + +.log::-webkit-scrollbar-thumb { + background: var(--border-strong); + border: 2px solid var(--log-bg); + border-radius: 99px; +} + +.log::-webkit-scrollbar-thumb:hover { + background: var(--hover-border); +} + +.panel.cardLog .log { + min-height: clamp(430px, 58vh, 720px); + max-height: clamp(430px, 58vh, 720px); +} + +.log::selection { + color: var(--text-strong); + background: color-mix(in oklab, var(--primary) 25%, transparent); +} + +/* Log line classification colors */ +.logLine { + display: inline; +} + +.logError { + color: var(--danger); +} + +.logWarn { + color: var(--warning); +} + +.logSuccess { + color: var(--success); +} + +.logInfo { + color: var(--text); +} + +.logDebug { + color: var(--muted-soft); +} diff --git a/webui/css/panels.css b/webui/css/panels.css new file mode 100644 index 0000000..d5dc255 --- /dev/null +++ b/webui/css/panels.css @@ -0,0 +1,435 @@ +/* Feature panel rules extracted from styles.css */`r`n`r`n.preview { + position: relative; + display: flex; + align-items: center; + justify-content: center; + height: var(--shot-height-desktop); + min-height: 0; + max-height: none; + width: 100%; + aspect-ratio: 9 / 16; + margin-top: 14px; + overflow: hidden; + border: 1px solid var(--border); + border-radius: var(--radius-lg); + background: var(--preview-bg); + transition: border-color var(--motion), box-shadow var(--motion); + isolation: isolate; +} + +.preview:hover { + border-color: var(--primary-border); + box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent), 0 14px 36px -12px color-mix(in oklab, var(--primary) 25%, transparent); +} + +/* Viewfinder corner brackets */ +.previewBracket { + position: absolute; + width: 18px; + height: 18px; + z-index: 3; + pointer-events: none; + border: 2px solid var(--primary); + filter: drop-shadow(0 0 6px color-mix(in oklab, var(--primary) 50%, transparent)); + transition: width var(--motion), height var(--motion), border-color var(--motion-fast), filter var(--motion-fast); +} + +.preview:hover .previewBracket { + width: 22px; + height: 22px; + filter: drop-shadow(0 0 10px color-mix(in oklab, var(--primary) 75%, transparent)); +} + +.previewBracketTL { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; } +.previewBracketTR { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; } +.previewBracketBL { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; } +.previewBracketBR { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; } + +/* REC tag (visible only when body.is-running) */ +.previewRec { + position: absolute; + top: 12px; + right: 36px; + z-index: 3; + display: none; + align-items: center; + gap: 6px; + height: 22px; + padding: 0 8px 0 7px; + border-radius: 99px; + background: color-mix(in oklab, var(--danger) 22%, rgba(0, 0, 0, 0.65)); + color: #fff; + font-family: "IBM Plex Mono", ui-monospace, monospace; + font-size: 12px; + font-weight: 700; + letter-spacing: 0.12em; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); + backdrop-filter: blur(8px); +} + +body.is-running .previewRec { + display: inline-flex; +} + +.previewRecDot { + width: 7px; + height: 7px; + border-radius: 50%; + background: var(--danger); + box-shadow: 0 0 8px var(--danger); + animation: recBlink 1s ease-in-out infinite; +} + +@keyframes recBlink { + 0%, 100% { opacity: 1; } + 50% { opacity: 0.35; } +} + +.preview.isShotEmpty { + border-style: dashed; + background: + radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 55%), + radial-gradient(circle at 70% 80%, color-mix(in oklab, var(--secondary) 14%, transparent), transparent 55%), + repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in oklab, var(--border) 50%, transparent) 12px 13px), + var(--surface-soft); +} + +.preview.isShotEmpty::before { + position: absolute; + inset: 0; + content: ""; + pointer-events: none; + background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 22%, transparent), transparent); + background-size: 100% 200%; + animation: previewScan 2.4s ease-in-out infinite; + mix-blend-mode: plus-lighter; +} + +@keyframes previewScan { + 0% { + background-position: 0 -100%; + opacity: 0; + } + 40% { + opacity: 1; + } + 100% { + background-position: 0 100%; + opacity: 0; + } +} + +.preview img { + display: block; + width: 100%; + height: 100%; + object-fit: contain; + opacity: 0; + transform: scale(0.985); + color: transparent; + font-size: 0; + transition: opacity 280ms ease, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1); +} + +.preview img[src*="screenshot.png"][data-loading="false"] { + opacity: 1; + transform: scale(1); +} + +.previewTs { + position: absolute; + left: 8px; + bottom: 8px; + z-index: 2; + padding: 3px 7px; + border-radius: 99px; + background: color-mix(in oklab, var(--surface) 70%, transparent); + border: 1px solid var(--border); + color: var(--muted); + font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + font-size: 12px; + font-variant-numeric: tabular-nums; + letter-spacing: 0.02em; + pointer-events: none; + backdrop-filter: blur(8px); +} + +.previewFullscreen { + position: absolute; + right: 8px; + top: 8px; + z-index: 2; + display: inline-flex; + align-items: center; + justify-content: center; + width: 26px; + height: 26px; + padding: 0; + border: 1px solid var(--border); + border-radius: var(--radius-sm); + background: color-mix(in oklab, var(--surface) 70%, transparent); + color: var(--muted); + cursor: pointer; + opacity: 0; + backdrop-filter: blur(8px); + transition: opacity var(--motion-fast), color var(--motion-fast), + background var(--motion-fast), border-color var(--motion-fast); +} + +.preview:hover .previewFullscreen, +.previewFullscreen:focus-visible { + opacity: 1; +} + +.previewFullscreen:hover { + color: var(--text); + border-color: var(--hover-border); + background: var(--surface); +} + +.preview.isShotEmpty img { + display: none; +} + +#liveShotStatus { + align-self: flex-start; + margin-top: 10px; +} + +.reservationsContent { + display: flex; + flex-direction: column; + gap: 8px; + min-width: 0; + margin-top: 12px; +} + +.reservationsInfo { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); + gap: 6px 14px; + min-width: 0; + padding: 10px 12px; + border: 1px solid var(--border); + border-radius: var(--radius-md); + background: var(--surface-soft); + color: var(--text); + font-size: var(--text-sm); + line-height: var(--leading-snug); + font-variant-numeric: tabular-nums; +} + +.reservationsInfo > div { + min-width: 0; + overflow-wrap: anywhere; +} + +.reservationsList { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 10px; + min-width: 0; + max-height: var(--queue-height-desktop); + overflow: auto; + padding-right: 2px; +} + +.reservationItem { + position: relative; + min-width: 0; + overflow: hidden; + border: 1px solid var(--border); + border-radius: var(--radius-md); + background: + radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 50%), + var(--surface); + transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); +} + +.reservationItem::before { + position: absolute; + left: 0; + top: 10px; + bottom: 10px; + width: 3px; + content: ""; + border-radius: 0 3px 3px 0; + background: linear-gradient(180deg, var(--primary), var(--secondary)); + opacity: 0; + transition: opacity var(--motion-fast); +} + +.reservationItem:hover { + border-color: var(--primary-border); + transform: translateY(-1px); + box-shadow: var(--shadow-soft), 0 0 0 1px color-mix(in oklab, var(--primary) 22%, transparent), 0 12px 28px -10px color-mix(in oklab, var(--primary) 28%, transparent); +} + +.reservationItem:hover::before { + opacity: 1; +} + +.reservationItem.isImminent::before, +.reservationItem.isDue::before { + display: none; +} + +.reservationItem.isImminent { + border-color: var(--warning); + background: + radial-gradient(at 100% 0%, color-mix(in oklab, var(--warning) 18%, transparent), transparent 50%), + color-mix(in oklab, var(--warning-soft) 60%, var(--surface)); + animation: imminentPulse 1.6s ease-in-out infinite; +} + +.reservationItem.isImminent .reservationValue { + border-color: var(--warning); + background: var(--warning); + color: var(--on-primary); +} + +.reservationItem.isDue { + border-color: var(--danger); + background: + radial-gradient(at 100% 0%, color-mix(in oklab, var(--danger) 22%, transparent), transparent 50%), + color-mix(in oklab, var(--danger-soft) 50%, var(--surface)); +} + +.reservationItem.isDue .reservationValue { + border-color: var(--danger); + background: var(--danger); + color: var(--on-primary); +} + +@keyframes imminentPulse { + 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--warning) 45%, transparent); } + 50% { box-shadow: 0 0 0 8px transparent; } +} + +@media (prefers-reduced-motion: reduce) { + .reservationItem.isImminent { + animation: none; + } +} + +.reservationHeader { + display: flex; + align-items: center; + justify-content: space-between; + gap: 10px; + min-width: 0; + padding: 10px 12px; + border-bottom: 1px solid var(--border); + background: linear-gradient(180deg, var(--surface-soft), transparent); +} + +.reservationHeader.isClickable { + cursor: pointer; +} + +.reservationIndex { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--text-strong); + font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; + font-size: var(--text-sm); + font-weight: 700; + letter-spacing: 0.04em; +} + +.reservationIndex::before { + display: inline-block; + width: 7px; + height: 7px; + border-radius: 50%; + background: radial-gradient(circle at 30% 30%, #fef3c7, var(--primary)); + box-shadow: 0 0 8px var(--primary); + content: ""; +} + +.reservationValue { + max-width: 68%; + padding: 3px 10px; + overflow: hidden; + border: 1px solid var(--warning-border); + border-radius: 99px; + color: var(--warning); + background: var(--warning-soft); + font-family: "IBM Plex Mono", ui-monospace, monospace; + font-size: 12px; + font-weight: 700; + letter-spacing: 0.12em; + text-transform: uppercase; + text-overflow: ellipsis; + white-space: nowrap; +} + +.reservationBody { + display: grid; + gap: 6px; + min-width: 0; + padding: 10px 12px; + color: var(--text); + font-size: var(--text-sm); + line-height: var(--leading-snug); + font-variant-numeric: tabular-nums; +} + +.reservationBody > div { + min-width: 0; + overflow-wrap: anywhere; +} + +.reservationBody.isCollapsed, +.reservationsList.isListCollapsed { + display: none; +} + +details { + min-width: 0; +} + +summary { + cursor: pointer; + list-style: none; +} + +summary::-webkit-details-marker { + display: none; +} + +summary.sectionTitle { + justify-content: flex-start; + gap: 10px; +} + +summary.sectionTitle::before { + width: 14px; + height: 14px; + flex: 0 0 14px; + display: inline-block; + content: ""; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + -webkit-mask: url("data:image/svg+xml;utf8,") no-repeat center / contain; + mask: url("data:image/svg+xml;utf8,") no-repeat center / contain; + filter: drop-shadow(0 0 4px color-mix(in oklab, var(--primary) 50%, transparent)); + opacity: 0.85; + transition: transform var(--motion), opacity var(--motion-fast), filter var(--motion-fast); +} + +details[open] > summary.sectionTitle::before { + transform: rotate(90deg); + opacity: 1; + filter: drop-shadow(0 0 6px color-mix(in oklab, var(--primary) 70%, transparent)); +} + +.summaryActions { + display: inline-flex; + align-items: center; + justify-content: flex-end; + gap: 6px; + flex-wrap: wrap; + margin-left: auto; + font-weight: 500; +} diff --git a/webui/index.html b/webui/index.html index b40faf8..163af19 100644 --- a/webui/index.html +++ b/webui/index.html @@ -20,11 +20,14 @@ })(); - - - - - + + + + + + + +
diff --git a/webui/styles.css b/webui/styles.css index 5e095be..6c7d6f9 100644 --- a/webui/styles.css +++ b/webui/styles.css @@ -515,874 +515,6 @@ body.is-running::before { overflow-wrap: anywhere; } -.chartsGrid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); - gap: 12px; - margin-top: 12px; -} - -.chartBlock { - position: relative; - overflow: hidden; - min-width: 0; - padding: 14px; - border: 1px solid var(--border); - border-radius: var(--radius-md); - background: - radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 7%, transparent), transparent 55%), - var(--surface-soft); - transition: border-color var(--motion-fast), box-shadow var(--motion-fast); -} - -.chartBlock::before { - position: absolute; - inset: 0 0 auto 0; - height: 1px; - content: ""; - pointer-events: none; - background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 55%, transparent), color-mix(in oklab, var(--secondary) 55%, transparent), transparent); - opacity: 0.5; -} - -.chartBlock:hover { - border-color: var(--primary-border); - box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 18%, transparent), 0 8px 22px -8px color-mix(in oklab, var(--primary) 28%, transparent); -} - -.chartTitle { - display: inline-flex; - align-items: center; - gap: 8px; - color: var(--text-strong); - font-family: "IBM Plex Mono", ui-monospace, monospace; - font-size: 13px; - font-weight: 700; - letter-spacing: 0.1em; - text-transform: uppercase; - line-height: var(--leading-snug); -} - -.chartTitle::before { - width: 6px; - height: 6px; - flex: 0 0 6px; - border-radius: 50%; - background: linear-gradient(135deg, var(--primary), var(--secondary)); - box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent); - content: ""; -} - -.chart { - min-width: 0; - min-height: 76px; - margin-top: 10px; -} - -.chart svg { - width: 100%; - height: auto; -} - -.timelineSvg { - display: block; -} - -.timelineTip { - position: absolute; - z-index: 5; - display: grid; - gap: 6px; - min-width: 140px; - max-width: 200px; - padding: 8px 10px; - border: 1px solid var(--border); - border-radius: var(--radius-sm); - background: var(--surface); - box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12); - color: var(--text); - font-size: var(--text-xs); - font-variant-numeric: tabular-nums; - pointer-events: none; - backdrop-filter: blur(8px); -} - -:root[data-theme="dark"] .timelineTip { - box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55); -} - -.timelineTipTime { - color: var(--muted); - font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; - font-size: 12px; - letter-spacing: 0.04em; -} - -.timelineTipBody { - display: grid; - grid-template-columns: 1fr auto; - align-items: center; - gap: 4px 10px; -} - -.timelineTipBody span { - display: inline-flex; - align-items: center; - gap: 6px; - color: var(--text); -} - -.timelineTipBody b { - color: var(--text-strong); - font-weight: 600; - text-align: right; -} - -.timelineDotMark { - display: inline-block; - width: 8px; - height: 8px; - border-radius: 2px; -} - -.barRow { - display: grid; - grid-template-columns: minmax(78px, 0.9fr) minmax(80px, 2fr) 48px; - align-items: center; - gap: 10px; - min-width: 0; - min-height: 24px; - transition: opacity var(--motion-fast); -} - -.barRow + .barRow { - margin-top: 6px; -} - -.barRow:hover { - opacity: 1; -} - -.chartBlock:hover .barRow:not(:hover) { - opacity: 0.55; -} - -.barLabel { - min-width: 0; - color: var(--text); - font-size: var(--text-sm); - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.barTrack { - position: relative; - height: 6px; - overflow: hidden; - border-radius: 99px; - background: var(--chart-track); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset; -} - -.barFill { - position: relative; - height: 100%; - border-radius: 99px; - background: linear-gradient(90deg, var(--secondary), var(--primary)); - box-shadow: 0 0 8px -1px color-mix(in oklab, var(--primary) 50%, transparent); - transition: width var(--motion-slow); -} - -.barFill::after { - position: absolute; - inset: 0; - content: ""; - border-radius: inherit; - background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); - background-size: 50% 100%; - background-repeat: no-repeat; - background-position: -50% 0; - animation: barShimmer 2.4s ease-in-out infinite; -} - -@keyframes barShimmer { - 0% { background-position: -50% 0; } - 60%, 100% { background-position: 150% 0; } -} - -@media (prefers-reduced-motion: reduce) { - .barFill::after { animation: none; opacity: 0; } -} - -.barValue { - color: var(--muted); - font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; - font-size: var(--text-sm); - font-variant-numeric: tabular-nums; - font-feature-settings: "ss01", "tnum"; - text-align: right; -} - -.preview { - position: relative; - display: flex; - align-items: center; - justify-content: center; - height: var(--shot-height-desktop); - min-height: 0; - max-height: none; - width: 100%; - aspect-ratio: 9 / 16; - margin-top: 14px; - overflow: hidden; - border: 1px solid var(--border); - border-radius: var(--radius-lg); - background: var(--preview-bg); - transition: border-color var(--motion), box-shadow var(--motion); - isolation: isolate; -} - -.preview:hover { - border-color: var(--primary-border); - box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent), 0 14px 36px -12px color-mix(in oklab, var(--primary) 25%, transparent); -} - -/* Viewfinder corner brackets */ -.previewBracket { - position: absolute; - width: 18px; - height: 18px; - z-index: 3; - pointer-events: none; - border: 2px solid var(--primary); - filter: drop-shadow(0 0 6px color-mix(in oklab, var(--primary) 50%, transparent)); - transition: width var(--motion), height var(--motion), border-color var(--motion-fast), filter var(--motion-fast); -} - -.preview:hover .previewBracket { - width: 22px; - height: 22px; - filter: drop-shadow(0 0 10px color-mix(in oklab, var(--primary) 75%, transparent)); -} - -.previewBracketTL { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; } -.previewBracketTR { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; } -.previewBracketBL { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; } -.previewBracketBR { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; } - -/* REC tag (visible only when body.is-running) */ -.previewRec { - position: absolute; - top: 12px; - right: 36px; - z-index: 3; - display: none; - align-items: center; - gap: 6px; - height: 22px; - padding: 0 8px 0 7px; - border-radius: 99px; - background: color-mix(in oklab, var(--danger) 22%, rgba(0, 0, 0, 0.65)); - color: #fff; - font-family: "IBM Plex Mono", ui-monospace, monospace; - font-size: 12px; - font-weight: 700; - letter-spacing: 0.12em; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); - backdrop-filter: blur(8px); -} - -body.is-running .previewRec { - display: inline-flex; -} - -.previewRecDot { - width: 7px; - height: 7px; - border-radius: 50%; - background: var(--danger); - box-shadow: 0 0 8px var(--danger); - animation: recBlink 1s ease-in-out infinite; -} - -@keyframes recBlink { - 0%, 100% { opacity: 1; } - 50% { opacity: 0.35; } -} - -.preview.isShotEmpty { - border-style: dashed; - background: - radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 55%), - radial-gradient(circle at 70% 80%, color-mix(in oklab, var(--secondary) 14%, transparent), transparent 55%), - repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in oklab, var(--border) 50%, transparent) 12px 13px), - var(--surface-soft); -} - -.preview.isShotEmpty::before { - position: absolute; - inset: 0; - content: ""; - pointer-events: none; - background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 22%, transparent), transparent); - background-size: 100% 200%; - animation: previewScan 2.4s ease-in-out infinite; - mix-blend-mode: plus-lighter; -} - -@keyframes previewScan { - 0% { - background-position: 0 -100%; - opacity: 0; - } - 40% { - opacity: 1; - } - 100% { - background-position: 0 100%; - opacity: 0; - } -} - -.preview img { - display: block; - width: 100%; - height: 100%; - object-fit: contain; - opacity: 0; - transform: scale(0.985); - color: transparent; - font-size: 0; - transition: opacity 280ms ease, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1); -} - -.preview img[src*="screenshot.png"][data-loading="false"] { - opacity: 1; - transform: scale(1); -} - -.previewTs { - position: absolute; - left: 8px; - bottom: 8px; - z-index: 2; - padding: 3px 7px; - border-radius: 99px; - background: color-mix(in oklab, var(--surface) 70%, transparent); - border: 1px solid var(--border); - color: var(--muted); - font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; - font-size: 12px; - font-variant-numeric: tabular-nums; - letter-spacing: 0.02em; - pointer-events: none; - backdrop-filter: blur(8px); -} - -.previewFullscreen { - position: absolute; - right: 8px; - top: 8px; - z-index: 2; - display: inline-flex; - align-items: center; - justify-content: center; - width: 26px; - height: 26px; - padding: 0; - border: 1px solid var(--border); - border-radius: var(--radius-sm); - background: color-mix(in oklab, var(--surface) 70%, transparent); - color: var(--muted); - cursor: pointer; - opacity: 0; - backdrop-filter: blur(8px); - transition: opacity var(--motion-fast), color var(--motion-fast), - background var(--motion-fast), border-color var(--motion-fast); -} - -.preview:hover .previewFullscreen, -.previewFullscreen:focus-visible { - opacity: 1; -} - -.previewFullscreen:hover { - color: var(--text); - border-color: var(--hover-border); - background: var(--surface); -} - -.preview.isShotEmpty img { - display: none; -} - -#liveShotStatus { - align-self: flex-start; - margin-top: 10px; -} - -.reservationsContent { - display: flex; - flex-direction: column; - gap: 8px; - min-width: 0; - margin-top: 12px; -} - -.reservationsInfo { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); - gap: 6px 14px; - min-width: 0; - padding: 10px 12px; - border: 1px solid var(--border); - border-radius: var(--radius-md); - background: var(--surface-soft); - color: var(--text); - font-size: var(--text-sm); - line-height: var(--leading-snug); - font-variant-numeric: tabular-nums; -} - -.reservationsInfo > div { - min-width: 0; - overflow-wrap: anywhere; -} - -.reservationsList { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); - gap: 10px; - min-width: 0; - max-height: var(--queue-height-desktop); - overflow: auto; - padding-right: 2px; -} - -.reservationItem { - position: relative; - min-width: 0; - overflow: hidden; - border: 1px solid var(--border); - border-radius: var(--radius-md); - background: - radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 50%), - var(--surface); - transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); -} - -.reservationItem::before { - position: absolute; - left: 0; - top: 10px; - bottom: 10px; - width: 3px; - content: ""; - border-radius: 0 3px 3px 0; - background: linear-gradient(180deg, var(--primary), var(--secondary)); - opacity: 0; - transition: opacity var(--motion-fast); -} - -.reservationItem:hover { - border-color: var(--primary-border); - transform: translateY(-1px); - box-shadow: var(--shadow-soft), 0 0 0 1px color-mix(in oklab, var(--primary) 22%, transparent), 0 12px 28px -10px color-mix(in oklab, var(--primary) 28%, transparent); -} - -.reservationItem:hover::before { - opacity: 1; -} - -.reservationItem.isImminent::before, -.reservationItem.isDue::before { - display: none; -} - -.reservationItem.isImminent { - border-color: var(--warning); - background: - radial-gradient(at 100% 0%, color-mix(in oklab, var(--warning) 18%, transparent), transparent 50%), - color-mix(in oklab, var(--warning-soft) 60%, var(--surface)); - animation: imminentPulse 1.6s ease-in-out infinite; -} - -.reservationItem.isImminent .reservationValue { - border-color: var(--warning); - background: var(--warning); - color: var(--on-primary); -} - -.reservationItem.isDue { - border-color: var(--danger); - background: - radial-gradient(at 100% 0%, color-mix(in oklab, var(--danger) 22%, transparent), transparent 50%), - color-mix(in oklab, var(--danger-soft) 50%, var(--surface)); -} - -.reservationItem.isDue .reservationValue { - border-color: var(--danger); - background: var(--danger); - color: var(--on-primary); -} - -@keyframes imminentPulse { - 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--warning) 45%, transparent); } - 50% { box-shadow: 0 0 0 8px transparent; } -} - -@media (prefers-reduced-motion: reduce) { - .reservationItem.isImminent { - animation: none; - } -} - -.reservationHeader { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; - min-width: 0; - padding: 10px 12px; - border-bottom: 1px solid var(--border); - background: linear-gradient(180deg, var(--surface-soft), transparent); -} - -.reservationHeader.isClickable { - cursor: pointer; -} - -.reservationIndex { - display: inline-flex; - align-items: center; - gap: 8px; - color: var(--text-strong); - font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; - font-size: var(--text-sm); - font-weight: 700; - letter-spacing: 0.04em; -} - -.reservationIndex::before { - display: inline-block; - width: 7px; - height: 7px; - border-radius: 50%; - background: radial-gradient(circle at 30% 30%, #fef3c7, var(--primary)); - box-shadow: 0 0 8px var(--primary); - content: ""; -} - -.reservationValue { - max-width: 68%; - padding: 3px 10px; - overflow: hidden; - border: 1px solid var(--warning-border); - border-radius: 99px; - color: var(--warning); - background: var(--warning-soft); - font-family: "IBM Plex Mono", ui-monospace, monospace; - font-size: 12px; - font-weight: 700; - letter-spacing: 0.12em; - text-transform: uppercase; - text-overflow: ellipsis; - white-space: nowrap; -} - -.reservationBody { - display: grid; - gap: 6px; - min-width: 0; - padding: 10px 12px; - color: var(--text); - font-size: var(--text-sm); - line-height: var(--leading-snug); - font-variant-numeric: tabular-nums; -} - -.reservationBody > div { - min-width: 0; - overflow-wrap: anywhere; -} - -.reservationBody.isCollapsed, -.reservationsList.isListCollapsed { - display: none; -} - -details { - min-width: 0; -} - -summary { - cursor: pointer; - list-style: none; -} - -summary::-webkit-details-marker { - display: none; -} - -summary.sectionTitle { - justify-content: flex-start; - gap: 10px; -} - -summary.sectionTitle::before { - width: 14px; - height: 14px; - flex: 0 0 14px; - display: inline-block; - content: ""; - background: linear-gradient(135deg, var(--primary), var(--secondary)); - -webkit-mask: url("data:image/svg+xml;utf8,") no-repeat center / contain; - mask: url("data:image/svg+xml;utf8,") no-repeat center / contain; - filter: drop-shadow(0 0 4px color-mix(in oklab, var(--primary) 50%, transparent)); - opacity: 0.85; - transition: transform var(--motion), opacity var(--motion-fast), filter var(--motion-fast); -} - -details[open] > summary.sectionTitle::before { - transform: rotate(90deg); - opacity: 1; - filter: drop-shadow(0 0 6px color-mix(in oklab, var(--primary) 70%, transparent)); -} - -.summaryActions { - display: inline-flex; - align-items: center; - justify-content: flex-end; - gap: 6px; - flex-wrap: wrap; - margin-left: auto; - font-weight: 500; -} - -.logRow { - display: grid; - grid-template-columns: 1fr; - gap: 12px; - margin-top: 14px; -} - -.singleLogSection { - margin-top: 14px; -} - -.logSection { - min-width: 0; - overflow: hidden; - border: 1px solid var(--border); - border-radius: var(--radius-md); - background: var(--surface); - transition: border-color var(--motion-fast); -} - -.logSection:hover { - border-color: var(--hover-border); -} - -.logHeader { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; - min-width: 0; - padding: 10px 12px; - border-bottom: 1px solid var(--border); - background: linear-gradient(180deg, var(--surface-soft), var(--surface)); -} - -.logTitle { - display: inline-flex; - align-items: center; - gap: 8px; - color: var(--text-strong); - font-size: 15px; - font-weight: 600; - white-space: nowrap; - letter-spacing: var(--tracking-tight); -} - -.logTitle::before { - width: 6px; - height: 6px; - flex: 0 0 6px; - border-radius: 50%; - background: linear-gradient(135deg, var(--primary), var(--secondary)); - box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent); - content: ""; - opacity: 0.85; -} - -/* Live status pill following the title */ -.logTitle::after { - display: inline-flex; - align-items: center; - gap: 5px; - margin-left: 8px; - padding: 0 7px; - height: 17px; - border: 1px solid color-mix(in oklab, var(--muted) 35%, transparent); - border-radius: 99px; - background: color-mix(in oklab, var(--muted) 10%, transparent); - color: var(--muted); - font-family: "IBM Plex Mono", ui-monospace, monospace; - font-size: 11px; - font-weight: 700; - letter-spacing: 0.16em; - content: "PAUSED"; - transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast); -} - -body.is-running .logTitle::after { - border-color: color-mix(in oklab, var(--success) 50%, transparent); - background: color-mix(in oklab, var(--success) 18%, transparent); - color: var(--success); - content: "● LIVE"; -} - -.logHeaderActions { - display: flex; - align-items: center; - justify-content: flex-end; - flex-wrap: wrap; - gap: 6px; - min-width: 0; -} - -.logHeaderActions .small { - width: auto; - min-height: 28px; - padding: 0 10px; - font-size: 14px; -} - -.logHeaderActions select.small { - background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; - padding-right: 24px; -} - -.logSearchBox { - width: 230px; - min-height: 32px; - font-size: 14px; -} - -.log { - position: relative; - min-width: 0; - min-height: clamp(250px, 32vh, 390px); - max-height: clamp(250px, 32vh, 390px); - margin: 0; - padding: 14px 16px 14px 18px; - overflow: auto; - border-top: 1px solid var(--log-border); - color: var(--log-text); - background: - linear-gradient(180deg, transparent, transparent 50%, color-mix(in oklab, var(--secondary) 4%, transparent) 50%) 0 0 / 100% 4px, - var(--log-bg); - font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; - font-size: var(--text-sm); - font-feature-settings: "ss01"; - line-height: 1.6; - overflow-wrap: anywhere; - white-space: pre-wrap; - scrollbar-width: thin; - scrollbar-color: var(--border-strong) transparent; -} - -/* CRT-style soft scanline overlay */ -.log::before { - position: sticky; - top: 0; - left: 0; - right: 0; - height: 0; - z-index: 0; - content: ""; - display: block; -} - -/* Subtle prompt indicator on the first line — purely decorative */ -.log::after { - position: absolute; - left: 6px; - top: 14px; - width: 6px; - height: 13px; - content: ""; - background: var(--primary); - box-shadow: 0 0 6px var(--primary); - opacity: 0.7; - animation: cursorBlink 1.2s ease-in-out infinite; -} - -@keyframes cursorBlink { - 0%, 49% { opacity: 0.85; } - 50%, 100% { opacity: 0.18; } -} - -@media (prefers-reduced-motion: reduce) { - .log::after { animation: none; } -} - -.log::-webkit-scrollbar { - width: 10px; - height: 10px; -} - -.log::-webkit-scrollbar-track { - background: transparent; -} - -.log::-webkit-scrollbar-thumb { - background: var(--border-strong); - border: 2px solid var(--log-bg); - border-radius: 99px; -} - -.log::-webkit-scrollbar-thumb:hover { - background: var(--hover-border); -} - -.panel.cardLog .log { - min-height: clamp(430px, 58vh, 720px); - max-height: clamp(430px, 58vh, 720px); -} - -.log::selection { - color: var(--text-strong); - background: color-mix(in oklab, var(--primary) 25%, transparent); -} - -/* Log line classification colors */ -.logLine { - display: inline; -} - -.logError { - color: var(--danger); -} - -.logWarn { - color: var(--warning); -} - -.logSuccess { - color: var(--success); -} - -.logInfo { - color: var(--text); -} - -.logDebug { - color: var(--muted-soft); -} - @media (max-width: 640px) { .toastContainer { right: 12px;