/* The planning board. Quiet and stable: one accent colour from the company, used sparingly. */
@font-face {
    font-family: "Instrument Sans";
    src: url("fonts/instrument-sans-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent: #1f2937;
    --accent-text: #ffffff;
    --accent-ink: color-mix(in srgb, var(--accent) 60%, #141414);
    --accent-soft: color-mix(in srgb, var(--accent) 12%, #ffffff);
    --accent-line: color-mix(in srgb, var(--accent) 35%, #ffffff);
    --canvas: #f1f2f5;
    --surface: #ffffff;
    --ink: #191c21;
    --ink-2: #3f4651;
    --muted: #6b7280;
    --line: #e3e6eb;
    --line-strong: #cfd4db;
    --danger: #b42318;
    --danger-soft: #fdf1ef;
    --ok: #1b7f4b;
    --ok-soft: #ecf8f1;
    --r-card: 10px;
    --r-dialog: 16px;
    --r-ctl: 8px;
    --shadow-card: 0 1px 1px rgba(16, 20, 28, .04), 0 2px 6px rgba(16, 20, 28, .05);
    --shadow-lift: 0 2px 4px rgba(16, 20, 28, .06), 0 12px 28px rgba(16, 20, 28, .10);
    --shadow-dialog: 0 24px 64px rgba(16, 20, 28, .24), 0 2px 8px rgba(16, 20, 28, .08);
    --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--canvas); }
body {
    font-family: var(--font); color: var(--ink); background: var(--canvas);
    font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
    font-feature-settings: "tnum" 1;
}
body.gbo-locked { overflow: hidden; }
a { color: var(--accent-ink); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
textarea { resize: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.gbo-muted { color: var(--muted); }
.gbo-small { font-size: 13px; }
.gbo-error { color: var(--danger); background: var(--danger-soft); padding: 10px 12px; border-radius: var(--r-ctl); font-size: 14px; }

/* ---------------------------------------------------------------- controls */
input[type="text"], input[type="password"], select, textarea {
    width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl);
    background: var(--surface); transition: border-color .12s, box-shadow .12s;
}
input[type="text"]:hover, input[type="password"]:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft);
}
select {
    appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 11px center;
}
input::placeholder, textarea::placeholder { color: #a0a6b1; }

.gbo-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
    background: var(--surface); cursor: pointer; font-weight: 500; line-height: 1.3;
    transition: background .12s, border-color .12s, transform .12s var(--ease);
}
.gbo-btn:hover { background: #f6f7f9; }
.gbo-btn:active { transform: translateY(1px); }
.gbo-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.gbo-btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); border-color: color-mix(in srgb, var(--accent) 88%, #000); }
.gbo-btn-small { padding: 7px 12px; font-size: 14px; }
.gbo-btn[disabled] { opacity: .55; cursor: default; }
.gbo-link { background: none; border: 0; padding: 0; color: var(--accent-ink); cursor: pointer; font-size: 14px; font-weight: 500; }
.gbo-link:hover { text-decoration: underline; }
.gbo-link.is-danger { color: var(--danger); }
.gbo-link.is-quiet { color: var(--muted); font-weight: 400; }
.gbo-link.is-quiet:hover { color: var(--ink); }

/* ---------------------------------------------------------------- plain pages (login, pick, none) */
.gbo-plain { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px; border-top: 3px solid var(--accent); }
.gbo-card-box { width: 100%; max-width: 400px; background: var(--surface); border-radius: var(--r-dialog); box-shadow: var(--shadow-lift); padding: 36px 32px; }
.gbo-brand { font-size: 24px; margin-bottom: 6px; }
.gbo-card-box > p { color: var(--muted); }
.gbo-form label { display: block; margin: 18px 0 0; font-size: 14px; font-weight: 500; }
.gbo-form label input[type="text"], .gbo-form label input[type="password"] { margin-top: 6px; }
.gbo-form .gbo-check { font-weight: 400; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.gbo-form .gbo-btn { margin-top: 22px; width: 100%; padding: 11px 16px; }
.gbo-card-box .gbo-error { margin-top: 16px; }
.gbo-card-box .gbo-small { margin-top: 18px; }
.gbo-list { list-style: none; padding: 0; margin: 16px 0; }
.gbo-list li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.gbo-list li:first-child { border-top: 0; }
.gbo-list a { font-weight: 500; text-decoration: none; }

/* ---------------------------------------------------------------- header */
.gbo-board-page { border-top: 3px solid var(--accent); }
.gbo-header {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 14px 32px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.gbo-header-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gbo-logo { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.gbo-company-name { font-weight: 600; font-size: 17px; white-space: nowrap; letter-spacing: -.01em; }
.gbo-header-sub { font-size: 14px; white-space: nowrap; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.2; }
.gbo-header-user { display: flex; align-items: center; gap: 18px; font-size: 14px; white-space: nowrap; }
.gbo-header-user a { color: var(--muted); text-decoration: none; }
.gbo-header-user a:hover { color: var(--ink); }
.gbo-header-user .gbo-me { color: var(--ink-2); font-weight: 500; }

.gbo-jump { display: none; gap: 6px; padding: 14px 16px 0; }
.gbo-jump a {
    text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 500;
    padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.gbo-jump a span { color: var(--muted); font-weight: 400; margin-left: 4px; }

/* ---------------------------------------------------------------- the board */
.gbo-board { padding: 28px 32px 48px; max-width: 1360px; margin: 0 auto; }
.gbo-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.gbo-col { min-height: 220px; border-radius: 14px; padding: 4px; margin: -4px; transition: background .14s; }
.gbo-col.is-over { background: var(--accent-soft); }
.gbo-col-head { padding: 0 6px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gbo-col-head h2 { font-size: 17px; }
.gbo-count { color: var(--muted); font-weight: 400; font-size: 15px; margin-left: 6px; }
.gbo-col-help { font-size: 13px; color: var(--muted); padding: 0 6px 12px; margin-top: -8px; line-height: 1.4; }
.gbo-list { display: flex; flex-direction: column; gap: 10px; min-height: 24px; margin: 0; }
.gbo-empty {
    margin: 0; padding: 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.45;
    border: 1px dashed var(--line-strong); border-radius: var(--r-card); background: transparent;
}
.gbo-add {
    width: 100%; margin-top: 10px; padding: 10px 12px; border: 0; border-radius: var(--r-card);
    background: transparent; color: var(--muted); cursor: pointer; text-align: left; font-size: 14px; font-weight: 500;
    display: flex; align-items: center; gap: 8px; transition: background .12s, color .12s;
}
.gbo-add::before { content: "+"; font-size: 18px; line-height: 1; color: var(--muted); }
.gbo-add:hover { background: rgba(16, 20, 28, .05); color: var(--ink); }

/* ---------------------------------------------------------------- cards */
.gbo-card {
    position: relative; background: var(--surface); border-radius: var(--r-card); padding: 14px 16px 12px;
    box-shadow: var(--shadow-card); cursor: pointer; border: 1px solid transparent;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s;
}
.gbo-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.gbo-card:focus-visible { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-card); }
.gbo-card.is-dragging { opacity: .35; }
.gbo-card.is-new { animation: gbo-arrive .9s var(--ease); }
@keyframes gbo-arrive { from { box-shadow: 0 0 0 4px var(--accent-line), var(--shadow-card); } to { box-shadow: var(--shadow-card); } }
.gbo-card h3 { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.gbo-card.has-ordinal { padding-left: 44px; }
.gbo-ordinal {
    position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}
.gbo-status { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gbo-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 20px; }
.gbo-card-foot:empty { display: none; }
.gbo-tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: #eef0f3; color: var(--ink-2); white-space: nowrap; }
.gbo-tag.is-soon { background: var(--accent-soft); color: var(--accent-ink); }
.gbo-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.gbo-progress { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gbo-progress-bar { width: 72px; height: 6px; background: #e8eaee; border-radius: 999px; overflow: hidden; flex: none; }
.gbo-progress-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s var(--ease); }
.gbo-progress-text { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.gbo-placeholder { height: 52px; border: 1.5px dashed var(--accent-line); border-radius: var(--r-card); background: var(--accent-soft); }

/* ---------------------------------------------------------------- done, the bar below */
.gbo-done { margin-top: 36px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-card); transition: box-shadow .14s; }
.gbo-done.is-over { box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-card); }
.gbo-done-head {
    display: flex; align-items: center; gap: 14px; padding: 16px 22px; cursor: pointer; user-select: none;
    border: 0; background: none; width: 100%; text-align: left; border-radius: 14px;
}
.gbo-done-head:hover { background: #fafbfc; }
.gbo-done-head h2 { font-size: 17px; }
.gbo-done-head .gbo-count { margin-left: 0; }
.gbo-done-head .gbo-col-help { padding: 0; margin: 0; flex: 1; }
.gbo-done-toggle { color: var(--muted); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.gbo-done-toggle::after {
    content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); transition: transform .16s var(--ease);
}
.gbo-done.is-open .gbo-done-toggle::after { transform: rotate(225deg) translateY(-1px); }
.gbo-done-body { border-top: 1px solid var(--line); padding: 18px 22px 22px; }
.gbo-done-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.gbo-done-card {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 10px 12px; border-radius: var(--r-ctl); cursor: pointer; border: 1px solid transparent;
    transition: background .12s, border-color .12s;
}
.gbo-done-card:hover { background: #f6f7f9; border-color: var(--line); }
.gbo-done-card:focus-visible { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.gbo-done-card h3 { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.gbo-done-card .gbo-meta { flex: none; margin-left: 0; }
.gbo-done-body .gbo-empty { border: 0; padding: 0; }

/* ---------------------------------------------------------------- the dialog */
.gbo-dialog {
    border: 0; padding: 0; margin: auto; width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 48px);
    background: var(--surface); color: var(--ink); border-radius: var(--r-dialog); box-shadow: var(--shadow-dialog);
    overflow: hidden; display: none; flex-direction: column;
}
.gbo-dialog[open] { display: flex; animation: gbo-open .18s var(--ease); }
.gbo-dialog::backdrop { background: rgba(14, 17, 23, .48); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: gbo-fade .18s ease-out; }
@keyframes gbo-open { from { transform: translateY(10px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gbo-fade { from { opacity: 0; } to { opacity: 1; } }
.gbo-dialog-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px 32px; }
.gbo-dialog-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.gbo-dialog-head h2 { font-size: 22px; flex: 1; line-height: 1.3; padding: 4px 0; }
input[type="text"].gbo-title-input {
    flex: 1; font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
    border-color: transparent; padding: 4px 8px; margin-left: -8px; background: transparent;
}
input[type="text"].gbo-title-input:hover { border-color: var(--line); background: var(--surface); }
input[type="text"].gbo-title-input:focus { border-color: var(--accent-ink); background: var(--surface); }
.gbo-close {
    flex: none; width: 34px; height: 34px; border-radius: 999px; border: 0; background: transparent;
    color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background .12s, color .12s; margin: 0 -6px 0 0;
}
.gbo-close:hover { background: #eef0f3; color: var(--ink); }
.gbo-close svg { width: 16px; height: 16px; }
.gbo-dialog-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.gbo-dialog-meta select { width: auto; min-width: 0; padding: 7px 32px 7px 12px; font-size: 14px; font-weight: 500; border-radius: 999px; background-color: #f6f7f9; border-color: transparent; }
.gbo-dialog-meta select:hover { border-color: var(--line-strong); background-color: var(--surface); }
.gbo-saved { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .2s; }
.gbo-saved.is-visible { opacity: 1; }
.gbo-saved.is-ok { color: var(--ok); }
.gbo-saved.is-error { color: var(--danger); }
.gbo-saved svg { width: 14px; height: 14px; }

.gbo-field { display: block; margin: 14px 0 0; }
.gbo-label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.gbo-hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.gbo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gbo-grow { overflow: hidden; min-height: 64px; line-height: 1.5; }
.gbo-actions { display: flex; gap: 10px; margin-top: 22px; align-items: center; }
.gbo-actions-left { margin-top: 10px; }
.gbo-actions-end { justify-content: flex-end; }

.gbo-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.gbo-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gbo-section-head h3 { font-size: 15px; }
.gbo-section .gbo-progress-bar { width: 100%; height: 6px; margin-bottom: 12px; }

.gbo-phases { list-style: none; margin: 0; padding: 0; }
.gbo-phases li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid #f1f2f5; }
.gbo-phases li:first-child { border-top: 0; }
.gbo-phase-mark {
    width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; flex: none;
    display: inline-flex; align-items: center; justify-content: center; transform: translateY(3px);
}
.gbo-phase-mark svg { width: 10px; height: 10px; display: none; }
.gbo-phases li.is-done .gbo-phase-mark { background: var(--ok); border-color: var(--ok); color: #fff; }
.gbo-phases li.is-done .gbo-phase-mark svg { display: block; }
.gbo-phases li.is-done .gbo-phase-title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.gbo-phase-title { flex: 1; }
.gbo-phase-when { font-size: 13px; color: var(--muted); white-space: nowrap; }
.gbo-phase-rows { display: flex; flex-direction: column; gap: 8px; }
.gbo-phase-row { display: grid; grid-template-columns: auto 1fr 140px auto; gap: 10px; align-items: center; }
.gbo-phase-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ok); margin: 0; cursor: pointer; }
.gbo-phase-row input[type="text"] { padding: 6px 8px; margin-left: -8px; font-size: 14.5px; border-color: transparent; background: transparent; }
.gbo-phase-row input[type="text"]:hover { border-color: var(--line); background: var(--surface); }
.gbo-phase-row input[type="text"]:focus { border-color: var(--accent-ink); background: var(--surface); }
.gbo-phase-row input[type="text"]:nth-of-type(3) { color: var(--muted); font-size: 13.5px; }
.gbo-phase-row.is-done input[type="text"]:nth-of-type(2) { color: var(--muted); text-decoration: line-through; }
.gbo-phase-remove { width: 28px; height: 28px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gbo-phase-remove:hover { background: var(--danger-soft); color: var(--danger); }
.gbo-phase-remove svg { width: 12px; height: 12px; }

.gbo-comments { display: flex; flex-direction: column; gap: 14px; }
.gbo-comment { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.gbo-avatar {
    width: 32px; height: 32px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
    font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.gbo-avatar.is-me { background: #eef0f3; color: var(--ink-2); }
.gbo-comment-meta { font-size: 13.5px; display: flex; gap: 8px; align-items: baseline; }
.gbo-comment-meta strong { font-weight: 600; }
.gbo-comment p { margin: 2px 0 0; white-space: pre-wrap; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.gbo-comment-form { margin-top: 16px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.gbo-comment-form .gbo-actions { margin-top: 8px; justify-content: flex-end; }
.gbo-comment-form textarea { min-height: 44px; }

.gbo-activity { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.gbo-activity li { padding: 3px 0; display: flex; gap: 8px; }
.gbo-activity li span:first-child { color: var(--ink-2); }
.gbo-activity-section { margin-top: 22px; }
.gbo-activity-section .gbo-section-head h3 { font-size: 13px; font-weight: 500; color: var(--muted); }
.gbo-footnote { margin-top: 22px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }

.gbo-toast {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px;
    opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s var(--ease); z-index: 40;
    max-width: calc(100% - 32px); box-shadow: var(--shadow-lift);
}
.gbo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.gbo-toast.is-error { background: var(--danger); }

/* ---------------------------------------------------------------- phones and small screens */
@media (max-width: 1000px) {
    .gbo-header { padding: 12px 20px; }
    .gbo-board { padding: 20px 20px 40px; }
    .gbo-columns { gap: 20px; }
    .gbo-done-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .gbo-header { padding: 12px 16px; gap: 12px; }
    .gbo-header-sub { display: none; }
    .gbo-header-user .gbo-me { display: none; }
    .gbo-jump { display: flex; flex-wrap: wrap; }
    .gbo-board { padding: 16px 16px 32px; }
    .gbo-columns { grid-template-columns: 1fr; gap: 28px; }
    .gbo-col { min-height: 0; scroll-margin-top: 12px; }
    .gbo-card { cursor: default; }
    .gbo-card:hover { transform: none; box-shadow: var(--shadow-card); }
    .gbo-done { margin-top: 28px; scroll-margin-top: 12px; }
    .gbo-done-head { padding: 14px 16px; flex-wrap: wrap; }
    .gbo-done-head .gbo-col-help { display: none; }
    .gbo-done-body { padding: 12px 8px 14px; }
    .gbo-done-grid { grid-template-columns: 1fr; gap: 2px; }
    .gbo-dialog { width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; }
    .gbo-dialog[open] { animation: gbo-open-sheet .2s var(--ease); }
    @keyframes gbo-open-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
    .gbo-dialog-scroll { padding: 18px 16px 32px; }
    .gbo-dialog-head h2, .gbo-title-input { font-size: 19px; }
    .gbo-row { grid-template-columns: 1fr; }
    .gbo-phase-row { grid-template-columns: auto 1fr auto; row-gap: 2px; }
    .gbo-phase-row input[type="checkbox"] { grid-area: 1 / 1; }
    .gbo-phase-row input[type="text"]:nth-of-type(2) { grid-area: 1 / 2; }
    .gbo-phase-row input[type="text"]:nth-of-type(3) { grid-area: 2 / 2; }
    .gbo-phase-remove { grid-area: 1 / 3; }
}

@media (prefers-reduced-motion: reduce) {
    .gbo-dialog[open], .gbo-dialog::backdrop, .gbo-card.is-new { animation: none; }
    .gbo-toast, .gbo-card, .gbo-progress-fill, .gbo-done-toggle::after { transition: none; }
}
