:root { --ink: #172033; --muted: #71809b; --paper: #ffffff; --canvas: #f4f7fb; --line: #e5eaf2; --blue: #3563e9; --blue-dark: #244ec9; --green: #138a57; --shadow: 0 8px 30px rgba(36, 57, 91, .08); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 20%, #dce8ff 0, transparent 34%), radial-gradient(circle at 80% 80%, #dff5eb 0, transparent 30%), var(--canvas); }
.auth-card { width: min(100%, 410px); background: var(--paper); padding: 42px; border-radius: 22px; box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.logo span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: var(--blue); color: white; font-size: 16px; }
.auth-card h1 { margin: 32px 0 9px; letter-spacing: -.8px; font-size: 28px; line-height: 1.12; }
.auth-card > p { margin: 0 0 25px; color: var(--muted); line-height: 1.5; }
label { display: grid; gap: 7px; color: #42506a; font-size: 14px; font-weight: 600; }
input, textarea { border: 1px solid #d7deea; background: #fff; border-radius: 9px; color: var(--ink); padding: 10px 12px; outline: none; font-size: 15px; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,99,233,.13); }
textarea { resize: vertical; }
#auth-form { display: grid; gap: 15px; }
.primary, .secondary, .small-button, .icon-button { border-radius: 9px; border: 0; font-weight: 700; transition: .16s ease; }
.primary { padding: 11px 15px; background: var(--blue); color: #fff; margin-top: 4px; }
.primary:hover { background: var(--blue-dark); }
.secondary { padding: 9px 12px; background: #edf2ff; color: #2d55c9; }
.secondary:hover { background: #dfe8ff; }
.link-button { margin-top: 16px; border: 0; background: none; color: #4566c9; padding: 0; font-size: 14px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 255px 1fr; }
.sidebar { background: #18233b; color: #dbe4f7; padding: 25px 15px 18px; display: flex; flex-direction: column; min-height: 100vh; }
.brand { padding: 0 10px 28px; color: white; }
.brand span { background: #6c8dff; }
.full { width: 100%; }
#project-list { display: grid; gap: 4px; margin-top: 24px; }
.project-item { border: 0; background: transparent; border-radius: 8px; padding: 10px; text-align: left; color: #b8c5dd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-item:hover, .project-item.active { background: #2b3a5d; color: #fff; }
.project-item i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; }
.shared-board { width: 100%; margin-top: 13px; color: #dbe4f7; font-weight: 700; }
.sidebar-archive { margin: 14px 10px 0; text-align: left; color: #aabdf1; }
.sidebar-empty { color: #94a2be; font-size: 13px; margin: 0 10px; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid #34425f; font-size: 13px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.sidebar-footer .link-button { text-align: left; margin: 0; color: #aabdf1; }
.workspace { min-width: 0; padding: 34px; }
.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 27px; }
.eyebrow { margin: 0 0 3px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.workspace-header h1 { margin: 0; letter-spacing: -.7px; font-size: 28px; }
.header-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.empty-state { max-width: 480px; padding: 50px 42px; background: white; border-radius: 18px; box-shadow: var(--shadow); text-align: center; margin: 8vh auto; }
.empty-state h2 { margin: 0 0 8px; }.empty-state p { color: var(--muted); line-height: 1.5; margin: 0; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(285px, 330px); gap: 16px; overflow-x: auto; align-items: start; padding-bottom: 20px; }
.kanban-column { background: #eaf0f8; border-radius: 13px; min-height: 220px; padding: 12px; }
.kanban-column > header { display: flex; align-items: center; justify-content: space-between; padding: 1px 1px 12px 5px; }
.kanban-column > header > div { display: flex; align-items: center; gap: 8px; }.kanban-column h2 { margin: 0; font-size: 15px; }.kanban-column header span { color: var(--muted); font-size: 13px; }
.icon-button { width: 25px; height: 25px; background: transparent; color: #5c6c8b; font-size: 21px; line-height: 1; }.icon-button:hover { background: #d9e3f3; }
.task-stack { display: grid; gap: 10px; min-height: 145px; }
.task-card { background: white; border-radius: 10px; padding: 14px; box-shadow: 0 2px 8px rgba(36,57,91,.07); border: 1px solid transparent; border-left: 4px solid var(--project-color, transparent); cursor: grab; }.task-card.dragging { opacity: .45; }.task-card:hover { border-color: #cbd8f3; }
.task-card h3 { margin: 0; font-size: 15px; line-height: 1.35; }.task-description { color: #526078; line-height: 1.4; font-size: 13px; margin: 9px 0; }.task-meta { margin: 11px 0; display: flex; justify-content: space-between; gap: 8px; color: #61708b; font-size: 12px; }.due-date { color: #a35620; text-align: right; }
.project-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: #68758b; font-size: 11px; font-weight: 700; }.project-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--project-color); }
.task-actions { display: flex; gap: 5px; padding-top: 1px; flex-wrap: wrap; }.small-button { padding: 6px 8px; background: #edf2ff; color: #3658bd; font-size: 11px; }.small-button:hover:not(:disabled) { background: #dce7ff; }.small-button.done { margin-left: auto; color: var(--green); background: #e7f6ee; }.small-button.archive { color: #8a5361; background: #f8edf0; }.small-button.restore { color: var(--green); background: #e7f6ee; }.small-button:disabled { opacity: .42; cursor: default; }
.status-history { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 6px; }.status-history div { display: flex; gap: 5px; flex-direction: column; color: #5d6a82; font-size: 11px; }.status-history time { color: #99a4b9; font-size: 10px; }
.column-placeholder { border: 1px dashed #c5d1e3; border-radius: 8px; color: #94a0b5; font-size: 12px; padding: 16px 10px; text-align: center; }
dialog { border: 0; padding: 0; border-radius: 15px; box-shadow: 0 16px 60px rgba(20, 31, 53, .25); width: min(calc(100% - 32px), 510px); }dialog::backdrop { background: rgba(22, 32, 51, .38); }.modal-form { display: grid; gap: 16px; padding: 24px; }.modal-head { display: flex; justify-content: space-between; align-items: center; }.modal-head h2 { margin: 0; font-size: 20px; }.modal-head button { border: 0; background: none; font-size: 26px; color: #68758b; line-height: 1; }.optional { color: var(--muted); font-weight: 400; }.date-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.report-total { margin: 7px 0 0; font-weight: 800; }.report-list { display: grid; gap: 7px; max-height: 300px; overflow: auto; }.report-list > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px; border-radius: 8px; background: #f5f7fb; font-size: 13px; }.report-list span { color: var(--muted); font-size: 12px; }.report-list b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--green); }.muted { color: var(--muted); }
#toast { position: fixed; z-index: 10; right: 20px; bottom: 20px; max-width: 360px; color: white; background: #be3946; padding: 12px 15px; border-radius: 9px; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s; }#toast.visible { transform: translateY(0); opacity: 1; }#toast.success { background: var(--green); }
.danger-button { color: #934451; background: #f8edf0; }.danger-button:hover { background: #f3dfe4; }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { min-height: auto; padding: 15px; }.brand { padding: 0 0 15px; }.sidebar-footer { display: none; }#project-list { display: flex; overflow-x: auto; margin: 14px 0 0; }.workspace { padding: 20px 16px; }.workspace-header { align-items: flex-start; flex-direction: column; padding-bottom: 18px; }.workspace-header h1 { font-size: 23px; }.board { margin-right: -16px; }.auth-card { padding: 30px 25px; } }
