/* Samowystarczalna aplikacja: bez fontów, bibliotek i zasobów zewnętrznych. */
:root {
  color-scheme: dark;
  --blue: #0080ff;
  --blue-hover: #2492ff;
  --blue-soft: #0080ff18;
  --bg: #111419;
  --panel: #191d24;
  --panel2: #1e232c;
  --line: #2c333e;
  --text: #edf1f7;
  --muted: #9aa6b7;
  --danger: #ff9393;
  --green: #71d9b0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
body.locked {
  background: #1c1c1e;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.35;
}
button:hover {
  background: #2a313c;
}
button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 600;
}
button.primary:hover {
  background: var(--blue-hover);
}
button.ghost {
  background: transparent;
}
button.danger {
  color: var(--danger);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
:focus-visible {
  outline: 2px solid #70b8ff;
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  background: #11151b;
  border: 1px solid #37404d;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  margin-top: 7px;
  min-width: 0;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}
textarea {
  min-height: 94px;
  resize: vertical;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #b9c4d3;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1px;
  margin-bottom: 9px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.6;
}
small,
.muted {
  color: var(--muted);
  line-height: 1.6;
}
small {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  text-transform: uppercase;
  color: var(--muted);
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.full {
  grid-column: 1/-1;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.badge {
  display: inline-flex;
  border: 1px solid #0080ff40;
  background: var(--blue-soft);
  color: #80bdff;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.4px;
}
.badge.green {
  color: var(--green);
  border-color: #71d9b040;
  background: #71d9b00c;
}
.error {
  color: var(--danger);
  font-size: 12px;
  min-height: 16px;
  margin: 0;
}
.notice {
  padding: 12px 14px;
  background: var(--blue-soft);
  border-left: 2px solid var(--blue);
  font-size: 12px;
  color: #b0c4df;
  line-height: 1.6;
}
.empty {
  text-align: center;
  padding: 54px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.empty svg {
  color: #6caeff;
  margin-bottom: 16px;
}
.empty h2 {
  font-size: 20px;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.avatar {
  background: #0080ff22;
  color: #83beff;
  width: 37px;
  height: 37px;
  border: 1px solid #0080ff35;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
progress {
  appearance: none;
  border: 0;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: #303743;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #303743;
}
progress::-webkit-progress-value {
  background: var(--blue);
}
progress::-moz-progress-bar {
  background: var(--blue);
}
