@charset "UTF-8";
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-regular.e61b81e1f75b.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-medium.637742413a49.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-semibold.8432df9dbe57.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-bold.d7ccc780cf53.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Palette and typography follow amnezia.org; see docs/DESIGN_SYSTEM.md. */
:root {
  --main-text-color: #eaeaec;
  --gray-10: #d7d8db;
  --gray-20: #878b91;
  --gray-30: #494b50;
  --yellow-100: #412102;
  --yellow-70: #a85809;
  --yellow-50: #fbb26a;
  --yellow-30: #fccc9c;
  --black-100: #0e0e11;
  --black-90: #17181c;
  --black-80: #1c1d21;
  --black-70: #2c2d30;
  --bg: #090b10;
  --surface: var(--black-90);
  --surface-alt: var(--black-80);
  --surface-hover: var(--black-70);
  --ink: var(--main-text-color);
  --text-secondary: var(--gray-10);
  --muted: var(--gray-20);
  --line: var(--black-70);
  --control-line: #686c75;
  --accent: var(--yellow-50);
  --accent-hover: var(--yellow-30);
  --accent-ink: var(--yellow-100);
  --accent-soft: #fbb26a14;
  --accent-border: #fbb26a40;
  --success: #65fb7e;
  --success-soft: #14241c;
  --success-border: #2a5137;
  --warning-soft: #2c2117;
  --red: #ff667f;
  --danger-soft: #301c25;
  --danger-border: #6a3444;
  --shadow: none;
  --bg-gradient-gray: linear-gradient(135deg, #17181c, #272930);
  --radius: 24px;
  --sidebar: 264px;
  color-scheme: dark;
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  font-synthesis: none;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:hover {
  color: var(--accent);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.125rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.04rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: var(--sidebar);
  background: var(--black-100);
  color: var(--ink);
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
  z-index: 20;
  border-right: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  gap: 12px;
  line-height: 1;
  font-family: "IBM Plex Sans", sans-serif;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-style: normal;
  font-weight: bold;
  font-size: 2rem;
  background: transparent;
  color: var(--accent-ink);
  border-radius: 12px;
  letter-spacing: 0;
  line-height: 1;
}
.brand-period {
  color: var(--accent);
  margin-left: -10px;
}
.sidebar-caption {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin: 36px 12px 14px;
}
.nav-group {
  display: grid;
  gap: 6px;
}
.nav-item {
  font-size: 1rem;
  padding: 13px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  white-space: nowrap;
}
.nav-item > span {
  font-size: 1.24rem;
  color: var(--muted);
  width: 20px;
  text-align: center;
  line-height: 1.1;
}
.nav-item:hover {
  color: var(--ink);
  background: var(--surface-hover);
}
.nav-item.selected {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-item.selected > span {
  color: var(--accent);
}
.nav-count {
  margin-left: auto;
  font-size: 0.875rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 6px;
  border-radius: 6px;
}
.admin-caption {
  margin-top: 30px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 38px;
}
.support-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 15px 2px;
  margin-bottom: 24px;
}
.support-box strong {
  font-size: 0.875rem;
  color: var(--ink);
}
.support-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-wrap: anywhere;
  margin-top: 7px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 4px 6px;
}
.profile:hover {
  color: var(--ink);
}
.profile strong {
  font-size: 0.9rem;
  display: block;
}
.profile small {
  color: var(--muted);
  font-size: 0.875rem;
}
.avatar {
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--surface-hover);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.avatar.light {
  background: var(--surface-alt);
  color: var(--text-secondary);
}
.logout {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 14px 6px 0;
  font-size: 0.875rem;
}
.logout:hover {
  color: var(--ink);
}
.workspace {
  margin-left: var(--sidebar);
  width: calc(100% - var(--sidebar));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 80px;
  padding: 0 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--bg);
}
.topbar a {
  color: var(--text-secondary);
  font-weight: 500;
}
.topbar a span {
  margin-left: 8px;
}
.main-content {
  max-width: 1430px;
  width: 100%;
  margin: 0 auto;
  padding: 42px 46px 30px;
  flex: 1;
}
.demo-banner {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.875rem;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--accent-border);
}
.footer {
  padding: 24px 46px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.875rem;
  gap: 10px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading p {
  color: var(--muted);
  margin: 0;
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  color: var(--muted);
}
.eyebrow.dark {
  color: var(--muted);
}
.accent-dot {
  color: var(--accent);
}
.button {
  border: 1px solid transparent;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 22px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: none;
}
.button.primary {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.button.primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
  border-color: var(--accent-hover);
}
.button.secondary {
  background: var(--surface-alt);
  border-color: var(--gray-30);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--surface-hover);
  color: var(--ink);
  border-color: var(--muted);
}
.button.danger {
  background: var(--red);
  color: var(--bg);
}
.button.danger-outline {
  border-color: var(--danger-border);
  background: var(--danger-soft);
  color: var(--red);
}
.button.small {
  font-size: 0.875rem;
  min-height: 40px;
  padding: 7px 13px;
  border-radius: 12px;
}
.button.full {
  width: 100%;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.35;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
  max-width: 100%;
}
.badge.green {
  background: var(--success-soft);
  color: var(--success);
}
.badge.lime {
  background: var(--accent-soft);
  color: var(--accent);
}
.badge.neutral {
  background: var(--surface-alt);
  color: var(--text-secondary);
}
.badge.red {
  color: var(--red);
  background: var(--danger-soft);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-bottom: 27px;
}
.access-card {
  border-radius: var(--radius);
  background: var(--bg-gradient-gray);
  color: var(--ink);
  min-height: 246px;
  padding: 30px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 25px;
}
.card-top .eyebrow {
  margin: 0;
}
.access-card h2 {
  font-size: 1.875rem;
  color: var(--ink);
  margin-bottom: 9px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.access-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.access-card p strong {
  font-weight: 500;
  color: var(--ink);
}
.access-card a {
  color: var(--accent);
  margin-top: auto;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}
.access-pending {
  background: var(--surface);
}
.quota-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px 29px;
  box-shadow: var(--shadow);
}
.quota-value {
  font-size: 3.1rem;
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1.1;
  margin: 13px 0 20px;
}
.quota-value span {
  font-size: 1.25rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-left: 6px;
}
.quota-value.compact {
  font-size: 2.5rem;
}
.quota-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 12px 0 15px;
}
progress {
  appearance: none;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-alt);
  display: block;
  margin-bottom: 18px;
}
progress::-webkit-progress-bar {
  background: var(--surface-alt);
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 8px;
}
progress::-moz-progress-bar {
  background: var(--accent);
}
.text-link {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  margin-bottom: 24px;
  min-width: 0;
  overflow: hidden;
}
.section-heading {
  padding: 25px 28px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 6px 0 0;
}
.counter {
  font-size: 0.875rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 6px;
}
.device-row {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.device-row:last-child {
  border: 0;
}
.device-icon {
  width: 44px;
  height: 46px;
  flex-shrink: 0;
  position: relative;
  border-radius: 10px;
  background: var(--ink);
}
.device-icon::before {
  content: "";
  position: absolute;
  border: 1.8px solid var(--muted);
  border-radius: 3px;
}
.phone-icon::before {
  width: 15px;
  height: 24px;
  left: 14px;
  top: 10px;
}
.phone-icon::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 1px;
  background: var(--muted);
  left: 20px;
  top: 30px;
}
.computer-icon::before {
  width: 26px;
  height: 18px;
  left: 9px;
  top: 10px;
}
.computer-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--muted);
  left: 7px;
  top: 33px;
}
.device-info {
  flex: 1;
  min-width: 0;
}
.device-info strong {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.device-info > span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 3px;
}
.device-link {
  margin-left: 24px;
  white-space: nowrap;
}
.onboarding-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 29px;
  margin: 27px 0 17px;
  border-color: var(--line);
}
.onboarding-strip h2 {
  font-size: 1.12rem;
  margin-bottom: 5px;
}
.onboarding-strip p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}
.onboarding-strip > .button {
  margin-left: auto;
  flex-shrink: 0;
}
.step-chip {
  padding: 11px;
  background: var(--accent-soft);
  font-size: 0.875rem;
  border-radius: 9px;
  color: var(--accent);
  white-space: nowrap;
}
.mini-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  padding: 5px 2px;
  max-width: 930px;
}
.mini-note p {
  margin-bottom: 12px;
}
.empty-state {
  text-align: center;
  padding: 50px 30px;
}
.empty-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface-alt);
  border-radius: 14px;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 auto 17px;
}
.empty-state h3,
.empty-state h2 {
  margin-bottom: 7px;
}
.empty-state p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 22px;
}
.compact-empty {
  padding: 36px 27px;
  color: var(--muted);
  font-size: 0.9rem;
}
.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
  gap: 24px;
  align-items: start;
}
.balanced-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.balanced-columns > .panel {
  height: 100%;
  margin-bottom: 0;
}
.balanced-columns {
  margin-bottom: 24px;
}
.form-panel {
  padding: 28px;
}
.form-panel > h2 {
  margin-bottom: 18px;
}
.narrow {
  max-width: 740px;
}
.stack-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 17px;
}
.stack-form > .button {
  align-self: flex-start;
}
.field label {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 7px;
}
input:not([type="checkbox"]):not([type="hidden"]),
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--control-line);
  border-radius: 12px;
  background: var(--black-100);
  color: var(--ink);
  min-height: 45px;
  outline-offset: 2px;
  font-size: 1rem;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
textarea {
  resize: vertical;
}
.checkbox-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  min-height: 35px;
}
.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin: 0;
}
.checkbox-field label {
  margin: 0;
  flex: 1;
}
.checkbox-field .helptext {
  width: 100%;
}
.helptext {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.helptext ul {
  padding-left: 20px;
  margin: 8px 0;
}
.field-error,
.form-errors {
  color: var(--red);
  font-size: 0.875rem;
  margin: 7px 0 0;
}
.form-errors {
  border-radius: 9px;
  background: var(--danger-soft);
  padding: 12px 16px;
  margin: 0;
}
.errorlist {
  margin: 0;
  padding-left: 18px;
}
.notice {
  padding: 17px 20px;
  background: var(--surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.9rem;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice.success {
  background: var(--success-soft);
  color: var(--success);
  border-color: var(--success-border);
}
.notice.warning {
  background: var(--warning-soft);
  color: var(--accent);
  border-color: var(--accent-border);
}
.notice.error {
  background: var(--danger-soft);
  color: var(--red);
  border-color: var(--danger-border);
}
.back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 22px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.actions form {
  margin: 0;
}
.key-panel {
  padding: 33px;
}
.key-placeholder {
  border: 1px dashed var(--line);
  background: var(--surface-alt);
  border-radius: 9px;
  color: var(--muted);
  padding: 22px;
  margin: 24px 0;
}
.key-fallback {
  margin-bottom: 20px;
  word-break: break-all;
  min-height: 130px;
  font-size: 0.875rem !important;
}
.qr-output {
  margin-top: 22px;
}
.qr-output img {
  max-width: 100%;
  width: 300px;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
}
.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 30px;
}
.danger-zone h3 {
  margin-bottom: 4px;
}
.danger-zone p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.danger-zone button {
  white-space: nowrap;
}
.explain-list {
  padding-left: 25px;
  counter-reset: step;
}
.explain-list li {
  padding: 8px 0 12px 8px;
  color: var(--text-secondary);
}
.explain-list p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 5px 0;
}
.price {
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 24px 0;
}
.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}
.payment-instructions {
  padding: 20px;
  background: var(--surface-alt);
  border-radius: 9px;
  margin: 0 0 23px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.payment-instructions p:last-child {
  margin: 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
}
th {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-alt);
  padding: 14px 25px;
  white-space: nowrap;
}
td {
  padding: 20px 25px;
  border-top: 1px solid var(--line);
  max-width: 340px;
  overflow-wrap: anywhere;
}
td strong {
  font-weight: 600;
}
.cell-secondary {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.875rem;
}
.empty-cell {
  text-align: center;
  color: var(--muted);
  padding: 35px;
}
.platform-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.platform-tabs a {
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
}
.platform-tabs a:hover {
  background: var(--surface-alt);
}
.platform-tabs .active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 600;
  box-shadow: none;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(240px, 1fr);
  gap: 30px;
}
.download-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
}
.download-card .eyebrow {
  margin-bottom: 7px;
}
.download-card h2 {
  font-size: 1.25rem;
  margin: 0 0 5px;
}
.download-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.download-card .button {
  margin-left: auto;
}
.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  border-radius: 15px;
  background: var(--black-100);
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 800;
}
.guide-steps {
  padding: 0;
  list-style: none;
  margin: 32px 0;
}
.guide-steps > li {
  display: flex;
  gap: 23px;
  padding: 9px 0 30px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.guide-steps > li:last-child {
  border: 0;
}
.step-number {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  font-size: 0.875rem;
  font-weight: 600;
}
.guide-steps h2 {
  font-size: 1.15rem;
  margin: 6px 0 12px;
}
.guide-steps p {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.guide-aside .form-panel {
  padding: 24px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.checklist li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
}
.resource-link {
  display: block;
  font-size: 0.875rem;
  color: var(--accent);
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-alt);
}
.resource-link:last-of-type {
  border: 0;
}
.help-detail {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 0.9rem;
}
.help-detail:last-child {
  border: 0;
}
.help-detail summary {
  cursor: pointer;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 500;
}
.help-detail p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 12px 0 0;
  line-height: 1.75;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 27px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 23px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.metric > span {
  font-size: 0.875rem;
  color: var(--muted);
}
.metric strong {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.metric small {
  font-size: 0.875rem;
  color: var(--muted);
}
.metric .metric-text {
  font-size: 1.4rem;
  line-height: 2;
}
.metric-green {
  background: var(--success-soft);
  border-color: var(--success-border);
}
.metric-warning {
  background: var(--warning-soft);
  border-color: var(--accent-border);
}
.review-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.review-row:last-child {
  border: 0;
}
.review-row > div {
  flex: 1;
  min-width: 0;
}
.review-row strong {
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}
.review-row > div > span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.payment-symbol {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.error-row {
  padding: 20px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.error-row p {
  font-size: 0.875rem;
  color: var(--red);
  margin: 5px 0 0;
}
.filter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
}
.filter-form input {
  flex: 1;
}
.filter-form select {
  max-width: 230px;
}
.filter-panel {
  padding: 24px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  align-items: start;
}
.filter-fields .field {
  grid-column: span 4;
  min-width: 0;
  margin: 0;
}
.filter-fields .field:first-child {
  grid-column: span 8;
}
.member-filters .field:first-child,
.activity-filters .field:nth-child(3) {
  grid-column: span 6;
}
.member-filters .field:not(:first-child),
.activity-filters .field:nth-child(n + 4) {
  grid-column: span 3;
}
.filter-panel .helptext {
  margin: 0;
}
.activity-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
}
.activity-detail {
  max-width: 440px;
  white-space: pre-line;
}
.renewal-queue h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.queue-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 26px;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem;
}
.renewal-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.renewal-notice p {
  margin: 6px 0 0;
}
.renewal-notice .button {
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .filter-panel .filter-fields .field {
    grid-column: span 6;
  }
  .filter-panel .filter-fields .field:first-child {
    grid-column: span 12;
  }
}
@media (max-width: 720px) {
  .filter-panel {
    padding: 20px;
  }
  .filter-panel .filter-fields .field {
    grid-column: span 12;
  }
  .renewal-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .queue-footer {
    padding: 20px;
  }
}
.pagination {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin: 25px 0;
  color: var(--accent);
  font-size: 0.9rem;
}
.member-device {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.member-device:first-of-type {
  padding-top: 0;
}
.member-device:last-child {
  border: 0;
  padding-bottom: 0;
}
.member-device > span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin: 4px 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 0.875rem;
  padding: 9px 0;
}
.danger-text {
  color: var(--red);
}
.payment-body {
  padding: 23px 27px;
}
.payment-comment {
  background: var(--surface-alt);
  border-radius: 9px;
  padding: 17px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}
.review-payment-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.review-payment-form .field {
  flex: 1;
  min-width: 100px;
  max-width: 180px;
}
.details-list {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  font-size: 0.9rem;
  gap: 15px;
  margin-bottom: 30px;
}
.details-list dt {
  color: var(--muted);
}
.details-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.auth-body {
  background: var(--bg);
}
.auth-layout {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
}
.auth-aside {
  background: var(--bg-gradient-gray);
  color: var(--ink);
  padding: 50px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  border-right: 1px solid var(--line);
}
.auth-aside h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  letter-spacing: -0.01em;
  line-height: 1.06;
  max-width: 440px;
  font-weight: 700;
}
.auth-aside p {
  color: var(--text-secondary);
  max-width: 330px;
  font-size: 1rem;
  line-height: 1.8;
}
.auth-aside .eyebrow {
  color: var(--accent);
  margin-bottom: 28px;
}
.auth-foot {
  font-size: 0.875rem;
  color: var(--muted);
}
.auth-form-wrap {
  width: 100%;
  max-width: 590px;
  padding: 65px 55px;
  margin: auto;
  align-self: center;
}
.auth-form-wrap h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  margin: 0 0 15px;
  font-weight: 600;
}
.auth-form-wrap .stack-form {
  margin-top: 28px;
}
.auth-switch {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 23px;
}
.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}
.muted-link {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 25px;
}
.mfa-qr {
  width: 235px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}
.secret {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
  display: block;
  margin: 12px 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translateX(-50%);
  max-width: calc(100vw - 40px);
  width: max-content;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--ink);
  box-shadow: 0 10px 40px #00000040;
  font-size: 0.9rem;
  z-index: 100;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 90px #00000040;
  padding: 30px;
  max-width: 480px;
  width: calc(100% - 36px);
  color: var(--ink);
  background: var(--surface);
}
dialog::backdrop {
  background: #000000b3;
  backdrop-filter: blur(3px);
}
dialog p {
  color: var(--muted);
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 25px;
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 270px;
  }
  .main-content {
    padding-top: 52px;
  }
  .overview-grid {
    grid-template-columns: 1.8fr 1fr;
  }
  .access-card {
    min-height: 255px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 226px;
  }
  .sidebar {
    padding-inline: 17px;
  }
  .main-content {
    padding: 33px 29px;
  }
  .topbar {
    padding-inline: 29px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 18px;
  }
  .metric .metric-text {
    font-size: 1.15rem;
  }
  .content-columns {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .device-row {
    padding: 21px;
    gap: 12px;
  }
  .device-link {
    margin-left: 0;
  }
  .section-heading {
    padding: 23px;
  }
  .onboarding-strip {
    padding: 24px;
    gap: 16px;
  }
  .onboarding-strip .step-chip {
    display: none;
  }
  .auth-aside h1 {
    font-size: 3rem;
  }
  .auth-form-wrap {
    padding: 45px 35px;
  }
}
@media (max-width: 960px) {
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .page-heading > .button {
    font-size: 0.875rem;
    padding: 10px 13px;
  }
  .overview-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
  }
  .access-card,
  .quota-card {
    padding: 23px;
  }
  .access-card h2 {
    font-size: 1.4rem;
  }
  .content-columns,
  .balanced-columns {
    grid-template-columns: 1fr;
  }
  .balanced-columns > .panel {
    height: auto;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .onboarding-strip {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .onboarding-strip > .button {
    margin-left: 0;
  }
  .device-row .device-link {
    display: none;
  }
  .review-payment-form .field {
    max-width: none;
  }
  .auth-layout {
    grid-template-columns: 40% 60%;
  }
  .auth-aside {
    padding: 35px 30px;
  }
  .auth-aside h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 720px) {
  :root {
    --sidebar: 0px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 20px 20px 13px;
    overflow: visible;
  }
  .brand {
    font-size: 1.7rem;
  }
  .brand-mark {
    width: 29px;
    height: 30px;
    font-size: 1.7rem;
  }
  .sidebar-caption,
  .sidebar-bottom .support-box,
  .sidebar-bottom .profile,
  .sidebar-bottom .logout {
    display: none;
  }
  .nav-group {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    margin-top: 18px;
    padding-bottom: 3px;
  }
  .nav-item {
    font-size: 0.875rem;
    padding: 9px 12px;
    gap: 7px;
    flex-shrink: 0;
  }
  .nav-item > span {
    font-size: 1rem;
    width: 14px;
  }
  .admin-caption + .nav-group {
    margin-top: 7px;
    border-top: 1px solid var(--line);
    padding-top: 9px;
  }
  .sidebar-bottom {
    margin: 0;
    padding: 0;
  }
  .sidebar-bottom > .nav-item {
    position: absolute;
    top: 18px;
    right: 15px;
  }
  .workspace {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 53px;
    padding: 0 21px;
    font-size: 0.875rem;
  }
  .topbar > span {
    display: none;
  }
  .topbar > a {
    margin-left: auto;
  }
  .main-content {
    padding: 28px 21px 10px;
  }
  .footer {
    padding: 24px 21px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .page-heading p {
    font-size: 0.9rem;
  }
  .page-heading > .button,
  .page-heading > .badge {
    margin-top: 19px;
  }
  .eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .access-card {
    min-height: 225px;
    padding: 25px;
  }
  .access-card h2 {
    font-size: 1.7rem;
  }
  .quota-card {
    padding: 23px 25px;
  }
  .quota-value {
    margin: 12px 0 15px;
    font-size: 2.6rem;
  }
  .quota-card .eyebrow {
    margin-bottom: 10px;
  }
  .quota-card p {
    display: inline;
    margin-right: 10px;
  }
  .quota-card .text-link {
    display: block;
    margin-top: 10px;
  }
  .section-heading {
    padding: 20px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 1.15rem;
  }
  .device-row {
    padding: 20px;
    flex-wrap: wrap;
    gap: 13px;
  }
  .device-info {
    min-width: 150px;
  }
  .device-row > .badge {
    margin-left: 57px;
  }
  .device-icon {
    width: 43px;
  }
  .onboarding-strip {
    padding: 23px;
  }
  .onboarding-strip h2 {
    font-size: 1.05rem;
  }
  .form-panel,
  .key-panel {
    padding: 23px;
  }
  .actions {
    align-items: stretch;
  }
  .actions > .button,
  .actions > form,
  .actions > form > .button {
    width: 100%;
  }
  .danger-zone {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
  }
  .platform-tabs {
    gap: 4px;
  }
  .platform-tabs a {
    padding: 10px 13px;
    font-size: 0.875rem;
  }
  .download-card {
    padding: 22px;
    gap: 17px;
  }
  .download-card .button {
    width: 100%;
    margin: 0;
  }
  .download-card h2 {
    font-size: 1.1rem;
  }
  .download-card > div:nth-child(2) {
    flex: 1;
    min-width: 170px;
  }
  .guide-steps > li {
    gap: 15px;
  }
  .guide-steps h2 {
    font-size: 1.1rem;
  }
  .guide-steps p {
    font-size: 0.94rem;
  }
  .step-number {
    width: 35px;
    height: 35px;
  }
  .guide-aside {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 19px 16px;
  }
  .metric strong {
    font-size: 2rem;
  }
  .metric > span {
    font-size: 0.875rem;
  }
  .metric .metric-text {
    font-size: 1.15rem;
  }
  .filter-form {
    flex-wrap: wrap;
  }
  .filter-form > input {
    flex: auto;
  }
  .filter-form select {
    flex: 1;
    max-width: none;
  }
  .review-row {
    padding: 20px;
    flex-wrap: wrap;
  }
  .review-row .button {
    margin-left: auto;
  }
  .review-payment-form > .button {
    width: 100%;
  }
  .payment-body {
    padding: 20px;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 17px;
    min-width: 110px;
  }
  .error-row {
    padding: 20px;
    align-items: flex-start;
  }
  .pagination {
    font-size: 0.875rem;
  }
  .auth-layout {
    display: block;
  }
  .auth-aside {
    padding: 25px;
    gap: 0;
  }
  .auth-aside > div,
  .auth-foot {
    display: none;
  }
  .auth-form-wrap {
    padding: 38px 25px;
    margin: auto;
  }
  .auth-form-wrap h2 {
    font-size: 1.8rem;
  }
  .auth-form-wrap .eyebrow {
    font-size: 0.875rem;
  }
  .auth-form-wrap .helptext {
    font-size: 0.875rem;
  }
  .toast {
    left: 50%;
    bottom: 20px;
    font-size: 0.875rem;
  }
  .demo-banner {
    font-size: 0.875rem;
  }
  .details-list {
    grid-template-columns: 1fr 1.5fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .footer,
  .demo-banner,
  .button,
  .platform-tabs,
  .guide-aside,
  .toast {
    display: none !important;
  }
  .workspace {
    margin: 0;
    width: 100%;
  }
  .main-content {
    padding: 0;
  }
  .guide-layout {
    display: block;
  }
  .guide-steps > li {
    break-inside: avoid;
  }
  .auth-layout {
    display: block;
  }
  .auth-aside {
    display: none;
  }
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
@media (max-width: 720px) {
  .topbar-links {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-item > .icon {
  color: var(--muted);
}
.nav-item.selected > .icon {
  color: var(--accent);
}
.auth-aside h1 span {
  color: var(--accent);
}
.button.primary:active {
  background: var(--yellow-70);
  border-color: var(--yellow-70);
  color: var(--ink);
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--red);
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
.text-link:hover,
.back-link:hover,
.resource-link:hover,
.auth-switch a:hover {
  color: var(--accent-hover);
}
.guide-steps p,
.help-detail p {
  font-size: 1rem;
}
.device-info,
.review-row > div {
  overflow-wrap: anywhere;
}
.nav-group {
  min-width: 0;
}
@media (max-width: 720px) {
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .auth-aside {
    background: var(--black-100);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .auth-aside h1 {
    font-size: 2.25rem;
  }
  .auth-form-wrap h2 {
    font-size: 2rem;
  }
  .button {
    min-height: 48px;
  }
}
@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --surface: #fff;
    --surface-alt: #f3f3f3;
    --ink: #111;
    --text-secondary: #333;
    --muted: #444;
    --line: #ccc;
    --accent: #7e4000;
  }
  body {
    background: #fff;
    color: #111;
  }
  .panel,
  .download-card,
  .notice,
  .payment-instructions {
    background: #fff;
    color: #111;
    box-shadow: none;
  }
}
