html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.sidebar .sidebar-status,
.sidebar .sidebar-status .sidebar-persistence-indicator,
.sidebar .sidebar-status .sidebar-notion-alert,
.sidebar .sidebar-status .sidebar-cache-status,
.sidebar .sidebar-status .sidebar-cache-path,
.sidebar .sidebar-status strong,
.sidebar .sidebar-status p {
    color: #ffffff;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.atlas-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.atlas-page__header h1 {
    margin-bottom: 0;
}

.atlas-page__title-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.25rem;
}

.atlas-page__title-row h1 {
    margin: 0;
}

.atlas-page__title-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-left: 0.75rem;
}

.atlas-subnav {
    display: flex;
    gap: 0.5rem;
}

.atlas-subnav__link {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    color: #455a64;
    background: #eceff1;
    font-size: 0.9rem;
}

.atlas-subnav__link:hover {
    background: #cfd8dc;
}

.atlas-subnav__link--active {
    background: #1565c0;
    color: #fff;
}

.editor-work-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.editor-work-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #eceff1;
}

.atlas-page__context {
    color: #607d8b;
    margin: 0;
}

.atlas-page__node-toolbar,
.atlas-page__node-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.atlas-page__node-title {
    font-weight: 600;
    color: #37474f;
}

.map-node-vitals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin: 0;
}

.map-node-vitals__item {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0;
}

.map-node-vitals__item dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #90a4ae;
}

.map-node-vitals__item dd {
    margin: 0;
    font-size: 0.92rem;
    color: #37474f;
}

.atlas-page__sync-due-dates {
    align-self: flex-start;
}

.atlas-page__node-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.atlas-page__toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.atlas-page__add-child {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 28rem;
}

.atlas-page__add-child label {
    font-weight: 600;
    margin: 0;
}

.atlas-page__add-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 36rem;
}

.atlas-page__add-link label {
    font-weight: 600;
    margin: 0;
}

.atlas-page__linked-work {
    max-width: 36rem;
}

.atlas-page__section-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.linked-work-item {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.linked-work-item__remove {
    padding: 0;
}

.atlas-page__empty {
    color: #90a4ae;
    margin: 0;
}

.atlas-settings__section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 28rem;
}

.atlas-settings__section:has(.atlas-settings__cache-check) {
    max-width: 48rem;
}

.atlas-settings__section h2 {
    font-size: 1.1rem;
    margin: 0;
}

.atlas-settings__notion-databases {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 48rem;
}

.atlas-settings__notion-group {
    padding: 0.9rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #fafbfc;
}

.atlas-settings__notion-group-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.atlas-settings__notion-group-copy {
    margin: 0 0 0.75rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.atlas-settings__notion-link {
    font-weight: 500;
}

.atlas-settings__notion-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.atlas-settings__notion-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
}

.atlas-settings__notion-link-row + .atlas-settings__notion-link-row {
    border-top: 1px solid #e9ecef;
}

.atlas-settings__notion-link-label {
    font-weight: 500;
}

.atlas-settings__company-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
}

.atlas-settings__company-actions .btn {
    padding: 0.2rem 0.55rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    white-space: nowrap;
}

.atlas-dialog--edit-fields {
    width: min(36rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.edit-fields-dialog__subtitle {
    margin: 0.1rem 0 0;
    color: #607d8b;
    font-size: 0.875rem;
    font-weight: 500;
}

.edit-fields-dialog__copy {
    margin: 0 0 0.75rem;
    color: #607d8b;
    font-size: 0.875rem;
}

.edit-fields-dialog__empty {
    margin: 0 0 0.75rem;
}

.edit-fields-dialog__section-title {
    margin: 0 0 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #607d8b;
}

.edit-fields-dialog__section-title:not(:first-of-type) {
    margin-top: 1rem;
}

.edit-fields-dialog__section-empty {
    margin: 0 0 0.75rem;
    color: #607d8b;
    font-size: 0.875rem;
}

.edit-fields-dialog__list {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.edit-fields-dialog__list--hidden {
    background: #f8f9fa;
}

.edit-fields-dialog__list--sortable {
    user-select: none;
}

.edit-fields-dialog__row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
}

.edit-fields-dialog__row + .edit-fields-dialog__row {
    border-top: 1px solid #e9ecef;
}

.edit-fields-dialog__row--hidden {
    background: #f8f9fa;
    cursor: default;
}

.edit-fields-dialog__row--dragging {
    opacity: 0.45;
}

.edit-fields-dialog__row--drag-over {
    background: #eef6ff;
    box-shadow: inset 0 0 0 2px #90caf9;
}

.edit-fields-dialog__drag-handle {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #90a4ae;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: -0.15em;
    user-select: none;
    cursor: grab;
    touch-action: none;
}

.edit-fields-dialog__drag-handle:disabled {
    cursor: default;
    opacity: 0.5;
}

.edit-fields-dialog__drag-handle:active {
    cursor: grabbing;
}

.edit-fields-dialog__name {
    flex: 1 1 auto;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: none;
}

.edit-fields-dialog__show {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0 auto;
    font-size: 0.875rem;
    font-weight: normal;
    white-space: nowrap;
    flex-shrink: 0;
}

.atlas-settings__section label {
    font-weight: 600;
    margin: 0;
}

.atlas-settings__success {
    color: #2e7d32;
    margin: 0;
}

.atlas-settings__cache-check {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 0.4rem;
    border: 1px solid #cfd8dc;
    background: #f5f7f8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.atlas-settings__cache-check p {
    margin: 0 0 0.35rem;
}

.atlas-settings__cache-check--ok {
    border-color: #a5d6a7;
    background: #e8f5e9;
}

.atlas-settings__cache-check--fail {
    border-color: #ef9a9a;
    background: #ffebee;
}

.atlas-settings__cache-details {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    word-break: break-word;
}

.atlas-settings__cache-details li {
    margin: 0.15rem 0;
}

.atlas-settings__notion-refresh-copy {
    margin-bottom: 1rem;
}

.atlas-settings__notion-refresh-copy ul {
    margin: 0.35rem 0 0.75rem 1.25rem;
    padding: 0;
}

.atlas-settings__notion-refresh-copy li {
    margin-bottom: 0.25rem;
}

.atlas-settings__notion-refresh-note {
    color: #607d8b;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.atlas-error-panel {
    border: 1px solid #e57373;
    background: #ffebee;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0 0 1rem;
}

.atlas-error-panel h2 {
    color: #c62828;
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.atlas-error-panel p {
    margin: 0;
}

.atlas-error-panel__detail {
    color: #5d4037;
    margin-top: 0.35rem !important;
    font-size: 0.9rem;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.breadcrumb-nav__link {
    color: #1565c0;
    text-decoration: none;
}

.breadcrumb-nav__link:hover {
    text-decoration: underline;
}

.breadcrumb-nav__separator {
    color: #90a4ae;
}

.atlas-map {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
}

.atlas-map--detail {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.35rem;
}

.atlas-page--detail .atlas-map {
    width: 100%;
}

.node-frame {
    border: 1px solid #ffe082;
    border-radius: 0.75rem;
    padding: 0.9375rem;
    background: #fff8e1;
    min-width: 0;
}

.node-frame--highlighted {
    box-shadow: 0 0 0 4px #1976d2, 0 0 24px rgba(25, 118, 210, 0.55);
    background: #e3f2fd;
}

.node-frame--highlighted .node-card {
    box-shadow: 0 0 0 3px #1976d2, 0 8px 24px rgba(25, 118, 210, 0.4);
}

.roadmap-detail-row--highlighted {
    box-shadow: inset 0 0 0 3px #1976d2, 0 0 16px rgba(25, 118, 210, 0.35);
    background: color-mix(in srgb, #1976d2 12%, white);
}

.node-frame__date-row {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.node-frame__date-button {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: left;
    color: #37474f;
    cursor: text;
}

.node-frame__date-button:hover:not(:disabled) {
    color: #1565c0;
}

.node-frame__date-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.node-frame__folder-label {
    flex: 1 1 auto;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #37474f;
}

.node-frame__date-input {
    flex: 1 1 auto;
    margin: 0;
    padding: 0.15rem 0.35rem;
    border: 1px solid #ffb74d;
    border-radius: 0.35rem;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    color: inherit;
}

.node-frame__date-input:focus {
    outline: 2px solid #1565c0;
    outline-offset: 1px;
}

.node-frame__date-error {
    flex: 1 0 100%;
    font-size: 0.75rem;
    font-weight: 500;
    color: #c62828;
}

.node-frame__group-count {
    flex: 0 0 auto;
    min-width: 1.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #eceff1;
    color: #455a64;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    margin-left: auto;
}

.node-card--priority-unset {
    border-style: dashed;
    background: color-mix(in srgb, var(--card-accent) 8%, #f5f5f5);
}

.node-card--priority-unset .node-card__priority-button {
    color: #78909c;
    font-style: italic;
}

.node-card {
    width: var(--node-size);
    min-width: 10rem;
    min-height: 8.125rem;
    border: 3px solid var(--card-border);
    background: color-mix(in srgb, var(--card-accent) 12%, white);
    border-radius: 0.75rem;
    padding: 0.8125rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
    font-size: 0.6875rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.node-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.node-card__toolbar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.node-card__toolbar-spacer {
    flex: 1 1 auto;
    min-width: 0.25rem;
}

.node-card__open {
    font-size: 0.625rem;
    font-weight: 600;
    text-decoration: none;
    color: #1565c0;
    white-space: nowrap;
}

.node-card__submap {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-decoration: none;
    color: #2e7d32;
    white-space: nowrap;
}

.node-card__submap:hover {
    text-decoration: underline;
}

.node-card__open:hover {
    text-decoration: underline;
}

.node-card__added {
    font-size: 0.625rem;
    color: #607d8b;
    white-space: nowrap;
}

.node-card__menu {
    border: none;
    background: transparent;
    font-size: 0.875rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    color: #455a64;
    flex-shrink: 0;
}

.node-card__title {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.node-card--folder {
    background: #eef1f5;
    border: 2px solid #cfd8dc;
}

.node-card--folder:hover {
    background: #e4e8ee;
}

.node-card__title--wrap,
.node-card--folder .node-card__title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
}

.node-card__placeholder {
    visibility: hidden;
    pointer-events: none;
}

.node-card__toolbar.node-card__placeholder {
    min-height: 0.875rem;
}

.node-card__meta.node-card__placeholder {
    min-height: 1rem;
}

.node-card__progress.node-card__placeholder {
    margin-top: auto;
}

.node-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.625rem;
}

.node-card__badge {
    background: #eceff1;
    border-radius: 999px;
    padding: 0.05rem 0.35rem;
}

.node-card__priority {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.node-card__priority-button {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
}

.node-card__priority-button:hover:not(:disabled) {
    color: #1565c0;
    text-decoration: underline;
}

.node-card__priority-button:disabled {
    cursor: default;
}

.node-card__priority-input {
    width: 1.75rem;
    padding: 0;
    border: 1px solid #90a4ae;
    border-radius: 0.2rem;
    font: inherit;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.node-card__priority-input::-webkit-outer-spin-button,
.node-card__priority-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.node-card__priority-input:focus {
    outline: none;
    border-color: #1565c0;
}

.node-card__priority-error {
    font-size: 0.625rem;
    color: #c62828;
}

.node-card__notes {
    margin: 0;
    font-size: 0.625rem;
    color: #546e7a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.node-card__progress {
    margin-top: auto;
    background: #eceff1;
    border: 1px solid #90a4ae;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    height: 0.55rem;
    box-sizing: border-box;
}

.node-card__progress--manual {
    border: 2px solid #546e7a;
}

.node-card__progress-bar {
    height: 100%;
    background: var(--card-accent);
}

.node-card__progress-label {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.625rem;
    color: #546e7a;
}

.editor-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
}

.editor-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(28rem, 100vw);
    height: 100vh;
    background: #fff;
    z-index: 1001;
    overflow-y: auto;
    padding: 1rem 1.25rem 2rem;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
}

.editor-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.editor-panel__close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.editor-panel__section {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eceff1;
}

.editor-panel__section--stub {
    opacity: 0.85;
}

.editor-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.editor-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.status-select optgroup {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #455a64;
    background: #eceff1;
}

.status-select option {
    font-weight: 500;
    font-size: 0.875rem;
    color: #263238;
    background: #fff;
    padding: 0.2rem 0;
}

.field-requirement {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    line-height: 1.2;
}

.field-requirement--required {
    color: #b71c1c;
    background: #ffebee;
}

.field-requirement--recommended {
    color: #1565c0;
    background: #e3f2fd;
}

.field-requirement--optional {
    color: #546e7a;
    background: #eceff1;
}

.editor-panel__field-warning {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.35rem;
    background: #fff3e0;
    color: #e65100;
    font-size: 0.9rem;
}

.editor-panel__actions {
    display: flex;
    gap: 0.5rem;
}

.editor-panel__inline {
    display: flex;
    gap: 0.5rem;
}

.editor-panel__error {
    color: #c62828;
}

.editor-panel--busy,
.editor-panel--busy .btn:disabled {
    cursor: wait;
}

.editor-panel__fieldset {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.editor-panel__saving {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    color: #546e7a;
    font-size: 0.9rem;
}

.editor-panel__save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.atlas-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    width: min(24rem, calc(100vw - 2rem));
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.atlas-dialog--wide {
    width: min(36rem, calc(100vw - 2rem));
}

.atlas-dialog--add-child {
    width: min(52rem, calc(100vw - 2rem));
}

.atlas-dialog--edit-node {
    width: min(80rem, calc(100vw - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    padding: 0.9rem 1.1rem 1rem;
}

.atlas-dialog--edit-node .atlas-dialog__header {
    margin-bottom: 0.6rem;
}

.atlas-dialog--edit-node .atlas-dialog__header h2 {
    font-size: 1.1rem;
}

.atlas-dialog--edit-node .atlas-dialog__actions {
    margin-top: 0.65rem;
}

.atlas-dialog--edit-node .editor-field {
    gap: 0.2rem;
    margin-bottom: 0;
}

.atlas-dialog--edit-node .editor-field label {
    font-size: 0.8125rem;
    line-height: 1.2;
}

.atlas-dialog--edit-node .form-control {
    padding: 0.3rem 0.5rem;
    font-size: 0.875rem;
    min-height: calc(1.5em + 0.6rem);
}

.atlas-dialog--edit-node textarea.form-control {
    min-height: 3.5rem;
}

.edit-node-dialog__context {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    color: #607d8b;
}

.edit-node-dialog__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(16rem, 24%);
    gap: 0.85rem 1rem;
    align-items: start;
}

.edit-node-dialog__subtitle {
    margin: 0.1rem 0 0;
    color: #607d8b;
    font-size: 0.875rem;
    font-weight: 500;
}

.edit-node-dialog__form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
}

.edit-node-dialog__form-grid .editor-field--full {
    grid-column: 1 / -1;
}

.edit-node-dialog__form-grid .editor-field {
    margin-bottom: 0;
}

.edit-node-dialog__additional-fields,
.add-child-dialog__form-grid .edit-node-dialog__additional-fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
    margin-top: 0.35rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.additional-fields__multi-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.65rem;
}

.additional-fields__multi-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-weight: normal;
    font-size: 0.8125rem;
}

.edit-node-dialog__clear-date {
    align-self: flex-start;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.2;
}

.edit-node-dialog__aside {
    border-left: 1px solid #e9ecef;
    padding-left: 0.85rem;
    max-height: min(58vh, 28rem);
    overflow-y: auto;
}

.edit-node-dialog__panel h3 {
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
}

.edit-node-dialog__panel + .edit-node-dialog__panel {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.edit-node-dialog__panel .editor-panel__section-header {
    margin-bottom: 0.35rem;
}

.edit-node-dialog__child-list {
    max-height: 12rem;
    overflow-y: auto;
}

.edit-node-dialog__empty {
    margin: 0;
    font-size: 0.875rem;
}

@media (max-width: 1100px) {
    .edit-node-dialog__layout {
        grid-template-columns: 1fr;
    }

    .edit-node-dialog__aside {
        border-left: none;
        padding-left: 0;
        padding-top: 0.75rem;
        border-top: 1px solid #dee2e6;
        max-height: none;
    }

    .edit-node-dialog__form-grid,
    .edit-node-dialog__additional-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .edit-node-dialog__form-grid,
    .edit-node-dialog__additional-fields {
        grid-template-columns: 1fr;
    }
}

.add-child-dialog__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.add-child-dialog__form-grid .editor-field--full {
    grid-column: 1 / -1;
}

.add-child-dialog__alternates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.add-child-dialog__alternates--primary {
    border-top: none;
    padding-top: 0;
    margin-top: 0.5rem;
}

.atlas-dialog__tabs {
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.atlas-dialog__tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: #607d8b;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
}

.atlas-dialog__tabs .nav-link.active {
    background: transparent;
    border-bottom-color: #1565c0;
    color: #1565c0;
}

.atlas-dialog__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 1.1rem;
    margin-left: 0.35rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

.atlas-dialog__tab-panel {
    display: grid;
}

.atlas-dialog__tab-pane {
    grid-area: 1 / 1;
    visibility: hidden;
    pointer-events: none;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.atlas-dialog__tab-pane--active {
    visibility: visible;
    pointer-events: auto;
}

.add-child-dialog__text-tab,
.add-child-dialog__children-tab,
.edit-node-dialog__children-tab {
    min-height: 0;
}

.add-child-dialog__text-field {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
}

.add-child-dialog__initial-text {
    flex: 1 1 auto;
    min-height: 0;
    resize: none;
    font-family: inherit;
}

.add-child-dialog__child-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.edit-node-dialog__children-tab {
    overflow-y: auto;
}

.add-child-dialog__field-hint {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.add-child-dialog__child-add-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.add-child-dialog__child-add-row .form-control {
    flex: 1 1 auto;
}

.atlas-dialog--take-children {
    width: min(52rem, calc(100vw - 2rem));
}

.take-children-dialog__body {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    margin-top: 0.5rem;
    min-height: 14rem;
}

.take-children-dialog__candidates,
.take-children-dialog__selected {
    min-width: 0;
}

.take-children-dialog__selected {
    border: 1px solid #e0e6ea;
    border-radius: 0.5rem;
    padding: 0.75rem;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
}

.take-children-dialog__selected-heading {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.take-children-dialog__selected-empty {
    margin: 0;
    flex: 1;
}

.take-children-selected-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow-y: auto;
    max-height: 16rem;
}

.take-children-selected-list__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    border: 1px solid #e0e6ea;
    border-radius: 0.375rem;
    background: #fff;
}

.take-children-selected-list__name {
    flex: 1;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.take-children-selected-list__meta {
    flex-shrink: 0;
    color: #607d8b;
    font-size: 0.8rem;
}

.take-children-selected-list__remove {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #607d8b;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0.25rem;
    cursor: pointer;
}

.take-children-selected-list__remove:hover:not(:disabled) {
    color: #c62828;
}

.take-children-dialog__existing-heading {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e6ea;
}

.take-children-dialog__existing-empty {
    margin: 0;
    font-size: 0.9rem;
}

.take-children-existing-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
    max-height: 10rem;
}

.take-children-existing-list__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    color: #607d8b;
    font-size: 0.9rem;
}

.take-children-existing-list__name {
    flex: 1;
    overflow-wrap: anywhere;
}

.take-children-existing-list__meta {
    flex-shrink: 0;
    font-size: 0.8rem;
}

.take-children-summary {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.take-children-summary__item {
    font-size: 0.9rem;
    color: #455a64;
}

.move-target-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: min(24rem, calc(100vh - 14rem));
    overflow-y: auto;
    margin-bottom: 0.5rem;
    padding: 0.15rem;
}

.move-target-list__loading-label {
    margin: 0 0 0.5rem;
    color: #607d8b;
    font-size: 0.9rem;
}

.move-target-list__skeleton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    padding-left: calc(0.75rem + (var(--move-depth, 0) * 1.1rem));
    border: 1px solid #eceff1;
    border-radius: 0.5rem;
    background: #fafafa;
}

.move-target-skeleton__name,
.move-target-skeleton__meta {
    display: block;
    height: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #eceff1 25%, #f5f7f8 37%, #eceff1 63%);
    background-size: 400% 100%;
    animation: move-target-skeleton-shimmer 1.4s ease infinite;
}

.move-target-skeleton__name {
    width: min(14rem, 55%);
}

.move-target-skeleton__meta {
    width: 3.5rem;
}

@keyframes move-target-skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.move-target-search {
    margin-bottom: 0.65rem;
}

.move-target-search__input {
    width: 100%;
}

.move-target-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.75rem;
    padding-left: calc(0.75rem + (var(--move-depth, 0) * 1.1rem));
    border: 1px solid #eceff1;
    border-radius: 0.5rem;
    background: #fafafa;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.move-target-list__item:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cfd8dc;
}

.move-target-list__item--selected {
    background: #e3f2fd;
    border-color: #1565c0;
}

.move-target-list__item:disabled {
    opacity: 0.6;
    cursor: wait;
}

.move-target-list__name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.move-target-list__meta {
    flex-shrink: 0;
    color: #607d8b;
    font-size: 0.8rem;
    white-space: nowrap;
}

.move-sync-report {
    margin-top: 1rem;
}

.move-sync-report__heading {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.move-sync-report__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 16rem;
    overflow-y: auto;
}

.move-sync-report__item {
    border: 1px solid #e0e6ea;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: #fafbfc;
}

.move-sync-report__item--updated {
    border-left: 3px solid #2e7d32;
}

.move-sync-report__item--skipped {
    border-left: 3px solid #ed6c02;
}

.move-sync-report__item--na {
    border-left: 3px solid #90a4ae;
}

.move-sync-report__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.move-sync-report__target {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.move-sync-report__outcome {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #607d8b;
}

.move-sync-report__properties {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #455a64;
}

.move-sync-report__detail {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: #607d8b;
    overflow-wrap: anywhere;
}

.atlas-dialog__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.atlas-dialog__header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.atlas-dialog__kind {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.atlas-dialog__kind-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-weight: 500;
}

.atlas-dialog__actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.atlas-dialog__separator {
    margin: 1.25rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

.atlas-dialog__section-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
}

.roadmap-print-dialog__options {
    border: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roadmap-print-dialog__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.roadmap-print-dialog__range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.roadmap-print-dialog__generating {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 6rem;
    margin: 0.25rem 0 0.5rem;
    color: #455a64;
    font-weight: 500;
}

.roadmap-print-dialog__legend {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #455a64;
}

.roadmap-print-dialog__hint {
    grid-column: 1 / -1;
    margin: 0;
    color: #607d8b;
    font-size: 0.85rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.atlas-dialog--busy,
.atlas-dialog--busy .btn:disabled,
.editor-backdrop--busy {
    cursor: wait;
}

.editor-panel__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.editor-panel__section-header h3 {
    margin: 0;
}

.atlas-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.atlas-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #eceff1;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    background: #fafafa;
}

.atlas-list__item:hover {
    background: #f1f5f9;
}

.atlas-list__item--static {
    cursor: default;
}

.atlas-list__name {
    font-weight: 600;
}

.atlas-list__meta {
    color: #607d8b;
    font-size: 0.9rem;
    white-space: nowrap;
}

.roadmap-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roadmap-page__header h1 {
    margin-bottom: 0;
}

.roadmap-page__title-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.25rem;
}

.roadmap-page__title-row h1 {
    margin: 0;
}

.roadmap-page__title-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-left: 0.75rem;
}

.roadmap-view-toggle {
    display: inline-flex;
    border: 1px solid #cfd8dc;
    border-radius: 0.375rem;
    overflow: hidden;
}

.roadmap-view-toggle__btn {
    border: 0;
    background: #fff;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #546e7a;
    cursor: pointer;
}

.roadmap-view-toggle__btn + .roadmap-view-toggle__btn {
    border-left: 1px solid #cfd8dc;
}

.roadmap-view-toggle__btn--active {
    background: #e3f2fd;
    color: #1565c0;
}

.roadmap-view-toggle__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.roadmap-page--detail .roadmap-timeline {
    flex-direction: column;
    overflow-x: visible;
}

.roadmap-page--detail .roadmap-bucket {
    min-width: 0;
    max-width: none;
    width: 100%;
}

.roadmap-page--detail .roadmap-flat .roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.roadmap-detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.roadmap-detail-group--family {
    border: 1px solid #cfd8dc;
    border-radius: 0.5rem;
    padding: 0.35rem;
    background: #fafafa;
}

.roadmap-detail-row {
    display: grid;
    grid-template-columns: 7rem minmax(12rem, 1fr) 6.5rem 3rem 6rem;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border: 1px solid #eceff1;
    border-left: 3px solid var(--card-accent, #90a4ae);
    border-radius: 0.375rem;
    background: #fff;
    padding: 0.45rem 0.65rem;
}

.roadmap-detail-row--child {
    margin-left: 1.25rem;
    background: #fafafa;
}

.roadmap-detail-row--folder {
    border-left-color: #b0bec5;
    background: #eef1f5;
    cursor: pointer;
}

.roadmap-detail-row--folder:hover {
    background: #e4e8ee;
}

.roadmap-detail-row--folder.roadmap-detail-row--child {
    background: #e8ebf0;
}

.roadmap-detail-row__placeholder {
    visibility: hidden;
    pointer-events: none;
}

.roadmap-detail-row__date-cell {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.roadmap-detail-row__date-button {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #546e7a;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.roadmap-detail-row__date-button:hover:not(:disabled) {
    color: #1565c0;
    text-decoration: underline;
}

.roadmap-detail-row__date-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.roadmap-detail-row__date-input {
    width: 100%;
    border: 1px solid #90a4ae;
    border-radius: 0.25rem;
    padding: 0.15rem 0.35rem;
    font-size: 0.78rem;
}

.roadmap-detail-row__date-input:focus {
    outline: 2px solid #1565c0;
    outline-offset: 1px;
}

.roadmap-detail-row__date-error {
    font-size: 0.68rem;
    color: #c62828;
    line-height: 1.2;
}

.roadmap-detail-row__date-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #90a4ae;
}

.roadmap-detail-row__title-cell {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.roadmap-detail-row__menu {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1;
    color: #607d8b;
    cursor: pointer;
}

.roadmap-detail-row__menu:hover {
    color: #1565c0;
}

.roadmap-detail-row__title {
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #263238;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.roadmap-detail-row__title:hover {
    color: #1565c0;
    text-decoration: underline;
}

.roadmap-detail-row__title--wrap,
.roadmap-detail-row--folder .roadmap-detail-row__title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
}

.roadmap-detail-row__state,
.roadmap-detail-row__priority {
    font-size: 0.78rem;
    color: #455a64;
    white-space: nowrap;
}

.roadmap-detail-row__priority {
    font-weight: 700;
}

.roadmap-detail-row__progress {
    position: relative;
    height: 1.1rem;
    border: 1px solid #cfd8dc;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.roadmap-detail-row__progress--manual {
    border-style: dashed;
}

.roadmap-detail-row__progress-bar {
    height: 100%;
    background: var(--card-accent, #81c784);
}

.roadmap-detail-row__progress-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #37474f;
}

.roadmap-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.roadmap-action-btn__icon {
    width: 1rem;
    height: 1rem;
}

.roadmap-page__context {
    color: #607d8b;
    margin: 0;
}

.roadmap-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.roadmap-breadcrumbs__link {
    color: #1565c0;
    text-decoration: none;
}

.roadmap-breadcrumbs__link:hover {
    text-decoration: underline;
}

.roadmap-breadcrumbs__current {
    font-weight: 600;
}

.roadmap-breadcrumbs__sep {
    color: #90a4ae;
}

.roadmap-timeline {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    align-items: flex-start;
}

.roadmap-bucket {
    min-width: 14rem;
    max-width: 20rem;
    flex: 0 0 auto;
    border: 1px solid #eceff1;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #fafafa;
}

.roadmap-bucket--special {
    background: #fff8e1;
    border-color: #ffe082;
}

.roadmap-bucket__label {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.roadmap-bucket__label-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.roadmap-bucket__label-link:hover {
    color: #1565c0;
    text-decoration: underline;
}

.roadmap-bucket__cluster {
    width: 100%;
    border: 1px dashed #90a4ae;
    border-radius: 0.5rem;
    background: #fff;
    padding: 1rem 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.roadmap-bucket__cluster:hover {
    background: #e3f2fd;
    border-color: #1565c0;
}

.roadmap-bucket__cluster--unknown {
    background: #fce4ec;
    border-color: #f48fb1;
}

.roadmap-bucket__cluster--tbd {
    background: #f3e5f5;
    border-color: #ce93d8;
}

.roadmap-bucket__cluster--soon {
    background: #e8f5e9;
    border-color: #81c784;
}

.roadmap-bucket__cluster--unscheduled {
    background: #fff3e0;
    border-color: #ffcc80;
}

.roadmap-bucket__cluster--onhold {
    background: #eceff1;
    border-color: #90a4ae;
}

.roadmap-bucket__show-all {
    display: inline-block;
    width: 100%;
    margin-top: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1565c0;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

.roadmap-bucket__show-all:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.roadmap-bucket__show-all--unknown {
    color: #c2185b;
}

.roadmap-bucket__show-all--past-due {
    color: #c62828;
}

.roadmap-bucket__show-all--tbd {
    color: #7b1fa2;
}

.roadmap-bucket__show-all--soon {
    color: #2e7d32;
}

.roadmap-bucket__show-all--unscheduled {
    color: #ef6c00;
}

.roadmap-bucket__show-all--onhold {
    color: #546e7a;
}

.roadmap-family-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    border: 1px solid #cfd8dc;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    text-align: left;
}

.roadmap-family-group-host {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.roadmap-family-group__expand {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: #1565c0;
    font-size: 0.8rem;
    cursor: pointer;
}

.roadmap-family-group__expand:hover {
    text-decoration: underline;
}

.roadmap-family-group:hover {
    background: #e3f2fd;
    border-color: #1565c0;
}

.roadmap-family-group__name {
    font-weight: 600;
    color: #37474f;
}

.roadmap-family-group__count {
    flex: 0 0 auto;
    min-width: 1.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #eceff1;
    color: #455a64;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.roadmap-family-group__members {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roadmap-family-group__collapse {
    align-self: flex-start;
    margin-top: 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: #1565c0;
    font-size: 0.8rem;
    cursor: pointer;
}

.roadmap-family-group__collapse:hover {
    text-decoration: underline;
}

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.roadmap-items .node-frame {
    width: 100%;
    background: transparent;
    border-color: transparent;
    padding: 0;
}

.roadmap-items .node-card {
    width: 100%;
}

.roadmap-flat .roadmap-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
}

.roadmap-flat .roadmap-node,
.roadmap-flat .node-frame {
    min-width: 0;
}

.roadmap-root-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 32rem;
}

.roadmap-root-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #eceff1;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    background: #fafafa;
}

.roadmap-root-list__item:hover {
    background: #e3f2fd;
    border-color: #90caf9;
}

.roadmap-root-list__item--folder {
    background: #eef1f5;
    border-color: #cfd8dc;
    justify-content: flex-start;
}

.roadmap-root-list__item--folder:hover {
    background: #e4e8ee;
    border-color: #b0bec5;
}

.roadmap-root-list__name {
    font-size: 1.1rem;
    font-weight: 700;
}

.roadmap-root-list__meta {
    color: #607d8b;
    font-size: 0.9rem;
    white-space: nowrap;
}

.roadmap-search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 40rem;
}

.roadmap-search-form__input {
    flex: 1;
}

.roadmap-search-form__submit {
    white-space: nowrap;
}

.roadmap-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.75rem;
}

.roadmap-search-results--detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 72rem;
}

.roadmap-search-result__context {
    margin: 0 0 0.35rem;
    color: #607d8b;
    font-size: 0.85rem;
}

.roadmap-search-result__path {
    color: #78909c;
}

.roadmap-detail-row--clickable {
    cursor: pointer;
}

.roadmap-detail-row--clickable:hover {
    background: #f5f9fc;
}

.roadmap-detail-row--priority-unset {
    border-left-style: dashed;
    opacity: 0.92;
}

.roadmap-detail-row--priority-unset .roadmap-detail-row__priority {
    color: #78909c;
    font-style: italic;
}

.home-root-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 32rem;
}

.home-root-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #eceff1;
    border-radius: 0.75rem;
    background: #fafafa;
}

.home-root-list__name {
    font-size: 1.1rem;
    font-weight: 700;
}

.home-root-list__links {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.atlas-search-page__header {
    margin-bottom: 1rem;
}

.atlas-search-page__title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.atlas-search-page__title-row h1 {
    margin: 0;
}

.atlas-search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 40rem;
    margin-bottom: 1rem;
}

.atlas-search-form__input {
    flex: 1;
}

.atlas-search-form__submit {
    white-space: nowrap;
}

.atlas-search-status-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    max-width: 72rem;
}

.atlas-search-status-filters__legend {
    float: left;
    width: auto;
    margin: 0 0.75rem 0 0;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #455a64;
}

.atlas-search-status-filters__option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #37474f;
    cursor: pointer;
}

.atlas-search-results {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 72rem;
}

.atlas-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #fff;
}

.atlas-search-result__main {
    min-width: 0;
}

.atlas-search-result__title {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atlas-search-result__meta {
    margin: 0.2rem 0 0;
    color: #607d8b;
    font-size: 0.875rem;
}

.atlas-search-result__path {
    color: #78909c;
}

.atlas-search-result__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .atlas-search-result {
        flex-direction: column;
        align-items: stretch;
    }

    .atlas-search-result__actions {
        justify-content: flex-start;
    }
}