:root { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif; color: #293d3a; background: #f4f6f3; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1080px; margin: auto; padding: 32px 20px; }
header { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
h1 { font-size: 28px; margin: 8px 0; }
h2 { font-size: 20px; margin-top: 0; }
p { line-height: 1.8; }
.eyebrow { font-size: 12px; letter-spacing: .12em; color: #53786c; }
.panel, .post { background: white; border: 1px solid #dbe3dc; border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.layout { display: grid; grid-template-columns: 350px 1fr; gap: 24px; align-items: start; }
label { display: block; margin: 16px 0 8px; font-weight: 600; }
input, textarea, select, button { font: inherit; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid #bdcdc2; border-radius: 8px; color: inherit; background: white; font-size: 16px; }
textarea { resize: vertical; }
button { min-height: 46px; padding: 10px 14px; border: 1px solid #bdcdc2; border-radius: 8px; color: #365d50; background: white; cursor: pointer; }
button:hover { background: #eaf2ec; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #92c9b1; outline-offset: 2px; }
.primary { background: #386852; color: white; width: 100%; margin: 16px 0 10px; border: 0; }
.primary:hover { background: #28523f; }
.toolbar, .actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.toolbar button[aria-pressed="true"] { background: #386852; color: white; }
.hint, footer { font-size: 13px; color: #5b7063; }
#notice { white-space: pre-wrap; border-left: 4px solid #8bb79b; padding: 0 14px; overflow-wrap: anywhere; }
#notice:empty { display: none; }
#notice.error { border-color: #b85e52; color: #8c342c; }
.meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #52695a; }
.badge { border-radius: 18px; background: #f0f1df; padding: 4px 9px; }
.done { background: #e1f0e6; }
.body, .memo { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.memo { background: #f5f7f3; border-radius: 8px; padding: 12px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check input { width: 20px; height: 20px; flex-shrink: 0; }
.empty { padding: 32px 16px; border: 1px dashed #bdcdc2; border-radius: 12px; text-align: center; }
footer { margin-top: 32px; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  main { padding: 20px 14px; }
  .layout { grid-template-columns: 1fr; gap: 4px; }
  h1 { font-size: 24px; }
  .panel, .post { padding: 18px; }
  .toolbar button { flex-grow: 1; }
  .actions button { flex: 1 1 auto; }
}
