:root { --bg: #08111f; --panel: rgba(15, 23, 42, 0.86); --panel-strong: rgba(15, 23, 42, 0.96); --card: rgba(255, 255, 255, 0.08); --card-border: rgba(148, 163, 184, 0.18); --text: #f8fafc; --muted: #94a3b8; --muted-2: #64748b; --green: #22c55e; --green-soft: rgba(34, 197, 94, 0.14); --blue: #38bdf8; --red: #fb7185; --yellow: #fbbf24; --input: rgba(2, 6, 23, 0.54); --shadow: 0 24px 80px rgba(0, 0, 0, 0.38); --radius: 24px; --sidebar: 290px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { box-sizing: border-box; } html { min-height: 100%; background: var(--bg); } body { min-height: 100vh; margin: 0; color: var(--text); background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 30rem), radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 28rem), linear-gradient(135deg, #020617 0%, #0f172a 50%, #111827 100%); } button, input, select { font: inherit; } .shell { width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; } .sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; border-right: 1px solid rgba(148, 163, 184, 0.16); background: rgba(2, 6, 23, 0.42); backdrop-filter: blur(20px); } .brand { display: flex; gap: 14px; align-items: center; color: var(--text); text-decoration: none; margin-bottom: 30px; } .brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--green), var(--blue)); color: #02130a; font-weight: 950; font-size: 28px; box-shadow: 0 16px 40px rgba(34, 197, 94, 0.25); } .brand strong, .brand small { display: block; } .brand small { color: var(--muted); margin-top: 2px; } .nav-tabs { display: grid; gap: 10px; } .tab { width: 100%; border: 1px solid transparent; border-radius: 18px; padding: 14px 16px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 160ms ease; } .tab:hover, .tab.active { color: var(--text); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.10); } .tab.active { box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.25); } .sidebar-card { margin-top: 28px; padding: 16px; border-radius: 20px; background: var(--green-soft); border: 1px solid rgba(34, 197, 94, 0.28); display: flex; align-items: flex-start; gap: 12px; } .sidebar-card strong, .sidebar-card small { display: block; } .sidebar-card small { color: #bbf7d0; margin-top: 4px; } .pulse { width: 12px; height: 12px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); animation: pulse 1.6s infinite; margin-top: 4px; } .main { padding: 28px; min-width: 0; } .hero { min-height: 210px; border-radius: 32px; padding: clamp(22px, 4vw, 42px); background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(56, 189, 248, 0.08)), rgba(15, 23, 42, 0.72); border: 1px solid rgba(148, 163, 184, 0.18); box-shadow: var(--shadow); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; overflow: hidden; position: relative; } .hero::after { content: ""; position: absolute; right: -90px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 197, 94, 0.20), transparent 70%); } .eyebrow { color: #86efac; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 800; margin: 0 0 12px; } h1, h2, h3, p { margin-top: 0; } h1 { font-size: clamp(34px, 6vw, 64px); line-height: 0.95; letter-spacing: -0.06em; margin-bottom: 16px; } .hero-text { max-width: 680px; color: #dbeafe; font-size: 18px; margin-bottom: 0; } .hero-status { position: relative; z-index: 1; min-width: 230px; padding: 20px; border-radius: 22px; background: rgba(2, 6, 23, 0.42); border: 1px solid rgba(255, 255, 255, 0.12); } .hero-status span { display: block; color: var(--green); font-size: 34px; font-weight: 900; } .hero-status small { color: var(--muted); overflow-wrap: anywhere; } .tab-content { display: none; margin-top: 28px; } .tab-content.active { display: block; } .section-title { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 18px; } .section-title h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; margin-bottom: 6px; } .section-title p { color: var(--muted); margin-bottom: 0; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .card { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--card-border); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22); } .card.wide { grid-column: 1 / -1; } .card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; } .icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, 0.08); flex: 0 0 auto; } .card h3 { margin-bottom: 4px; letter-spacing: -0.02em; } .card p, .hint { color: var(--muted); margin: 0; } .hint { margin-top: 14px; font-size: 13px; line-height: 1.5; padding: 12px; border-radius: 14px; background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.14); } .fields { display: grid; gap: 14px; } .fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .field { display: grid; gap: 8px; color: #dbeafe; font-size: 14px; font-weight: 700; margin-bottom: 14px; } .field span { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .field b { color: var(--green); font-variant-numeric: tabular-nums; } input, select { width: 100%; min-height: 48px; border: 1px solid rgba(148, 163, 184, 0.20); border-radius: 16px; background: var(--input); color: var(--text); padding: 12px 14px; outline: none; transition: 140ms ease; } select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 38px; } input:focus, select:focus { border-color: rgba(34, 197, 94, 0.70); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12); } input[type="range"] { padding: 0; min-height: 38px; accent-color: var(--green); } .switch-row { display: flex; gap: 12px; flex-wrap: wrap; } .switch { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; color: #e2e8f0; cursor: pointer; user-select: none; } .switch input { position: absolute; opacity: 0; pointer-events: none; } .switch span { width: 48px; height: 28px; border-radius: 99px; background: rgba(148, 163, 184, 0.22); border: 1px solid rgba(148, 163, 184, 0.22); position: relative; transition: 160ms ease; } .switch span::after { content: ""; position: absolute; width: 22px; height: 22px; top: 2px; left: 2px; border-radius: 50%; background: #f8fafc; transition: 160ms ease; } .switch input:checked + span { background: var(--green); } .switch input:checked + span::after { transform: translateX(20px); } .video-switch { margin-top: 30px; } .btn { border: 0; border-radius: 16px; min-height: 48px; padding: 0 18px; font-weight: 850; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, 0.10); transition: 160ms ease; } .btn:hover { transform: translateY(-1px); filter: brightness(1.08); } .btn.primary { background: linear-gradient(135deg, var(--green), #14b8a6); color: #03140b; } .btn.secondary { background: rgba(56, 189, 248, 0.14); color: #dff8ff; border: 1px solid rgba(56, 189, 248, 0.28); } .btn.ghost { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.10); } .btn.full { width: 100%; } .save-bar { grid-column: 1 / -1; position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 22px; background: rgba(2, 6, 23, 0.82); border: 1px solid rgba(148, 163, 184, 0.20); backdrop-filter: blur(18px); box-shadow: var(--shadow); } .status-msg { color: var(--muted); font-weight: 700; } .status-msg.success { color: #86efac; } .status-msg.error { color: #fecdd3; } .status-msg.info { color: #bae6fd; } .status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .status-card { padding: 18px; border-radius: 20px; background: var(--panel); border: 1px solid var(--card-border); } .status-card .label { color: var(--muted); font-size: 13px; font-weight: 700; } .status-card .value { margin-top: 8px; display: block; color: var(--text); font-size: 18px; font-weight: 850; overflow-wrap: anywhere; } .status-card.ok { border-color: rgba(34, 197, 94, 0.28); } .status-card.fail { border-color: rgba(251, 113, 133, 0.35); } .status-card.fail .value { color: #fecdd3; } .log-panel { border-radius: 24px; border: 1px solid var(--card-border); background: #020617; overflow: auto; max-height: 70vh; box-shadow: var(--shadow); } #log-content { margin: 0; padding: 20px; color: #bbf7d0; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; white-space: pre-wrap; } @keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } } @media (max-width: 980px) { .shell { display: block; } .sidebar { position: static; height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid rgba(148, 163, 184, 0.16); } .nav-tabs { display: flex; overflow-x: auto; padding-bottom: 4px; } .tab { width: auto; min-width: 126px; justify-content: center; white-space: nowrap; } .sidebar-card { display: none; } .main { padding: 16px; } .hero { min-height: auto; display: block; } .hero-status { margin-top: 18px; min-width: 0; } .form-grid, .status-grid { grid-template-columns: 1fr; } } @media (max-width: 620px) { .fields.two, .fields.three { grid-template-columns: 1fr; } .card, .hero { border-radius: 22px; } .save-bar { left: 12px; right: 12px; display: grid; } .save-bar .btn { width: 100%; } h1 { font-size: 38px; } }