/* Shared site shell (header/footer + basic layout). No dependencies. */

:root{
  --bg: #0b0f14;
  --text: #f2f6fb;
  --muted: rgba(242, 246, 251, 0.72);
  --border: rgba(242, 246, 251, 0.14);
  --panel: rgba(255,255,255,0.03);
  --focus: #9fd0ff;
  --max: 1100px;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
a:focus{
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }

.site-header{
  border-bottom: 1px solid var(--border);
  background: rgba(11,15,20,0.92);
}

.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.site-name{
  font-weight: 800;
  letter-spacing: -0.2px;
}

.site-nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--muted);
}

.nav-link[aria-current="page"]{
  color: var(--text);
  border-color: var(--border);
  background: var(--panel);
}

.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  padding: 14px 0;
}

.footer-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page{
  padding: 22px 0 28px;
}

.page-title{
  margin: 0 0 8px 0;
  font-size: 22px;
  letter-spacing: -0.3px;
}

/* Simple list styling for the tools page */
.tool-list{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.tool-item{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-name{
  font-weight: 700;
}

.tool-status{
  color: var(--muted);
  font-size: 13px;
}

/* Mobile safety */
@media (max-width: 520px){
  .tool-item{
    flex-direction: column;
    align-items: flex-start;
  }
}