.nf-mixed {
    --nf-green: var(--theme-base-color, #41a52c);
    --nf-tint: var(--theme-base-opacity-color, #41a52c1a);
    --nf-border: var(--stroke_black, #ebecef);
    --nf-input: var(--input_border_color, #d7d8da);
    --nf-text: var(--white_text_black, #222228);
    --nf-bg: var(--card_bg_black, #fff);
    --nf-soft: var(--lite_bg_black, #f8f8fc);
    --nf-radius: var(--theme-outer-border-radius, 12px);
    --nf-control-radius: var(--theme-button-border-radius, 6px);
}
.nf-mixed .ns-intro { margin: 0 0 18px; }
.nf-mixed .nf-intro {
    margin: 0 0 18px;
    color: var(--basic_text_black, #555558);
    font-size: 14px;
    line-height: 1.5;
}

.nf-mixed .nf-board {
    margin: 0 0 16px;
    border-radius: var(--nf-radius);
    overflow: hidden;
}
.nf-mixed .nf-board .nf-position {
    border-radius: 0;
    background-color: var(--grey_bg, #f3f4f7);
    color: var(--nf-text);
}
.nf-mixed .nf-board .nf-position img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
}
.nf-mixed .nf-board .nf-position[data-small-insert] img {
    max-width: min(100%, 144px);
    max-height: min(100%, 144px);
}
.nf-mixed .nf-board .nf-position[data-preview="0"] { border-top-left-radius: var(--nf-radius); }
.nf-mixed .nf-board .nf-position[data-preview="1"] { border-top-right-radius: var(--nf-radius); }
.nf-mixed .nf-board .nf-position[data-preview="2"] { border-radius: 0 0 var(--nf-radius) var(--nf-radius); }
.nf-mixed .nf-board .nf-position[aria-pressed="true"] { outline: none; }
.nf-mixed .nf-board .nf-position .nf-caption {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: var(--nf-control-radius);
    background: rgba(255,255,255,.92);
    color: #262629;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}
.nf-mixed .nf-board .nf-position[aria-pressed="true"] .nf-caption {
    background: #303033;
    color: #fff;
}
.nf-mixed .nf-board .nf-position[aria-pressed="true"] .nf-caption::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 9px;
    margin-right: 6px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-1px) rotate(45deg);
}
.nf-mixed .nf-board .nf-position:focus-visible .nf-caption {
    outline: 2px solid #222;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #fff;
}
.nf-mixed .nf-current { margin: 0 0 8px; color: var(--nf-text); overflow-wrap: anywhere; }
.nf-mixed .nf-current:empty { display: none; }
.nf-mixed .nf-tools {
    padding: clamp(14px, 2vw, 24px);
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius);
    background: var(--nf-bg);
    color: var(--nf-text);
    scroll-margin-block: 100px;
}
.nf-mixed .nf-tools > h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.nf-mixed .nf-modes {
    display: inline-flex;
    max-width: 100%;
    padding: 3px;
    gap: 2px;
    margin: 0 0 18px;
    border-radius: var(--nf-control-radius);
    background: var(--nf-soft);
}
.nf-mixed .nf-modes button {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: var(--nf-control-radius);
    background: transparent;
    color: var(--nf-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}
.nf-mixed .nf-modes button[aria-pressed="true"] { background: var(--nf-tint); border-color: var(--nf-green); }
.nf-mixed .nf-lookup .ns-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; }
.nf-mixed .nf-lookup .ns-caption { display: none; }
.nf-mixed .ns-field { gap: 6px; }
.nf-mixed .ns-field select, .nf-mixed .ns-field input, .nf-mixed .ns-picker-trigger {
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--nf-input);
    border-radius: var(--nf-control-radius);
    color: var(--nf-text);
    background-color: var(--input_bg_color, #fff);
}
.nf-mixed .nf-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    font-size: 14px;
}
.nf-mixed .nf-list-head [data-info] { margin: 0; }
.nf-mixed .nf-items { grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)); gap: 12px; }
.nf-mixed .nf-favorite { position: relative; display: grid; min-width: 0; }
.nf-mixed .nf-card {
    min-width: 0;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius);
    background: var(--nf-bg);
    color: var(--nf-text);
}
.nf-mixed .nf-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.65;
    object-fit: contain;
    background: var(--nf-soft);
}
.nf-mixed .nf-card-title { display: block; padding: 10px 12px 12px; font-size: 14px; line-height: 1.4; }
.nf-mixed .nf-card-title:first-child { padding-top: 40px; }
.nf-mixed .nf-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--nf-text);
    font: 22px/1 Arial, sans-serif;
    isolation: isolate;
}
.nf-mixed .nf-remove::before {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: -1;
    border: 1px solid var(--nf-input);
    border-radius: 50%;
    background: var(--nf-bg);
}
.nf-mixed .nf-remove:disabled { opacity: .55; cursor: wait; }
.nf-mixed .nf-tools :focus-visible { outline: 2px solid var(--nf-green); outline-offset: 2px; }
.nf-mixed [data-replacement]:empty, .nf-mixed [data-picked]:empty { display: none; }
.nf-mixed [data-picked] { margin: 14px 0 0; }
@media (hover: hover) {
    .nf-mixed .nf-card:hover, .nf-mixed .nf-remove:hover::before { border-color: var(--nf-green); }
    .nf-mixed .nf-modes button:hover { background-color: var(--nf-tint); }
}
@media (max-width: 620px) {
    .nf-mixed .nf-lookup .ns-controls { grid-template-columns: 1fr; }
    .nf-mixed .nf-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .nf-mixed .nf-modes { display: flex; }
    .nf-mixed .nf-modes button { padding: 6px 8px; }
    .nf-mixed .nf-card-title { padding: 8px; }
}
