:root {
  --bg: #008080;
  --win: #c0c0c0;
  --win-dark: #808080;
  --win-light: #ffffff;
  --text: #000000;
  --link: #0000aa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
.desktop {
  max-width: 900px;
  margin: 26px auto;
  padding: 0 10px;
}
.window {
  background: var(--win);
  border-top: 2px solid var(--win-light);
  border-left: 2px solid var(--win-light);
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: 2px 2px 0 rgba(0,0,0,.35);
}
.titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  padding: 5px 8px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.titlebtn {
  width: 18px;
  height: 16px;
  background: var(--win);
  border-top: 1px solid var(--win-light);
  border-left: 1px solid var(--win-light);
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}
.content { padding: 12px; }

.toolbar {
  border: 1px solid var(--win-dark);
  background: #d4d0c8;
  padding: 6px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.status { color: #111; }

.panel {
  background: #d4d0c8;
  border-top: 1px solid var(--win-light);
  border-left: 1px solid var(--win-light);
  border-right: 1px solid var(--win-dark);
  border-bottom: 1px solid var(--win-dark);
  padding: 10px;
  margin-bottom: 10px;
}

label {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #222;
}
input, textarea {
  width: 100%;
  font: inherit;
  padding: 6px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-light);
  background: #fff;
  margin-bottom: 8px;
}
textarea { min-height: 120px; resize: vertical; }

button {
  font: inherit;
  padding: 5px 12px;
  background: #d4d0c8;
  border-top: 1px solid var(--win-light);
  border-left: 1px solid var(--win-light);
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  cursor: pointer;
}
button:active {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-light);
}

#notice {
  min-height: 18px;
  color: #222;
  margin: 2px 0 10px;
  font-size: 12px;
}
#notice.error { color: #990000; }

.post {
  background: #fff;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-light);
  padding: 10px;
  margin-bottom: 8px;
}
.post h2 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #000080;
}
.post h2 a {
  color: inherit;
  text-decoration: underline;
}
.meta {
  color: #444;
  font-size: 12px;
  margin-bottom: 6px;
}
.body { white-space: pre-wrap; }
.excerpt {
  color: #222;
  margin-bottom: 8px;
  white-space: pre-wrap;
}
.read-link {
  color: var(--link);
  text-decoration: underline;
  font-size: 13px;
}
.view-nav {
  margin-bottom: 8px;
  font-size: 12px;
}
.view-nav a {
  color: var(--link);
  text-decoration: underline;
}

.footer {
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  color: #111;
}
.footer a {
  color: var(--link);
  text-decoration: underline;
}

.empty {
  background: #fff;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-light);
  padding: 10px;
  font-size: 13px;
  color: #444;
}
