:root {
  --bg: #070708;
  --panel: rgba(16, 16, 18, 0.92);
  --panel-solid: #101012;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f3f5;
  --muted: #9b9ba6;
  --silver: #d8d8e0;
  --accent: #ececf2;
  --titlebar-bg: #c8c8c8;
  --titlebar-bg-2: #b4b4b4;
  --titlebar-text: #1a1a1a;
  --red: #e23d3d;
  --red-soft: rgba(226, 61, 61, 0.12);
  --blue: #2f6fed;
  --blue-soft: rgba(47, 111, 237, 0.12);
  --yellow: #e0b123;
  --yellow-soft: rgba(224, 177, 35, 0.12);
  --danger: #ff6b6b;
  --success: #7dffb3;
  --warning: #ffd27a;
  --titlebar-h: 36px;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
input { outline: none; color-scheme: dark; }

/* ===== TITLEBAR (grise Windows) ===== */
.titlebar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--titlebar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 10px;
  background: linear-gradient(180deg, #d8d8d8 0%, var(--titlebar-bg) 45%, var(--titlebar-bg-2) 100%);
  color: var(--titlebar-text);
  -webkit-app-region: drag;
  user-select: none;
  border-bottom: 1px solid #8f8f8f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: "Segoe UI", var(--font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.titlebar-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.titlebar-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.app-copyright {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.35);
  color: #2a2a2a;
  font-family: "Segoe UI", var(--font-body), sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: default;
  -webkit-app-region: no-drag;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.app-copyright-mark {
  opacity: 0.85;
}

.app-copyright-full {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 120;
  min-width: max-content;
  max-width: min(320px, 70vw);
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f2f2f2;
  color: #222;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  white-space: nowrap;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
}

.app-copyright:hover,
.app-copyright:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}

.app-copyright:hover .app-copyright-full,
.app-copyright:focus-visible .app-copyright-full {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.app-copyright-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #6e757e;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  cursor: default;
  user-select: none;
  overflow: hidden;
  transition: color 0.2s ease, background 0.2s ease;
}

.app-copyright-side-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #9aa3ad;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    width 0.22s ease,
    margin 0.22s ease,
    border-color 0.18s ease;
}

.app-copyright-side-full {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-6px);
  color: #a8b0ba;
  font-weight: 500;
  transition:
    max-width 0.32s var(--ease),
    opacity 0.2s ease,
    transform 0.22s ease;
}

.app-copyright-side:hover,
.app-copyright-side:focus-visible {
  color: #d0d6dd;
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.app-copyright-side:hover .app-copyright-side-mark,
.app-copyright-side:focus-visible .app-copyright-side-mark {
  opacity: 0;
  width: 0;
  margin: 0;
  border-color: transparent;
  transform: scale(0.85);
  overflow: hidden;
  pointer-events: none;
}

.app-copyright-side:hover .app-copyright-side-full,
.app-copyright-side:focus-visible .app-copyright-side-full {
  max-width: 300px;
  opacity: 1;
  transform: translateX(0);
}

.titlebar-controls {
  display: flex;
  height: 100%;
  -webkit-app-region: no-drag;
}

.win-btn {
  width: 46px;
  height: 100%;
  display: grid;
  place-items: center;
  color: #1f1f1f;
  transition: background 0.12s ease, color 0.12s ease;
}

.win-btn svg {
  width: 10px;
  height: 10px;
  display: block;
}

.win-btn:hover { background: rgba(0, 0, 0, 0.08); }

.win-close:hover {
  background: #e81123;
  color: #fff;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.modal:not([hidden]) {
  pointer-events: auto;
}

.modal[hidden] { display: none !important; pointer-events: none !important; }

#crop-modal {
  z-index: 420;
}

#confirm-modal {
  z-index: 320;
}

.moderation-notice-modal {
  z-index: 340;
}

.moderation-notice-card {
  text-align: center;
  width: min(460px, calc(100% - 40px));
}

.moderation-notice-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(237, 66, 69, 0.2);
  border: 1px solid rgba(237, 66, 69, 0.45);
  color: #ffb4b6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.moderation-notice-card p {
  color: #e8eaed;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 18px;
}

.moderation-notice-card .btn {
  width: 100%;
  justify-content: center;
}

.admin-actions {
  flex-wrap: wrap;
}

.admin-mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 40px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(22, 22, 24, 0.98), rgba(10, 10, 12, 0.98));
  box-shadow: var(--shadow);
  padding: 22px;
  animation: panelIn 0.28s var(--ease) both;
  -webkit-app-region: no-drag;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.modal-card p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.crop-card {
  width: min(520px, calc(100% - 40px));
  position: relative;
  z-index: 2;
}

.crop-stage {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 8px auto 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0b0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: grab;
  touch-action: none;
  user-select: none;
  flex-shrink: 0;
}

.crop-stage.is-banner {
  width: min(420px, calc(100vw - 80px));
  height: 168px;
  max-width: 100%;
}

.crop-stage.is-dragging { cursor: grabbing; }

.crop-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.crop-ring {
  pointer-events: none;
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.crop-stage.is-banner .crop-ring {
  inset: 16px 20px;
  border-radius: 12px;
}

.crop-zoom {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.crop-zoom span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.crop-zoom input[type="range"] {
  width: 100%;
  accent-color: #2f6fed;
}

/* ===== ATMOSPHERE ===== */
.atmosphere {
  position: absolute;
  inset: var(--titlebar-h) 0 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(58deg) translateY(-10%);
  animation: gridDrift 20s linear infinite;
  opacity: 0.4;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.orb-a {
  width: 420px;
  height: 420px;
  left: -90px;
  top: -40px;
  background: radial-gradient(circle, rgba(220, 220, 230, 0.35), transparent 70%);
  animation: floatA 11s ease-in-out infinite;
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -60px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(180, 180, 190, 0.22), transparent 70%);
  animation: floatB 13s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100% - var(--titlebar-h));
  margin-top: var(--titlebar-h);
}

.view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* ===== AUTH ===== */
.auth-view {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  padding: 34px;
  align-items: center;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(160deg, rgba(18, 18, 20, 0.94), rgba(8, 8, 10, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: panelIn 0.75s var(--ease) both;
}

.brand-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
  filter: blur(16px);
  animation: pulse 3.2s ease-in-out infinite;
}

.brand-logo {
  position: relative;
  width: min(340px, 78%);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: logoReveal 0.95s var(--ease) 0.1s both;
}

.brand-tag {
  position: relative;
  margin-top: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--silver);
  opacity: 0.85;
}

.panel {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
  animation: panelIn 0.75s var(--ease) 0.08s both;
  -webkit-app-region: no-drag;
}

.auth-view,
.auth-view input,
.auth-view button,
.auth-view select,
.auth-view textarea {
  -webkit-app-region: no-drag;
}

.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 22px;
}

.tab {
  position: relative;
  z-index: 1;
  padding: 11px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.tab.is-active { color: #111; }

.tab-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 10px);
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(120deg, #f5f5f7, #c8c8d0);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.12);
  transition: transform 0.32s var(--ease);
}

.forms { position: relative; min-height: 420px; }

.form {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}

.form.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.form-head h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.form-head p { color: var(--muted); font-size: 1.05rem; }

.notice {
  border: 1px solid rgba(255, 210, 122, 0.28);
  background: linear-gradient(135deg, rgba(255, 210, 122, 0.1), rgba(255, 210, 122, 0.03));
  border-radius: 12px;
  padding: 11px 12px;
}

.notice strong {
  display: block;
  color: var(--warning);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.notice p { color: #e8d9b8; font-size: 0.95rem; line-height: 1.35; }
.notice em { font-style: normal; color: #fff; font-weight: 700; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field span {
  font-size: 0.9rem;
  color: var(--silver);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.field span em { color: var(--warning); font-style: normal; }

.field input,
.input-wrap {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 11px;
}

.field input {
  padding: 11px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  border-color: rgba(230, 230, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 230, 235, 0.1);
}

.input-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.input-wrap input {
  border: 0;
  background: transparent;
  box-shadow: none !important;
}

.input-wrap:focus-within {
  border-color: rgba(230, 230, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 230, 235, 0.1);
}

.reveal {
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.reveal:hover { color: var(--text); }

.form-message {
  min-height: 1.15em;
  font-size: 0.95rem;
  color: var(--danger);
}

.form-message.is-success { color: var(--success); }

.btn {
  border-radius: 11px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  margin-top: 2px;
  background: linear-gradient(120deg, #f7f7f9, #bdbdc8);
  color: #0d0d10;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.08);
}

.auth-download {
  margin: 14px 0 0;
  text-align: center;
}

.auth-download-link {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-download-link:hover {
  color: var(--text);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.14);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-red {
  background: var(--red);
  color: #fff;
  border: 1px solid #ff6a6a;
  box-shadow: 0 10px 24px rgba(226, 61, 61, 0.25);
}

.btn-red:hover { filter: brightness(1.08); }

.btn-blue {
  background: var(--blue);
  color: #fff;
  border: 1px solid #5b8fff;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.25);
}

.btn-blue:hover { filter: brightness(1.08); }

.btn-yellow {
  background: var(--yellow);
  color: #1a1400;
  border: 1px solid #f0c84a;
  box-shadow: 0 10px 24px rgba(224, 177, 35, 0.25);
}

.btn-yellow:hover { filter: brightness(1.05); }

/* ===== LOADING ===== */
.loading-view {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.05), transparent 45%);
}

.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  animation: panelIn 0.5s var(--ease) both;
}

.loading-logo {
  width: min(220px, 55vw);
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.5));
  animation: logoPulse 2s ease-in-out infinite;
}

.spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #f0f0f4;
  border-right-color: #c8c8c8;
  animation: spin 0.85s linear infinite;
}

.loading-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 1.4em;
  transition: opacity 0.25s ease;
}

.loading-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ===== DASHBOARD ===== */
.dashboard-view {
  display: grid;
  grid-template-columns: 270px 1fr;
  background: rgba(8, 8, 10, 0.65);
  min-height: 0;
  height: 100%;
}

.side {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.98), rgba(8, 8, 10, 0.98));
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.side-brand img {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.side-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.side-brand span {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav {
  flex: 1;
  overflow: hidden;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 4px 8px;
}

.nav-group {
  border-radius: 14px;
  padding: 10px;
  margin-top: 4px;
}

.nav-group-red {
  border: 1px solid rgba(226, 61, 61, 0.55);
  background: var(--red-soft);
  box-shadow: inset 0 0 0 1px rgba(226, 61, 61, 0.08);
}

.nav-group-blue {
  border: 1px solid rgba(47, 111, 237, 0.55);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 237, 0.08);
}

.nav-group-green {
  border: 1px solid rgba(35, 165, 89, 0.55);
  background: rgba(35, 165, 89, 0.1);
  box-shadow: inset 0 0 0 1px rgba(35, 165, 89, 0.08);
}

.nav-green {
  border-color: rgba(35, 165, 89, 0.4);
  background: rgba(35, 165, 89, 0.12);
  color: #b8f0cb;
  margin-bottom: 6px;
}

.nav-green:hover,
.nav-green.is-active {
  background: rgba(35, 165, 89, 0.24);
  border-color: rgba(35, 165, 89, 0.85);
  color: #fff;
}

.nav-padlock {
  border-color: rgba(240, 178, 50, 0.35);
  background: rgba(240, 178, 50, 0.08);
  color: #ffe9a8;
}

.nav-padlock:hover {
  background: rgba(240, 178, 50, 0.18);
  border-color: rgba(240, 178, 50, 0.7);
}

.btn-green-sm {
  background: #23a559;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
}

.btn-red-sm {
  background: rgba(226, 61, 61, 0.9);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
}

.side-user-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: left;
  flex: 1;
  padding: 4px;
  border-radius: 8px;
}

.side-user-main:hover {
  background: rgba(255, 255, 255, 0.05);
}

.presence-badge {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #101012;
  background: #80848e;
  z-index: 3;
  pointer-events: none;
}

.presence-online { background: #23a559; }
.presence-idle { background: #f0b232; }
.presence-dnd { background: #f23f43; }
.presence-offline { background: #80848e; }

.avatar-sm .presence-badge { width: 10px; height: 10px; }
.avatar-lg .presence-badge { width: 16px; height: 16px; border-width: 3px; left: 1px; bottom: 1px; }
.avatar-xl .presence-badge { width: 22px; height: 22px; border-width: 3px; left: 2px; bottom: 2px; }

.page-accueil {
  position: relative;
  min-height: 100%;
}

.accueil-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.members-toggle {
  position: absolute;
  right: 0;
  top: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 14px 8px;
  border-radius: 10px 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  z-index: 5;
}

.members-toggle:hover {
  background: #35373c;
}

.members-panel {
  width: 280px;
  max-height: calc(100vh - 180px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 18, 0.96);
  padding: 12px;
  margin-right: 36px;
}

.members-panel[hidden] { display: none !important; }

.members-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.icon-x {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--muted);
}

.icon-x:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.member-row {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  text-align: left;
  margin-bottom: 4px;
}

.member-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.member-meta {
  min-width: 0;
}

.member-meta strong,
.member-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.member-presence {
  font-size: 0.72rem;
  color: var(--muted);
}

.member-row.is-idle .member-presence {
  color: #f0b232;
}

.member-row.is-offline {
  opacity: 0.55;
}

.accueil-live {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.accueil-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.accueil-live-head strong {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.accueil-live-head span {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(35, 165, 89, 0.18);
  color: #7ddea0;
  border: 1px solid rgba(35, 165, 89, 0.35);
}

.accueil-live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.accueil-live-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.accueil-live-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  padding: 8px 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.accueil-live-chip:hover {
  background: rgba(255, 255, 255, 0.06);
}

.accueil-live-chip em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-pop {
  position: relative;
  width: min(420px, calc(100% - 40px));
  border-radius: 16px;
  overflow: hidden;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  animation: panelIn 0.28s var(--ease) both;
  display: flex;
  flex-direction: column;
}

.profile-banner {
  position: relative;
  z-index: 1;
  border-radius: 0;
  overflow: hidden;
  height: 168px;
  min-height: 168px;
  flex-shrink: 0;
  background: linear-gradient(120deg, #2f6fed, #1a3f9c 50%, #111214);
  background-size: cover;
  background-position: center;
}

.profile-banner.has-image {
  background-color: #111214;
}

.profile-flag-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 80, 80, 0.55);
  border-radius: 11px;
  background: rgba(18, 10, 12, 0.55);
  color: #ff3b3b;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.profile-flag-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.profile-flag-btn:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(180, 20, 30, 0.55);
  border-color: rgba(255, 110, 110, 0.9);
  color: #ff6b6b;
}

.profile-flag-btn:active {
  transform: scale(0.96);
}

.profile-body {
  position: relative;
  z-index: 2;
  padding: 0;
  margin-top: 0;
  background: linear-gradient(180deg, var(--profile-c1, #1a2744) 0%, var(--profile-c2, #111214) 72%);
  border-radius: 0 0 16px 16px;
  overflow: visible;
}

.profile-body-inner {
  position: relative;
  z-index: 3;
  padding: 0 18px 18px;
  overflow: visible;
}

.profile-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-top: -58px;
  margin-bottom: 14px;
  flex-shrink: 0;
  overflow: visible;
}

.profile-av {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 4px solid var(--profile-ring, #111214);
  overflow: hidden;
  box-sizing: border-box;
}

.profile-av img,
.profile-av > span {
  border-radius: 50%;
}

.profile-status-dot,
.profile-avatar-wrap .profile-status-dot.presence-badge.status-ico {
  position: absolute !important;
  left: -6px !important;
  bottom: -4px !important;
  right: auto !important;
  top: auto !important;
  width: 34px !important;
  height: 34px !important;
  border: 5px solid var(--profile-ring, #111214) !important;
  border-radius: 50%;
  z-index: 6;
  display: block !important;
  box-sizing: border-box;
  margin: 0 !important;
  font-size: 0;
  letter-spacing: 0;
  color: transparent;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.profile-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.profile-body-inner > p,
.profile-body > p {
  color: var(--muted);
  margin-bottom: 10px;
}

.profile-status-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.presence-pill,
.verify-pill,
.role-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.role-pill {
  background: rgba(47, 111, 237, 0.18);
  border-color: rgba(47, 111, 237, 0.45);
  color: #9ec0ff;
}

.role-pill.is-owner {
  background: rgba(240, 180, 40, 0.2);
  border-color: rgba(240, 180, 40, 0.55);
  color: #ffd978;
}

.role-pill.is-certified {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(192, 132, 252, 0.6);
  color: #e9d5ff;
}

.admin-badge.is-certified {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.5);
  color: #e9d5ff;
}

.admin-roles {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-identity {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.admin-identity-grid .field {
  margin: 0;
}

.admin-identity-grid input {
  width: 100%;
}

.admin-roles-title {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.admin-roles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.admin-role-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.admin-role-check input {
  accent-color: #2f6fed;
}

.admin-roles-save {
  margin-top: 4px;
}

.nav-btn.is-role-hidden,
.admin-tab.is-role-hidden,
#edt-create.is-role-hidden {
  display: none !important;
}

.nav-group.is-role-empty {
  display: none !important;
}

.cand-admin-type-tabs .is-role-hidden,
.cand-admin-status-tabs .is-role-hidden {
  display: none !important;
}

.profile-section {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
}

.profile-section strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-section p {
  color: var(--text);
  white-space: pre-wrap;
}

.padlock-card textarea,
.padlock-card select,
.force-pass-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 11px;
  padding: 11px 12px;
  color: var(--text);
  resize: vertical;
}

.force-pass-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.temp-password-card {
  width: min(440px, 94vw);
}

.temp-password-user {
  margin: 0 0 12px !important;
  font-weight: 700;
  color: #f0d78a !important;
}

.temp-password-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(224, 177, 35, 0.35);
  background: rgba(224, 177, 35, 0.1);
  margin-bottom: 16px;
}

.temp-password-box code {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  user-select: all;
  word-break: break-all;
}

.temp-password-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: ui-monospace, Consolas, monospace;
  outline: none;
}

.admin-card {
  max-width: 980px;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(224, 177, 35, 0.28);
  background: rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
}

.admin-row.is-pending-verify {
  border-color: rgba(255, 210, 122, 0.55);
  background: linear-gradient(120deg, rgba(90, 60, 10, 0.35), rgba(0, 0, 0, 0.28));
  box-shadow: inset 0 0 0 1px rgba(255, 200, 80, 0.12);
}

.admin-info {
  display: grid;
  gap: 2px;
}

.admin-info strong {
  font-size: 1.05rem;
}

.admin-info span {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-info .admin-session {
  color: #c5cad2;
  font-size: 0.86rem;
}

.admin-info .admin-session.is-live {
  color: #9ff0c4;
}

.admin-badge {
  color: var(--warning) !important;
  font-weight: 700;
}

.admin-badge.is-pending {
  color: #ffd27a !important;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 122, 0.4);
  background: rgba(255, 180, 40, 0.12);
  width: fit-content;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-hint {
  color: var(--muted);
  padding: 10px 0;
}

/* Fix avatar crop inside circle on Accueil */
.hero-welcome img {
  width: auto;
  height: auto;
}

.hero-welcome .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.avatar {
  position: relative;
  isolation: isolate;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-btn {
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-ico {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  opacity: 0.95;
}

.nav-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-btn:hover { background: rgba(255, 255, 255, 0.05); }
.nav-btn.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-red {
  border-color: rgba(226, 61, 61, 0.35);
  background: rgba(226, 61, 61, 0.1);
  color: #ffd0d0;
  margin-bottom: 6px;
}

.nav-red:hover,
.nav-red.is-active {
  background: rgba(226, 61, 61, 0.22);
  border-color: rgba(226, 61, 61, 0.75);
  color: #fff;
}

.nav-blue {
  border-color: rgba(47, 111, 237, 0.4);
  background: rgba(47, 111, 237, 0.12);
  color: #cfe0ff;
}

.nav-blue:hover,
.nav-blue.is-active {
  background: rgba(47, 111, 237, 0.24);
  border-color: rgba(47, 111, 237, 0.8);
  color: #fff;
}

.nav-yellow {
  border-color: rgba(224, 177, 35, 0.45);
  background: rgba(224, 177, 35, 0.12);
  color: #ffe9a8;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.nav-yellow:hover,
.nav-yellow.is-active {
  background: rgba(224, 177, 35, 0.24);
  border-color: rgba(224, 177, 35, 0.85);
  color: #fff4cc;
}

.side-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.side-user-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.side-user strong {
  display: block;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-user span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #2f6fed;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.avatar.has-photo {
  background: #121214;
  border-color: rgba(255, 255, 255, 0.22);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar span {
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.avatar-sm { width: 36px; height: 36px; }
.avatar-sm span { font-size: 0.72rem; }

.avatar-lg { width: 96px; height: 96px; border-width: 3px; }
.avatar-lg span { font-size: 1.6rem; }

.avatar-xl { width: 120px; height: 120px; border-width: 3px; }
.avatar-xl span { font-size: 2rem; }

.section-settings {
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  max-width: 760px;
}

.settings-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.settings-card-head h3 {
  margin: 0 0 4px;
}

.settings-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.settings-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.settings-check-row input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #2f6fed;
  flex-shrink: 0;
}

.settings-check-row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.settings-check-row strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.settings-check-row em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.settings-card-owner-presence .form-message {
  margin-top: 10px;
}

.settings-profile-summary {
  display: grid;
  gap: 14px;
}

.settings-summary-main {
  display: flex;
  gap: 16px;
  align-items: center;
}

.settings-profile-summary-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.settings-profile-summary-text strong {
  font-size: 1.05rem;
}

.settings-profile-summary-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.settings-profile-summary-text p {
  margin: 6px 0 0;
  color: #d4d8de;
  font-size: 0.9rem;
  line-height: 1.4;
}

.settings-profile-summary-text em {
  font-style: normal;
  font-size: 0.8rem;
  color: #9ecbff;
}

.settings-profile-editor[hidden] {
  display: none !important;
}

.settings-profile-editor {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 16px;
}

.settings-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.settings-profile-block-edit {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.settings-avatar-block {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 8px;
}

.settings-theme-block {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.settings-theme-block > strong {
  font-size: 1.05rem;
}

.settings-theme-block > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.settings-theme-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-top: 6px;
}

.settings-color-field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.settings-color-field input[type="color"] {
  width: 52px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.settings-theme-preview {
  flex: 1;
  min-width: 120px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, #2f6fed, #111214);
}

.settings-banner-block {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.settings-banner-preview,
.settings-summary-banner {
  width: 100%;
  height: 88px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(120deg, #2f6fed, #1a3f9c 50%, #111214);
  background-size: cover;
  background-position: center;
}

.settings-banner-preview.has-image,
.settings-summary-banner.has-image {
  background-color: #121418;
}

.settings-avatar-actions {
  flex: 1;
  min-width: 0;
}

.settings-avatar-actions strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.settings-avatar-actions > p {
  margin-bottom: 12px;
}

.settings-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.04), transparent 35%),
    rgba(10, 10, 12, 0.4);
}

.content-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px 14px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 4px;
}

.content-top h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 210, 122, 0.1);
  border: 1px solid rgba(255, 210, 122, 0.28);
  color: var(--warning);
  font-weight: 700;
  font-size: 0.88rem;
}

.status-chip .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
  animation: blink 1.4s ease-in-out infinite;
}

.content-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 26px 26px;
  scroll-behavior: auto;
  -webkit-app-region: no-drag;
}

.content-body.is-page-locked {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page { display: none; animation: fadeUp 0.35s ease both; }
.page.is-active { display: block; }

.page.is-active[data-page-view="parametres"] {
  min-height: min-content;
  padding-bottom: 28px;
}

.settings-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  padding-bottom: 12px;
}

.hero-welcome {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(145deg, rgba(20, 20, 22, 0.96), rgba(8, 8, 10, 0.98));
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.hero-welcome img {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.hero-welcome .avatar {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.hero-welcome h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-bottom: 6px;
}

.hero-welcome p { color: var(--muted); font-size: 1.08rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 16, 0.8);
  padding: 16px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.stat strong { font-size: 1.15rem; }

.section-card {
  border-radius: 18px;
  padding: 24px;
  max-width: 720px;
  background: rgba(14, 14, 16, 0.85);
}

.section-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-card p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 18px;
}

.section-red {
  border: 1.5px solid rgba(226, 61, 61, 0.7);
  box-shadow: 0 0 0 1px rgba(226, 61, 61, 0.12), 0 18px 40px rgba(226, 61, 61, 0.08);
}

.section-blue {
  border: 1.5px solid rgba(47, 111, 237, 0.75);
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.12), 0 18px 40px rgba(47, 111, 237, 0.08);
}

.section-yellow {
  border: 1.5px solid rgba(224, 177, 35, 0.8);
  box-shadow: 0 0 0 1px rgba(224, 177, 35, 0.12), 0 18px 40px rgba(224, 177, 35, 0.08);
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 64px, 64px 0; }
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(36px, 24px); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-28px, -36px); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.9) translateY(12px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.95); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 980px) {
  .auth-view { grid-template-columns: 1fr; padding: 20px; overflow: auto; }
  .brand-panel { min-height: 220px; }
  .brand-logo { width: 200px; }
  .field-grid, .stat-row { grid-template-columns: 1fr; }
  .dashboard-view { grid-template-columns: 1fr; }
  .side { display: none; }
  .settings-avatar-block { flex-direction: column; align-items: flex-start; }
}

/* ===== UX polish 2026 ===== */
.nav-group-yellow {
  border: 1px solid rgba(224, 177, 35, 0.55);
  background: var(--yellow-soft);
  box-shadow: inset 0 0 0 1px rgba(224, 177, 35, 0.08);
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.nav-group-yellow .nav-btn,
.nav-group-green .nav-btn {
  margin-bottom: 8px;
}

.nav-yellow {
  border-color: rgba(224, 177, 35, 0.45);
  background: rgba(224, 177, 35, 0.12);
  color: #ffe9a8;
}

.nav-yellow:hover,
.nav-yellow.is-active {
  background: rgba(224, 177, 35, 0.24);
  border-color: rgba(224, 177, 35, 0.85);
  color: #fff4cc;
}

.nav-btn {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nav-btn:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.fancy-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.fancy-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  filter: brightness(1.08);
}

.fancy-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.section-green {
  border: 1.5px solid rgba(35, 165, 89, 0.7);
  box-shadow: 0 0 0 1px rgba(35, 165, 89, 0.12), 0 18px 40px rgba(35, 165, 89, 0.08);
}

.btn-green {
  background: #23a559;
  color: #fff;
  border: 1px solid #3dd17a;
  box-shadow: 0 10px 24px rgba(35, 165, 89, 0.25);
}

.btn-green:hover { filter: brightness(1.08); }

.settings-profile-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.settings-profile-block textarea,
.settings-profile-block select,
.profile-edit textarea,
.profile-edit select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 11px;
  padding: 11px 12px;
  color: var(--text);
  resize: vertical;
}

.profile-edit {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
}

.profile-edit[hidden] {
  display: none !important;
}

.profile-edit-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warning);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(224, 177, 35, 0.45);
  background: rgba(224, 177, 35, 0.1);
  color: #ffe9a8;
  font-weight: 700;
}

.admin-tab.is-active {
  background: rgba(224, 177, 35, 0.28);
  border-color: rgba(224, 177, 35, 0.9);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 177, 35, 0.15);
}

.admin-search { margin-bottom: 14px; }

.admin-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-search input:focus {
  border-color: rgba(224, 177, 35, 0.7);
  box-shadow: 0 0 0 3px rgba(224, 177, 35, 0.15);
  outline: none;
}

.admin-panel { display: none; }
.admin-panel.is-active { display: block; animation: fadeUp 0.3s ease both; }

/* ===== Status icons ===== */
.status-ico {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
}

.presence-badge.status-ico {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  top: auto;
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #101012;
  margin: 0;
  font-size: 0;
  letter-spacing: 0;
  color: transparent;
}

.avatar-lg .presence-badge.status-ico {
  width: 18px;
  height: 18px;
  border-width: 3px;
  left: 1px;
  bottom: 1px;
}

.avatar-xl .presence-badge.status-ico {
  width: 22px;
  height: 22px;
  border-width: 3px;
  left: 2px;
  bottom: 2px;
}

.status-online { background: #23a559; }
.status-offline { background: #80848e; }

.status-idle {
  background: #f0b232;
  box-shadow: inset -3px -2px 0 0 #101012;
}

.status-dnd {
  background: #f23f43;
}
.status-dnd::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: #101012;
  border-radius: 2px;
}

.presence-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.presence-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.presence-opt em {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
}

.presence-opt:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.28);
}

.presence-opt.is-active {
  border-color: rgba(88,101,242,0.8);
  background: rgba(88,101,242,0.18);
  box-shadow: 0 0 0 1px rgba(88,101,242,0.25);
}

.presence-opt .status-ico {
  width: 14px;
  height: 14px;
}

/* ===== Emploi du temps ===== */
.staff-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.staff-panel {
  display: none !important;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.staff-panel.is-active {
  display: flex !important;
  flex-direction: column;
  animation: none;
}

.edt-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.edt-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.edt-current {
  min-width: 180px;
  text-align: center;
}

.edt-current strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.edt-current span {
  color: var(--muted);
  font-size: 0.85rem;
}

.edt-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
}

.edt-day {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(0,0,0,0.28);
  min-height: 180px;
  overflow: hidden;
}

.edt-day.is-today {
  border-color: rgba(224,177,35,0.7);
  box-shadow: 0 0 0 1px rgba(224,177,35,0.2);
}

.edt-day-head {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.edt-day-head strong {
  display: block;
  font-size: 0.82rem;
  text-transform: capitalize;
}

.edt-day-head span {
  color: var(--muted);
  font-size: 0.75rem;
}

.edt-day-body {
  padding: 8px;
  display: grid;
  gap: 6px;
}

.edt-event {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--evt, #5865f2) 55%, transparent);
  background: color-mix(in srgb, var(--evt, #5865f2) 22%, rgba(0,0,0,0.4));
  color: #fff;
}

.edt-event-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.edt-event-meta strong {
  font-size: 0.85rem;
  line-height: 1.2;
}

.edt-event-meta em {
  font-style: normal;
  font-size: 0.72rem;
  opacity: 0.85;
}

.event-form {
  display: grid;
  gap: 12px;
}

.icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-opt {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.3);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.icon-opt:hover { transform: translateY(-2px); }
.icon-opt.is-active {
  border-color: #5865f2;
  background: rgba(88,101,242,0.22);
}

.evt-ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 4px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.evt-meeting {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z'/%3E%3C/svg%3E");
}
.evt-star {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l2.4 7.2H22l-6 4.4 2.3 7L12 16.8 5.7 20.6 8 13.6 2 9.2h7.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l2.4 7.2H22l-6 4.4 2.3 7L12 16.8 5.7 20.6 8 13.6 2 9.2h7.6z'/%3E%3C/svg%3E");
}
.evt-shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
}
.evt-training {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 14h-2v-2h2v2zm0-4h-2V6h2v6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 14h-2v-2h2v2zm0-4h-2V6h2v6z'/%3E%3C/svg%3E");
}
.evt-alert {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}
.evt-party {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 9 9H2l6 4.5L5.5 22 12 17l6.5 5L16 13.5 22 9h-7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 9 9H2l6 4.5L5.5 22 12 17l6.5 5L16 13.5 22 9h-7z'/%3E%3C/svg%3E");
}

@media (max-width: 1200px) {
  .edt-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}

/* ===== EDT layout fix ===== */
.page[data-page-view='staff'].is-active {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 160px);
}

.edt-card {
  max-width: none !important;
  width: 100%;
  flex: 1;
  min-height: 0;
  height: calc(100vh - 170px);
  max-height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
  padding: 18px !important;
  box-sizing: border-box;
  overflow: hidden;
}

.page.is-active[data-page-view="staff"] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.edt-header-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.edt-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.edt-toolbar {
  flex-shrink: 0;
  margin-bottom: 12px;
}

.edt-scroll {
  flex: 1;
  min-height: 480px;
  height: 100%;
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(0,0,0,0.28);
  padding: 14px;
}

.edt-grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(150px, 1fr)) !important;
  min-width: 1080px;
  min-height: 100%;
  gap: 12px !important;
}

.edt-day {
  min-height: 320px !important;
  height: 100%;
}

#edt-today {
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 16px;
  border: 1px solid rgba(224,177,35,0.7);
  background: linear-gradient(135deg, rgba(224,177,35,0.35), rgba(224,177,35,0.12));
  color: #ffe9a8;
  box-shadow: 0 0 0 1px rgba(224,177,35,0.15), 0 8px 20px rgba(0,0,0,0.25);
}

.color-pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-pick-row input[type='color'] {
  width: 46px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.color-preview {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,0.45);
  background: #5865f2;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.35),
    0 10px 22px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.color-pick-row em {
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.event-view-card {
  width: min(480px, calc(100% - 40px));
  padding: 0;
  overflow: hidden;
}

.event-view-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px;
  color: #fff;
}

.event-view-banner h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.event-view-banner p {
  opacity: 0.9;
  text-transform: capitalize;
}

.event-view-banner .evt-ico {
  width: 34px;
  height: 34px;
  color: #fff;
  flex-shrink: 0;
}

.event-view-body {
  padding: 16px 18px 18px;
}

.icon-picker {
  max-height: 160px;
  overflow: auto;
  padding: 4px;
}

.evt-users { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zM8 11c1.66 0 3-1.34 3-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zM8 11c1.66 0 3-1.34 3-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E"); }
.evt-mic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5-3c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5-3c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z'/%3E%3C/svg%3E"); }
.evt-flag { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z'/%3E%3C/svg%3E"); }
.evt-car { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E"); }
.evt-home { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E"); }
.evt-book { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z'/%3E%3C/svg%3E"); }
.evt-clock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 11H7v-2h4V7h2v6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 11H7v-2h4V7h2v6z'/%3E%3C/svg%3E"); }
.evt-heart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E"); }
.evt-zap { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2v11h3v9l7-12h-4l4-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2v11h3v9l7-12h-4l4-8z'/%3E%3C/svg%3E"); }
.evt-target { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14a6 6 0 1 0 .001 12.001A6 6 0 0 0 12 6zm0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14a6 6 0 1 0 .001 12.001A6 6 0 0 0 12 6zm0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/%3E%3C/svg%3E"); }
.evt-radio { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.24 6.15C2.51 6.43 2 7.17 2 8v12c0 1.1.9 2 2 2h16c1.11 0 2-.9 2-2V8c0-1.1-.89-2-2-2H8.3l7.43-3c.46-.19.65-.71.46-1.17-.19-.46-.71-.65-1.17-.46L3.24 6.15zM7 20c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm13-8h-2v-2h-2v2H4V8h16v4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.24 6.15C2.51 6.43 2 7.17 2 8v12c0 1.1.9 2 2 2h16c1.11 0 2-.9 2-2V8c0-1.1-.89-2-2-2H8.3l7.43-3c.46-.19.65-.71.46-1.17-.19-.46-.71-.65-1.17-.46L3.24 6.15zM7 20c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm13-8h-2v-2h-2v2H4V8h16v4z'/%3E%3C/svg%3E"); }
.evt-key { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E"); }
.evt-map { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E"); }
.evt-coffee { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21h18v-2H2v2zm16.5-9.5c0 1.93-1.57 3.5-3.5 3.5H6v-10h9c1.93 0 3.5 1.57 3.5 3.5v3zm2.5-3.5h-1.5c0-2.76-2.24-5-5-5H6C3.79 3 2 4.79 2 7v8c0 1.1.9 2 2 2h11c2.76 0 5-2.24 5-5v-1c1.1 0 2-.9 2-2v-1c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21h18v-2H2v2zm16.5-9.5c0 1.93-1.57 3.5-3.5 3.5H6v-10h9c1.93 0 3.5 1.57 3.5 3.5v3zm2.5-3.5h-1.5c0-2.76-2.24-5-5-5H6C3.79 3 2 4.79 2 7v8c0 1.1.9 2 2 2h11c2.76 0 5-2.24 5-5v-1c1.1 0 2-.9 2-2v-1c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E"); }
