@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital@0;1&display=swap');
:root{--paper:#f3f1eb;--white:#fffefa;--ink:#24251f;--muted:#77776d;--line:#dedcd3;--orange:#e96c4e;--lime:#dfe8c6;--danger:#a9362c}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.announcement{background:var(--ink);color:#f9f7f1;text-align:center;font-size:9px;letter-spacing:.18em;padding:10px}.topbar{height:83px;padding:0 clamp(20px,5vw,80px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:29px;font-weight:700;letter-spacing:-.085em}.brand span,.accent{color:var(--orange)}.top-actions{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:11px}.shell{max-width:1300px;margin:auto;padding:0 clamp(18px,4vw,48px) 90px}.hero{display:flex;align-items:center;justify-content:space-between;padding:70px 0 55px;gap:20px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:var(--orange);margin:0 0 13px}.hero h1{font-size:clamp(46px,6vw,82px);letter-spacing:-.085em;line-height:1.02;margin:0 0 16px}.hero h1 em{font-family:'Playfair Display',Georgia,serif;font-weight:400;color:var(--orange)}.hero p:last-child{color:var(--muted)}.hero-symbol{font-size:130px;color:#b5c49b;line-height:1}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:46px}.stats article{background:var(--white);border:1px solid var(--line);padding:25px;display:flex;flex-direction:column;gap:13px}.stats article span{font-size:11px;color:var(--muted)}.stats article strong{font-size:40px;letter-spacing:-.07em}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:42px}.tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:15px 2px;font-weight:700;color:var(--muted)}.tab.active{color:var(--ink);border-bottom-color:var(--orange)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:23px}.section-head h2{font-size:clamp(31px,4vw,48px);letter-spacing:-.07em;margin:0}.btn{border:1px solid var(--line);padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--white);font-size:11px;font-weight:700;border-radius:2px;white-space:nowrap}.btn:hover{filter:brightness(.95)}.btn.dark{background:var(--ink);color:white;border-color:var(--ink)}.btn.ghost{background:transparent}.btn.danger{background:var(--danger);border-color:var(--danger);color:white}.btn.small{padding:8px 12px;font-size:10px}.toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:20px}.field{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:10px;font-weight:700}.field input,.field select,.field textarea{background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:2px;padding:12px;min-width:160px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange)}#accountSearch{min-width:300px}.log-filters .field input,.log-filters .field select{min-width:140px}.table-scroll{overflow-x:auto;background:var(--white);border:1px solid var(--line)}table{width:100%;border-collapse:collapse;min-width:650px;text-align:left}th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700;background:#f8f7f2}th,td{padding:18px 19px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td{font-size:12px}td.actions{display:flex;gap:8px;align-items:center}.status{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:700}.status:before{content:'';height:7px;width:7px;border-radius:50%;background:#6f9e62}.status.banned:before,.status.failed:before{background:var(--danger)}.table-footer,.feedback{color:var(--muted);font-size:11px}.feedback:empty{display:none}.feedback{margin:10px 0}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;color:var(--muted)}.pagination button:disabled{opacity:.45;cursor:not-allowed}.notice{padding:80px 0}.notice h1{font-size:50px;letter-spacing:-.07em}.notice p{color:var(--muted);margin-bottom:28px}.dialog{border:0;width:min(460px,calc(100% - 28px));padding:32px;background:var(--paper);box-shadow:0 25px 90px #0004}.dialog::backdrop{background:#15171199}.dialog h2{font-size:32px;letter-spacing:-.07em;margin:0 0 10px}.dialog p:not(.eyebrow){color:var(--muted);line-height:1.7}.dialog .field{margin:20px 0}.dialog .field textarea,.dialog .field input{width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.toast{position:fixed;bottom:20px;right:20px;background:var(--ink);color:white;padding:14px 20px;max-width:350px;box-shadow:0 10px 30px #0002;display:none}.toast.visible{display:block}.footer{border-top:1px solid var(--line);padding:30px clamp(20px,5vw,80px);display:flex;justify-content:space-between;align-items:center}.footer>span{font-size:22px;font-weight:700;letter-spacing:-.07em}.footer small{color:var(--muted)}@media(max-width:650px){.topbar{height:70px}.top-actions{gap:10px}.top-actions>span{display:none}.hero{padding:50px 0 36px}.hero-symbol{display:none}.stats{gap:8px}.stats article{padding:15px}.stats article strong{font-size:29px}.section-head{align-items:start}.toolbar{align-items:stretch}.toolbar .field{width:100%}.toolbar .field input,.toolbar .field select,#accountSearch{min-width:0;width:100%}.log-filters>.btn{flex:1}.footer small{display:none}td.actions{min-width:180px}}


@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital@0;1&display=swap');

:root {
  --paper: #f3f1eb;
  --white: #fffefa;
  --ink: #24251f;
  --muted: #77776d;
  --line: #dedcd3;
  --orange: #e96c4e;
  --lime: #dfe8c6;
  --danger: #a9362c;
  --green: #478657;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 13px;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.announcement {
  background: var(--ink);
  color: #f9f7f1;
  text-align: center;
  font-size: 9px;
  letter-spacing: .18em;
  padding: 10px;
}

.topbar {
  height: 83px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -.085em;
}

.brand span, .accent {
  color: var(--orange);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.shell {
  max-width: 1300px;
  margin: auto;
  padding: 0 clamp(18px, 4vw, 48px) 90px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px 0 55px;
  gap: 20px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 13px;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 82px);
  letter-spacing: -.085em;
  line-height: 1.02;
  margin: 0 0 16px;
}

.hero h1 em {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: var(--orange);
}

.hero p:last-child {
  color: var(--muted);
}

.hero-symbol {
  font-size: 130px;
  color: #b5c49b;
  line-height: 1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 46px;
}

.stats article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}

.stats article span {
  font-size: 11px;
  color: var(--muted);
}

.stats article strong {
  font-size: 40px;
  letter-spacing: -.07em;
}

.stats article small {
  font-size: 10px;
  color: var(--muted);
}

.stats .online-stat {
  background: #eef3e7;
  border-color: #d3dfcb;
}

.online-stat strong {
  color: var(--green);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
  box-shadow: 0 0 0 4px #47865718;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px #47865718;
  }
  50% {
    box-shadow: 0 0 0 7px #47865708;
  }
}

.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
  overflow-x: auto;
}

.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 15px 2px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.tab.active {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 23px;
}

.section-head h2 {
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -.07em;
  margin: 0;
}

.section-description {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}

.btn {
  border: 1px solid var(--line);
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(.95);
}

.btn.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

.btn.small {
  padding: 8px 12px;
  font-size: 10px;
}

.toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  min-width: 160px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
}

#accountSearch {
  min-width: 300px;
}

.log-filters .field input,
.log-filters .field select {
  min-width: 140px;
}

.presence-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.presence-summary > div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.presence-summary span {
  color: var(--muted);
  font-size: 11px;
}

.presence-summary strong {
  font-size: 35px;
  letter-spacing: -.05em;
}

.presence-summary > div:first-child strong {
  color: var(--green);
}

.presence-summary .checked-time {
  font-size: 15px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.table-scroll {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  text-align: left;
}

th {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: #f8f7f2;
}

th, td {
  padding: 18px 19px;
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: 0;
}

td {
  font-size: 12px;
}

tbody tr:hover {
  background: #faf9f5;
}

td.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}

.status::before {
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #6f9e62;
}

.status.banned::before,
.status.failed::before {
  background: var(--danger);
}

.presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.presence-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.presence-badge.online {
  color: #327448;
  background: #e5f1e7;
}

.presence-badge.online::before {
  background: #478657;
}

.presence-badge.offline {
  color: #77776d;
  background: #eeede8;
}

.presence-badge.offline::before {
  background: #aaa99f;
}

.user-email {
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.last-seen {
  font-size: 11px;
  font-weight: 600;
}

.exact-date {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}

.table-footer,
.feedback {
  color: var(--muted);
  font-size: 11px;
}

.feedback:empty {
  display: none;
}

.feedback {
  margin: 10px 0;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
}

.pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.notice {
  padding: 80px 0;
}

.notice h1 {
  font-size: 50px;
  letter-spacing: -.07em;
}

.notice p {
  color: var(--muted);
  margin-bottom: 28px;
}

.dialog {
  border: 0;
  width: min(460px, calc(100% - 28px));
  padding: 32px;
  background: var(--paper);
  box-shadow: 0 25px 90px #0004;
}

.dialog::backdrop {
  background: #15171199;
}

.dialog h2 {
  font-size: 32px;
  letter-spacing: -.07em;
  margin: 0 0 10px;
}

.dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.dialog .field {
  margin: 20px 0;
}

.dialog .field textarea,
.dialog .field input {
  width: 100%;
}

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

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  max-width: 350px;
  box-shadow: 0 10px 30px #0002;
  display: none;
  z-index: 100;
}

.toast.visible {
  display: block;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px clamp(20px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer > span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.07em;
}

.footer small {
  color: var(--muted);
}

@media (max-width: 950px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .topbar {
    height: 70px;
  }

  .top-actions {
    gap: 10px;
  }

  .top-actions > span {
    display: none;
  }

  .hero {
    padding: 50px 0 36px;
  }

  .hero-symbol {
    display: none;
  }

  .stats {
    gap: 8px;
  }

  .stats article {
    padding: 15px;
  }

  .stats article strong {
    font-size: 29px;
  }

  .stats article small {
    font-size: 9px;
  }

  .tabs {
    gap: 20px;
    margin-bottom: 30px;
  }

  .section-head {
    align-items: start;
  }

  .toolbar {
    align-items: stretch;
  }

  .toolbar .field {
    width: 100%;
  }

  .toolbar .field input,
  .toolbar .field select,
  #accountSearch {
    min-width: 0;
    width: 100%;
  }

  .log-filters > .btn {
    flex: 1;
  }

  .presence-summary {
    gap: 8px;
  }

  .presence-summary > div {
    padding: 13px;
  }

  .presence-summary strong {
    font-size: 25px;
  }

  .presence-summary .checked-time {
    font-size: 11px;
  }

  .footer small {
    display: none;
  }

  td.actions {
    min-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

.role-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.role-select {
    padding: 9px 12px;
    border: 1px solid #d8ded5;
    border-radius: 10px;
    background: #fff;
    color: #283b2e;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.role-select:focus {
    border-color: #283b2e;
}

.role-control .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}