﻿/* ───────── theme ───────── */
.qd-app, .qd-start, .qd-ui {
    --qd-accent: #4f46e5;
    --qd-accent-soft: #eef2ff;
    --qd-border: #e2e8f0;
    --qd-text: #0f172a;
    --qd-muted: #64748b;
    --qd-bg: #eef1f6;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: var(--qd-text);
}

/* ───────── paper-size start screen ───────── */
.qd-start {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.qd-start-card {
    background: #fff;
    border: 1px solid var(--qd-border);
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
    text-align: center;
    max-width: 640px;
}

    .qd-start-card h1 {
        font-size: 1.6rem;
        margin: 0 0 6px;
    }

    .qd-start-card p {
        color: var(--qd-muted);
        margin: 0 0 24px;
    }

.qd-paper-options {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.qd-paper-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    padding: 18px 20px;
    min-width: 150px;
    background: #fff;
    cursor: pointer;
    border: 2px solid var(--qd-border);
    border-radius: 12px;
    transition: .15s;
}

    .qd-paper-opt:hover {
        border-color: #a5b4fc;
        transform: translateY(-2px);
    }

    .qd-paper-opt.active {
        border-color: var(--qd-accent);
        background: var(--qd-accent-soft);
    }

.qd-paper-thumb {
    background: #fff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
    margin-bottom: 6px;
}

.qd-paper-opt small {
    color: var(--qd-muted);
}

/* ───────── app shell ───────── */
.qd-app {
    /* In-flow editor panel: lives inside the ERP content area so the app sidebar and
       topbar stay visible. Fills the viewport height left under the ERP topbar and the
       content's own vertical padding (top: topbar-h + 1.5rem, bottom: 2rem). */
    position: relative;
    height: calc(100vh - var(--zx-topbar-h) - 3.5rem);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    background: var(--qd-bg);
    border: 1px solid var(--qd-border);
    border-radius: 12px;
    overflow: hidden;
}

.qd-body {
    flex: 1;
    display: flex;
    min-height: 0;
}

.qd-spacer {
    flex: 1;
}

/* toolbar */
.qd-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    min-height: 58px;
    flex: none;
    background: #fff;
    border-bottom: 1px solid var(--qd-border);
    position: relative;
    z-index: 20;
}

.qd-brand {
    font-weight: 700;
    color: var(--qd-accent);
    text-decoration: none;
    margin-right: 8px;
}

.qd-paper-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--qd-muted);
}

    .qd-paper-select select {
        height: 34px;
    }

.qd-sep {
    width: 1px;
    height: 26px;
    background: var(--qd-border);
    margin: 0 6px;
}

.qd-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.qd-tool {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--qd-border);
    border-radius: 7px;
    background: #fff;
    color: var(--qd-text);
    font-size: 12px;
    cursor: pointer;
    transition: .12s;
}

/* Tool icons mirror the left-side menu's Material Symbols set. */
.qd-tool .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
    color: var(--qd-accent);
}

/* Icon-only Back button, styled like the left-side menu icons. */
.qd-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    border: 1px solid var(--qd-border);
    border-radius: 7px;
    background: #fff;
    color: var(--qd-muted);
    cursor: pointer;
    transition: .12s;
}

.qd-back:hover {
    background: var(--qd-accent-soft);
    color: var(--qd-accent);
}

.qd-back .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

    .qd-tool:hover {
        background: var(--qd-accent-soft);
        border-color: #a5b4fc;
        color: var(--qd-accent);
    }

    .qd-tool.section {
        border-style: dashed;
        border-color: #94a3b8;
    }

.qd-ico {
    font-weight: 700;
    font-size: 12px;
    min-width: 14px;
    text-align: center;
    color: var(--qd-accent);
}

.qd-btn {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--qd-border);
    border-radius: 8px;
    background: #fff;
    color: var(--qd-text);
    font-size: 13px;
    cursor: pointer;
}

    .qd-btn:hover {
        background: #f8fafc;
    }

    .qd-btn.primary {
        background: var(--qd-accent);
        border-color: var(--qd-accent);
        color: #fff;
        font-weight: 600;
    }

        .qd-btn.primary:hover {
            background: #4338ca;
        }

    .qd-btn:disabled {
        opacity: .6;
        cursor: progress;
    }

    .qd-btn.sm {
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }

    .qd-btn.danger {
        color: #b91c1c;
        border-color: #fecaca;
    }

        .qd-btn.danger:hover {
            background: #fef2f2;
        }

/* ───────── canvas + paper ───────── */
.qd-canvas {
    flex: 1;
    overflow: auto;
    padding: 32px;
}

.qd-page {
    position: relative;
    margin: 0 auto;
    flex: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .15);
}

body.qd-dragging {
    cursor: grabbing;
    user-select: none;
}

/* ───────── elements ───────── */
.qd-el {
    position: absolute;
    box-sizing: border-box;
    cursor: move;
    user-select: none;
    touch-action: none;
}

    .qd-el:hover {
        outline: 1px solid #a5b4fc;
    }

    .qd-el.selected {
        outline: 2px solid var(--qd-accent);
    }

    .qd-el.editing {
        cursor: text;
        user-select: text;
    }

.qd-content {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-word;
}

.qd-el.editing .qd-content {
    overflow: auto;
    outline: none;
}

.qd-html {
    white-space: normal;
}

    .qd-html > :first-child {
        margin-top: 0;
    }

    .qd-html > :last-child {
        margin-bottom: 0;
    }

.qd-list {
    padding-left: 1.5em;
    white-space: normal;
}

    .qd-list li {
        margin: 0;
    }

.qd-divider {
    height: 100%;
    display: flex;
    align-items: center;
}

    .qd-divider > div {
        width: 100%;
    }

.qd-sig {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.qd-sig-line {
    width: 100%;
    margin-bottom: 6px;
}

.qd-sig-label {
    height: auto;
    flex: none;
}

.qd-imgwrap {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

    .qd-imgwrap > img {
        width: 100%;
        height: 100%;
        display: block;
        pointer-events: none;
        border-radius: inherit;
    }

.qd-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 2px dashed #cbd5e1;
    border-radius: inherit;
    background: #f8fafc;
    color: var(--qd-muted);
    font-size: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
}

    .qd-image-placeholder small {
        font-size: 11px;
    }

/* sections */
.qd-section {
    outline: 1px dashed #94a3b8;
}

    .qd-section::before {
        content: attr(data-label);
        position: absolute;
        top: -21px;
        left: 0;
        background: var(--qd-accent);
        color: #fff;
        font: 600 11px "Segoe UI", sans-serif;
        letter-spacing: 0;
        padding: 3px 8px;
        border-radius: 4px 4px 0 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity .12s;
    }

    .qd-section:hover::before, .qd-section.selected::before {
        opacity: 1;
    }

.drop-target {
    outline: 2px dashed #16a34a !important;
    background-color: rgba(34, 197, 94, .08) !important;
}

/* resize handles */
.qd-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    z-index: 99999;
    background: #fff;
    border: 2px solid var(--qd-accent);
    border-radius: 3px;
}

.qd-h-nw {
    left: -6px;
    top: -6px;
    cursor: nwse-resize;
}

.qd-h-n {
    left: calc(50% - 5px);
    top: -6px;
    cursor: ns-resize;
}

.qd-h-ne {
    right: -6px;
    top: -6px;
    cursor: nesw-resize;
}

.qd-h-e {
    right: -6px;
    top: calc(50% - 5px);
    cursor: ew-resize;
}

.qd-h-se {
    right: -6px;
    bottom: -6px;
    cursor: nwse-resize;
}

.qd-h-s {
    left: calc(50% - 5px);
    bottom: -6px;
    cursor: ns-resize;
}

.qd-h-sw {
    left: -6px;
    bottom: -6px;
    cursor: nesw-resize;
}

.qd-h-w {
    left: -6px;
    top: calc(50% - 5px);
    cursor: ew-resize;
}

/* while exporting: hide every piece of editing UI */
#qd-page.exporting {
    box-shadow: none;
}

    #qd-page.exporting .qd-el, #qd-page.exporting .qd-el:hover, #qd-page.exporting .qd-el.selected {
        outline: none;
    }

    #qd-page.exporting .qd-handle, #qd-page.exporting .qd-section::before,
    #qd-page.exporting .qd-margins, #qd-page.exporting .qd-guides {
        display: none;
    }

    #qd-page.exporting .qd-image-placeholder {
        visibility: hidden;
    }

    /* the bound-field cue is an editor affordance only — strip it from the PDF */
    #qd-page.exporting .qd-bound {
        background: none;
        box-shadow: none;
    }

/* A bound (parameter) element: subtle editor-only highlight so it's identifiable; prints clean. */
.qd-bound {
    background: rgba(79, 70, 229, .06);
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .18);
    border-radius: 3px;
}

/* ───────── properties panel ───────── */
.qd-props {
    width: 300px;
    flex: none;
    background: #fff;
    border-left: 1px solid var(--qd-border);
    overflow-y: auto;
    padding: 14px 16px 24px;
}

.qd-props-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.qd-chip {
    background: var(--qd-accent-soft);
    color: var(--qd-accent);
    font-weight: 600;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
}

.qd-group {
    padding: 12px 0;
    border-top: 1px solid var(--qd-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .qd-group h4 {
        margin: 0;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--qd-muted);
    }

.qd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .qd-grid label, .qd-block {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 11px;
        color: var(--qd-muted);
    }

.qd-row {
    display: flex;
    gap: 8px;
}

    .qd-row .qd-btn {
        flex: 1;
    }

.qd-kv {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

    .qd-kv span {
        color: var(--qd-muted);
    }

.qd-props input[type=number], .qd-props select, .qd-props textarea, .qd-toolbar select {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
    color: var(--qd-text);
    background: #fff;
    border: 1px solid var(--qd-border);
    border-radius: 8px;
}

.qd-props input[type=number], .qd-props select {
    height: 34px;
}

.qd-props textarea {
    resize: vertical;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
}

.qd-props input[type=color] {
    width: 100%;
    height: 34px;
    padding: 2px;
    border: 1px solid var(--qd-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.qd-props input[type=range] {
    width: 100%;
    accent-color: var(--qd-accent);
}

.qd-props input:focus, .qd-props select:focus, .qd-props textarea:focus, .qd-toolbar select:focus {
    outline: 2px solid #c7d2fe;
    border-color: var(--qd-accent);
}

.qd-file input::file-selector-button {
    margin-right: 10px;
    padding: 6px 12px;
    border: 1px solid var(--qd-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.qd-file input {
    font-size: 12px;
    color: var(--qd-muted);
    width: 100%;
}

.qd-seg {
    display: flex;
    border: 1px solid var(--qd-border);
    border-radius: 8px;
    overflow: hidden;
}

.qd-seg-btn {
    flex: 1;
    height: 32px;
    border: 0;
    border-right: 1px solid var(--qd-border);
    background: #fff;
    cursor: pointer;
    color: var(--qd-text);
    display: grid;
    place-items: center;
}

    .qd-seg-btn:last-child {
        border-right: 0;
    }

    .qd-seg-btn:hover {
        background: #f8fafc;
    }

    .qd-seg-btn.on {
        background: var(--qd-accent-soft);
        color: var(--qd-accent);
    }

    .qd-seg-btn svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
    }

.qd-tips {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--qd-muted);
    line-height: 1.6;
}

    .qd-tips kbd {
        background: #f1f5f9;
        border: 1px solid var(--qd-border);
        border-radius: 4px;
        padding: 0 5px;
        font-size: 11px;
    }

.qd-toast {
    position: fixed;
    z-index: 3000;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    background: #1e293b;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .3);
}

/* ───────── margins + smart alignment guides ───────── */
.qd-margins {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    box-sizing: border-box;
    border: 1px dashed #60a5fa;
    background: transparent;
}

.qd-guides {
    position: absolute;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
}

.qd-guide {
    position: absolute;
    background: #f43f5e;
    pointer-events: none;
}

    .qd-guide.v {
        width: 1px;
        margin-left: -0.5px;
    }

    .qd-guide.h {
        height: 1px;
        margin-top: -0.5px;
    }

.qd-btn.toggle.on {
    background: var(--qd-accent-soft);
    border-color: #a5b4fc;
    color: var(--qd-accent);
}

.qd-btn.open {
    background: var(--qd-accent-soft);
    border-color: #a5b4fc;
}

.qd-tname {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--qd-muted);
    background: #f1f5f9;
    border-radius: 999px;
    padding: 4px 10px;
}

.qd-doctype {
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    color: var(--qd-accent);
    background: var(--qd-accent-soft);
    border-radius: 999px;
    padding: 4px 10px;
}

/* margins popover */
.qd-pop-wrap {
    position: relative;
}

.qd-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2;
}

.qd-pop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 3;
    width: 300px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--qd-border);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .qd-pop h4 {
        margin: 0;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--qd-muted);
    }

    .qd-pop .qd-grid label {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 11px;
        color: var(--qd-muted);
    }

.qd-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.qd-chipbtn {
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--qd-border);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    color: var(--qd-text);
}

    .qd-chipbtn:hover {
        background: #f8fafc;
    }

    .qd-chipbtn.on {
        background: var(--qd-accent-soft);
        border-color: #a5b4fc;
        color: var(--qd-accent);
        font-weight: 600;
    }

.qd-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}

.qd-note {
    margin: 0;
    font-size: 12px;
    color: var(--qd-muted);
    line-height: 1.5;
}

.qd-pop input[type=number], .qd-text, .qd-modal input[type=number] {
    width: 100%;
    box-sizing: border-box;
    height: 34px;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
    color: var(--qd-text);
    background: #fff;
    border: 1px solid var(--qd-border);
    border-radius: 8px;
}

    .qd-pop input:focus, .qd-text:focus {
        outline: 2px solid #c7d2fe;
        border-color: var(--qd-accent);
    }

/* start screen extra */
.qd-start-actions {
    margin-top: 22px;
}

/* ───────── templates dialog ───────── */
.qd-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(15, 23, 42, .45);
    display: grid;
    place-items: center;
    padding: 16px;
}

.qd-modal {
    width: 520px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    padding: 18px 22px 22px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, .35);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: var(--qd-text);
}

.qd-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

    .qd-modal-head h3 {
        margin: 0;
        font-size: 1.15rem;
    }

.qd-modal .qd-row {
    align-items: center;
}

    .qd-modal .qd-row .qd-btn {
        flex: none;
    }

    .qd-modal .qd-row .qd-text {
        flex: 1;
    }

.qd-saved-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}

.qd-saved {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--qd-border);
    border-radius: 10px;
}

    .qd-saved.current {
        border-color: #a5b4fc;
        background: var(--qd-accent-soft);
    }

.qd-saved-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .qd-saved-info strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
    }

    .qd-saved-info small {
        color: var(--qd-muted);
        font-size: 11px;
    }

.qd-upload {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    width: fit-content;
}

    .qd-upload input {
        display: none;
    }

/* ───────── data-table column controls ───────── */
.qd-collapse-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.qd-collapse-ico {
    color: var(--qd-muted);
    font-size: 12px;
}

.qd-col-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0 10px;
}

.qd-col-ro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 9px;
    border: 1px solid var(--qd-border);
    border-radius: 7px;
    background: #fff;
}

.qd-col-ro-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--qd-text);
}

.qd-col-ro-meta {
    font-size: 11px;
    color: var(--qd-muted);
    white-space: nowrap;
}

.qd-colmodal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0;
}

.qd-colmodal-row {
    border: 1px solid var(--qd-border);
    border-radius: 9px;
    padding: 10px;
    background: #fafbfc;
}

.qd-colmodal-fmt {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.qd-fmt-label {
    font-size: 11px;
    color: var(--qd-muted);
}

.qd-colmodal-preview {
    border: 1px solid var(--qd-border);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    overflow: auto;
}

/* Manage-columns modal: fixed head + sticky preview, only the card list scrolls. */
.qd-colmodal {
    width: 640px;
    display: flex;
    flex-direction: column;
    overflow: hidden;   /* the inner .qd-colmodal-scroll scrolls instead of the whole modal */
}

    .qd-colmodal .qd-modal-head {
        flex: 0 0 auto;
    }

.qd-colmodal-top {
    flex: 0 0 auto;
    border-bottom: 1px solid var(--qd-border);
    padding-bottom: 10px;
    margin-bottom: 6px;
}

.qd-colmodal-top-h {
    margin: 0 0 6px;
}

.qd-colmodal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-top: 6px;
}

.qd-colmodal-card {
    border: 1px solid var(--qd-border);
    border-radius: 9px;
    margin-bottom: 8px;
    background: #fff;
    overflow: hidden;
}

.qd-colmodal-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
    user-select: none;
    background: #fafbfc;
}

.qd-drag-handle {
    cursor: grab;
    color: var(--qd-muted);
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
}

.qd-drag-handle:active {
    cursor: grabbing;
}

.qd-colmodal-card.dragging {
    opacity: .5;
    outline: 2px dashed var(--qd-accent);
}

.qd-iconbtn {
    border: 1px solid var(--qd-border);
    background: #fff;
    color: var(--qd-text);
    border-radius: 6px;
    width: 24px;
    height: 24px;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qd-iconbtn:disabled {
    opacity: .4;
    cursor: default;
}

.qd-colmodal-card-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--qd-text);
}

.qd-colmodal-card-body {
    padding: 10px;
    border-top: 1px solid var(--qd-border);
}

/* ───────── parameters panel ───────── */
.qd-param-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.qd-param-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    text-align: left;
    padding: 7px 9px;
    border: 1px solid var(--qd-border);
    border-radius: 7px;
    background: #fff;
    color: var(--qd-text);
    font-size: 12.5px;
    cursor: pointer;
    transition: .12s;
}

.qd-param-btn:hover {
    background: var(--qd-accent-soft);
    border-color: var(--qd-accent);
    color: var(--qd-accent);
}

    .qd-param-btn .material-symbols-outlined {
        font-size: 16px;
        color: var(--qd-accent);
    }
