:root { color-scheme: light; --bg: #f5f7f8; --panel: #ffffff; --panel-soft: #eef3f1; --text: #17201c; --muted: #66736d; --line: #d9e1de; --accent: #256f5b; --accent-strong: #174c3e; --warn: #a45b14; --danger: #9d2f2f; --ok: #1c7a4c; --shadow: 0 10px 28px rgba(23, 32, 28, 0.08); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; } button, input, textarea, select { font: inherit; } button { border: 0; cursor: pointer; } .login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; } .login { width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 28px; } .login h1, .view-title h1 { margin: 0; font-size: 28px; line-height: 1.1; } .login p, .view-title p { margin: 8px 0 0; color: var(--muted); } .field { display: grid; gap: 6px; margin-top: 16px; } label { color: var(--muted); font-size: 13px; font-weight: 650; } input, textarea, select { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); padding: 9px 10px; outline: none; } textarea { resize: vertical; min-height: 84px; } input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 111, 91, 0.14); } .primary, .ghost, .danger { min-height: 38px; border-radius: 6px; padding: 8px 12px; font-weight: 700; } .primary { background: var(--accent); color: #fff; } .primary:hover { background: var(--accent-strong); } .ghost { border: 1px solid var(--line); background: #fff; color: var(--text); } .danger { background: #fff1f1; color: var(--danger); border: 1px solid #edc9c9; } .app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); } .sidebar { border-right: 1px solid var(--line); background: #fff; padding: 20px 16px; display: flex; flex-direction: column; gap: 20px; } .brand { display: grid; gap: 4px; } .brand strong { font-size: 18px; } .brand span, .user small, .meta { color: var(--muted); font-size: 13px; } .nav { display: grid; gap: 8px; } .nav button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; border-radius: 6px; background: transparent; color: var(--text); padding: 8px 10px; text-align: left; } .nav button.active { background: var(--panel-soft); color: var(--accent-strong); font-weight: 750; } .user { margin-top: auto; display: grid; gap: 12px; } .content { min-width: 0; padding: 24px; } .topbar { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; } .actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } .status-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); white-space: nowrap; } .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); } .dot.ok { background: var(--ok); } .board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; align-items: start; } .column { min-width: 0; background: #ecf1ef; border: 1px solid var(--line); border-radius: 8px; padding: 10px; min-height: 520px; } .column h2 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font-size: 14px; text-transform: uppercase; color: var(--muted); } .count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: #fff; color: var(--text); } .task { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(23, 32, 28, 0.04); } .task h3 { margin: 0; font-size: 15px; } .task p { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; } .task-footer { display: flex; gap: 6px; align-items: center; justify-content: space-between; } .badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 999px; background: var(--panel-soft); color: var(--accent-strong); font-size: 12px; font-weight: 750; } .task-controls { display: flex; gap: 4px; } .icon-button { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); } .panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; max-width: 760px; } .panel + .panel { margin-top: 14px; } .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .error { margin-top: 12px; color: var(--danger); font-weight: 700; } dialog { width: min(560px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); } dialog::backdrop { background: rgba(18, 26, 23, 0.35); } .dialog-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; } @media (max-width: 980px) { .app-shell { grid-template-columns: 1fr; } .sidebar { position: sticky; top: 0; z-index: 2; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; } .nav, .user { grid-template-columns: repeat(3, minmax(0, 1fr)); } .board { grid-template-columns: repeat(2, minmax(220px, 1fr)); } } @media (max-width: 640px) { .content { padding: 16px; } .topbar { display: grid; } .actions { justify-content: flex-start; } .board, .grid { grid-template-columns: 1fr; } .column { min-height: 260px; } }