/* src/client/styles.css */
body {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #999;
  background-color: black;
  text-align: center;
  padding-top: 40px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
#app {
  padding: 1rem;
}
h1 {
  color: white;
}
b {
  color: white;
  font-weight: bold;
}
a {
  color: #ccc;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  text-decoration-color: #555;
}

/* src/client/nav.css */
body {
  padding-top: 96px;
}
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.nav-brand {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.nav-cta {
  padding: 6px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
}
.nav-links a.nav-cta:hover {
  border-color: #fff;
}
.nav-menu {
  position: relative;
}
.nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.15s;
}
.nav-account:hover,
.nav-account:focus-visible,
.nav-account[aria-expanded=true] {
  border-color: #fff;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 6px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.nav-dropdown-user {
  padding: 8px 10px 10px;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  word-break: break-all;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-dropdown a,
.nav-dropdown button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  text-decoration: none;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.nav-dropdown a:hover,
.nav-dropdown button:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-links .nav-dropdown a:hover {
  color: #fff;
}
.nav-dropdown .nav-logout {
  color: #f87171;
}
.nav-dropdown .nav-logout:hover,
.nav-dropdown .nav-logout:focus-visible {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

/* src/client/login.css */
.login-wrap {
  display: flex;
  justify-content: center;
  padding: 0 16px;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.login-card {
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
  padding: 32px;
  color: #fff;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.login-card h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}
.login-muted {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.login-card label {
  display: block;
  margin: 16px 0 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}
.login-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  color: #fff;
  font: inherit;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  outline: none;
}
.login-card input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.login-btn {
  width: 100%;
  margin-top: 24px;
  padding: 10px 12px;
  color: #000;
  font: inherit;
  font-weight: 600;
  background: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.login-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.85);
}
.login-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.login-error {
  margin: 16px 0 0;
  color: #f87171;
  font-size: 0.85rem;
}
.login-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.9rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
.login-link {
  padding: 0;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 0.85rem;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}
.login-link:hover {
  color: #fff;
}
.login-hint {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}
.tf {
  margin: 8px 0 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.tf-title {
  margin: 0 0 8px;
  font-size: 1rem;
}
.tf-ok {
  margin: 0;
  color: #4ade80;
  font-size: 0.9rem;
}
.tf-qr {
  display: block;
  margin: 12px auto;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
}
.tf-secret {
  display: block;
  margin-bottom: 8px;
  padding: 8px 10px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  word-break: break-all;
  user-select: all;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

/* src/client/portal.css */
.app-wrap {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 48px;
  color: #fff;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.dash-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 8px 0 20px;
}
.dash-head > :first-child {
  justify-self: start;
}
.dash-head > :last-child {
  justify-self: end;
}
.dash-title {
  min-width: 0;
  text-align: center;
}
.dash-title h1 {
  margin: 0;
  font-size: 1.6rem;
}
.dash-sub {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  word-break: break-all;
}
.back {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
}
.back:hover {
  color: #fff;
}
.icon-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 0.15s;
}
.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: #fff;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.chip.ok {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
}
.chip.warn {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}
.dash-h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.empty {
  padding: 40px 24px;
  text-align: center;
  background: #0a0a0a;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}
.empty-title {
  margin: 0 0 4px;
  font-weight: 600;
}
.empty-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.panel {
  margin-bottom: 16px;
  padding: 24px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.panel h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.panel label {
  display: block;
  margin: 16px 0 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}
.panel input[type=text],
.panel input[type=password] {
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
  padding: 10px 12px;
  color: #fff;
  font: inherit;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  outline: none;
}
.panel input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.panel .tf {
  margin: 0;
  padding-top: 0;
  border-top: none;
}
.panel .login-btn {
  width: auto;
  min-width: 180px;
  margin-top: 16px;
  padding: 10px 20px;
}
.login-btn.outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.login-btn.outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 24px;
  margin: 0;
}
.kv dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.kv dd {
  margin: 0;
  font-size: 0.9rem;
  word-break: break-all;
}
.tf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 4px;
}
.tf-head .tf-title {
  margin: 0;
  font-size: 1.05rem;
}
.panel .tf-ok {
  margin: 4px 0 12px;
}
.panel .login-muted {
  margin-bottom: 8px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}
.login-btn.danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
}
.login-btn.danger:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.1);
}
.dash-head.solo {
  display: block;
}
.dash-head.solo > .dash-title {
  justify-self: auto;
}
.tools-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tools-head .dash-h2 {
  margin: 0;
  font-size: 1.15rem;
}
.tools-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.tool-group {
  margin-top: 28px;
}
.tool-group-title {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  min-height: 108px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  background: #0a0a0a;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}
.tool-card.live {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
  transition: border-color 0.15s;
}
.tool-card.live:hover,
.tool-card.live:focus-visible {
  border-color: #fff;
}
.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.tool-name {
  font-size: 0.95rem;
  font-weight: 600;
}
.tool-badge {
  flex: none;
  padding: 2px 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.tool-badge.live {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
}
.tool-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.45;
}
/*# sourceMappingURL=index.css.map */
