.detail-overview { display: grid; gap: 18px; } .current-transport { display: inline-flex; align-items: center; min-height: 24px; margin-top: 8px; padding: 0 9px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 999px; color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; } .current-transport--sse { border-color: rgba(34, 197, 94, 0.34); background: rgba(34, 197, 94, 0.1); color: #86efac; } .current-transport--polling { border-color: rgba(245, 158, 11, 0.32); background: rgba(245, 158, 11, 0.08); color: #facc15; } .chart-section, .tags-section { border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.08), transparent 38%), linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(2, 6, 23, 0.78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 36px rgba(0, 0, 0, 0.28); } .summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .summary-card { min-height: 149px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 13, 18, 0.62); } .summary-card span { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; } .summary-card strong { display: block; margin-top: 18px; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; } .detail-action-panel { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 13, 18, 0.58); } .detail-action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; } .detail-action-grid button { min-height: 92px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: var(--radius); background: rgba(2, 6, 23, 0.28); color: #cbd5e1; cursor: pointer; } .detail-action-grid button:hover { border-color: var(--line-strong); background: rgba(201, 122, 61, 0.12); color: var(--text); } .chart-section, .tags-section { padding: 18px; margin-bottom: 18px; } .indicator-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; } .indicator-summary div { position: relative; overflow: hidden; min-height: 76px; padding: 13px; border: 1px solid rgba(88, 103, 121, 0.46); border-radius: 8px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 34%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 10px), rgba(2, 6, 23, 0.34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.48); } .indicator-summary div::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: rgba(212, 165, 116, 0.58); } .indicator-summary span { display: block; color: #9aa8ba; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; } .indicator-summary strong { display: block; margin-top: 9px; color: #f8fafc; font-size: 1.65rem; font-variant-numeric: tabular-nums; line-height: 1; } .chart-section--archive { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-bottom: 0; } .equipment-section { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0; } .equipment-frame-shell { position: relative; flex: 1; min-height: 0; overflow: hidden; border: 1px solid rgba(88, 103, 121, 0.5); border-radius: 8px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 32%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 11px), rgba(2, 6, 23, 0.58); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.52); } .equipment-frame-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; gap: 12px; align-content: center; color: #cbd5e1; background: rgba(2, 6, 23, 0.74); } .equipment-frame-loading__ring { width: 34px; height: 34px; border: 3px solid rgba(212, 165, 116, 0.22); border-top-color: var(--accent-soft); border-radius: 999px; animation: equipmentFrameSpin 900ms linear infinite; } .equipment-frame { width: 100%; height: 100%; border: 0; background: #05080d; } .electrical-section { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 30%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 12px), rgba(10, 13, 18, 0.72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 36px rgba(0, 0, 0, 0.24); } .electrical-toolbar { display: flex; align-items: end; justify-content: flex-end; gap: 10px; flex-wrap: wrap; } .electrical-toolbar label { min-width: 260px; } .electrical-live-chip--sse { border-color: rgba(34, 197, 94, 0.34); background: rgba(34, 197, 94, 0.1); color: #86efac; } .electrical-layout { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; flex: 1; } .electrical-canvas-shell { min-width: 0; min-height: 0; overflow: auto; border: 1px solid rgba(88, 103, 121, 0.5); border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), #070b12; background-size: 28px 28px; } .electrical-canvas { position: relative; min-width: 100%; min-height: 100%; } .electrical-background { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; } .electrical-background--contain { object-fit: contain; } .electrical-background--cover { object-fit: cover; } .electrical-background--stretch { object-fit: fill; } .electrical-wires { position: absolute; inset: 0; z-index: 1; pointer-events: none; } .electrical-wire { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; } .electrical-wire--power { stroke: #f97316; stroke-width: 3; } .electrical-wire--signal { stroke: #38bdf8; stroke-dasharray: 8 6; } .electrical-wire--alert { stroke: #ef4444; stroke-dasharray: 5 5; } .electrical-wire--animated { animation: electricalWireFlow 900ms linear infinite; } .electrical-node { position: absolute; z-index: 2; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 6px; overflow: hidden; padding: 10px; border: 1px solid rgba(148, 163, 184, 0.34); border-radius: 7px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 32%), rgba(15, 23, 42, 0.9); color: #e5e7eb; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.28); } .electrical-node--decoration { border-style: dashed; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 10px), rgba(15, 23, 42, 0.74); } .electrical-node--active { border-color: rgba(34, 197, 94, 0.58); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(34, 197, 94, 0.2), 0 0 22px rgba(34, 197, 94, 0.16); } .electrical-node--alarm { border-color: rgba(239, 68, 68, 0.76); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(239, 68, 68, 0.24), 0 0 26px rgba(239, 68, 68, 0.22); } .electrical-node__header, .electrical-node__footer { display: flex; align-items: center; gap: 6px; min-width: 0; } .electrical-node__header span, .electrical-node__footer span, .electrical-node__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .electrical-node__header { color: #f8fafc; font-size: 0.78rem; font-weight: 750; } .electrical-node__value { align-self: center; min-width: 0; overflow: hidden; color: #f8fafc; font-size: clamp(1.2rem, 2vw, 1.9rem); font-variant-numeric: tabular-nums; line-height: 1; text-overflow: ellipsis; white-space: nowrap; } .electrical-node__value small { margin-left: 6px; color: var(--muted); font-size: 0.72rem; font-weight: 650; } .electrical-node__text { align-self: center; color: #cbd5e1; font-size: 0.9rem; } .electrical-node__footer { color: var(--muted); font-size: 0.68rem; } .electrical-node__alarm { margin-left: auto; color: #fca5a5; } .electrical-side-panel { display: grid; align-content: start; gap: 10px; } .electrical-side-panel div { min-height: 82px; padding: 12px; border: 1px solid rgba(88, 103, 121, 0.46); border-radius: 8px; background: rgba(2, 6, 23, 0.32); } .electrical-side-panel span { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; } .electrical-side-panel strong { display: block; margin-top: 10px; color: #f8fafc; font-size: 1.18rem; line-height: 1.2; } @keyframes equipmentFrameSpin { to { transform: rotate(360deg); } } @keyframes electricalWireFlow { to { stroke-dashoffset: -28; } } .section-header { justify-content: space-between; margin-bottom: 16px; } .indicator-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: min(560px, 100%); } .toolbar { margin-bottom: 14px; } .archive-tag-panel { margin-bottom: 14px; } .archive-tag-panel__toggle { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: var(--radius); background: rgba(2, 6, 23, 0.28); color: #cbd5e1; cursor: pointer; text-align: left; } .archive-tag-panel__toggle span { display: flex; align-items: center; gap: 10px; min-width: 0; } .archive-tag-panel__toggle strong { color: var(--accent-soft); font-size: 0.78rem; font-weight: 700; } .archive-tag-panel__toggle[aria-expanded="true"] svg { transform: rotate(180deg); } .tag-selector { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; padding: 14px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: var(--radius); background: rgba(2, 6, 23, 0.24); } .tag-selector__header { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(420px, 0.9fr); gap: 10px; } .tag-selector__header span, .tag-selector__tools button, .selected-tags span { color: var(--muted); font-size: 0.76rem; } .tag-selector__header strong { color: var(--accent-soft); font-size: 0.86rem; } .tag-selector__tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .tag-selector__tools button { min-height: 34px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: var(--radius); background: rgba(15, 23, 42, 0.54); cursor: pointer; } .tag-selector__tools button:hover, .tag-select-item:hover, .tag-select-item--selected { border-color: var(--line-strong); background: rgba(201, 122, 61, 0.12); } .selected-tags { min-height: 38px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .selected-tags span { max-width: 100%; overflow: hidden; padding: 5px 8px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 999px; text-overflow: ellipsis; white-space: nowrap; } .tag-select-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 7px; padding-right: 2px; } .tag-select-item { min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 10px; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: var(--radius); background: rgba(2, 6, 23, 0.22); color: #cbd5e1; cursor: pointer; text-align: left; } .tag-select-item__name { min-width: 0; } .tag-select-item__name span, .tag-select-item__name small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tag-select-item__name span { font-size: 0.78rem; } .tag-select-item__name small { margin-top: 3px; color: var(--muted); font-size: 0.68rem; } .tag-select-item strong { color: #e5e7eb; font-size: 0.76rem; } .tag-select-item--selected span { color: #f8fafc; } .archive-chart { min-width: 0; min-height: 0; display: flex; flex: 1; flex-direction: column; } .chart-section--archive .toolbar { flex: 0 0 auto; } @media (max-width: 1200px) { .summary-grid, .detail-action-grid, .indicator-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .electrical-layout { grid-template-columns: 1fr; } .electrical-side-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tag-selector__header { grid-template-columns: 1fr; } .indicator-controls { min-width: 100%; justify-content: flex-start; } } @media (max-width: 680px) { .summary-grid, .detail-action-grid, .indicator-summary { grid-template-columns: 1fr; } .tag-selector__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .indicator-controls { flex-direction: column; align-items: stretch; } .electrical-side-panel { grid-template-columns: 1fr 1fr; } .electrical-toolbar { align-items: stretch; flex-direction: column; } .electrical-toolbar label { min-width: 0; } }