* { box-sizing: border-box; font-family: Arial, sans-serif; }
body { background: #bfbfbf; margin: 0; padding: 16px; }
.app {
  width: 600px; max-width: 100%;
  margin: 0 auto; background: #eee; border: 1px solid #999;
  padding: 10px;
}
.card {
  background: #f7f7f7; border: 1px solid #b5b5b5; border-radius: 8px;
  padding: 10px; margin-bottom: 10px;
}
.card.head { background: #cfe8ff; }
h1 { margin: 0; font-size: 35px; line-height: 1.1; }
h2 { margin: 0 0 8px; font-size: 18px; }
.meta { font-size: 13px; margin-top: 6px; color: #333; }
.by { font-size: 20px; margin-top: 6px; font-weight: bold; }
.toolbar { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.btn {
  display: inline-block; border: none; text-decoration: none; color: #111;
  padding: 6px 10px; border-radius: 6px; font-size: 13px; cursor: pointer;
}
.btn-green { background: #93e493; }
.btn-yellow { background: #ffe58a; }
.btn-blue { background: #8ec5ff; color: #03284f; }
.btn-mini { padding: 4px 7px; font-size: 12px; border: 1px solid #999; background: #fff; }
.row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 6px 0; border-bottom: 1px dashed #ccc;
}
.row:last-child { border-bottom: none; }
.left a.main-link { color: #00376b; text-decoration: none; font-weight: bold; }
.left a.main-link:hover { text-decoration: underline; }
.actions { display: flex; gap: 5px; align-items: center; }
.inline { display: inline; margin: 0; }
.group-title {
  margin-top: 6px; margin-bottom: 4px; font-weight: bold; color: #1f3f63; font-size: 13px;
}
label { display: block; font-size: 13px; margin-bottom: 4px; }
input, select, textarea {
  width: 100%; padding: 7px; border: 1px solid #aaa; border-radius: 6px;
  margin-bottom: 8px; background: #fff;
}
.form-actions { display: flex; gap: 8px; }
.small { font-size: 12px; color: #555; }
table.details { width: 100%; border-collapse: collapse; }
table.details td { border-bottom: 1px solid #ddd; padding: 6px; font-size: 13px; }
