/* ============================================================
   Quick Sale (route: #/quick-sale)
   ============================================================ */

/* ── QUICK SALE SCREEN ── */
.qs-screen {
    background: var(--surface-white)
}
.qs-hdr {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--surface-white);
    border-bottom: 1px solid #f0f0f2;
    flex-shrink: 0
}
.qs-back {
    background: none;
    border: 0;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent
}
.qs-hdr-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-600);
    line-height: 28px;
    pointer-events: none
}
.qs-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-overflow-scrolling: touch
}
.qs-scroll::-webkit-scrollbar { display: none }
.qs-fields {
    display: flex;
    flex-direction: column;
    gap: 14px
}
.qs-field {
    display: flex;
    flex-direction: column;
    gap: 4px
}
.qs-field-lbl {
    font-size: 13px;
    color: var(--ink-600);
    line-height: 20px
}
.qs-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface-white);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    transition: border-color 0.15s ease
}
.qs-input-wrap:focus-within {
    border-color: var(--color-primary)
}
.qs-input-wrap-area {
    align-items: stretch
}
.qs-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink-900);
    padding: 12px 16px;
    min-width: 0
}
.qs-input::placeholder { color: var(--ink-300) }
.qs-textarea {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink-900);
    padding: 12px 16px;
    min-height: 84px;
    resize: none
}
.qs-textarea::placeholder { color: var(--ink-300) }
.qs-input-clear {
    background: var(--ink-300);
    color: var(--surface-white);
    border: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent
}
.qs-input-clear.show { display: flex }

.qs-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 0
}
.qs-total-lbl {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-400)
}
.qs-total-val {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-900)
}

.qs-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px 12px;
    background: var(--surface-white)
}
.qs-btn {
    width: 100%;
    padding: 12px 10px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, transform 0.1s ease
}
.qs-btn:active { transform: scale(0.98) }
.qs-btn-outline {
    background: var(--surface-white);
    border: 1px solid var(--color-primary);
    color: var(--color-primary)
}
.qs-btn-outline:active { background: #f4ecff }
.qs-btn-primary {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: var(--surface-white)
}
.qs-btn-primary:active { background: #4d22c4 }
