/* Deliberately plain: flat background, plain buttons, no decoration. */ * { box-sizing: border-box; } body { margin: 0; padding: 0; background: #eceae5; color: #1c1c1c; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; } h1 { font-size: 24px; margin: 0 0 4px; } h2 { font-size: 18px; margin: 0 0 12px; } p { margin: 0 0 12px; } a { color: #1f4f7a; } .wrap { max-width: 620px; margin: 0 auto; padding: 32px 20px 60px; } .subtitle { color: #555; margin-bottom: 28px; } /* ------------------------------------------------------------------ inputs */ label { display: block; margin: 0 0 4px; font-weight: 600; } input[type="text"], input[type="search"], textarea, select { width: 100%; padding: 9px 10px; border: 1px solid #9a958c; border-radius: 4px; background: #fff; color: inherit; font: inherit; } textarea { resize: vertical; min-height: 90px; } input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, .card:focus-visible { outline: 2px solid #1f4f7a; outline-offset: 1px; } .field { margin-bottom: 18px; } .hint { font-weight: 400; color: #555; font-size: 14px; } .check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; } .check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; } button { padding: 10px 18px; border: 1px solid #6d6862; border-radius: 4px; background: #dcd8d1; color: inherit; font: inherit; cursor: pointer; } button:hover { background: #d0ccc4; } button:active { background: #c4bfb6; } button.primary { background: #1f4f7a; border-color: #163a5a; color: #fff; font-weight: 600; } button.primary:hover { background: #1a4468; } button.big { padding: 16px 26px; font-size: 18px; } button.small { padding: 5px 10px; font-size: 14px; } .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } /* ------------------------------------------------------------------ notices */ .notice { padding: 10px 12px; border-radius: 4px; border: 1px solid #6d6862; background: #dcd8d1; margin-bottom: 16px; } .notice.ok { background: #d8e8d6; border-color: #4a7a46; } .notice.error { background: #f2d7d5; border-color: #a33c33; } .notice[hidden] { display: none; } .url-preview { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: #fff; border: 1px solid #cbc6bd; border-radius: 4px; padding: 8px 10px; word-break: break-all; } /* ---------------------------------------------------------------- dashboard */ body.dashboard { height: 100vh; display: flex; flex-direction: column; overflow: hidden; } .board-header { flex: 0 0 auto; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 12px 18px; background: #dcd8d1; border-bottom: 1px solid #b8b3aa; } .board-header h1 { font-size: 20px; margin: 0; } .board-header .spacer { flex: 1 1 auto; } .board-header .meta { color: #555; font-size: 14px; } .board { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px 18px 18px; min-height: 0; } .column { display: flex; flex-direction: column; min-height: 0; background: #e2dfd9; border: 1px solid #b8b3aa; border-radius: 6px; } .column-header { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #b8b3aa; } .column-header h2 { margin: 0; font-size: 16px; } .column-header .count { color: #555; font-size: 14px; margin-right: auto; } .column-header select { width: auto; padding: 3px 6px; font-size: 13px; } /* The scroll container the spec asks for: each column scrolls on its own. */ .cards { flex: 1 1 auto; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 10px; } .card { background: #fff; border: 1px solid #b8b3aa; border-left: 4px solid #b8b3aa; border-radius: 6px; padding: 9px 11px; cursor: grab; /* Let a finger scroll the column; the grip below opts out for dragging. */ touch-action: pan-y; user-select: none; } .card.incomplete { border-color: #c0392b; border-width: 2px; border-left-width: 4px; } .card-top { display: flex; align-items: flex-start; gap: 8px; } .card-title { flex: 1 1 auto; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: #b8b3aa; text-underline-offset: 2px; } .card-grip { flex: 0 0 auto; margin: -4px -4px 0 0; padding: 4px 6px; color: #9a958c; line-height: 1; cursor: grab; touch-action: none; } .card-grip:hover { color: #555; } .card-line { font-size: 14px; color: #444; margin-top: 3px; } .card-line b { font-weight: 600; color: #222; } .chip { display: inline-block; margin-top: 7px; padding: 2px 9px; border-radius: 999px; background: #6d6862; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; } .card.dragging { position: fixed; z-index: 50; width: var(--drag-width); pointer-events: none; cursor: grabbing; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); transform: rotate(1deg); } /* Dashed box showing where the card would land. */ .placeholder { border: 2px dashed #6d6862; border-radius: 6px; background: rgba(255, 255, 255, 0.35); } .empty-note { color: #6d6862; font-size: 14px; font-style: italic; } /* ----------------------------------------------------------------- dialogs */ dialog { border: 1px solid #6d6862; border-radius: 6px; background: #eceae5; color: inherit; padding: 0; max-width: 560px; width: calc(100vw - 32px); } dialog::backdrop { background: rgba(0, 0, 0, 0.45); } .dialog-body { padding: 20px; } .dialog-body h2 { margin-bottom: 14px; } .dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; } .dialog-actions .left { margin-right: auto; } .rules-text { white-space: pre-wrap; max-height: 60vh; overflow-y: auto; } /* ---------------------------------------------------- detail overlay fields */ #detail { max-width: 640px; } #detail .dialog-body { max-height: 85vh; overflow-y: auto; } /* The record is long enough to scroll, so keep Close on screen. */ #detail .dialog-actions { position: sticky; bottom: -20px; margin: 18px -20px -20px; padding: 12px 20px; background: #eceae5; border-top: 1px solid #cbc6bd; } /* Two columns for the short fields, so the notes are visible without scrolling. */ #detail-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; } .detail-field { margin-bottom: 10px; min-width: 0; } .detail-field.wide { grid-column: 1 / -1; } .detail-field > label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #555; margin-bottom: 2px; } /* Click-to-edit: the value looks like text until you click it. */ .editable { display: block; width: 100%; text-align: left; padding: 7px 9px; border: 1px solid transparent; border-radius: 4px; background: #fff; font: inherit; color: inherit; cursor: text; white-space: pre-wrap; min-height: 34px; } .editable:hover { border-color: #9a958c; } .editable.empty { color: #8a857d; font-style: italic; } .editable.readonly { background: transparent; cursor: default; color: #555; } .editable.readonly:hover { border-color: transparent; } .notes-list { list-style: none; margin: 0 0 10px; padding: 0; } .notes-list li { background: #fff; border: 1px solid #cbc6bd; border-radius: 4px; padding: 7px 9px; margin-bottom: 7px; white-space: pre-wrap; } .notes-list time { display: block; font-size: 12px; color: #666; margin-bottom: 2px; } @media (max-width: 800px) { .board { grid-template-columns: 1fr; overflow-y: auto; } body.dashboard { overflow: auto; height: auto; } .column { min-height: 240px; } }