/* Minification failed. Returning unminified contents.
(20,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(74,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-bg'
(75,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(110,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(111,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(112,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(122,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(132,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(143,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(168,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(214,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(215,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(217,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(218,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(238,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(304,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(319,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(320,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(328,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(329,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(341,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(342,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(343,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(349,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(350,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(361,32): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(366,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(371,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(400,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(401,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(402,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(435,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(436,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(437,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(438,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(449,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(467,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(468,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(477,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-danger'
(482,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-warning-bg'
(483,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(487,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-danger'
(492,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(499,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-bg'
(500,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(515,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(516,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(566,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(568,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(570,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(575,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(591,32): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(608,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(609,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(638,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(677,38): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(683,37): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(732,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(753,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(764,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(788,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(798,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(814,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(841,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(912,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(943,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(958,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(978,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(987,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1000,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1029,35): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1040,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1061,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(1062,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1063,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1064,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1070,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1071,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1077,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1088,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1117,35): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1121,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1137,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1185,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1203,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1231,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1248,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1281,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1288,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1293,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1309,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-bg'
(1310,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1311,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1316,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1320,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(1321,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1325,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1331,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(1335,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1342,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1346,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-bg'
(1353,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1360,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1361,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1362,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1367,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1368,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1372,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1373,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1378,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(1379,35): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1380,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(1500,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1527,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1544,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1550,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1562,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1576,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1577,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1578,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-surface'
(1584,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1591,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1603,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1635,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1636,25): run-time error CSS1039: Token not allowed after unary operator: '-cq-radius'
(1644,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1662,35): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1677,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(1742,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1744,35): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1751,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary'
(1758,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-primary-dark'
(1824,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(1884,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(2045,22): run-time error CSS1039: Token not allowed after unary operator: '-cq-accent'
(2046,24): run-time error CSS1039: Token not allowed after unary operator: '-cq-accent'
(2095,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(2104,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-danger'
(2115,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2116,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2117,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2118,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2119,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2159,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(2171,35): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(2183,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(2200,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(2228,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(2307,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(2480,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-border'
(2489,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(2514,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-muted'
(2535,17): run-time error CSS1039: Token not allowed after unary operator: '-cq-text'
(2595,28): run-time error CSS1039: Token not allowed after unary operator: '-cq-line'
 */
/* VQRC chrome UI font — self-hosted Vazirmatn (OFL). No font CDN. */
@font-face {
    font-family: Vazirmatn;
    src: url("fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Corporate Quiet — Palette A (Farrokh, 2026-08-18). Internal UI only; GEO unchanged. */
:root {
    --cq-primary: #1193D4;
    --cq-primary-dark: #0A6A9A;
    --cq-accent: #0F8A7A;
    --cq-bg: #F5F7FA;
    --cq-surface: #FFFFFF;
    --cq-text: #1B2430;
    --cq-muted: #5C6775;
    --cq-border: #E3E8EE;
    --cq-radius: 8px;
    --cq-danger: #B42318;
    --cq-warning-bg: #FFF7E8;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

iframe:not([src*="recaptcha"]):not([src*="gstatic.com/recaptcha"]) {
    max-width: 100%;
    height: auto;
}

/* Leaflet / CedarMaps tiles break under html[dir=rtl] and the global img rule. */
.leaflet-container,
#mapid {
    direction: ltr;
    text-align: left;
}

#mapid {
    min-height: 300px;
    width: 100%;
}

.leaflet-container img,
.leaflet-pane img,
img.leaflet-tile,
img.leaflet-marker-icon,
img.leaflet-marker-shadow {
    max-width: none !important;
    max-height: none !important;
}

body.cq-body {
    margin: 0;
    min-height: 100vh;
    background: var(--cq-bg);
    color: var(--cq-text);
    font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

html[dir="ltr"] body.cq-body {
    direction: ltr;
    text-align: left;
}

body.cq-body.cq-account {
    overflow: visible;
}

body.cq-account .cq-shell {
    overflow: visible;
}

.cq-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    width: 100%;
}

.cq-card {
    width: 100%;
    max-width: 440px;
    background: var(--cq-surface);
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    padding: 32px 28px 28px;
    overflow: visible;
}

.cq-card-wide {
    max-width: 720px;
}

.cq-brand {
    color: var(--cq-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 8px;
    text-align: center;
}

.cq-title {
    color: var(--cq-text);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.cq-lead {
    color: var(--cq-muted);
    font-size: 14px;
    margin: 0 0 24px;
    text-align: center;
}

.cq-body * {
    box-sizing: border-box;
}

body.cq-account > div:not(.cq-shell) {
    box-sizing: content-box;
}

body.cq-account > div:not(.cq-shell) * {
    box-sizing: content-box;
}

.cq-body .form-group {
    margin-bottom: 16px;
}

.cq-body .control-label,
.cq-body label {
    display: block;
    color: var(--cq-text);
    font-weight: 600;
    font-size: 13px;
    text-align: right;
    margin-bottom: 6px;
}

html[dir="ltr"] body.cq-body .control-label,
html[dir="ltr"] body.cq-body label {
    text-align: left;
}

.cq-body .checkbox,
.cq-regs-row {
    position: relative;
    z-index: 6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 44px;
    gap: 8px;
}

.cq-body .checkbox input[type="hidden"] {
    display: none;
}

.cq-body .checkbox label,
.cq-body .checkbox a,
.cq-regs-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0;
    font-weight: 400;
    cursor: pointer;
}

.cq-body .form-control {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    box-shadow: none;
    color: var(--cq-text);
    background: var(--cq-surface);
    font-family: inherit;
    font-size: 16px;
}

.cq-body input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0 0 0 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

html[dir="ltr"] body.cq-body input[type="checkbox"] {
    margin: 0 8px 0 0;
}

.cq-body .form-control:focus {
    border-color: var(--cq-primary);
    outline: none;
    box-shadow: none;
}

.cq-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0 8px;
    position: relative;
    z-index: 2;
}

.cq-actions .cq-btn,
.cq-actions input.cq-btn {
    min-width: 168px;
    flex: 1 1 168px;
    max-width: 200px;
    position: relative;
    z-index: 2;
}

.cq-captcha {
    display: block;
    margin: 8px 0 4px;
    text-align: center;
    overflow: visible;
    width: 100%;
    direction: ltr;
    unicode-bidi: isolate;
    position: relative;
    z-index: 8;
    pointer-events: auto;
    touch-action: manipulation;
}

.cq-captcha .g-recaptcha {
    display: inline-block;
    width: auto;
    margin: 0 auto;
    transform: none;
    pointer-events: auto;
    touch-action: manipulation;
}

body.cq-account .cq-captcha iframe,
body.cq-account iframe[src*="recaptcha"],
body.cq-account iframe[src*="gstatic.com/recaptcha"] {
    box-sizing: content-box;
    max-width: none;
    pointer-events: auto;
    touch-action: manipulation;
}

.cq-captcha .text-danger {
    display: block;
    margin-top: 8px;
    text-align: center;
}

.cq-btn,
.cq-body .cq-btn {
    display: inline-block;
    border-radius: var(--cq-radius);
    padding: 12px 18px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.cq-btn-primary,
.cq-body input.cq-btn-primary,
.cq-body .cq-btn-primary {
    background: var(--cq-primary);
    border-color: var(--cq-primary);
    color: #fff;
}

.cq-btn-primary:hover,
.cq-body input.cq-btn-primary:hover,
.cq-body .cq-btn-primary:hover,
.cq-btn-primary:focus {
    background: var(--cq-primary-dark);
    border-color: var(--cq-primary-dark);
    color: #fff;
    text-decoration: none;
}

.cq-btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cq-btn-outline,
.cq-body a.cq-btn-outline {
    background: var(--cq-surface);
    border-color: var(--cq-primary);
    color: var(--cq-primary);
}

.cq-btn-outline:hover,
.cq-body a.cq-btn-outline:hover {
    background: #EAF6FB;
    color: var(--cq-primary-dark);
    border-color: var(--cq-primary-dark);
    text-decoration: none;
}

.cq-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--cq-border);
    text-align: center;
}

.cq-links a {
    color: var(--cq-primary);
    font-size: 13px;
}

.cq-links a:hover {
    color: var(--cq-primary-dark);
}

.cq-links {
    position: relative;
    z-index: 6;
}

.cq-reg-modal {
    display: none;
    position: fixed;
    z-index: 10050;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 36, 48, 0.45);
    padding: 16px 12px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.cq-reg-modal.is-open {
    display: block !important;
}

.cq-reg-dialog {
    max-width: 720px;
    margin: 24px auto;
    background: var(--cq-surface);
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    padding: 12px 16px 20px;
    position: relative;
}

.cq-reg-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 12px;
}

.cq-reg-head .cq-title {
    flex: 1 1 auto;
    margin: 0;
    text-align: right;
    font-size: 18px;
}

.cq-reg-head .cq-btn {
    flex: 0 0 auto;
    min-width: 96px;
    max-width: none;
    width: auto;
}

.cq-reg-close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    background: var(--cq-surface);
    color: var(--cq-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.cq-reg-close:hover,
.cq-reg-close:focus {
    background: #EAF6FB;
    color: var(--cq-primary-dark);
    text-decoration: none;
}

.cq-reg-dialog .cq-text {
    max-height: min(55vh, 420px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.7;
}

body.cq-reg-lock {
    overflow: hidden;
}

.cq-alert {
    border-radius: var(--cq-radius);
    border: 1px solid var(--cq-border);
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
}

.cq-alert-danger {
    border-color: #F5C2C0;
    background: #FDECEC;
    color: var(--cq-danger);
}

.cq-alert-warning {
    border-color: #F3D9A4;
    background: var(--cq-warning-bg);
    color: var(--cq-text);
}

.cq-body .text-danger {
    color: var(--cq-danger);
    font-size: 12px;
}

.cq-text {
    color: var(--cq-text);
    font-size: 14px;
    line-height: 1.8;
}

/* Manage / Admin chrome (waves 2 and 4 share _ManageLayout) */
body.cq-app {
    background: var(--cq-bg);
    color: var(--cq-text);
    font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif !important;
    overflow-x: hidden;
}

body.cq-app .tooltip,
body.cq-app .tooltip-inner,
body.cq-app .popover,
body.cq-app .popover-title,
body.cq-app .popover-content {
    font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif !important;
}

body.cq-app .cq-topbar {
    margin-bottom: 0;
    background: var(--cq-surface);
    border-color: var(--cq-border);
    position: relative;
}

body.cq-app .navbar-top-links.navbar-right {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    float: right;
}

html[dir="ltr"] body.cq-app .navbar-top-links.navbar-right {
    float: right;
}

body.cq-app .navbar-top-links.navbar-right > li {
    display: inline-flex;
    align-items: center;
    float: none;
    vertical-align: middle;
}

body.cq-app .navbar-top-links.navbar-right > li > a {
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.cq-app .cq-lang-li {
    display: inline-flex !important;
    align-items: center;
    padding: 0 8px;
    width: auto;
    max-width: none;
}

body.cq-app .site-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
}

body.cq-app .site-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    min-width: 44px;
    padding: 6px 8px;
    border: 1px solid var(--cq-border);
    border-radius: 8px;
    background: var(--cq-surface);
    cursor: pointer;
    color: var(--cq-text);
}

body.cq-app .site-lang-toggle:hover,
body.cq-app .site-lang-toggle:focus {
    border-color: var(--cq-primary);
    outline: none;
}

body.cq-app .site-lang-flag {
    display: block;
    border-radius: 2px;
}

body.cq-app .site-lang-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--cq-muted);
    font-size: 0;
    line-height: 0;
}

/* Vertical dropdown (do not inherit navbar-top-links inline-block) */
body.cq-app .navbar-top-links .site-lang-menu,
body.cq-app .site-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    z-index: 1200;
    margin: 0;
    padding: 8px;
    list-style: none;
    min-width: 180px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    background: var(--cq-surface);
    border: 1px solid var(--cq-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(27, 36, 48, 0.12);
    display: block;
    float: none;
}

body.cq-app .site-lang-menu[hidden] {
    display: none !important;
}

body.cq-app .navbar-top-links .site-lang-menu > li,
body.cq-app .site-lang-menu > li {
    display: block !important;
    float: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 0;
}

body.cq-app .navbar-top-links .site-lang-menu > li > a,
body.cq-app .site-lang-menu > li > a,
body.cq-app .site-lang-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 40px !important;
    padding: 6px 8px !important;
    border-radius: 6px;
    color: var(--cq-text);
    text-decoration: none;
    white-space: nowrap;
}

body.cq-app .site-lang-item:hover,
body.cq-app .site-lang-item:focus {
    background: #E8F4FB;
    text-decoration: none;
}

body.cq-app .site-lang-menu li.is-active .site-lang-item {
    font-weight: 700;
}

html[dir="rtl"] body.cq-app .site-lang-menu {
    left: 0;
    right: auto;
}

html[dir="ltr"] body.cq-app .site-lang-menu {
    right: 0;
    left: auto;
}

/* Panel direction: sb-admin-2 is RTL-biased; flip chrome for LTR cultures */
html[dir="rtl"] body.cq-app {
    direction: rtl;
    text-align: start;
}

html[dir="ltr"] body.cq-app {
    direction: ltr;
    text-align: start;
}

@media (min-width: 768px) {
    html[dir="rtl"] body.cq-app #page-wrapper {
        margin: 0 250px 0 0 !important;
        border-right: 1px solid var(--cq-border);
        border-left: none;
    }

    html[dir="ltr"] body.cq-app #page-wrapper {
        margin: 0 0 0 250px !important;
        border-left: 1px solid var(--cq-border);
        border-right: none;
    }

    html[dir="rtl"] body.cq-app .sidebar {
        right: 0;
        left: auto;
    }

    html[dir="ltr"] body.cq-app .sidebar {
        left: 0;
        right: auto;
    }
}

html[dir="ltr"] body.cq-app .sidebar .arrow,
html[dir="ltr"] body.cq-app .fa.arrow {
    float: left;
}

html[dir="rtl"] body.cq-app .sidebar .arrow,
html[dir="rtl"] body.cq-app .fa.arrow {
    float: right;
}

html[dir="ltr"] body.cq-app .sidebar .nav-second-level li a {
    padding-left: 37px;
    padding-right: 15px;
}

html[dir="rtl"] body.cq-app .sidebar .nav-second-level li a {
    padding-right: 37px;
    padding-left: 15px;
}

body.cq-app .cq-notify-toggle {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.cq-app .cq-notify-badge {
    position: absolute;
    top: 4px;
    right: 2px;
    left: auto;
    background: var(--cq-primary);
    font-size: 10px;
    min-width: 16px;
    padding: 2px 5px;
    line-height: 1.2;
}

body.cq-app .cq-notify-menu {
    width: 320px;
    max-width: calc(100vw - 24px);
    max-height: 70vh;
    overflow-y: auto;
    right: auto;
    left: 0;
    padding: 0;
}

body.cq-app .cq-notify-item a {
    display: block;
    padding: 10px 12px;
    white-space: normal;
    color: var(--cq-text);
    min-height: 44px;
}

body.cq-app .cq-notify-item.is-unread a {
    background: #EAF6FC;
    font-weight: 700;
}

body.cq-app .cq-notify-meta {
    display: block;
    color: var(--cq-muted);
    font-size: 12px;
    font-weight: 400;
}

body.cq-app .cq-inbox-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10050;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    margin: 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(17, 147, 212, 0.25);
}

body.cq-app .cq-ticket-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 16px;
    color: var(--cq-muted);
    font-size: 13px;
}

body.cq-app .cq-ticket-swatch {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--cq-text);
}

body.cq-app .cq-ticket-swatch.is-unread {
    background: #FFF4D6;
    border: 1px solid #E0B25A;
}

body.cq-app .cq-ticket-swatch.is-active {
    background: #E7F6FB;
    border: 1px solid #1193D4;
}

body.cq-app .cq-ticket-swatch.is-closed {
    background: #EEF1F4;
    border: 1px solid #C5CED6;
    color: var(--cq-muted);
}

body.cq-app .cq-ticket-legend-note {
    font-weight: 400;
}

body.cq-app table.cq-ticket-table > tbody > tr.cq-ticket-row-unread,
body.cq-app table.cq-ticket-table.dataTable > tbody > tr.cq-ticket-row-unread,
body.cq-app table.cq-ticket-table.dataTable > tbody > tr.cq-ticket-row-unread > td {
    background-color: #FFF4D6 !important;
}

body.cq-app table.cq-ticket-table > tbody > tr.cq-ticket-row-unread {
    box-shadow: inset -4px 0 0 #D97706;
}

body.cq-app table.cq-ticket-table > tbody > tr.cq-ticket-row-active,
body.cq-app table.cq-ticket-table.dataTable > tbody > tr.cq-ticket-row-active,
body.cq-app table.cq-ticket-table.dataTable > tbody > tr.cq-ticket-row-active > td {
    background-color: #E7F6FB !important;
}

body.cq-app table.cq-ticket-table > tbody > tr.cq-ticket-row-closed,
body.cq-app table.cq-ticket-table.dataTable > tbody > tr.cq-ticket-row-closed,
body.cq-app table.cq-ticket-table.dataTable > tbody > tr.cq-ticket-row-closed > td {
    background-color: #EEF1F4 !important;
    color: var(--cq-muted);
}

body.cq-app table.cq-ticket-table.table-hover > tbody > tr.cq-ticket-row-unread:hover > td {
    background-color: #FFE9C7 !important;
}

body.cq-app table.cq-ticket-table.table-hover > tbody > tr.cq-ticket-row-active:hover > td {
    background-color: #D4EEF8 !important;
}

body.cq-app table.cq-ticket-table.table-hover > tbody > tr.cq-ticket-row-closed:hover > td {
    background-color: #E3E8EE !important;
}

body.cq-app .cq-ticket-chip {
    display: inline-block;
    margin-right: 4px;
    margin-top: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}

body.cq-app .cq-ticket-chip.is-unread {
    background: #D97706;
    color: #fff;
}

body.cq-app .cq-ticket-chip.is-new {
    background: #1193D4;
    color: #fff;
}

body.cq-app .cq-ticket-chip.is-updated {
    background: #0F8A7A;
    color: #fff;
}

body.cq-app .cq-ticket-chip.is-closed {
    background: #5C6775;
    color: #fff;
}

body.cq-app .cq-ticket-block {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
    max-width: 100%;
}

body.cq-app .cq-ticket-block.is-user {
    direction: ltr;
    align-items: flex-start;
}

body.cq-app .cq-ticket-block.is-admin {
    direction: ltr;
    align-items: flex-end;
}

body.cq-app .cq-ticket-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cq-text);
}

body.cq-app .cq-ticket-block.is-user .cq-ticket-author {
    text-align: left;
}

body.cq-app .cq-ticket-block.is-admin .cq-ticket-author {
    flex-direction: row-reverse;
    text-align: right;
}

body.cq-app .cq-ticket-role {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    color: #fff;
}

body.cq-app .cq-ticket-block.is-user .cq-ticket-role {
    background: #0F8A7A;
}

body.cq-app .cq-ticket-block.is-admin .cq-ticket-role {
    background: #1193D4;
}

body.cq-app .cq-ticket-who {
    direction: ltr;
    unicode-bidi: isolate;
    color: var(--cq-muted);
    font-weight: 600;
    font-size: 12px;
}

body.cq-app .cq-ticket-bubble {
    max-width: min(78%, 640px);
    width: auto;
}

body.cq-app .cq-ticket-msg {
    position: relative;
    padding: 12px 14px 28px;
    margin-bottom: 0;
    border-radius: 12px;
    border: 1px solid var(--cq-border);
}

body.cq-app .cq-ticket-block.is-user .cq-ticket-msg {
    background: #FFF7E8;
    border-color: #E0B25A;
    border-bottom-left-radius: 4px;
}

body.cq-app .cq-ticket-block.is-admin .cq-ticket-msg {
    background: #E7F6FB;
    border-color: #1193D4;
    border-bottom-right-radius: 4px;
}

body.cq-app .cq-ticket-msg-body {
    direction: inherit;
    text-align: start;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--cq-text);
}

body.cq-app .cq-ticket-msg-time {
    position: absolute;
    left: 10px;
    bottom: 6px;
    font-size: 11px;
    line-height: 1.2;
    color: var(--cq-muted);
    direction: ltr;
}

body.cq-app .cq-ticket-files {
    margin-top: 8px;
}

body.cq-app .cq-ticket-files img {
    max-width: 160px;
    max-height: 160px;
    margin: 0 4px 4px 0;
    border-radius: 6px;
    border: 1px solid var(--cq-border);
}

body.cq-app .cq-notify-empty,
body.cq-app .cq-notify-actions {
    padding: 12px;
    text-align: center;
}

@media (max-width: 767px) {
    body.cq-app .navbar-top-links.navbar-right {
        position: absolute;
        left: 56px;
        top: 0;
        float: none !important;
        margin: 0;
        z-index: 1031;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    body.cq-app .cq-notify-menu {
        width: calc(100vw - 16px);
    }
}

body.cq-app .cq-user-summary {
    text-align: center;
    border-bottom: 1px solid var(--cq-border);
    padding: 12px;
    margin: 0;
}

body.cq-app .cq-page {
    padding-top: 16px;
    padding-bottom: 32px;
}

body.cq-app .cq-page-title {
    color: var(--cq-text);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: right;
    text-transform: none;
}

body.cq-app .cq-dash-row {
    margin-bottom: 16px;
}

body.cq-app .cq-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
    margin-bottom: 16px;
    padding: 20px 12px;
    background: var(--cq-surface);
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    color: var(--cq-text);
    text-decoration: none;
}

body.cq-app .cq-tile:hover,
body.cq-app .cq-tile:focus {
    border-color: var(--cq-primary);
    color: var(--cq-primary-dark);
    text-decoration: none;
}

body.cq-app .cq-tile-icon {
    font-size: 28px;
    color: var(--cq-primary);
    margin-bottom: 8px;
}

body.cq-app .cq-tile-label {
    font-size: 18px;
    font-weight: 700;
}

body.cq-app .cq-tile-action {
    font-size: 13px;
    color: var(--cq-muted);
    margin-top: 6px;
}

body.cq-app .cq-panel {
    margin-bottom: 16px;
}

body.cq-app .cq-profile-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

body.cq-app .cq-avatar {
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 96px;
}

body.cq-app .cq-kv {
    flex: 1 1 auto;
}

body.cq-app .cq-kv-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--cq-border);
}

body.cq-app .cq-kv-row span:first-child {
    color: var(--cq-muted);
}

body.cq-app .cq-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.cq-app .cq-kv-table {
    margin-bottom: 12px;
}

body.cq-app .cq-kv-table th {
    width: 14%;
    white-space: nowrap;
    color: var(--cq-muted);
    font-weight: 600;
    background: #F8FAFC;
    vertical-align: middle;
}

body.cq-app .cq-kv-table td {
    width: 36%;
    vertical-align: middle;
}

body.cq-app .cq-page,
body.cq-app #page-wrapper {
    max-width: 100%;
}

body.cq-app .cq-page > table,
body.cq-app .panel-body > table,
body.cq-app .container-fluid > table,
body.cq-app .dataTables_wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.cq-app .dataTables_wrapper {
    display: block;
}

body.cq-app table.dataTable {
    width: 100% !important;
}

body.cq-app .cq-invoice-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0 0 16px;
}

body.cq-app .cq-invoice-filters label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    font-weight: 400;
    color: var(--cq-text);
    cursor: pointer;
}

body.cq-app .cq-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
}

body.cq-app .cq-toolbar .btn {
    min-height: 44px;
}

body.cq-app .cq-sms-phone {
    margin: 0 0 12px;
    color: var(--cq-text);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

body.cq-app .cq-sms-history-table {
    table-layout: fixed;
    width: 100%;
}

body.cq-app .cq-sms-col-date {
    width: 16%;
}

body.cq-app .cq-sms-col-source {
    width: 12%;
}

body.cq-app .cq-sms-col-body,
body.cq-app .cq-sms-body {
    width: 72%;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: right;
}

body.cq-app .cq-section-title {
    color: var(--cq-text);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: none;
}

body.cq-app .cq-actions-cell {
    white-space: nowrap;
}

body.cq-app .cq-actions-cell .btn {
    margin: 2px;
    min-height: 44px;
}

body.cq-app .btn {
    border-radius: var(--cq-radius);
}

body.cq-app textarea.form-control {
    height: auto;
    min-height: 88px;
}

body.cq-app input[type="file"],
body.cq-app input[type="file"].form-control {
    height: auto;
    min-height: 44px;
    padding: 8px;
}

body.cq-app .form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}

body.cq-app .cq-pay-amount-row {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

body.cq-app .cq-pay-amount-row .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

body.cq-app .cq-pay-rial {
    color: var(--cq-muted);
    font-weight: 600;
    white-space: nowrap;
}

body.cq-app .cq-pay-amount-hint {
    margin: 6px 0 0;
    color: var(--cq-muted);
    font-size: 13px;
}

body.cq-app .cq-dl dt {
    color: var(--cq-muted);
    font-weight: 600;
}

body.cq-app .cq-dl dd {
    margin-bottom: 10px;
}

body.cq-app .pagination {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.cq-app .well {
    background: var(--cq-bg);
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    box-shadow: none;
}

body.cq-app .badge {
    background: var(--cq-primary);
}

body.cq-app .navbar-default {
    background: var(--cq-surface);
    border-color: var(--cq-border);
}

body.cq-app .navbar-default .navbar-brand {
    color: var(--cq-primary);
    font-size: 18px !important;
    font-weight: 700;
}

body.cq-app .sidebar {
    background: var(--cq-surface);
}

body.cq-app .sidebar .nav > li > a {
    color: var(--cq-text);
}

body.cq-app .sidebar .nav > li > a:hover,
body.cq-app .sidebar .nav > li > a:focus,
body.cq-app .sidebar .nav > li.active > a {
    background: #EAF6FB;
    color: var(--cq-primary-dark);
}

body.cq-app #page-wrapper {
    background: var(--cq-bg);
}

body.cq-app h1,
body.cq-app h2,
body.cq-app h3,
body.cq-app .page-header {
    color: var(--cq-text);
    text-transform: none;
    letter-spacing: 0;
}

body.cq-app .btn-primary,
body.cq-app .btn-success {
    background: var(--cq-primary);
    border-color: var(--cq-primary);
    border-radius: var(--cq-radius);
}

body.cq-app .btn-primary:hover,
body.cq-app .btn-success:hover {
    background: var(--cq-primary-dark);
    border-color: var(--cq-primary-dark);
}

body.cq-app .panel {
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    box-shadow: none;
}

body.cq-app .panel-heading {
    background: var(--cq-surface);
    border-bottom: 1px solid var(--cq-border);
    color: var(--cq-text);
}

.cq-captcha .g-recaptcha {
    transform: none;
}

@media (max-width: 991px) {
    .cq-shell {
        padding: 24px 16px;
        align-items: flex-start;
    }

    .cq-card-wide {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .cq-shell {
        padding: 16px 12px;
        align-items: flex-start;
    }

    body.cq-account .cq-shell {
        padding: 16px 8px;
    }

    .cq-card {
        padding: 24px 16px;
        max-width: 100%;
    }

    body.cq-account .cq-card {
        padding: 24px 8px;
    }

    .cq-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .cq-actions {
        flex-direction: column;
    }

    .cq-actions .cq-btn,
    .cq-actions input.cq-btn,
    .cq-btn,
    .cq-body .cq-btn {
        width: 100%;
        max-width: none;
        flex: 1 1 100%;
    }

    body.cq-app #page-wrapper {
        margin: 0 !important;
        min-height: auto;
    }

    body.cq-app .cq-profile-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    body.cq-app .cq-kv-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    body.cq-app .navbar-header {
        width: 100%;
    }

    body.cq-app .cq-toolbar .btn,
    body.cq-app .cq-form-actions .btn,
    body.cq-app .cq-form-actions input[type="submit"] {
        width: 100%;
    }

    body.cq-app .cq-actions-cell {
        white-space: normal;
    }

    body.cq-app .dl-horizontal dt,
    body.cq-app .dl-horizontal dd {
        float: none;
        width: 100%;
        text-align: right;
        margin: 0;
    }

    body.cq-app .dataTables_wrapper .dataTables_length,
    body.cq-app .dataTables_wrapper .dataTables_filter,
    body.cq-app .dataTables_wrapper .dataTables_info,
    body.cq-app .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: right;
        width: 100%;
        margin: 8px 0;
    }

    body.cq-app .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        display: block;
        margin: 6px 0 0;
    }

    body.cq-app .dataTables_wrapper .dataTables_length select {
        min-height: 44px;
    }
}

body.cq-app .cq-kpi .cq-tile-label {
    font-size: 22px;
    font-weight: 700;
    color: var(--cq-primary-dark);
}

body.cq-app .cq-chart-box {
    position: relative;
    height: 240px;
}

body.cq-app .cq-stats-filter .form-group {
    display: inline-block;
    margin: 0 8px 8px 0;
    vertical-align: middle;
}

body.cq-app .cq-stats-filter .control-label {
    margin-left: 6px;
}

body.cq-app .cq-stats-total {
    display: inline-block;
    margin: 0 12px;
}

body.cq-app .cq-panel .panel-heading a.pull-left,
body.cq-app .cq-panel .panel-heading a.pull-right {
    font-size: 13px;
    font-weight: 600;
    color: var(--cq-primary);
}

body.cq-app .cq-visit-panel .cq-chart-box {
    height: 320px;
}

body.cq-app .cq-visit-tabs {
    margin-top: 12px;
}

body.cq-app .cq-visit-tab-content {
    padding-top: 16px;
}

body.cq-app .cq-visit-empty {
    margin: 24px 0;
    color: var(--cq-muted);
    text-align: center;
}

body.cq-app .cq-chart-caption {
    margin: 0 0 8px;
    color: var(--cq-muted);
    font-size: 12px;
}

body.cq-app .cq-health-panel .panel-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.cq-app .cq-health-status {
    margin-right: auto;
    color: var(--cq-muted);
    font-size: 12px;
    font-weight: 400;
}

body.cq-app .cq-health-error {
    display: none;
    margin-bottom: 12px;
}

body.cq-app .cq-health-card {
    min-height: 142px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    background: var(--cq-surface);
}

body.cq-app .cq-health-title,
body.cq-app .cq-health-detail {
    display: block;
    color: var(--cq-muted);
}

body.cq-app .cq-health-value {
    display: block;
    min-height: 34px;
    margin: 8px 0 2px;
    color: var(--cq-primary-dark);
    font-size: 23px;
}

body.cq-app .cq-health-detail {
    min-height: 20px;
    font-size: 12px;
}

body.cq-app .cq-health-progress {
    height: 8px;
    margin: 12px 0 0;
    background: var(--cq-border);
}

body.cq-app .cq-health-caption {
    margin: 2px 0 0;
}

body.cq-app .cq-sms-body {
    min-width: 260px;
    white-space: pre-wrap;
    word-break: break-word;
}

body.cq-app .cq-sms-status-panel .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.cq-app .cq-sms-refresh {
    margin: 0;
}

body.cq-app .cq-sms-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

body.cq-app .cq-sms-status-card {
    border: 1px solid var(--cq-border);
    border-radius: var(--cq-radius);
    background: #F5F7FA;
    padding: 12px 14px;
    min-height: 72px;
}

body.cq-app .cq-sms-status-label {
    display: block;
    color: var(--cq-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

body.cq-app .cq-sms-check {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    max-width: 420px;
}

body.cq-app .cq-sms-check li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--cq-border);
}

body.cq-app .cq-sms-check li:last-child {
    border-bottom: 0;
}

body.cq-app .cq-sms-error {
    margin: 0 0 8px;
    color: #a94442;
    font-weight: 700;
}

body.cq-app .cq-sms-note {
    margin: 8px 0 0;
    color: var(--cq-muted);
    font-size: 12px;
}

body.cq-app .cq-sms-keys {
    margin-bottom: 0;
}

body.cq-app .cq-sms-keys th,
body.cq-app .cq-sms-keys td {
    vertical-align: middle !important;
}

body.cq-app .cq-sms-keys form {
    margin: 0;
}

body.cq-app .cq-sms-keys .btn {
    min-width: 88px;
}

body.cq-app .cq-sms-connection {
    max-width: 420px;
}

@media (max-width: 991px) {
    body.cq-app .cq-sms-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    body.cq-app .cq-sms-status-grid {
        grid-template-columns: 1fr;
    }
}

body.cq-app .cq-panel .panel-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

body.cq-app .ck.ck-editor,
body.cq-app .ck.ck-editor__main,
body.cq-app .ck.ck-editor__editable,
body.cq-app .cke {
    max-width: 100%;
}

body.cq-app .cq-media-editor {
    max-width: none;
    width: 100%;
    margin: 0 0 24px;
}

body.cq-app .cq-media-editor .cq-panel {
    margin-bottom: 16px;
}

body.cq-app .cq-media-editor .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--cq-primary);
    color: #fff;
    border-bottom: 1px solid var(--cq-primary-dark);
}

body.cq-app .cq-media-editor .panel-heading .btn.float-left {
    float: none !important;
    margin: 0;
    background: #fff;
    color: var(--cq-primary);
    border-color: #fff;
}

body.cq-app .cq-media-editor .panel-heading .btn.float-left:hover,
body.cq-app .cq-media-editor .panel-heading .btn.float-left:focus {
    background: #E8F4FB;
    color: var(--cq-primary-dark);
    border-color: #E8F4FB;
}

body.cq-app .cq-media-editor .form-group > .control-label {
    display: block;
    float: none;
    text-align: right;
    margin-bottom: 6px;
    padding-top: 0;
}

body.cq-app .cq-media-editor .cq-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

body.cq-app .cq-media-editor .cq-check-row .control-label {
    display: inline;
    margin: 0;
    padding-top: 0;
    font-weight: 600;
}

body.cq-app .cq-media-editor .cq-check-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
}

body.cq-app .cq-media-editor textarea.form-control {
    min-height: 96px;
    height: auto;
}

body.cq-app .cq-media-editor input[type="file"].form-control {
    height: auto;
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
}

body.cq-app .cq-media-editor .cq-upload-split {
    margin-left: -8px;
    margin-right: -8px;
}

body.cq-app .cq-media-editor .cq-upload-col {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 8px;
}

body.cq-app .cq-media-editor .cq-upload-col-title {
    font-weight: 700;
    margin-bottom: 6px;
}

body.cq-app .cq-media-editor .cq-preview-frame {
    position: relative;
    width: 100%;
    height: 280px;
    background: #111827;
    border: 1px solid var(--cq-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

body.cq-app .cq-media-editor .cq-preview-empty {
    color: #cbd5e1;
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

body.cq-app .cq-media-editor .cq-preview-frame video,
body.cq-app .cq-media-editor .cq-preview-frame audio,
body.cq-app .cq-media-editor .cq-preview-frame img {
    display: none;
    max-width: 100%;
    max-height: 280px;
}

body.cq-app .cq-media-editor .cq-preview-frame video,
body.cq-app .cq-media-editor .cq-preview-frame img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #000;
}

body.cq-app .cq-media-editor .cq-preview-frame audio {
    width: 90%;
}

body.cq-app .cq-media-editor .cq-file-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
    margin-bottom: 6px;
}

body.cq-app .cq-media-editor .cq-file-meta .cq-upload-link {
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
}

body.cq-app .cq-media-editor .cq-file-trash {
    flex: 0 0 auto;
    padding: 6px 10px;
}

body.cq-app .cq-media-editor .cq-upload-hint {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--cq-muted);
}

body.cq-app .cq-media-editor .cq-media-pair {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: -8px;
    margin-right: -8px;
}

body.cq-app .cq-media-editor .cq-media-pair:before,
body.cq-app .cq-media-editor .cq-media-pair:after {
    display: none;
}

body.cq-app .cq-media-editor .cq-media-pair > [class*="col-"] {
    margin-bottom: 0;
    float: none;
}

@media (min-width: 768px) {
    body.cq-app .cq-media-editor .cq-media-pair {
        flex-wrap: nowrap;
    }

    body.cq-app .cq-media-editor .cq-media-pair > [class*="col-"] {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    body.cq-app .cq-media-editor .cq-pair-equal,
    body.cq-app .cq-media-editor .cq-pair-rows4 {
        align-items: stretch;
    }

    body.cq-app .cq-media-editor .cq-pair-equal > [class*="col-"],
    body.cq-app .cq-media-editor .cq-pair-rows4 > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    body.cq-app .cq-media-editor .cq-pair-equal .cq-panel,
    body.cq-app .cq-media-editor .cq-pair-rows4 .cq-panel {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
        margin-bottom: 16px;
    }

    body.cq-app .cq-media-editor .cq-pair-equal .cq-panel > .panel-body {
        flex: 1 1 auto;
        overflow: auto;
        min-height: 0;
    }
}

body.cq-app .cq-media-editor .cq-import-contact-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #E8F4FB;
    border: 1px solid #c5e0f0;
    border-radius: 4px;
}

body.cq-app .cq-media-editor .cq-import-contact-social-label {
    font-weight: 700;
    color: #0d3d56;
    margin-left: 4px;
}

body.cq-app .cq-media-editor .cq-import-contact-social .form-control {
    max-width: 280px;
    min-width: 140px;
    height: 36px;
    flex: 1 1 140px;
}

body.cq-app .cq-media-editor .cq-import-section .import-btn {
    white-space: nowrap;
}

body.cq-app .cq-media-editor .cq-body-rows4 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.cq-app .cq-media-editor .cq-body-rows4 > .panel-body {
    height: calc(40px + (4 * 54px));
    max-height: calc(40px + (4 * 54px));
    overflow-x: auto;
    overflow-y: auto;
    padding: 0;
}

body.cq-app .cq-media-editor .cq-body-rows4 table {
    margin-bottom: 0;
}

body.cq-app .cq-media-editor .cq-body-rows4 thead th,
body.cq-app .cq-media-editor .cq-body-rows4 thead td {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #E8F4FB;
}

body.cq-app .cq-media-editor .vq-seo-panel > .panel-body {
    flex: 0 1 auto;
    overflow: visible;
}

body.cq-app .cq-media-editor .vq-catalogue-panel,
body.cq-app .cq-media-editor .cq-tile-fill {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.cq-app .cq-media-editor .cq-tile-fill > .panel-body {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
}

body.cq-app .cq-media-editor .cq-seo-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
}

body.cq-app .cq-media-editor .cq-seo-switch input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

body.cq-app .cq-media-editor .cq-form-actions {
    margin: 0 0 16px;
}

body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn,
body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn.btn-primary,
body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn.btn-success {
    display: block;
    width: 100%;
    max-width: none;
    background: var(--cq-accent);
    border-color: var(--cq-accent);
    color: #fff;
}

body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn:hover,
body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn:focus,
body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn.btn-primary:hover,
body.cq-app .cq-media-editor .cq-form-actions #AddMedia_Btn.btn-success:hover {
    background: #0C7366;
    border-color: #0C7366;
    color: #fff;
}

body.cq-app .cq-media-editor .cq-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

body.cq-app .cq-media-editor .cq-upload-link {
    display: inline-block;
    margin-top: 6px;
}

body.cq-app .cq-media-editor .cq-upload-progress {
    margin-top: 4px;
}

body.cq-app .cq-media-editor table thead label {
    margin: 0;
    font-weight: 600;
    display: inline;
}

body.cq-app .cq-media-editor .cq-seo-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.cq-app .cq-media-editor .cq-seo-toggle .checkbox {
    margin: 0;
}

body.cq-app .cq-resume-count {
    margin-top: 8px;
    color: var(--cq-muted);
    font-size: 13px;
}

body.cq-app .cq-resume-count.is-low {
    color: #8A6D3B;
}

body.cq-app .cq-resume-count.is-over {
    color: var(--cq-danger);
    font-weight: 700;
}

body.cq-app .ck.ck-editor__editable {
    min-height: 140px;
}

body.cq-app .tagify {
    width: 100%;
    max-width: 100%;
    --tags-border-color: var(--cq-border);
    --tag-bg: var(--cq-bg);
    --tag-text-color: var(--cq-text);
    --tag-hover: var(--cq-border);
    --tag-remove-btn-color: var(--cq-muted);
}

body.cq-app .tagify-moli {
    width: 100%;
}

body.cq-app .vpd-wrapper,
body.cq-app .vpd-main {
    max-width: 100%;
}

@media (max-width: 767px) {
    body.cq-app .cq-panel .panel-heading .btn.float-left {
        float: none !important;
        margin-top: 8px;
        min-height: 44px;
    }

    body.cq-app .dataTables_wrapper .dataTables_filter,
    body.cq-app .dataTables_wrapper .dataTables_length,
    body.cq-app .dataTables_wrapper .dataTables_info,
    body.cq-app .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        text-align: right;
        width: 100%;
        margin: 8px 0;
    }

    body.cq-app .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
    }
}

body.cq-app .cq-user-results {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    border: 1px solid var(--cq-border);
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
}

body.cq-app .cq-user-results button {
    display: block;
    width: 100%;
    text-align: right;
    border: 0;
    border-bottom: 1px solid var(--cq-border);
    background: transparent;
    padding: 10px 12px;
    min-height: 44px;
}

body.cq-app .cq-user-results button:last-child {
    border-bottom: 0;
}

body.cq-app .cq-user-picked {
    margin-top: 8px;
    color: var(--cq-muted);
}

#vqQrStudio .vq-cmyk {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    margin-top: 8px;
}

#vqQrStudio .vq-cmyk-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-weight: 700;
    color: var(--cq-text);
}

#vqQrStudio .vq-cmyk-cell span {
    margin-bottom: 4px;
    font-size: 13px;
}

#vqQrStudio .vq-cmyk-input {
    width: 52px;
    height: 44px;
    padding: 6px 4px;
    text-align: center;
    direction: ltr;
    -moz-appearance: textfield;
    appearance: textfield;
}

#vqQrStudio .vq-cmyk-input::-webkit-outer-spin-button,
#vqQrStudio .vq-cmyk-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#vqQrStudio .vq-cmyk-swatch {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--cq-border);
    background: #000;
    flex: 0 0 44px;
}

body.cq-app .vq-project-top {
    margin-bottom: 8px;
}

body.cq-app .vq-project-top .cq-panel .panel-body {
    padding-bottom: 5mm;
}

@media (min-width: 992px) {
    body.cq-app .vq-project-top.row {
        display: flex;
        align-items: flex-start;
    }

    body.cq-app .vq-project-top.row:before,
    body.cq-app .vq-project-top.row:after {
        display: none;
    }

    body.cq-app .vq-project-top > [class*="col-"] {
        display: flex;
        flex-direction: column;
        float: none;
    }

    body.cq-app .vq-project-top .cq-panel {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 16px;
    }

    body.cq-app .vq-project-top .cq-panel .panel-body {
        flex: 0 0 auto;
        overflow: visible;
        padding-bottom: 5mm;
    }

    body.cq-app .vq-project-top .vq-qr-panel {
        overflow: hidden;
    }

    body.cq-app .vq-project-top .vq-qr-panel .panel-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow: auto;
    }
}

body.cq-app .cq-project-info {
    margin-bottom: 0;
}

body.cq-app .cq-project-info-body > .table {
    margin-bottom: 0;
}

body.cq-app .cq-project-info-body {
    display: flex;
    flex-direction: column;
}

body.cq-app .cq-project-foot {
    margin-top: 5mm;
    padding-top: 0;
}

body.cq-app .cq-project-remain-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    border: 1px solid var(--cq-border);
    border-radius: 8px;
    padding: 6px 10px;
}

body.cq-app .cq-project-remain {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

body.cq-app .cq-project-remain.is-expired {
    color: #B42318;
}

body.cq-app .cq-project-renew {
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 18px;
    line-height: 1.3;
    margin: 0;
}

body.cq-app .cq-project-info th {
    width: 34%;
    white-space: nowrap;
}

body.cq-app .cq-media-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.cq-app .cq-invoice-scroll {
    max-height: 560px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.cq-app .cq-invoice-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F8FAFC;
}

body.cq-app .cq-gift-prize-scroll {
    max-height: 50vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

body.cq-app .cq-gift-prize-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #E8F4FB;
}

body.cq-app .cq-gift-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    max-width: 480px;
}

body.cq-app .cq-gift-search .form-control {
    flex: 1 1 220px;
    min-width: 180px;
}

body.cq-app .cq-gift-winner-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.cq-app .cq-gift-winner-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

body.cq-app .cq-gift-prize-card {
    max-width: 440px;
    margin: 16px auto 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
    border: 1px solid #1193D4;
    border-radius: 16px;
    padding: 20px 18px 16px;
    box-shadow: 0 12px 32px rgba(17, 147, 212, 0.16);
}

body.cq-app .cq-gift-prize-card img {
    display: block;
    max-width: 100%;
    max-height: 96px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 12px;
}

body.cq-app .cq-gift-prize-card h2 {
    text-align: center;
    color: #1193D4;
    font-size: 20px;
    margin: 0 0 16px;
}

body.cq-app .cq-gift-prize-card-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

body.cq-app .cq-gift-prize-card-field label {
    font-size: 13px;
    color: #4A5A68;
}

body.cq-app .cq-gift-prize-card-field input {
    border-radius: 12px;
    border: 1px solid #b7c9d4;
    background: #f7fbfe;
    height: 44px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
    font-size: 14px;
}

body.cq-app .cq-gift-prize-card-desc {
    text-align: center;
    color: #4A5A68;
    font-size: 13px;
    line-height: 1.6;
}

#vqQrStudio {
    display: flex;
    flex-direction: column;
}

#vqQrStudio .vq-qr-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

#vqQrStudio .vq-qr-preview {
    flex: 0 0 200px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

#vqQrStudio .vq-qr-preview img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid var(--cq-border);
    border-radius: 8px;
    background: #fff;
}

#vqQrStudio .vq-qr-preview #vqQrPayload {
    margin-top: 8px;
    word-break: break-all;
    font-size: 12px;
    color: var(--cq-muted);
}

#vqQrStudio .vq-qr-stat {
    margin-top: 10px;
    padding: 0;
    text-align: center;
}

#vqQrStudio .vq-qr-stat-num {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

#vqQrStudio .vq-qr-stat-label {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
}

#vqQrStudio .vq-qr-stat-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--cq-muted);
    line-height: 1.45;
}

#vqQrStudio .vq-qr-settings {
    flex: 1 1 240px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#vqQrStudio .vq-qr-field {
    margin: 0;
}

#vqQrStudio .vq-qr-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 13px;
    color: var(--cq-text);
}

#vqQrStudio .vq-qr-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

#vqQrStudio .vq-qr-options label {
    margin: 0;
    font-weight: 400;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#vqQrStudio .vq-qr-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#vqQrStudio .vq-qr-pair .vq-qr-field {
    flex: 1 1 120px;
}

#vqQrStudio #vqQrDownloadBtn {
    margin-top: 0;
}

#vqQrStudio #vqQrDownloadError {
    margin-top: 0;
    min-height: 0;
}

#vqMediaPreviewBody .video-js {
    width: 100%;
    min-height: 240px;
}

/* Site CMS admin editors */
body.cq-app .cq-cms-item-actions {
    display: inline-block;
    margin-left: 8px;
}

body.cq-app .cq-cms-delete-form {
    display: inline-block;
    vertical-align: top;
    margin-top: 0;
}

body.cq-app .cq-cms-icon-preview {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cq-line, #d9e2ec);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

body.cq-app .cq-cms-icon-preview img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

/* SiteCms hub: equal rows without Bootstrap float gaps */
body.cq-app .cq-cms-hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

body.cq-app .cq-cms-hub-card {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.cq-app .cq-cms-hub-card > .panel-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

body.cq-app .cq-cms-hub-card > .panel-body > p {
    flex: 1 1 auto;
    margin-bottom: 16px;
}

body.cq-app .cq-cms-hub-card > .panel-body > .btn {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 991px) {
    body.cq-app .cq-cms-hub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    body.cq-app .cq-cms-hub {
        grid-template-columns: 1fr;
    }
}

body.cq-app .cq-coin-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    text-align: start;
}

body.cq-app .cq-coin-stat .cq-health-value,
body.cq-app .cq-coin-stat .cq-health-detail {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: start;
}

body.cq-app .cq-coin-actions .panel {
    min-height: 100%;
}

