:root {
--background: 220 18% 3%;
--foreground: 210 20% 92%;
--card: 220 14% 6%;
--secondary: 220 11% 10%;
--muted: 220 11% 10%;
--muted-foreground: 220 8% 66%;
--accent: 220 10% 14%;
--primary: 160 84% 39%;
--destructive: 0 72% 48%;
--border: 220 9% 16%;
--input: 220 9% 16%;
--ring: 160 84% 39%;
--radius: 0.375rem;
color-scheme: dark;
}
* {
box-sizing: border-box;
scrollbar-color: hsl(var(--accent)) hsl(var(--background));
scrollbar-width: thin;
}
*::-webkit-scrollbar {
width: 10px;
height: 10px;
}
*::-webkit-scrollbar-track {
background: hsl(var(--background));
}
*::-webkit-scrollbar-thumb {
background: hsl(var(--accent));
border: 2px solid hsl(var(--background));
border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
background: hsl(var(--border));
}
body {
margin: 0;
background: hsl(var(--background));
color: hsl(var(--foreground));
font: 14px/1.45 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body,
html {
min-width: 320px;
}
button,
input,
textarea {
font: inherit;
}
button,
input,
textarea {
min-height: 32px;
border: 1px solid hsl(var(--input));
border-radius: var(--radius);
}
input,
textarea {
width: 100%;
background: hsl(var(--secondary));
color: hsl(var(--foreground));
padding: 6px 8px;
}
textarea {
min-height: 64px;
resize: vertical;
}
button {
cursor: pointer;
background: hsl(var(--primary));
color: hsl(var(--background));
padding: 0 10px;
font-weight: 650;
white-space: nowrap;
}
button:hover {
filter: brightness(1.08);
}
button:disabled,
button[aria-disabled="true"] {
cursor: not-allowed;
opacity: .42;
filter: grayscale(.45);
}
button:disabled:hover,
button[aria-disabled="true"]:hover {
filter: grayscale(.45);
}
button.secondary {
background: hsl(var(--secondary));
color: hsl(var(--foreground));
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 14px 16px;
border-bottom: 1px solid hsl(var(--border));
background: hsl(var(--card));
}
.topbar h1 {
margin: 0;
font-size: 18px;
}
.topbar__actions {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.eyebrow {
margin: 0;
color: hsl(var(--muted-foreground));
font-size: 11px;
letter-spacing: .06em;
text-transform: uppercase;
}
.root {
max-width: 50vw;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: hsl(var(--muted-foreground));
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
font-size: 12px;
}
.board-shell {
width: min(100%, 1920px);
margin: 0 auto;
padding: 16px;
}
.panel,
.column,
.task-card,
.metrics span {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 8px;
}
.dialog-card h2 {
margin: 0;
font-size: 16px;
}
.app-dialog {
width: min(720px, calc(100vw - 24px));
max-height: min(780px, calc(100vh - 24px));
margin: auto;
padding: 0;
color: hsl(var(--foreground));
background: transparent;
border: 0;
overflow: hidden;
}
.app-dialog::backdrop {
background: hsl(var(--background) / .72);
backdrop-filter: blur(6px);
}
.dialog-card {
position: relative;
max-height: inherit;
overflow-x: hidden;
overflow-y: auto;
padding: 14px;
padding-top: 38px;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 8px;
box-shadow: 0 20px 60px hsl(0 0% 0% / .35);
}
.dialog-card > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-width: 0;
margin-bottom: 12px;
padding-right: 28px;
}
.dialog-close {
position: absolute;
top: 8px;
right: 8px;
width: 28px;
min-width: 28px;
height: 28px;
min-height: 28px;
display: inline-grid;
place-items: center;
padding: 0;
color: hsl(var(--muted-foreground));
background: hsl(var(--secondary));
border: 1px solid hsl(var(--border));
border-radius: var(--radius);
font-size: 18px;
line-height: 1;
}
.dialog-close:hover {
color: hsl(var(--foreground));
background: hsl(var(--accent));
}
.dialog-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
min-width: 0;
}
.dialog-section {
min-width: 0;
padding: 10px;
background: hsl(var(--muted));
border: 1px solid hsl(var(--border));
border-radius: 8px;
}
.dialog-section h3 {
margin: 0 0 8px;
font-size: 13px;
}
.toggle-group {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
}
.toggle-group label {
min-height: 32px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 8px;
color: hsl(var(--muted-foreground));
background: hsl(var(--secondary));
border: 1px solid hsl(var(--border));
border-radius: var(--radius);
cursor: pointer;
}
.toggle-group label:has(input:checked) {
color: hsl(var(--background));
background: hsl(var(--primary));
border-color: hsl(var(--primary));
}
.toggle-group input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.schedule-panel {
display: grid;
gap: 6px;
}
.schedule-panel[hidden] {
display: none;
}
.create-form {
display: grid;
grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) minmax(180px, 1fr) auto;
gap: 8px;
}
.create-form textarea {
grid-column: 1 / 4;
}
.create-form .form-actions {
align-self: end;
}
.metrics {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.metrics span {
padding: 6px 10px;
color: hsl(var(--muted-foreground));
}
.metrics strong {
color: hsl(var(--foreground));
}
.kanban {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 10px;
align-items: start;
padding-bottom: 12px;
}
.column {
min-height: 220px;
padding: 10px;
}
.column header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.column h2 {
margin: 0;
font-size: 13px;
text-transform: uppercase;
letter-spacing: .05em;
}
.column header span {
color: hsl(var(--muted-foreground));
font-size: 12px;
}
.task-card {
padding: 10px;
margin-bottom: 8px;
}
.task-card h3 {
flex: 0 1 auto;
min-width: 8ch;
margin: 0;
font-size: 15px;
overflow-wrap: anywhere;
}
.task-card__head,
.actions,
.inline {
display: flex;
gap: 6px;
align-items: center;
}
.task-card__head {
justify-content: flex-start;
flex-wrap: wrap;
gap: 8px;
min-width: 0;
margin-bottom: 8px;
}
.task-card__head code {
margin-left: auto;
overflow-wrap: anywhere;
}
.task-time {
min-width: 0;
color: hsl(var(--muted-foreground));
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
font-size: 11px;
overflow-wrap: anywhere;
}
code {
color: hsl(var(--muted-foreground));
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
font-size: 11px;
}
.labels span {
border: 1px solid hsl(var(--border));
border-radius: 999px;
padding: 2px 7px;
font-size: 11px;
color: hsl(var(--muted-foreground));
background: hsl(var(--muted));
}
.labels {
display: flex;
flex-wrap: wrap;
flex: 0 1 auto;
gap: 4px;
min-width: 0;
}
.meta {
margin: 6px 0 0;
color: hsl(var(--muted-foreground));
font-size: 12px;
}
.summary {
margin: 6px 0 0;
color: hsl(var(--foreground));
font-size: 12px;
}
.danger {
color: hsl(var(--destructive));
}
.events {
margin: 8px 0 0;
padding-left: 16px;
color: hsl(var(--muted-foreground));
font-size: 12px;
}
.events span {
color: hsl(var(--primary));
}
.actions {
display: flex;
margin-top: 10px;
flex-wrap: wrap;
}
.actions > * {
flex: 1 1 72px;
min-width: 0;
}
.actions form {
margin: 0;
}
.actions button {
width: 100%;
}
.actions button,
.dialog-card button {
min-height: 28px;
padding: 0 8px;
}
.stack {
display: grid;
gap: 6px;
margin-top: 8px;
}
.inline {
margin-top: 8px;
}
.inline input {
min-width: 0;
}
.checkbox-row {
display: flex;
align-items: center;
gap: 8px;
color: hsl(var(--muted-foreground));
font-size: 12px;
}
.checkbox-row input {
width: auto;
min-height: auto;
}
.loading {
padding: 16px;
color: hsl(var(--muted-foreground));
}
@media (max-width: 920px) {
.topbar {
align-items: flex-start;
flex-direction: column;
gap: 8px;
}
.topbar__actions {
width: 100%;
justify-content: space-between;
}
.root {
max-width: 100%;
}
.create-form {
grid-template-columns: 1fr;
}
.create-form textarea,
.create-form .form-actions {
grid-column: auto;
}
.kanban {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
}
@media (max-width: 640px) {
body {
font-size: 13px;
}
.topbar {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 4px 8px;
padding: 8px 10px;
}
.topbar h1 {
font-size: 20px;
line-height: 1.1;
}
.topbar .eyebrow {
font-size: 10px;
line-height: 1.1;
}
.topbar__actions {
display: contents;
}
.topbar__actions button {
grid-column: 2;
grid-row: 1 / 3;
min-height: 30px;
padding: 0 10px;
}
.topbar .root {
grid-column: 1;
grid-row: 2;
max-width: 100%;
overflow-wrap: anywhere;
white-space: normal;
line-height: 1.2;
}
.board-shell {
padding: 10px;
}
.dialog-card > header {
align-items: stretch;
flex-direction: column;
}
.dialog-grid {
grid-template-columns: 1fr;
}
.metrics {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.kanban {
display: flex;
flex-direction: column;
gap: 10px;
overflow: visible;
}
.column {
width: 100%;
min-height: 0;
}
.actions button,
.actions form {
width: 100%;
}
.inline {
align-items: stretch;
flex-direction: column;
}
}
@media (min-width: 1280px) {
.kanban {
grid-template-columns: repeat(7, minmax(0, 1fr));
}
}