
:root {
  color-scheme: dark;
  --bg: #10131c;
  --surface: #191e2a;
  --surface2: #202737;
  --border: #30394b;
  --text: #f2f5fb;
  --muted: #98a4ba;
  --accent: #9b8cff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 system-ui, sans-serif;
}
button, textarea, input { font: inherit; }
button { cursor: pointer; color: inherit; }
.sidebar {
  width: 245px;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 25px 16px;
  background: #141925;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 6px 35px;
}
.brand b { color: var(--accent); }
.brand-icon {
  background: var(--accent);
  color: #151425;
  border-radius: 11px;
  padding: 7px 12px;
  font-size: 22px;
}
.nav-label, .muted { color: var(--muted); }
.nav-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  margin: 12px 8px 3px;
}
.nav {
  text-align: left;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 12px;
  display: flex;
  gap: 12px;
}
.nav:hover, .nav.active { background: var(--surface2); }
.nav.active { color: #c2baff; }
.sidebar-bottom {
  margin-top: auto;
  padding: 14px 8px;
  font-size: 12px;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #50d6a0;
  border-radius: 50%;
  margin-right: 5px;
}
.status-dot.pending { background: #d6ad58; }
.main { margin-left: 245px; padding: 30px clamp(20px, 4vw, 55px); }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.topbar h1 { font-size: 28px; margin: 2px 0; }
.topbar .muted { font-size: 11px; letter-spacing: 1.4px; }
.domain {
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 20px;
  color: var(--muted);
  font-size: 12px;
}
.hero {
  min-height: 260px;
  padding: 35px;
  border: 1px solid #35304f;
  border-radius: 20px;
  background: radial-gradient(ellipse at 80% 20%, #39305e 0, transparent 45%), #1b2030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.eyebrow { color: #c2b8ff; font-size: 11px; letter-spacing: 1.5px; }
.hero h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 12px 0; }
.hero p { color: var(--muted); }
.hero-art { font-size: 120px; font-weight: 900; color: #c3baff; opacity: .8; }
.hero-art span { color: #8cddce; }
.primary, .secondary {
  padding: 10px 15px;
  border-radius: 9px;
  border: 1px solid var(--border);
  margin: 4px 4px 4px 0;
}
.primary { background: var(--accent); color: #171528; border-color: var(--accent); font-weight: 700; }
.secondary { background: var(--surface2); }
.primary:hover { filter: brightness(1.08); }
.secondary:hover, .app-card:hover { border-color: var(--accent); }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 15px; }
.section-heading h2 { font-size: 19px; margin: 0; }
.section-heading .muted { font-size: 12px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  text-align: left;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 175px;
}
.app-card strong { margin-top: 4px; }
.app-card > span:not(.app-icon) { font-size: 12px; color: var(--muted); }
.app-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 20px; }
.purple { background: #3a315f; color: #c2b5ff; }
.blue { background: #233f62; color: #9fcaff; }
.green { background: #23483e; color: #8de5c2; }
.orange { background: #503b2b; color: #ffca98; }
.teal { background: #20464b; color: #8fe4e9; }
.available, .planned { font-size: 11px; }
.available { color: #6de0ae; }
.planned { color: #e3bd70; }
.notice, .panel, .tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 20px;
  margin-top: 18px;
}
.notice { border-left: 3px solid var(--accent); }
.notice p, .panel p { color: var(--muted); margin-bottom: 0; }
.hidden { display: none !important; }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tool-tab { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 13px; }
.tool-tab.active { border-color: var(--accent); color: #c2baff; }
.tool-panel h3 { margin-top: 0; }
textarea {
  display: block;
  width: 100%;
  min-height: 155px;
  resize: vertical;
  padding: 13px;
  background: #101520;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin: 12px 0;
}
.output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 48px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #101520;
  color: #bdebd7;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two-col label { color: var(--muted); }
#color-input { width: 90px; height: 50px; }
.project-list { list-style: none; padding: 0; }
.project-list li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.project-list li div { flex: 1; }
.project-list p { margin: 2px 0 0; font-size: 12px; }
.project-list li > span:last-child { color: var(--muted); font-size: 12px; }
footer { color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; margin-top: 40px; }
@media (max-width: 950px) {
  .sidebar { width: 195px; }
  .main { margin-left: 195px; padding: 22px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .sidebar { position: static; width: auto; padding: 12px; }
  .brand { padding-bottom: 8px; }
  .sidebar .nav-label, .sidebar-bottom { display: none; }
  .sidebar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .brand { grid-column: 1 / -1; }
  .nav { padding: 9px 6px; justify-content: center; font-size: 12px; }
  .nav span { display: none; }
  .main { margin-left: 0; padding: 16px; }
  .hero { padding: 22px; }
  .hero-art { font-size: 65px; }
  .app-grid, .two-col { grid-template-columns: 1fr; }
  .topbar h1 { font-size: 23px; }
}
