:root { --body-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; --muted: #888; --border: #e0e0e0; } body { padding: 12px; width: 90%; max-width: 800px; margin: 0 auto; font-family: var(--body-font); } input { font-family: var(--body-font); font-size: 1rem; } /* ── New item form ── */ #new-item-form { display: flex; gap: 0.5em; align-items: stretch; } #new-item-text { flex: 1; box-sizing: border-box; } #new-item-submit { cursor: pointer; font-family: var(--body-font); box-sizing: border-box; } /* ── List ── */ #list { list-style: none; padding: 0; margin-top: 1em; } .list-item { margin-bottom: 0.25em; } /* ── Item row ── */ .item-row { display: flex; align-items: center; gap: 0.5em; } .item-row input[type="checkbox"] { flex-shrink: 0; } .item-text { flex: 1; cursor: pointer; padding: 2px 0; } .editor { flex: 1; font-family: var(--body-font); font-size: 1rem; min-width: 0; } /* ── Item info (date · id · history button) ── */ .item-info { display: flex; align-items: center; gap: 0.4em; color: var(--muted); font-size: 0.75em; white-space: nowrap; } .item-date { /* date label */ } .item-id { font-family: monospace; cursor: default; border-bottom: 1px dotted var(--muted); } .history-btn { background: none; border: 1px solid var(--border); border-radius: 3px; cursor: pointer; font-size: 0.9em; color: var(--muted); padding: 1px 5px; font-family: var(--body-font); } .history-btn:hover { background: #f5f5f5; color: #555; } /* ── History panel ── */ .history-panel { margin-top: 0.25em; margin-left: 0.5em; padding: 0.5em 0.75em; border-left: 2px solid var(--border); font-size: 0.8em; color: #555; } .history-key { font-family: monospace; color: var(--muted); margin-bottom: 0.4em; word-break: break-all; } .history-table { border-collapse: collapse; width: 100%; } .history-table td { padding: 2px 8px 2px 0; vertical-align: top; } .history-table tr:first-child td { font-weight: 500; } .entry-id { font-family: monospace; color: var(--muted); cursor: default; border-bottom: 1px dotted var(--muted); white-space: nowrap; }