body { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; margin: 0; background: #f0f2f5; color: #111b21; }
header { background: #075e54; color: #fff; padding: 12px 20px; display: flex; gap: 16px; align-items: center; }
header h1 { font-size: 18px; margin: 0; }
header #connState { opacity: .85; font-size: 13px; }
header button { margin-left: auto; }
main { padding: 16px 20px; max-width: 960px; margin: 0 auto; }
.card { background: #fff; border-radius: 8px; padding: 16px; margin: 16px auto; max-width: 960px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.hidden { display: none !important; }
.err { color: #c62828; }
nav#tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
nav#tabs button.active { background: #075e54; color: #fff; }
button { background: #e9edef; border: 0; border-radius: 6px; padding: 7px 14px; cursor: pointer; font-size: 14px; }
button:hover { filter: brightness(.96); }
button.danger { background: #fdecea; color: #c62828; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.toolbar #hint { font-size: 13px; color: #54656f; }
.item { background: #fff; border-radius: 6px; padding: 9px 12px; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
textarea { width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.row { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
input[type="password"] { padding: 8px; font-size: 14px; width: 260px; }
