@font-face {
    font-family: "Qianli Sans";
    src: url("../fonts/font.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --ql-ink: #1e262e;
    --ql-muted: #70777d;
    --ql-line: #e5e2dc;
    --ql-surface: #ffffff;
    --ql-canvas: #f3f1ed;
    --ql-gold: #aa7623;
    --ql-gold-dark: #875913;
    --ql-gold-soft: #f6efe3;
    --ql-danger: #b34e3e;
    --ql-green: #27745d;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ql-ink);
}

body { background: var(--ql-canvas); }
a { color: var(--ql-gold-dark); }
a:hover, a:focus { color: var(--ql-gold); }
.icon {
    width: 1.5em;
    height: 1.5em;
    overflow: hidden;
    vertical-align: -.4em;
    fill: currentColor;
}

/* Login page */
body.ql-login-page {
    min-width: 375px;
    margin: 0;
    overflow: hidden;
    background-color: #f5efe6;
    background-image: url("../img/qianli-login-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--ql-muted);
    font-family: "Qianli Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5715;
}
.ql-login-page .container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}
.ql-login-page .container:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,252,247,.5) 0%, rgba(255,252,247,.14) 43%, rgba(255,255,255,0) 62%);
    pointer-events: none;
}
.ql-login-page .login-brand {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 7%;
    width: 38%;
    max-width: 520px;
    padding: 27px 30px 29px;
    border-left: 2px solid #d7ae74;
    background: linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,255,255,.34));
    color: #352b20;
    box-shadow: 0 18px 70px rgba(118,82,37,.08);
    backdrop-filter: blur(5px);
    transform: translateY(-50%);
}
.ql-login-page .login-brand .brand-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.ql-login-logo-mark {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(121,77,24,.13));
}
.ql-login-logo-wordmark {
    width: min(245px, calc(100% - 88px));
    height: auto;
    object-fit: contain;
}
.ql-brand-kicker,
.ql-login-kicker {
    display: block;
    color: #9b6b28;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
}
.ql-brand-kicker { margin-bottom: 13px; }
.ql-login-page .login-brand h1 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 18px;
    color: #342b21;
    font-family: "Qianli Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.48;
    letter-spacing: .075em;
}
.ql-login-page .login-brand h1 span:last-child {
    color: #8f5f1c;
    font-size: 37px;
}
.ql-login-page .login-brand p {
    max-width: 410px;
    margin: 0;
    color: #71685e;
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: .035em;
}
.ql-login-page .login-brand .brand-line { width: 52px; height: 1px; margin-top: 32px; background: #d7ae74; }
.ql-login-page .container:after {
    content: none;
}
.ql-login-page .container .login-wrapper {
    position: absolute;
    z-index: 100;
    top: 50%;
    right: 8%;
    width: 420px;
    padding: 48px 54px 52px;
    border: 1px solid var(--ql-line);
    border-radius: 6px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 90px rgba(89,60,27,.15);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
}
.ql-login-page .container .login-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    right: 54px;
    left: 54px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d7ae74 22%, #b98131 50%, #d7ae74 78%, transparent);
}
.ql-login-kicker {
    margin-bottom: 10px;
    color: #b1874d;
    font-size: 9px;
    letter-spacing: .18em;
}
.ql-login-page .lg_sec_tit {
    display: inline-block;
    width: 100%;
    margin: 0;
    color: var(--ql-ink);
    font-family: "Qianli Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .12em;
    text-align: left;
}
.ql-login-page .login-subtitle {
    margin: 8px 0 30px;
    color: #88837c;
    font-size: 12px;
    letter-spacing: .035em;
}
.ql-login-page #login-form { margin-top: 0; }
.ql-login-page #login-form .input-group { margin-bottom: 16px; }
.ql-login-page #login-form .form-control {
    height: 44px;
    border: 1px solid #d9d6d0;
    outline: none;
    box-shadow: none;
    color: #3f464b;
    font-family: "Qianli Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 13px;
    letter-spacing: .025em;
    line-height: 44px;
}
.ql-login-page #login-form .form-control:focus {
    border-color: #ac874e;
    box-shadow: 0 0 0 3px rgba(170,118,35,.09);
}
.ql-login-page #login-form .input-group-addon {
    min-width: 44px;
    border-color: #d9d6d0;
    background: #faf9f7;
    color: #8d8d88;
    font-size: 12px;
}
.ql-login-page #login-form .checkbox { margin-bottom: 20px; }
.ql-login-page #login-form .btn-login {
    height: 44px;
    margin-top: 8px;
    border: 1px solid var(--ql-gold);
    border-radius: 4px;
    background: var(--ql-gold) !important;
    font-family: "Qianli Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
}
.ql-login-page #login-form .btn-login:hover {
    border-color: var(--ql-gold-dark);
    background: var(--ql-gold-dark) !important;
}
.ql-login-page .ql-captcha-addon {
    padding: 0;
    border: 0;
    cursor: pointer;
}
.ql-login-page .copyright {
    position: absolute;
    bottom: 10px;
    width: 100%;
    color: #8e8b86;
    text-align: center;
}

@media only screen and (max-width: 900px) {
    body.ql-login-page { background-position: 28% center; }
    .ql-login-page .container:before { background: rgba(255,252,247,.48); }
    .ql-login-page .login-brand {
        top: 9%;
        left: 50%;
        width: calc(100% - 40px);
        max-width: 420px;
        padding: 14px 18px;
        border-left: 0;
        background: rgba(255,255,255,.68);
        text-align: center;
        transform: translateX(-50%);
    }
    .ql-login-page .login-brand .brand-lockup { justify-content: center; margin-bottom: 12px; }
    .ql-brand-kicker { display: none; }
    .ql-login-logo-mark { width: 52px; height: 52px; }
    .ql-login-logo-wordmark { width: min(190px, calc(100% - 66px)); }
    .ql-login-page .login-brand h1,
    .ql-login-page .login-brand p,
    .ql-login-page .login-brand .brand-line { display: none; }
    .ql-login-page .container .login-wrapper {
        top: 56%;
        right: auto;
        left: 50%;
        width: min(420px, calc(100% - 28px));
        padding: 36px 30px 40px;
        transform: translate(-50%, -50%);
    }
}

/* Main application frame */
.main-header { height: 64px; border-bottom: 1px solid var(--ql-line); }
.main-header .logo {
    width: 224px;
    height: 64px;
    line-height: 64px;
    padding: 0 11px;
    border-right: 1px solid var(--ql-line);
    border-bottom: 0;
    background: #fff !important;
    color: var(--ql-ink) !important;
    text-align: left;
}
.main-header .navbar {
    min-height: 64px;
    margin-left: 224px;
    background: rgba(255,255,255,.96) !important;
}
.main-header .navbar .sidebar-toggle,
.main-header .navbar .nav > li > a {
    height: 64px;
    line-height: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #596066 !important;
}
.main-header .navbar .sidebar-toggle:hover,
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:focus { background: #f7f5f1 !important; }
.main-header .navbar .nav-tabs > li > a {
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0;
    margin: 0 8px;
}
.main-header .navbar .nav-tabs > li.active > a {
    color: var(--ql-ink) !important;
    background: transparent !important;
    border-bottom-color: var(--ql-gold) !important;
    font-weight: 600;
}
.main-header .navbar .user-image { border: 1px solid var(--ql-line); }
.ql-logo-lg {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    height: 64px;
    gap: 7px;
    overflow: hidden;
}
.main-header .logo .logo-mini {
    width: 44px;
    height: 44px;
    margin: 10px 0;
    line-height: 44px;
}
.main-header .logo .logo-mini img,
.ql-header-logo-mark {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.ql-header-logo-wordmark {
    display: block;
    width: 148px;
    max-width: calc(100% - 51px);
    height: auto;
    object-fit: contain;
}

.main-sidebar {
    width: 224px;
    padding-top: 64px;
    border-right: 1px solid var(--ql-line);
    background: #fff !important;
}
.sidebar { display: flex; flex-direction: column; height: calc(100vh - 64px); padding: 18px 12px 12px; }
.sidebar-form { display: none; }
.sidebar-menu { flex: 1; overflow-y: auto; }
.sidebar-menu > li { margin: 3px 0; }
.sidebar-menu > li.header {
    padding: 18px 11px 7px;
    color: #a09b93 !important;
    background: transparent !important;
    font-size: 10px;
    letter-spacing: .12em;
}
.sidebar-menu > li > a {
    min-height: 42px;
    padding: 11px 12px;
    border: 0 !important;
    border-radius: 5px;
    color: #555c61 !important;
}
.sidebar-menu > li > a > .fa { color: #858a8d; }
.sidebar-menu > li:hover > a { background: #f7f5f1 !important; color: var(--ql-ink) !important; }
.sidebar-menu > li.active > a {
    position: relative;
    background: var(--ql-gold-soft) !important;
    color: var(--ql-gold-dark) !important;
    font-weight: 600;
}
.sidebar-menu > li.active > a:before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 2px;
    height: 20px;
    background: var(--ql-gold);
}
.sidebar-menu > li.active > a > .fa { color: var(--ql-gold-dark) !important; }
.sidebar-menu .treeview-menu {
    margin: 4px 0 8px;
    padding: 5px 0 5px 18px;
    background: transparent !important;
}
.sidebar-menu .treeview-menu > li > a {
    padding: 8px 10px;
    border-radius: 4px;
    color: #777d81 !important;
}
.sidebar-menu .treeview-menu > li.active > a,
.sidebar-menu .treeview-menu > li > a:hover { color: var(--ql-gold-dark) !important; background: #faf7f1 !important; }
.ql-sidebar-footer { border-top: 1px solid var(--ql-line); padding-top: 10px; }
.ql-sidebar-user { display: flex; align-items: center; gap: 9px; padding: 7px; color: var(--ql-ink); }
.ql-sidebar-user:hover { background: #f7f5f1; color: var(--ql-ink); }
.ql-sidebar-user img { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; }
.ql-sidebar-user span { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.ql-sidebar-user strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ql-sidebar-user small { margin-top: 2px; color: var(--ql-muted); font-size: 10px; }
.ql-sidebar-user > i { color: #999; }

.content-wrapper, .right-side, .main-footer { margin-left: 224px; }
.fixed .content-wrapper, .fixed .right-side { padding-top: 64px; }
.content-wrapper { background: var(--ql-canvas); }
.content-wrapper > .tab-content { background: var(--ql-canvas); }

/* Shared inner pages */
body.inside-header { background: var(--ql-canvas); color: var(--ql-ink); }
body.inside-header #content > .row { margin: 0; }
body.inside-header #content > .row > div { padding: 0; }
body.inside-header .content { padding: 28px 30px 50px; }
#ribbon {
    min-height: 46px;
    padding: 0 30px;
    border-bottom: 1px solid var(--ql-line);
    background: rgba(255,255,255,.82);
    box-shadow: none;
}
#ribbon .breadcrumb { padding: 14px 0; }

.panel, .box {
    border: 1px solid var(--ql-line);
    border-radius: 0;
    background: var(--ql-surface);
    box-shadow: none;
}
.panel-intro > .panel-heading {
    padding: 0 22px;
    border: 0;
    border-bottom: 1px solid var(--ql-line);
    background: #fff;
}
.panel-intro > .panel-heading .nav-tabs {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin: 0;
    border: 0;
}
.panel-intro > .panel-heading .nav-tabs > li {
    float: none;
    margin: 0 0 -1px;
}
.panel-intro > .panel-heading .nav-tabs > li > a {
    min-height: 0;
    padding: 15px 2px 13px;
    margin: 0;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: #777d82;
    font-size: 13px;
    font-weight: 500;
}
.panel-intro > .panel-heading .nav-tabs > li.active > a,
.panel-intro > .panel-heading .nav-tabs > li.active > a:hover,
.panel-intro > .panel-heading .nav-tabs > li.active > a:focus,
.panel-intro > .panel-heading .nav-tabs > li > a:hover,
.panel-intro > .panel-heading .nav-tabs > li > a:focus {
    border: 0 !important;
    border-bottom: 2px solid var(--ql-gold) !important;
    background: transparent !important;
    color: var(--ql-ink);
    font-weight: 600;
}
.panel-intro > .panel-body { padding: 20px 22px; }
.fixed-table-toolbar { margin-bottom: 16px; }
.fixed-table-toolbar .search .form-control { min-width: 230px; }

/* Global list filters */
.commonsearch-table.ql-commonsearch {
    clear: both;
    overflow: hidden;
    margin: 4px 0 18px;
    padding: 0;
    border: 1px solid #e4dfd7;
    border-radius: 7px;
    background: #fbfaf8;
    box-shadow: 0 10px 28px rgba(44, 38, 30, .035);
}
.commonsearch-table.ql-commonsearch.hidden { display: none !important; }
.ql-commonsearch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 10px 18px;
    border-bottom: 1px solid #e7e2da;
    background: #fff;
}
.ql-commonsearch-title,
.ql-commonsearch-head-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}
.ql-commonsearch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border: 1px solid #e2d2b8;
    border-radius: 50%;
    background: #fbf6ed;
    color: var(--ql-gold-dark);
}
.ql-commonsearch-title > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ql-commonsearch-title strong {
    color: var(--ql-ink);
    font-size: 13px;
    font-weight: 600;
}
.ql-commonsearch-title small {
    color: #98938b;
    font-size: 10px;
    font-weight: 400;
}
.ql-commonsearch-count {
    color: #98938b;
    font-size: 10px;
    white-space: nowrap;
}
.ql-commonsearch-count.is-active { color: var(--ql-gold-dark); }
.ql-commonsearch-collapse {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #88837b;
    font-size: 11px;
    outline: 0;
}
.ql-commonsearch-collapse:hover {
    background: #f5f1eb;
    color: var(--ql-gold-dark);
}
.ql-commonsearch .form-commonsearch {
    margin: 0;
    padding: 18px 18px 6px;
}
.ql-commonsearch .form-commonsearch fieldset {
    min-width: 0;
    padding: 0;
    border: 0;
}
.ql-commonsearch .form-commonsearch legend { display: none; }
.ql-commonsearch .form-commonsearch > fieldset > .row,
.ql-commonsearch .form-commonsearch > div > .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    align-items: start;
    gap: 12px 18px;
    margin: 0;
}
.ql-commonsearch .form-commonsearch > div {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.ql-commonsearch .form-commonsearch > div > h4,
.ql-commonsearch .form-commonsearch > div > hr { display: none; }
.ql-commonsearch .form-commonsearch > fieldset > .row > .form-group,
.ql-commonsearch .form-commonsearch > div > .row > [class*="col-"] {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
}
.ql-commonsearch .ql-commonsearch-field {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    min-height: 40px;
}
.ql-commonsearch .ql-commonsearch-field > .control-label {
    width: auto;
    padding: 0 12px 0 0;
    float: none;
    color: #555b60;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    text-align: right;
    white-space: normal;
}
.ql-commonsearch .ql-commonsearch-field > .col-xs-8 {
    width: auto;
    min-width: 0;
    padding: 0;
    float: none;
}
.ql-commonsearch .form-control,
.ql-commonsearch .bootstrap-select > .dropdown-toggle,
.fixed-table-toolbar > .form-inline.bs-bars .form-control,
.fixed-table-toolbar > .form-inline.bs-bars .bootstrap-select > .dropdown-toggle {
    width: 100% !important;
    height: 40px;
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
    border: 1px solid #dedbd5;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: none;
    color: var(--ql-ink);
    font-size: 12px;
}
.ql-commonsearch .form-control:focus,
.fixed-table-toolbar > .form-inline.bs-bars .form-control:focus {
    border-color: #b58b4b;
    box-shadow: 0 0 0 3px rgba(170, 118, 35, .09);
}
.ql-commonsearch .bootstrap-select,
.ql-commonsearch .sp_container,
.ql-commonsearch .input-group { width: 100% !important; }
.ql-commonsearch .input-group-addon {
    border-color: #dedbd5;
    background: #f7f4ef;
    color: #9a9287;
}
.ql-commonsearch .row-between {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin: 0;
}
.ql-commonsearch .row-between > .col-xs-6 {
    width: auto;
    padding: 0;
    float: none;
}
.ql-commonsearch .row-between .col-xs-6 + .col-xs-6:before { display: none; }
.ql-commonsearch .ql-commonsearch-actions {
    display: flex;
    align-items: center;
    min-height: 40px;
}
.ql-commonsearch .ql-commonsearch-actions > div {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
}
.ql-commonsearch .ql-commonsearch-actions .btn {
    min-width: 74px;
    min-height: 40px;
}
.fixed-table-toolbar .ql-commonsearch-trigger {
    position: relative;
    min-width: 76px;
    padding-right: 12px;
    padding-left: 12px;
}
.fixed-table-toolbar .ql-commonsearch-trigger[aria-expanded="true"],
.fixed-table-toolbar .ql-commonsearch-trigger.is-active {
    border-color: #c9a56d;
    background: #fbf6ed;
    color: var(--ql-gold-dark);
}
.ql-commonsearch-trigger-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--ql-gold-dark);
    color: #fff;
    font-size: 9px;
    line-height: 17px;
}
.fixed-table-toolbar > .form-inline.bs-bars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 10px 0 16px;
    padding: 13px;
    border: 1px solid #e4dfd7;
    border-radius: 7px;
    background: #fbfaf8;
}
.fixed-table-toolbar > .form-inline.bs-bars .input-group { min-width: 150px; }
.fixed-table-toolbar > .form-inline.bs-bars .input-group,
.fixed-table-toolbar > .form-inline.bs-bars .btn { margin: 0; }

/* Global premium action buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 14px;
    border-width: 1px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .01em;
    box-shadow: none;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:hover,
.btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}
.btn:active,
.btn.active,
.open > .dropdown-toggle.btn {
    transform: translateY(0);
    box-shadow: inset 0 1px 2px rgba(24,27,29,.08);
}
.btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(170,118,35,.16);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    opacity: .48;
    transform: none !important;
    box-shadow: none !important;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-primary,
.btn-success,
.btn-primary:active,
.btn-success:active,
.btn-primary.active,
.btn-success.active,
.open > .dropdown-toggle.btn-primary,
.open > .dropdown-toggle.btn-success {
    border-color: #9e6c20 !important;
    background: #aa7623 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(126,84,20,.14);
}
.btn-primary:hover,
.btn-success:hover,
.btn-primary:focus,
.btn-success:focus {
    border-color: #7d5010 !important;
    background: #895a15 !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(111,72,15,.2);
}
.btn-default {
    border-color: #d8d4cd !important;
    background: #fff !important;
    color: #555d62 !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    border-color: #bda77f !important;
    background: #faf7f1 !important;
    color: #765321 !important;
    box-shadow: 0 4px 12px rgba(65,54,39,.08);
}
.btn-danger {
    border-color: #d6a29a !important;
    background: #fff8f6 !important;
    color: #a54839 !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
    border-color: #a84d3e !important;
    background: #a84d3e !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(153,65,51,.16);
}
.btn-warning {
    border-color: #d8bb83 !important;
    background: #fffaf0 !important;
    color: #946918 !important;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
    border-color: #b68124 !important;
    background: #b68124 !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(166,112,23,.16);
}
.btn-info {
    border-color: #aebfc1 !important;
    background: #f6faf9 !important;
    color: #456d70 !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
    border-color: #527d7e !important;
    background: #527d7e !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(60,103,105,.15);
}
.btn-link {
    min-height: 30px;
    padding: 5px 8px;
    border-color: transparent !important;
    background: transparent !important;
    color: var(--ql-gold-dark) !important;
    box-shadow: none !important;
}
.btn-link:hover,
.btn-link:focus {
    background: var(--ql-gold-soft) !important;
    color: #6f4610 !important;
    transform: none;
}
.btn-xs,
.btn-group-xs > .btn {
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}
.btn-sm,
.btn-group-sm > .btn {
    min-height: 32px;
    padding: 6px 11px;
    font-size: 11px;
}
.btn-lg,
.btn-group-lg > .btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 13px;
}
.btn-group > .btn + .btn { margin-left: -1px; }
.btn-group > .btn:not(:first-child):not(:last-child) { border-radius: 0; }
.btn-group > .btn:first-child:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group > .btn:last-child:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.fixed-table-toolbar .toolbar .btn,
.fixed-table-toolbar .columns .btn {
    min-height: 36px;
}
.fixed-table-toolbar .toolbar .btn > .fa,
.fixed-table-toolbar .columns .btn > .fa {
    color: currentColor;
}
.table .btn-xs {
    margin: 2px 2px;
    white-space: nowrap;
}
.table .btn-xs.btn-primary,
.table .btn-xs.btn-success {
    border-color: #d2ba94 !important;
    background: #fffaf3 !important;
    color: #875913 !important;
    box-shadow: none;
}
.table .btn-xs.btn-primary:hover,
.table .btn-xs.btn-primary:focus,
.table .btn-xs.btn-success:hover,
.table .btn-xs.btn-success:focus {
    border-color: #9e6c20 !important;
    background: #9e6c20 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(126,84,20,.14);
}
.dropdown-menu .btn-link {
    justify-content: flex-start;
    width: 100%;
    border-radius: 3px;
    color: #525a60 !important;
    text-align: left;
}
.dropdown-menu .btn-link:hover { color: var(--ql-gold-dark) !important; }
.bootstrap-select > .btn {
    justify-content: flex-start;
    min-height: 38px;
    font-weight: 400;
    letter-spacing: 0;
    transform: none !important;
    box-shadow: none !important;
}
.bootstrap-select > .btn .caret { margin-left: auto; }
.layui-layer-btn a {
    min-height: 34px;
    padding: 0 16px !important;
    border-color: #d8d4cd !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #596066 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 32px !important;
    transition: border-color .16s, background-color .16s, color .16s;
}
.layui-layer-btn a:hover {
    border-color: #bda77f !important;
    background: #faf7f1 !important;
    color: #765321 !important;
}
.layui-layer-btn .layui-layer-btn0 {
    border-color: #9e6c20 !important;
    background: #aa7623 !important;
    color: #fff !important;
}
.layui-layer-btn .layui-layer-btn0:hover {
    border-color: #7d5010 !important;
    background: #895a15 !important;
    color: #fff !important;
}
.form-control, .bootstrap-select .btn, .selectpage .form-control {
    min-height: 38px;
    border-color: #d9d6d0;
    border-radius: 4px;
    box-shadow: none;
}
.form-control:focus {
    border-color: #ac874e;
    box-shadow: 0 0 0 3px rgba(170,118,35,.09);
}
.form-horizontal .control-label { color: #454c51; font-weight: 600; }

.table { color: #51585d; }
.bootstrap-table .table,
.fixed-table-container { border-color: var(--ql-line) !important; }
.table > thead > tr > th {
    height: 44px;
    border-color: var(--ql-line) !important;
    background: #faf9f7;
    color: #73787b;
    font-size: 12px;
    font-weight: 600;
}
.table > tbody > tr > td {
    height: 54px;
    padding: 10px 8px;
    border-color: #efede9 !important;
    vertical-align: middle;
}
.table-striped > tbody > tr:nth-of-type(odd) { background: #fff; }
.table-hover > tbody > tr:hover { background: #fcfbf9; }
.pagination > li > a, .pagination > li > span { border-color: var(--ql-line); color: #666; }
.pagination > .active > a, .pagination > .active > a:hover {
    border-color: var(--ql-gold);
    background: var(--ql-gold);
}
.modal-content, .layui-layer { border-radius: 6px !important; box-shadow: 0 24px 80px rgba(30,38,46,.18) !important; }
.modal-header { border-color: var(--ql-line); }

/* Customer list and modern filters */
.ql-customer-list {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.ql-customer-list > .panel-heading {
    padding: 0 0 1px;
    border: 0;
    background: transparent;
}
.ql-customer-list > .panel-heading .nav-tabs {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0 4px;
    border-bottom: 1px solid var(--ql-line);
}
.ql-customer-list > .panel-heading .nav-tabs > li { margin: 0 0 -1px; }
.ql-customer-list > .panel-heading .nav-tabs > li > a {
    margin: 0;
    padding: 15px 2px 13px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #777d82;
    font-size: 13px;
    font-weight: 500;
}
.ql-customer-list > .panel-heading .nav-tabs > li.active > a,
.ql-customer-list > .panel-heading .nav-tabs > li.active > a:hover,
.ql-customer-list > .panel-heading .nav-tabs > li > a:hover {
    border: 0;
    border-bottom: 2px solid var(--ql-gold);
    background: transparent;
    color: var(--ql-ink);
}
.ql-customer-list > .panel-body {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--ql-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 14px 44px rgba(40,35,28,.045);
}
.ql-customer-filterbar,
.ql-global-filterbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 160px 180px 180px auto auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.ql-global-filterbar { margin-bottom: 12px; }
.ql-global-filterbar.ql-filter-count-0 { grid-template-columns: minmax(240px, 1fr) auto auto; }
.ql-global-filterbar.ql-filter-count-1 { grid-template-columns: minmax(240px, 1fr) minmax(145px, 180px) auto auto; }
.ql-global-filterbar.ql-filter-count-2 { grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(145px, 180px)) auto auto; }
.ql-global-filterbar.ql-no-keyword {
    grid-template-columns: repeat(auto-fit, minmax(145px, 180px)) auto auto;
    justify-content: end;
}
.ql-native-search-hidden,
.ql-commonsearch-toolbar-hidden { display: none !important; }
.ql-filter-search,
.ql-filter-select-wrap {
    position: relative;
    display: block;
    margin: 0;
}
.ql-filter-search > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    color: #a29c93;
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}
.ql-filter-search input,
.ql-filter-select {
    width: 100%;
    height: 40px;
    border: 1px solid #dedbd5;
    border-radius: 5px;
    background: #fff;
    color: var(--ql-ink);
    font-size: 12px;
    outline: 0;
    transition: border-color .16s, box-shadow .16s, background-color .16s;
}
.ql-filter-search input { padding: 0 14px 0 39px; }
.ql-filter-search input::placeholder { color: #aaa69f; }
.ql-filter-search input:focus,
.ql-filter-select:focus {
    border-color: #b58b4b;
    box-shadow: 0 0 0 3px rgba(170,118,35,.09);
}
.ql-filter-select {
    padding: 0 35px 0 13px;
    appearance: none;
    cursor: pointer;
}
.ql-filter-select-wrap:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-right: 1px solid #8f8b84;
    border-bottom: 1px solid #8f8b84;
    transform: rotate(45deg);
    pointer-events: none;
}
.ql-filter-more,
.ql-filter-reset {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dedbd5;
    border-radius: 5px;
    background: #fff;
    color: #62686d;
    font-size: 12px;
    white-space: nowrap;
    outline: 0;
}
.ql-filter-more i { margin-right: 6px; color: #9a9287; }
.ql-filter-more:hover,
.ql-filter-more.is-active {
    border-color: #c8a36a;
    background: var(--ql-gold-soft);
    color: var(--ql-gold-dark);
}
.ql-filter-reset {
    border-color: transparent;
    color: #918b83;
}
.ql-filter-reset:hover { color: var(--ql-gold-dark); }
.ql-filter-chips {
    display: none;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 0;
    margin: -1px 0 13px;
}
.ql-filter-chips.is-visible { display: flex; }
.ql-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 27px;
    padding: 4px 9px 4px 10px;
    border: 1px solid #dfcfb6;
    border-radius: 14px;
    background: #fbf7f0;
    color: #725321;
    font-size: 11px;
}
.ql-filter-chip i { color: #aa9a80; font-size: 9px; }
.ql-filter-chip:hover { border-color: #bd9355; background: var(--ql-gold-soft); }
.ql-customer-list .commonsearch-table {
    margin: 2px 0 14px;
    padding: 0;
    border: 1px solid #e6e1d9;
    border-radius: 6px;
    background: #faf9f7;
}
.ql-customer-list .commonsearch-table.hidden { display: none !important; }
.ql-customer-list .commonsearch-table .form-group { margin-bottom: 12px; }
.ql-customer-list .fixed-table-toolbar { margin-top: 1px; }
.ql-customer-list .fixed-table-toolbar .toolbar { margin: 10px 0; }

/* Add customer form */
.ql-customer-form {
    min-height: 100vh;
    margin: -28px -30px -50px;
    padding: 42px 30px 96px;
    background: var(--ql-canvas);
}
.ql-customer-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 920px);
    align-items: start;
    gap: 34px;
    max-width: 1220px;
    margin: 0 auto;
}
.ql-form-rail {
    position: sticky;
    top: 28px;
    padding: 4px 18px 20px 2px;
}
.ql-form-eyebrow {
    color: var(--ql-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}
.ql-form-rail h1 {
    margin: 8px 0 12px;
    font: 500 34px Georgia, "Songti SC", serif;
    letter-spacing: -.02em;
}
.ql-form-rail > p {
    max-width: 220px;
    margin: 0;
    color: var(--ql-muted);
    line-height: 1.75;
}
.ql-form-rail nav {
    display: grid;
    margin-top: 40px;
    border-top: 1px solid #d9d5cf;
}
.ql-form-rail nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #d9d5cf;
    color: #4e555b;
}
.ql-form-rail nav a:hover { color: var(--ql-gold-dark); }
.ql-form-rail nav span { color: #aaa198; font-size: 11px; }
.ql-required-note { margin-top: 22px; color: var(--ql-muted); font-size: 12px; }
.ql-required-note b,
.ql-field > label > b { margin-right: 3px; color: var(--ql-danger); font-weight: 500; }
.ql-customer-form-surface {
    border: 1px solid var(--ql-line);
    background: #fff;
    box-shadow: 0 18px 60px rgba(40,35,28,.055);
}
.ql-customer-form-section {
    padding: 38px 44px 42px;
    border-bottom: 1px solid var(--ql-line);
    scroll-margin-top: 20px;
}
.ql-customer-form-section:last-child { border-bottom: 0; }
.ql-section-title { margin-bottom: 30px; }
.ql-section-title > div { display: flex; align-items: baseline; gap: 14px; }
.ql-section-title > div > span { color: var(--ql-gold); font-family: Georgia, serif; }
.ql-section-title h2 { margin: 0; font: 500 23px Georgia, "Songti SC", serif; }
.ql-section-title p { margin: 8px 0 0 35px; color: var(--ql-muted); }
.ql-field-grid { display: grid; gap: 20px; margin-bottom: 25px; }
.ql-field-grid:last-child { margin-bottom: 0; }
.ql-field-grid-two { grid-template-columns: 1fr 1fr; }
.ql-field { display: flex; flex-direction: column; min-width: 0; }
.ql-field-full { margin-bottom: 27px; }
.ql-field-full:last-child { margin-bottom: 0; }
.ql-field > label {
    margin-bottom: 9px;
    color: #343b40;
    font-size: 13px;
    font-weight: 600;
}
.ql-field > label small {
    margin-left: 8px;
    color: var(--ql-muted);
    font-weight: 400;
}
.ql-field .form-control,
.ql-field .bootstrap-select,
.ql-field .bootstrap-select > .btn {
    width: 100% !important;
    height: 44px;
}
.ql-field .bootstrap-select > .btn {
    border-color: #d9d6d0;
    border-radius: 5px;
    background: #fff !important;
    color: var(--ql-ink) !important;
    font-weight: 400;
}
.ql-field .bootstrap-select.open > .btn,
.ql-field .bootstrap-select > .btn:focus {
    border-color: #ac874e !important;
    box-shadow: 0 0 0 3px rgba(170,118,35,.09) !important;
}

.ql-demand-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}
.ql-demand-heading strong {
    color: #343b40;
    font-size: 13px;
    font-weight: 600;
}
.ql-demand-heading strong b { margin-left: 2px; color: var(--ql-danger); }
.ql-demand-heading small { color: var(--ql-muted); font-size: 11px; }
.ql-demand-heading small span { color: var(--ql-gold-dark); font-weight: 600; }
.ql-demand-catalog {
    border-top: 1px solid var(--ql-line);
}
.ql-demand-row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    min-height: 74px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ql-line);
}
.ql-demand-group-name {
    padding-right: 18px;
    color: #28323a;
    font-size: 12px;
    font-weight: 650;
}
.ql-demand-options { min-width: 0; }
.ql-demand-options > .checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.ql-demand-catalog .ql-demand-options label {
    width: auto;
    min-height: 39px;
    padding: 8px 13px 8px 34px;
}
.ql-demand-catalog-edit { margin-bottom: 4px; }

.ql-choice-group > .checkbox,
.ql-choice-group > .radio {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
}
.ql-choice-group label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0 !important;
    padding: 8px 13px 8px 36px;
    border: 1px solid #ddd9d2;
    border-radius: 4px;
    background: #fff;
    color: #575d62;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color .16s, background-color .16s, color .16s, box-shadow .16s;
}
.ql-choice-group label:hover {
    border-color: #c5a36c;
    background: #fcfaf6;
    color: var(--ql-gold-dark);
}
.ql-choice-group input[type="checkbox"],
.ql-choice-group input[type="radio"] {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0;
    opacity: 0;
}
.ql-choice-group label:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 1px solid #bbb8b2;
    background: #fff;
}
.ql-checkbox-grid label:before {
    content: "+";
    border: 0;
    background: transparent;
    color: #aaa198;
    font: 500 18px/16px Georgia, serif;
    text-align: center;
}
.ql-radio-row label:before { border-radius: 50%; }
.ql-choice-group label:has(input:checked),
.ql-choice-group label.is-checked {
    border-color: #c7a268;
    background: var(--ql-gold-soft);
    color: var(--ql-gold-dark);
    box-shadow: inset 0 0 0 1px rgba(170,118,35,.07);
}
.ql-checkbox-grid label:has(input:checked):before,
.ql-checkbox-grid label.is-checked:before {
    content: "\2713";
    border: 0;
    background: transparent;
    color: var(--ql-gold);
    font: 700 14px/16px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ql-checkbox-grid label:has(input:checked):after,
.ql-checkbox-grid label.is-checked:after {
    content: none;
}
.ql-radio-row label:has(input:checked):before,
.ql-radio-row label.is-checked:before {
    border: 4px solid var(--ql-gold);
}
.ql-choice-group label:has(input:focus-visible),
.ql-choice-group label:focus-within {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(170,118,35,.14);
}
.ql-choice-group input:disabled + *,
.ql-choice-group label:has(input:disabled) {
    opacity: .48;
    cursor: not-allowed;
}
.ql-checkbox-grid > .checkbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ql-checkbox-grid label { min-height: 44px; }
.ql-level-options label { min-width: 92px; justify-content: center; padding-right: 20px; }
.ql-strategy-options > .radio { display: grid; grid-template-columns: 1fr 1fr; }
.ql-strategy-options label { min-height: 48px; }
.ql-choice-group .n-invalid,
.ql-choice-group label.has-error { border-color: #d39386 !important; background: #fff7f5; }

/* Customer follow-up */
.ql-record-form {
    min-height: 100vh;
    margin: -28px -30px -50px;
    padding: 38px 30px 100px;
    background: var(--ql-canvas);
}
.ql-record-shell { max-width: 1240px; margin: 0 auto; }
.ql-record-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}
.ql-record-header h1 {
    margin: 8px 0;
    color: var(--ql-ink);
    font: 500 34px Georgia, "Songti SC", serif;
    letter-spacing: -.02em;
}
.ql-record-header p { margin: 0; color: var(--ql-muted); font-size: 13px; }
.ql-record-customer-title {
    display: grid;
    min-width: 260px;
    padding: 4px 0 4px 24px;
    border-left: 1px solid #d5d0c8;
}
.ql-record-customer-title span,
.ql-record-customer-title small {
    color: var(--ql-muted);
    font-size: 10px;
    letter-spacing: .04em;
}
.ql-record-customer-title strong {
    overflow: hidden;
    margin: 5px 0 4px;
    color: #30373d;
    font: 500 18px Georgia, "Songti SC", serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ql-record-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, .85fr);
    align-items: start;
    gap: 22px;
}
.ql-record-surface {
    border: 1px solid var(--ql-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(40,35,28,.045);
}
.ql-record-compose { padding: 34px 38px 38px; }
.ql-record-context {
    position: sticky;
    top: 22px;
    padding: 30px 28px;
}
.ql-record-section-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 29px;
}
.ql-record-section-title > span {
    padding-top: 3px;
    color: var(--ql-gold);
    font: 500 13px Georgia, serif;
}
.ql-record-section-title h2 {
    margin: 0;
    color: var(--ql-ink);
    font: 500 22px Georgia, "Songti SC", serif;
}
.ql-record-section-title p {
    margin: 7px 0 0;
    color: var(--ql-muted);
    font-size: 12px;
    line-height: 1.65;
}
.ql-record-field { min-width: 0; margin-bottom: 28px; }
.ql-record-field:last-child { margin-bottom: 0; }
.ql-record-field > label,
.ql-record-label label {
    margin: 0 0 9px;
    color: #343b40;
    font-size: 13px;
    font-weight: 600;
}
.ql-record-field label b { margin-right: 3px; color: var(--ql-danger); font-weight: 500; }
.ql-record-label {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.ql-record-label label { margin-bottom: 0; }
.ql-record-label small,
.ql-record-field > small { color: var(--ql-muted); font-size: 11px; }
.ql-record-content-field textarea {
    min-height: 156px;
    padding: 14px 15px;
    border-color: #d9d6d0;
    border-radius: 5px;
    line-height: 1.75;
    resize: vertical;
}
.ql-record-content-field textarea:focus,
.ql-record-field .form-control:focus {
    border-color: #ac874e;
    box-shadow: 0 0 0 3px rgba(170,118,35,.09);
}
.ql-record-field-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 8px;
    color: #98938b;
    font-size: 10px;
}
.ql-record-field-meta b { color: var(--ql-gold-dark); font-weight: 600; }
.ql-record-quality-options > .radio,
.ql-record-wechat-options > .radio {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ql-record-quality-options label,
.ql-record-wechat-options label {
    justify-content: center;
    min-height: 43px;
    padding-right: 18px;
}
.ql-record-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.ql-record-field-grid .ql-record-field { margin-bottom: 0; }
.ql-record-field-grid .form-control { height: 42px; border-color: #d9d6d0; border-radius: 5px; }
.ql-record-input-icon { position: relative; }
.ql-record-input-icon i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 13px;
    color: #a39b90;
    transform: translateY(-50%);
    pointer-events: none;
}
.ql-record-input-icon .form-control { padding-left: 37px; }
.ql-customer-follow-time { max-width: 640px; }
.ql-record-time-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 9px 0 7px;
}
.ql-record-time-presets > span {
    margin-right: 2px;
    color: #99938a;
    font-size: 10px;
}
.ql-record-time-presets button {
    min-height: 29px;
    padding: 4px 9px;
    border: 1px solid #ddd9d2;
    border-radius: 4px;
    background: #fff;
    color: #62686d;
    font-size: 10px;
    line-height: 1.2;
    outline: 0;
    transition: border-color .16s, background-color .16s, color .16s;
}
.ql-record-time-presets button i {
    margin-right: 5px;
    color: #aaa198;
    font-family: Georgia, serif;
    font-style: normal;
}
.ql-record-time-presets button:hover,
.ql-record-time-presets button.is-selected {
    border-color: #c7a268;
    background: var(--ql-gold-soft);
    color: var(--ql-gold-dark);
}
.ql-record-time-presets button.is-selected i { color: var(--ql-gold); }
.ql-record-upload .form-control { height: 42px; }
.ql-record-upload .btn {
    height: 42px;
    border-color: #d9d6d0;
    background: #f8f6f2;
    color: var(--ql-gold-dark);
}
.ql-record-upload-preview { margin: 8px 0 0; }
.ql-record-context-title { margin-bottom: 20px; }
.ql-record-customer-details { margin: 0; }
.ql-record-customer-details > div { padding: 16px 0; border-top: 1px solid var(--ql-line); }
.ql-record-customer-details dt {
    margin-bottom: 7px;
    color: #969087;
    font-size: 10px;
    font-weight: 500;
}
.ql-record-customer-details dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: #343b40;
    font-size: 12px;
    line-height: 1.65;
}
.ql-empty-text { color: #aaa59d; }
.ql-record-tip {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 11px;
    margin-top: 20px;
    padding: 15px;
    background: #faf6ef;
    color: #74634a;
}
.ql-record-tip > i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid #dcc7a7;
    border-radius: 50%;
    color: var(--ql-gold);
}
.ql-record-tip strong { color: #62471e; font-size: 11px; }
.ql-record-tip p { margin: 5px 0 0; font-size: 10px; line-height: 1.65; }
.ql-record-history { margin-top: 22px; padding: 28px 32px 24px; }
.ql-record-history-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid var(--ql-line);
}
.ql-record-history-head .ql-record-section-title { margin-bottom: 18px; }
.ql-record-history .nav-tabs { margin: 0; border: 0; }
.ql-record-history .nav-tabs > li > a {
    margin: 0 0 -1px;
    padding: 13px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #7c8185;
    font-size: 12px;
}
.ql-record-history .nav-tabs > li.active > a,
.ql-record-history .nav-tabs > li.active > a:hover,
.ql-record-history .nav-tabs > li > a:hover {
    border: 0;
    border-bottom: 2px solid var(--ql-gold);
    background: transparent;
    color: var(--ql-ink);
}
.ql-record-history .tab-content { padding-top: 9px; }
.ql-record-history .fixed-table-toolbar .toolbar { margin: 8px 0; }
.ql-record-history .fixed-table-toolbar .btn-refresh {
    border-color: #dedbd5;
    background: #fff;
    color: #777;
}
.ql-record-history .table > thead > tr > th { background: #faf9f7; }
.ql-record-history .table > tbody > tr > td { white-space: normal; }

/* FastAdmin 会把 iframe 内的 layer-footer 复制到弹窗外层；弹窗内原件必须保持隐藏 */
/* Closed customer registration */
.ql-paper-deal-shell { max-width: 1380px; }
.ql-paper-deal-header {
    align-items: center;
    margin-bottom: 20px;
}
.ql-paper-deal-header .ql-record-customer-title {
    min-width: 290px;
    max-width: 420px;
}
.ql-paper-deal-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 18px;
    border: 1px solid var(--ql-line);
    border-radius: 6px;
    background: rgba(255,255,255,.78);
}
.ql-paper-deal-steps a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-right: 1px solid var(--ql-line);
    color: #5f656a;
    font-size: 12px;
    font-weight: 500;
}
.ql-paper-deal-steps a:last-child { border-right: 0; }
.ql-paper-deal-steps a:after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 2px;
    background: transparent;
}
.ql-paper-deal-steps a:hover {
    background: #fcfaf6;
    color: var(--ql-gold-dark);
}
.ql-paper-deal-steps a:hover:after { background: var(--ql-gold); }
.ql-paper-deal-steps span {
    color: var(--ql-gold);
    font: 500 11px Georgia, serif;
}
.ql-paper-deal-stack {
    display: grid;
    gap: 18px;
}
.ql-paper-deal-card {
    padding: 34px 38px 38px;
    scroll-margin-top: 18px;
}
.ql-paper-deal-card .ql-record-section-title { margin-bottom: 27px; }
.ql-paper-payment-state { margin-bottom: 25px; }
.ql-paper-payment-state .ql-choice-group { margin-bottom: 10px; }
.ql-paper-unpaid-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 9px 12px;
    border: 1px solid #ead9c5;
    border-radius: 4px;
    background: #fffaf3;
    color: #8a6231;
    font-size: 11px;
    line-height: 1.5;
}
.ql-paper-unpaid-note i { color: #bd7d32; }
.ql-paper-business-table-wrap {
    overflow-x: auto;
    border: 1px solid #e4dfd7;
    border-radius: 6px;
    background: #fff;
    scrollbar-color: #c5b9a8 #f5f2ed;
    scrollbar-width: thin;
}
.ql-paper-deal-form .products_info {
    display: none !important;
}
.ql-paper-business-table {
    width: 100%;
    min-width: 1280px;
    margin: 0 !important;
    table-layout: fixed;
}
.ql-paper-business-table > tbody > tr > td {
    padding: 11px 8px;
    border-top: 1px solid #ece8e1;
    border-right: 1px solid #eeeae4;
    background: #fff;
    color: #4b5359;
    vertical-align: middle;
}
.ql-paper-business-table > tbody > tr > td:last-child { border-right: 0; }
.ql-paper-business-table > tbody > tr:first-child > td {
    height: 44px;
    padding: 10px 8px;
    border-top: 0;
    background: #faf8f5;
    color: #6b6f72;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(1) { width: 230px; }
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(2) { width: 84px; }
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(3),
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(5),
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(6),
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(7) { width: 110px; }
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(4) { width: 125px; }
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(8) { width: 160px; }
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(9) { width: 145px; }
.ql-paper-business-table > tbody > tr:first-child > td:nth-child(10) { width: 86px; }
.ql-paper-business-table .form-control,
.ql-paper-business-table .bootstrap-select,
.ql-paper-business-table .bootstrap-select > .btn {
    width: 100% !important;
    min-width: 0;
    height: 39px;
}
.ql-paper-business-table .form-control {
    border-color: #ddd9d2;
    border-radius: 4px;
    box-shadow: none;
    font-size: 11px;
}
.ql-paper-business-table .form-control:focus {
    border-color: #b99257;
    box-shadow: 0 0 0 3px rgba(170,118,35,.08);
}
.ql-paper-business-table input[readonly] {
    background: #f5f3ef;
    color: #77736c;
}
.ql-paper-business-table .bootstrap-select > .btn {
    overflow: hidden;
    padding-right: 26px;
    border-color: #ddd9d2 !important;
    background: #fff !important;
    color: #4b5359 !important;
    font-size: 11px;
    font-weight: 400;
    text-overflow: ellipsis;
}
.ql-paper-business-table .selectpage .sp_container,
.ql-paper-business-table .sp_container { width: 100% !important; }
.ql-paper-business-table .btn-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 58px;
    height: 31px;
    margin: 0;
    cursor: pointer;
}
.ql-paper-business-append-row > td {
    padding: 13px !important;
    background: #fcfbf9 !important;
}
.ql-paper-business-append-row .btn-append {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
}
.ql-paper-finance-grid { align-items: start; }
.ql-paper-account-field { grid-column: 1 / -1; }
.ql-paper-account-field .ql-choice-group > .radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ql-paper-voucher-field { grid-column: 1 / -1; }
.ql-paper-upload-control { max-width: 720px; }
.ql-paper-upload-control .form-control,
.ql-paper-upload-control .btn { height: 44px; }
.ql-paper-upload-control .btn {
    min-width: 102px;
    border-radius: 0 5px 5px 0;
}
.ql-paper-upload-preview { margin: 9px 0 0; }
.ql-paper-deal-form input[type="number"]::-webkit-inner-spin-button,
.ql-paper-deal-form input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.ql-paper-deal-footer .ql-footer-actions .btn { min-width: 172px; }

/* Secondary business dispatch */
.ql-handle-dispatch-form .ql-paper-deal-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ql-handle-basic-grid {
    align-items: stretch;
    margin-bottom: 0;
}
.ql-handle-dispatch-note {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 68px;
    padding: 13px 16px;
    border: 1px solid #eadfce;
    border-radius: 5px;
    background: #fffbf5;
    color: #8d6938;
}
.ql-handle-dispatch-note > i {
    color: var(--ql-gold);
    font-size: 18px;
}
.ql-handle-dispatch-note > div {
    display: grid;
    gap: 4px;
}
.ql-handle-dispatch-note strong {
    color: #5d4930;
    font-size: 12px;
    font-weight: 600;
}
.ql-handle-dispatch-note span {
    color: #8b7a65;
    font-size: 11px;
}

/* Daily report edit */
.ql-paper-edit-stack {
    display: grid;
    gap: 18px;
    margin: 0;
}
.ql-paper-edit-stack:before,
.ql-paper-edit-stack:after {
    display: none !important;
    content: none !important;
}
.ql-paper-edit-stack > .panel-group,
.ql-paper-edit-stack > .panel {
    margin: 0;
}
.ql-paper-edit-stack .panel {
    margin: 0;
    border: 1px solid var(--ql-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(40,35,28,.045);
}
.ql-paper-edit-stack .panel-heading {
    padding: 29px 36px 0;
    border: 0;
    border-radius: 7px 7px 0 0;
    background: #fff;
}
.ql-paper-edit-stack .panel-title {
    margin: 0;
    color: var(--ql-ink);
    font: 500 21px Georgia, "Songti SC", serif;
}
.ql-paper-edit-stack .panel-title > a {
    display: inline-flex;
    align-items: baseline;
    gap: 13px;
    color: var(--ql-ink);
}
.ql-paper-edit-stack .panel-title > a:hover,
.ql-paper-edit-stack .panel-title > a:focus { color: var(--ql-ink); }
.ql-paper-edit-stack .panel-title > a:before {
    color: var(--ql-gold);
    font: 500 11px Georgia, serif;
}
.ql-paper-edit-stack #accordion .panel-title > a:before { content: "01"; }
.ql-paper-edit-stack #handle .panel-title > a:before { content: "02"; }
.ql-paper-edit-stack #finance .panel-title > a:before { content: "03"; }
.ql-paper-edit-stack .panel-collapse > .panel-body {
    padding: 25px 36px 36px;
    border-top: 0 !important;
}
.ql-paper-edit-stack #accordion .panel-body,
.ql-paper-edit-stack #finance .panel-body {
    display: grid;
    gap: 23px 26px;
    align-items: start;
}
.ql-paper-edit-stack #accordion .panel-body:before,
.ql-paper-edit-stack #accordion .panel-body:after,
.ql-paper-edit-stack #finance .panel-body:before,
.ql-paper-edit-stack #finance .panel-body:after {
    display: none !important;
    content: none !important;
}
.ql-paper-edit-stack #accordion .panel-body {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
}
.ql-paper-edit-stack #finance .panel-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ql-paper-edit-stack .ql-paper-basic-name {
    grid-column: 1;
    grid-row: 1;
}
.ql-paper-edit-stack .ql-paper-basic-payment {
    grid-column: 2;
    grid-row: 1;
}
.ql-paper-edit-stack .ql-paper-basic-sales {
    grid-column: 1;
}
.ql-paper-edit-stack .ql-finance-full { grid-column: 1; }
.ql-paper-edit-stack .ql-finance-collected { grid-column: 2; }
.ql-paper-edit-stack .ql-finance-contribution { grid-column: 3; }
.ql-paper-edit-stack .ql-finance-account,
.ql-paper-edit-stack .ql-finance-voucher,
.ql-paper-edit-stack .ql-finance-other {
    grid-column: 1 / -1;
}
.ql-paper-edit-stack #accordion .panel-body > .form-group,
.ql-paper-edit-stack #finance .panel-body > .form-group {
    display: flex;
    float: none;
    flex-direction: column;
    width: auto;
    margin: 0;
    padding: 0;
}
.ql-paper-edit-stack #accordion .control-label,
.ql-paper-edit-stack #finance .control-label {
    float: none;
    width: auto;
    min-width: 0;
    margin-bottom: 9px;
    padding: 0;
    color: #343b40;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}
.ql-paper-edit-stack #accordion .form-group > .col-sm-8,
.ql-paper-edit-stack #finance .form-group > .col-sm-8 {
    float: none;
    width: 100%;
    padding: 0;
}
.ql-paper-edit-stack #accordion .form-control,
.ql-paper-edit-stack #finance .form-control,
.ql-paper-edit-stack #finance .input-group,
.ql-paper-edit-stack #finance .input-group .btn {
    width: 100%;
    height: 44px;
}
.ql-paper-edit-stack #accordion .form-control[disabled],
.ql-paper-edit-stack #finance .form-control[disabled] {
    border-color: #e2dfd9;
    background: #f7f5f1;
    color: #6f706f;
}
.ql-paper-edit-stack #accordion .ql-choice-group,
.ql-paper-edit-stack #finance .ql-choice-group {
    display: block;
}
.ql-paper-edit-stack #accordion .ql-choice-group > .radio,
.ql-paper-edit-stack #finance .ql-choice-group > .radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.ql-paper-edit-stack #accordion .ql-paper-unpaid-note {
    margin-top: 10px;
}
.ql-paper-edit-stack #handle .panel-body > .row {
    margin: 0;
}
.ql-paper-edit-stack #handle .panel-body > .row > .form-group {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}
.ql-paper-edit-stack #handle label[for="c-other_clause"] { display: none; }
.ql-paper-edit-stack #handle .panel-body > .row > .form-group > .col-sm-8 {
    overflow-x: auto;
    float: none;
    width: 100%;
    padding: 0;
    border: 1px solid #e4dfd7;
    border-radius: 6px;
}
.ql-paper-edit-stack #handle .ql-paper-business-table {
    border: 0;
}
.ql-paper-edit-stack #finance .input-group-addon {
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
}
.ql-paper-edit-stack #finance .input-group-addon .btn {
    min-width: 102px;
    border-radius: 0 5px 5px 0;
}
.ql-paper-edit-stack .ql-finance-voucher > .col-sm-8 {
    max-width: 820px;
}
.ql-paper-edit-stack #finance .plupload-preview { margin: 9px 0 0; }
.ql-paper-edit-form .nexttime { width: 100px !important; }

/* Daily report detail: keep wide invoice/ledger tables inside the dialog. */
.ql-paper-detail-form .ql-paper-edit-stack,
.ql-paper-detail-form .ql-paper-edit-stack > .panel,
.ql-paper-detail-form .ql-paper-edit-stack > .panel-group,
.ql-paper-detail-form .panel-collapse,
.ql-paper-detail-form .panel-body,
.ql-paper-detail-form .panel-body > .form-group,
.ql-paper-detail-form .panel-body > .form-group > .col-sm-12 {
    min-width: 0;
    max-width: 100%;
}
.ql-paper-detail-form .table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-bottom: 7px;
    overflow-x: auto !important;
    overflow-y: hidden;
    scrollbar-color: #b8aa96 #f2eee8;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.ql-paper-detail-form .table-responsive > .table {
    width: max-content;
    min-width: 100%;
    margin-bottom: 0;
    table-layout: auto;
}
.ql-paper-detail-form .table-responsive > .table > thead > tr > th,
.ql-paper-detail-form .table-responsive > .table > tbody > tr > td {
    white-space: nowrap;
}
.ql-paper-detail-form .table-responsive::-webkit-scrollbar { height: 9px; }
.ql-paper-detail-form .table-responsive::-webkit-scrollbar-track {
    border-radius: 9px;
    background: #f2eee8;
}
.ql-paper-detail-form .table-responsive::-webkit-scrollbar-thumb {
    border: 2px solid #f2eee8;
    border-radius: 9px;
    background: #b8aa96;
}
.ql-paper-detail-form .table-responsive::-webkit-scrollbar-thumb:hover { background: #a68b63; }

@media (max-width: 980px) {
    .ql-paper-deal-header { align-items: flex-start; }
    .ql-paper-deal-header .ql-record-customer-title { min-width: 220px; }
    .ql-paper-deal-card { padding: 30px 26px 34px; }
    .ql-paper-edit-stack #accordion .panel-body,
    .ql-paper-edit-stack #finance .panel-body {
        grid-template-columns: 1fr;
    }
    .ql-paper-edit-stack .ql-paper-basic-name,
    .ql-paper-edit-stack .ql-paper-basic-payment,
    .ql-paper-edit-stack .ql-paper-basic-sales,
    .ql-paper-edit-stack .ql-finance-full,
    .ql-paper-edit-stack .ql-finance-collected,
    .ql-paper-edit-stack .ql-finance-contribution,
    .ql-paper-edit-stack .ql-finance-account,
    .ql-paper-edit-stack .ql-finance-voucher,
    .ql-paper-edit-stack .ql-finance-other {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .ql-paper-deal-header {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
    }
    .ql-paper-deal-header .ql-record-customer-title {
        min-width: 0;
        max-width: none;
        padding-top: 14px;
        padding-left: 0;
        border-top: 1px solid #d5d0c8;
        border-left: 0;
    }
    .ql-paper-deal-steps {
        display: flex;
        overflow-x: auto;
    }
    .ql-paper-deal-steps a {
        flex: 0 0 auto;
        min-width: 150px;
    }
    .ql-paper-deal-card { padding: 27px 17px 30px; }
    .ql-paper-upload-control { display: block; }
    .ql-paper-upload-control .form-control {
        width: 100%;
        border-radius: 5px;
    }
    .ql-paper-upload-control .input-group-btn {
        display: block;
        width: 100%;
        margin-top: 8px;
    }
    .ql-paper-upload-control .btn {
        width: 100%;
        border-radius: 5px;
    }
    .ql-paper-edit-stack .panel-heading { padding: 25px 18px 0; }
    .ql-paper-edit-stack .panel-collapse > .panel-body { padding: 22px 18px 29px; }
}

.ql-customer-form-footer.layer-footer { display: none; }
body:not(.is-dialog) .ql-customer-form-footer.layer-footer {
    position: fixed;
    z-index: 101;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    margin: 0;
    padding: 12px 28px;
    border-top: 1px solid var(--ql-line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -10px 30px rgba(30,35,40,.04);
}
.layui-layer-fast .layui-layer-footer {
    min-height: 70px;
    padding: 12px 20px;
    border-top: 1px solid var(--ql-line);
    background: rgba(255,255,255,.98);
    box-shadow: 0 -10px 30px rgba(30,35,40,.04);
}
.layui-layer-fast .layui-layer-footer > .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}
.ql-footer-copy { display: flex; flex-direction: column; }
.ql-footer-copy strong { color: var(--ql-ink); font-size: 13px; }
.ql-footer-copy span { margin-top: 3px; color: var(--ql-muted); font-size: 11px; }
.ql-footer-actions { display: flex; gap: 8px; }
.ql-footer-actions .btn { min-width: 92px; height: 42px; }

/* CRM dashboard */
.ql-dashboard { max-width: 1370px; margin: 0 auto; padding: 40px 12px 70px; color: var(--ql-ink); }
.ql-dashboard a { text-decoration: none; }
.ql-welcome { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.ql-eyebrow { color: var(--ql-gold); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ql-welcome h1 { margin: 7px 0; font: 500 34px Georgia, "Songti SC", serif; letter-spacing: -.02em; }
.ql-welcome p { margin: 0; color: var(--ql-muted); }
.ql-welcome-actions { display: flex; gap: 9px; }
.ql-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 4px; font-weight: 600; }
.ql-btn-quiet { border: 1px solid #d9d5cf; background: #fff; color: #52595e; }
.ql-btn-primary { border: 1px solid var(--ql-gold); background: var(--ql-gold); color: #fff; }
.ql-btn-primary:hover { border-color: var(--ql-gold-dark); background: var(--ql-gold-dark); color: #fff; }
.ql-overview { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; border: 1px solid var(--ql-line); background: #fff; }
.ql-overview > a {
    display: grid;
    grid-template: auto auto / 1fr auto;
    gap: 2px 12px;
    min-height: 112px;
    padding: 24px 27px;
    border-right: 1px solid var(--ql-line);
    color: var(--ql-ink);
}
.ql-overview > a:last-child { border-right: 0; }
.ql-overview > a:hover { background: #fbfaf8; }
.ql-overview span { color: var(--ql-muted); font-size: 12px; }
.ql-overview strong { grid-area: 1 / 2 / 3; align-self: center; font: 500 36px Georgia, serif; }
.ql-overview small { color: #9b9b97; }
.ql-overview .ql-attention strong { color: var(--ql-danger); }
.ql-dashboard-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 22px; }
.ql-work-panel { min-width: 0; padding: 27px 28px; border: 1px solid var(--ql-line); background: #fff; }
.ql-panel-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.ql-panel-head > div { display: flex; flex-direction: column; gap: 4px; }
.ql-panel-head > div > span { color: var(--ql-gold); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.ql-panel-head h2 { margin: 0; font: 500 20px Georgia, "Songti SC", serif; }
.ql-panel-head > a { color: var(--ql-muted); font-size: 11px; }
.ql-panel-head > b { padding: 6px 9px; border: 1px solid var(--ql-line); color: var(--ql-muted); font-size: 11px; font-weight: 400; }
.ql-task-list { border-top: 1px solid var(--ql-line); }
.ql-task-row {
    display: grid;
    grid-template-columns: 20px 48px 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--ql-line);
    color: var(--ql-ink);
}
.ql-task-row:hover { background: #fcfbf9; color: var(--ql-ink); }
.ql-task-check { width: 18px; height: 18px; border: 1px solid #c8c6c1; }
.ql-task-row time { color: var(--ql-muted); font-size: 12px; }
.ql-task-row > span { display: flex; flex-direction: column; gap: 4px; }
.ql-task-row > span strong { font-size: 13px; }
.ql-task-row > span small { color: var(--ql-muted); font-size: 10px; }
.ql-task-row em { padding: 4px 7px; background: #fcf0ed; color: #a04e3d; font-size: 9px; font-style: normal; }
.ql-privacy-note { display: flex; gap: 10px; margin-top: 19px; padding: 13px 14px; background: #f8f6f1; color: var(--ql-muted); }
.ql-privacy-note > i { color: var(--ql-gold); }
.ql-privacy-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.ql-privacy-note strong { margin-right: 7px; color: #686057; }
.ql-pipeline-total { display: grid; grid-template-columns: 1fr auto; padding-bottom: 20px; border-bottom: 1px solid var(--ql-line); }
.ql-pipeline-total > span { color: var(--ql-muted); font-size: 11px; }
.ql-pipeline-total > strong { grid-column: 1; margin-top: 5px; font: 500 27px Georgia, serif; }
.ql-pipeline-total > small { grid-area: 1 / 2 / 3; align-self: center; color: var(--ql-green); }
.ql-pipeline-bars { display: grid; gap: 15px; margin-top: 22px; }
.ql-pipeline-bars > div { display: grid; grid-template-columns: 76px 1fr 42px; align-items: center; gap: 10px; }
.ql-pipeline-bars span { color: var(--ql-muted); font-size: 11px; }
.ql-pipeline-bars b { height: 5px; overflow: hidden; background: #efede9; }
.ql-pipeline-bars b i { display: block; max-width: 100%; height: 100%; background: #b78a46; }
.ql-pipeline-bars strong { text-align: right; font: 500 13px Georgia, serif; }
.ql-signal-panel, .ql-quick-panel { min-height: 240px; }
.ql-signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ql-line); }
.ql-signal-grid > div { display: flex; flex-direction: column; min-width: 0; padding: 20px 18px 0 0; border-right: 1px solid var(--ql-line); }
.ql-signal-grid > div:not(:first-child) { padding-left: 18px; }
.ql-signal-grid > div:last-child { border-right: 0; }
.ql-signal-grid span, .ql-signal-grid em { color: var(--ql-muted); font-size: 10px; font-style: normal; }
.ql-signal-grid strong { overflow: hidden; margin: 12px 0 9px; font: 500 22px Georgia, serif; text-overflow: ellipsis; }
.ql-signal-grid em.good { color: var(--ql-green); }
.ql-quick-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ql-line); }
.ql-quick-grid > a {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 13px 6px;
    border-bottom: 1px solid var(--ql-line);
    color: #999;
}
.ql-quick-grid > a:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--ql-line); }
.ql-quick-grid > a:nth-child(even) { padding-left: 18px; }
.ql-quick-grid > a:hover { background: #fbfaf8; color: var(--ql-gold-dark); }
.ql-quick-grid > a > i { display: grid; place-items: center; width: 28px; height: 28px; background: #f5f2ec; color: var(--ql-gold-dark); font: normal 14px Georgia, serif; }
.ql-quick-grid > a > span { display: flex; flex-direction: column; gap: 3px; }
.ql-quick-grid strong { color: var(--ql-ink); font-size: 12px; }
.ql-quick-grid small { color: var(--ql-muted); font-size: 9px; }

/* Refined system fields and table operation actions */
body.inside-header .panel:not(.ql-customer-list),
body.inside-header .box {
    border-color: #e2ded7;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(42, 37, 29, .035);
}

.form-control,
.bootstrap-select > .dropdown-toggle,
.sp_container .sp_input {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #d9d5ce;
    border-radius: 7px;
    background-color: #fff;
    background-image: none;
    box-shadow: 0 1px 2px rgba(37, 32, 25, .025);
    color: #30363a;
    font-size: 12px;
    line-height: 1.45;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.form-control:hover,
.bootstrap-select > .dropdown-toggle:hover,
.sp_container .sp_input:hover {
    border-color: #c8c1b7;
    background-color: #fff;
}
.form-control:focus,
.bootstrap-select.open > .dropdown-toggle,
.bootstrap-select > .dropdown-toggle:focus,
.sp_container_open .sp_input,
.sp_container .sp_input:focus {
    border-color: #b68a49 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(170, 118, 35, .085), 0 3px 10px rgba(58, 43, 23, .045) !important;
    outline: 0 !important;
}
.form-control::-webkit-input-placeholder,
.sp_input::-webkit-input-placeholder { color: #aaa8a3; }
.form-control::-moz-placeholder,
.sp_input::-moz-placeholder { color: #aaa8a3; opacity: 1; }
.form-control:-ms-input-placeholder,
.sp_input:-ms-input-placeholder { color: #aaa8a3; }
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control,
.sp_container.sp_disabled .sp_input {
    border-color: #e4e1dc;
    background: #f6f5f2 !important;
    box-shadow: none;
    color: #8c9092;
    cursor: not-allowed;
}
textarea.form-control {
    min-height: 96px;
    padding: 11px 13px;
    line-height: 1.7;
    resize: vertical;
}
select.form-control {
    padding-right: 30px;
    cursor: pointer;
}
.form-horizontal .control-label {
    padding-top: 10px;
    color: #52585c;
    font-size: 12px;
    font-weight: 500;
}
.input-group-addon {
    min-width: 40px;
    border-color: #d9d5ce;
    background: #f8f6f2;
    color: #8b7047;
}
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}
.bootstrap-select > .dropdown-toggle {
    justify-content: flex-start;
    padding-right: 32px;
    color: #30363a !important;
    font-weight: 400;
    transform: none !important;
}
.bootstrap-select > .dropdown-toggle .filter-option {
    overflow: hidden;
    text-overflow: ellipsis;
}
.bootstrap-select > .dropdown-toggle .caret {
    right: 12px;
    color: #98958f;
}
.bootstrap-select .dropdown-menu,
.sp_result_area {
    overflow: hidden;
    margin-top: 5px;
    padding: 6px;
    border: 1px solid #ded9d1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(39, 34, 27, .12);
}
.bootstrap-select > .dropdown-menu .inner {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.bootstrap-select .dropdown-menu > li > a,
.sp_results > li {
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 5px;
    color: #4d5357;
    font-size: 12px;
}
.bootstrap-select .dropdown-menu > li > a:hover,
.bootstrap-select .dropdown-menu > li.selected > a,
.sp_results > li:hover,
.sp_results > li.sp_selected {
    background: #f7f2e9;
    color: #77521d;
}
div.sp_container_combo {
    min-height: 40px;
    border: 1px solid #d9d5ce;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(37, 32, 25, .025);
}
div.sp_container_combo.sp_container_open {
    border-color: #b68a49;
    border-radius: 7px;
    box-shadow: 0 0 0 3px rgba(170, 118, 35, .085);
}
ul.sp_element_box { min-height: 38px; padding: 5px 30px 3px 5px; }
ul.sp_element_box li.selected_tag {
    height: 26px;
    padding: 1px 22px 1px 8px;
    border: 1px solid #dfcfb5;
    border-radius: 5px;
    background: #faf5ec;
    box-shadow: none;
    color: #72501e;
    line-height: 22px;
}
ul.sp_element_box li.selected_tag:hover {
    border-color: #c6a66f;
    background: #f7efe1;
    box-shadow: none;
}
.form-horizontal input[type="checkbox"],
.form-horizontal input[type="radio"],
.table input[type="checkbox"],
.table input[type="radio"] {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #a87425;
    vertical-align: middle;
}

/* Operation cells use one quiet visual language; destructive actions stay distinct. */
.table .btn-xs,
.fixed-table-body .btn-xs {
    min-height: 26px;
    margin: 1px 3px;
    padding: 3px 4px;
    border: 1px solid transparent !important;
    border-radius: 4px;
    background: transparent !important;
    color: #5d6469 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    box-shadow: none !important;
    transform: none;
}
.table .btn-xs > .fa,
.fixed-table-body .btn-xs > .fa {
    width: auto;
    margin-right: 2px;
    color: #9a6a25;
    font-size: 10px;
    opacity: .82;
}
.table .btn-xs:hover,
.table .btn-xs:focus,
.fixed-table-body .btn-xs:hover,
.fixed-table-body .btn-xs:focus {
    border-color: transparent !important;
    background: #f6f1e8 !important;
    color: #76501a !important;
    box-shadow: none !important;
    transform: none;
}
.table .btn-xs:active,
.fixed-table-body .btn-xs:active {
    background: #f0e7d8 !important;
    box-shadow: none !important;
    transform: translateY(0);
}
.table .btn-xs.btn-del,
.table .btn-xs.btn-delone,
.table .btn-xs.btn-destroyit,
.table .btn-xs.btn-remove,
.fixed-table-body .btn-xs.btn-del,
.fixed-table-body .btn-xs.btn-delone,
.fixed-table-body .btn-xs.btn-destroyit,
.fixed-table-body .btn-xs.btn-remove {
    border-color: transparent !important;
    background: transparent !important;
    color: #a75b51 !important;
}
.table .btn-xs.btn-del > .fa,
.table .btn-xs.btn-delone > .fa,
.table .btn-xs.btn-destroyit > .fa,
.table .btn-xs.btn-remove > .fa {
    color: #b65a4d;
}
.table .btn-xs.btn-del:hover,
.table .btn-xs.btn-delone:hover,
.table .btn-xs.btn-destroyit:hover,
.table .btn-xs.btn-remove:hover,
.fixed-table-body .btn-xs.btn-del:hover,
.fixed-table-body .btn-xs.btn-delone:hover,
.fixed-table-body .btn-xs.btn-destroyit:hover,
.fixed-table-body .btn-xs.btn-remove:hover {
    border-color: transparent !important;
    background: #fff1ef !important;
    color: #8e3d32 !important;
}
.table .btn-xs.btn-restoreit,
.fixed-table-body .btn-xs.btn-restoreit {
    border-color: transparent !important;
    background: transparent !important;
    color: #477158 !important;
}
.table .btn-xs.btn-restoreit > .fa,
.fixed-table-body .btn-xs.btn-restoreit > .fa { color: #568266; }
.table .btn-xs.btn-restoreit:hover,
.fixed-table-body .btn-xs.btn-restoreit:hover {
    background: #eef7f1 !important;
    color: #365f46 !important;
}
.table .btn-group > .btn-xs + .btn-xs { margin-left: 1px; }
.table .dropdown-menu {
    min-width: 132px;
    padding: 6px;
    border: 1px solid #ded9d1;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(39, 34, 27, .12);
}
.table .dropdown-menu > li > a {
    padding: 7px 10px;
    border-radius: 5px;
    color: #50565a;
    font-size: 11px;
}
.table .dropdown-menu > li > a:hover {
    background: #f7f2e9;
    color: #76521c;
}
.fixed-table-toolbar .toolbar .btn-more,
.fixed-table-toolbar .toolbar .btn-more + .btn,
.fixed-table-toolbar .toolbar .dropdown-toggle {
    border-color: #d7c5a7 !important;
    background: #f7f0e4 !important;
    color: #74511d !important;
    box-shadow: 0 2px 7px rgba(76, 56, 27, .055);
}
.fixed-table-toolbar .toolbar .btn-more:hover,
.fixed-table-toolbar .toolbar .btn-more:focus,
.fixed-table-toolbar .toolbar .dropdown-toggle:hover,
.fixed-table-toolbar .toolbar .dropdown-toggle:focus {
    border-color: #b68a49 !important;
    background: #f2e7d5 !important;
    color: #664410 !important;
}

/* Unified row operations: text-only buttons with quiet, consistent borders. */
.ql-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    white-space: nowrap;
    vertical-align: middle;
}
.ql-row-actions .btn-xs {
    flex: 0 0 auto;
    min-height: 29px;
    margin: 0 !important;
    padding: 5px 10px;
    border: 1px solid #ddd7cd !important;
    border-radius: 5px;
    background: #fff !important;
    color: #555c61 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: .01em;
    box-shadow: 0 1px 2px rgba(45, 39, 31, .025) !important;
    transform: none !important;
}
.ql-row-actions .btn-xs > .fa { display: none !important; }
.ql-row-actions .btn-xs:hover,
.ql-row-actions .btn-xs:focus {
    border-color: #b99a6a !important;
    background: #faf6ef !important;
    color: #714d18 !important;
    box-shadow: 0 3px 9px rgba(86, 62, 28, .07) !important;
}
.ql-row-actions .btn-xs:active {
    border-color: #ad874d !important;
    background: #f3eadb !important;
    box-shadow: none !important;
}
.ql-row-actions .ql-action-follow,
.ql-row-actions .btn-editone {
    border-color: #d7c29e !important;
    background: #f8f2e8 !important;
    color: #79531b !important;
}
.ql-row-actions .ql-action-follow:hover,
.ql-row-actions .ql-action-follow:focus,
.ql-row-actions .btn-editone:hover,
.ql-row-actions .btn-editone:focus {
    border-color: #b5863f !important;
    background: #efe1ca !important;
    color: #68430d !important;
}
.ql-row-actions .ql-action-sea,
.ql-row-actions .btn-xs.btn-delone,
.ql-row-actions .btn-xs.btn-destroyit,
.ql-row-actions .btn-xs.btn-remove {
    border-color: #e4cbc6 !important;
    background: #fff7f5 !important;
    color: #995248 !important;
}
.ql-row-actions .ql-action-sea:hover,
.ql-row-actions .ql-action-sea:focus,
.ql-row-actions .btn-xs.btn-delone:hover,
.ql-row-actions .btn-xs.btn-delone:focus,
.ql-row-actions .btn-xs.btn-destroyit:hover,
.ql-row-actions .btn-xs.btn-destroyit:focus,
.ql-row-actions .btn-xs.btn-remove:hover,
.ql-row-actions .btn-xs.btn-remove:focus {
    border-color: #cb8c82 !important;
    background: #fff0ee !important;
    color: #873d33 !important;
}
.ql-row-actions .btn-xs.btn-restoreit {
    border-color: #cadbcf !important;
    background: #f9fcfa !important;
    color: #487158 !important;
}
.ql-row-actions .btn-xs.btn-restoreit:hover,
.ql-row-actions .btn-xs.btn-restoreit:focus {
    border-color: #8eb09a !important;
    background: #eef7f1 !important;
    color: #345d44 !important;
}
.ql-row-actions .btn-group {
    display: inline-flex;
    flex: 0 0 auto;
}
.ql-row-actions .btn-group > .btn-xs {
    border-radius: 5px 0 0 5px;
}
.ql-row-actions .btn-group > .btn-xs + .btn-xs {
    margin-left: -1px !important;
    padding-right: 7px;
    padding-left: 7px;
    border-radius: 0 5px 5px 0;
}

@media (max-width: 980px) {
    .ql-customer-filterbar,
    .ql-global-filterbar,
    .ql-global-filterbar.ql-filter-count-0,
    .ql-global-filterbar.ql-filter-count-1,
    .ql-global-filterbar.ql-filter-count-2,
    .ql-global-filterbar.ql-no-keyword {
        grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(145px, .55fr));
    }
    .ql-filter-more,
    .ql-filter-reset { justify-self: start; }
    .ql-record-grid { grid-template-columns: 1fr; }
    .ql-record-context { position: static; }
    .ql-customer-layout { grid-template-columns: 1fr; }
    .ql-form-rail {
        position: static;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 0;
    }
    .ql-form-rail > p, .ql-required-note { display: none; }
    .ql-form-rail nav { display: flex; gap: 8px; margin: 0; border: 0; }
    .ql-form-rail nav a { padding: 10px; border: 0; }
    .ql-form-rail nav span { display: none; }
    .ql-dashboard-grid { grid-template-columns: 1fr; }
    .ql-overview { grid-template-columns: 1fr 1fr; }
    .ql-overview > a:nth-child(2) { border-right: 0; }
    .ql-overview > a:nth-child(-n+2) { border-bottom: 1px solid var(--ql-line); }
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .main-header .logo { width: 64px; padding: 0 10px; }
    .sidebar-mini.sidebar-collapse .main-header .navbar { margin-left: 64px; }
    .sidebar-mini.sidebar-collapse .main-sidebar { width: 64px; }
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .right-side,
    .sidebar-mini.sidebar-collapse .main-footer { margin-left: 64px !important; }
}

@media (max-width: 767px) {
    .main-header { height: 56px; }
    .main-header .navbar { min-height: 56px; margin-left: 0; }
    .main-header .navbar .sidebar-toggle,
    .main-header .navbar .nav > li > a { height: 56px; padding-top: 16px; padding-bottom: 16px; }
    .main-sidebar { padding-top: 56px; }
    .fixed .content-wrapper, .fixed .right-side { padding-top: 56px; }
    body.inside-header .content { padding: 18px 14px 40px; }
    .ql-commonsearch-head {
        align-items: flex-start;
        padding: 12px 13px;
    }
    .ql-commonsearch-title small { display: none; }
    .ql-commonsearch-head-actions { gap: 5px; }
    .ql-commonsearch-count { max-width: 86px; white-space: normal; text-align: right; }
    .ql-commonsearch .form-commonsearch { padding: 14px 12px 3px; }
    .ql-commonsearch .form-commonsearch > fieldset > .row,
    .ql-commonsearch .form-commonsearch > div > .row { grid-template-columns: 1fr; gap: 10px; }
    .ql-commonsearch .ql-commonsearch-field {
        grid-template-columns: 76px minmax(0, 1fr);
    }
    .ql-commonsearch .ql-commonsearch-actions > div { justify-content: flex-end; }
    .fixed-table-toolbar > .form-inline.bs-bars {
        align-items: stretch;
        padding: 11px;
    }
    .fixed-table-toolbar > .form-inline.bs-bars .input-group { width: 100%; }
    .fixed-table-toolbar .ql-commonsearch-trigger-label { display: none; }
    .fixed-table-toolbar .ql-commonsearch-trigger { min-width: 36px; padding-right: 9px; padding-left: 9px; }
    .ql-record-form { margin: -18px -14px -40px; padding: 24px 12px 92px; }
    .ql-record-header { align-items: flex-start; flex-direction: column; gap: 18px; }
    .ql-record-header h1 { font-size: 28px; }
    .ql-record-customer-title { width: 100%; padding: 13px 0 0; border-top: 1px solid #d5d0c8; border-left: 0; }
    .ql-record-compose,
    .ql-record-context,
    .ql-record-history { padding: 24px 18px; }
    .ql-record-field-grid { grid-template-columns: 1fr; }
    .ql-record-field-grid .ql-record-field + .ql-record-field { margin-top: 8px; }
    .ql-record-quality-options > .radio,
    .ql-record-wechat-options > .radio { grid-template-columns: 1fr 1fr; }
    .ql-record-quality-options label,
    .ql-record-wechat-options label { width: 100%; }
    .ql-record-history-head { align-items: flex-start; flex-direction: column; gap: 0; }
    .ql-record-history-head .nav-tabs { width: 100%; }
    .ql-record-field-meta > span:first-child { display: none; }
    .panel-intro > .panel-heading .nav-tabs {
        gap: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .panel-intro > .panel-heading .nav-tabs::-webkit-scrollbar { display: none; }
    .panel-intro > .panel-heading .nav-tabs > li { flex: 0 0 auto; }
    .ql-customer-list > .panel-heading .nav-tabs {
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
    }
    .ql-customer-list > .panel-body { margin-top: 12px; padding: 14px; }
    .ql-customer-filterbar,
    .ql-global-filterbar { display: flex; flex-wrap: wrap; }
    .ql-filter-search { width: 100%; }
    .ql-filter-select-wrap { flex: 1 1 calc(50% - 5px); min-width: 135px; }
    .ql-filter-more,
    .ql-filter-reset { flex: 0 0 auto; }
    .ql-customer-list .commonsearch-table .form-commonsearch { padding: 14px 12px 2px; }
    .ql-customer-form { margin: -18px -14px -40px; padding: 24px 12px 92px; }
    .ql-form-rail { grid-template-columns: 1fr; }
    .ql-form-rail h1 { font-size: 28px; }
    .ql-form-rail nav { overflow-x: auto; }
    .ql-form-rail nav a { white-space: nowrap; }
    .ql-customer-form-section { padding: 29px 20px 32px; }
    .ql-section-title p { margin-left: 0; }
    .ql-demand-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px 0;
    }
    .ql-demand-group-name { padding-right: 0; }
    .ql-demand-catalog .ql-demand-options label { width: auto; }
    .ql-field-grid-two,
    .ql-checkbox-grid > .checkbox,
    .ql-strategy-options > .radio { grid-template-columns: 1fr; }
    .ql-choice-group label { width: 100%; }
    body:not(.is-dialog) .ql-customer-form-footer.layer-footer { padding: 10px 12px; }
    .ql-footer-copy,
    .layui-layer-fast .layui-layer-footer .ql-footer-copy { display: none; }
    .ql-footer-actions { width: 100%; }
    .ql-footer-actions .btn { flex: 1; }
    .layui-layer-fast .layui-layer-footer { min-height: 62px; padding: 10px 12px; }
    .layui-layer-fast .layui-layer-footer .ql-footer-actions { display: flex; }
    .ql-dashboard { padding: 27px 0 50px; }
    .ql-welcome { align-items: flex-start; flex-direction: column; gap: 20px; }
    .ql-welcome h1 { font-size: 28px; }
    .ql-overview > a { min-height: 94px; padding: 18px; }
    .ql-overview strong { font-size: 29px; }
    .ql-work-panel { padding: 22px 18px; }
    .ql-signal-grid { grid-template-columns: 1fr; }
    .ql-signal-grid > div { padding: 15px 0 !important; border-right: 0; border-bottom: 1px solid var(--ql-line); }
    .ql-quick-grid { grid-template-columns: 1fr; }
    .ql-quick-grid > a { padding: 13px 6px !important; border-right: 0 !important; }
    .fixed-table-toolbar .search, .fixed-table-toolbar .search .form-control { width: 100%; max-width: none; min-width: 0; }
}
.ql-create-date {
    cursor: help;
    white-space: nowrap;
}
