/* Argus. Plain CSS: tokens, base, layout, components and feature views. */
@font-face {
    font-family: Manrope;
    src: url("fonts/manrope-800.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ik-page: #f5f7fb;
    --ik-surface: #fff;
    --ik-ink: #1e293b;
    --ik-heading: #0f172a;
    --ik-muted: #64748b;
    --ik-border: #e2e8f0;
    --ik-field-border: #cbd5e1;
    --ik-primary: #1d4ed8;
    --ik-primary-hover: #1e40af;
    --ik-primary-soft: #eff6ff;
    --ik-danger: #b42332;
    --ik-danger-soft: #fff1f2;
    --ik-radius: 12px;
    --ik-control-radius: 7px;
    --ik-sidebar-width: 252px;
    --ik-shadow: 0 2px 3px rgb(15 23 42 / .025), 0 8px 24px rgb(15 23 42 / .035);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ik-ink);
    background: var(--ik-page);
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
    font: inherit;
}

a {
    color: var(--ik-primary);
    text-decoration: none;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--ik-primary-hover);
    text-decoration: underline;
}

button {
    cursor: pointer;
}

img, svg {
    max-width: 100%;
}

h1, h2, h3, p, dl {
    margin: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
}

::selection {
    background: #dbeafe;
}

.ik-skip {
    position: fixed;
    top: 8px;
    left: 16px;
    z-index: 100;
    transform: translateY(-150%);
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
}

.ik-skip:focus {
    transform: none;
}

.ik-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #17274c;
    font-family: Manrope, Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: 1;
    white-space: nowrap;
}

.ik-brand:hover {
    color: inherit;
    text-decoration: none;
}

.ik-brand-dot {
    color: #b9d5ff;
}

.ik-sidebar .ik-brand, .ik-auth-brand .ik-brand {
    color: #fff;
}

.ik-eyebrow {
    display: block;
    margin-bottom: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.ik-title {
    color: var(--ik-heading);
    font-size: clamp(23px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.ik-heading {
    color: var(--ik-heading);
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.ik-subtitle, .ik-description {
    color: var(--ik-muted);
    font-size: 13px;
    max-width: 68ch;
}

.ik-muted, .ik-meta {
    color: var(--ik-muted);
}

.ik-meta {
    font-size: 12px;
    overflow-wrap: anywhere;
}

.ik-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.ik-page-header > div:not(.ik-actions) {
    display: grid;
    gap: 7px;
    min-width: 0;
    flex: 1 1 360px;
}

.ik-page-header > .ik-actions {
    flex: 0 1 auto;
}

.ik-asset-header {
    align-items: center;
}

.ik-asset-header > div:first-child {
    gap: 8px;
}

.ik-page-actions {
    justify-content: flex-end;
    margin: -8px 0 16px;
}

.ik-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ik-stack {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.ik-panel {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--ik-border);
    border-radius: var(--ik-radius);
    background: var(--ik-surface);
    box-shadow: var(--ik-shadow);
}

.ik-panel > .ik-heading, .ik-panel > .ik-title {
    margin-bottom: 18px;
}

.ik-panel > .ik-heading + .ik-description {
    margin-top: -12px;
}

.ik-attention-list {
    display: grid;
    gap: 0;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ik-attention-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 9px 0;
    border-top: 1px solid var(--ik-border);
}

.ik-attention-list a {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ik-overview-grid + .ik-overview-grid {
    margin-top: 20px;
}

.ik-section > .ik-panel + .ik-panel, .ik-page > article.ik-panel + article.ik-panel {
    margin-top: 16px;
}

.ik-section {
    min-width: 0;
    margin-top: 30px;
    scroll-margin-top: 24px;
}

.ik-section > .ik-heading {
    margin-bottom: 16px;
}

.ik-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.ik-section-heading .ik-heading {
    margin: 0;
}

.ik-access-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 20px;
}

.ik-access-dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: min(90vh, 920px);
    padding: 20px;
    overflow: auto;
    border: 1px solid var(--ik-border);
    border-radius: var(--ik-radius);
    background: var(--ik-surface);
    box-shadow: 0 24px 72px rgb(15 23 42 / .2);
}

.ik-access-dialog::backdrop {
    background: rgb(15 23 42 / .55);
}

.ik-access-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.ik-access-dialog > .ik-panel {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.ik-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
    align-items: start;
    gap: 20px;
}

.ik-two-column > * {
    min-width: 0;
}

.ik-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--ik-field-border);
    border-radius: var(--ik-control-radius);
    color: #334155;
    background: #fff;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 140ms, border-color 140ms, box-shadow 140ms;
}

.ik-button:hover {
    color: var(--ik-heading);
    border-color: #94a3b8;
    background: #f8fafc;
    text-decoration: none;
}

.ik-button-primary {
    color: #fff;
    background: var(--ik-primary);
    border-color: var(--ik-primary);
    box-shadow: 0 2px 3px rgb(29 78 216 / .14);
}

.ik-button-primary:hover {
    color: #fff;
    background: var(--ik-primary-hover);
    border-color: var(--ik-primary-hover);
}

.ik-button-danger {
    color: var(--ik-danger);
    background: #fff;
    border-color: #fecdd3;
}

.ik-button-danger:hover {
    color: #9f1239;
    background: var(--ik-danger-soft);
    border-color: #fda4af;
}

.ik-button-light {
    border-color: var(--ik-border);
    background: #f8fafc;
}

.ik-button-small {
    min-height: 34px;
    font-size: 12px;
    padding: 6px 11px;
}

.ik-button:disabled {
    color: #64748b;
    background: #f1f5f9;
    border-color: var(--ik-border);
    box-shadow: none;
    cursor: not-allowed;
}

.ik-form {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.ik-form > .ik-button {
    justify-self: start;
}

.ik-form > div > .ik-heading + .ik-description {
    margin-top: 6px;
}

.ik-field {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.ik-label {
    display: block;
    color: #334155;
    font-size: 12px;
    font-weight: 650;
}

.ik-input, .ik-textarea, .ik-select select, select.ik-select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    color: #1e293b;
    background: #fff;
    border: 1px solid var(--ik-field-border);
    border-radius: var(--ik-control-radius);
    font-size: 13px;
    line-height: 1.5;
    transition: border-color 140ms, box-shadow 140ms;
}

.ik-input::placeholder, .ik-textarea::placeholder {
    color: #94a3b8;
}

.ik-input:focus, .ik-textarea:focus, .ik-select select:focus, select.ik-select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px #dbeafe;
}

.ik-textarea {
    min-height: 110px;
    resize: vertical;
}

.ik-field input[type=checkbox], .ik-field input[type=radio] {
    width: 19px;
    height: 19px;
    accent-color: var(--ik-primary);
}

.ik-input:disabled, .ik-select select:disabled {
    background: #f1f5f9;
    color: var(--ik-muted);
}

.ik-input[aria-invalid=true], .ik-textarea[aria-invalid=true], .ik-select select[aria-invalid=true] {
    border-color: var(--ik-danger);
}

.ik-help {
    color: var(--ik-muted);
    font-size: 12px;
}

.ik-form-errors {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.ik-form-errors a {
    color: inherit;
    text-decoration: underline;
}

.ik-field-error {
    color: var(--ik-danger);
    font-size: 12px;
    font-weight: 600;
}

.ik-form-section {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--ik-border);
    border-radius: var(--ik-radius);
}

.ik-form-section > .ik-heading {
    margin-bottom: 5px;
}

.ik-form-section > .ik-description {
    margin-bottom: 22px;
}

.ik-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ik-field-wide {
    grid-column: 1 / -1;
}

.ik-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 4px 0;
}

.ik-alert {
    padding: 15px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 14px;
}

.ik-alert-error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.ik-badge, .ik-chip, .ik-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}

.ik-badge {
    color: #1e40af;
    background: #eff6ff;
}

.ik-badge-active, .ik-badge-applied {
    color: #166534;
    background: #f0fdf4;
}

.ik-badge-retiring {
    color: #854d0e;
    background: #fefce8;
}

.ik-badge-retired {
    color: #475569;
    background: #f1f5f9;
}

.ik-badge-critical, .ik-badge-high, .ik-badge-rejected {
    color: #991b1b;
    background: #fef2f2;
}

.ik-badge-medium {
    color: #854d0e;
    background: #fefce8;
}

.ik-badge-low {
    color: #475569;
    background: #f1f5f9;
}

.ik-chip {
    color: #475569;
    background: #f1f5f9;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.ik-role {
    color: #475569;
    border: 1px solid var(--ik-border);
    font-weight: 500;
    text-transform: capitalize;
}

.ik-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ik-tag-editor {
    display: grid;
    gap: 9px;
}

.ik-tag-editor:not([data-ready]) .ik-tags {
    display: none;
}

.ik-tag-editor .ik-tags:empty {
    display: none;
}

.ik-tag-editor .ik-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ik-tag-editor .ik-chip button {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
}

.ik-tag-editor .ik-chip button:hover {
    background: rgb(15 23 42 / .1);
}

.ik-tag-input-wrap {
    position: relative;
    min-width: 0;
}

.ik-tag-suggestions {
    position: absolute;
    inset: calc(100% + 4px) 0 auto;
    z-index: 20;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid var(--ik-field-border);
    border-radius: var(--ik-control-radius);
    background: var(--ik-surface);
    box-shadow: var(--ik-shadow);
}

.ik-tag-suggestion {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ik-ink);
    text-align: left;
    font-size: 13px;
}

.ik-tag-suggestion:hover, .ik-tag-suggestion[aria-selected=true] {
    background: var(--ik-primary-soft);
    color: var(--ik-primary-hover);
}

.ik-person-picker {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ik-person-picker legend {
    margin-bottom: 8px;
}

.ik-person-search {
    margin-bottom: 10px;
}

.ik-person-picker-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ik-person-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    max-height: 260px;
    overflow: auto;
    border: 1px solid var(--ik-border);
    border-radius: 8px;
}

.ik-person-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 11px;
    font-size: 12px;
}

.ik-person-option input {
    flex: 0 0 auto;
    accent-color: var(--ik-primary);
}

.ik-person-option .ik-meta {
    overflow-wrap: anywhere;
}

.ik-person-select-all {
    margin-bottom: 6px;
}

.ik-plan-user-row {
    justify-content: flex-start;
    gap: 14px;
    margin-top: 7px;
}

.ik-plan-user-row p {
    margin: 0;
}

.ik-inline-assignment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.ik-inline-assignment .ik-select {
    min-width: min(240px, 100%);
}

.ik-catalog-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.ik-catalog-intro {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.ik-catalog-tools {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ik-catalog-tools > .ik-button {
    flex: none;
    white-space: nowrap;
}

.ik-catalog-tools .ik-search {
    width: 320px;
    max-width: 100%;
}

.ik-catalog-tools .ik-request-indicator {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
}

.ik-search {
    display: flex;
    align-items: end;
    gap: 10px;
    width: min(100%, 430px);
}

.ik-search .ik-field {
    flex: 1;
}

.ik-root-search {
    width: min(100%, 520px);
    margin-bottom: 22px;
}

.ik-root-detail-stack {
    display: grid;
    gap: 26px;
}

.ik-root-detail-stack > .ik-page-header {
    margin-bottom: 0;
}

.ik-root-detail-stack > section > .ik-heading {
    margin-bottom: 12px;
}

.ik-table-panel {
    overflow: hidden;
    padding: 0;
}

.ik-table-wrap {
    overflow-x: auto;
}

.ik-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.ik-table th {
    padding: 12px 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
    border-bottom: 1px solid var(--ik-border);
}

.ik-table td {
    padding: 14px;
    overflow-wrap: anywhere;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f7;
}

.ik-table tbody tr:last-child td {
    border-bottom: 0;
}

.ik-table tbody tr:hover {
    background: #fafcff;
}

.ik-asset-link {
    display: block;
    min-width: 0;
    color: var(--ik-heading);
    font-size: 13px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.ik-asset-link:hover {
    color: var(--ik-primary);
}

.ik-asset-name {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.ik-asset-name > div {
    min-width: 0;
    flex: 1;
}

.ik-asset-name .ik-tags:not(:empty) {
    margin-top: 6px;
}

.ik-table th:nth-child(1) {
    width: 29%;
}

.ik-table th:nth-child(2) {
    width: 12%;
}

.ik-table th:nth-child(3) {
    width: 26%;
}

.ik-table th:nth-child(4), .ik-table th:nth-child(5), .ik-table th:nth-child(6) {
    width: 11%;
}

.ik-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: none;
}

.ik-type-mark {
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    color: var(--ik-primary);
    background: #eff6ff;
    font-size: 18px;
}

.ik-table-meta {
    color: var(--ik-muted);
    font-size: 11px;
    margin-top: 3px;
}

.ik-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-top: 1px solid var(--ik-border);
}

.ik-pagination > div {
    display: flex;
    gap: 8px;
}

.ik-empty {
    padding: 56px 24px;
    text-align: center;
}

.ik-empty-symbol {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    color: #64748b;
    background: #f1f5f9;
    font-size: 26px;
}

.ik-empty .ik-heading {
    margin-bottom: 8px;
}

.ik-empty p {
    color: var(--ik-muted);
    max-width: 48ch;
    margin: 0 auto 20px;
}

.ik-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 18px;
}

.ik-org-card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px;
    color: var(--ik-heading);
    border: 1px solid var(--ik-border);
    border-radius: var(--ik-radius);
    background: #fff;
    box-shadow: var(--ik-shadow);
    transition: border-color 140ms;
}

.ik-org-card:hover {
    border-color: #93c5fd;
    text-decoration: none;
}

.ik-org-card .ik-heading {
    overflow-wrap: anywhere;
}

.ik-org-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ik-org-create-tile {
    display: grid;
    min-height: 190px;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    color: var(--ik-heading);
    border: 1px dashed #94a3b8;
    border-radius: var(--ik-radius);
    background: rgb(255 255 255 / .55);
}

.ik-org-create-tile:hover {
    border-color: var(--ik-primary);
    background: #fff;
    text-decoration: none;
}

.ik-org-create-plus {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--ik-primary);
    background: #eaf1ff;
    font-size: 30px;
    line-height: 1;
}

.ik-org-create-tile .ik-description {
    margin: 0;
}

.ik-org-form {
    max-width: 620px;
}

.ik-setup-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: setup;
}

.ik-setup-steps li {
    padding: 12px 14px;
    border-bottom: 2px solid var(--ik-border);
    color: var(--ik-muted);
    font-size: 12px;
}

.ik-setup-steps li::before {
    counter-increment: setup;
    content: counter(setup) ". ";
    font-weight: 700;
}

.ik-setup-steps li.is-current {
    color: var(--ik-primary);
    border-color: var(--ik-primary);
    font-weight: 650;
}

.ik-setup-steps li.is-done {
    color: var(--ik-heading);
    border-color: #86efac;
}

.ik-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ik-overview-counts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.ik-overview-start {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
    padding: 28px;
}

.ik-overview-start .ik-heading {
    margin-bottom: 8px;
}

.ik-overview-start .ik-description {
    margin-bottom: 12px;
}

.ik-overview-count {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.ik-overview-count strong {
    color: var(--ik-heading);
    font-size: 26px;
    line-height: 1;
}

.ik-overview-link {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 22px;
    color: var(--ik-ink);
}

.ik-overview-link > .ik-heading {
    margin-bottom: 0;
}

.ik-overview-link:hover {
    border-color: #93c5fd;
    text-decoration: none;
}

.ik-overview-link .ik-type-mark {
    width: 44px;
    height: 44px;
}

.ik-tabs {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin: 22px 0 24px;
    border-bottom: 1px solid var(--ik-border);
}

.ik-tabs a {
    padding: 0 0 12px;
    color: var(--ik-muted);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.ik-tabs a:hover, .ik-tabs a[aria-current=page], .ik-tabs a[aria-selected=true] {
    color: var(--ik-primary);
    border-color: var(--ik-primary);
    text-decoration: none;
}

.ik-asset-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

.ik-asset-tabs .ik-tab-list {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.ik-asset-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ik-properties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
}

.ik-properties > div {
    min-width: 0;
}

.ik-properties dt {
    margin-bottom: 5px;
    color: var(--ik-muted);
    font-size: 12px;
}

.ik-properties dd {
    margin: 0;
    color: #334155;
    font-size: 13px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.ik-properties .ik-property-wide {
    grid-column: 1 / -1;
}

.ik-content {
    overflow-wrap: anywhere;
}

.ik-content > * + * {
    margin-top: 12px;
}

.ik-content h1, .ik-content h2, .ik-content h3 {
    font-size: 19px;
    margin-top: 20px;
}

.ik-content code {
    padding: 2px 4px;
    border-radius: 4px;
    background: #f1f5f9;
    font-size: .9em;
}

.ik-content pre, pre {
    max-width: 100%;
    padding: 16px;
    border: 1px solid var(--ik-border);
    border-radius: 10px;
    background: #f8fafc;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 12px;
}

.ik-content img {
    max-width: 100%;
    height: auto;
}

.ik-content blockquote {
    margin-left: 0;
    padding-left: 16px;
    border-left: 3px solid #bfdbfe;
    color: #475569;
}

.ik-note-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--ik-muted);
    margin-bottom: 16px;
}

.ik-note-actions {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 600;
}

.ik-relation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--ik-border);
    border-radius: 10px;
}

.ik-relation + .ik-relation {
    margin-top: 10px;
}

.ik-relation-label {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
}

.ik-relation-label a {
    overflow-wrap: anywhere;
}

.ik-history-event {
    padding: 18px 20px;
}

.ik-history-event .ik-heading {
    font-size: 15px;
    margin-bottom: 4px;
}

summary {
    cursor: pointer;
    color: #475569;
    font-size: 13px;
    font-weight: 550;
    padding: 10px 0;
}

.ik-members-section-heading {
    margin-bottom: 12px;
}

.ik-members-tabs {
    margin-top: 0;
}

.ik-member-tab-count {
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 6px;
    background: #e8edf5;
    color: #64748b;
    font-size: 11px;
}

.ik-api-key-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.ik-api-key-row p {
    overflow-wrap: anywhere;
}

.ik-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 13px;
}

.ik-members-tabs a[aria-current=page] .ik-member-tab-count {
    background: #dbeafe;
    color: var(--ik-primary);
}

.ik-members-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
    padding: 18px 20px;
}

.ik-members-row:last-child {
    margin-bottom: 0;
}

.ik-members-identity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-width: 0;
}

.ik-members-row p {
    margin: 0;
    overflow-wrap: anywhere;
}

.ik-member-name {
    color: var(--ik-heading);
    font-size: 14px;
    font-weight: 600;
}

.ik-members-permissions {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ik-members-permissions .ik-select {
    width: 100%;
}

.ik-members-permissions .ik-help {
    margin: 0;
}

.ik-members-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
}

.ik-pending-invitation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
    padding: 18px 20px;
}

.ik-pending-invitation:last-child {
    margin-bottom: 0;
}

.ik-invitation-expiry {
    min-width: 0;
}

.ik-invitation-cancel {
    margin: 0;
}

.ik-invitations-empty {
    padding: 18px 20px;
    border: 1px dashed var(--ik-border);
    border-radius: 10px;
    background: #fff;
}

.ik-invitation-expired {
    color: #9a3412;
    background: #fff7ed;
    border-color: #fed7aa;
}

.ik-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: var(--ik-sidebar-width);
    padding: 22px 18px 14px;
    background: linear-gradient(170deg, #1d4ed8 0%, #1b43b0 50%, #16367f 100%);
    color: #fff;
    z-index: 40;
    overflow-y: auto;
}

.ik-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 8px 22px;
}

.ik-nav-label {
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 0 12px;
    margin: 11px 0 5px;
}

.ik-nav-label:first-child {
    margin-top: 0;
}

.ik-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    margin-bottom: 2px;
    border-radius: 9px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 550;
}

.ik-sidebar-nav a > span {
    display: grid;
    place-items: center;
    width: 20px;
    font-size: 19px;
    line-height: 1;
    color: #bfdbfe;
}

.ik-sidebar-nav a:hover {
    color: #fff;
    background: rgb(255 255 255 / .08);
    text-decoration: none;
}

.ik-sidebar-nav a[aria-current=page] {
    color: #fff;
    background: rgb(255 255 255 / .17);
    box-shadow: inset 3px 0 0 #93c5fd;
}

.ik-sidebar-footer {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding: 14px 6px 0;
}

.ik-sidebar-caption {
    font-size: 11px;
    color: #bfdbfe;
}

.ik-sidebar-organization {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 10px;
    background: rgb(255 255 255 / .06);
}

.ik-sidebar-org-mark {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgb(255 255 255 / .17);
    font-size: 13px;
    font-weight: 700;
}

.ik-sidebar-org-info {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.ik-sidebar-organization-name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ik-sidebar-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgb(255 255 255 / .25);
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.ik-sidebar-switch:hover {
    color: #fff;
    background: rgb(255 255 255 / .1);
    text-decoration: none;
}

.ik-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    color: #dbeafe;
    font-size: 12px;
    font-weight: 600;
}

.ik-sidebar-profile:hover, .ik-sidebar-profile[aria-current=page] {
    color: #fff;
    background: rgb(255 255 255 / .12);
    text-decoration: none;
}

.ik-profile-stack {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.ik-profile-stack .ik-panel > .ik-heading {
    margin-bottom: 14px;
}

.ik-profile-stack .ik-alert {
    margin-bottom: 16px;
}

.ik-profile-form {
    max-width: 430px;
}

.ik-profile-form .ik-button {
    justify-self: start;
}

.ik-profile-identities {
    display: grid;
    gap: 8px;
}

.ik-profile-identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 0;
    border-top: 1px solid var(--ik-border);
}

.ik-profile-identity-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.ik-sidebar-signout {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / .2);
    color: #dbeafe;
    background: transparent;
    font-size: 12px;
}

.ik-app-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: var(--ik-sidebar-width);
    min-width: 0;
}

.ik-mobile-bar {
    display: none;
}

.ik-page {
    flex: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 32px 40px;
}

.ik-page-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding: 16px 32px;
    color: #94a3b8;
    font-size: 11px;
    border-top: 1px solid var(--ik-border);
}

.ik-page-footer > span:first-child {
    color: #64748b;
    font-weight: 650;
}

.ik-menu-toggle, .ik-menu-close, .ik-menu-backdrop {
    display: none;
}

.ik-auth-page {
    background: #102044;
}

.ik-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    width: min(1160px, 100%);
    min-height: 100vh;
    margin: auto;
    padding: 70px 30px;
    gap: 72px;
    align-items: center;
}

.ik-auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 20% 12%, #1e4fa2 0, transparent 54%), radial-gradient(ellipse at 85% 100%, #172e65 0, transparent 50%);
    z-index: -1;
}

.ik-auth-brand {
    display: flex;
    align-self: stretch;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 0;
    color: #fff;
    min-width: 0;
}

.ik-auth-brand .ik-brand {
    font-size: 31px;
}

.ik-brand-story {
    padding: 60px 0;
}

.ik-brand-story .ik-eyebrow {
    color: #93c5fd;
}

.ik-brand-story h2 {
    font-size: clamp(34px, 4vw, 49px);
    line-height: 1.14;
    letter-spacing: -.04em;
    font-weight: 650;
    margin-bottom: 22px;
    max-width: 12ch;
}

.ik-brand-story > p {
    max-width: 42ch;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
}

.ik-brand-features {
    display: grid;
    gap: 14px;
    margin-top: 36px;
}

.ik-brand-features > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ik-brand-features span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #456498;
    border-radius: 8px;
    color: #93c5fd;
    font-size: 10px;
}

.ik-brand-features p {
    color: #dbeafe;
    font-size: 13px;
}

.ik-auth-footnote {
    color: #a6b9d8;
    font-size: 11px;
}

.ik-auth-card {
    min-width: 0;
    padding: 38px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgb(0 0 0 / .17);
}

.ik-auth-card .ik-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.ik-auth-card .ik-description {
    margin-bottom: 28px;
    font-size: 14px;
}

.ik-auth-card .ik-form {
    gap: 16px;
}

.ik-auth-card .ik-button-primary {
    width: 100%;
    justify-self: stretch;
}

.ik-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #94a3b8;
    font-size: 11px;
    margin: 26px 0;
}

.ik-auth-divider::before, .ik-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ik-border);
}

.ik-provider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--ik-field-border);
    border-radius: 10px;
    color: #334155;
    background: #fff;
    font-size: 12px;
    font-weight: 650;
}

.ik-provider:hover {
    color: #1e293b;
    background: #f8fafc;
    border-color: #94a3b8;
    text-decoration: none;
}

.ik-provider img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.ik-auth-hint {
    color: #64748b;
    font-size: 12px;
    text-align: center;
    margin-top: 22px;
}

.ik-message-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 15px;
    color: var(--ik-primary);
    background: #eff6ff;
    font-size: 25px;
}

.ik-message-icon-error {
    color: #b45309;
    background: #fffbeb;
}

.ik-request-indicator {
    display: none;
    color: #64748b;
    font-size: 12px;
}

.ik-request-indicator.htmx-request {
    display: inline;
}

@media (max-width: 1100px) {
    .ik-page {
        padding: 28px 24px 40px;
    }

    .ik-catalog-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .ik-catalog-tools {
        flex-wrap: wrap;
    }

    .ik-two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .ik-table, .ik-table tbody {
        display: block;
        width: 100%;
    }

    .ik-table thead {
        display: none;
    }

    .ik-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "name name" "type status" "owners owners" "criticality renewal";
        padding: 16px;
        gap: 14px 20px;
        border-bottom: 1px solid var(--ik-border);
    }

    .ik-table td {
        display: block;
        padding: 0;
        border: 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .ik-table td:nth-child(1) {
        grid-area: name;
    }

    .ik-table td:nth-child(2) {
        grid-area: type;
    }

    .ik-table td:nth-child(3) {
        grid-area: owners;
    }

    .ik-table td:nth-child(4) {
        grid-area: status;
    }

    .ik-table td:nth-child(5) {
        grid-area: criticality;
    }

    .ik-table td:nth-child(6) {
        grid-area: renewal;
    }

    .ik-table td::before {
        display: block;
        content: attr(data-label);
        margin-bottom: 4px;
        font-size: 10px;
        color: #64748b;
    }

    .ik-table td:first-child::before {
        display: none;
    }

    .ik-table tbody tr:last-child {
        border: 0;
    }

    .ik-auth-layout {
        gap: 40px;
    }

    .ik-auth-card {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .ik-auth-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 100vh;
        padding: 28px 20px;
        gap: 30px;
    }

    .ik-auth-brand {
        padding: 0;
    }

    .ik-auth-brand .ik-brand {
        font-size: 26px;
    }

    .ik-brand-story {
        padding: 28px 0 0;
    }

    .ik-brand-story h2 {
        max-width: none;
        font-size: 30px;
        margin-bottom: 12px;
    }

    .ik-brand-story > p, .ik-brand-features, .ik-auth-footnote {
        display: none;
    }

    .ik-auth-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .ik-sidebar {
        position: static;
        width: 100%;
        padding: 22px;
    }

    .js .ik-sidebar {
        position: fixed;
        width: min(300px, 85vw);
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform 160ms;
    }

    .js .ik-sidebar.is-open {
        transform: none;
        visibility: visible;
    }

    .ik-app-content {
        margin-left: 0;
    }

    .js .ik-mobile-bar {
        display: flex;
        align-items: center;
        min-height: 72px;
        padding: 18px 70px 18px 20px;
        border-bottom: 1px solid var(--ik-border);
        background: #fff;
    }

    .ik-mobile-bar a {
        color: var(--ik-heading);
        font-size: 13px;
        font-weight: 650;
    }

    .ik-page {
        padding: 26px 18px 36px;
    }

    .ik-page-header {
        gap: 16px;
        margin-bottom: 22px;
    }

    .ik-catalog-tools .ik-search {
        width: 100%;
    }

    .ik-title {
        font-size: 23px;
    }

    .ik-panel {
        padding: 20px;
    }

    .ik-table-panel {
        padding: 0;
    }

    .ik-form-grid, .ik-properties, .ik-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ik-form-section {
        padding: 20px;
    }

    .ik-form-footer {
        flex-wrap: wrap;
    }

    .ik-page-footer {
        padding: 18px;
        font-size: 10px;
    }

    .js .ik-menu-toggle {
        position: fixed;
        top: 16px;
        right: 18px;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--ik-border);
        border-radius: 10px;
        background: #fff;
        color: #334155;
        z-index: 30;
        font-size: 20px;
    }

    .ik-menu-close {
        display: block;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid rgb(255 255 255 / .3);
        border-radius: 8px;
        color: #fff;
        background: transparent;
        font-size: 24px;
    }

    .js .ik-menu-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: rgb(15 23 42 / .55);
        z-index: 35;
    }

    .ik-menu-open {
        overflow: hidden;
    }

    .ik-members-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .ik-api-key-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .ik-members-actions {
        justify-content: flex-start;
    }

    .ik-pending-invitation {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .ik-tabs {
        gap: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

.ik-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.ik-properties-single {
    grid-template-columns: minmax(0, 1fr);
}

.ik-note-action {
    display: inline-block;
    margin-top: 14px;
    margin-right: 15px;
    font-size: 12px;
    font-weight: 600;
}

.ik-content + .ik-note-action {
    margin-top: 18px;
}

.ik-section > .ik-form {
    margin-top: 20px;
}

.ik-section > .ik-alert {
    margin-bottom: 20px;
}

.ik-margin-top {
    margin-top: 12px;
}

.ik-back-link {
    display: inline-flex;
    margin-bottom: 16px;
    font-size: 12px;
}

.ik-message {
    display: grid;
    justify-items: start;
    gap: 16px;
    max-width: 640px;
}

.ik-message .ik-message-icon {
    margin-bottom: 0;
}

.ik-tab-list {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

[data-asset-tabs] + [data-tab-panel], .js [data-tab-panel] {
    margin-top: 0;
}

.ik-grant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ik-grant-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .ik-grant-row {
        flex-wrap: wrap;
    }

    .ik-tab-list {
        gap: 16px;
    }

    .ik-input, .ik-textarea, .ik-select select, select.ik-select {
        font-size: 16px;
    }
}

/* Directory, subscriptions and external access. */
.ik-form-page {
    max-width: 960px;
}

.ik-data-panel {
    padding: 0;
    overflow: hidden;
}

.ik-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.ik-data-table th {
    color: var(--ik-muted);
    font-size: 11px;
    font-weight: 650;
    background: #f8fafc;
}

.ik-data-table th, .ik-data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ik-border);
    overflow-wrap: anywhere;
}

.ik-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.ik-plan-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--ik-border);
}

.ik-plan-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ik-plan-row .ik-heading {
    font-size: 14px;
}

.ik-assignment-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}

.ik-assignment-row > div {
    min-width: 0;
    flex: 1 1 320px;
    overflow-wrap: anywhere;
}

.ik-assignment-row > form {
    flex: 0 1 auto;
}

.ik-assignment-row .ik-heading {
    margin-bottom: 4px;
}

@media (max-width: 767px) {
    .ik-data-table, .ik-data-table tbody {
        display: block;
        width: 100%;
    }

    .ik-data-table thead {
        display: none;
    }

    .ik-data-table tr {
        display: grid;
        gap: 10px;
        padding: 16px;
        border-bottom: 1px solid var(--ik-border);
    }

    .ik-data-table td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .ik-data-table td::before {
        content: attr(data-label);
        display: block;
        color: var(--ik-muted);
        font-size: 10px;
        margin-bottom: 4px;
    }

    .ik-assignment-row > div {
        flex-basis: 100%;
    }
}

.ik-import-table-wrap {
    overflow-x: auto;
}

.ik-import-table {
    min-width: 760px;
}

@media (max-width: 767px) {
    .ik-import-table {
        min-width: 0;
    }
}

/* Import wizard: one decision per screen. */
.ik-wizard-shell {
    max-width: 1040px;
}

.ik-wizard {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.ik-wizard li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 2px solid var(--ik-border);
    color: var(--ik-muted);
    font-size: 12px;
}

.ik-wizard-number {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--ik-border);
    border-radius: 50%;
    background: #fff;
    font-size: 11px;
}

.ik-wizard li[aria-current=step] {
    color: var(--ik-primary);
    border-color: var(--ik-primary);
    font-weight: 650;
}

.ik-wizard li[aria-current=step] .ik-wizard-number {
    color: #fff;
    background: var(--ik-primary);
    border-color: var(--ik-primary);
}

.ik-wizard li.is-complete {
    color: #334155;
    border-color: #93c5fd;
}

.ik-template-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.ik-template-card > div {
    flex: 1 1 320px;
    min-width: 0;
}

.ik-template-card .ik-heading {
    margin-bottom: 6px;
}

.ik-wizard-shell > .ik-form-footer {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .ik-wizard {
        gap: 6px;
    }

    .ik-wizard li {
        display: grid;
        align-content: start;
        justify-items: center;
        gap: 6px;
        text-align: center;
        font-size: 10px;
    }

    .ik-wizard-number {
        width: 22px;
        height: 22px;
    }
}

.ik-file-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px dashed #b4c9ea;
    border-radius: 10px;
    background: #f8faff;
    transition: border-color 140ms, background-color 140ms;
}

.ik-file-picker:hover, .ik-file-picker:focus-within {
    border-color: var(--ik-primary);
    background: var(--ik-primary-soft);
}

.ik-file-picker-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    color: var(--ik-primary);
    background: #fff;
}

.ik-file-input {
    min-width: 0;
    min-height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ik-muted);
    font-size: 13px;
    cursor: pointer;
}

.ik-file-input::file-selector-button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 1px solid #b4c9ea;
    border-radius: 7px;
    background: #fff;
    color: var(--ik-primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 140ms, border-color 140ms;
}

.ik-file-input::file-selector-button:hover {
    background: #eff6ff;
    border-color: var(--ik-primary);
}

@media (max-width: 767px) {
    .ik-file-picker {
        gap: 8px;
        padding: 10px;
    }
}

.ik-optional-fields {
    padding-top: 8px;
    border-top: 1px solid var(--ik-border);
}

.ik-csv-example {
    margin: 12px 0;
}

.ik-api-docs-panel {
    padding: 0;
    overflow: hidden;
}

.ik-api-docs-organization {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 4px;
}

.ik-api-docs-organization code {
    padding: 3px 8px;
    border: 1px solid var(--ik-border);
    border-radius: 6px;
    color: var(--ik-heading);
    background: #fff;
    font-size: 12px;
    font-weight: 650;
}

.ik-api-docs-panel .swagger-ui {
    color: var(--ik-ink);
    font-family: inherit;
}

.ik-api-docs-panel .swagger-ui .wrapper {
    max-width: none;
    padding: 0 20px;
}

.ik-api-docs-panel .swagger-ui .information-container,
.ik-api-docs-panel .swagger-ui .topbar {
    display: none;
}

.ik-api-docs-panel .swagger-ui .scheme-container {
    margin: 0 0 12px;
    padding: 18px 0;
    background: #f8fafc;
    border-bottom: 1px solid var(--ik-border);
    box-shadow: none;
}

.ik-api-docs-panel .swagger-ui .scheme-container .schemes {
    align-items: center;
}

.ik-api-docs-panel .swagger-ui .scheme-container label,
.ik-api-docs-panel .swagger-ui .opblock-tag {
    color: var(--ik-heading);
    font-family: inherit;
}

.ik-api-docs-panel .swagger-ui .scheme-container select {
    min-height: 36px;
    border: 1px solid var(--ik-field-border);
    border-radius: var(--ik-control-radius);
    font-family: inherit;
}

.ik-api-docs-panel .swagger-ui .btn.authorize {
    color: var(--ik-primary);
    border-color: var(--ik-primary);
    border-radius: var(--ik-control-radius);
    box-shadow: none;
}

.ik-api-docs-panel .swagger-ui .btn.authorize svg {
    fill: var(--ik-primary);
}

.ik-api-docs-panel .swagger-ui .opblock-tag {
    padding: 14px 0;
    border-bottom-color: var(--ik-border);
    font-size: 16px;
}

.ik-api-docs-panel .swagger-ui .opblock-tag-section {
    padding-bottom: 6px;
}

.ik-api-docs-panel .swagger-ui .opblock {
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: none;
}

.ik-api-docs-panel .swagger-ui .opblock-summary {
    min-height: 46px;
}

.ik-api-docs-panel .swagger-ui .opblock-summary-method {
    border-radius: 5px;
}

.ik-api-docs-panel .swagger-ui .opblock-summary-path,
.ik-api-docs-panel .swagger-ui .opblock-summary-description {
    color: var(--ik-ink);
    font-family: inherit;
}

@media (max-width: 767px) {
    .ik-api-docs-panel .swagger-ui .wrapper {
        padding: 0 12px;
    }

    .ik-api-docs-panel .swagger-ui .scheme-container {
        padding: 14px 0;
    }

    .ik-api-docs-panel .swagger-ui .opblock-summary {
        align-items: flex-start;
        padding: 10px 8px;
    }

    .ik-api-docs-panel .swagger-ui .opblock-summary-method {
        min-width: 64px;
    }

    .ik-api-docs-panel .swagger-ui .opblock-summary-path {
        overflow-wrap: anywhere;
    }

    .ik-api-docs-panel .swagger-ui .opblock-summary .copy-to-clipboard {
        display: none;
    }

    .ik-api-docs-panel .swagger-ui .responses-table,
    .ik-api-docs-panel .swagger-ui .responses-table tbody,
    .ik-api-docs-panel .swagger-ui .responses-table tr,
    .ik-api-docs-panel .swagger-ui .responses-table td {
        display: block;
        width: 100%;
    }

    .ik-api-docs-panel .swagger-ui .responses-table thead,
    .ik-api-docs-panel .swagger-ui .responses-table .response-col_links {
        display: none;
    }

    .ik-api-docs-panel .swagger-ui .responses-table tr {
        padding: 12px 0;
        border-top: 1px solid var(--ik-border);
    }

    .ik-api-docs-panel .swagger-ui .responses-table td {
        padding: 4px 0;
    }

    .ik-api-docs-panel .swagger-ui .responses-table .response-col_status {
        font-weight: 700;
    }

    .ik-api-docs-panel .swagger-ui .highlight-code {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Asset type administration */
.ik-back-link {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--ik-muted);
    font-size: 12px;
    font-weight: 600;
}

.ik-type-list {
    padding: 0;
    overflow: hidden;
}

.ik-type-list-hint {
    margin-top: 12px;
    color: var(--ik-muted);
    font-size: 12px;
}

.ik-type-row, .ik-type-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding: 17px 20px;
}

.ik-type-row + .ik-type-row, .ik-type-field-row + .ik-type-field-row {
    border-top: 1px solid var(--ik-border);
}

.ik-type-row {
    color: var(--ik-ink);
}

.ik-type-row:hover {
    background: #f8fafc;
    color: var(--ik-heading);
    text-decoration: none;
}

.ik-type-row:focus-visible {
    outline-offset: -3px;
}

.ik-type-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ik-type-main strong {
    color: var(--ik-heading);
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.ik-type-meta {
    color: var(--ik-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.ik-type-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.ik-type-chevron {
    color: #94a3b8;
    font-size: 18px;
}

.ik-type-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 20px;
}

.ik-type-summary > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ik-type-summary strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.ik-type-section {
    margin-top: 26px;
}

.ik-type-section > .ik-heading {
    margin-bottom: 12px;
}

.ik-type-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    color: var(--ik-muted);
    font-size: 13px;
}

.ik-type-field-row {
    align-items: flex-start;
}

.ik-type-field-actions {
    min-width: min(280px, 100%);
}

.ik-type-field-actions summary {
    text-align: right;
    color: var(--ik-primary);
    padding: 0;
}

.ik-type-field-actions[open] {
    padding: 0 0 8px;
}

.ik-type-field-actions form {
    margin-top: 12px;
}

.ik-type-field-actions .ik-label {
    margin-top: 10px;
}

.ik-type-field-actions .ik-button {
    margin-top: 12px;
}

.ik-type-settings {
    padding: 10px 20px;
}

.ik-type-settings details + details {
    border-top: 1px solid var(--ik-border);
}

.ik-type-settings summary {
    font-weight: 600;
}

.ik-type-settings details[open] {
    padding-bottom: 14px;
}

.ik-type-settings .ik-form, .ik-type-settings .ik-help {
    margin: 10px 0;
    max-width: 440px;
}

.ik-type-settings .ik-button {
    margin-top: 12px;
}

.ik-type-form-page {
    max-width: 650px;
    padding: 25px;
}

.ik-type-dialog {
    width: min(620px, calc(100vw - 28px));
}

.ik-type-dialog > .ik-description {
    margin: -8px 0 18px;
}

@media (max-width: 767px) {
    .ik-type-row, .ik-type-field-row {
        align-items: flex-start;
        padding: 16px;
    }

    .ik-type-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ik-type-empty {
        align-items: flex-start;
        flex-direction: column;
    }

    .ik-type-field-row {
        flex-wrap: wrap;
    }

    .ik-type-field-actions {
        width: 100%;
    }

    .ik-type-field-actions summary {
        text-align: left;
    }

    .ik-type-form-page {
        padding: 20px;
    }
}
