
:root {
    --gmq-navy: #072f68;
    --gmq-navy-2: #062958;
    --gmq-blue: #1769ed;
    --gmq-blue-2: #0f5ede;
    --gmq-cyan: #17d4df;
    --gmq-bg: #f6f9fd;
    --gmq-card: #ffffff;
    --gmq-text: #102044;
    --gmq-muted: #6f7b94;
    --gmq-border: #dfe6f0;
    --gmq-soft: #eef5ff;
    --gmq-green: #138a72;
    --gmq-orange: #ff7b29;
    --gmq-danger: #c53a36;
    --gmq-shadow: 0 5px 18px rgba(29, 54, 96, .055);
}

html, body { margin: 0 !important; }
body.elementor-page { background: var(--gmq-bg); }
.gmq-app, .gmq-app * { box-sizing: border-box; }

.gmq-app {
    min-height: 100vh;
    width: 100%;
    background: var(--gmq-bg);
    color: var(--gmq-text);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    grid-template-areas: "main sidebar";
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}

.gmq-main {
    grid-area: main;
    min-width: 0;
    padding: 26px 26px 36px;
}

.gmq-sidebar {
    grid-area: sidebar;
    min-height: 100vh;
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    padding: 18px 14px 16px;
    color: #fff;
    background:
        radial-gradient(circle at 30% 12%, rgba(21, 112, 230, .22), transparent 28%),
        linear-gradient(180deg, #07366f 0%, #062d61 48%, #052959 100%);
    box-shadow: -7px 0 24px rgba(15, 45, 91, .08);
}

.gmq-brand {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px 17px;
    border-bottom: 1px solid rgba(255,255,255,.11);
}
.gmq-brand-mark {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #12d6e2, #17a8e6);
    box-shadow: 0 7px 18px rgba(12, 204, 224, .22);
}
.gmq-brand-mark svg { width: 34px; height: 34px; fill: #07366f; }
.gmq-brand strong {
    display: block;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.35px;
}
.gmq-brand small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.68);
    font-size: 10.5px;
    direction: ltr;
    text-align: right;
}

.gmq-nav {
    display: grid;
    gap: 3px;
    padding: 16px 0 12px;
}
.gmq-nav-item {
    min-height: 44px;
    width: 100%;
    display: grid;
    grid-template-columns: 30px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 9px;
    padding: 7px 11px;
    background: transparent;
    color: rgba(255,255,255,.91);
    font: inherit;
    font-weight: 500;
    text-align: right;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease, color .16s ease;
}
.gmq-nav-item:hover {
    background: rgba(255,255,255,.075);
    color: #fff;
}
.gmq-nav-item.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--gmq-blue-2), #1970f4);
    box-shadow: 0 7px 18px rgba(13, 93, 218, .26);
}
.gmq-nav-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #fff;
    font-family: Arial, sans-serif;
}
.gmq-nav-item em {
    min-width: 25px;
    min-height: 21px;
    padding: 1px 7px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(20, 213, 217, .22);
    color: #5cf0eb;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}
.gmq-nav-item .gmq-badge {
    background: #0ba7af;
    color: #fff;
}

.gmq-tenant {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 8px 12px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.gmq-tenant-logo {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #13d5dc, #18a8e2);
    color: #06315f;
    font-weight: 900;
    font-size: 20px;
}
.gmq-tenant strong { display: block; color: #fff; font-size: 12px; }
.gmq-tenant span { display: block; color: rgba(255,255,255,.62); font-size: 10px; }
.gmq-sidebar-footer { padding: 4px 9px 0; }
.gmq-sidebar-footer a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: 11px;
}

.gmq-topbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.gmq-page-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}
.gmq-section-number {
    width: 47px;
    height: 47px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #1c72ef, #075ad9);
    box-shadow: 0 6px 16px rgba(20, 101, 226, .18);
}
.gmq-topbar h1 {
    margin: 0;
    color: var(--gmq-text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}
.gmq-topbar p {
    margin: 4px 0 0;
    color: var(--gmq-muted);
    font-size: 12px;
}
.gmq-user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}
.gmq-avatar {
    width: 47px !important;
    height: 47px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 9px rgba(22, 44, 82, .12);
}
.gmq-user-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}
.gmq-user-copy span {
    display: block;
    color: var(--gmq-muted);
    font-size: 11px;
}
.gmq-user-chevron {
    border: 0;
    background: transparent;
    color: #31527d;
    font-size: 20px;
    cursor: pointer;
}

.gmq-notice {
    margin: 0 0 15px;
    padding: 12px 15px;
    border-radius: 10px;
    background: #ebfbf5;
    border: 1px solid #bdebd8;
    color: #08775e;
    box-shadow: var(--gmq-shadow);
}
.gmq-notice.is-error {
    background: #fff2f1;
    border-color: #f2c6c3;
    color: var(--gmq-danger);
}

.gmq-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin-bottom: 15px;
}
.gmq-card {
    min-height: 128px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 48px;
    grid-template-areas:
        "label icon"
        "value icon"
        "meta meta";
    column-gap: 10px;
    align-items: center;
    padding: 18px 19px 15px;
    background: #fff;
    border: 1px solid var(--gmq-border);
    border-radius: 11px;
    box-shadow: var(--gmq-shadow);
}
.gmq-card-label {
    grid-area: label;
    color: #243454;
    font-size: 13px;
    font-weight: 700;
}
.gmq-card-value {
    grid-area: value;
    color: #0c1d42;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}
.gmq-card-meta {
    grid-area: meta;
    align-self: end;
    color: var(--gmq-muted);
    font-size: 11px;
}
.gmq-card-icon {
    grid-area: icon;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    font-family: Arial, sans-serif;
    background: #eaf7f7;
    color: #0c9b9a;
}
.gmq-card:nth-child(2) .gmq-card-icon { background: #edf4ff; color: #2d73e7; }
.gmq-card:nth-child(3) .gmq-card-icon { background: #fff1e8; color: var(--gmq-orange); }
.gmq-card:nth-child(4) .gmq-card-icon { background: #eaf8f5; color: #0b9a91; }

.gmq-grid {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 15px;
}
.gmq-panel, .gmq-data-panel {
    background: #fff;
    border: 1px solid var(--gmq-border);
    border-radius: 11px;
    box-shadow: var(--gmq-shadow);
}
.gmq-panel { min-height: 310px; padding: 17px; }
.gmq-panel-head, .gmq-data-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}
.gmq-panel-head h2, .gmq-data-head h2 {
    margin: 0;
    color: #15284d;
    font-size: 15px;
    font-weight: 800;
}
.gmq-data-head p {
    margin: 3px 0 0;
    color: var(--gmq-muted);
    font-size: 11px;
}

.gmq-chart-demo {
    min-height: 225px;
    position: relative;
    overflow: hidden;
    border: 1px solid #edf1f6;
    border-radius: 9px;
    background:
        repeating-linear-gradient(to bottom, transparent 0, transparent 43px, #edf1f7 44px),
        #fff;
}
.gmq-chart-line {
    position: absolute;
    left: 5%;
    right: 5%;
    height: 3px;
    border-radius: 999px;
    transform-origin: left center;
    opacity: .9;
}
.gmq-chart-line.one { top: 36%; background: #168f93; transform: rotate(-1deg); }
.gmq-chart-line.two { top: 52%; background: #ff7b29; transform: rotate(.6deg); }
.gmq-chart-line.three { top: 63%; background: #1f67e7; transform: rotate(-.4deg); }
.gmq-chart-line.four { top: 69%; background: #7953de; transform: rotate(.2deg); }
.gmq-chart-caption {
    position: absolute;
    right: 16px;
    top: 12px;
    display: flex;
    gap: 12px;
    color: var(--gmq-muted);
    font-size: 10px;
}
.gmq-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-left: 4px; }

.gmq-empty, .gmq-chart-placeholder {
    min-height: 218px;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--gmq-muted);
    border: 1px dashed #d5deeb;
    border-radius: 9px;
    background: #fbfdff;
}

.gmq-primary-btn, .gmq-secondary-btn, .gmq-danger-btn {
    min-height: 37px;
    border: 0;
    border-radius: 7px;
    padding: 7px 13px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.gmq-primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #1d70ee, #0c5cdc);
    box-shadow: 0 4px 10px rgba(17, 95, 221, .13);
}
.gmq-secondary-btn { color: #263854; background: #eef3f9; }
.gmq-danger-btn { color: var(--gmq-danger); background: #fff0ef; }

.gmq-data-panel { padding: 17px; }
.gmq-table-wrap {
    overflow-x: auto;
    border: 1px solid #e7ecf3;
    border-radius: 9px;
}
.gmq-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}
.gmq-table th, .gmq-table td {
    padding: 12px 13px;
    border-bottom: 1px solid #e8edf4;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}
.gmq-table th {
    color: #6e7c95;
    background: #fbfcfe;
    font-size: 11px;
    font-weight: 700;
}
.gmq-table td {
    color: #263854;
    font-size: 12px;
}
.gmq-table tr:last-child td { border-bottom: 0; }
.gmq-table tbody tr:hover { background: #fbfdff; }

.gmq-actions { display: flex; gap: 9px; }
.gmq-actions button {
    border: 0;
    background: transparent;
    color: #1765d9;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    padding: 3px;
}
.gmq-actions button[data-action="delete"] { color: var(--gmq-danger); }

.gmq-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    color: #08745c;
    background: #e8f8f2;
    font-size: 10px;
}
.gmq-status.inactive, .gmq-status.archived { color: #6a7385; background: #f1f3f6; }
.gmq-status.completed { color: #2557b8; background: #edf3ff; }

.gmq-placeholder {
    min-height: 480px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--gmq-border);
    border-radius: 11px;
    box-shadow: var(--gmq-shadow);
}
.gmq-placeholder h2 { margin: 0 0 8px; font-size: 18px; }
.gmq-placeholder p { max-width: 760px; margin: 0; color: var(--gmq-muted); line-height: 2; }
.gmq-loading { padding: 80px 20px; text-align: center; color: var(--gmq-muted); }

.gmq-modal[hidden] { display: none; }
.gmq-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 22px;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
.gmq-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 24, 53, .55);
    backdrop-filter: blur(3px);
}
.gmq-modal-card {
    position: relative;
    width: min(650px,100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 22px;
    direction: rtl;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.gmq-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.gmq-modal-head h2 { margin: 0; font-size: 17px; }
.gmq-icon-btn {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 8px;
    background: #f1f4f8;
    color: #52627d;
    font-size: 20px;
    cursor: pointer;
}
.gmq-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.gmq-field { display: grid; gap: 6px; }
.gmq-field.is-wide { grid-column: 1/-1; }
.gmq-field label { color: #273753; font-size: 11px; font-weight: 700; }
.gmq-field input, .gmq-field select, .gmq-field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    padding: 9px 11px;
    color: #172946;
    background: #fff;
    font: inherit;
    font-size: 12px;
    outline: none;
}
.gmq-field input:focus, .gmq-field select:focus, .gmq-field textarea:focus {
    border-color: #8cb7f5;
    box-shadow: 0 0 0 3px rgba(35, 111, 225, .08);
}
.gmq-field textarea { min-height: 105px; resize: vertical; }
.gmq-form-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 9px; padding-top: 7px; }

.gmq-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at 88% 10%, rgba(20, 108, 229, .15), transparent 30%),
        linear-gradient(135deg, #f5f9ff, #eef4fb);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
.gmq-login-card {
    width: min(420px,100%);
    padding: 34px;
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 15px;
    box-shadow: 0 20px 55px rgba(20, 52, 98, .11);
}
.gmq-login-logo {
    width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 13px;
    display: grid; place-items: center;
    color: #fff; background: linear-gradient(135deg, #1769ed, #0758cf);
    font-size: 24px; font-weight: 800;
}
.gmq-login-card h1 { margin: 0 0 8px; text-align: center; font-size: 21px; }
.gmq-login-card > p { margin: 0 0 23px; text-align: center; color: var(--gmq-muted); font-size: 12px; line-height: 1.9; }
.gmq-login-card label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; }
.gmq-login-card input[type="text"], .gmq-login-card input[type="password"] {
    width: 100%; min-height: 43px; border: 1px solid #dfe5ee; border-radius: 8px; padding: 8px 11px; font: inherit;
}
.gmq-login-card .login-submit input {
    width: 100%; min-height: 44px; border: 0; border-radius: 8px;
    color: #fff; background: linear-gradient(135deg, #1769ed, #0b5cd7); font: inherit; font-weight: 700; cursor: pointer;
}
.gmq-back-link { display: block; margin-top: 17px; text-align: center; color: #185fbf; text-decoration: none; font-size: 11px; }
.gmq-access-message { max-width: 620px; margin: 70px auto; padding: 24px; text-align: center; line-height: 1.9; background: #fff4f4; border: 1px solid #f0c0be; border-radius: 12px; }

@media (max-width: 1120px) {
    .gmq-app { grid-template-columns: minmax(0,1fr) 245px; }
    .gmq-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 830px) {
    .gmq-app {
        grid-template-columns: 1fr;
        grid-template-areas: "sidebar" "main";
    }
    .gmq-sidebar { position: static; min-height: auto; }
    .gmq-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gmq-tenant { margin-top: 8px; }
    .gmq-main { padding: 18px; }
    .gmq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .gmq-cards { grid-template-columns: 1fr; }
    .gmq-nav { grid-template-columns: 1fr; }
    .gmq-topbar { align-items: flex-start; flex-direction: column; }
    .gmq-user-menu { align-self: flex-end; }
    .gmq-form-grid { grid-template-columns: 1fr; }
}

/* RFQ builder */
.gmq-rfq-help {
    margin: -3px 0 14px;
    padding: 10px 12px;
    border: 1px solid #dce8f8;
    border-radius: 8px;
    background: #f5f9ff;
    color: #59708f;
    font-size: 11px;
}
.gmq-rfq-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gmq-rfq-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-top: 5px;
}
.gmq-rfq-section-title strong { display: block; color: #1b2e50; font-size: 13px; }
.gmq-rfq-section-title span { display: block; margin-top: 2px; color: var(--gmq-muted); font-size: 10px; }
.gmq-rfq-items { display: grid; gap: 9px; }
.gmq-rfq-item {
    display: grid;
    grid-template-columns: minmax(155px,1.6fr) 100px 90px minmax(150px,1.5fr) 34px;
    gap: 8px;
    align-items: end;
    padding: 10px;
    border: 1px solid #e1e8f1;
    border-radius: 9px;
    background: #fbfdff;
}
.gmq-rfq-item .gmq-field { gap: 4px; }
.gmq-rfq-item .gmq-field label { font-size: 10px; }
.gmq-rfq-item .gmq-field input,
.gmq-rfq-item .gmq-field select { min-height: 38px; }
.gmq-rfq-remove {
    width: 34px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: #fff0ef;
    color: var(--gmq-danger);
    font-size: 19px;
    cursor: pointer;
}
.gmq-supplier-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
}
.gmq-supplier-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 9px 11px;
    border: 1px solid #e0e7f0;
    border-radius: 8px;
    background: #fbfdff;
    cursor: pointer;
}
.gmq-supplier-check:hover { border-color: #a9c7f2; background: #f6faff; }
.gmq-supplier-check input { width: 16px; height: 16px; accent-color: var(--gmq-blue); }
.gmq-supplier-check strong { display: block; color: #213554; font-size: 11px; }
.gmq-supplier-check small { display: block; color: var(--gmq-muted); font-size: 9px; margin-top: 1px; }
.gmq-rfq-form textarea { min-height: 86px; }
.gmq-modal-card:has(.gmq-rfq-form) { width: min(920px, 100%); }

@media (max-width: 760px) {
    .gmq-rfq-item { grid-template-columns: 1fr 1fr; }
    .gmq-rfq-material, .gmq-rfq-spec { grid-column: 1 / -1; }
    .gmq-rfq-remove { grid-column: 2; justify-self: end; }
    .gmq-supplier-checks { grid-template-columns: 1fr; }
}


/* Catalog directory enhancements */
.gmq-data-head-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}
.gmq-search-input {
    min-width: 230px;
    height: 38px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    padding: 7px 11px;
    background: #fff;
    color: #1a2c4c;
    font: inherit;
    font-size: 12px;
    outline: none;
}
.gmq-search-input:focus {
    border-color: #8cb7f5;
    box-shadow: 0 0 0 3px rgba(35,111,225,.08);
}
.gmq-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.gmq-type-badge.manufacturer {
    color: #1556a5;
    background: #eaf3ff;
    border: 1px solid #cfe2ff;
}
.gmq-type-badge.supplier {
    color: #08745c;
    background: #eaf8f2;
    border: 1px solid #c8ecdf;
}
.gmq-website-link {
    color: #1464d2;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.gmq-website-link:hover {
    text-decoration: underline;
}
@media (max-width: 650px) {
    .gmq-data-head-actions {
        width: 100%;
    }
    .gmq-search-input {
        min-width: 0;
        width: 100%;
    }
}


/* Advanced detail / filters — 0.4.1 */
.gmq-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.gmq-mini-stat {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 78px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid var(--gmq-border);
    border-radius: 10px;
    box-shadow: var(--gmq-shadow);
}
.gmq-mini-stat-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border-radius: 9px;
    background: #edf5ff;
    color: #1464d2;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.gmq-mini-stat strong {
    display: block;
    color: #102044;
    font-size: 19px;
    line-height: 1.2;
}
.gmq-mini-stat small {
    display: block;
    margin-top: 3px;
    color: #7a879c;
    font-size: 10.5px;
}
.gmq-data-head-rich {
    margin-bottom: 12px;
}
.gmq-rich-section {
    overflow: hidden;
}
.gmq-table-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(420px, 1.8fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    margin: 0 -2px 10px;
    border: 1px solid #e3e9f2;
    border-radius: 9px;
    background: #f9fbfe;
}
.gmq-toolbar-search {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 8px;
}
.gmq-toolbar-search span {
    color: #6f7f98;
    font-size: 18px;
}
.gmq-toolbar-search input {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
    color: #203454;
    font: inherit;
    font-size: 11.5px;
}
.gmq-toolbar-filters {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.gmq-filter-select {
    min-width: 125px;
    max-width: 190px;
    height: 38px;
    padding: 6px 9px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #fff;
    color: #263854;
    font: inherit;
    font-size: 10.8px;
    outline: 0;
}
.gmq-filter-select:focus {
    border-color: #8cb7f5;
    box-shadow: 0 0 0 3px rgba(35,111,225,.07);
}
.gmq-page-size {
    min-width: 92px;
    max-width: 105px;
}
.gmq-toolbar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    white-space: nowrap;
}
.gmq-toolbar-btn {
    min-height: 37px;
    padding: 7px 11px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #fff;
    color: #405372;
    font: inherit;
    font-size: 10.8px;
    font-weight: 600;
    cursor: pointer;
}
.gmq-toolbar-btn:hover {
    background: #f3f7fc;
    border-color: #cbd7e6;
}
.gmq-export-btn {
    color: #135ebc;
    border-color: #cfe0f8;
    background: #f5f9ff;
}
.gmq-active-filter-hint {
    display: flex;
    align-items: center;
    min-height: 35px;
    margin-bottom: 9px;
    padding: 7px 11px;
    color: #6b7a91;
    background: #fbfcfe;
    border: 1px dashed #dce5f0;
    border-radius: 8px;
    font-size: 10.5px;
}
.gmq-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 3px 0;
    color: #748198;
    font-size: 10.8px;
}
.gmq-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gmq-pagination button {
    min-width: 66px;
    height: 32px;
    border: 1px solid #dbe3ee;
    border-radius: 7px;
    background: #fff;
    color: #355173;
    font: inherit;
    font-size: 10.5px;
    cursor: pointer;
}
.gmq-pagination button:disabled {
    opacity: .42;
    cursor: not-allowed;
}
.gmq-pagination span {
    min-width: 78px;
    text-align: center;
}
.gmq-empty-compact {
    min-height: 92px;
}
tr[data-record-row][hidden] {
    display: none !important;
}

@media (max-width: 1280px) {
    .gmq-table-toolbar {
        grid-template-columns: 1fr;
    }
    .gmq-toolbar-actions {
        justify-content: flex-start;
    }
}
@media (max-width: 850px) {
    .gmq-mini-stats {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 560px) {
    .gmq-mini-stats {
        grid-template-columns: 1fr;
    }
    .gmq-toolbar-filters,
    .gmq-toolbar-actions {
        width: 100%;
    }
    .gmq-filter-select {
        max-width: none;
        flex: 1 1 140px;
    }
    .gmq-toolbar-actions {
        flex-wrap: wrap;
    }
    .gmq-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* 0.4.2 power tables */
.gmq-select-col{width:42px;min-width:42px;text-align:center!important}.gmq-select-box{display:inline-grid;place-items:center;width:22px;height:22px;cursor:pointer}.gmq-select-box input{position:absolute;opacity:0;pointer-events:none}.gmq-select-box span{width:16px;height:16px;border:1.5px solid #b8c5d7;border-radius:4px;background:#fff;position:relative}.gmq-select-box input:checked+span{border-color:#1769ed;background:#1769ed}.gmq-select-box input:checked+span:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:10px Arial}
.gmq-bulk-bar{min-height:48px;margin-bottom:10px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #bcd6ff;border-radius:9px;background:#eef5ff;color:#23466f}.gmq-bulk-bar[hidden]{display:none!important}.gmq-bulk-bar>div:first-child{display:flex;align-items:baseline;gap:6px}.gmq-bulk-bar strong{color:#0f5ecf;font-size:18px}.gmq-bulk-actions{display:flex;gap:7px}.gmq-danger-outline{min-height:36px;padding:6px 11px;border:1px solid #efc7c4;border-radius:8px;background:#fff7f6;color:#b6332f;font:600 10.8px inherit;cursor:pointer}
.gmq-view-toggle{height:37px;display:inline-flex;align-items:center;padding:3px;border:1px solid #dce4ee;border-radius:8px;background:#fff}.gmq-view-toggle button{width:31px;height:29px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#6d7d94;cursor:pointer}.gmq-view-toggle button.is-active{color:#115fce;background:#eaf3ff}
.gmq-popover-wrap{position:relative}.gmq-columns-popover{position:absolute;top:calc(100% + 7px);left:0;z-index:60;width:230px;max-height:350px;overflow:auto;padding:10px;background:#fff;border:1px solid #dce4ee;border-radius:10px;box-shadow:0 16px 40px rgba(28,48,82,.14)}.gmq-columns-popover[hidden]{display:none!important}.gmq-popover-title{padding:3px 5px 8px;color:#263b5d;font-size:11px;font-weight:800;border-bottom:1px solid #edf1f5;margin-bottom:6px}.gmq-columns-popover label{min-height:32px;display:flex;align-items:center;gap:8px;padding:5px;border-radius:6px;color:#44546d;font-size:10.8px;cursor:pointer}.gmq-columns-popover label:hover{background:#f6f9fd}.gmq-link-btn{width:100%;margin-top:5px;border:0;background:#f1f6fd;color:#135fbf;border-radius:7px;padding:7px 8px;font:inherit;font-size:10.5px;cursor:pointer}
.gmq-record-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gmq-record-card{min-width:0;padding:14px;background:#fff;border:1px solid #e0e7f0;border-radius:10px;box-shadow:0 5px 16px rgba(28,52,87,.045)}.gmq-record-card[hidden]{display:none!important}.gmq-record-card-head{min-height:35px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid #edf1f5}.gmq-record-card-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173052;font-size:12px}.gmq-record-card-head button{border:0;background:transparent;color:#1563ce;font:inherit;font-size:10px;cursor:pointer}.gmq-record-card-body{display:grid;gap:8px;padding:11px 0}.gmq-record-card-body>div{display:flex;justify-content:space-between;gap:10px}.gmq-record-card-body span{color:#8190a5;font-size:10px}.gmq-record-card-body strong{max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#33455f;font-size:10.5px}.gmq-record-card-actions{display:flex;gap:8px;padding-top:9px;border-top:1px solid #edf1f5}.gmq-record-card-actions button{border:0;background:transparent;color:#1464d2;font:inherit;font-size:10px;cursor:pointer}.gmq-record-card-actions button:last-child{color:#ba3935}
.gmq-details-drawer[hidden]{display:none!important}.gmq-details-drawer{position:fixed;inset:0;z-index:999998;direction:rtl;font-family:'Vazirmatn',Tahoma,Arial,sans-serif}.gmq-drawer-backdrop{position:absolute;inset:0;background:rgba(7,25,52,.33);backdrop-filter:blur(1.5px)}.gmq-drawer-panel{position:absolute;top:0;bottom:0;right:0;width:min(430px,92vw);overflow:auto;padding:20px;background:#fff;box-shadow:-16px 0 45px rgba(10,31,61,.16)}.gmq-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:15px;border-bottom:1px solid #e9eef5}.gmq-drawer-head small{color:#7d8ba0;font-size:10px}.gmq-drawer-head h2{margin:3px 0 0;color:#183253;font-size:18px}.gmq-details-body{display:grid;margin-top:12px}.gmq-detail-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:12px 3px;border-bottom:1px solid #eef2f6}.gmq-detail-row span{color:#8290a5;font-size:10.5px}.gmq-detail-row strong{color:#31445f;font-size:11px;overflow-wrap:anywhere}.gmq-detail-row a{color:#1261c8;text-decoration:none}.gmq-drawer-open{overflow:hidden!important}
@media(max-width:1250px){.gmq-record-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.gmq-record-cards{grid-template-columns:1fr}.gmq-bulk-bar{align-items:flex-start;flex-direction:column}}


/* Supplier Inquiry & Quotation — 0.5.0 */
.gmq-cell-sub { display:block; margin-top:3px; color:#8390a3; font-size:9.5px; font-weight:400; }
.gmq-inline-site { display:inline-flex; margin-right:7px; color:#1262ca; text-decoration:none; font-size:9.5px; font-weight:600; }
.gmq-muted-dash { color:#8b97a8; font-size:10px; }
.gmq-inquiry-badge { display:inline-flex; align-items:center; min-height:25px; padding:3px 9px; border-radius:999px; background:#f0f3f7; color:#5e6d82; font-size:9.8px; font-weight:700; white-space:nowrap; }
.gmq-inquiry-badge.sent,.gmq-inquiry-badge.viewed { background:#eaf3ff; color:#135ebc; }
.gmq-inquiry-badge.responded,.gmq-inquiry-badge.submitted,.gmq-inquiry-badge.accepted { background:#e8f8f2; color:#08745c; }
.gmq-inquiry-badge.expired,.gmq-inquiry-badge.rejected,.gmq-inquiry-badge.cancelled { background:#fff0ef; color:#b63c37; }
.gmq-inquiry-badge.draft,.gmq-inquiry-badge.selected,.gmq-inquiry-badge.pending { background:#f4f2ff; color:#6952b7; }
.gmq-inquiry-actions { flex-wrap:wrap; }
.gmq-inquiry-actions .gmq-quote-action { padding:5px 9px; border-radius:6px; background:#eaf3ff; color:#125fc7; font-weight:700; }
.gmq-inquiry-guide { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-height:44px; margin-bottom:10px; padding:9px 12px; border:1px solid #dbe6f4; border-radius:9px; background:#f8fbff; color:#60718b; font-size:10.5px; }
.gmq-inquiry-guide strong { color:#263b5b; }
.gmq-inquiry-guide span { padding:4px 8px; border-radius:999px; background:#fff; border:1px solid #e2e9f2; }
.gmq-inquiry-guide i { color:#1c69d6; font-style:normal; }

.gmq-modal-card.gmq-modal-wide { width:min(1180px,96vw); }
.gmq-quote-context { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:15px; padding:12px; border-radius:10px; background:linear-gradient(135deg,#f7faff,#eef5ff); border:1px solid #d9e6f7; }
.gmq-quote-context > div { min-width:0; padding:7px 9px; border-left:1px solid #dce7f5; }
.gmq-quote-context > div:last-child { border-left:0; }
.gmq-quote-context span,.gmq-quote-context small { display:block; color:#7b8a9f; font-size:9.5px; }
.gmq-quote-context strong { display:block; margin:3px 0; color:#19385f; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gmq-quote-header-fields { padding-bottom:14px; border-bottom:1px solid #e8edf4; }
.gmq-quote-section-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:17px 0 10px; }
.gmq-quote-section-title strong { color:#183556; font-size:14px; }
.gmq-quote-section-title span { color:#8190a4; font-size:10px; }
.gmq-quote-items { display:grid; gap:10px; }
.gmq-quote-item { display:grid; grid-template-columns:minmax(190px,1.5fr) repeat(6,minmax(100px,.75fr)); gap:9px; align-items:end; padding:12px; border:1px solid #e1e8f1; border-radius:10px; background:#fbfdff; }
.gmq-quote-item-name { align-self:center; min-width:0; }
.gmq-quote-item-name strong { display:block; color:#213a5b; font-size:11.5px; }
.gmq-quote-item-name span { display:block; color:#52729a; font-size:9.5px; margin-top:2px; }
.gmq-quote-item-name small { display:block; color:#8a96a7; font-size:9px; margin-top:5px; line-height:1.55; }
.gmq-quote-item .gmq-field label { font-size:9.5px; }
.gmq-quote-item .gmq-field input { min-height:36px; padding:7px 8px; font-size:10.5px; }
.gmq-quote-item .is-wide { grid-column:1/-1; }
.gmq-quote-line-total { min-height:36px; display:flex; flex-direction:column; justify-content:center; padding:5px 8px; border-radius:7px; background:#eef5ff; }
.gmq-quote-line-total span { color:#728299; font-size:8.8px; }
.gmq-quote-line-total strong { color:#145fbe; font-size:10.5px; }
.gmq-quote-summary { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin:14px 0; padding:11px; border:1px solid #dce6f2; border-radius:10px; background:#f8fbff; }
.gmq-quote-summary > div { padding:8px 10px; border-radius:8px; background:#fff; border:1px solid #e8edf4; }
.gmq-quote-summary span { display:block; color:#7c899b; font-size:9.5px; }
.gmq-quote-summary strong { display:block; margin-top:4px; color:#263e5e; font-size:11px; }
.gmq-quote-summary .gmq-quote-grand { background:linear-gradient(135deg,#0d61d8,#1a73eb); border-color:#0d61d8; }
.gmq-quote-summary .gmq-quote-grand span,.gmq-quote-summary .gmq-quote-grand strong { color:#fff; }
.gmq-quote-summary .gmq-quote-grand strong { font-size:13px; }

@media(max-width:1100px){ .gmq-quote-item{grid-template-columns:repeat(3,minmax(0,1fr));}.gmq-quote-item-name{grid-column:1/-1}.gmq-quote-context{grid-template-columns:repeat(2,minmax(0,1fr));}.gmq-quote-summary{grid-template-columns:repeat(2,minmax(0,1fr));}.gmq-quote-summary .gmq-quote-grand{grid-column:1/-1} }
@media(max-width:650px){ .gmq-quote-item{grid-template-columns:1fr}.gmq-quote-item .is-wide{grid-column:auto}.gmq-quote-context{grid-template-columns:1fr}.gmq-quote-summary{grid-template-columns:1fr}.gmq-quote-summary .gmq-quote-grand{grid-column:auto} }


/* ===== MatQuote 0.5.1 RFQ UX hotfix ===== */

/* Force application chrome to keep the sidebar on the RIGHT even in RTL. */
.gmq-app {
    direction: ltr !important;
    grid-template-columns: minmax(0, 1fr) 292px !important;
    grid-template-areas: "main sidebar" !important;
}
.gmq-main,
.gmq-sidebar {
    direction: rtl;
}

/* Do not clip controls/popovers inside rich sections. */
.gmq-rich-section {
    overflow: visible !important;
}

/* RFQ title/action row */
.gmq-rfq-section-head {
    align-items: center;
    padding: 2px 0 4px;
}
.gmq-create-rfq-btn {
    min-height: 42px !important;
    padding: 9px 16px !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    font-size: 12px !important;
    white-space: nowrap;
}
.gmq-create-rfq-btn span {
    font-size: 17px;
    line-height: 1;
}
.gmq-primary-btn-lg {
    min-height: 44px !important;
    padding: 10px 18px !important;
    font-size: 12px !important;
}

/* Toolbar: search on first row, filters/actions wrap instead of spilling outside the card. */
.gmq-table-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 11px !important;
    margin: 0 0 10px !important;
    overflow: visible !important;
}
.gmq-toolbar-search {
    flex: 1 1 260px !important;
    min-width: 220px !important;
    max-width: none !important;
}
.gmq-toolbar-filters {
    flex: 2 1 520px !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}
.gmq-toolbar-actions {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    white-space: normal !important;
}
.gmq-filter-select {
    flex: 1 1 135px;
    min-width: 125px !important;
    max-width: 190px !important;
}
.gmq-page-size {
    flex: 0 1 105px;
}

/* Keep view-mode buttons entirely inside their own border. */
.gmq-view-toggle {
    flex: 0 0 auto;
    overflow: hidden;
    min-width: 72px;
}
.gmq-view-toggle button {
    flex: 0 0 31px;
    padding: 0 !important;
}

/* Explicit empty state instead of an empty table. */
.gmq-rfq-empty-state {
    min-height: 245px;
    margin-top: 12px;
    padding: 34px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed #cbd8e8;
    border-radius: 11px;
    background: linear-gradient(180deg,#fbfdff 0%,#f6faff 100%);
}
.gmq-rfq-empty-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 13px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #eaf3ff;
    color: #1465d6;
    font-size: 28px;
}
.gmq-rfq-empty-state h3 {
    margin: 0 0 7px;
    color: #173052;
    font-size: 16px;
    font-weight: 800;
}
.gmq-rfq-empty-state p {
    max-width: 590px;
    margin: 0 0 18px;
    color: #728097;
    font-size: 11.5px;
    line-height: 1.9;
}

/* Tooltips-ish clarity for toolbar icon buttons */
.gmq-toolbar-btn,
.gmq-view-toggle button,
.gmq-primary-btn {
    box-sizing: border-box;
}

/* Avoid horizontal application overflow. */
.gmq-main {
    overflow-x: hidden;
}
.gmq-data-panel {
    min-width: 0;
}

/* Tablet/mobile: sidebar becomes top block while preserving readable controls. */
@media (max-width: 1120px) {
    .gmq-app {
        grid-template-columns: minmax(0,1fr) 245px !important;
    }
}
@media (max-width: 830px) {
    .gmq-app {
        grid-template-columns: 1fr !important;
        grid-template-areas: "sidebar" "main" !important;
    }
    .gmq-toolbar-search,
    .gmq-toolbar-filters,
    .gmq-toolbar-actions {
        flex: 1 1 100% !important;
    }
}
@media (max-width: 620px) {
    .gmq-rfq-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .gmq-create-rfq-btn {
        width: 100%;
        justify-content: center;
    }
    .gmq-filter-select {
        max-width: none !important;
        flex: 1 1 100%;
    }
}


/* ===== MatQuote 0.5.2 Global toolbar + RFQ action fix ===== */

/* All data pages: keep toolbar controls inside the card. */
.gmq-data-panel,
.gmq-rich-section,
.gmq-table-toolbar,
.gmq-toolbar-search,
.gmq-toolbar-filters,
.gmq-toolbar-actions {
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.gmq-data-panel,
.gmq-rich-section {
    overflow: visible !important;
}

.gmq-table-toolbar {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(245px, 320px) minmax(0, 1fr) !important;
    grid-template-areas:
        "search filters"
        "actions actions" !important;
    gap: 10px 12px !important;
    align-items: center !important;
    padding: 12px !important;
    margin: 0 0 11px !important;
    border: 1px solid #dce5f0 !important;
    border-radius: 10px !important;
    background: #f8fbff !important;
    overflow: visible !important;
}

.gmq-toolbar-search {
    grid-area: search !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 40px !important;
    margin: 0 !important;
}

.gmq-toolbar-filters {
    grid-area: filters !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.gmq-toolbar-actions {
    grid-area: actions !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding-top: 10px !important;
    margin: 0 !important;
    border-top: 1px solid #e5ebf3 !important;
    white-space: normal !important;
}

.gmq-filter-select,
.gmq-page-size {
    height: 40px !important;
    min-width: 135px !important;
    max-width: 220px !important;
    flex: 1 1 150px !important;
    margin: 0 !important;
}

.gmq-page-size {
    min-width: 100px !important;
    max-width: 120px !important;
    flex: 0 1 120px !important;
}

.gmq-toolbar-btn,
.gmq-toolbar-actions .gmq-primary-btn {
    min-height: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    padding: 7px 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.gmq-toolbar-btn span,
.gmq-export-btn span {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
}

/* Replace the two unclear square icons with clearly labelled Table/Card controls. */
.gmq-view-toggle {
    min-width: 160px !important;
    width: auto !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    flex: 0 0 auto !important;
    padding: 3px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #d7e1ed !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.gmq-view-toggle button {
    width: auto !important;
    min-width: 74px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    flex: 1 1 0 !important;
    padding: 0 9px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    font-size: 10.5px !important;
}

.gmq-view-toggle button span {
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.gmq-view-toggle button.is-active {
    color: #0c5ecb !important;
    background: #e9f2ff !important;
    box-shadow: inset 0 0 0 1px #cfe1fb;
}

.gmq-popover-wrap {
    flex: 0 0 auto !important;
    position: relative !important;
}

.gmq-columns-popover {
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 7px) !important;
    z-index: 100 !important;
}

.gmq-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
}

/* Strong, permanent RFQ creation call-to-action. */
.gmq-rfq-top-cta {
    width: 100%;
    min-height: 74px;
    margin-bottom: 14px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #cfe0f6;
    border-radius: 11px;
    background: linear-gradient(135deg, #f7fbff 0%, #edf5ff 100%);
    box-shadow: 0 5px 16px rgba(25,76,139,.045);
}

.gmq-rfq-top-cta-copy {
    min-width: 0;
}

.gmq-rfq-top-cta-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #17365d;
    font-size: 13px;
    font-weight: 800;
}

.gmq-rfq-top-cta-copy span {
    display: block;
    color: #718097;
    font-size: 10.5px;
    line-height: 1.8;
}

.gmq-rfq-top-create {
    min-width: 190px !important;
    min-height: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
    padding: 9px 17px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    box-shadow: 0 7px 17px rgba(19,95,210,.18) !important;
}

.gmq-rfq-top-create span {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
}

/* Make the section-level RFQ create button consistent too. */
.gmq-create-rfq-btn {
    min-width: 178px !important;
    justify-content: center !important;
}

/* Keep every rich page readable at common laptop widths. */
@media (max-width: 1280px) {
    .gmq-table-toolbar {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "search"
            "filters"
            "actions" !important;
    }
    .gmq-toolbar-search {
        max-width: none !important;
    }
    .gmq-filter-select {
        max-width: none !important;
    }
}

@media (max-width: 760px) {
    .gmq-toolbar-filters,
    .gmq-toolbar-actions {
        width: 100% !important;
    }
    .gmq-filter-select,
    .gmq-page-size {
        min-width: 0 !important;
        max-width: none !important;
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    .gmq-view-toggle,
    .gmq-popover-wrap,
    .gmq-toolbar-actions > .gmq-toolbar-btn,
    .gmq-toolbar-actions > .gmq-primary-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
    .gmq-view-toggle button {
        min-width: 0 !important;
    }
    .gmq-popover-wrap > .gmq-toolbar-btn {
        width: 100% !important;
    }
    .gmq-rfq-top-cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .gmq-rfq-top-create {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* Price comparison module — 0.6.0 */
.gmq-comparison-shell {
    display: grid;
    gap: 14px;
}
.gmq-comparison-selector {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(280px, 1.2fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--gmq-border);
    border-radius: 11px;
    box-shadow: var(--gmq-shadow);
}
.gmq-comparison-selector > div:first-child strong {
    display: block;
    color: #183357;
    font-size: 13px;
    font-weight: 800;
}
.gmq-comparison-selector > div:first-child span {
    display: block;
    margin-top: 3px;
    color: #7a879c;
    font-size: 10.5px;
}
.gmq-comparison-rfq-select {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #fff;
    color: #1f3554;
    font: inherit;
    font-size: 11.5px;
    outline: 0;
}
.gmq-comparison-rfq-select:focus {
    border-color: #87b5f4;
    box-shadow: 0 0 0 3px rgba(23,105,237,.07);
}
.gmq-comparison-selector-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.gmq-comparison-rfq-context {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.gmq-comparison-rfq-context > div {
    min-height: 67px;
    padding: 11px 13px;
    background: #fff;
    border: 1px solid #e0e7f0;
    border-radius: 9px;
    box-shadow: 0 4px 13px rgba(29,54,96,.035);
}
.gmq-comparison-rfq-context span {
    display: block;
    color: #8290a4;
    font-size: 9.8px;
}
.gmq-comparison-rfq-context strong {
    display: block;
    margin-top: 4px;
    color: #203958;
    font-size: 11.5px;
}
.gmq-comparison-warning,
.gmq-comparison-note {
    margin-bottom: 13px;
    padding: 11px 13px;
    border-radius: 9px;
    line-height: 1.9;
    font-size: 10.8px;
}
.gmq-comparison-warning {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #855c08;
    background: #fff9e9;
    border: 1px solid #f1dfab;
}
.gmq-comparison-warning strong { font-size: 11.5px; }
.gmq-comparison-note {
    color: #335a86;
    background: #f1f7ff;
    border: 1px solid #d4e6fb;
}
.gmq-comparison-matrix-panel { overflow: hidden; }
.gmq-comparison-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #e4eaf2;
    border-radius: 9px;
}
.gmq-comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}
.gmq-comparison-table th,
.gmq-comparison-table td {
    min-width: 190px;
    padding: 12px;
    border-left: 1px solid #e8edf4;
    border-bottom: 1px solid #e8edf4;
    text-align: right;
    vertical-align: top;
}
.gmq-comparison-table th:first-child,
.gmq-comparison-table td:first-child { min-width: 250px; }
.gmq-comparison-table th:nth-child(2),
.gmq-comparison-table td:nth-child(2) { min-width: 125px; }
.gmq-comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fbff;
    color: #36506f;
    font-size: 10.5px;
}
.gmq-comparison-table thead th strong,
.gmq-comparison-table thead th span,
.gmq-comparison-table thead th small {
    display: block;
}
.gmq-comparison-table thead th strong { color: #1d385c; font-size: 11.5px; }
.gmq-comparison-table thead th span { margin-top: 3px; color: #1865c8; }
.gmq-comparison-table thead th small { margin-top: 2px; color: #8794a7; font-weight: 400; }
.gmq-comparison-material strong,
.gmq-comparison-material span,
.gmq-comparison-material small {
    display: block;
}
.gmq-comparison-material strong { color: #213a5b; font-size: 11.5px; }
.gmq-comparison-material span { margin-top: 3px; color: #718099; font-size: 10px; }
.gmq-comparison-material small { margin-top: 4px; color: #929daf; font-size: 9.5px; }
.gmq-comparison-requested { color: #405473; font-size: 10.5px; white-space: nowrap; }
.gmq-comparison-price-cell {
    position: relative;
    background: #fff;
}
.gmq-comparison-price-cell.is-best {
    background: linear-gradient(180deg, #f0fbf6 0%, #fbfffd 100%);
    box-shadow: inset 0 0 0 1px #bee9d4;
}
.gmq-comparison-price-cell strong,
.gmq-comparison-price-cell span,
.gmq-comparison-price-cell small {
    display: block;
}
.gmq-comparison-price-cell strong { color: #17385c; font-size: 12.5px; }
.gmq-comparison-price-cell span { margin-top: 5px; color: #4d607a; font-size: 10px; }
.gmq-comparison-price-cell small { margin-top: 4px; color: #8793a5; font-size: 9.5px; }
.gmq-best-tag {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #dff6e9;
    color: #087457;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}
.gmq-no-quote-item { color: #9aa5b5 !important; font-size: 10px !important; }
.gmq-comparison-summary-section {
    padding: 17px;
    background: #fff;
    border: 1px solid var(--gmq-border);
    border-radius: 11px;
    box-shadow: var(--gmq-shadow);
}
.gmq-comparison-supplier-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.gmq-comparison-supplier-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    background: #fff;
}
.gmq-comparison-supplier-card.is-winner {
    border-color: #9fd9bd;
    background: linear-gradient(180deg, #f2fcf7, #fff);
    box-shadow: 0 7px 22px rgba(27,126,88,.08);
}
.gmq-comparison-supplier-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebeff5;
}
.gmq-comparison-supplier-head strong { display: block; color: #1f395b; font-size: 12px; }
.gmq-comparison-supplier-head span { display: block; margin-top: 3px; color: #8490a2; font-size: 9.6px; }
.gmq-comparison-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.gmq-comparison-tags em {
    padding: 3px 7px;
    border-radius: 999px;
    background: #dcf5e8;
    color: #087156;
    font-size: 8.8px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}
.gmq-comparison-tags em.fast { background: #edf4ff; color: #1c5fbd; }
.gmq-comparison-supplier-total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
}
.gmq-comparison-supplier-total span { color: #78879d; font-size: 10px; }
.gmq-comparison-supplier-total strong { color: #123760; font-size: 15px; }
.gmq-comparison-supplier-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
}
.gmq-comparison-supplier-grid > div {
    padding: 8px;
    border-radius: 7px;
    background: #f8fafc;
}
.gmq-comparison-supplier-grid span,
.gmq-comparison-supplier-grid strong { display: block; }
.gmq-comparison-supplier-grid span { color: #8793a6; font-size: 8.8px; }
.gmq-comparison-supplier-grid strong { margin-top: 2px; color: #40516b; font-size: 9.8px; }
.gmq-comparison-terms { margin-top: 10px; padding: 9px; background: #fbfcfe; border: 1px solid #edf1f5; border-radius: 7px; }
.gmq-comparison-terms span { color: #8190a5; font-size: 9px; }
.gmq-comparison-terms p { margin: 4px 0 0; color: #465974; font-size: 9.8px; line-height: 1.8; }
.gmq-comparison-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #edf1f5;
}
.gmq-comparison-card-actions a,
.gmq-comparison-card-actions button {
    border: 0;
    background: transparent;
    color: #1464d2;
    text-decoration: none;
    font: inherit;
    font-size: 9.8px;
    cursor: pointer;
}
.gmq-comparison-empty {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px;
    text-align: center;
}
.gmq-comparison-empty-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #edf5ff;
    color: #1769ed;
    font-size: 25px;
}
.gmq-comparison-empty strong { color: #1d395d; font-size: 14px; }
.gmq-comparison-empty p { max-width: 590px; margin: 0 0 5px; color: #7a8799; font-size: 10.8px; line-height: 1.9; }

@media (max-width: 1280px) {
    .gmq-comparison-selector { grid-template-columns: 1fr; }
    .gmq-comparison-selector-actions { justify-content: flex-start; }
    .gmq-comparison-supplier-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .gmq-comparison-rfq-context { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .gmq-comparison-selector-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .gmq-comparison-selector-actions button { width: 100% !important; }
    .gmq-comparison-supplier-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .gmq-comparison-rfq-context { grid-template-columns: 1fr; }
}


/* === MatQuote 0.7.0: Automation Foundation / Sources === */
.gmq-badge-new{background:#22c55e!important;color:#062b15!important;font-size:9px!important;min-width:auto!important;padding:2px 6px!important;border-radius:999px!important}
.gmq-automation-foundation{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:20px 22px;border:1px solid #cfe1ff;border-radius:18px;background:linear-gradient(135deg,#f7fbff 0%,#eef6ff 100%);box-shadow:0 8px 24px rgba(37,99,235,.06)}
.gmq-automation-foundation>div:first-child{max-width:760px}.gmq-automation-foundation strong{display:block;font-size:16px;color:#14233b;margin:5px 0 7px}.gmq-automation-foundation p{margin:0;color:#607089;line-height:1.9;font-size:13px}.gmq-foundation-kicker{display:inline-flex;padding:4px 9px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:10px;font-weight:800;letter-spacing:.08em}
.gmq-foundation-flow{display:flex;align-items:center;gap:7px;white-space:nowrap;direction:rtl}.gmq-foundation-flow span{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #dbe5f5;color:#30435f;font-size:11px;font-weight:700}.gmq-foundation-flow b{color:#3b82f6;font-weight:900}
.gmq-source-check{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.gmq-source-check b{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;font-size:10px}.gmq-source-check.never{background:#f1f5f9;color:#64748b}.gmq-source-check.never b{background:#cbd5e1;color:#475569}.gmq-source-check.ok{background:#ecfdf5;color:#047857}.gmq-source-check.ok b{background:#10b981;color:#fff}.gmq-source-check.blocked{background:#fff7ed;color:#c2410c}.gmq-source-check.blocked b{background:#f97316;color:#fff}.gmq-source-check.error{background:#fef2f2;color:#b91c1c}.gmq-source-check.error b{background:#ef4444;color:#fff}
.gmq-frequency-badge{display:inline-flex;padding:5px 8px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:11px;color:#475569;font-weight:700;white-space:nowrap}.gmq-type-badge.market{background:#f3e8ff;color:#7e22ce}.gmq-type-badge.other{background:#f1f5f9;color:#475569}
.gmq-source-test-btn{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;font-weight:800!important}.gmq-source-test-btn:hover{background:#dbeafe!important}.gmq-source-test-btn:disabled{opacity:.6;cursor:wait}
@media (max-width:1100px){.gmq-automation-foundation{align-items:flex-start;flex-direction:column}.gmq-foundation-flow{flex-wrap:wrap;white-space:normal}}


/* === MatQuote 0.8.0: source cards, inspector and price bank === */
.gmq-source-check.empty{
    color:#8a6818!important;
    background:#fff8df!important;
    border-color:#f0df9f!important;
}
.gmq-source-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
}
.gmq-source-card{
    padding:0!important;
    overflow:hidden!important;
    border:1px solid #dce6f2!important;
    border-radius:14px!important;
    box-shadow:0 8px 24px rgba(30,55,90,.06)!important;
}
.gmq-source-card-top{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:16px;
    background:linear-gradient(180deg,#fbfdff 0%,#f6f9fd 100%);
    border-bottom:1px solid #e8eef6;
}
.gmq-source-card-title{min-width:0;display:flex;flex-direction:column;gap:3px}
.gmq-source-card-title strong{
    color:#173052;
    font-size:13px;
    line-height:1.55;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.gmq-source-card-title small{color:#7b8ca4;font-size:10.5px}
.gmq-source-card-meta{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    padding:6px 16px;
}
.gmq-source-card-meta>div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-width:0;
    gap:12px;
    padding:10px 0;
    border-bottom:1px dashed #e7edf5;
}
.gmq-source-card-meta>div:nth-child(odd){padding-left:14px}
.gmq-source-card-meta>div:nth-child(even){padding-right:14px;border-right:1px dashed #e7edf5}
.gmq-source-card-meta span{color:#8392a6;font-size:10px}
.gmq-source-card-meta strong{
    color:#344963;
    font-size:10.5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.gmq-source-card-link{
    min-height:42px;
    display:flex;
    align-items:center;
    padding:0 16px;
    background:#fbfcfe;
}
.gmq-source-card-link a{color:#1464d2;text-decoration:none;font-size:10.5px}
.gmq-source-card-link span{color:#9aa7b8;font-size:10.5px}
.gmq-source-card-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    padding:12px 16px 15px!important;
    border-top:1px solid #e8eef6!important;
    background:#fff!important;
}
.gmq-source-card-actions button{
    min-height:34px!important;
    padding:6px 9px!important;
    border:1px solid #dce5f0!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#34506f!important;
    font-size:9.8px!important;
}
.gmq-source-card-actions .gmq-source-test-btn{color:#1661c1!important;background:#f2f7ff!important;border-color:#cee0fb!important}
.gmq-source-card-actions .gmq-source-read-btn{color:#fff!important;background:#1769d1!important;border-color:#1769d1!important}
.gmq-source-card-actions button:last-child{color:#b43c3c!important;background:#fff7f7!important;border-color:#f0d5d5!important}

.gmq-automation-live{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:20px!important;
}
.gmq-foundation-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.gmq-automation-status-line{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin-top:10px;
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:8px;
    background:rgba(255,255,255,.07);
    color:#dbe8f8;
    font-size:10.5px;
}
.gmq-automation-status-line strong{color:#7ee2a8}
.gmq-automation-status-line span{opacity:.92}

/* Inspector dialog */
.gmq-inspector-overlay{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:26px;
    background:rgba(12,25,43,.62);
    backdrop-filter:blur(3px);
}
.gmq-inspector-dialog{
    width:min(980px,96vw);
    max-height:90vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:16px;
    background:#fff;
    box-shadow:0 28px 80px rgba(5,17,34,.28);
    direction:rtl;
}
.gmq-inspector-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px 18px;
    border-bottom:1px solid #e4eaf2;
    background:#f8fbff;
}
.gmq-inspector-head>div{display:flex;flex-direction:column;gap:2px}
.gmq-inspector-head span{color:#7b8da4;font-size:9px;letter-spacing:.08em}
.gmq-inspector-head strong{color:#15304f;font-size:15px}
.gmq-inspector-close{
    width:36px;height:36px;border:1px solid #dce5ef;border-radius:9px;background:#fff;
    color:#50657f;font-size:22px;line-height:1;cursor:pointer
}
.gmq-inspector-body{overflow:auto;padding:18px}
.gmq-inspector-footer{
    display:flex;justify-content:flex-start;gap:8px;padding:12px 18px;border-top:1px solid #e4eaf2;background:#fbfcfe
}
.gmq-inspector-summary{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    margin-bottom:14px;
}
.gmq-inspector-summary>div{
    min-width:0;padding:12px;border:1px solid #e2e9f2;border-radius:10px;background:#fbfdff
}
.gmq-inspector-summary span{display:block;color:#8997aa;font-size:9.5px;margin-bottom:4px}
.gmq-inspector-summary strong{display:block;color:#203955;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gmq-inspector-summary strong.is-good{color:#167645}
.gmq-inspector-summary strong.is-warn{color:#a05d16}
.gmq-inspector-section{margin-top:14px}
.gmq-inspector-section>span{display:block;color:#60748e;font-size:10px;font-weight:700;margin-bottom:6px}
.gmq-inspector-section>strong{color:#213c5c;font-size:12px}
.gmq-inspector-section>p{
    margin:0;padding:10px 12px;border:1px solid #e3eaf3;border-radius:9px;background:#fbfcfe;color:#445a75;
    font-size:10.5px;line-height:1.9
}
.gmq-content-preview{max-height:130px;overflow:auto}
.gmq-preview-table-wrap{
    overflow:auto;border:1px solid #e0e8f1;border-radius:10px;background:#fff
}
.gmq-preview-table{width:100%;border-collapse:collapse;min-width:650px}
.gmq-preview-table th,.gmq-preview-table td{
    padding:10px 12px;border-bottom:1px solid #edf1f6;text-align:right;font-size:10.5px;vertical-align:top
}
.gmq-preview-table th{position:sticky;top:0;background:#f6f9fd;color:#60748e;font-weight:700;z-index:1}
.gmq-preview-table td strong{display:block;color:#263f5d;margin-bottom:3px}
.gmq-preview-table td small{display:block;max-width:480px;color:#8a98aa;line-height:1.6}
.gmq-inspector-note{margin-top:8px;color:#7d8ca0;font-size:10px}

/* Price bank */
.gmq-price-bank-ai-note{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
    padding:16px 18px;
    border:1px solid #dce8f6;
    border-radius:12px;
    background:linear-gradient(135deg,#f2f7ff,#fbfdff);
}
.gmq-price-bank-ai-note>div{min-width:0}
.gmq-price-bank-ai-note span{display:block;color:#1769d1;font-size:9px;font-weight:800;letter-spacing:.08em;margin-bottom:4px}
.gmq-price-bank-ai-note strong{display:block;color:#193654;font-size:13px;margin-bottom:4px}
.gmq-price-bank-ai-note p{margin:0;color:#718198;font-size:10.5px;line-height:1.7}

@media(max-width:1100px){
    .gmq-source-card-grid{grid-template-columns:1fr!important}
    .gmq-inspector-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
    .gmq-automation-live,.gmq-price-bank-ai-note{align-items:flex-start!important;flex-direction:column!important}
    .gmq-source-card-meta{grid-template-columns:1fr}
    .gmq-source-card-meta>div:nth-child(odd),
    .gmq-source-card-meta>div:nth-child(even){padding-left:0;padding-right:0;border-right:0}
    .gmq-inspector-overlay{padding:10px}
    .gmq-inspector-summary{grid-template-columns:1fr 1fr}
}

/* ===== MatQuote 0.9 — site-wide discovery & richer price bank ===== */
.gmq-source-card-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;gap:16px!important;align-items:stretch}
.gmq-source-card{display:flex!important;flex-direction:column!important;min-height:320px!important;padding:18px!important;border:1px solid #e1e9f4!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 28px rgba(29,51,84,.06)!important;overflow:hidden!important}
.gmq-source-card-top{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;margin-bottom:14px!important}
.gmq-source-domain{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:12px;background:#f7faff;border:1px solid #e7eef8;margin-bottom:12px;min-width:0}
.gmq-source-domain span{font-size:10px;color:#8796aa;flex:0 0 auto}.gmq-source-domain a,.gmq-source-domain strong{font-size:11px;color:#1769d1;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:left;min-width:0}
.gmq-source-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.gmq-source-kpis>div{padding:10px 11px;border-radius:12px;background:#fbfcfe;border:1px solid #edf1f6;display:flex;flex-direction:column;gap:3px}.gmq-source-kpis b{font-size:15px;color:#183956}.gmq-source-kpis span{font-size:9.5px;color:#8794a7}
.gmq-source-last-run{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px 12px;color:#8492a5;font-size:10px;border-bottom:1px dashed #e8edf4;margin-bottom:12px}.gmq-source-last-run strong{color:#586b83;font-size:10px;font-weight:600}
.gmq-source-card-actions{margin-top:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.gmq-source-card-actions button{width:100%!important;min-height:38px!important;padding:8px 9px!important;border-radius:10px!important;font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gmq-source-card-actions .gmq-source-discover-btn{color:#27415d!important;background:#f7f9fc!important;border-color:#dfe7f0!important}.gmq-source-card-actions .gmq-source-read-btn{grid-column:span 2;color:#fff!important;background:#1769d1!important;border-color:#1769d1!important;font-weight:700!important}

.gmq-discovered-pages{display:grid;gap:8px;max-height:360px;overflow:auto;padding-left:3px}.gmq-discovered-pages>div{display:grid;grid-template-columns:90px minmax(0,1fr) auto;grid-template-areas:"cat title count" "cat url count";gap:2px 10px;align-items:center;padding:10px 12px;border:1px solid #e8eef6;background:#fbfdff;border-radius:12px}.gmq-discovered-pages span{grid-area:cat;display:inline-flex!important;align-items:center;justify-content:center;background:#eaf3ff;color:#1769d1;border-radius:999px;padding:5px 7px;font-size:9px!important;font-weight:700}.gmq-discovered-pages strong{grid-area:title;color:#314964;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gmq-discovered-pages small{grid-area:url;direction:ltr;text-align:left;color:#91a0b2;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gmq-discovered-pages b{grid-area:count;color:#1464d2;font-size:10px;white-space:nowrap}
.gmq-site-scan-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.gmq-site-scan-summary>div{padding:14px;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#f1f7ff);border:1px solid #dceafe;text-align:center}.gmq-site-scan-summary strong{display:block;font-size:22px;color:#1769d1}.gmq-site-scan-summary span{font-size:10px;color:#73859b}
.gmq-preview-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;max-height:510px;overflow:auto;padding:2px}.gmq-preview-price-card{border:1px solid #e4ebf4;border-radius:14px;padding:12px;background:#fff;box-shadow:0 5px 14px rgba(28,54,84,.04);min-width:0}.gmq-preview-price-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.gmq-preview-price-head>strong{font-size:14px;color:#0c5caa}.gmq-preview-price-card h4{font-size:11.5px;color:#253d58;margin:0 0 7px;line-height:1.7}.gmq-preview-price-card p{font-size:9.5px;color:#8694a6;line-height:1.7;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gmq-preview-price-card>a{font-size:9.5px;color:#1769d1;text-decoration:none}.gmq-preview-specs{display:flex;gap:5px;flex-wrap:wrap}.gmq-preview-specs span{font-size:9px;color:#5f7288;background:#f5f7fa;border-radius:7px;padding:3px 6px}

.gmq-price-category{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:4px 9px;border-radius:999px;background:#eef5ff;color:#1769d1;font-size:9.5px;font-weight:700;white-space:nowrap}
.gmq-price-bank-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 14px;padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,#0d2e50 0%,#174f84 68%,#1769d1 100%);box-shadow:0 14px 34px rgba(18,60,103,.16);color:#fff}.gmq-price-bank-hero>div:first-child{max-width:760px}.gmq-price-bank-hero span{font-size:9px;letter-spacing:.12em;color:#b8dcff;font-weight:800}.gmq-price-bank-hero h2{margin:5px 0 6px;font-size:18px;color:#fff}.gmq-price-bank-hero p{margin:0;color:#d5e7f7;font-size:11px;line-height:1.9}.gmq-price-bank-hero-actions{display:flex;gap:8px;flex-wrap:wrap;flex:0 0 auto}.gmq-price-bank-hero .gmq-toolbar-btn{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important}.gmq-price-bank-hero .gmq-primary-btn{background:#fff!important;color:#155ea8!important;border-color:#fff!important}
.gmq-price-category-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 12px;margin-bottom:2px}.gmq-price-category-card{flex:0 0 145px;text-align:right;padding:11px 12px;border:1px solid #e2eaf4;background:#fff;border-radius:14px;box-shadow:0 6px 18px rgba(30,50,80,.045);cursor:pointer}.gmq-price-category-card:hover{border-color:#bcd6f5;transform:translateY(-1px)}.gmq-price-category-card span{display:block;font-size:10px;color:#6f8299}.gmq-price-category-card strong{display:block;font-size:14px;color:#183c60;margin:4px 0 2px}.gmq-price-category-card small{font-size:9px;color:#95a3b4}
.gmq-price-bank-panel{overflow:hidden}.gmq-price-bank-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px 190px auto;gap:10px;align-items:center;padding:15px 16px;border-bottom:1px solid #edf1f5;background:#fbfcfe}.gmq-price-bank-toolbar select{height:42px;border:1px solid #dfe7f0;border-radius:10px;background:#fff;color:#425a72;padding:0 10px;font-family:inherit;font-size:10.5px}.gmq-price-bank-count{display:flex;flex-direction:column;align-items:flex-end;min-width:100px}.gmq-price-bank-count strong{font-size:16px;color:#1769d1}.gmq-price-bank-count span{font-size:9px;color:#91a0b0}.gmq-price-search{min-width:0!important;width:auto!important}
.gmq-price-table-wrap{overflow:auto;max-height:660px}.gmq-price-table{width:100%;border-collapse:separate;border-spacing:0;min-width:830px}.gmq-price-table th{position:sticky;top:0;z-index:2;background:#f6f9fc;color:#60758d;font-size:10px;font-weight:700;text-align:right;padding:11px 13px;border-bottom:1px solid #e3eaf2}.gmq-price-table td{padding:11px 13px;border-bottom:1px solid #edf1f5;vertical-align:middle;background:#fff}.gmq-price-table tr:hover td{background:#fbfdff}.gmq-price-product strong,.gmq-price-source strong{display:block;font-size:11px;color:#2b435d}.gmq-price-product small,.gmq-price-source small{display:block;font-size:9px;color:#8d9bad;margin-top:3px}.gmq-price-value strong{display:block;font-size:13px;color:#0c5ea9;white-space:nowrap}.gmq-price-value small{display:block;font-size:9px;color:#8e9bad;margin-top:2px}.gmq-price-link{display:inline-flex;padding:6px 9px;border-radius:8px;background:#f1f7ff;color:#1769d1;text-decoration:none;font-size:9.5px;white-space:nowrap}

@media (max-width:1050px){.gmq-price-bank-toolbar{grid-template-columns:1fr 1fr}.gmq-price-search{grid-column:1/-1}.gmq-price-bank-count{align-items:flex-start}.gmq-price-bank-hero{align-items:flex-start;flex-direction:column}.gmq-site-scan-summary{grid-template-columns:1fr 1fr 1fr}}
@media (max-width:680px){.gmq-source-card-grid{grid-template-columns:1fr!important}.gmq-source-card-actions{grid-template-columns:1fr!important}.gmq-source-card-actions .gmq-source-read-btn{grid-column:auto}.gmq-source-kpis{grid-template-columns:1fr 1fr}.gmq-discovered-pages>div{grid-template-columns:1fr;grid-template-areas:"cat" "title" "url" "count"}.gmq-discovered-pages span{justify-self:start}.gmq-site-scan-summary{grid-template-columns:1fr}.gmq-preview-result-grid{grid-template-columns:1fr}.gmq-price-bank-toolbar{grid-template-columns:1fr}.gmq-price-search{grid-column:auto}.gmq-price-bank-count{align-items:flex-start}}


/* =========================================================
   MatQuote 1.1 UX / Product Showcase
   ========================================================= */
.gmq-demo-ribbon{
    margin:0 0 18px;
    padding:11px 14px;
    border:1px solid #d9e7fb;
    background:linear-gradient(135deg,#f7fbff,#eef5ff);
    border-radius:14px;
    display:flex;
    align-items:center;
    gap:12px;
    color:#40546c;
    font-size:12px;
}
.gmq-demo-ribbon strong,.gmq-demo-data-note strong{
    direction:ltr;
    font-family:Arial,sans-serif;
    letter-spacing:.08em;
    color:#1659b7;
    white-space:nowrap;
}
.gmq-demo-data-note{
    margin:0 0 16px;
    padding:11px 14px;
    border-radius:12px;
    background:#fff8e8;
    border:1px solid #f3ddb0;
    display:flex;
    align-items:center;
    gap:12px;
    color:#775c24;
    font-size:12px;
}
.gmq-demo-row-badge{
    display:inline-flex;
    margin-right:6px;
    padding:2px 6px;
    border-radius:999px;
    background:#fff1c7;
    color:#916400;
    font:700 9px/1.4 Arial,sans-serif;
    font-style:normal;
    direction:ltr;
    vertical-align:middle;
}
.gmq-showcase-hero{
    border-radius:24px;
    padding:28px 30px;
    margin-bottom:20px;
    background:
      radial-gradient(circle at 12% 20%,rgba(79,146,255,.22),transparent 30%),
      linear-gradient(135deg,#0a2445,#103a6a 55%,#14578d);
    color:#fff;
    display:flex;
    gap:30px;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 18px 40px rgba(8,42,80,.15);
}
.gmq-showcase-hero>div:first-child{max-width:760px}
.gmq-showcase-eyebrow,.gmq-section-kicker{
    display:block;
    font:700 10px/1.5 Arial,sans-serif;
    direction:ltr;
    letter-spacing:.14em;
    color:#78b5ff;
    margin-bottom:8px;
}
.gmq-showcase-hero h2{font-size:24px;line-height:1.55;margin:0 0 8px;color:#fff}
.gmq-showcase-hero p{font-size:13px;line-height:2;color:#d7e5f4;margin:0}
.gmq-showcase-actions{display:flex;gap:8px;flex-wrap:wrap;min-width:270px;justify-content:flex-end}
.gmq-showcase-hero .gmq-toolbar-btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff}
.gmq-workflow-board,.gmq-module-map,.gmq-showcase-panel,.gmq-user-admin-head{
    background:#fff;border:1px solid #e6edf5;border-radius:18px;padding:20px;margin:18px 0;
    box-shadow:0 8px 24px rgba(24,55,88,.04)
}
.gmq-workflow-track{display:flex;align-items:center;gap:8px;overflow:auto;padding:8px 2px 4px}
.gmq-workflow-track>i{font-style:normal;color:#9fb0c4;font-size:18px;flex:0 0 auto}
.gmq-workflow-step{
    min-width:170px;flex:1;border:1px solid #e1e9f2;background:#fbfdff;border-radius:14px;padding:13px;text-align:right;
    display:grid;grid-template-columns:34px 1fr;grid-template-areas:"n title" "n desc";gap:2px 8px;color:#253b52;cursor:pointer
}
.gmq-workflow-step b{grid-area:n;width:30px;height:30px;border-radius:10px;background:#edf3f9;display:grid;place-items:center;font:700 10px Arial}
.gmq-workflow-step strong{grid-area:title;font-size:12px;direction:ltr;text-align:right}
.gmq-workflow-step span{grid-area:desc;font-size:10px;color:#76899d}
.gmq-workflow-step.is-done{border-color:#cceadd;background:#f5fcf8}.gmq-workflow-step.is-done b{background:#dcf5e8;color:#188553}
.gmq-workflow-step.is-active{border-color:#bbd7ff;background:#f1f7ff}.gmq-workflow-step.is-active b{background:#dbeaff;color:#1f67e7}
.gmq-demo-chip{font:700 9px Arial;direction:ltr;background:#eef5ff;color:#1f67e7;border-radius:999px;padding:5px 9px}
.gmq-dashboard-grid{align-items:stretch}
.gmq-demo-line-chart{height:230px;display:grid;grid-template-columns:45px 1fr;grid-template-rows:1fr 24px;gap:0 8px;margin-top:12px}
.gmq-demo-line-chart svg{width:100%;height:100%;overflow:visible}
.gmq-demo-chart-y{display:flex;grid-row:1;flex-direction:column;justify-content:space-between;font:10px Arial;color:#8fa0b4;padding:2px 0}
.gmq-demo-chart-x{grid-column:2;display:flex;justify-content:space-between;font-size:9px;color:#8fa0b4}
.gmq-line-path{fill:none;stroke:#1f67e7;stroke-width:3}.gmq-area-path{fill:url(#gmqArea)}
.gmq-role-overview{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gmq-role-overview>div{padding:13px;border:1px solid #e9eef5;background:#fafcff;border-radius:13px}
.gmq-role-overview span{font-size:9px;color:#1f67e7}.gmq-role-overview strong{display:block;font-size:12px;margin:3px 0}.gmq-role-overview small{font-size:9px;color:#7b8da0}
.gmq-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gmq-module-card{border:1px solid #e5edf6;background:#fbfdff;border-radius:14px;padding:13px;display:grid;grid-template-columns:34px 1fr 18px;gap:8px;text-align:right;align-items:center;cursor:pointer;color:#263b50}
.gmq-module-card>span{width:34px;height:34px;border-radius:10px;background:#eef5ff;color:#1f67e7;display:grid;place-items:center;font-size:16px}
.gmq-module-card strong{display:block;font-size:11px}.gmq-module-card small{display:block;font-size:9px;line-height:1.8;color:#7a8da0;margin-top:2px}
.gmq-module-card>b{color:#a2b2c2}
.gmq-module-card:hover{border-color:#bcd6fa;background:#f5f9ff;transform:translateY(-1px)}
.gmq-history-controls{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}
.gmq-history-controls>div{min-width:210px;display:flex;flex-direction:column;gap:5px}.gmq-history-controls label{font-size:10px;color:#718398}
.gmq-history-controls select,.gmq-settings-form input,.gmq-settings-form select{height:38px;border:1px solid #dbe5ef;border-radius:10px;background:#fff;padding:0 11px;font:inherit;color:#334a60}
.gmq-history-chart{height:330px;border:1px solid #e7eef5;border-radius:14px;background:linear-gradient(#fbfdff,#fff);padding:14px 15px 8px;margin-bottom:15px}
.gmq-history-chart svg{width:100%;height:280px}.gmq-grid-lines line{stroke:#e8eef5;stroke-width:1}.gmq-history-area{fill:url(#historyArea)}.gmq-history-line{fill:none;stroke:#168f93;stroke-width:3}.gmq-history-chart circle{fill:#168f93;stroke:#fff;stroke-width:3}
.gmq-history-axis{display:flex;justify-content:space-between;font-size:9px;color:#8b9aab}
.gmq-history-table table{width:100%;border-collapse:collapse}.gmq-history-table th,.gmq-history-table td{padding:10px 12px;border-bottom:1px solid #edf1f5;text-align:right;font-size:10px}.gmq-history-table th{color:#6d8094;background:#fafcff}.gmq-up{color:#159562;font-weight:700}.gmq-down{color:#d85858;font-weight:700}
.gmq-report-hero{background:linear-gradient(135deg,#f4f8ff,#fff);border:1px solid #dfebfa;border-radius:18px;padding:22px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.gmq-report-hero span{font:700 9px Arial;direction:ltr;color:#1f67e7}.gmq-report-hero h2{font-size:19px;margin:4px 0}.gmq-report-hero p{font-size:11px;color:#72859a}.gmq-report-hero>div:last-child{display:flex;gap:8px}
.gmq-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gmq-report-card{background:#fff;border:1px solid #e6edf5;border-radius:16px;padding:16px;display:grid;grid-template-columns:42px 1fr;gap:10px;box-shadow:0 6px 18px rgba(30,55,80,.035)}
.gmq-report-icon{width:42px;height:42px;border-radius:12px;background:#eef5ff;display:grid;place-items:center;color:#1f67e7;font-size:18px}
.gmq-report-card em{font:700 8px Arial;color:#7f92a6;direction:ltr}.gmq-report-card h3{font:700 12px Arial;margin:2px 0;color:#243b53;direction:ltr}.gmq-report-card p{font-size:9px;line-height:1.8;color:#7d8fa1;margin:0}
.gmq-report-actions{grid-column:1/-1;display:flex;gap:6px;margin-top:5px}.gmq-report-actions button{border:1px solid #e1e9f2;background:#fafcff;border-radius:8px;padding:6px 9px;font-size:9px;color:#536b82}
.gmq-ai-layout{display:grid;grid-template-columns:230px 1fr;gap:14px;min-height:620px}
.gmq-ai-side,.gmq-ai-chat{background:#fff;border:1px solid #e3eaf2;border-radius:18px;overflow:hidden}
.gmq-ai-side{padding:17px;display:flex;flex-direction:column;gap:7px}.gmq-ai-side>strong{font:700 15px Arial;direction:ltr}.gmq-ai-side>p{font-size:10px;color:#7a8ca0;margin:0 0 8px}.gmq-ai-side button{border:0;background:#f7f9fc;border-radius:10px;padding:9px 10px;text-align:right;font:inherit;font-size:10px;color:#50677e}.gmq-ai-side button.is-active{background:#edf5ff;color:#1f67e7;font-weight:700}.gmq-ai-side hr{border:0;border-top:1px solid #edf1f5;width:100%}.gmq-ai-side small{font:700 8px Arial;color:#9aa9b8;direction:ltr}.gmq-ai-side .gmq-ai-prompt{line-height:1.8;background:#fff;border:1px solid #edf1f5}
.gmq-ai-chat{display:flex;flex-direction:column}.gmq-ai-chat-head{height:64px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.gmq-ai-chat-head>div{display:flex;gap:10px;align-items:center}.gmq-ai-chat-head strong{font:700 12px Arial;direction:ltr;display:block}.gmq-ai-chat-head small{font:9px Arial;color:#8798a9;direction:ltr}.gmq-ai-orb{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#1f67e7,#7f53f0);color:#fff;display:grid;place-items:center}.gmq-ai-online{font:9px Arial;color:#159562;direction:ltr}
.gmq-ai-messages{flex:1;padding:20px;overflow:auto;background:#fbfcfe}.gmq-ai-message{max-width:76%;padding:12px 14px;border-radius:14px;margin-bottom:12px;font-size:10px;line-height:2}.gmq-ai-message.user{margin-right:auto;background:#1f67e7;color:#fff;border-bottom-left-radius:4px}.gmq-ai-message.assistant{background:#fff;border:1px solid #e6edf5;border-bottom-right-radius:4px}.gmq-ai-message p{margin:4px 0}.gmq-ai-message-title{display:flex;gap:6px;align-items:center;color:#1f67e7}.gmq-ai-message-title strong{font:700 10px Arial;direction:ltr}.gmq-ai-tools{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.gmq-ai-tools span{font:8px Arial;direction:ltr;background:#eef5ff;color:#366da9;padding:4px 7px;border-radius:999px}
.gmq-ai-composer{padding:12px;border-top:1px solid #edf1f5;display:grid;grid-template-columns:34px 1fr 40px;gap:7px}.gmq-ai-composer input{border:1px solid #dde6ef;border-radius:10px;padding:0 12px;font:inherit}.gmq-ai-composer button{border:0;border-radius:10px;background:#f0f4f8}.gmq-ai-composer .gmq-ai-send{background:#1f67e7;color:#fff}
.gmq-alert-grid{display:grid;grid-template-columns:1fr;gap:9px;margin-bottom:16px}.gmq-alert-card{background:#fff;border:1px solid #e4ebf3;border-right:4px solid #94a7bb;border-radius:14px;padding:13px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.gmq-alert-card.critical{border-right-color:#e04f5f}.gmq-alert-card.warning{border-right-color:#ed9d31}.gmq-alert-card.info{border-right-color:#3180db}.gmq-alert-icon{width:36px;height:36px;border-radius:12px;background:#f5f7fa;display:grid;place-items:center;font-weight:800}.gmq-alert-card span{font:700 8px Arial;color:#8596a9;direction:ltr}.gmq-alert-card strong{display:block;font-size:11px;margin:2px 0}.gmq-alert-card p,.gmq-alert-card small{font-size:9px;color:#7d8ea0;margin:0}.gmq-alert-card button{border:1px solid #dce6f0;background:#fff;border-radius:8px;padding:7px 10px;font:inherit;font-size:9px}
.gmq-user-admin-head{display:flex;justify-content:space-between;align-items:center}.gmq-user-admin-head h2{margin:0;font-size:16px}.gmq-user-admin-head p{font-size:10px;color:#7c8fa2;margin:3px 0 0}
.gmq-user-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gmq-user-card{background:#fff;border:1px solid #e5edf5;border-radius:14px;padding:13px;display:grid;grid-template-columns:42px 1fr auto 26px;gap:10px;align-items:center}.gmq-user-avatar{width:42px;height:42px;border-radius:50%;background:#eaf3ff;color:#1f67e7;display:grid;place-items:center;font-weight:800}.gmq-user-info strong{display:block;font-size:11px}.gmq-user-info span{font:9px Arial;direction:ltr;color:#1f67e7}.gmq-user-info p{font-size:9px;color:#8495a7;margin:3px 0}.gmq-user-security{text-align:left}.gmq-user-security small{display:block;font:8px Arial;color:#8fa0b1;margin-top:4px;direction:ltr}.gmq-user-card>button{border:0;background:transparent;color:#7890a7}
.gmq-permission-matrix{display:grid;grid-template-columns:1.3fr repeat(4,1fr);border:1px solid #e6edf4;border-radius:12px;overflow:hidden}.gmq-permission-matrix>div{padding:9px;border-bottom:1px solid #edf1f5;border-left:1px solid #edf1f5;text-align:center;font-size:9px}.gmq-permission-matrix .head{background:#f7f9fc;font:700 9px Arial;direction:ltr}.gmq-permission-matrix .label{text-align:right;font-weight:700}
.gmq-settings-layout{display:grid;grid-template-columns:200px 1fr;gap:14px}.gmq-settings-nav,.gmq-settings-content{background:#fff;border:1px solid #e4ebf3;border-radius:17px}.gmq-settings-nav{padding:12px;display:flex;flex-direction:column;gap:5px;align-self:start}.gmq-settings-nav button{border:0;background:transparent;border-radius:9px;padding:9px;text-align:right;font:inherit;font-size:10px;color:#64798e}.gmq-settings-nav button.is-active{background:#edf5ff;color:#1f67e7;font-weight:700}.gmq-settings-content{padding:18px}.gmq-settings-section{padding:8px 0 22px;border-bottom:1px solid #edf1f5;margin-bottom:16px}.gmq-settings-section h2{font-size:14px;margin:0}.gmq-settings-section p{font-size:9px;color:#8394a5;margin:4px 0 14px}.gmq-settings-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gmq-settings-form label{display:flex;flex-direction:column;gap:5px;font-size:9px;color:#687d91}.gmq-setting-switches{display:flex;flex-direction:column;gap:8px}.gmq-setting-switches label{display:flex;align-items:center;justify-content:space-between;border:1px solid #e9eef4;border-radius:12px;padding:11px}.gmq-setting-switches strong{display:block;font:700 10px Arial;direction:ltr}.gmq-setting-switches span{font-size:9px;color:#8192a3}.gmq-setting-switches input{width:34px;height:18px;accent-color:#1f67e7}.gmq-settings-footer{display:flex;gap:8px;justify-content:flex-start}
.gmq-approval-list{display:flex;flex-direction:column;gap:10px}.gmq-approval-item{border:1px solid #e3ebf4;border-radius:14px;padding:14px;display:grid;grid-template-columns:1.4fr 1fr auto;gap:14px;align-items:center}.gmq-approval-main strong{display:block;font-size:11px;margin:6px 0}.gmq-approval-main small{font-size:9px;color:#7e90a2}.gmq-approval-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.gmq-approval-metrics>div{background:#f8fafc;border-radius:9px;padding:8px}.gmq-approval-metrics span{font-size:8px;color:#8596a8;display:block}.gmq-approval-metrics b{font:700 9px Arial;direction:ltr;color:#314b63}.gmq-approval-actions{display:flex;flex-direction:column;gap:5px}.gmq-approval-actions button{white-space:nowrap}
@media(max-width:1100px){
    .gmq-module-grid,.gmq-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gmq-approval-item{grid-template-columns:1fr}.gmq-approval-actions{flex-direction:row}
}
@media(max-width:820px){
    .gmq-showcase-hero,.gmq-report-hero{align-items:flex-start;flex-direction:column}.gmq-showcase-actions{justify-content:flex-start;min-width:0}
    .gmq-module-grid,.gmq-report-grid,.gmq-user-cards{grid-template-columns:1fr}
    .gmq-ai-layout,.gmq-settings-layout{grid-template-columns:1fr}
    .gmq-ai-side,.gmq-settings-nav{display:none}
    .gmq-settings-form,.gmq-role-overview{grid-template-columns:1fr}
    .gmq-demo-ribbon,.gmq-demo-data-note{align-items:flex-start;flex-direction:column;gap:4px}
}

.gmq-demo-source-label{font:700 8px Arial;direction:ltr;background:#fff1c7;color:#8a6500;border:1px solid #f0d790;border-radius:999px;padding:5px 8px;display:inline-flex;align-items:center}

@media(min-width:961px){.gmq-sidebar{max-height:100vh;overflow-y:auto;scrollbar-width:thin}.gmq-nav-item{min-height:40px;padding-top:6px;padding-bottom:6px}.gmq-nav{padding-top:10px}}


/* === MatQuote 1.1 UX refresh === */
.gmq-nav-section{
    margin:10px 10px 4px;
    padding-top:9px;
    border-top:1px solid rgba(255,255,255,.09);
}
.gmq-nav-section:first-of-type{border-top:0;margin-top:4px}
.gmq-nav-section span{
    display:block;
    color:rgba(255,255,255,.48);
    font-size:10px;
    font-weight:700;
    letter-spacing:.02em;
}

.gmq-home-search,
.gmq-friendly-hero,
.gmq-history-query{
    background:#fff;
    border:1px solid var(--gmq-border);
    border-radius:18px;
    padding:24px;
    box-shadow:var(--gmq-shadow);
}
.gmq-home-search{
    display:grid;
    grid-template-columns:minmax(240px,.85fr) minmax(420px,1.4fr);
    gap:18px 28px;
    align-items:center;
}
.gmq-home-search>div:first-child span,
.gmq-friendly-hero>div>span,
.gmq-history-query>div>span{
    color:var(--gmq-blue);
    font-size:11px;
    font-weight:800;
}
.gmq-home-search h2,
.gmq-friendly-hero h2,
.gmq-history-query h2{
    margin:4px 0 6px;
    font-size:22px;
    line-height:1.45;
}
.gmq-home-search p,
.gmq-friendly-hero p,
.gmq-history-query p{margin:0;color:var(--gmq-muted);font-size:12px}
.gmq-home-search-box{
    height:54px;
    display:grid;
    grid-template-columns:30px 1fr auto;
    align-items:center;
    gap:7px;
    border:1px solid #d7e0eb;
    border-radius:14px;
    padding:5px 6px 5px 12px;
    background:#f7f9fc;
}
.gmq-home-search-box:focus-within{border-color:#8ab5f5;background:#fff;box-shadow:0 0 0 3px rgba(23,105,237,.08)}
.gmq-home-search-box span{font-size:21px;color:#71809a}
.gmq-home-search-box input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font:inherit;padding:8px}
.gmq-home-search-box button{
    height:42px;border:0;border-radius:10px;padding:0 18px;background:var(--gmq-blue);color:#fff;font:inherit;font-weight:700;cursor:pointer
}
.gmq-home-category-chips{
    grid-column:1/-1;
    display:flex;gap:8px;flex-wrap:wrap;
}
.gmq-home-category-chips button{
    border:1px solid #dbe3ee;background:#fff;border-radius:999px;padding:7px 13px;color:#46546d;font:inherit;font-size:11px;cursor:pointer
}
.gmq-home-category-chips button:hover{border-color:#9bbcf0;color:var(--gmq-blue);background:#f4f8ff}

.gmq-quick-actions{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin:15px 0;
}
.gmq-quick-action-card{
    border:1px solid var(--gmq-border);
    border-radius:15px;
    background:#fff;
    padding:16px;
    display:grid;
    grid-template-columns:44px 1fr auto;
    gap:11px;
    align-items:center;
    text-align:right;
    cursor:pointer;
    color:var(--gmq-text);
    font:inherit;
    box-shadow:0 3px 13px rgba(29,54,96,.035);
}
.gmq-quick-action-card:hover{transform:translateY(-1px);border-color:#bdd2ef;box-shadow:0 8px 20px rgba(29,54,96,.07)}
.gmq-quick-action-card>span{
    width:44px;height:44px;border-radius:12px;background:#eef5ff;color:var(--gmq-blue);
    display:grid;place-items:center;font-size:23px
}
.gmq-quick-action-card strong{display:block;font-size:13px}
.gmq-quick-action-card small{display:block;color:var(--gmq-muted);font-size:10.5px;margin-top:3px;line-height:1.55}
.gmq-quick-action-card b{color:#9aa7b9;font-size:17px}

.gmq-home-stats{margin-bottom:15px}
.gmq-home-lanes{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.gmq-home-lane{background:#fff;border:1px solid var(--gmq-border);border-radius:16px;padding:17px;box-shadow:var(--gmq-shadow)}
.gmq-lane-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.gmq-lane-head span{font-size:11px;color:var(--gmq-muted)}
.gmq-lane-head strong{font-size:14px}
.gmq-home-lane>button{
    width:100%;border:0;border-top:1px solid #edf1f6;background:#fff;padding:13px 3px;
    display:grid;grid-template-columns:35px 1fr auto;gap:10px;align-items:center;text-align:right;cursor:pointer;font:inherit;color:var(--gmq-text)
}
.gmq-home-lane>button:hover{background:#fafcff}
.gmq-home-lane>button>span{font-size:20px;color:var(--gmq-blue)}
.gmq-home-lane b{display:block;font-size:12px}
.gmq-home-lane small{display:block;color:var(--gmq-muted);font-size:10px;margin-top:2px}
.gmq-home-lane em{font-style:normal;color:var(--gmq-blue);font-size:10.5px}
.gmq-dashboard-status{
    margin-top:15px;background:#fff;border:1px solid var(--gmq-border);border-radius:14px;padding:16px 18px;
    display:flex;align-items:center;justify-content:space-between;gap:16px
}
.gmq-dashboard-status span,.gmq-dashboard-status small{display:block;color:var(--gmq-muted);font-size:10.5px}
.gmq-dashboard-status strong{display:block;font-size:14px;margin:2px 0}

.gmq-material-code,
.gmq-material-code-lg{
    direction:ltr;unicode-bidi:isolate;
    display:inline-flex;align-items:center;
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    border:1px solid #cfe0f7;background:#f0f6ff;color:#0b59c9;border-radius:7px;
    padding:4px 8px;font-size:11px;font-weight:800;letter-spacing:.02em
}
.gmq-material-code-lg{font-size:13px;padding:6px 10px}
.gmq-material-link{
    border:0;background:transparent;padding:0;text-align:right;cursor:pointer;font:inherit;color:var(--gmq-text)
}
.gmq-material-link strong{display:block;color:#0e5cc8;font-size:12px}
.gmq-material-link small{display:block;color:var(--gmq-muted);font-size:9.5px;margin-top:2px}
.gmq-material-link:hover strong{text-decoration:underline}
.gmq-material-card-link{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.gmq-material-card-link>span{font-family:monospace;color:#64748b;font-size:10px}

.gmq-material-detail-hero{
    display:grid;grid-template-columns:1fr auto;gap:18px;
    padding:18px;border:1px solid #dce6f2;border-radius:14px;background:#f8fbff;margin-bottom:13px
}
.gmq-material-detail-hero h3{margin:8px 0 3px;font-size:18px}
.gmq-material-detail-hero p{margin:0;color:var(--gmq-muted);font-size:11px}
.gmq-material-detail-standard{min-width:180px;text-align:left;direction:rtl}
.gmq-material-detail-standard span,.gmq-material-detail-standard small{display:block;color:var(--gmq-muted);font-size:9.5px}
.gmq-material-detail-standard strong{display:block;margin:4px 0;font-size:13px}
.gmq-material-insight-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}
.gmq-material-insight-stats>div{border:1px solid #e2e8f0;border-radius:11px;padding:11px;background:#fff}
.gmq-material-insight-stats span,.gmq-material-insight-stats small{display:block;color:var(--gmq-muted);font-size:9px}
.gmq-material-insight-stats strong{display:block;font-size:13px;margin:3px 0}
.gmq-material-detail-section{border-top:1px solid #e5eaf1;padding:14px 0}
.gmq-material-detail-section h4{margin:0 0 10px;font-size:13px}
.gmq-detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gmq-material-spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gmq-material-spec-grid>div{padding:9px;border-radius:9px;background:#f7f9fc}
.gmq-material-spec-grid span{display:block;color:var(--gmq-muted);font-size:9px}
.gmq-material-spec-grid strong{display:block;font-size:10.5px;margin-top:2px}
.gmq-material-notes{margin-top:9px;padding:11px;border-radius:9px;background:#fffaf2;border:1px solid #f1e4c8}
.gmq-material-notes span{font-size:9px;color:#8a6a35}
.gmq-material-notes p{margin:4px 0 0;font-size:10.5px;line-height:1.75}
.gmq-material-supplier-list{display:grid;gap:7px}
.gmq-material-supplier-list>div{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:9px;border:1px solid #e4e9f0;border-radius:9px}
.gmq-material-supplier-list strong{font-size:10.5px}
.gmq-material-supplier-list small{grid-column:1/-1;color:var(--gmq-muted);font-size:9px}
.gmq-availability{font-size:9px;border-radius:999px;padding:3px 7px;background:#eef2f7}
.gmq-availability.available{background:#e8f7f1;color:#08705b}
.gmq-availability.on_request{background:#fff5df;color:#9a6500}
.gmq-availability.unavailable{background:#fff0ef;color:#b63832}
.gmq-mini-history-table{overflow:auto}
.gmq-mini-history-table table{width:100%;border-collapse:collapse;font-size:9.5px}
.gmq-mini-history-table th,.gmq-mini-history-table td{padding:7px;border-bottom:1px solid #edf1f5;text-align:right;white-space:nowrap}
.gmq-mini-history-table small{display:block;color:var(--gmq-muted)}
.gmq-material-price-list{display:grid;gap:6px}
.gmq-material-price-list>div{display:grid;grid-template-columns:1fr 1fr auto auto;gap:7px;align-items:center;padding:8px;border-bottom:1px solid #edf1f5;font-size:9.5px}
.gmq-material-price-list a{color:var(--gmq-blue);text-decoration:none}

.gmq-friendly-hero{margin-bottom:14px}
.gmq-discovery-hero{display:flex;justify-content:space-between;align-items:center;gap:22px}
.gmq-update-clock{min-width:150px;text-align:center;border:1px solid #d9e5f4;border-radius:13px;padding:11px;background:#f8fbff}
.gmq-update-clock small,.gmq-update-clock span{display:block;color:var(--gmq-muted);font-size:9px}
.gmq-update-clock strong{display:block;color:var(--gmq-blue);font-size:22px;line-height:1.2;margin:3px 0}
.gmq-discovery-box{
    display:grid;grid-template-columns:minmax(280px,1.4fr) minmax(200px,.9fr) auto;gap:10px;align-items:end;
    background:#fff;border:1px solid var(--gmq-border);border-radius:15px;padding:16px;box-shadow:var(--gmq-shadow)
}
.gmq-discovery-field label{display:block;font-size:10px;color:var(--gmq-muted);margin-bottom:5px}
.gmq-discovery-field select,.gmq-history-query-form select{
    width:100%;min-height:45px;border:1px solid #d8e0ea;border-radius:10px;background:#fff;padding:0 10px;font:inherit;color:var(--gmq-text)
}
.gmq-discover-submit{min-height:45px;min-width:130px}
.gmq-trust-strip{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 13px;color:var(--gmq-muted);font-size:9.5px}
.gmq-trust-strip strong{color:var(--gmq-text)}
.gmq-trust-strip span{background:#edf3fb;border-radius:999px;padding:4px 8px}
.gmq-discovery-result{min-height:170px}
.gmq-discovery-empty{display:flex!important;flex-direction:column;gap:4px;min-height:150px;justify-content:center}
.gmq-discovery-empty strong{font-size:13px}
.gmq-discovery-empty span{color:var(--gmq-muted);font-size:10.5px}
.gmq-discovery-summary{
    display:grid;grid-template-columns:1.3fr 1fr .7fr auto;gap:10px;align-items:center;
    background:#fff;border:1px solid var(--gmq-border);border-radius:14px;padding:13px;margin-bottom:10px
}
.gmq-discovery-summary>div{padding:4px 10px;border-left:1px solid #edf1f5}
.gmq-discovery-summary>div:last-of-type{border-left:0}
.gmq-discovery-summary span,.gmq-discovery-summary small{display:block;color:var(--gmq-muted);font-size:9px}
.gmq-discovery-summary strong{display:block;font-size:12px;margin:2px 0}
.gmq-discovery-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gmq-discovery-price-card{background:#fff;border:1px solid var(--gmq-border);border-radius:13px;padding:14px}
.gmq-discovery-price-card.is-primary{border-color:#9ec2f5;box-shadow:0 0 0 2px rgba(23,105,237,.05)}
.gmq-discovery-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gmq-discovery-card-head span{display:block;color:var(--gmq-blue);font-size:9px}
.gmq-discovery-card-head strong{display:block;font-size:11px}
.gmq-discovery-card-head em{font-style:normal;font-size:8.5px;background:#e9f4ff;color:#0d61d3;border-radius:999px;padding:3px 6px}
.gmq-discovery-price-card h3{margin:14px 0 5px;font-size:18px}
.gmq-discovery-price-card p{margin:0;color:#46546d;font-size:10px;min-height:32px}
.gmq-price-meta{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.gmq-price-meta span{font-size:8.5px;background:#f2f5f8;border-radius:6px;padding:3px 6px;color:#64748b}
.gmq-discovery-price-card>a{font-size:9.5px;color:var(--gmq-blue);text-decoration:none}

.gmq-history-query{display:grid;grid-template-columns:1fr minmax(360px,1fr);gap:18px;align-items:center;margin-bottom:13px}
.gmq-history-query-form{display:grid;grid-template-columns:1fr auto;gap:8px}
.gmq-history-live-panel{margin-top:10px}

.gmq-purchase-tier-guide{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.gmq-purchase-tier-guide span,.gmq-purchase-tier{display:inline-flex;border-radius:999px;padding:4px 8px;background:#eef3f8;color:#526176;font-size:9px}
.gmq-purchase-tier.خرد{background:#e8f7f1;color:#08705b}
.gmq-purchase-tier.متوسط{background:#eef5ff;color:#155ec5}
.gmq-purchase-tier.عمده{background:#fff5df;color:#9b6700}
.gmq-purchase-tier.کلان{background:#fff0ef;color:#b63832}
.gmq-field-help{display:block;margin-top:4px;color:var(--gmq-muted);font-size:8.5px;line-height:1.6}

.gmq-matrix-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gmq-matrix-picker>section{background:#fff;border:1px solid var(--gmq-border);border-radius:14px;padding:13px}
.gmq-picker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.gmq-picker-head strong{font-size:12px}.gmq-picker-head small{font-size:9px;color:var(--gmq-muted)}
.gmq-picker-list{max-height:300px;overflow:auto;display:grid;gap:4px}
.gmq-picker-list label{display:flex;align-items:center;gap:8px;border-radius:8px;padding:7px;cursor:pointer}
.gmq-picker-list label:hover{background:#f5f8fc}
.gmq-picker-list span{font-size:10px}.gmq-picker-list b{display:inline-block;direction:ltr;margin-left:5px;color:#6a7890;font-family:monospace;font-size:9px}
.gmq-matrix-run{display:flex;align-items:center;gap:12px;margin:11px 0}
.gmq-matrix-run span{color:var(--gmq-muted);font-size:9px}
.gmq-matrix-table-wrap{overflow:auto;background:#fff;border:1px solid var(--gmq-border);border-radius:14px}
.gmq-matrix-table{border-collapse:collapse;width:100%;min-width:800px}
.gmq-matrix-table th,.gmq-matrix-table td{border-bottom:1px solid #edf1f5;border-left:1px solid #edf1f5;padding:10px;text-align:center;font-size:9.5px}
.gmq-matrix-table thead th{background:#f7f9fc;min-width:150px}
.gmq-matrix-table thead span,.gmq-matrix-table tbody small{display:block;color:var(--gmq-muted);font-size:8px}
.gmq-matrix-table tbody th{text-align:right;position:sticky;right:0;background:#fff;z-index:2}
.gmq-matrix-table select{width:100%;min-width:120px;border:1px solid #d8e0ea;border-radius:8px;padding:6px;background:#fff;font:inherit;font-size:9px}
.gmq-matrix-table td small{min-height:14px;margin-top:3px}

.gmq-access-user-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.gmq-access-user-card{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;background:#fff;border:1px solid var(--gmq-border);border-radius:13px;padding:13px}
.gmq-access-user-card strong{display:block;font-size:11px}.gmq-access-user-card span{display:block;color:var(--gmq-muted);font-size:9px}.gmq-access-user-card p{margin:4px 0 0;font-size:9px;color:#56647b}
.gmq-access-module-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:10px;background:#f7f9fc;border-radius:10px}
.gmq-access-module-checks label{display:flex;align-items:center;gap:6px;font-size:10px}

@media (max-width: 1100px){
    .gmq-home-search{grid-template-columns:1fr}
    .gmq-home-search form,.gmq-home-category-chips{grid-column:1}
    .gmq-quick-actions{grid-template-columns:repeat(2,1fr)}
    .gmq-discovery-cards{grid-template-columns:repeat(2,1fr)}
    .gmq-discovery-summary{grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
    .gmq-quick-actions,.gmq-home-lanes,.gmq-matrix-picker,.gmq-access-user-grid,.gmq-discovery-cards,.gmq-material-spec-grid{grid-template-columns:1fr}
    .gmq-home-search{padding:17px}
    .gmq-discovery-box{grid-template-columns:1fr}
    .gmq-history-query{grid-template-columns:1fr}
    .gmq-history-query-form{grid-template-columns:1fr}
    .gmq-discovery-hero{display:block}
    .gmq-update-clock{margin-top:10px}
    .gmq-discovery-summary{grid-template-columns:1fr}
    .gmq-material-detail-hero{grid-template-columns:1fr}
    .gmq-material-detail-standard{text-align:right}
    .gmq-material-insight-stats{grid-template-columns:1fr 1fr}
}

.gmq-material-catalog-intro{
    margin-bottom:12px;padding:16px 18px;background:#fff;border:1px solid var(--gmq-border);border-radius:15px;box-shadow:var(--gmq-shadow)
}
.gmq-material-catalog-intro>div:first-child>span{display:block;color:var(--gmq-blue);font-size:10px;font-weight:800}
.gmq-material-catalog-intro>div:first-child>strong{display:block;font-size:15px;margin:2px 0}
.gmq-material-catalog-intro p{margin:0;color:var(--gmq-muted);font-size:10px}
.gmq-material-group-strip{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.gmq-material-group-strip button{border:1px solid #dbe3ee;background:#f8fafc;border-radius:999px;padding:6px 10px;font:inherit;font-size:9.5px;color:#48566d;cursor:pointer}
.gmq-material-group-strip button:hover{background:#eef5ff;color:#0f5ede;border-color:#b8d0f3}
.gmq-material-group-strip b{margin-right:4px;background:#fff;border-radius:999px;padding:1px 5px;color:#6e7a90}

/* MatQuote 1.2 — taxonomy, procurement workbench, auto coverage, live settings */
.gmq-taxonomy-browser{margin:0 0 18px;background:#fff;border:1px solid #e4e9ef;border-radius:18px;overflow:hidden}.gmq-taxonomy-browser summary{cursor:pointer;padding:15px 18px;font-weight:800;color:#15334a;background:#f8fafc}.gmq-taxonomy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.gmq-taxonomy-grid article{border:1px solid #e6ebf0;border-radius:16px;padding:15px;background:#fbfcfd}.gmq-taxonomy-grid article>span{display:inline-flex;font-size:11px;background:#eaf6f5;color:#0d7377;border-radius:999px;padding:4px 9px}.gmq-taxonomy-grid h3{margin:9px 0 12px;font-size:16px;color:#142b3d}.gmq-taxonomy-grid article div{padding:8px 0;border-top:1px dashed #e3e8ed}.gmq-taxonomy-grid article div:first-of-type{border-top:0}.gmq-taxonomy-grid article strong{display:block;font-size:13px;color:#25465e}.gmq-taxonomy-grid article p{margin:4px 0 0;font-size:12px;line-height:1.8;color:#667a89}

.gmq-procurement-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;margin-bottom:18px;border-radius:22px;background:linear-gradient(135deg,#f5fbfb,#f8faff);border:1px solid #dfeaec}.gmq-procurement-hero span{font-size:11px;letter-spacing:.08em;color:#0c7b7e;font-weight:800}.gmq-procurement-hero h2{margin:6px 0 7px;font-size:23px;color:#132f43}.gmq-procurement-hero p{margin:0;max-width:760px;color:#607786;line-height:1.9}.gmq-procurement-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gmq-procurement-card{background:#fff;border:1px solid #e3e9ee;border-radius:20px;padding:18px;box-shadow:0 8px 26px rgba(20,45,65,.045)}.gmq-procurement-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.gmq-procurement-card-head>div>span{font-size:11px;font-weight:800;color:#198489}.gmq-procurement-card-head h3{margin:4px 0;font-size:17px;color:#16364d}.gmq-procurement-card-head p{margin:0;font-size:12px;color:#7a8d99}.gmq-procurement-progress{margin:14px 0}.gmq-procurement-progress>div{height:8px;border-radius:99px;background:#edf1f4;overflow:hidden}.gmq-procurement-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0e8b8d,#38a3a5)}.gmq-procurement-progress span{display:block;margin-top:6px;font-size:11px;color:#708492}.gmq-procurement-suppliers{display:grid;gap:8px}.gmq-procurement-supplier{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #edf0f3;border-radius:14px;background:#fafcfd}.gmq-procurement-supplier>div:first-child{display:flex;flex-direction:column;gap:4px}.gmq-procurement-supplier>div:last-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.gmq-procurement-supplier strong{font-size:13px;color:#1f4056}.gmq-procurement-supplier span,.gmq-procurement-supplier b{font-size:11px}.gmq-procurement-supplier button{border:1px solid #dbe3e8;background:#fff;border-radius:9px;padding:6px 8px;font-size:11px;cursor:pointer}.gmq-procurement-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:13px;border-top:1px solid #edf1f3}

.gmq-auto-matrix td{min-width:160px;vertical-align:top}.gmq-coverage-state{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.gmq-coverage-state.available{background:#e8f7ef;color:#197245}.gmq-coverage-state.on_request{background:#fff5db;color:#8b6411}.gmq-coverage-state.unavailable{background:#fdecec;color:#a33d3d}.gmq-coverage-state.unknown{background:#edf1f4;color:#647783}.gmq-coverage-confidence,.gmq-coverage-no-evidence,.gmq-coverage-evidence{display:block;margin-top:7px;font-size:10px;color:#718794}.gmq-coverage-evidence{color:#117c80;text-decoration:none;font-weight:700}.gmq-auto-matrix th a{display:block;margin-top:5px;font-size:10px;color:#147a7d;text-decoration:none}

.gmq-settings-live-note{display:flex;gap:10px;align-items:center;padding:12px 14px;margin-bottom:15px;border-radius:13px;background:#eaf7ef;border:1px solid #cce8d6;color:#285944}.gmq-settings-live-note strong{white-space:nowrap}.gmq-settings-live-note span{font-size:12px}.gmq-settings-checks{display:flex;gap:8px;flex-wrap:wrap}.gmq-settings-checks label{display:flex!important;align-items:center;gap:6px!important;border:1px solid #dde5ea;border-radius:10px;padding:8px 10px!important;background:#fff}.gmq-settings-security-note{margin-top:13px;padding:12px 14px;border-radius:12px;background:#fff8e8;color:#6e5b25;font-size:12px;line-height:1.8;border:1px solid #f0dfad}

@media(max-width:1100px){.gmq-procurement-board,.gmq-taxonomy-grid{grid-template-columns:1fr}}@media(max-width:720px){.gmq-procurement-hero{align-items:stretch;flex-direction:column}.gmq-procurement-supplier{align-items:flex-start;flex-direction:column}.gmq-procurement-supplier>div:last-child{justify-content:flex-start}.gmq-taxonomy-grid{padding:10px}.gmq-settings-layout{grid-template-columns:1fr!important}.gmq-settings-nav{display:flex!important;overflow:auto;gap:6px}.gmq-settings-nav button{white-space:nowrap}}
.gmq-procurement-flags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.gmq-procurement-flags em{font-style:normal;font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;background:#fff4dd;color:#875400;border:1px solid #f0d39a}

/* MatQuote 1.3 — Enterprise visual system
 * Inspired by UI/UX Pro Max priorities: accessibility, predictable interaction,
 * restrained product styling, responsive layouts, semantic feedback and low-motion polish.
 */
:root{
    --gmq-navy:#102a43;
    --gmq-navy-2:#0b2239;
    --gmq-blue:#2563eb;
    --gmq-blue-2:#1d4ed8;
    --gmq-cyan:#0f8b8d;
    --gmq-bg:#f4f6f8;
    --gmq-card:#ffffff;
    --gmq-text:#172b4d;
    --gmq-muted:#66758a;
    --gmq-border:#e1e7ef;
    --gmq-soft:#f3f7fd;
    --gmq-green:#18794e;
    --gmq-orange:#b76e00;
    --gmq-danger:#b42318;
    --gmq-shadow:0 1px 2px rgba(16,42,67,.035),0 7px 24px rgba(16,42,67,.045);
    --gmq-shadow-raised:0 10px 28px rgba(16,42,67,.09);
    --gmq-radius:12px;
    --gmq-radius-sm:9px;
    --gmq-focus:0 0 0 3px rgba(37,99,235,.16);
}

.gmq-app{
    grid-template-columns:minmax(0,1fr) 276px;
    background:var(--gmq-bg);
    font-size:14px;
    line-height:1.7;
}
.gmq-main{padding:22px 28px 38px}
.gmq-view{max-width:1500px;margin-inline:auto}

/* Calm, corporate navigation */
.gmq-sidebar{
    padding:16px 12px 14px;
    background:linear-gradient(180deg,#102f51 0%,#0d2947 56%,#0a223c 100%);
    box-shadow:-1px 0 0 rgba(9,30,66,.12);
}
.gmq-brand{min-height:72px;padding:6px 10px 14px;border-bottom-color:rgba(255,255,255,.09)}
.gmq-brand-mark{
    width:42px;height:42px;flex-basis:42px;border-radius:10px;
    background:#fff;box-shadow:none;border:1px solid rgba(255,255,255,.3)
}
.gmq-brand-mark svg{width:29px;height:29px;fill:#153a62}
.gmq-brand strong{font-size:21px;letter-spacing:-.2px}
.gmq-brand small{font-size:10px;color:rgba(255,255,255,.6)}
.gmq-nav{gap:2px;padding-top:13px}
.gmq-nav-section{padding:13px 11px 5px!important;color:rgba(255,255,255,.43)!important}
.gmq-nav-section span{font-size:9.5px!important;font-weight:700!important;letter-spacing:.02em}
.gmq-nav-item{
    min-height:44px;border-radius:9px;padding:7px 10px;gap:8px;
    color:rgba(255,255,255,.82);font-weight:550;
    transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.gmq-nav-item:hover{background:rgba(255,255,255,.07);color:#fff;transform:none}
.gmq-nav-item.is-active{
    background:rgba(255,255,255,.12);color:#fff;
    box-shadow:inset 3px 0 0 #60a5fa,0 1px 1px rgba(0,0,0,.04)
}
.gmq-nav-icon{width:28px;height:28px;font-size:0;color:currentColor}
.gmq-nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gmq-nav-item em{font-size:9.5px;min-width:23px;min-height:20px;background:rgba(96,165,250,.14);color:#bfdbfe}
.gmq-tenant{padding:13px 8px 10px}
.gmq-tenant-logo{width:36px;height:36px;border-radius:9px;background:#fff;color:#153a62;font-size:17px}

/* Header: clearer hierarchy, less decoration */
.gmq-topbar{
    min-height:68px;margin-bottom:18px;padding-bottom:14px;
    border-bottom:1px solid var(--gmq-border);
}
.gmq-page-heading{gap:11px}
.gmq-section-number{
    width:40px;height:40px;border-radius:10px;background:#eaf1ff;color:#1d4ed8;
    box-shadow:none;border:1px solid #d6e4ff;font-size:17px
}
.gmq-topbar h1{font-size:22px;letter-spacing:-.15px}
.gmq-topbar p{font-size:11.5px;margin-top:3px}
.gmq-avatar{width:42px!important;height:42px!important;border:1px solid #fff;box-shadow:0 1px 4px rgba(16,42,67,.1)}
.gmq-user-copy strong{font-size:12.5px}.gmq-user-copy span{font-size:10.5px}
.gmq-user-chevron{width:44px;height:44px;border-radius:9px;background:#fff;border:1px solid var(--gmq-border);font-size:17px}

/* Surfaces */
.gmq-card,.gmq-panel,.gmq-data-panel,.gmq-home-lane,.gmq-dashboard-status,
.gmq-record-card,.gmq-material-catalog-intro,.gmq-taxonomy-browser,
.gmq-procurement-card,.gmq-matrix-picker>section,.gmq-matrix-table-wrap,
.gmq-access-user-card,.gmq-discovery-box,.gmq-discovery-price-card{
    border-color:var(--gmq-border)!important;
    box-shadow:var(--gmq-shadow)!important;
}
.gmq-card,.gmq-panel,.gmq-data-panel{border-radius:var(--gmq-radius)}
.gmq-card{min-height:116px;padding:16px 17px 14px}
.gmq-card-label{font-size:12px;color:#344563}.gmq-card-value{font-size:25px;color:#172b4d}.gmq-card-meta{font-size:10.5px}
.gmq-panel-head h2,.gmq-data-head h2{font-size:15px;color:#172b4d}

/* Homepage search + primary actions */
.gmq-home-search{
    background:#fff!important;border:1px solid var(--gmq-border)!important;border-radius:14px!important;
    box-shadow:var(--gmq-shadow)!important;padding:18px 20px!important
}
.gmq-home-search>div:first-child>span{color:#2563eb!important;font-size:10px!important;letter-spacing:.04em}
.gmq-home-search h2{font-size:19px!important;margin:3px 0!important}
.gmq-home-search p{font-size:11px!important}
.gmq-home-search-box{height:50px;border-radius:10px;background:#fff;border-color:#d5dde8}
.gmq-home-search-box button{height:44px;border-radius:8px;background:#2563eb;padding-inline:18px}
.gmq-home-category-chips button,.gmq-material-group-strip button{
    min-height:34px;border-radius:8px;background:#fff;color:#526174;padding:6px 11px
}
.gmq-home-category-chips button:hover,.gmq-material-group-strip button:hover{background:#f4f7fb;border-color:#aebfd6;color:#1d4ed8}
.gmq-quick-actions{gap:10px}
.gmq-quick-action-card{
    border-radius:12px;padding:14px;grid-template-columns:40px 1fr auto;
    box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease
}
.gmq-quick-action-card:hover{transform:none;border-color:#b9c8da;box-shadow:0 5px 16px rgba(16,42,67,.055);background:#fcfdff}
.gmq-quick-action-card>span{width:40px;height:40px;border-radius:9px;background:#eff5ff;color:#2563eb;font-size:19px}
.gmq-quick-action-card strong{font-size:12.5px}.gmq-quick-action-card small{font-size:10px}
.gmq-home-lane{border-radius:12px;padding:15px}
.gmq-home-lane>button{min-height:58px;border-radius:8px;padding:10px 7px;margin:1px 0;border-top:0;border-bottom:1px solid #edf1f5}
.gmq-home-lane>button:hover{background:#f7f9fc}
.gmq-dashboard-status{border-radius:12px;padding:14px 16px}

/* Buttons: one visual language, ≥44px targets for primary interaction */
.gmq-primary-btn,.gmq-secondary-btn,.gmq-danger-btn,.gmq-toolbar-btn,
.gmq-form-actions button,.gmq-procurement-supplier button,.gmq-discover-submit{
    min-height:44px!important;border-radius:9px!important;padding:8px 14px!important;
    font-size:11.5px!important;font-weight:650!important;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important
}
.gmq-primary-btn{background:#2563eb!important;box-shadow:0 1px 2px rgba(37,99,235,.18)!important}
.gmq-primary-btn:hover{background:#1d4ed8!important;box-shadow:0 4px 12px rgba(37,99,235,.16)!important}
.gmq-secondary-btn{background:#f3f6fa;color:#344563}
.gmq-toolbar-btn{background:#fff!important;border:1px solid #d5dde8!important;color:#344563!important}
.gmq-toolbar-btn:hover{background:#f7f9fc!important;border-color:#aebfd6!important;color:#172b4d!important;transform:none!important}
.gmq-danger-btn{background:#fff1f0;color:#b42318}
.gmq-icon-btn{width:40px;height:40px;border:1px solid #dce3eb;border-radius:9px;background:#f7f9fb;color:#526174}

/* Keyboard accessibility */
.gmq-app button:focus-visible,.gmq-app a:focus-visible,.gmq-app input:focus-visible,
.gmq-app select:focus-visible,.gmq-app textarea:focus-visible,[data-row-select]:focus-visible{
    outline:0!important;box-shadow:var(--gmq-focus)!important;border-color:#7aa7f8!important
}
.gmq-nav-item:focus-visible{box-shadow:inset 0 0 0 2px #93c5fd!important}

/* Forms */
.gmq-field{gap:7px}.gmq-field label{font-size:10.5px;color:#344563;font-weight:700}
.gmq-field input,.gmq-field select,.gmq-field textarea,.gmq-discovery-field select,.gmq-history-query-form select{
    min-height:44px;border-radius:9px;border-color:#d5dde8;background:#fff;font-size:12px
}
.gmq-field input:hover,.gmq-field select:hover,.gmq-field textarea:hover{border-color:#bcc8d7}
.gmq-field input:focus,.gmq-field select:focus,.gmq-field textarea:focus{border-color:#7aa7f8;box-shadow:var(--gmq-focus)}
.gmq-field-help{font-size:9px;color:#77869a}

/* Dense business tables with stronger scanability */
.gmq-table-wrap{border-radius:10px;border-color:var(--gmq-border);background:#fff}
.gmq-table th,.gmq-table td{padding:11px 12px}
.gmq-table th{background:#f7f9fb;color:#526174;font-size:10.5px;letter-spacing:.01em;position:sticky;top:0;z-index:1}
.gmq-table td{font-size:11.5px;color:#2f405b}
.gmq-table tbody tr:nth-child(even){background:#fcfdfe}
.gmq-table tbody tr:hover{background:#f4f7fb}
.gmq-table tbody tr{transition:background-color .14s ease}
.gmq-table-toolbar{border-radius:11px!important;background:#fff!important;border-color:var(--gmq-border)!important;box-shadow:none!important}
.gmq-toolbar-search input{min-height:44px!important;border-radius:9px!important}
.gmq-status,.gmq-availability,.gmq-coverage-state,.gmq-purchase-tier{border-radius:7px!important;font-weight:700}

/* Procurement & taxonomy: reduce decorative presentation, strengthen information hierarchy */
.gmq-procurement-hero{
    border-radius:14px;background:#f8fbff;border-color:#dbe6f4;padding:18px 20px
}
.gmq-procurement-hero h2{font-size:20px}.gmq-procurement-hero p{line-height:1.75;font-size:11.5px}
.gmq-procurement-board{gap:12px}
.gmq-procurement-card{border-radius:13px;padding:16px;box-shadow:var(--gmq-shadow)!important}
.gmq-procurement-card-head h3{font-size:15px}.gmq-procurement-card-head p{font-size:10.5px}
.gmq-procurement-supplier{border-radius:10px;padding:9px 10px;background:#fbfcfe}
.gmq-procurement-progress>div{height:6px}.gmq-procurement-progress i{background:#2563eb}
.gmq-taxonomy-browser{border-radius:13px}.gmq-taxonomy-browser summary{padding:13px 16px;background:#f8fafc}
.gmq-taxonomy-grid{gap:10px;padding:12px}.gmq-taxonomy-grid article{border-radius:11px;padding:13px;background:#fff}
.gmq-taxonomy-grid article>span{background:#edf5ff;color:#2459a9;border-radius:6px}
.gmq-taxonomy-grid h3{font-size:14px}.gmq-taxonomy-grid article strong{font-size:12px}.gmq-taxonomy-grid article p{font-size:10.5px}

/* Material details */
.gmq-material-code,.gmq-material-code-lg{border-radius:6px;background:#f1f5fb;border-color:#d6e2f1;color:#1f5ca8}
.gmq-material-link strong{color:#1d4ed8}.gmq-material-link:hover strong{text-decoration:none;color:#163fa6}
.gmq-material-detail-hero{border-radius:12px;background:#f8fafc;border-color:var(--gmq-border);padding:16px}
.gmq-material-insight-stats>div{border-radius:9px}.gmq-material-spec-grid>div{border-radius:8px;background:#f7f9fb}

/* Discovery / source trust */
.gmq-friendly-hero,.gmq-discovery-hero{color:#172b4d}
.gmq-update-clock{border-radius:10px;background:#f8fafc;border-color:var(--gmq-border)}
.gmq-update-clock strong{color:#1d4ed8;font-size:20px}
.gmq-discovery-box{border-radius:12px;padding:14px}.gmq-discovery-price-card{border-radius:11px}
.gmq-trust-strip span{border-radius:7px;background:#eef3f8}

/* Modals & drawers */
.gmq-modal-backdrop,.gmq-drawer-backdrop{background:rgba(9,30,66,.46);backdrop-filter:blur(2px)}
.gmq-modal-card{border-radius:14px;border:1px solid rgba(255,255,255,.45);box-shadow:0 24px 70px rgba(9,30,66,.22)}
.gmq-drawer-panel{box-shadow:-14px 0 45px rgba(9,30,66,.16);border-left:1px solid var(--gmq-border)}
.gmq-detail-row{padding:11px 3px}.gmq-detail-row span{font-size:10px}.gmq-detail-row strong{font-size:11px}

/* Feedback */
.gmq-notice{border-radius:9px;box-shadow:none;font-size:11.5px}
.gmq-empty,.gmq-chart-placeholder,.gmq-empty-compact{background:#fafbfc;border-color:#ced7e2;border-radius:10px}
.gmq-loading{font-size:12px}

/* Settings */
.gmq-settings-live-note{border-radius:10px;background:#edf8f2;border-color:#cfe8da}
.gmq-settings-checks label{min-height:44px;border-radius:9px;background:#fff}
.gmq-settings-security-note{border-radius:10px;background:#fff9eb}

/* Responsive product behavior */
@media(max-width:1180px){
    .gmq-app{grid-template-columns:minmax(0,1fr) 250px}
    .gmq-main{padding:20px 20px 32px}
}
@media(max-width:900px){
    .gmq-app{display:block}
    .gmq-sidebar{position:relative;min-height:auto;width:100%;padding:10px 12px}
    .gmq-brand{min-height:58px;border-bottom:0;padding-bottom:7px}
    .gmq-nav{display:flex;overflow-x:auto;overscroll-behavior-x:contain;padding:6px 0;gap:6px;scrollbar-width:thin}
    .gmq-nav-section,.gmq-tenant,.gmq-sidebar-footer{display:none!important}
    .gmq-nav-item{min-width:max-content;width:auto;grid-template-columns:24px auto auto;padding-inline:10px}
    .gmq-nav-item.is-active{box-shadow:inset 0 -2px 0 #93c5fd}
    .gmq-main{padding:18px 16px 30px}
    .gmq-topbar{align-items:flex-start}
}
@media(max-width:680px){
    .gmq-topbar{gap:10px}.gmq-user-copy,.gmq-user-chevron{display:none}
    .gmq-section-number{width:36px;height:36px;font-size:15px}
    .gmq-topbar h1{font-size:19px}.gmq-topbar p{font-size:10.5px}
    .gmq-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gmq-card{min-height:105px;padding:13px}.gmq-card-value{font-size:22px}
    .gmq-quick-actions{grid-template-columns:1fr}
    .gmq-home-search-box{grid-template-columns:24px 1fr}.gmq-home-search-box button{grid-column:1/-1;width:100%;height:42px}
    .gmq-home-search-box{height:auto;padding:7px}.gmq-home-search-box input{min-height:40px}
    .gmq-form-grid{grid-template-columns:1fr}.gmq-field.is-wide,.gmq-form-actions{grid-column:1}
    .gmq-form-actions{flex-direction:column-reverse}.gmq-form-actions button{width:100%}
}

@media(prefers-reduced-motion:reduce){
    .gmq-app *,.gmq-app *::before,.gmq-app *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* 1.4.0 — client demo: official transaction scale + material source price cards */
.gmq-purchase-tier.کوچک{background:#e8f7f1;color:#08705b}
.gmq-purchase-tier.متوسط{background:#eef5ff;color:#155ec5}
.gmq-purchase-tier.بزرگ{background:#fff0ef;color:#b63832}
.gmq-material-market-section .gmq-detail-section-head{align-items:flex-start;gap:16px}
.gmq-material-market-section .gmq-detail-section-head h4{margin:0 0 4px}
.gmq-material-market-section .gmq-detail-section-head p{margin:0;color:var(--gmq-muted,#687386);font-size:12px}
.gmq-detail-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gmq-material-source-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}
.gmq-material-source-price-card{border:1px solid #e1e7ef;border-radius:14px;background:#fff;padding:14px;display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:0 4px 14px rgba(15,35,60,.045)}
.gmq-material-source-price-card.is-primary{border-color:#b8d1f4;box-shadow:0 5px 18px rgba(30,92,168,.08)}
.gmq-source-price-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.gmq-source-price-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.gmq-source-price-head span{font-size:11px;color:#6f7c8d}
.gmq-source-price-head strong{font-size:14px;color:#1c2d42;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gmq-source-price-value{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}
.gmq-source-price-value strong{font-size:18px;color:#123b6d}
.gmq-source-price-value small{font-size:11px;color:#6f7c8d}
.gmq-source-price-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:#778496}
.gmq-material-source-price-card p{margin:0;font-size:11px;line-height:1.8;color:#526174}
.gmq-material-source-price-card a{font-size:12px;font-weight:700;color:#1565c0;text-decoration:none}
.gmq-source-price-no-link{font-size:11px;color:#8994a4}
.gmq-price-refresh-empty{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px dashed #cad5e3;background:#f8fafc;border-radius:14px;padding:16px;margin-top:10px}
.gmq-price-refresh-empty strong{display:block;color:#27384d;margin-bottom:4px}
.gmq-price-refresh-empty p{margin:0;color:#68778a;font-size:12px;line-height:1.8}
@media (max-width:720px){.gmq-price-refresh-empty{align-items:stretch;flex-direction:column}.gmq-detail-head-actions{width:100%}.gmq-detail-head-actions button{flex:1}}

/* 1.5.0 — client review fixes: material-code lookup, resilient comparison layout, unified selection controls */

/* Dashboard: the final quick-action card has no misleading continuation arrow. */
.gmq-quick-action-card.is-terminal{grid-template-columns:40px minmax(0,1fr)}
.gmq-quick-action-card.is-terminal>div{min-width:0}

/* Material-code lookup: exact code selects the material automatically; browser datalist also supports fast discovery. */
.gmq-material-code-flow{grid-template-columns:minmax(320px,1.45fr) minmax(220px,.85fr) auto}
.gmq-material-code-lookup{min-width:0}
.gmq-material-code-lookup>label{display:block;margin-bottom:6px;color:#526174;font-size:10px;font-weight:700}
.gmq-material-code-lookup input[type="search"]{
    width:100%;min-height:46px;padding:0 12px;border:1px solid #d5dde8;border-radius:9px;background:#fff;
    color:#172b4d;font:inherit;font-size:12px;direction:ltr;text-align:left;unicode-bidi:plaintext;outline:0
}
.gmq-material-code-lookup input[type="search"]::placeholder{color:#9aa7b8}
.gmq-material-code-lookup input[type="search"]:hover{border-color:#bcc8d7}
.gmq-material-code-lookup input[type="search"]:focus{border-color:#7aa7f8;box-shadow:var(--gmq-focus)}
.gmq-material-match{min-height:42px;margin-top:7px}
.gmq-material-match-empty{display:flex;align-items:center;min-height:40px;padding:7px 10px;border:1px dashed #dbe3ee;border-radius:8px;background:#fafbfc;color:#7d8a9d;font-size:9.5px;line-height:1.7}
.gmq-material-match-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;min-height:42px;padding:7px 9px;border:1px solid #d9e6f5;border-radius:9px;background:#f8fbff}
.gmq-material-match-card>div{min-width:0}
.gmq-material-match-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#203958;font-size:10.5px}
.gmq-material-match-card small{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c899b;font-size:8.8px}
.gmq-material-match-card em{font-style:normal;white-space:nowrap;color:#13795b;font-size:9px;font-weight:800}

/* Price history uses the same code-first interaction instead of a very long select. */
.gmq-history-code-form{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.gmq-history-code-form .gmq-primary-btn{align-self:end;margin-bottom:0}

/* Supply coverage: selected materials are compact chips; the full material list is no longer rendered. */
.gmq-matrix-material-code-section{min-width:0}
.gmq-selected-materials{display:flex;flex-wrap:wrap;gap:7px;align-content:flex-start;min-height:46px;margin-top:10px;padding:9px;border:1px dashed #dbe3ee;border-radius:9px;background:#fafbfc}
.gmq-selected-materials>[data-matrix-material-empty]{display:flex;align-items:center;color:#8491a3;font-size:9.5px}
.gmq-selected-material-chip{max-width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) 20px;gap:7px;align-items:center;border:1px solid #d7e3f2;border-radius:8px;background:#fff;padding:6px 7px;color:#2f405b;font:inherit;cursor:pointer;text-align:right}
.gmq-selected-material-chip:hover{border-color:#9dbbe6;background:#f8fbff}
.gmq-selected-material-chip strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.8px}
.gmq-selected-material-chip b{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;color:#7d899b;font:700 15px Arial}
.gmq-selected-material-chip:hover b{background:#eef3f8;color:#b42318}

/* Comparison: no card or selector is allowed to force the page beyond its container. */
.gmq-comparison-shell,
.gmq-comparison-shell>[data-comparison-body],
.gmq-comparison-summary-section,
.gmq-comparison-matrix-panel,
.gmq-comparison-selector{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.gmq-comparison-selector{grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) auto}
.gmq-comparison-selector>*{min-width:0}
.gmq-comparison-rfq-select{min-width:0;max-width:100%}
.gmq-comparison-rfq-context{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));width:100%;max-width:100%}
.gmq-comparison-rfq-context>div{min-width:0;overflow:hidden}
.gmq-comparison-rfq-context strong{overflow-wrap:anywhere;word-break:break-word;line-height:1.55}
.gmq-mini-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));width:100%;max-width:100%;min-width:0}
.gmq-mini-stat{min-width:0;width:100%;box-sizing:border-box;overflow:hidden}
.gmq-mini-stat>div{min-width:0;overflow:hidden}
.gmq-mini-stat strong{max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.28;font-size:clamp(15px,1.45vw,19px)}
.gmq-mini-stat small{overflow-wrap:anywhere}
.gmq-comparison-supplier-cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));width:100%;max-width:100%;min-width:0}
.gmq-comparison-supplier-card,.gmq-comparison-supplier-head>div:first-child,.gmq-comparison-supplier-grid>div{min-width:0}
.gmq-comparison-supplier-card strong,.gmq-comparison-supplier-card p{overflow-wrap:anywhere;word-break:break-word}
.gmq-comparison-table-wrap{max-width:100%;overscroll-behavior-x:contain}

/* Unified native-looking selection system across MatQuote. */
.gmq-app input[type="checkbox"]{
    -webkit-appearance:none;appearance:none;
    width:20px!important;height:20px!important;min-width:20px;min-height:20px;flex:0 0 20px;
    margin:0!important;padding:0!important;border:1.5px solid #b7c4d5!important;border-radius:5px!important;
    background:#fff!important;background-position:center!important;background-repeat:no-repeat!important;background-size:13px 13px!important;
    box-shadow:none!important;vertical-align:middle;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease
}
.gmq-app input[type="checkbox"]:hover{border-color:#7ea7e2!important}
.gmq-app input[type="checkbox"]:checked{
    border-color:#2563eb!important;background-color:#2563eb!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.4 11.5 13 4.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important
}
.gmq-app input[type="checkbox"]:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(37,99,235,.16)!important}
.gmq-app input[type="checkbox"]:disabled{cursor:not-allowed;opacity:.52}

/* Existing table row selector has its own visual span; keep the real input visually hidden. */
.gmq-app .gmq-select-box input[type="checkbox"]{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important}

/* Toggle switches keep switch semantics while using the same geometry everywhere. */
.gmq-app .gmq-setting-switches input[type="checkbox"]{
    width:40px!important;height:22px!important;min-width:40px;min-height:22px;flex:0 0 40px;border:0!important;border-radius:999px!important;
    background:radial-gradient(circle at 7px 50%,#fff 0 5.5px,transparent 6px) #cbd5e1!important;background-image:radial-gradient(circle at 7px 50%,#fff 0 5.5px,transparent 6px)!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.05)!important
}
.gmq-app .gmq-setting-switches input[type="checkbox"]:checked{
    background:radial-gradient(circle at calc(100% - 7px) 50%,#fff 0 5.5px,transparent 6px) #2563eb!important;background-image:radial-gradient(circle at calc(100% - 7px) 50%,#fff 0 5.5px,transparent 6px)!important
}
.gmq-setting-switches label{gap:14px}.gmq-setting-switches label>div{min-width:0}
.gmq-settings-checks{align-items:stretch}
.gmq-settings-checks label{min-width:74px;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7px!important;text-align:center}
.gmq-settings-checks label>span{font-weight:800;color:#31445f;direction:ltr}
.gmq-picker-list label,.gmq-access-module-checks label{align-items:center!important}
.gmq-picker-list input[type="checkbox"],.gmq-access-module-checks input[type="checkbox"]{flex-shrink:0}

.gmq-app input[type="radio"]{
    -webkit-appearance:none;appearance:none;width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:0;
    border:1.5px solid #b7c4d5;border-radius:50%;background:#fff;cursor:pointer;box-shadow:none
}
.gmq-app input[type="radio"]:checked{border-color:#2563eb;background:radial-gradient(circle,#2563eb 0 4px,transparent 4.5px)}
.gmq-app input[type="radio"]:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(37,99,235,.16)}

@media(max-width:1100px){
    .gmq-comparison-selector{grid-template-columns:1fr}
    .gmq-comparison-selector-actions{justify-content:flex-start;white-space:normal}
    .gmq-material-code-flow{grid-template-columns:minmax(0,1fr) minmax(200px,.7fr)}
    .gmq-material-code-flow .gmq-discover-submit{grid-column:1/-1;width:100%}
}
@media(max-width:680px){
    .gmq-material-code-flow,.gmq-history-code-form,.gmq-matrix-picker{grid-template-columns:1fr}
    .gmq-material-match-card{grid-template-columns:1fr;align-items:start}
    .gmq-material-match-card em{justify-self:start}
    .gmq-history-code-form .gmq-primary-btn{width:100%}
    .gmq-comparison-rfq-context,.gmq-mini-stats,.gmq-comparison-supplier-cards{grid-template-columns:1fr}
}

/* 1.5.1 — clean checkbox system (override WordPress/theme native checkbox glyphs) */
.gmq-app input[type="checkbox"]{
    -webkit-appearance:none!important;
    appearance:none!important;
    box-sizing:border-box!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    flex:0 0 18px!important;
    margin:0!important;
    padding:0!important;
    border:1.5px solid #c6d2e1!important;
    border-radius:5px!important;
    background-color:#fff!important;
    background-image:none!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:12px 12px!important;
    box-shadow:0 1px 2px rgba(15,23,42,.04)!important;
    outline:0!important;
    vertical-align:middle!important;
    cursor:pointer!important;
    transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease!important;
}
/* WordPress admin/theme styles can inject a second check through ::before. Kill it explicitly. */
.gmq-app input[type="checkbox"]::before,
.gmq-app input[type="checkbox"]::after,
.gmq-app input[type="checkbox"]:checked::before,
.gmq-app input[type="checkbox"]:checked::after{
    content:none!important;
    display:none!important;
    margin:0!important;
    padding:0!important;
    width:0!important;
    height:0!important;
}
.gmq-app input[type="checkbox"]:hover{
    border-color:#7e9dc8!important;
}
.gmq-app input[type="checkbox"]:checked{
    border-color:#2563eb!important;
    background-color:#2563eb!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.7 7.25 5.65 10.1 11.3 4.35' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
    box-shadow:0 0 0 1px rgba(37,99,235,.04),0 2px 5px rgba(37,99,235,.14)!important;
}
.gmq-app input[type="checkbox"]:focus-visible{
    border-color:#2563eb!important;
    box-shadow:0 0 0 3px rgba(37,99,235,.14)!important;
}
.gmq-app input[type="checkbox"]:disabled{
    background-color:#f5f7fa!important;
    border-color:#d8e0ea!important;
    opacity:.72!important;
    cursor:not-allowed!important;
}

/* Supplier / access lists: fixed checkbox column keeps every row perfectly aligned. */
.gmq-app .gmq-picker-list label,
.gmq-app .gmq-access-module-checks label{
    display:grid!important;
    grid-template-columns:18px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:10px!important;
    direction:rtl!important;
}
.gmq-app .gmq-picker-list label input[type="checkbox"],
.gmq-app .gmq-access-module-checks label input[type="checkbox"]{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
}
.gmq-app .gmq-picker-list label>span,
.gmq-app .gmq-access-module-checks label>span{
    grid-column:2!important;
    min-width:0!important;
    line-height:1.75!important;
}
.gmq-app .gmq-picker-list label{
    min-height:36px!important;
    padding:6px 8px!important;
    border-radius:9px!important;
}
.gmq-app .gmq-picker-list label:hover{background:#f6f9fd!important}

/* Currency choices: use a calm, centered selection card instead of an oversized tick. */
.gmq-app .gmq-settings-checks{
    display:flex!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
}
.gmq-app .gmq-settings-checks>label{
    box-sizing:border-box!important;
    min-width:82px!important;
    min-height:76px!important;
    padding:11px 12px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:9px!important;
    border:1px solid #dce5ef!important;
    border-radius:12px!important;
    background:#fff!important;
    text-align:center!important;
    cursor:pointer!important;
    transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease!important;
}
.gmq-app .gmq-settings-checks>label:hover{
    border-color:#b8cbea!important;
    background:#fbfdff!important;
}
.gmq-app .gmq-settings-checks>label:has(input:checked){
    border-color:#b9d0f7!important;
    background:#f8fbff!important;
    box-shadow:0 2px 8px rgba(37,99,235,.06)!important;
}
.gmq-app .gmq-settings-checks>label input[type="checkbox"]{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
}
.gmq-app .gmq-settings-checks>label>span{
    margin:0!important;
    color:#263b5b!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
    direction:ltr!important;
}

/* Switches are switches, not checkboxes: remove check glyph and keep the sliding thumb. */
.gmq-app .gmq-setting-switches input[type="checkbox"]{
    width:40px!important;
    height:22px!important;
    min-width:40px!important;
    min-height:22px!important;
    flex:0 0 40px!important;
    border:0!important;
    border-radius:999px!important;
    background-color:#cbd5e1!important;
    background-image:radial-gradient(circle at 7px 50%,#fff 0 5.5px,transparent 6px)!important;
    background-size:auto!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.05)!important;
}
.gmq-app .gmq-setting-switches input[type="checkbox"]:checked{
    background-color:#2563eb!important;
    background-image:radial-gradient(circle at calc(100% - 7px) 50%,#fff 0 5.5px,transparent 6px)!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.03)!important;
}

/* The table selector uses a custom sibling span; the native checkbox must stay fully inert. */
.gmq-app .gmq-select-box input[type="checkbox"]{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
    width:1px!important;
    height:1px!important;
    min-width:1px!important;
    min-height:1px!important;
    background:none!important;
    box-shadow:none!important;
}


/* 1.5.2 — dashboard search alignment, readable supply-coverage typography, clearer records terminology */

/* Dashboard search: keep the search action geometrically centered inside its field. */
.gmq-app .gmq-home-search form{
    width:100%!important;
    min-width:0!important;
    align-self:center!important;
    margin:0!important;
}
.gmq-app .gmq-home-search-box{
    box-sizing:border-box!important;
    width:100%!important;
    height:56px!important;
    display:flex!important;
    direction:rtl!important;
    align-items:center!important;
    gap:8px!important;
    padding:5px 6px!important;
    border:1px solid #d5dde8!important;
    border-radius:11px!important;
    background:#fff!important;
}
.gmq-app .gmq-home-search-box>span{
    width:28px!important;
    height:44px!important;
    flex:0 0 28px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    line-height:1!important;
}
.gmq-app .gmq-home-search-box input[type="search"]{
    box-sizing:border-box!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    height:44px!important;
    margin:0!important;
    padding:0 6px!important;
    border:0!important;
    background:transparent!important;
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
    font-size:12px!important;
    line-height:44px!important;
}
.gmq-app .gmq-home-search-box button{
    box-sizing:border-box!important;
    width:116px!important;
    min-width:116px!important;
    height:44px!important;
    flex:0 0 116px!important;
    align-self:center!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    border-radius:8px!important;
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
    font-size:12.5px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
}

/* Supply Coverage: use the same typography hierarchy as the rest of MatQuote. */
.gmq-app .gmq-friendly-hero,
.gmq-app .gmq-matrix-picker,
.gmq-app .gmq-matrix-run,
.gmq-app .gmq-matrix-table-wrap,
.gmq-app .gmq-material-code-lookup,
.gmq-app .gmq-selected-materials{
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
}
.gmq-app .gmq-matrix-picker>section{
    font-family:inherit!important;
}
.gmq-app .gmq-picker-head{
    gap:10px!important;
    align-items:flex-start!important;
}
.gmq-app .gmq-picker-head strong{
    color:#172b4d!important;
    font-family:inherit!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1.7!important;
}
.gmq-app .gmq-picker-head small{
    color:#66758a!important;
    font-family:inherit!important;
    font-size:10.5px!important;
    font-weight:400!important;
    line-height:1.8!important;
}
.gmq-app .gmq-material-code-lookup>label{
    color:#45556d!important;
    font-family:inherit!important;
    font-size:10.5px!important;
    font-weight:700!important;
    line-height:1.7!important;
}
.gmq-app .gmq-material-code-lookup input[type="search"]{
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:500!important;
}
.gmq-app .gmq-material-match-empty,
.gmq-app .gmq-selected-materials>[data-matrix-material-empty]{
    font-family:inherit!important;
    font-size:10.5px!important;
    line-height:1.8!important;
}
.gmq-app .gmq-picker-list{
    gap:3px!important;
}
.gmq-app .gmq-picker-list label{
    min-height:40px!important;
    padding:7px 8px!important;
    font-family:inherit!important;
}
.gmq-app .gmq-picker-list label>span{
    color:#40516a!important;
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
    font-size:11.5px!important;
    font-weight:500!important;
    line-height:1.9!important;
    letter-spacing:0!important;
    word-spacing:0!important;
}
.gmq-app .gmq-picker-list label>span b{
    margin:0 0 0 5px!important;
    color:#687991!important;
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
    font-size:10.5px!important;
    font-weight:500!important;
    line-height:inherit!important;
    letter-spacing:0!important;
}
.gmq-app .gmq-matrix-run span{
    color:#66758a!important;
    font-family:inherit!important;
    font-size:10.5px!important;
    line-height:1.9!important;
}
.gmq-app .gmq-selected-material-chip,
.gmq-app .gmq-selected-material-chip strong{
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
}
.gmq-app .gmq-selected-material-chip strong{
    font-size:10.8px!important;
    line-height:1.65!important;
}

@media(max-width:680px){
    .gmq-app .gmq-home-search-box{
        height:auto!important;
        display:grid!important;
        grid-template-columns:28px minmax(0,1fr)!important;
        gap:6px!important;
        padding:6px!important;
    }
    .gmq-app .gmq-home-search-box>span{grid-column:1!important;grid-row:1!important}
    .gmq-app .gmq-home-search-box input[type="search"]{grid-column:2!important;grid-row:1!important;width:100%!important}
    .gmq-app .gmq-home-search-box button{
        grid-column:1/-1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
        height:42px!important;
    }
    .gmq-app .gmq-picker-head{flex-direction:column!important;gap:2px!important}
}


/* UI refinement patch 1.5.2 */
.gmq-modal-card{
    width:min(1100px, calc(100vw - 48px));
    max-height:calc(100vh - 40px);
}
.gmq-access-modal .gmq-modal-card,
[data-entity="access_grant"] .gmq-modal-card{
    width:min(1200px, calc(100vw - 40px));
}
.gmq-rfq-items .gmq-rfq-item{
    grid-template-columns: 2fr .8fr .8fr 2fr 42px;
    align-items:end;
}
.gmq-rfq-items{
    overflow:visible;
}
.gmq-supplier-check input,
.gmq-app input[type="checkbox"]{
    appearance:none!important;
    -webkit-appearance:none!important;
    background:#fff!important;
    border:2px solid #cbd8ea!important;
    width:20px!important;
    height:20px!important;
    border-radius:5px!important;
    position:relative;
}
.gmq-supplier-check input:checked,
.gmq-app input[type="checkbox"]:checked{
    background:#1769ed!important;
    border-color:#1769ed!important;
}
.gmq-supplier-check input:checked::after,
.gmq-app input[type="checkbox"]:checked::after{
    content:"✓";
    position:absolute;
    color:#fff;
    font-size:14px;
    font-weight:800;
    left:3px;
    top:-2px;
}
.gmq-supplier-check{
    direction:rtl;
}
.gmq-supplier-check strong{
    color:#102044;
}

/* MatQuote 1.6.0 — price quality / manufacturer visibility */
.gmq-price-factory strong{display:block;font-size:10.8px;color:#284158;max-width:190px}
.gmq-price-factory small{display:block;font-size:8.8px;color:#8d9bad;margin-top:3px;line-height:1.55}
.gmq-price-quality{display:inline-flex!important;width:max-content;margin-top:5px;padding:2px 6px;border-radius:999px;font-size:8px!important;font-style:normal;font-weight:700}
.gmq-price-quality.is-good{background:#e9f8ef;color:#16834f}.gmq-price-quality.is-ok{background:#eef5ff;color:#1769d1}.gmq-price-quality.is-review{background:#fff4df;color:#a96700}
.gmq-discovery-note{display:flex;gap:7px;align-items:flex-start;margin:0 0 10px;padding:10px 12px;border:1px solid #dce8f4;background:#f7fbff;border-radius:10px;font-size:9.5px;line-height:1.8;color:#5f7185}
.gmq-discovery-note strong{color:#1769d1;white-space:nowrap}.gmq-discovery-factory{margin-top:9px;padding:8px 9px;border-radius:9px;background:#f7f9fc;border:1px solid #edf1f5}.gmq-discovery-factory span{display:block;color:#8a99aa;font-size:8.5px}.gmq-discovery-factory strong{display:block;color:#2b435d;font-size:10.5px;margin-top:2px}.gmq-discovery-spec{display:block;color:#6d7e91;font-size:8.8px;line-height:1.7;margin:-2px 0 8px}
.gmq-price-table{min-width:1020px}
