- Run record
- loading
Loading this Run…
Loading the Revisions of this Run…
A published source file of Revision 0 of Boardly — Website Relaunch 1.0.0, shown as text in the browser.
Source is browser-viewable only. There is no download or archive endpoint, and no additional license is granted beyond inspection and research.
/* ==========================================================================
Boardly — design tokens
========================================================================== */
:root {
--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--bg: #f3f2ee;
--surface: #ffffff;
--surface-2: #f8f7f4;
--column: #e9e8e2;
--column-over: #e3e8fb;
--border: #e0ded7;
--border-strong: #c9c6bd;
--ink: #1b2130;
--ink-2: #454d5c;
--ink-3: #5c6371;
--brand-ink: #1b2130;
--brand-accent: #7d95ff;
--accent: #3550d0;
--accent-hover: #2a42b5;
--accent-soft: #eaeefd;
--accent-ring: rgba(53, 80, 208, 0.45);
--danger: #b8321f;
--danger-soft: #fcebe8;
--warn: #8a5300;
--warn-soft: #fdf1dc;
--success: #1b7549;
--success-soft: #e3f3ea;
--radius-sm: 6px;
--radius: 10px;
--radius-lg: 14px;
--shadow-card: 0 1px 0 rgba(27, 33, 48, 0.04), 0 1px 2px rgba(27, 33, 48, 0.06);
--shadow-hover: 0 2px 4px rgba(27, 33, 48, 0.06), 0 4px 12px rgba(27, 33, 48, 0.06);
--shadow-lift: 0 10px 24px rgba(27, 33, 48, 0.16), 0 2px 6px rgba(27, 33, 48, 0.1);
--shadow-pop: 0 12px 32px rgba(27, 33, 48, 0.18), 0 2px 8px rgba(27, 33, 48, 0.08);
--pad-x: 24px;
color-scheme: light;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body,
#root {
height: 100%;
}
html {
overflow-x: clip;
}
body {
margin: 0;
font-family: var(--font);
font-size: 14px;
line-height: 1.45;
color: var(--ink);
background: var(--bg);
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
}
button,
input,
select,
textarea {
font: inherit;
color: inherit;
}
button {
cursor: pointer;
}
h1,
h2,
h3,
p {
margin: 0;
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.sr-only {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}
/* ==========================================================================
App frame
========================================================================== */
.app {
display: flex;
flex-direction: column;
height: 100vh;
height: 100dvh;
min-height: 480px;
width: 100%;
}
.loading-screen {
display: grid;
place-content: center;
justify-items: center;
gap: 12px;
height: 100dvh;
color: var(--ink-2);
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
height: 52px;
padding: 0 var(--pad-x);
background: var(--surface);
border-bottom: 1px solid var(--border);
flex: none;
}
.topbar-brand {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
}
.wordmark {
display: inline-flex;
align-items: center;
gap: 8px;
flex: none;
}
.wordmark-text {
font-size: 18px;
font-weight: 750;
letter-spacing: -0.035em;
color: var(--brand-ink);
}
.wordmark-accent {
color: var(--accent);
}
.topbar-divider {
width: 1px;
height: 20px;
background: var(--border);
}
.workspace {
display: inline-flex;
align-items: center;
gap: 8px;
min-width: 0;
font-weight: 550;
color: var(--ink-2);
}
.workspace-tile {
display: inline-grid;
place-items: center;
width: 22px;
height: 22px;
flex: none;
border-radius: 6px;
background: #d9e7e4;
color: #1f5a52;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.02em;
}
.workspace-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 6px;
flex: none;
}
.board-head {
display: flex;
align-items: center;
gap: 12px 24px;
flex-wrap: wrap;
padding: 16px var(--pad-x) 10px;
flex: none;
}
.board-title {
font-size: 22px;
font-weight: 680;
letter-spacing: -0.02em;
line-height: 1.2;
}
.board-stats {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 0;
margin: 0;
padding: 0;
list-style: none;
color: var(--ink-3);
font-size: 13px;
}
.board-stats li + li::before {
content: "";
display: inline-block;
width: 3px;
height: 3px;
margin: 0 10px;
border-radius: 50%;
background: var(--border-strong);
vertical-align: middle;
}
.board-stats strong {
color: var(--ink);
font-weight: 600;
}
.board-stats li[data-tone="overdue"] strong {
color: var(--danger);
}
.team {
display: flex;
margin-left: auto;
padding-left: 6px;
}
.team-btn {
padding: 0;
margin-left: -6px;
border: 2px solid var(--bg);
border-radius: 50%;
background: none;
line-height: 0;
transition: transform 120ms ease;
}
.team-btn:hover {
transform: translateY(-2px);
z-index: 1;
}
.team-btn[aria-pressed="true"] {
border-color: var(--accent);
z-index: 2;
}
.team:has(.team-btn[aria-pressed="true"]) .team-btn[aria-pressed="false"] {
opacity: 0.45;
}
/* ==========================================================================
Filter bar
========================================================================== */
.filterbar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 0 var(--pad-x) 12px;
flex: none;
}
.search-field {
position: relative;
display: flex;
align-items: center;
width: 300px;
color: var(--ink-3);
}
.search-field svg {
position: absolute;
left: 10px;
pointer-events: none;
}
.search-input {
width: 100%;
height: 34px;
padding: 0 10px 0 32px;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
color: var(--ink);
}
.search-input::placeholder {
color: var(--ink-3);
}
.search-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-soft);
}
.filter-select {
display: inline-flex;
align-items: center;
height: 34px;
padding-left: 10px;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
min-width: 0;
}
.filter-select[data-active] {
border-color: var(--accent);
background: var(--accent-soft);
}
.filter-select:focus-within {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.filter-select-label {
font-size: 12px;
color: var(--ink-3);
padding-right: 4px;
white-space: nowrap;
}
.filter-select select {
height: 100%;
min-width: 0;
padding: 0 28px 0 2px;
border: 0;
background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c6371' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
appearance: none;
font-weight: 550;
text-overflow: ellipsis;
cursor: pointer;
}
.filter-select select:focus {
outline: none;
}
.filter-summary {
margin-left: auto;
color: var(--ink-3);
font-size: 13px;
}
.filter-summary strong {
color: var(--ink);
}
.empty-results {
display: flex;
align-items: center;
gap: 14px;
margin: 0 var(--pad-x) 12px;
padding: 12px 16px;
border: 1px dashed var(--border-strong);
border-radius: var(--radius);
background: var(--surface);
color: var(--ink-3);
flex: none;
}
.empty-results > div {
flex: 1;
min-width: 0;
}
.empty-title {
font-weight: 600;
color: var(--ink);
}
.empty-body {
font-size: 13px;
}
.column-jump {
display: none;
}
/* ==========================================================================
Board and columns
========================================================================== */
.board {
display: flex;
align-items: flex-start;
gap: 12px;
flex: 1 1 auto;
min-height: 0;
min-width: 0;
padding: 2px var(--pad-x) 16px;
overflow-x: auto;
overflow-y: hidden;
overscroll-behavior-x: contain;
}
.column {
display: flex;
flex-direction: column;
flex: 1 1 0;
min-width: 248px;
max-width: 360px;
max-height: 100%;
border-radius: var(--radius-lg);
background: var(--column);
transition: background-color 120ms ease, box-shadow 120ms ease;
}
.column[data-drop-state="over"] {
background: var(--column-over);
box-shadow: inset 0 0 0 2px rgba(53, 80, 208, 0.25);
}
.column[data-drop-state="blocked"] {
background: var(--danger-soft);
box-shadow: inset 0 0 0 2px rgba(184, 50, 31, 0.35);
}
.column-header {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 12px 8px 14px;
}
.column-title {
font-size: 14px;
font-weight: 650;
letter-spacing: -0.005em;
}
.column-title:focus {
outline: none;
}
.column-title:focus-visible {
outline: 2px solid var(--accent);
}
.column-count {
min-width: 22px;
height: 20px;
padding: 0 6px;
border-radius: 999px;
background: rgba(27, 33, 48, 0.08);
color: var(--ink-2);
font-size: 12px;
font-weight: 600;
line-height: 20px;
text-align: center;
font-variant-numeric: tabular-nums;
}
.wip-chip {
display: inline-flex;
align-items: center;
gap: 4px;
margin-left: auto;
height: 20px;
padding: 0 8px;
border: 1px solid var(--border-strong);
border-radius: 999px;
color: var(--ink-2);
font-size: 11.5px;
font-weight: 600;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.wip-chip[data-full] {
border-color: #e7c78f;
background: var(--warn-soft);
color: var(--warn);
}
.column-body {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 2px 8px 4px;
overscroll-behavior: contain;
}
.drop-blocked-note {
display: flex;
align-items: center;
gap: 6px;
margin: 0 2px 8px;
padding: 6px 8px;
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--danger);
font-size: 12px;
font-weight: 600;
}
.card-list {
display: flex;
flex-direction: column;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.card-slot {
display: block;
}
.column-empty {
padding: 18px 12px;
margin: 0 2px;
border: 1px dashed var(--border-strong);
border-radius: var(--radius);
color: var(--ink-3);
font-size: 13px;
text-align: center;
}
.drop-placeholder {
list-style: none;
border: 2px dashed rgba(53, 80, 208, 0.45);
border-radius: var(--radius);
background: rgba(255, 255, 255, 0.55);
}
.column-footer {
padding: 4px 8px 8px;
}
.add-card-btn {
display: flex;
align-items: center;
gap: 6px;
width: 100%;
height: 34px;
padding: 0 8px;
border: 0;
border-radius: 8px;
background: transparent;
color: var(--ink-2);
font-weight: 550;
}
.add-card-btn:hover {
background: rgba(27, 33, 48, 0.06);
color: var(--ink);
}
.composer {
display: flex;
flex-direction: column;
gap: 8px;
padding: 4px 8px 10px;
}
.composer-input {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
resize: none;
line-height: 1.4;
}
.composer-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-ring);
}
.composer-input[aria-invalid="true"] {
border-color: var(--danger);
}
.composer-note {
display: flex;
gap: 6px;
align-items: flex-start;
padding: 6px 8px;
border-radius: var(--radius-sm);
background: var(--warn-soft);
color: var(--warn);
font-size: 12px;
}
.composer-note svg {
flex: none;
margin-top: 2px;
}
.composer-actions {
display: flex;
gap: 6px;
}
/* ==========================================================================
Cards
========================================================================== */
.card {
position: relative;
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 10px 8px 12px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow-card);
cursor: grab;
user-select: none;
-webkit-user-select: none;
transition: box-shadow 120ms ease, border-color 120ms ease;
}
.card:hover {
border-color: var(--border-strong);
box-shadow: var(--shadow-hover);
}
.card:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.card[data-overdue] {
box-shadow: inset 3px 0 0 var(--danger), var(--shadow-card);
}
.card[data-picked] {
outline: 2px solid var(--accent);
outline-offset: 1px;
box-shadow: var(--shadow-lift);
transform: rotate(-1deg);
cursor: grabbing;
}
.card[data-done] .card-title {
color: var(--ink-2);
}
.card-labels {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin: 0;
padding: 0;
list-style: none;
}
.label-chip {
display: inline-flex;
align-items: center;
gap: 5px;
height: 20px;
padding: 0 7px 0 6px;
border-radius: 999px;
background: var(--lb);
color: var(--lc);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.01em;
}
.label-dot {
width: 6px;
height: 6px;
flex: none;
border-radius: 50%;
background: var(--lc);
}
[data-label="design"] { --lc: #5b3ba8; --lb: #efeafb; }
[data-label="frontend"] { --lc: #1d539f; --lb: #e6effb; }
[data-label="backend"] { --lc: #15665b; --lb: #e1f2ee; }
[data-label="content"] { --lc: #874a0b; --lb: #fbefdc; }
[data-label="research"] { --lc: #9c2f58; --lb: #fbe8ef; }
[data-label="bug"] { --lc: #b02a18; --lb: #fce7e4; }
.card-title {
font-size: 14px;
font-weight: 560;
line-height: 1.35;
color: var(--ink);
overflow-wrap: anywhere;
}
.card-meta {
display: flex;
flex-wrap: wrap;
gap: 4px 6px;
}
.meta-chip {
display: inline-flex;
align-items: center;
gap: 4px;
height: 22px;
padding: 0 6px;
border-radius: var(--radius-sm);
background: var(--surface-2);
color: var(--ink-2);
font-size: 12px;
font-weight: 500;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.meta-chip svg {
flex: none;
color: var(--ink-3);
}
.due-chip[data-tone="overdue"] {
background: var(--danger-soft);
color: var(--danger);
font-weight: 600;
}
.due-chip[data-tone="overdue"] svg {
color: var(--danger);
}
.due-chip[data-tone="today"] {
background: var(--warn-soft);
color: var(--warn);
font-weight: 600;
}
.due-chip[data-tone="today"] svg {
color: var(--warn);
}
.checklist-chip[data-complete] {
background: var(--success-soft);
color: var(--success);
}
.checklist-chip[data-complete] svg {
color: var(--success);
}
.priority-chip[data-priority="urgent"] {
color: var(--danger);
}
.priority-chip[data-priority="urgent"] svg {
color: var(--danger);
}
.card-foot {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-height: 26px;
}
.card-assignee {
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
font-size: 12px;
color: var(--ink-2);
}
.card-assignee[data-unassigned] {
color: var(--ink-3);
font-style: italic;
}
.card-assignee-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card-move-btn {
display: inline-flex;
align-items: center;
gap: 4px;
height: 26px;
padding: 0 8px;
border: 1px solid transparent;
border-radius: var(--radius-sm);
background: transparent;
color: var(--ink-3);
font-size: 12px;
font-weight: 550;
flex: none;
}
.card-move-btn:hover,
.card-move-btn[aria-expanded="true"] {
border-color: var(--border);
background: var(--surface-2);
color: var(--ink);
}
.avatar {
display: inline-grid;
place-items: center;
flex: none;
border-radius: 50%;
background: var(--av, #5c6371);
color: #fff;
font-weight: 650;
letter-spacing: 0.02em;
line-height: 1;
}
.avatar-sm {
width: 20px;
height: 20px;
font-size: 8.5px;
}
.avatar-md {
width: 28px;
height: 28px;
font-size: 11px;
}
.avatar-empty {
background: transparent;
border: 1.5px dashed var(--border-strong);
color: var(--ink-3);
}
[data-member="maya"] { --av: #6d45c2; }
[data-member="tomas"] { --av: #2563b8; }
[data-member="aiko"] { --av: #b63c63; }
[data-member="jonah"] { --av: #17756a; }
[data-member="priya"] { --av: #9c5210; }
/* Drag and drop */
.drag-ghost {
position: fixed !important;
top: 0;
left: 0;
z-index: 100;
margin: 0;
pointer-events: none;
rotate: 2deg;
opacity: 0.96;
box-shadow: var(--shadow-lift) !important;
border-color: var(--accent) !important;
cursor: grabbing;
}
body.is-dragging,
body.is-dragging * {
cursor: grabbing !important;
user-select: none !important;
}
/* ==========================================================================
Buttons and form controls
========================================================================== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
height: 34px;
padding: 0 14px;
border: 1px solid transparent;
border-radius: 8px;
font-size: 14px;
font-weight: 550;
white-space: nowrap;
transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn-sm {
height: 30px;
padding: 0 10px;
font-size: 13px;
}
.btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.btn-primary {
background: var(--accent);
color: #fff;
}
.btn-primary:hover:not(:disabled) {
background: var(--accent-hover);
}
.btn-secondary {
background: var(--surface);
border-color: var(--border-strong);
color: var(--ink);
}
.btn-secondary:hover:not(:disabled) {
background: var(--surface-2);
border-color: var(--ink-3);
}
.btn-ghost {
background: transparent;
color: var(--ink-2);
}
.btn-ghost:hover:not(:disabled) {
background: rgba(27, 33, 48, 0.06);
color: var(--ink);
}
.btn-danger {
background: var(--danger);
color: #fff;
}
.btn-danger:hover {
background: #9c2817;
}
.btn-danger-text {
color: var(--danger);
}
.btn-danger-text:hover:not(:disabled) {
background: var(--danger-soft);
color: var(--danger);
}
.icon-btn {
display: inline-grid;
place-items: center;
width: 32px;
height: 32px;
flex: none;
padding: 0;
border: 0;
border-radius: 8px;
background: transparent;
color: var(--ink-3);
}
.icon-btn:hover {
background: rgba(27, 33, 48, 0.06);
color: var(--ink);
}
.icon-btn-sm {
width: 26px;
height: 26px;
}
.input,
.select,
.textarea {
width: 100%;
min-height: 34px;
padding: 6px 10px;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
}
.select {
padding-right: 30px;
appearance: none;
background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c6371' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center;
text-overflow: ellipsis;
}
.textarea {
resize: vertical;
line-height: 1.5;
}
.input:focus,
.select:focus,
.textarea:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-ring);
}
.field-error {
display: flex;
align-items: flex-start;
gap: 6px;
color: var(--danger);
font-size: 13px;
font-weight: 500;
}
.field-error svg {
flex: none;
margin-top: 2px;
}
/* ==========================================================================
Floating UI: move menu, toasts, keyboard hint
========================================================================== */
.move-menu {
position: fixed;
z-index: 60;
min-width: 224px;
padding: 6px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow-pop);
}
.move-menu-heading {
padding: 4px 8px 6px;
color: var(--ink-3);
font-size: 12px;
font-weight: 600;
}
.move-menu-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
min-height: 36px;
padding: 0 10px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
text-align: left;
font-weight: 500;
}
.move-menu-item:hover,
.move-menu-item:focus {
outline: none;
background: var(--accent-soft);
}
.move-menu-item:focus-visible {
box-shadow: inset 0 0 0 2px var(--accent);
}
.move-menu-item[aria-disabled="true"] {
color: var(--ink-3);
cursor: default;
}
.move-menu-meta {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--ink-3);
font-size: 12px;
font-variant-numeric: tabular-nums;
}
.move-menu-full {
color: var(--warn);
font-weight: 600;
}
.toast-region {
position: fixed;
left: 50%;
top: 60px;
z-index: 80;
width: min(560px, calc(100% - 24px));
transform: translateX(-50%);
pointer-events: none;
}
.toast {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 8px 10px 14px;
border-radius: var(--radius);
background: var(--ink);
color: #fff;
box-shadow: var(--shadow-pop);
pointer-events: auto;
animation: toast-in 180ms ease-out;
}
.toast p {
flex: 1;
font-size: 13.5px;
}
.toast[data-tone="warn"] {
background: #fff8ea;
color: #5c3700;
border: 1px solid #ecc983;
}
.toast[data-tone="warn"] > svg {
flex: none;
color: var(--warn);
}
.toast-action {
height: 28px;
padding: 0 10px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: var(--radius-sm);
background: transparent;
color: #fff;
font-size: 13px;
font-weight: 600;
}
.toast-action:hover {
background: rgba(255, 255, 255, 0.12);
}
.toast-close {
display: grid;
place-items: center;
width: 28px;
height: 28px;
flex: none;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: inherit;
opacity: 0.75;
}
.toast-close:hover {
opacity: 1;
background: rgba(127, 127, 127, 0.18);
}
@keyframes toast-in {
from {
opacity: 0;
transform: translateY(-6px);
}
}
.kbd-hint {
position: fixed;
bottom: 48px;
left: 50%;
z-index: 70;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 6px 14px;
max-width: calc(100% - 24px);
padding: 8px 14px;
border-radius: 999px;
background: var(--ink);
color: #d9ddea;
font-size: 12.5px;
box-shadow: var(--shadow-pop);
transform: translateX(-50%);
}
.kbd-hint-title {
color: #fff;
font-weight: 600;
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.kbd-hint kbd {
display: inline-grid;
place-items: center;
min-width: 20px;
height: 20px;
margin-right: 2px;
padding: 0 5px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.14);
color: #fff;
font-family: inherit;
font-size: 11px;
}
/* ==========================================================================
Footer
========================================================================== */
.app-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 8px var(--pad-x);
border-top: 1px solid var(--border);
background: var(--surface);
font-size: 12px;
flex: none;
}
.notice-text {
color: var(--ink-2);
}
.footer-meta {
color: var(--ink-3);
}
/* ==========================================================================
Modals
========================================================================== */
.modal-backdrop {
position: fixed;
inset: 0;
z-index: 90;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 6vh 24px 24px;
background: rgba(20, 24, 34, 0.42);
overflow-y: auto;
animation: fade-in 140ms ease-out;
}
.modal {
display: flex;
flex-direction: column;
width: min(880px, 100%);
max-height: calc(100dvh - 6vh - 24px);
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--shadow-pop);
animation: modal-in 160ms ease-out;
}
.modal:focus {
outline: none;
}
@keyframes fade-in {
from {
opacity: 0;
}
}
@keyframes modal-in {
from {
opacity: 0;
transform: translateY(6px) scale(0.99);
}
}
.dialog-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px 0 20px;
}
.dialog-eyebrow {
color: var(--ink-3);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.dialog-scroll {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 4px 20px 20px;
}
.field {
display: flex;
flex-direction: column;
gap: 6px;
}
.field-label {
color: var(--ink-3);
font-size: 12px;
font-weight: 600;
}
.field-hint {
display: flex;
align-items: center;
gap: 5px;
color: var(--ink-3);
font-size: 12px;
}
.field-hint[data-tone="overdue"] {
color: var(--danger);
font-weight: 600;
}
.title-input {
width: calc(100% + 16px);
margin: 0 -8px;
padding: 4px 8px;
border: 1px solid transparent;
border-radius: 8px;
background: transparent;
font-size: 21px;
font-weight: 650;
letter-spacing: -0.015em;
line-height: 1.3;
resize: none;
field-sizing: content;
min-height: 40px;
}
.title-input:hover {
border-color: var(--border);
}
.title-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-ring);
}
.title-input[aria-invalid="true"] {
border-color: var(--danger);
}
.dialog-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 248px;
gap: 28px;
margin-top: 16px;
}
.dialog-main {
display: flex;
flex-direction: column;
gap: 24px;
min-width: 0;
}
.dialog-side {
display: flex;
flex-direction: column;
gap: 16px;
padding: 14px;
border-radius: var(--radius);
background: var(--surface-2);
align-self: start;
}
.dialog-section {
display: flex;
flex-direction: column;
gap: 8px;
}
.section-title {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 650;
}
.section-title svg {
color: var(--ink-3);
}
.section-meta {
margin-left: auto;
color: var(--ink-3);
font-size: 12px;
font-weight: 500;
}
.progress {
height: 6px;
border-radius: 999px;
background: var(--column);
overflow: hidden;
}
.progress span {
display: block;
height: 100%;
border-radius: inherit;
background: var(--success);
transition: width 200ms ease;
}
.muted-note {
color: var(--ink-3);
font-size: 13px;
}
.checklist {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
list-style: none;
}
.checklist-item {
display: flex;
align-items: center;
gap: 10px;
padding: 4px 4px 4px 2px;
border-radius: var(--radius-sm);
}
.checklist-item:hover {
background: var(--surface-2);
}
.checklist-item input {
width: 16px;
height: 16px;
margin: 0;
flex: none;
accent-color: var(--success);
cursor: pointer;
}
.checklist-item label {
flex: 1;
min-width: 0;
cursor: pointer;
overflow-wrap: anywhere;
}
.checklist-item[data-done] label {
color: var(--ink-3);
text-decoration: line-through;
text-decoration-color: var(--border-strong);
}
.checklist-add {
display: flex;
gap: 8px;
}
.select-with-avatar {
display: flex;
align-items: center;
gap: 8px;
}
.label-picker {
margin: 0;
padding: 0;
border: 0;
}
.label-picker legend {
padding: 0;
margin-bottom: 6px;
}
.label-options {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.label-option {
position: relative;
display: inline-flex;
align-items: center;
gap: 6px;
height: 28px;
padding: 0 10px;
border: 1px solid var(--border-strong);
border-radius: 999px;
background: var(--surface);
color: var(--ink-2);
font-size: 12.5px;
font-weight: 550;
cursor: pointer;
}
.label-option input {
position: absolute;
inset: 0;
opacity: 0;
margin: 0;
cursor: pointer;
}
.label-option[data-checked] {
border-color: var(--lc);
background: var(--lb);
color: var(--lc);
}
.label-option:focus-within {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.dialog-footer {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 20px;
border-top: 1px solid var(--border);
}
.footer-hint {
margin-left: auto;
color: var(--ink-3);
font-size: 12px;
}
.confirm-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
width: 100%;
}
.confirm-text {
flex: 1 1 260px;
font-size: 13.5px;
color: var(--ink-2);
}
.confirm-text strong {
color: var(--danger);
}
.confirm-actions {
display: flex;
gap: 8px;
margin-left: auto;
}
.confirm-dialog {
width: min(440px, 100%);
margin-top: 10vh;
padding: 22px;
gap: 10px;
}
.confirm-title {
font-size: 18px;
font-weight: 650;
}
.confirm-body {
color: var(--ink-2);
margin-bottom: 10px;
}
/* ==========================================================================
Mobile
========================================================================== */
@media (max-width: 760px) {
:root {
--pad-x: 16px;
}
.topbar {
padding: 0 12px 0 16px;
gap: 10px;
}
.topbar-brand {
gap: 10px;
}
.wordmark-text {
font-size: 17px;
}
.workspace {
font-size: 13px;
}
.topbar-actions .btn {
padding: 0 9px;
}
.btn-label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.board-head {
padding: 12px var(--pad-x) 8px;
gap: 2px 16px;
}
.board-title {
font-size: 19px;
width: 100%;
}
.board-stats {
font-size: 12px;
}
.team {
display: none;
}
.filterbar {
padding-bottom: 8px;
gap: 6px;
}
.search-field {
width: 100%;
}
.search-input {
font-size: 16px;
}
.filter-select {
flex: 1 1 0;
}
.filter-select select {
width: 100%;
font-size: 14px;
}
.filter-summary {
display: none;
}
.clear-filters {
flex: none;
}
.column-jump {
display: flex;
gap: 6px;
padding: 0 var(--pad-x) 8px;
overflow-x: auto;
scrollbar-width: none;
flex: none;
}
.column-jump::-webkit-scrollbar {
display: none;
}
.column-jump-btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 30px;
padding: 0 10px;
border: 1px solid var(--border-strong);
border-radius: 999px;
background: var(--surface);
font-size: 13px;
font-weight: 550;
white-space: nowrap;
flex: none;
}
.column-jump-count {
color: var(--ink-3);
font-variant-numeric: tabular-nums;
}
.empty-results {
flex-wrap: wrap;
}
.board {
gap: 10px;
padding-bottom: 10px;
scroll-snap-type: x mandatory;
scroll-padding-inline: var(--pad-x);
}
.column {
flex: 0 0 min(82vw, 340px);
min-width: 0;
scroll-snap-align: start;
}
.composer-input {
font-size: 16px;
}
.app-footer {
padding: 6px var(--pad-x);
font-size: 11.5px;
}
.footer-meta {
display: none;
}
.toast-region {
top: 56px;
}
.modal-backdrop {
padding: 0;
}
.card-dialog {
width: 100%;
max-height: none;
height: 100%;
border-radius: 0;
}
.dialog-grid {
grid-template-columns: minmax(0, 1fr);
gap: 20px;
}
.dialog-footer {
flex-wrap: wrap;
padding: 10px 16px;
}
.footer-hint {
display: none;
}
.dialog-footer > .btn-primary {
margin-left: auto;
}
.input,
.select,
.textarea {
font-size: 16px;
}
.confirm-dialog {
width: calc(100% - 32px);
margin: 20vh auto 0;
}
}
/* ==========================================================================
Reduced motion
========================================================================== */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
.card[data-picked],
.drag-ghost,
.team-btn:hover {
transform: none;
rotate: none;
}
}