:root{
  --bg1:#4b8b83;
  --bg2:#164b44;
  --glass: rgba(255,255,255,);
  --text: rgba(0,0,0,.92);
  --muted: rgba(255,255,255,.72);
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --inner: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.25);
  --radius: 14px;
  --font: "Segoe UI", Tahoma, Verdana, system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 1200px at 20% 15%, rgba(120,210,255,.35), transparent 55%),
    radial-gradient(1200px 1200px at 80% 25%, rgba(120,255,210,.18), transparent 60%),
    radial-gradient(1000px 900px at 50% 90%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
}

a{ color:#0a2b3d; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* ---------------- Top Bar ---------------- */

.topbar{
  position:sticky;
  top:0;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border-bottom:1px solid rgba(255,255,255,.18);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  z-index:50;
}

.topbar-inner{
  max-width:1100px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
}

.orb{
  width:22px;height:22px;border-radius:50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), transparent 45%),
    linear-gradient(180deg, rgba(60,200,255,.9), rgba(0,120,190,.7));
  border:1px solid rgba(255,255,255,.35);
}

.brand h1{ font-size:14px; margin:0; }
.brand small{ font-size:12px; color:var(--muted); }

.nav{ display:flex; gap:10px; }

.pill{
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  font-size:12.5px;
}

/* ---------------- Layout ---------------- */

.wrap{
  max-width:1100px;
  margin:22px auto 60px;
  padding:0 16px;
  display:grid;
  grid-template-columns:270px 1fr;
  gap:18px;
}

@media (max-width:900px){
  .wrap{ grid-template-columns:1fr; }
}

/* ---------------- Vista Window ---------------- */

.vista-window{
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.22);
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom: 15px;
  
}

.titlebar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  background:linear-gradient(to bottom, rgba(255,255,255,.22), rgba(255,255,255,.10));
  border-bottom:1px solid rgba(255,255,255,.16);
  box-shadow:var(--inner);
}

.title{
  display:flex;
  gap:10px;
  align-items:center;
}

.app-icon{
  width:16px;height:16px;border-radius:4px;
  background:linear-gradient(180deg, #7fdcff, #2f9bd8);
  border:1px solid rgba(255,255,255,.4);
}

.win-controls{ display:flex; gap:7px; }

.btn{
  width:14px;height:14px;border-radius:50%;
  background:rgba(255,255,255,.25);
  border:1px solid rgba(255,255,255,.4);
}

.btn.min{ background:linear-gradient(#ffd28a,#ff9f2f); }
.btn.max{ background:linear-gradient(#9affd8,#2fbf8f); }
.btn.close{ background:linear-gradient(#ff9a9a,#d44); }

.window-body{
  padding:14px;

  background:
    linear-gradient(to bottom, #ffffff, #f6f6f6);

  color: #111;

  border-top: 5px solid rgba(255,255,255,.8);
}

.window-body a{
  color:#0066cc;
}
.window-body a:hover{
  color:#004999;
}


.muted{ color:#555; }


.hr{
  height:1px;
  border:none;
  background:linear-gradient(to right, transparent, rgba(255,255,255,.2), transparent);
  margin:12px 0;
}

.statusbar{
  margin-top:12px;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

.sidebar ul{
  list-style:none;
  padding:0;margin:0;
  display:grid;gap:8px;
}

.sidebar li a{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}

.tag{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-size:12px;
  margin-right:6px;
}
