html.page-sale,
html.page-sale body {
    margin: 0;
    height: 100%;
    background: #d7ebe4;
    color: #24312e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
}

html.page-sale *,
html.page-sale *::before,
html.page-sale *::after {
    box-sizing: border-box;
}

html.page-sale button,
html.page-sale input {
    font-family: inherit;
}

html.page-sale button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

html.page-sale .app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-width: 1100px;
    margin: 0 auto;
    background: #e7f4ef;
    overflow: hidden;
}

html.page-sale .panes {
    display: flex;
    flex: 1;
    min-height: 0;
}

html.page-sale .list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

html.page-sale .top {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    height: 46px;
    flex: 0 0 46px;
    background: #12886f;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

html.page-sale .top button {
    height: 46px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

html.page-sale #webmsgh {
    text-align: center;
}

html.page-sale .cols,
html.page-sale .sline {
    display: grid;
    grid-template-columns: 1.7fr .7fr .45fr .7fr .7fr .5fr;
    align-items: center;
}

html.page-sale .cols {
    height: 34px;
    flex: 0 0 34px;
    background: #d5efe7;
    color: #3e6d62;
    font-size: 13px;
    text-align: right;
}

html.page-sale .cols span:first-child,
html.page-sale .sline .nm {
    text-align: left;
    padding-left: 12px;
}

html.page-sale .cols span:not(:first-child),
html.page-sale .sline span:not(.nm) {
    padding-right: 6px;
}

html.page-sale .rows {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 8px 16px;
    -webkit-overflow-scrolling: touch;
}

html.page-sale .cust {
    margin: 0 0 10px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

html.page-sale .custhead {
    display: block;
    width: 100%;
    padding: 10px 12px 6px;
    font-size: 16px;
    font-weight: 650;
    text-align: left;
}

html.page-sale .sline {
    width: 100%;
    min-height: 32px;
    padding: 4px 8px 4px 0;
    font-size: 15px;
    text-align: right;
}

html.page-sale .sline.on {
    background: #e5f8f4;
}

html.page-sale .sline.paid,
html.page-sale .sline.paid .amt {
    color: #a7b3ae;
}

html.page-sale .nm {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale .amt {
    color: #12886f;
    font-weight: 700;
}

html.page-sale .rows-empty {
    padding: 36px 16px;
    color: #7aa297;
    text-align: center;
}

html.page-sale .room {
    position: relative;
    width: 430px;
    flex: 0 0 430px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #e7f4ef;
    border-left: 1px solid #cfe3dc;
    overflow: hidden;
}

html.page-sale.page-purch #saleBar.posted > * {
    display: none;
}

html.page-sale .custlines {
    flex: 1;
    min-height: 80px;
    display: flex;
    flex-direction: column;
}

html.page-sale .custlines .rows {
    padding-bottom: 8px;
}

html.page-sale .dock {
    position: relative;
    flex: 0 0 auto;
    background: #fff;
}

html.page-sale .pyline {
    display: flex;
    align-items: center;
    min-height: 36px;
    border-bottom: 1px solid #d7ebe4;
}

html.page-sale .pyk {
    width: 76px;
    flex: 0 0 76px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #e7f6f1;
    color: #3e6d62;
    font-size: 14px;
}

html.page-sale .pyline input {
    width: 86px;
    flex: 0 0 86px;
    height: 28px;
    margin: 0 6px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}

html.page-sale #cushopname,
html.page-sale #spname {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale .flds,
html.page-sale .vals {
    display: grid;
    grid-template-columns: 1.1fr .7fr .9fr 1.5fr .9fr .9fr .8fr;
}

html.page-sale .flds {
    height: 24px;
    background: #e7f6f1;
    color: #5d7f76;
    font-size: 12px;
    text-align: center;
    line-height: 24px;
}

html.page-sale .vals input,
html.page-sale .vals span {
    box-sizing: border-box;
    height: 32px;
    border-right: 1px solid #d7ebe4;
    border-bottom: 1px solid #d7ebe4;
    padding: 0 6px;
    text-align: right;
    line-height: 32px;
    font-size: 16px;
}

html.page-sale #sh2,
html.page-sale #sh4 {
    text-align: center;
}

html.page-sale .vals input {
    width: 100%;
    border-top: 0;
    border-left: 0;
    border-radius: 0;
    background: #fff;
}

html.page-sale .pick {
    display: none;
    position: absolute;
    right: 8px;
    bottom: calc(100% - 4px);
    left: 8px;
    z-index: 6;
    max-height: 200px;
    overflow: auto;
    border: 1px solid #d7ebe4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

html.page-sale .pick.show {
    display: block;
}

html.page-sale .pick button {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
    text-align: left;
}

@media (max-width: 800px) {
    html.page-sale .app {
        max-width: none;
    }

    html.page-sale .panes {
        flex-direction: column;
    }

    html.page-sale .room {
        display: none;
        width: auto;
        flex: 1;
        border-left: 0;
    }

    html.page-sale .app.show-room .list {
        display: none;
    }

    html.page-sale .app.show-room .room {
        display: flex;
    }

    html.page-sale.page-purch .qbar {
        flex-wrap: wrap;
        height: auto;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

html.page-sale.page-purch .qbar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0 8px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
}

html.page-sale.page-purch .qbar input,
html.page-sale.page-purch .qbar select {
    height: 28px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

html.page-sale.page-purch .qbar input {
    width: 108px;
    flex: 0 0 108px;
}

html.page-sale.page-purch .qbar select.proj {
    flex: 1;
    min-width: 0;
}

html.page-sale.page-purch .qbar select.truck {
    width: 48px;
    flex: 0 0 48px;
}

html.page-sale.page-purch .qbar button,
html.page-sale.page-purch .label .ops button {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
    font-size: 14px;
}

html.page-sale.page-purch .top button:disabled,
html.page-sale.page-purch .label .ops button:disabled {
    background: #8f8f96;
    opacity: .7;
}

html.page-sale.page-purch .sums {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 32px;
    flex: 0 0 32px;
    padding: 0 12px;
    background: #fff;
    border-top: 1px solid #cfe3dc;
    font-size: 14px;
}

html.page-sale.page-purch .flds,
html.page-sale.page-purch .vals {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

html.page-sale.page-purch .cols,
html.page-sale.page-purch .rows {
    scrollbar-gutter: stable;
}

html.page-sale.page-purch .cols {
    overflow: hidden;
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-purch #sh2,
html.page-sale.page-purch #sh3,
html.page-sale.page-purch #sh4 {
    text-align: right;
}

html.page-sale.page-purch .shade {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, .28);
}

html.page-sale.page-purch .shade.show {
    display: block;
}

html.page-sale.page-purch .label {
    position: absolute;
    left: 50%;
    top: 64px;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 24px));
    padding: 12px;
    border-radius: 12px;
    background: #fff;
}

html.page-sale.page-purch .label h3 {
    margin: 0 0 8px;
    font-size: 16px;
    text-align: center;
}

html.page-sale.page-purch .label .row {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    min-height: 36px;
    border-bottom: 1px solid #e7f4ef;
}

html.page-sale.page-purch .label input {
    width: 100%;
    height: 28px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 15px;
}

html.page-sale.page-purch .label .ops {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

html.page-sale.page-proj .list .cols,
html.page-sale.page-proj .list .sline {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 72px 56px;
    text-align: left;
}

html.page-sale.page-proj .list .cols span,
html.page-sale.page-proj .list .sline span {
    text-align: left;
    padding: 0 0 0 12px;
}

html.page-sale.page-proj .list .rows {
    padding-left: 0;
    padding-right: 0;
}

html.page-proj .pyk {
    width: 92px;
    flex-basis: 92px;
}

html.page-proj #shu1,
html.page-proj #shu2,
html.page-proj #prefix {
    flex: 1 1 auto;
    width: auto;
    text-align: left;
    padding-left: 8px;
}

html.page-proj .choice {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-left: 10px;
}

html.page-proj .choice label {
    display: flex;
    align-items: center;
    gap: 4px;
}

html.page-proj .choice input {
    width: auto;
    flex: 0 0 auto;
    height: auto;
    margin: 0;
}

html.page-proj .ops {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px 10px;
}

html.page-proj .ops button {
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    background: #12886f;
    color: #fff;
    font-size: 15px;
}

html.page-sale.page-cer .qbar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0 8px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
}

html.page-sale.page-cer .qbar input {
    width: 148px;
    height: 28px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    font-size: 14px;
}

html.page-sale.page-cer .qbar button {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
}

html.page-sale.page-cer .list .cols,
html.page-sale.page-cer .list .sline {
    grid-template-columns: 1.6fr .7fr .7fr;
}

html.page-sale.page-cer .room {
    overflow: auto;
}

html.page-sale.page-cer .pickhead {
    grid-template-columns: 1fr 1.4fr 1fr;
}

html.page-sale.page-cer .pickbox {
    display: flex;
    flex: 1;
    min-height: 140px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
}

html.page-sale.page-cer .pickcol {
    flex: 1;
    min-width: 0;
    overflow: auto;
    border-right: 1px solid #e7f4ef;
}

html.page-sale.page-cer .pickcol button {
    display: block;
    width: 100%;
    padding: 8px 10px;
    text-align: left;
    font-size: 14px;
}

html.page-sale.page-cer .pickcol button.on,
html.page-sale.page-cer #jfkm.on,
html.page-sale.page-cer #dfkm.on {
    background: #e5f8f4;
    color: #12886f;
}

html.page-sale.page-cer .pyline input.grow {
    flex: 1;
    width: auto;
    text-align: left;
    padding: 0 8px;
}

html.page-sale.page-cer .ops {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px;
}

html.page-sale.page-cer .ops button {
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
}

html.page-sale.page-cer .custhead {
    display: flex;
    align-items: center;
}

html.page-sale.page-cer .ceropen {
    flex: 1;
    min-width: 0;
    padding: 0;
    text-align: left;
    font-weight: 650;
}

html.page-sale.page-cer .cerpic {
    width: 36px;
    color: #12886f;
}

html.page-sale.page-cer .shade {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, .28);
}

html.page-sale.page-cer .shade.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 12px;
}

html.page-sale.page-cer .shot,
html.page-sale.page-cer .uploader {
    width: min(440px, 100%);
    padding: 12px;
    border-radius: 12px;
    background: #fff;
}

html.page-sale.page-cer .shot img {
    display: block;
    max-width: 100%;
}

html.page-sale.page-cer .shot button,
html.page-sale.page-cer .uploader button {
    height: 32px;
    margin-top: 8px;
    padding: 0 12px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
}

html.page-sale.page-proj.page-3 .list .cols,
html.page-sale.page-proj.page-3 .list .sline {
    grid-template-columns: 64px minmax(0, 1fr) 56px;
}

html.page-proj .pyline input.txt,
html.page-proj .pyline select {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    height: 28px;
    margin-right: 8px;
    text-align: left;
    padding-left: 8px;
}

html.page-sale.page-mine .list {
    flex: 0 0 260px;
    background: #fff;
    border-right: 1px solid #cfe3dc;
    overflow: hidden;
}

html.page-sale.page-mine #menus {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

html.page-sale.page-mine .qrbox {
    flex: 0 0 auto;
    padding: 8px 12px 12px;
    text-align: center;
}

html.page-sale.page-mine .qrtext {
    color: #5d847a;
    font-size: 13px;
}

html.page-sale.page-mine #qrcode canvas {
    display: block;
    margin: 8px auto 0;
}

html.page-sale.page-mine .room {
    width: auto;
    flex: 1 1 auto;
    overflow: auto;
    background: #fff;
}

html.page-sale.page-mine .minehead {
    position: relative;
    display: block;
    height: 120px;
    padding: 0;
    overflow: hidden;
    border-bottom: 0;
}

html.page-sale.page-mine .minehead .sidebk {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    background: #d7ebe4;
}

html.page-sale.page-mine .sideface {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: linear-gradient(90deg, rgba(8, 48, 43, 0.38), rgba(8, 48, 43, 0.08));
}

html.page-sale.page-mine .sideface img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #fff;
    background: #e7f4f1;
    flex: 0 0 auto;
}

html.page-sale.page-mine .minehead span {
    color: #fff;
    font-weight: 650;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-mine .mine-item {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid #e7f4ef;
    text-align: left;
    font-size: 16px;
}

html.page-sale.page-mine .mine-item.on {
    background: #e5f8f4;
    color: #12886f;
    font-weight: 650;
}

html.page-sale.page-mine .panel {
    display: none;
}

html.page-sale.page-mine .panel.on {
    display: block;
}

html.page-sale.page-mine .hint,
html.page-sale.page-mine .code {
    padding: 6px 12px;
    color: #5d847a;
    font-size: 13px;
    word-break: break-all;
}

html.page-sale.page-mine .shot,
html.page-sale.page-mine .bk {
    display: block;
    margin: 8px auto;
    background: #e7f4ef;
    object-fit: cover;
    object-position: center;
}

html.page-sale.page-mine .shot {
    width: 150px;
    height: 150px;
}

html.page-sale.page-mine .bk {
    width: min(750px, calc(100% - 48px));
    height: auto;
    aspect-ratio: 3 / 1;
}

html.page-sale.page-mine .friend {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border-bottom: 1px solid #e7f4ef;
    text-align: left;
}

html.page-sale.page-mine .friend img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    background: #d7ebe4;
}

html.page-sale.page-mine .friend .nm {
    font-weight: 650;
}

html.page-sale.page-mine .friend .st {
    color: #12886f;
    font-size: 13px;
}

html.page-sale.page-mine .choice {
    flex-wrap: wrap;
}

html.page-sale.page-mine .pyk {
    width: 108px;
    flex-basis: 108px;
}
html.page-sale.page-mine .tabbar {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}
html.page-sale.page-mine .tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 4px 0 2px;
    color: #9a9a9a;
    font-size: 11px;
    line-height: 1.2;
    text-decoration: none;
}
html.page-sale.page-mine .tab svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html.page-sale.page-mine .tab span {
    max-width: 100%;
    text-align: center;
    line-height: 1.15;
}
html.page-sale.page-mine .tab.on {
    color: #f08a32;
}
html.page-sale.page-mine .tab.on .bubble {
    fill: currentColor;
    stroke: currentColor;
}
html.page-sale.page-mine .tab.on .dot {
    fill: #fff;
    stroke: none;
}

@media (max-width: 800px) {
    html.page-sale.page-mine .list {
        flex: 1 1 auto;
        width: 100%;
        border-right: 0;
    }
}

html.page-sale.page-price .list .cols,
html.page-sale.page-price .list .sline {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) 52px 60px;
}

html.page-sale.page-price .room .cols,
html.page-sale.page-price .room .sline {
    grid-template-columns: 64px minmax(0, 1fr) 52px 60px;
}

html.page-sale.page-price .cols,
html.page-sale.page-price .rows {
    scrollbar-gutter: stable;
}

html.page-sale.page-price .cols {
    overflow: hidden;
    box-sizing: border-box;
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-price .rows {
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-price .sline {
    padding-left: 0;
    padding-right: 0;
}

html.page-sale.page-price .cols span:first-child,
html.page-sale.page-price .sline span:first-child,
html.page-sale.page-price .cols span:nth-child(2),
html.page-sale.page-price .sline span:nth-child(2) {
    text-align: left;
    padding-left: 12px;
}

html.page-sale.page-price .list .sline span:first-child,
html.page-sale.page-price .sline span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 801px) {
    html.page-sale.page-price .room {
        width: auto;
        flex: 1 1 0;
    }

    html.page-sale.page-price #swap {
        visibility: hidden;
        pointer-events: none;
    }
}

html.page-sale.page-price .sline span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-price .sline.band {
    box-shadow: inset 0 -2px 0 #d7ebe4;
}

html.page-sale.page-price .tabbar {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}

html.page-sale.page-price .tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 4px 0 2px;
    color: #9a9a9a;
    font-size: 11px;
    line-height: 1.2;
    text-decoration: none;
}

html.page-sale.page-price .tab svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.page-sale.page-price .tab.on {
    color: #f08a32;
}

html.page-sale.page-pmc .qbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 6px 8px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
}

html.page-sale.page-pmc .qbar label {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: #3e6d62;
    font-size: 14px;
}

html.page-sale.page-pmc .qbar select {
    height: 28px;
    min-width: 0;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

html.page-sale.page-pmc .qbar select.proj { width: 108px; }
html.page-sale.page-pmc .qbar select.cls { width: 84px; }

html.page-sale.page-pmc .qbar button {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
    font-size: 14px;
}

html.page-sale.page-pmc .list .cols,
html.page-sale.page-pmc .list .sline {
    grid-template-columns: minmax(0, 1.5fr) 52px 52px 52px 52px;
}

html.page-sale.page-pmc .room .cols,
html.page-sale.page-pmc .room .sline {
    grid-template-columns: minmax(0, 1fr) 40px 36px 124px 22px;
}

html.page-sale.page-pmc .cols,
html.page-sale.page-pmc .rows {
    scrollbar-gutter: stable;
}

html.page-sale.page-pmc .cols {
    overflow: hidden;
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-pmc .rows {
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-pmc .sline {
    padding-left: 0;
    padding-right: 0;
}

html.page-sale.page-pmc .cols span,
html.page-sale.page-pmc .sline span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-pmc .cols span:first-child,
html.page-sale.page-pmc .sline span:first-child {
    text-align: left;
    padding-left: 12px;
}

html.page-sale.page-pmc .sline span:nth-child(n+2) {
    text-align: right;
    padding-right: 6px;
}

html.page-sale.page-pmc .room .sline span:nth-child(4) {
    font-size: 15px;
}

html.page-sale.page-pmc .room .cols span:nth-child(4) {
    text-align: center;
    padding-right: 0;
}

html.page-sale.page-pmc .room .sline span:nth-child(4) {
    text-align: left;
    padding-left: 6px;
    padding-right: 0;
}

html.page-sale.page-pmc .sline .name {
    cursor: pointer;
    color: #12886f;
}

html.page-sale.page-pmc .dname {
    display: flex;
    align-items: center;
    height: 42px;
    flex: 0 0 42px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
    font-weight: 600;
}

html.page-sale.page-pmc .room .sline.check {
    cursor: pointer;
}

html.page-sale.page-pmc .pmc-entry .qtyk {
    width: 52px;
    flex-basis: 52px;
    border-left: 1px solid #d7ebe4;
}

html.page-sale.page-pmc .pmc-entry #ckqty {
    width: 72px;
    flex-basis: 72px;
    margin-right: 8px;
}

html.page-sale.page-pmc .sale-keypad #bdel,
html.page-sale.page-pmc .sale-keypad [data-act="dshare"],
html.page-sale.page-pmc .sale-keypad [data-act="dprint"] {
    visibility: visible;
    background: #fff;
    color: #24312e;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    pointer-events: none;
}

@media (max-width: 800px) {
    html.page-sale.page-pmc .qbar { flex-wrap: wrap; }
}

@media (min-width: 801px) {
    html.page-sale.page-pmc #swap {
        visibility: hidden;
        pointer-events: none;
    }
}

html.page-sale.page-ckpay .qbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 6px 8px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
}

html.page-sale.page-ckpay .qbar label {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: #3e6d62;
    font-size: 14px;
}

html.page-sale.page-ckpay .qbar select {
    height: 28px;
    min-width: 0;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

html.page-sale.page-ckpay .qbar select.proj { width: 168px; }

html.page-sale.page-ckpay .qbar button,
html.page-sale.page-ckpay .sums button,
html.page-sale.page-ckpay .payops button {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
    font-size: 14px;
}

html.page-sale.page-ckpay .list .cols,
html.page-sale.page-ckpay .list .sline {
    grid-template-columns: 52px minmax(0, 1.4fr) 76px 76px;
}

html.page-sale.page-ckpay .room .cols,
html.page-sale.page-ckpay .room .sline {
    grid-template-columns: 17% 28% 14% 10% 16% 13%;
}

html.page-sale.page-ckpay .cols,
html.page-sale.page-ckpay .rows {
    scrollbar-gutter: stable;
}

html.page-sale.page-ckpay .cols {
    overflow: hidden;
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-ckpay .rows {
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-ckpay .sline {
    padding-left: 0;
    padding-right: 0;
}

html.page-sale.page-ckpay .cols span,
html.page-sale.page-ckpay .sline span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-ckpay .cols span:first-child,
html.page-sale.page-ckpay .sline span:first-child,
html.page-sale.page-ckpay .list .cols span:nth-child(2),
html.page-sale.page-ckpay .list .sline span:nth-child(2),
html.page-sale.page-ckpay .room .cols span:nth-child(2),
html.page-sale.page-ckpay .room .sline span:nth-child(2) {
    text-align: left;
    padding-left: 8px;
}

html.page-sale.page-ckpay .sline span:nth-child(n+3) {
    text-align: right;
    padding-right: 6px;
}

html.page-sale.page-ckpay .list .sline .name { cursor: pointer; }

html.page-sale.page-ckpay .sline .name { color: #12886f; }

html.page-sale.page-ckpay .dname {
    display: flex;
    align-items: center;
    height: 42px;
    flex: 0 0 42px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-ckpay .dname:empty::before {
    content: "点击供应商查看";
    color: #7aa297;
    font-weight: 500;
}

html.page-sale.page-ckpay .sums {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 36px;
    flex: 0 0 36px;
    padding: 0 12px;
    background: #fff;
    border-top: 1px solid #cfe3dc;
    font-size: 14px;
}

html.page-sale.page-ckpay .sums b { color: #12886f; }

html.page-sale.page-ckpay .sums button { margin-left: auto; }

html.page-sale.page-ckpay .paygrid {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px minmax(0, 1fr);
    align-items: center;
    background: #fff;
}

html.page-sale.page-ckpay .paygrid span,
html.page-sale.page-ckpay .paygrid b {
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #3e6d62;
    border-bottom: 1px solid #d7ebe4;
}

html.page-sale.page-ckpay .paygrid b {
    color: #12886f;
    font-weight: 700;
    text-align: right;
    padding-right: 8px;
}

html.page-sale.page-ckpay .paygrid input,
html.page-sale.page-ckpay .paygrid select {
    width: 100%;
    height: 32px;
    border: 0;
    border-bottom: 1px solid #d7ebe4;
    border-left: 1px solid #d7ebe4;
    border-radius: 0;
    background: #fff;
    padding: 0 6px;
    text-align: right;
    font-size: 15px;
}

html.page-sale.page-ckpay .paygrid select,
html.page-sale.page-ckpay .paygrid #paynote { text-align: left; }

html.page-sale.page-ckpay .paygrid .span2 { grid-column: 2 / span 3; }

html.page-sale.page-ckpay .payops {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #fff;
}

html.page-sale.page-ckpay .payops button { flex: 1; height: 32px; }

html.page-sale.page-ckpay .payops button + button {
    background: #e7f6f1;
    color: #24312e;
}

@media (max-width: 800px) {
    html.page-sale.page-ckpay .qbar { flex-wrap: wrap; }
}

@media (min-width: 801px) {
    html.page-sale.page-ckpay #swap {
        visibility: hidden;
        pointer-events: none;
    }
}

html.page-sale.page-precon .list {
    flex: 0 0 520px;
    width: 520px;
}

html.page-sale.page-precon .room {
    width: auto;
    flex: 1 1 auto;
}

html.page-sale.page-precon .list .cols,
html.page-sale.page-precon .list .sline {
    grid-template-columns: 48px minmax(0, 1.2fr) 72px 72px 72px;
}

html.page-sale.page-precon .room .cols,
html.page-sale.page-precon .room .sline {
    grid-template-columns: 36px 96px minmax(0, 1.4fr) 56px 56px 68px 88px;
}

html.page-sale.page-precon .room .cols span:first-child,
html.page-sale.page-precon .room .sline span:first-child {
    text-align: center;
    padding: 0;
    overflow: visible;
}

html.page-sale.page-precon .room .pickline {
    width: 16px;
    height: 16px;
    margin: 0;
}

html.page-sale.page-precon .room .sline span:last-child {
    overflow: visible;
    padding-right: 4px;
}

html.page-sale.page-precon .room .sline .payin {
    display: block;
    width: 66%;
    margin-left: auto;
    height: 26px;
    border: 1px solid #d7ebe4;
    border-radius: 4px;
    padding: 0 4px;
    background: #fff;
    text-align: right;
    font-size: 14px;
}

html.page-sale.page-precon .cols,
html.page-sale.page-precon .rows {
    padding-left: 0;
    padding-right: 0;
}

html.page-sale.page-precon .cols {
    text-align: center;
}

html.page-sale.page-precon .cols span,
html.page-sale.page-precon .sline span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-precon .cols span:first-child,
html.page-sale.page-precon .sline span:first-child,
html.page-sale.page-precon .list .cols span:nth-child(2),
html.page-sale.page-precon .list .sline span:nth-child(2),
html.page-sale.page-precon .room .cols span:nth-child(2),
html.page-sale.page-precon .room .sline span:nth-child(2),
html.page-sale.page-precon .room .cols span:nth-child(3),
html.page-sale.page-precon .room .sline span:nth-child(3) {
    text-align: left;
    padding-left: 8px;
    padding-right: 0;
}

html.page-sale.page-precon .sline span:nth-child(n+3) {
    text-align: right;
    padding-right: 6px;
}

html.page-sale.page-precon .list .sline .name { cursor: pointer; }

html.page-sale.page-precon .sline .name { color: #12886f; }

html.page-sale.page-precon .dname {
    display: flex;
    align-items: center;
    height: 42px;
    flex: 0 0 42px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
    font-weight: 600;
}

html.page-sale.page-precon .dname:empty::before {
    content: "未支付明细";
    color: #7aa297;
    font-weight: 500;
}

html.page-sale.page-precon .sums {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0 12px;
    background: #fff;
    border-top: 1px solid #cfe3dc;
    font-size: 14px;
}

html.page-sale.page-precon .sums b { color: #12886f; }

html.page-sale.page-precon .sums #acpay {
    width: 72px;
    height: 28px;
    margin-left: 4px;
    padding: 0 6px;
    border: 1px solid #b7d3cb;
    border-radius: 6px;
    text-align: right;
}

html.page-sale.page-precon .docops {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px;
    background: #fff;
    border-top: 1px solid #cfe3dc;
}

html.page-sale.page-precon .docops button {
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    background: #12886f;
    color: #fff;
    font-size: 14px;
}

html.page-sale.page-precon .qbox {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: center;
    padding: 10px 12px 12px;
    background: #fff;
    border-top: 1px solid #cfe3dc;
}

html.page-sale.page-precon .qbox input {
    width: 100%;
    height: 32px;
    border: 1px solid #d7ebe4;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 15px;
    background: #fff;
}

html.page-sale.page-precon .qbox b {
    min-height: 32px;
    line-height: 32px;
    color: #12886f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-precon .qbox b:empty::before {
    content: "未选定";
    color: #7aa297;
    font-weight: 500;
}

html.page-sale.page-precon .qbox button {
    grid-column: 1 / -1;
    height: 34px;
    border-radius: 8px;
    background: #12886f;
    color: #fff;
    font-size: 16px;
}

html.page-sale.page-precon .qbox .pick {
    left: 12px;
    right: 12px;
    bottom: calc(100% + 4px);
}

@media (max-width: 800px) {
    html.page-sale.page-precon .list {
        flex: 1;
        width: auto;
    }
}

@media (min-width: 801px) {
    html.page-sale.page-precon #swap {
        visibility: hidden;
        pointer-events: none;
    }
}

html.page-sale.page-paylist .qbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 6px 8px;
    background: #fff;
    border-bottom: 1px solid #cfe3dc;
    color: #3e6d62;
    font-size: 14px;
}

html.page-sale.page-paylist .qbar input,
html.page-sale.page-paylist .qbar select {
    height: 28px;
    min-width: 0;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
}

html.page-sale.page-paylist .qbar select.proj { width: 150px; }
html.page-sale.page-paylist .qbar input[type="date"] { width: 140px; padding: 0 4px; }

html.page-sale.page-paylist .qbar button {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: #12886f;
    color: #fff;
    font-size: 14px;
}

html.page-sale.page-paylist .list .cols,
html.page-sale.page-paylist .list .sline {
    grid-template-columns: 96px minmax(0, 1fr) 84px 64px;
}

html.page-sale.page-paylist .room .cols,
html.page-sale.page-paylist .room .sline {
    grid-template-columns: 20% 27% 11% 10% 16% 11%;
}

@media (min-width: 801px) {
    html.page-sale.page-paylist .list {
        flex: 1 1 50%;
    }

    html.page-sale.page-paylist .room {
        width: auto;
        flex: 1 1 50%;
    }
}

html.page-sale.page-paylist .cols,
html.page-sale.page-paylist .rows {
    scrollbar-gutter: stable;
}

html.page-sale.page-paylist .cols {
    overflow: hidden;
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-paylist .rows {
    padding-left: 8px;
    padding-right: 8px;
}

html.page-sale.page-paylist .sline {
    padding-left: 0;
    padding-right: 0;
}

html.page-sale.page-paylist .cols span,
html.page-sale.page-paylist .sline span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.page-sale.page-paylist .cols span:first-child,
html.page-sale.page-paylist .sline span:first-child,
html.page-sale.page-paylist .list .cols span:nth-child(2),
html.page-sale.page-paylist .list .sline span:nth-child(2),
html.page-sale.page-paylist .room .cols span:nth-child(2),
html.page-sale.page-paylist .room .sline span:nth-child(2) {
    text-align: left;
    padding-left: 8px;
}

html.page-sale.page-paylist .list .cols span:nth-child(n+3),
html.page-sale.page-paylist .list .sline span:nth-child(n+3) {
    text-align: right;
    padding-right: 8px;
}

html.page-sale.page-paylist .room .cols span:nth-child(n+3),
html.page-sale.page-paylist .room .sline span:nth-child(n+3) {
    text-align: right;
    padding-right: 8px;
}

html.page-sale.page-paylist .list .sline .name {
    cursor: pointer;
}

html.page-sale.page-paylist .paygrid #vdername,
html.page-sale.page-paylist .paygrid #jsdh,
html.page-sale.page-paylist .paygrid #jssj,
html.page-sale.page-paylist .paygrid #jsr {
    text-align: left;
    padding-left: 8px;
    padding-right: 0;
}

html.page-sale.page-paylist .paygrid #vtotal,
html.page-sale.page-paylist .paygrid #sh1,
html.page-sale.page-paylist .paygrid #sh2,
html.page-sale.page-paylist .paygrid #sh3,
html.page-sale.page-paylist .paygrid #sh4,
html.page-sale.page-paylist .paygrid #sh5 {
    text-align: right;
    padding-right: 8px;
    padding-left: 0;
}

html.page-sale.page-paylist .paygrid {
    display: grid;
    grid-template-columns: 58px minmax(0, 1.3fr) 52px minmax(0, 0.9fr);
    align-items: center;
    background: #fff;
}

    html.page-sale.page-paylist .paygrid #jsdh,
    html.page-sale.page-paylist .paygrid #jssj {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

html.page-sale.page-paylist .paygrid span,
html.page-sale.page-paylist .paygrid b {
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #3e6d62;
    border-bottom: 1px solid #d7ebe4;
}

html.page-sale.page-paylist .paygrid b {
    color: #12886f;
    font-weight: 700;
    text-align: right;
    padding-right: 8px;
}

html.page-sale.page-paylist .paygrid .span2 { grid-column: span 3; }
