:root { --bg: #0f1220; --bg-soft: #171b2e; --card: #1c2138; --card-border: #2a3050; --text: #eef0fb; --text-muted: #9aa1c4; --accent: #6c8cff; --accent-strong: #8f6cff; --accent-text: #ffffff; --success: #4ade80; --danger: #f87171; --radius: 14px; color-scheme: dark; } * { box-sizing: border-box; } body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.5; } .bg-decor { position: fixed; inset: 0; z-index: -1; background: radial-gradient(600px circle at 15% -10%, rgba(108, 140, 255, 0.25), transparent 60%), radial-gradient(500px circle at 100% 10%, rgba(143, 108, 255, 0.18), transparent 55%), var(--bg); } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 640px; margin: 0 auto; padding: 2rem 1.25rem 1rem; } .brand { display: flex; align-items: center; gap: 0.75rem; } .brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: white; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; box-shadow: 0 8px 20px rgba(108, 140, 255, 0.35); } .brand h1 { margin: 0; font-size: 1.25rem; font-weight: 700; } .subtitle { margin: 0.1rem 0 0; color: var(--text-muted); font-size: 0.85rem; } .badge { font-size: 0.75rem; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--card-border); white-space: nowrap; } .badge-muted { color: var(--text-muted); background: rgba(255, 255, 255, 0.03); } .badge-online { color: var(--success); background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.35); } main { max-width: 640px; margin: 0 auto; padding: 0.5rem 1.25rem 3rem; } .stack { display: flex; flex-direction: column; gap: 1.25rem; } .card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); } .stack .card { margin-bottom: 0; } .card-header { margin-bottom: 1.1rem; } .card-header.row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } .card-header h2 { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 650; } .card-hint { margin: 0; color: var(--text-muted); font-size: 0.85rem; } .form-grid { display: flex; flex-direction: column; gap: 0.9rem; } .form-inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; } .form-inline label { flex: 1; min-width: 160px; } label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; color: var(--text-muted); } input { padding: 0.65rem 0.75rem; font-size: 0.95rem; border-radius: 10px; border: 1px solid var(--card-border); background: var(--bg-soft); color: var(--text); outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; } input::placeholder { color: #6b7194; } input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.2); } .btn { appearance: none; border: none; border-radius: 10px; padding: 0.7rem 1.1rem; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: transform 0.08s ease, opacity 0.15s ease, box-shadow 0.15s ease; } .btn:active { transform: translateY(1px); } .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: var(--accent-text); box-shadow: 0 8px 20px rgba(108, 140, 255, 0.3); } .btn-primary:hover { opacity: 0.92; } .btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--card-border); padding: 0.5rem 0.85rem; font-size: 0.82rem; } .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); } .status { min-height: 1.1rem; margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--text-muted); } .status.status-ok { color: var(--success); } .status.status-error { color: var(--danger); } .list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--card-border); border-radius: 10px; max-height: 220px; overflow-y: auto; background: var(--bg-soft); } .list li { padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--card-border); font-size: 0.88rem; } .list li:last-child { border-bottom: none; } .list-empty { color: var(--text-muted); font-style: italic; } .list-files li { display: flex; align-items: center; gap: 0.5rem; } .list-files li::before { content: "📄"; } .list-chat li { display: flex; flex-direction: column; gap: 0.15rem; } .list-chat li .chat-body { color: var(--text); } .tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; } .tab-btn { appearance: none; border: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.03); color: var(--text-muted); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.82rem; cursor: pointer; } .tab-btn.active { color: var(--accent-text); background: linear-gradient(135deg, var(--accent), var(--accent-strong)); border-color: transparent; } .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.75rem 0 1rem; } @media (max-width: 480px) { .two-col { grid-template-columns: 1fr; } } .list-picker { max-height: 180px; } .list-picker li { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; } .list-picker li input { padding: 0; width: auto; } .list-picker li.picked { background: rgba(108, 140, 255, 0.12); } .list-channels li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; cursor: pointer; } .list-channels li:hover { background: rgba(255, 255, 255, 0.04); } .chip { font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid var(--card-border); color: var(--text-muted); white-space: nowrap; } footer { max-width: 640px; margin: 0 auto; padding: 1rem 1.25rem 2rem; text-align: center; color: var(--text-muted); font-size: 0.75rem; } @media (max-width: 480px) { .topbar { flex-direction: column; align-items: flex-start; gap: 0.75rem; } .card { padding: 1.1rem; } }