:root{
  --bg:#0f1220;
  --panel:#161a2e;
  --text:#e9ecff;
  --muted:#aab0d6;
  --line:rgba(255,255,255,.12);
  --accent:#7aa2ff;
  --danger:#ff6b8b;

  --r:16px;
  --pad:14px;
  --max:980px;
  --font: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Segoe UI", Arial, sans-serif;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family:var(--font);
  background:linear-gradient(180deg, #0b0e1a, var(--bg));
  color:var(--text);
}

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

.header{
  position:sticky; top:0;
  backdrop-filter: blur(8px);
  background:rgba(15,18,32,.75);
  border-bottom:1px solid var(--line);
  padding:10px 12px;
  z-index:10;
}

.header .row{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.header h1{
  font-size:16px;
  margin:0;
  letter-spacing:.04em;
}
.nav{
  display:flex; gap:10px; flex-wrap:wrap;
  font-size:13px;
}
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:16px 12px 40px;
}

.card{
  background:rgba(22,26,46,.86);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:var(--pad);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.grid{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px){
  .grid{ grid-template-columns: 1.2fr .8fr; }
}

h2{ margin:0 0 10px; font-size:16px; }
.label{ display:block; font-size:12px; color:var(--muted); margin:10px 0 6px; }

input, textarea, select{
  width:100%;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  padding:10px 12px;
  font:inherit;
}
textarea{ min-height: 46vh; resize:vertical; }

.btns{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
button{
  border-radius:999px;
  border:1px solid var(--line);
  padding:10px 14px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  font:inherit;
  cursor:pointer;
}
button.primary{ border-color:rgba(122,162,255,.6); background:rgba(122,162,255,.18); }
button.danger{ border-color:rgba(255,107,139,.6); background:rgba(255,107,139,.14); }

.small{ font-size:12px; color:var(--muted); }
.list{ display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.item{
  padding:12px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:rgba(255,255,255,.03);
}
.item .top{ display:flex; gap:10px; justify-content:space-between; align-items:flex-start; }
.item .title{ font-weight:700; }
.item .meta{ font-size:12px; color:var(--muted); margin-top:6px; }
.item .actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
