#ne_tools {
    box-sizing: border-box;
    min-height: calc(100vh - 160px);
    padding: 0;
    color: #ccc;
    background: #1e1e1e;
}

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

.ne-tools-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: calc(100vh - 160px);
}

.ne-tools-content {
    min-width: 0;
}

#ne_tools .ne-tools-menu {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #262626;
    border-right: 2px solid #1e1e1e;
}

#ne_tools .ne-tools-menu-title {
    min-height: 48px;
    padding: 0 18px;
    color: #777;
    background: #202020;
    font-size: 10px;
    line-height: 48px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#ne_tools .ne-settings-nav-group {
    display: block;
}

#ne_tools .ne-settings-section-link-row {
    position: relative;
    display: flex;
    align-items: stretch;
}

#ne_tools .menu a.open-section {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 0 18px;
    color: #bbb;
    background: #383636;
    border-top: 1px solid #262626;
    font-size: 16px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: .02em;
    text-align: left;
    text-decoration: none;
}

#ne_tools .menu a.open-section:hover, #ne_tools .menu a.open-section:focus-visible {
    color: #fff;
    background: #414141;
    outline: 0;
}

#ne_tools .menu a.open-section.active {
    /* color: #d8942f; */
    background: #383636;
    box-shadow: inset 2px 0 0 #d8942f;
}

#ne_tools .ne-settings-nav-group__label {
    display: inline;
}

.ne-tools-heading {
    margin: 0 0 2px;
    padding: 10px 12px;
    background: #383636;
}

.ne-tools-heading > span {
    display: block;
    margin-bottom: 3px;
    color: #777;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ne-tools-heading h2 {
    margin: 0;
    /* color: #d8942f; */
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ne-qr-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(1000px, .52fr);
    gap: 2px;
    align-items: start;
}

.ne-qr-editor {
    display: grid;
    gap: 2px;
}

.ne-qr-workflow-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    background: #202020;
}

.ne-qr-workflow-tabs button {
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #8b8b95;
    background: #303030;
    font: inherit;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}

.ne-qr-workflow-tabs button:hover,
.ne-qr-workflow-tabs button:focus-visible {
    color: #ddd;
    background: #383636;
    outline: 0;
}

.ne-qr-workflow-tabs button.is-active {
    border-bottom-color: #d8942f;
    color: #d8942f;
    background: #383636;
}

.ne-qr-workflow-panel[hidden] {
    display: none;
}

.ne-qr-panel {
    overflow: hidden;
    background: #262626;
}

.ne-qr-panel-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    color: #bbb;
    background: #383636;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.ne-qr-panel-toggle:hover, .ne-qr-panel-toggle:focus-visible {
    color: #fff;
    background: #414141;
    outline: 0;
}

.ne-qr-panel-toggle strong {
    /* color: #d8942f; */
    font-size: 25px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ne-qr-panel-toggle > span {
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.ne-qr-panel:not(.is-open) .ne-qr-panel-toggle > span {
    transform: rotate(225deg);
}

.ne-qr-panel-body {
    display: grid;
    gap: 12px;
    padding: 16px 12px;
    background: #383636;
}

.ne-qr-url-label {
    color: #8b8b95;
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

#ne_tools [data-ne-qr-value] {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 0px solid #3a3a3a;
    border-radius: 2px;
    color: #ddd;
    background: #202020;
    box-shadow: none;
    font: inherit;
    font-size: 30px;
    line-height: normal;
}

#ne_tools textarea[data-ne-qr-value] {
    min-height: 52px;
    resize: vertical;
    height: 62px;
}

#ne_tools [data-ne-qr-image-prompt] {
    width: 100%;
    min-height: 110px;
    margin: 0;
    padding: 10px 12px;
    resize: vertical;
    border: 1px solid #3a3a3a;
    border-radius: 2px;
    color: #ddd;
    background: #202020;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
}

#ne_tools [data-ne-qr-image-prompt]:focus {
    border-color: #d8942f;
    outline: 0;
    box-shadow: 0 0 0 1px rgba(216,148,47,.18);
}

#ne_tools [data-ne-qr-cover-upload] {
    width: 100%;
    min-height: 42px;
    padding: 7px;
    /* border: 1px solid #3a3a3a; */
    border-radius: 2px;
    color: #999;
    background: #202020;
    font-size: 10px;
}

#ne_tools [data-ne-qr-cover-upload]::file-selector-button {
    min-height: 26px;
    margin-right: 9px;
    padding: 5px 9px;
    border: 0;
    border-radius: 2px;
    color: #ccc;
    background: #424040;
    font: inherit;
    font-size: 9px;
    text-transform: uppercase;
    cursor: pointer;
}

#ne_tools .ne-qr-generate-image-button {
    justify-self: start;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 9px;
    text-transform: uppercase;
}

#ne_tools .ne-qr-generate-image-button.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

#ne_tools .ne-qr-generate-image-button.is-loading::before {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: currentColor;
    border-radius: 50%;
    content: '';
    animation: ne-qr-button-spin .7s linear infinite;
}

@keyframes ne-qr-button-spin {
    to {
        transform: rotate(360deg);
    }
}

#ne_tools [data-ne-qr-value]:hover {
    border-color: #4a4a4a;
}

#ne_tools [data-ne-qr-value]:focus {
    border-color: #d8942f;
    outline: 0;
    box-shadow: 0 0 0 1px rgba(216,148,47,.18);
}

#ne_tools [data-ne-qr-value]::placeholder {
    color: #686868;
    opacity: 1;
}

.ne-qr-content-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    gap: 2px;
    overflow-x: auto;
}

.ne-qr-content-type-tabs {
    grid-template-columns: repeat(5, minmax(54px, 100%));
    justify-content: center;
    gap: 4px;
    overflow: visible;
}

.ne-qr-content-type-tabs button {
    display: grid;
    width: 100%;
    min-height: 54px;
    padding: 6px 4px;
    gap: 4px;
    place-items: center;
}

.ne-qr-content-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ne-qr-content-tab-label {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1;
    text-transform: uppercase;
}

.ne-brand-source-tabs {
    grid-template-columns: repeat(2, 1fr);
}

.ne-brand-entry-row {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: end;
    gap: 10px;
}

.ne-brand-entry-row[hidden] {
    display: none;
}

.ne-brand-entry-or {
    align-self: center;
    color: #777;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ne-brand-entry-row .ne-brand-empty {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ne-brand-entry-row [data-ne-brand-create] {
    white-space: nowrap;
}

.ne-brand-empty {
    display: grid;
    justify-items: start;
    gap: 8px;
    min-height: 92px;
    padding: 14px;
    border: 1px dashed #444;
    background: #202020;
}

.ne-brand-empty.has-brands {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ne-brand-empty[hidden], .ne-brand-create-form[hidden] {
    display: none;
}

.ne-saved-brands[hidden] {
    display: none;
}

.ne-saved-brands {
    display: grid;
    gap: 6px;
}

.ne-brand-empty p {
    margin: 0;
    color: #888;
    font-size: 11px;
}

.ne-brand-create-form {
    display: grid;
    gap: 12px;
}

#ne_tools [data-ne-brand-create] {
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 9px;
    text-transform: uppercase;
}

.ne-cover-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(96px, 1fr));
    justify-self: center;
    width: min(260px, 100%);
    padding: 3px;
    gap: 3px;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
    background: #202020;
}

#ne_tools .ne-cover-tabs button {
    min-height: 30px;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    color: #888;
    background: transparent;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .05em;
}

#ne_tools .ne-cover-tabs button:hover, #ne_tools .ne-cover-tabs button:focus-visible {
    color: #ddd;
    background: #303030;
}

#ne_tools .ne-cover-tabs button.is-active {
    color: #171717;
    background: #d8942f;
    box-shadow: none;
}

.ne-cover-panel {
    display: none;
}

.ne-cover-panel.is-active {
    display: grid;
    gap: 10px;
}

#ne_tools [data-ne-cover-panel="upload"].is-active {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0;
    justify-self: center;
    align-items: end;
    width: min(100%, 320px);
}

#ne_tools [data-ne-cover-panel="upload"] [data-ne-qr-cover-upload] {
    min-width: 0;
    height: 42px;
    border-radius: 2px 0 0 2px;
}

#ne_tools [data-ne-cover-panel="upload"] [data-ne-qr-cover-upload-button] {
    align-self: stretch;
    height: 42px;
    min-height: 42px;
    border-radius: 0 2px 2px 0;
}

#ne_tools [data-ne-cover-panel="generate"].is-active {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.ne-cover-prompt-editor {
    display: grid;
    grid-column: 1 / -1;
    gap: 6px;
    width: min(100vw, 520px);
}

.ne-cover-prompt-editor[hidden] {
    display: none;
}

#ne_tools .ne-cover-edit-prompt.ne-ui-button {
    min-height: 32px;
    padding: 7px 12px;
    color: #aaa;
    background: #303030;
    font-size: 9px;
    text-transform: uppercase;
}

#ne_tools .ne-cover-edit-prompt.ne-ui-button:hover, #ne_tools .ne-cover-edit-prompt.ne-ui-button:focus-visible {
    color: #202020;
    background: #d8942f;
    outline: 0;
}

#ne_tools .ne-qr-generate-image-button {
    min-height: 32px;
}

.ne-qr-content-tabs button {
    min-height: 64px;
    margin: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #8b8b95;
    background: #202020;
    font: inherit;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.ne-qr-content-tabs button:hover, .ne-qr-content-tabs button:focus-visible {
    color: #ddd;
    background: #2a2a2a;
    outline: 0;
}

.ne-qr-content-tabs button.is-active {
    /* border-bottom-color: #d8942f; */
    /* color: #d8942f; */
    background: #515151;
}

.ne-qr-content-panel {
    display: none;
    gap: 6px;
}

.ne-qr-content-panel.is-active {
    display: grid;
}

#ne_tools .ne-qr-generate {
    justify-self: start;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 9px;
    text-transform: uppercase;
}

.ne-qr-generate-status {
    margin: -4px 0 2px;
    color: #777;
    font-size: 10px;
}

.ne-qr-generate-status.is-error {
    color: #ff8d85;
}

#ne_tools [data-ne-brand-url] {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 0px solid #3a3a3a;
    border-radius: 2px;
    color: #ddd;
    background: #202020;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
}

#ne_tools .ne-brand-analyze, #ne_tools [data-ne-brand-apply] {
    justify-self: start;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 9px;
    text-transform: uppercase;
}

#ne_tools .ne-brand-analyze.ne-ui-button {
    color: #fff;
    background: linear-gradient(180deg, #7c5cff, #6d4df2);
}

#ne_tools .ne-brand-analyze.ne-ui-button:hover, #ne_tools .ne-brand-analyze.ne-ui-button:focus-visible {
    color: #fff;
    background: #8b5cf6;
    outline: 0;
}

#ne_tools .ne-brand-analyze.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ne-brand-result {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 0px solid #383838;
    /* background: #202020; */
}

.ne-brand-result[hidden] {
    display: none;
}

.ne-brand-save-form {
    display: grid;
    gap: 10px;
}

.ne-brand-save-form[hidden], .ne-brand-actions[hidden] {
    display: none;
}

.ne-brand-identity {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 11px;
}

.ne-brand-identity img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    background: #fff;
}

.ne-brand-swatches {
    display: flex;
    gap: 4px;
}

.ne-brand-swatches button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #555;
    border-radius: 2px;
    cursor: default;
}

#ne_tools [data-ne-brand-style] {
    width: 100%;
    min-height: 76px;
    padding: 9px 10px;
    resize: vertical;
    border: 0px solid #202020;
    border-radius: 2px;
    color: #ccc;
    background: #202020;
    font: inherit;
    font-size: 11px;
}

.ne-qr-panel-body > p {
    margin: -4px 0 2px;
    color: #777;
    font-size: 10px;
}

.ne-qr-switch-row {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    color: #aaa;
    font-size: 11px;
    cursor: pointer;
}

.ne-qr-switch-row input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ne-qr-switch {
    width: 34px;
    height: 18px;
    padding: 3px;
    border: 1px solid #474747;
    border-radius: 999px;
    background: #303030;
    transition: background .18s, border-color .18s;
}

.ne-qr-switch::after {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #999;
    content: '';
    transition: transform .18s, background .18s;
}

.ne-qr-switch-row input:checked + .ne-qr-switch {
    border-color: #8a642a;
    background: #5c4523;
}

.ne-qr-switch-row input:checked + .ne-qr-switch::after {
    background: #d8942f;
    transform: translateX(16px);
}

.ne-qr-switch-row input:focus-visible + .ne-qr-switch {
    outline: 1px solid #d8942f;
    outline-offset: 2px;
}

.ne-qr-design-body {
    gap: 2px;
    padding: 0;
}

#ne_tools .ne-qr-design-continue {
    justify-self: end;
    margin: 10px 12px 12px;
}

.ne-qr-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    background: #262626;
}

.ne-qr-tabs button {
    flex: 1 0 auto;
    min-height: 34px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #8b8b95;
    background: #303030;
    font: inherit;
    font-size: 10px;
    cursor: pointer;
}

.ne-qr-tabs button:hover, .ne-qr-tabs button:focus-visible {
    color: #ddd;
    background: #383636;
    outline: 0;
}

.ne-qr-tabs button.is-active {
    border-bottom-color: #d8942f;
    color: #d8942f;
    background: #383636;
}

.ne-qr-tab-panel {
    display: none;
    min-height: 172px;
    padding: 12px;
    background: #262626;
}

.ne-qr-tab-panel.is-active {
    display: block;
}

.ne-qr-layout-controls {
    display: grid;
    gap: 10px;
}

.ne-qr-layout-controls > div {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) repeat(2, minmax(90px, 1fr));
    gap: 2px;
    align-items: center;
}

.ne-qr-layout-controls span {
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
}

.ne-qr-layout-controls button {
    min-height: 34px;
    border: 1px solid #3b3b3b;
    color: #aaa;
    background: #2b2b2b;
    font: inherit;
    font-size: 10px;
    cursor: pointer;
}

.ne-qr-layout-controls button.is-selected {
    border-color: #d8942f;
    color: #d8942f;
    background: #3a3328;
}

.ne-qr-layout-controls label {
    display: grid;
    gap: 6px;
}

.ne-qr-layout-controls input {
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    color: #ddd;
    background: #202020;
    font: inherit;
}

.ne-qr-presets {
    display: grid;
    grid-template-columns: repeat(7, minmax(54px, 1fr));
    gap: 2px;
}

.ne-qr-preset {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-width: 0;
    padding: 6px;
    border: 1px solid #343434;
    border-radius: 2px;
    background: #2b2b2b;
    cursor: pointer;
}

.ne-qr-preset:hover, .ne-qr-preset:focus-visible {
    border-color: #555;
    background: #303030;
    outline: 0;
}

.ne-qr-preset.is-selected {
    border-color: #d8942f;
    background: #3a3328;
    box-shadow: inset 0 0 0 1px #d8942f;
}

.ne-qr-none {
    position: relative;
    width: 22px;
    height: 22px;
    border: 1px solid #888;
    border-radius: 50%;
}

.ne-qr-none::after {
    position: absolute;
    top: 9px;
    left: 2px;
    width: 16px;
    height: 1px;
    background: #888;
    content: '';
    transform: rotate(45deg);
}

.ne-qr-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #ddd;
}

.ne-qr-mini i {
    display: block;
    width: 26px;
    height: 26px;
    border: 2px solid #ccc;
    background: repeating-conic-gradient(#ccc 0 25%, #262626 0 50%) 50% / 5px 5px;
}

.ne-qr-mini small {
    padding: 1px 3px;
    color: #202020;
    background: #ccc;
    font-size: 5px;
    font-style: normal;
    line-height: 1.35;
    white-space: nowrap;
}

.ne-qr-mini--round i {
    border-radius: 4px;
}

.ne-qr-mini--tag small, .ne-qr-mini--burst small {
    margin-top: -2px;
    border-radius: 7px;
}

.ne-qr-mini--script small, .ne-qr-mini--arrow small {
    color: #bbb;
    background: transparent;
    font-family: cursive;
    font-size: 7px;
}

.ne-qr-placeholder-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 146px;
    border: 1px dashed #484848;
    border-radius: 2px;
    color: #888;
    background: #202020;
    text-align: center;
}

.ne-qr-placeholder-card > span {
    color: #d8942f;
    font-size: 24px;
}

.ne-qr-placeholder-card strong {
    color: #bbb;
    font-size: 11px;
}

.ne-qr-placeholder-card p {
    margin: 4px 0 0;
    color: #777;
    font-size: 10px;
}

.ne-qr-design-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}

#ne_tools .ne-qr-design-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#ne_tools .ne-qr-design-field > span {
    position: static;
    display: block;
    margin-bottom: 4px;
    color: #999;
    font-size: 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#ne_tools .ne-qr-design-field .ne-ui-choice-group {
    display: grid;
    width: 100%;
    height: auto;
    gap: 2px;
}

#ne_tools .ne-qr-design-field--ratio .ne-ui-choice-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#ne_tools .ne-qr-design-field--position .ne-ui-choice-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#ne_tools .ne-qr-design-field .ne-ui-choice-button {
    display: grid;
    grid-template-rows: 22px auto;
    width: 100%;
    min-width: 0;
    min-height: 132px;
    padding: 40px 8px 20px;
    place-items: center;
    gap: 6px;
    text-shadow: none;
    cursor: pointer;
}

#ne_tools .ne-qr-layout-choice small {
    color: currentColor;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

#ne_tools .ne-qr-option-icon {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#ne_tools .ne-qr-option-icon rect:not(:first-child) {
    fill: currentColor;
    stroke: none;
}

#ne_tools .ne-qr-color-field input[type="color"] {
    width: 100%;
    height: 42px;
    padding: 7px;
    border: 1px solid #424040;
    border-radius: 2px;
    background: #424040;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}

#ne_tools .ne-qr-color-field input[type="color"]:hover {
    border-color: #555;
    background: #363434;
}

#ne_tools .ne-qr-color-field input[type="color"]:focus-visible {
    border-color: #f5a623;
    outline: 0;
    box-shadow: 0 0 0 1px #f5a623, 0 0 18px rgba(245,166,35,.18);
}

#ne_tools .ne-qr-color-field input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

#ne_tools .ne-qr-color-field input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 1px;
}

#ne_tools .ne-qr-color-field input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 1px;
}

#ne_tools .ne-qr-design-title {
    grid-column: 1 / -1;
}

.ne-qr-preview {
    position: sticky;
    top: 12px;
    display: grid;
    gap: 2px;
    padding: 0;
    /* background: #262626; */
}

.ne-qr-preview::before {
    padding: 10px 12px;
    /* color: #d8942f; */
    background: #383636;
    content: 'Preview';
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ne-qr-preview-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 620px;
    padding: 24px;
    /* background: #202020; */
}

.ne-qr-phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(258px, 88%);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border: 3px solid #484848;
    border-radius: 34px;
    background: #f2f2f2;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.ne-qr-phone-screen.is-square {
    width: min(360px, 88%);
    aspect-ratio: 1 / 1;
    border-radius: 18px;
}

.ne-qr-phone-screen.is-landscape {
    width: min(640px, 96%);
    aspect-ratio: 16 / 9;
    border-radius: 18px;
}

.ne-qr-layout-title {
    position: absolute;
    top: 220px;
    left: 50%;
    z-index: 3;
    max-width: 82%;
    padding: 4px 8px;
    overflow: hidden;
    color: #fff;
    background: rgba(0,0,0,.46);
    font-size: 10px;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translateX(-50%);
}

.ne-qr-phone-screen.is-qr-top .ne-qr-code-area {
    order: -1;
    border-top: 0;
    border-bottom: 2px solid #ddd;
}

.ne-qr-content-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    color: #777;
    background: linear-gradient(145deg, #e5e5e5, #cfcfcf);
    text-align: center;
}

.ne-qr-content-area {
    flex: 58 1 0;
}

.ne-qr-generated-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ne-qr-content-area.has-image > span, .ne-qr-content-area.has-image > strong {
    display: none;
}

.ne-qr-content-area > span {
    color: #999;
    font-size: 38px;
    line-height: 1;
}

.ne-qr-content-area > strong {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ne-qr-code-area {
    display: flex;
    flex: 42 1 0;
    align-items: center;
    justify-content: center;
    border-top: 6px solid #ddd;
    background: #fff;
}

.ne-qr-code-area img {
    display: block;
    width: 68%;
    height: auto;
    padding: 10px;
    background: #fff;
}

#ne_tools .ne-qr-download.ne-ui-button {
    width: 20%;
    height: 34px;
    border-radius: 2px;
    color: #161616;
    background: #d8942f;
    text-transform: uppercase;
    cursor: pointer;
    margin: auto;
}

#ne_tools .ne-qr-download.ne-ui-button:hover, #ne_tools .ne-qr-download.ne-ui-button:focus-visible {
    color: #202020;
    background: #d8942f;
    outline: 0;
}

#ne_tools .ne-qr-download.ne-ui-button:disabled {
    color: #777;
    background: #303030;
    cursor: wait;
}

#ne_tools .ne-qr-download.ne-ui-button i {
    display: none;
}

#ne_tools .ne-qr-download.ne-ui-button span {
    color: currentColor;
}

.ne-qr-download-panel .ne-qr-panel-body {
    align-content: center;
    justify-items: center;
    min-height: 160px;
}

#ne_tools .ne-qr-download-panel .ne-qr-download.ne-ui-button {
    width: min(220px, 100%);
}

.ne-qr-complete-card {
    display: grid;
    justify-items: center;
    gap: 6px;
    width: min(420px, 100%);
    margin: 0;
    padding: 16px;
    /* border: 1px solid #444; */
    border-radius: 4px;
    color: #ddd;
    /* background: #303030; */
    /* box-shadow: 0 8px 20px rgba(0,0,0,.2); */
    text-align: center;
}

.ne-qr-complete-card__icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #1f1f1f;
    background: #d8942f;
    font-size: 16px;
    font-weight: 700;
}

.ne-qr-complete-card > strong {
    margin-top: 4px;
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 600;
}

.ne-qr-complete-card > span:not(.ne-qr-complete-card__icon) {
    color: #999;
    font-size: 11px;
    line-height: 1.4;
}

.ne-qr-complete-card[hidden] {
    display: none;
}

@media screen and (max-width: 900px) {
    .ne-tools-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .ne-qr-workspace {
        grid-template-columns: 1fr;
    }

    .ne-qr-preview {
        position: static;
    }

    .ne-qr-preview-card {
        min-height: 600px;
    }
}

@media screen and (max-width: 600px) {
    #ne_tools {
        padding: 4px;
    }

    .ne-tools-shell {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    #ne_tools .ne-tools-menu {
        border-right: 0;
    }

    #ne_tools .ne-tools-menu-title {
        min-height: 34px;
        padding: 0 12px;
        line-height: 34px;
    }

    #ne_tools .menu a.open-section {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
        line-height: 36px;
    }

    .ne-tools-heading {
        margin-bottom: 4px;
    }

    .ne-qr-workspace {
        gap: 4px;
    }

    .ne-qr-presets {
        grid-template-columns: repeat(4, 1fr);
    }

    .ne-qr-design-grid {
        grid-template-columns: 1fr;
    }

    #ne_tools .ne-qr-design-title {
        grid-column: auto;
    }

    .ne-brand-entry-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .ne-brand-entry-or {
        justify-self: center;
    }

    .ne-qr-preview-card {
        min-height: 540px;
        padding: 18px;
    }
}
