* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #273c32; --muted: #7a857c; --line: #e4e9e0; --green: #37654b; }
body { margin: 0; background: #f7f8f5; color: var(--ink); font: 14px/1.6 "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #91ae77; outline-offset: 3px; }
.sidebar { width: 245px; position: fixed; inset: 0 auto 0 0; background: #f0f3eb; border-right: 1px solid var(--line); padding: 29px 19px; display: flex; flex-direction: column; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; letter-spacing: -.5px; }
.brand-light { font-weight: 400; }
.brand-icon { width: 29px; height: 30px; border-radius: 9px; background: #39644c; display: grid; place-items: center; font: italic 28px Georgia, serif; color: white; }
.workspace { display: flex; gap: 10px; align-items: center; margin: 35px 0 30px; padding: 12px 8px; border-block: 1px solid #dfe5d8; }
.workspace strong { display: block; font-size: 12px; font-weight: 600; }
.workspace small { color: var(--muted); font-size: 10px; }
.workspace-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #e1e7d7; color: #69815a; font-size: 12px; }
.nav-label { font-size: 10px; letter-spacing: 1.5px; color: #8a9584; padding-inline: 10px; font-weight: 600; }
.nav-item { border: 0; background: none; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 12px; margin: 4px 0; border-radius: 6px; font-size: 12px; }
.nav-item.active { background: #e0e8d8; color: #35583c; font-weight: 600; }
.nav-item:hover { background: #e7ecdf; }
.nav-count { margin-left: auto; font-size: 10px; }
.projects-label { margin-top: 27px; display: flex; align-items: center; justify-content: space-between; }
.projects-label button { border: 0; background: none; font-size: 20px; color: #78856e; }
.project-dot { width: 7px; height: 7px; border-radius: 2px; background: #92aa77; flex-shrink: 0; }
.project-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#projects { overflow-y: auto; }
.sidebar-bottom { margin-top: auto; display: flex; gap: 10px; padding: 25px 8px 0; }
.sidebar-bottom strong { font-size: 11px; font-weight: 600; }
.sidebar-bottom p { font-size: 10px; color: #8b9684; margin: 3px 0; }
.local-dot { margin-top: 7px; width: 6px; height: 6px; background: #88a16c; border-radius: 50%; flex-shrink: 0; }
.text-button { background: none; border: none; padding: 0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; color: #77856f; }
.main-shell { margin-left: 245px; }
.topbar { height: 77px; padding: 0 43px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #8b9588; font-size: 11px; }
.topbar strong { color: #596b55; font-weight: 500; }
.breadcrumb-slash { margin: 0 15px; color: #c2cbbd; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.user-avatar { border-radius: 50%; background: #e4dfcb; color: #887d56; width: 30px; height: 30px; display: grid; place-items: center; }
main { max-width: 1500px; padding: 43px; margin: auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.eyebrow { font-size: 9px; letter-spacing: 1.7px; color: #8b987d; font-weight: 600; margin: 0 0 10px; }
h1 { font: 39px/1.2 Georgia, serif; letter-spacing: -1.2px; margin: 0; }
.page-heading p:last-child { color: #8b9588; font-size: 12px; margin: 12px 0 0; }
.primary { border: 0; background: var(--green); color: white; padding: 10px 17px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.primary:hover { background: #294e38; }
#newTask { display: flex; gap: 9px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fffefa; border-radius: 9px; padding: 21px 0; margin-bottom: 35px; }
.stats > div { padding: 0 23px; border-right: 1px solid var(--line); }
.stats > div:last-child { border: 0; }
.stats span { display: block; font-size: 11px; color: #829077; }
.stats strong { display: block; font-size: 28px; line-height: 1.7; font-weight: 500; }
.stats small { display: block; font-size: 10px; color: #9aa390; }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.view-tabs { display: flex; background: #ebefe5; padding: 4px; border-radius: 6px; }
.view-tabs button { border: 0; background: none; border-radius: 4px; padding: 5px 20px; font-size: 11px; color: #819074; }
.view-tabs .selected { background: #fffefa; box-shadow: 0 1px 3px #233b3210; color: #3e593b; }
.filters { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; background: #fffefa; border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; color: #9ca78f; }
.search input { background: none; border: none; outline: none; width: 145px; font-size: 11px; }
.filters select { padding: 8px 9px; background: #fffefa; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; color: #6c7a61; }
.board-title { display: flex; align-items: center; gap: 10px; margin: 23px 0 19px; }
.board-title h2 { font-size: 14px; font-weight: 600; margin: 0; }
.board-title span { font-size: 10px; color: #9ba68f; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; min-height: 350px; }
.column { padding: 13px; border-radius: 8px; background: #edf0e8; min-height: 305px; }
.column-heading { display: flex; align-items: center; gap: 8px; margin: 0 2px 15px; font-size: 11px; font-weight: 600; }
.column-dot { width: 7px; height: 7px; border-radius: 50%; background: #9eac94; }
.column.progress .column-dot { background: #c9ab66; }
.column.done .column-dot { background: #6e9676; }
.column-heading b { font-size: 10px; color: #91a083; font-weight: 500; }
.column-heading button { margin-left: auto; border: none; background: none; font-size: 18px; color: #93a083; }
.task-card { border: 1px solid #e0e6d8; background: #fffefa; border-radius: 7px; padding: 17px 15px 12px; margin-bottom: 12px; box-shadow: 0 2px 3px #34452d03; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.priority { font-size: 9px; border-radius: 4px; padding: 2px 7px; }
.priority.high { color: #b47c65; background: #f7e9df; }
.priority.medium { color: #a08b50; background: #f6f0d9; }
.priority.low { color: #76916d; background: #eaf0e1; }
.edit-task { background: none; border: none; color: #9ca88e; font-size: 17px; line-height: 1; padding: 2px 4px; }
.task-title { display: block; border: none; background: none; font-size: 12px; text-align: left; font-weight: 600; padding: 0; margin: 12px 0 7px; line-height: 1.5; overflow-wrap: anywhere; width: 100%; }
.task-description { font-size: 10px; color: #8a967e; line-height: 1.7; margin: 0 0 13px; overflow-wrap: anywhere; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-project { display: inline-block; font-size: 9px; color: #7c9270; background: #eff3e9; padding: 2px 7px; border-radius: 3px; max-width: 100%; overflow-wrap: anywhere; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #edf0e7; margin-top: 13px; padding-top: 9px; font-size: 9px; color: #96a189; }
.card-bottom .overdue { color: #b7755d; }
.card-bottom select { max-width: 105px; border: none; background: #f6f7f1; color: #758568; border-radius: 4px; font-size: 9px; padding: 3px; }
.empty-column { padding: 35px 10px; text-align: center; color: #89967d; font-size: 11px; border: 1px dashed #d3ddc8; border-radius: 6px; }
.empty-column p { margin: 0 0 9px; }
.empty-column button { border: none; background: none; color: #58784d; font: inherit; text-decoration: underline; }
.board.list-mode { display: block; }
.list-mode .column { margin-bottom: 18px; min-height: 0; }
.list-mode .task-card { display: grid; grid-template-columns: 90px 1.3fr 1fr 110px 190px; gap: 12px; align-items: center; }
.list-mode .task-title, .list-mode .task-description { margin: 0; }
.list-mode .card-bottom { margin: 0; border: 0; padding: 0; }
.list-mode .card-project { justify-self: start; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 10px; color: #a0aa95; }
dialog { border: 1px solid #e0e7d8; border-radius: 12px; padding: 28px; width: min(520px, calc(100% - 32px)); color: var(--ink); background: #fffefa; box-shadow: 0 30px 100px #1b332335; max-height: 90vh; overflow: auto; }
dialog::backdrop { background: #233b3255; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.dialog-heading h2 { font: 26px Georgia, serif; margin: 0; }
.icon-button { background: none; border: none; font-size: 25px; color: #85947a; }
form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #6c7e60; margin-bottom: 17px; }
form input, form textarea, form select { width: 100%; padding: 10px 12px; border: 1px solid #dce4d3; border-radius: 5px; background: #f9faf5; color: var(--ink); }
form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-top: 8px; }
.danger { background: none; border: none; color: #a06f5e; font-size: 12px; margin-right: auto; }
#notice:not(:empty) { font-size: 12px; background: #f1ead6; color: #806d40; border-radius: 5px; padding: 10px 14px; margin: 0 0 20px; }
#privacyDialog p { font-size: 13px; color: #6e7c65; }
@media (min-width: 1500px) { h1 { font-size: 45px; } main { padding-top: 55px; } }
@media (max-width: 1150px) { .sidebar { width: 215px; padding-inline: 14px; } .main-shell { margin-left: 215px; } main { padding: 28px; } .topbar { padding-inline: 28px; } .brand { font-size: 14px; } .board { gap: 10px; } .column { padding: 9px; } .stats > div { padding-inline: 15px; } .list-mode .task-card { grid-template-columns: 80px 1fr 150px; } .list-mode .task-description, .list-mode .card-project { display: none; } }
@media (max-width: 900px) { .sidebar { width: 190px; } .main-shell { margin-left: 190px; } h1 { font-size: 32px; } .board { grid-template-columns: 1fr; } .column { min-height: 0; } .board-toolbar { flex-wrap: wrap; } .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; } .stats > div:nth-child(2) { border: none; } .brand { font-size: 12px; gap: 6px; } .brand-icon { width: 24px; } .page-heading { align-items: flex-start; } }
@media (max-width: 620px) { .sidebar { position: static; width: auto; padding: 18px 20px; border-right: 0; border-bottom: 1px solid var(--line); } .brand { font-size: 19px; } .brand-icon { width: 29px; } .workspace, .sidebar-bottom, .nav-label { display: none; } #allTasks { margin-top: 18px; } #projects { display: flex; overflow-x: auto; gap: 5px; } #projects .nav-item { min-width: fit-content; } .projects-label { display: flex; margin: 10px 0 0; } .main-shell { margin: 0; } .topbar { padding: 0 20px; height: 55px; } #today { display: none; } main { padding: 26px 20px; } .page-heading { flex-wrap: wrap; } h1 { font-size: 34px; } .eyebrow { font-size: 8px; } .filters { width: 100%; } .search { flex: 1; min-width: 0; } .search input { width: 100%; min-width: 0; } .stats small { font-size: 9px; } .list-mode .task-card { display: block; } .list-mode .task-title { margin: 10px 0; } .list-mode .card-bottom { margin-top: 12px; } footer span:nth-child(2) { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
