:root {
  --bg1: #0f172a;
  --bg2: #1e293b;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
  --accent-2: #06b6d4;
}
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg1);
}
.page {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  position: sticky;
  top: 0;
  background: var(--bg1);
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .title {
  font-size: 22px;
  font-weight: 700;
}
.logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(34,197,94,0.35);
}
.content {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 16px;
  overflow-x: hidden;
}
.welcome {
  font-size: 16px;
  color: var(--muted);
}
.quick-actions { display: grid; gap: 12px; }
.action { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; text-decoration: none; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0c1118; font-weight: 700; }
.action svg { width: 18px; height: 18px; fill: currentColor; }
.cta {
  display: grid;
  gap: 12px;
}
.button {
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0c1118;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 150ms ease;
}
.button:active {
  transform: translateY(1px);
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.submenu-overlay{position:fixed;left:0;top:0;right:0;bottom:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.35);z-index:60}
.submenu-overlay.show{display:flex}
.submenu-panel{display:flex;flex-direction:column;gap:8px;padding:10px;background:var(--bg2);border:1px solid rgba(255,255,255,0.10);border-radius:10px;min-width:240px}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 120ms ease, background 150ms ease, box-shadow 150ms ease;
}
.action:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}
@media (min-width: 600px) {
  .quick-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .quick-actions { grid-template-columns: 1fr 1fr 1fr; }
}
