:root {
 --rb-editor-width: 480px;
 --rb-editor-max-height: 80vh;
 --rb-editor-list-height: 240px;
 --rb-editor-backdrop: rgb(17 32 55 / 28%);
 --rb-editor-inner-radius: max(0px, calc(var(--rb-radius-md) - var(--rb-space-6)));
 --rb-label-width: 256px;
 --rb-cell-editor-width: 384px;
 --rb-cell-editor-height: 560px;
 --rb-label-height: 384px;
 --rb-label-layer: 30;
 --rb-label-inner-radius: max(0px, calc(var(--rb-radius-md) - var(--rb-space-2)));
 --rb-child-control-width: 44px;
}
.rb-cell-edit { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; cursor: text; }
.rb-cell-edit:is(:hover, :focus-visible) { outline: var(--rb-border) solid var(--navy); outline-offset: calc(-1 * var(--rb-border)); }
.rb-native-board .rb-scroll { --rb-icon-width: var(--rb-child-control-width); scroll-padding-inline-start: calc(var(--rb-icon-width) + var(--rb-name-width) + var(--rb-space-2)); scroll-padding-inline-end: var(--rb-space-2); }
.rb-native-board .rb-cell-edit:not(.rb-item-title) { scroll-margin-inline-start: var(--rb-space-4); scroll-margin-inline-end: var(--rb-space-4); }
.rb-native-board .rb-name-content { gap: var(--rb-space-1); padding-inline: var(--rb-space-1); }
.rb-native-board .rb-item-title { flex: 1; height: var(--rb-inner-height); padding-inline: var(--rb-space-1); font-weight: var(--rb-weight-medium); text-align: left; }
.rb-native-board .rb-grid .rb-item:nth-child(4n + 3) > td:not(.rb-status-cell) { background: var(--slate-50); }
.rb-native-board .rb-grid.rb-child-grid .rb-item:nth-child(2n) > td:not(.rb-status-cell) { background: var(--slate-50); }
.rb-native-board .rb-grid .rb-item:is(:hover, :focus-within) > td:not(.rb-status-cell) { background: var(--slate-100); }
.rb-native-board .rb-grid .rb-status-cell { background: color-mix(in srgb, var(--rb-cell-color) 30%, var(--white)); color: var(--strong); box-shadow: inset 0 calc(-1 * var(--rb-border)) var(--rb-cell-color); }
.rb-native-board .rb-marker-cell .rb-subitem-toggle { display: flex; align-items: center; justify-content: center; gap: var(--rb-space-1); width: 100%; height: var(--rb-inner-height); color: var(--navy); }
.rb-native-board .rb-subitem-toggle .rb-chevron { margin-right: 0; transform: rotate(-45deg); }
.rb-native-board .rb-subitem-toggle[aria-expanded="true"] .rb-chevron { transform: rotate(45deg); }
.rb-subitem-count { font-size: var(--rb-font-small); font-variant-numeric: tabular-nums; }
.rb-row-actions { display: flex; align-items: center; flex: 0 0 auto; gap: var(--rb-space-1); }
.rb-native-board .rb-thread-button, .rb-native-board .rb-group-move { gap: var(--rb-space-1); min-width: var(--rb-icon-width); width: auto; height: var(--rb-inner-height); padding: 0 var(--rb-space-1); color: var(--navy); font-size: var(--rb-font-small); white-space: nowrap; }
.rb-native-board :is(.rb-thread-button, .rb-group-move, .rb-subitem-toggle):is(:hover, :focus-visible) { color: var(--navy); background: var(--info-bg); }
.rb-native-board :is(.rb-thread-button, .rb-group-move, .rb-subitem-toggle):focus-visible { outline: var(--rb-border) solid var(--navy); outline-offset: calc(-1 * var(--rb-border)); }
.rb-group-create { position: sticky; left: 0; box-sizing: border-box; width: min(calc(var(--rb-icon-width) + var(--rb-name-width)), 100cqw); background: var(--white); }
.rb-grid-wrap:has(> .rb-group-create) { border-bottom: var(--rb-border) solid var(--slate-200); }
.rb-group-add,.rb-group-create-save,.rb-group-create-cancel { min-height: var(--rb-row-height); padding: 0 var(--rb-space-2); border: 0; background: transparent; color: var(--navy); font: inherit; cursor: pointer; white-space: nowrap; }
.rb-group-add { width: 100%; padding-inline-start: var(--rb-space-3); font-weight: var(--rb-weight-medium); text-align: start; }
.rb-group-add:hover,.rb-group-create-save:hover,.rb-group-create-cancel:hover { background: var(--slate-100); color: var(--navy); }
.rb-group-add:focus-visible,.rb-group-create-save:focus-visible,.rb-group-create-cancel:focus-visible { outline: var(--rb-border) solid var(--navy); outline-offset: calc(-1 * var(--rb-border)); }
.rb-group-create-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rb-space-1); padding-inline: var(--rb-space-3); }
.rb-group-create-form .rb-editor-actions { gap: var(--rb-space-1); }
.rb-group-create-input { flex: 1; box-sizing: border-box; min-width: var(--rb-status-width); min-height: var(--rb-row-height); padding: 0 var(--rb-space-2); border: var(--rb-border) solid var(--slate-200); border-radius: var(--rb-radius-sm); background: var(--white); color: var(--strong); font: inherit; }
.rb-group-create-input:focus-visible { outline: var(--rb-border) solid var(--navy); outline-offset: calc(-1 * var(--rb-border)); }
.rb-group-create-form button:disabled { display: none; }
.rb-group-create-result { flex-basis: 100%; padding-bottom: var(--rb-space-1); overflow-wrap: anywhere; }
.rb-group-create-result:empty { display: none; }
.rb-group-move { flex: 0 0 auto; min-width: var(--rb-icon-width); height: var(--rb-inner-height); padding: 0 var(--rb-space-1); border: 0; background: transparent; color: var(--slate-600); font: inherit; cursor: pointer; }
.rb-group-move:hover,.rb-group-move:focus-visible { color: var(--navy); background: var(--slate-100); }
.rb-resume { margin-bottom: var(--rb-space-4); }
.rb-child-actions { position: sticky; left: 0; width: fit-content; display: flex; align-items: center; gap: var(--rb-space-4); padding: var(--rb-space-2) var(--rb-space-4); }
.rb-child-container { border: 0; }
.rb-editor { box-sizing: border-box; width: min(var(--rb-editor-width), calc(100vw - var(--rb-space-8))); max-height: var(--rb-editor-max-height); overflow: auto; border: var(--rb-border) solid var(--slate-200); border-radius: var(--rb-radius-md); padding: var(--rb-space-6); background: var(--white); color: var(--strong); font-family: var(--font-ui); font-size: var(--rb-font-size); }
.rb-editor::backdrop { background: var(--rb-editor-backdrop); }
.rb-editor-form,.rb-editor-body { display: flex; flex-direction: column; gap: var(--rb-space-4); }
.rb-editor-title { margin: 0; font-size: var(--rb-font-group); line-height: var(--rb-title-line); }
.rb-editor-input { box-sizing: border-box; width: 100%; min-height: var(--rb-row-height); padding: var(--rb-space-2); border: var(--rb-border) solid var(--slate-200); border-radius: var(--rb-editor-inner-radius); color: var(--strong); background: var(--white); font: inherit; }
.rb-editor-body .field-help { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.rb-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rb-space-2); }
.rb-editor-result { margin: 0; white-space: pre-wrap; color: var(--slate-600); line-height: var(--rb-line-height); }
.rb-member-list { display: flex; flex-direction: column; gap: var(--rb-space-2); max-height: var(--rb-editor-list-height); overflow: auto; }
.rb-member-option { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rb-space-2); padding: var(--rb-space-2); }
.rb-member-option input { margin: 0; width: var(--rb-icon-size); height: var(--rb-icon-size); }
.rb-member-option .field-help { margin-left: auto; }
.rb-detail-value { display: grid; grid-template-columns: var(--rb-text-width) 1fr auto; align-items: start; gap: var(--rb-space-2); padding: var(--rb-space-2) 0; white-space: pre-wrap; overflow-wrap: anywhere; border-bottom: var(--rb-border) solid var(--slate-200); }
.rb-label-picker { position: fixed; inset: auto; left: var(--rb-label-left, var(--rb-space-2)); top: var(--rb-label-top, var(--rb-space-2)); z-index: var(--rb-label-layer); box-sizing: border-box; width: min(var(--rb-label-width), var(--rb-label-available-width, var(--rb-label-width)), calc(100vw - var(--rb-space-4))); max-height: min(var(--rb-label-height), var(--rb-label-available-height, var(--rb-label-height))); overflow: auto; margin: 0; padding: var(--rb-space-2); border: var(--rb-border) solid var(--slate-200); border-radius: var(--rb-radius-md); box-shadow: var(--shadow); background: var(--white); color: var(--strong); font: var(--rb-font-size) / var(--rb-line-height) var(--font-ui); }
.rb-label-picker[hidden] { display: none; }
.rb-label-title { margin: 0 0 var(--rb-space-2); padding: 0 var(--rb-space-2); font: inherit; font-weight: var(--rb-weight-semibold); }
.rb-label-options { display: flex; flex-direction: column; gap: var(--rb-space-1); }
.rb-label-option { display: flex; align-items: center; gap: var(--rb-space-2); width: 100%; min-height: var(--rb-row-height); padding: var(--rb-space-1) var(--rb-space-2); border: 0; border-radius: var(--rb-label-inner-radius); background: var(--white); color: var(--strong); font: inherit; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.rb-label-option:hover,.rb-label-option[aria-selected="true"] { background: var(--slate-100); }
.rb-label-option:focus-visible { outline: var(--rb-border) solid var(--navy); outline-offset: calc(-1 * var(--rb-border)); }
.rb-label-swatch { flex: 0 0 var(--rb-icon-size); width: var(--rb-icon-size); height: var(--rb-icon-size); border-radius: var(--rb-label-inner-radius); background: var(--rb-cell-color, var(--rb-status-lightgray)); }
.rb-label-add { display: flex; align-items: center; gap: var(--rb-space-1); padding-top: var(--rb-space-2); margin-top: var(--rb-space-2); border-top: var(--rb-border) solid var(--slate-200); }
.rb-label-add .rb-editor-input { min-width: 0; }
.rb-label-add button { flex-shrink: 0; }
.rb-label-picker .rb-editor-actions { margin-top: var(--rb-space-2); }
.rb-label-picker .rb-editor-result { font-size: var(--rb-font-small); }
.rb-label-picker .rb-editor-result:not(:empty) { padding: var(--rb-space-2); }
.rb-label-picker button:disabled { cursor: default; }

.rb-cell-picker { --rb-label-width: var(--rb-cell-editor-width); --rb-label-height: var(--rb-cell-editor-height); padding: var(--rb-space-4); }
.rb-cell-picker .rb-editor-title { font-size: var(--rb-font-size); }
.rb-cell-picker .rb-editor-form,.rb-cell-picker .rb-editor-body { gap: var(--rb-space-2); }
.rb-label-search { box-sizing: border-box; width: 100%; min-height: var(--rb-row-height); margin-bottom: var(--rb-space-2); padding: var(--rb-space-2); border: var(--rb-border) solid var(--slate-200); border-radius: var(--rb-label-inner-radius); background: var(--white); color: var(--strong); font: inherit; }
.rb-label-option[hidden],.rb-member-option[hidden] { display: none; }
.rb-member-chips { display: flex; flex-wrap: wrap; gap: var(--rb-space-1); }
.rb-member-chip { display: inline-flex; align-items: center; gap: var(--rb-space-1); padding: var(--rb-space-1) var(--rb-space-2); border: 0; border-radius: var(--rb-label-inner-radius); background: var(--slate-100); color: var(--strong); font: inherit; cursor: pointer; }
.rb-file-references { display: flex; flex-direction: column; gap: var(--rb-space-2); }
.rb-file-reference { overflow-wrap: anywhere; color: var(--navy); }

.rb-editor-context { margin: 0; padding: 0 var(--rb-space-2); color: var(--slate-600); font-size: var(--rb-font-small); white-space: normal; overflow-wrap: anywhere; }
.rb-cell-picker .rb-editor-context { padding: 0; }
.rb-file-cell-links { display: flex; align-items: center; gap: var(--rb-space-2); padding: 0 var(--rb-space-2); }
.rb-file-cell-links .rb-file-reference { max-width: var(--rb-text-width); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-file-cell-links .rb-cell-edit { width: auto; min-width: fit-content; color: var(--slate-600); }

.rb-label-add { flex-wrap: wrap; }
.rb-label-add .rb-editor-input { flex: 1 1 100%; }
.rb-label-color { flex: 1; min-width: 0; min-height: var(--rb-row-height); padding: var(--rb-space-1) var(--rb-space-2); border: var(--rb-border) solid var(--slate-200); border-radius: var(--rb-label-inner-radius); background: var(--white); color: var(--strong); font: inherit; }

@container (width < 480px) {
 .rb-thread-label { display: none; }
}
