.page {
    min-height: 100vh;
}
.navbar-brand a {
    color: inherit;
    text-decoration: none;
}
.navbar-brand-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    color: #fff;
}
.navbar-brand-icon-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--tblr-primary);
}
.navbar-brand-icon .icon {
    position: relative;
    z-index: 1;
    --tblr-icon-size: 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
}
[data-bs-theme="dark"] .navbar-brand-icon {
    color: var(--tblr-primary);
}
[data-bs-theme="dark"] .navbar-brand-icon-shape {
    fill: #fff;
}
.navbar .nav-link-icon .icon {
    --tblr-icon-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}
code {
    font-size: 0.85em;
}
a.card-link {
    color: inherit;
    text-decoration: none;
}
a.card-link:hover {
    color: inherit;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08);
}
.log-cell-clip {
    max-width: 14rem;
}
.log-column-menu {
    min-width: 16.5rem;
    max-height: 22rem;
    overflow-y: auto;
}
.log-column-item {
    cursor: grab;
    user-select: none;
    gap: 0.35rem;
}
.log-column-item:active,
.log-col-grip:active {
    cursor: grabbing;
}
.log-col-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}
.log-col-grip {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: var(--tblr-secondary);
    cursor: grab;
    vertical-align: middle;
}
.log-col-grip svg {
    width: 1rem;
    height: 1rem;
}
.log-column-item.is-dragging,
.log-table th.is-dragging {
    opacity: 0.45;
}
.log-column-item.drag-over,
.log-table th.drag-over {
    box-shadow: inset 3px 0 0 var(--tblr-primary);
}
.log-table th[data-log-col] .log-col-grip {
    opacity: 0.45;
}
.log-table th[data-log-col]:hover .log-col-grip {
    opacity: 1;
}
.log-table th[data-log-col] {
    white-space: nowrap;
}
.log-table th[draggable="true"] {
    cursor: grab;
    user-select: none;
}
.log-table th .table-sort {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
.license-plain-alert {
    border-width: 2px;
}
.license-plain-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: #fffbeb;
    border-color: #f59e0b;
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.28);
}
.page-header .breadcrumb {
    margin-bottom: 0.35rem;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 0.8125rem;
}
.wysiwyg {
    border: var(--tblr-border-width, 1px) solid var(--tblr-border-color, #d1d5db);
    border-radius: var(--tblr-border-radius, 4px);
    overflow: hidden;
    background: var(--tblr-bg-forms, #fff);
}
.wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
    border-bottom: var(--tblr-border-width, 1px) solid var(--tblr-border-color, #d1d5db);
    background: var(--tblr-bg-surface-tertiary, #f8fafc);
}
.wysiwyg-btn {
    min-width: 2rem;
}
.wysiwyg-btn-bold {
    font-weight: 700;
}
.wysiwyg-btn-italic {
    font-style: italic;
}
.wysiwyg-editor {
    min-height: 10rem;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-y: auto;
}
.wysiwyg-editor:focus {
    box-shadow: none !important;
}
.wysiwyg-editor h3,
.wysiwyg-editor h4 {
    margin: 0.6em 0 0.35em;
}
.wysiwyg-editor p {
    margin: 0 0 0.6em;
}
.wysiwyg-editor ul,
.wysiwyg-editor ol {
    margin: 0 0 0.6em 1.25rem;
}
.wysiwyg-editor code {
    background: #f1f5f9;
    padding: 0.05em 0.3em;
    border-radius: 3px;
}
.wysiwyg-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0);
}
.chip-input-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    height: auto;
    cursor: text;
    padding: 0.35rem 0.5rem;
}
.chip-input-list {
    display: contents;
}
.chip-input-field {
    border: 0;
    outline: 0;
    box-shadow: none !important;
    flex: 1 1 10rem;
    min-width: 8rem;
    background: transparent;
    padding: 0.15rem 0;
}
.chip-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.2rem 0.35rem 0.2rem 0.5rem;
    border-radius: 1rem;
    background: var(--tblr-bg-surface-secondary, #eef1f4);
    font-size: 0.8125rem;
    line-height: 1.2;
}
.chip-tag[data-type="ip"] {
    background: #dbeafe;
}
.chip-tag[data-type="url"] {
    background: #dcfce7;
}
.chip-tag-type {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tblr-secondary, #6b7280);
}
.chip-tag-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 16rem;
}
.chip-tag-remove {
    border: 0;
    background: transparent;
    padding: 0 0.2rem;
    line-height: 1;
    color: inherit;
    opacity: 0.55;
}
.chip-tag-remove:hover {
    opacity: 1;
}
.license-picker-row {
    cursor: default;
}
.license-hover-modal {
    position: fixed;
    z-index: 1080;
    width: 22rem;
    max-width: calc(100vw - 1rem);
    padding: 0.85rem 1rem;
    border: 1px solid var(--tblr-border-color, #d1d5db);
    border-radius: var(--tblr-border-radius, 4px);
    background: var(--tblr-bg-surface, #fff);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.14);
    pointer-events: none;
}
.license-hover-title {
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.license-hover-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    margin-bottom: 0.35rem;
}
.license-hover-row:last-child {
    margin-bottom: 0;
}
.license-hover-label {
    color: var(--tblr-secondary, #6b7280);
}
.navbar .avatar {
    flex-shrink: 0;
}
.audit-feed-compact {
    max-height: 28rem;
    overflow-y: auto;
}
.audit-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--tblr-border-color, #e6e8eb);
}
.audit-feed-item:last-child {
    border-bottom: 0;
}
.audit-feed-body {
    flex: 1;
    min-width: 0;
}
.audit-feed-text {
    margin: 0;
    line-height: 1.4;
}
.audit-feed-time {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    color: var(--tblr-secondary, #6b7280);
}
.audit-feed-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: #206bc4;
    flex-shrink: 0;
}
.audit-feed-empty {
    padding: 1.25rem 1rem;
}
.entity-deleted {
    filter: grayscale(0.55);
    opacity: 0.78;
}
.entity-deleted-title {
    color: var(--tblr-secondary, #6b7280);
}
.entity-deleted-link {
    color: var(--tblr-secondary, #6b7280) !important;
}
