:root {
  color: #ecf0f4;
  background: #12171d;
  font-family: Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: #12171d;
}

button, input { font: inherit; }

.shell {
  width: min(100% - 32px, 720px);
  margin: 72px auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #34404b;
}

.eyebrow {
  margin: 0 0 8px;
  color: #8fa0b0;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin: 8px 4px;
  border-radius: 50%;
  background: #48b985;
  box-shadow: 0 0 0 4px #173e30;
}

.workspace { padding: 32px 0; }

.revoke-form {
  display: grid;
  gap: 24px;
}

.field { display: grid; gap: 8px; }

label, .label {
  color: #b8c4cf;
  font-size: 14px;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #43515d;
  border-radius: 4px;
  padding: 9px 12px;
  color: #f3f6f8;
  background: #1b232c;
  outline: none;
}

input:focus { border-color: #62a6d8; }

.segmented {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #43515d;
  border-radius: 4px;
  overflow: hidden;
}

.segment {
  min-height: 38px;
  border: 0;
  border-right: 1px solid #43515d;
  padding: 0 14px;
  color: #b8c4cf;
  background: #1b232c;
  cursor: pointer;
}

.segment:last-child { border-right: 0; }
.segment.is-selected { color: #ffffff; background: #315f80; }
.segment:focus-visible, .danger:focus-visible { outline: 2px solid #78b7e6; outline-offset: 2px; }

.actions { padding-top: 8px; }

.danger {
  min-height: 42px;
  border: 1px solid #c95757;
  border-radius: 4px;
  padding: 0 16px;
  color: #ffffff;
  background: #a63f45;
  cursor: pointer;
}

.danger:hover { background: #bd4c53; }
.danger:disabled { cursor: wait; opacity: 0.65; }

.result {
  display: block;
  min-height: 24px;
  margin-top: 28px;
  color: #b8c4cf;
}

.result.success { color: #6bd39a; }
.result.error { color: #f08080; }
.is-hidden { display: none; }

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 720px); margin: 32px auto; }
  h1 { font-size: 24px; }
  .segment { padding: 0 12px; }
}
