:root { color-scheme: light; font-family: system-ui, sans-serif; color: #0c4c50; background: #d3e8df; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.header { padding: 16px clamp(18px, 5vw, 64px); border-bottom: 1px solid #0c4c5055; display: flex; align-items: center; justify-content: space-between; }
.home-link { display: inline-block; border-radius: 50%; line-height: 0; }
.home-link:focus-visible { outline: 3px solid #0c4c50; outline-offset: 4px; }
.home-link img { display: block; width: 80px; height: auto; }
main { max-width: 960px; margin: auto; padding: 36px 20px 64px; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; }
h1 { font-size: 2.3rem; margin: 0 0 24px; }
h2 { font-size: 1.5rem; margin: 0 0 16px; }
section { margin-top: 36px; }
.hint { color: #315e5b; line-height: 1.5; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { border: 1px solid #0c4c5066; border-radius: 12px; padding: 16px; background: #ffffff55; overflow-wrap: anywhere; }
.list li p { margin: 8px 0 0; line-height: 1.5; color: #315e5b; }
.table-wrap { overflow-x: auto; border: 1px solid #0c4c5066; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: #ffffff55; text-align: left; }
th, td { padding: 14px; border-bottom: 1px solid #0c4c5022; vertical-align: top; overflow-wrap: anywhere; }
th { font-size: .9rem; } tr:last-child td { border-bottom: 0; }
button, input { font: inherit; } button { cursor: pointer; }
dialog { width: min(90vw, 420px); border: 1px solid #0c4c50; border-radius: 16px; color: #0c4c50; }
dialog::backdrop { background: #002e32aa; }
dialog form { display: grid; gap: 12px; } dialog input { padding: 10px; width: 100%; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.dialog-actions button, .edit-button { border: 1px solid #0c4c50; border-radius: 8px; background: transparent; color: #0c4c50; padding: 9px 12px; }
[hidden] { display: none !important; }
