* { box-sizing: border-box; }
html { color-scheme: light; background: #fff; }
body { margin: 0; color: #153f53; font: 21px/1.5 "EB Garamond", Georgia, serif; -webkit-font-smoothing: antialiased; }
main { max-width: 1060px; margin: 0 auto; padding: 42px 28px 60px; }
nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; font-size: 18px; text-underline-offset: 4px; }
header { margin: 30px 0 28px; }
header img { display: block; margin-bottom: 18px; }
h1 { margin: 0; font-size: clamp(34px, 4.5vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: -.015em; }
header p { margin: 16px 0 0; }
.worksheet { border: 1px solid #cbdde4; border-radius: 16px; overflow: hidden; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.thought-column { width: 17%; }
th, td { padding: 16px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
thead { background: #edf5f9; }
th { font-weight: 600; }
th + th, td { border-left: 1px solid #d7e3e8; }
tbody tr { border-top: 1px solid #d7e3e8; }
.example { background: #fff8e9; }
tbody th { font-size: 20px; }
textarea { display: block; width: 100%; min-height: 132px; padding: 12px; border: 1px solid #b4cbd5; border-radius: 8px; background: #fff; color: #153f53; font: inherit; line-height: 1.4; resize: vertical; }
textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #e8c94e; outline-offset: 3px; }
footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 24px; }
footer p { max-width: 660px; margin: 0; color: #55737f; font-size: 17px; line-height: 1.4; }
#save-status { margin-top: 6px; }
button { flex-shrink: 0; min-height: 44px; padding: 8px 18px; border: 1px solid #b4cbd5; border-radius: 99px; color: #153f53; background: #fff; font: 18px/1.4 "EB Garamond", Georgia, serif; cursor: pointer; }
button:hover:not(:disabled) { background: #edf5f9; }
button:disabled { opacity: .5; cursor: default; }
@media (max-width: 600px) {
  main { padding: 24px 16px 40px; }
  body { font-size: 19px; }
  header { margin: 24px 0; }
  .thought-column { width: 26%; }
  th, td { padding: 10px 8px; }
  thead th, tbody th { font-size: 17px; line-height: 1.25; }
  tbody th { overflow-wrap: normal; }
  textarea { padding: 8px; font-size: 18px; min-height: 150px; }
  footer { flex-direction: column; gap: 16px; }
}
