@font-face {
    font-family: "IRANYekanX";
    src: url("fonts/IRANYekanXFaNum-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "IRANYekanX";
    src: url("fonts/IRANYekanXFaNum-DemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "IRANYekanX";
    src: url("fonts/IRANYekanXFaNum-ExtraBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
}

.behestan-ops {
    --ops-primary: #42c1c7;
    --ops-primary-dark: #197f85;
    --ops-primary-soft: #eefafa;
    --ops-ink: #172126;
    --ops-muted: #5e6c72;
    --ops-border: #dce5e8;
    --ops-surface: #ffffff;
    --ops-background: #f4f7f8;
    --ops-danger: #b42318;
    --ops-danger-soft: #fff1f0;
    --ops-warning: #a15c00;
    --ops-warning-soft: #fff6df;
    --ops-success: #087a48;
    --ops-success-soft: #eaf8f1;
    --ops-radius-sm: 10px;
    --ops-radius: 16px;
    --ops-shadow: 0 10px 30px rgba(24, 43, 50, .08);
    direction: rtl;
    width: 100vw;
    min-height: 100dvh;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 24px;
    color: var(--ops-ink);
    background: var(--ops-background);
    font-family: "IRANYekanX", IRANYekan, Vazirmatn, Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    box-sizing: border-box;
}

.behestan-ops--behdasht {
    --ops-primary: #00a75d;
    --ops-primary-dark: #007a44;
    --ops-primary-soft: #e8f7f0;
}

.behestan-ops *, .behestan-ops *::before, .behestan-ops *::after { box-sizing: border-box; }
.behestan-ops-standalone { margin: 0 !important; background: #f4f7f8 !important; }
.behestan-ops-standalone .page-header,
.behestan-ops-standalone .entry-header,
.behestan-ops-standalone .site-footer,
.behestan-ops-standalone .elementor-location-footer,
.behestan-ops-standalone footer[role="contentinfo"] { display: none !important; }
.behestan-ops-standalone #page,
.behestan-ops-standalone #content,
.behestan-ops-standalone .site-content,
.behestan-ops-standalone .content-area,
.behestan-ops-standalone .site-main,
.behestan-ops-standalone .entry-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.behestan-ops a { color: var(--ops-primary-dark); text-decoration: none; }
.behestan-ops button, .behestan-ops input, .behestan-ops select { font: inherit; }
.behestan-ops button, .behestan-ops a, .behestan-ops select { touch-action: manipulation; }
.behestan-ops :focus-visible { outline: 3px solid color-mix(in srgb, var(--ops-primary) 35%, transparent); outline-offset: 3px; }
.behestan-ops__icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; box-sizing: border-box; }
.behestan-ops__skip { position: fixed; z-index: 100; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 10px 16px; border-radius: 8px; background: var(--ops-ink); color: #fff !important; }
.behestan-ops__skip:focus { transform: translateY(0); }
.behestan-ops__header, .behestan-ops__main { width: min(1480px, 100%); margin-inline: auto; }
.behestan-ops__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 20px 24px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); box-shadow: var(--ops-shadow); }
.behestan-ops__brand { display: flex; align-items: center; gap: 28px; min-width: 0; }
.behestan-ops__header h1 { margin: 2px 0 0; font-size: clamp(1.25rem, 1.55vw, 1.6rem); line-height: 1.35; }
.behestan-ops__primary-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--ops-border); border-radius: 13px; background: #f8fbfb; }
.behestan-ops__nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 13px; border-radius: 9px; color: var(--ops-muted) !important; font-size: .9rem; font-weight: 800; white-space: nowrap; }
.behestan-ops__nav-link:hover { color: var(--ops-ink) !important; background: var(--ops-primary-soft); }
.behestan-ops__nav-link.is-active { color: #fff !important; background: var(--ops-primary-dark); }
.behestan-ops__nav-link .behestan-ops__icon { width: 19px; height: 19px; }
.behestan-ops__eyebrow { display: block; color: var(--ops-primary-dark); font-size: .84rem; font-weight: 800; letter-spacing: .01em; }
.behestan-ops__back { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; margin-top: 3px; padding: 4px 2px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.behestan-ops__back .behestan-ops__icon { width: 16px; height: 16px; }
.behestan-ops__account { display: flex; align-items: center; gap: 24px; text-align: left; }
.behestan-ops__account > div { display: grid; }
.behestan-ops__account strong { font-size: .9rem !important; line-height: 1.45 !important; }
.behestan-ops__account span { color: var(--ops-muted); font-size: .88rem; }
.behestan-ops__account nav { display: flex; gap: 8px; }
.behestan-ops__account nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ops-border); border-radius: 10px; color: var(--ops-ink); font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.behestan-ops__account nav a:hover { border-color: var(--ops-primary); background: var(--ops-primary-soft); }
.behestan-ops__notice { margin-bottom: 16px; padding: 14px 18px; border: 1px solid; border-radius: 12px; font-weight: 700; }
.behestan-ops__notice--success { color: var(--ops-success); border-color: #a7ddc3; background: var(--ops-success-soft); }
.behestan-ops__notice--error { color: var(--ops-danger); border-color: #efb5b0; background: var(--ops-danger-soft); }
.behestan-ops__notice--warning { color: #6f4300; border-color: #e7bd6d; background: var(--ops-warning-soft); }
.behestan-ops__intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.behestan-ops__intro h2, .behestan-ops__section-head h2 { margin: 0; font-size: 1.32rem; }
.behestan-ops__intro p, .behestan-ops__section-head p { margin: 3px 0 0; color: var(--ops-muted); }
.behestan-ops__intro time { color: var(--ops-muted); font-variant-numeric: tabular-nums; }
.behestan-ops__metrics { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.behestan-ops__metric { display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.behestan-ops__metric > .behestan-ops__icon { width: 44px; height: 44px; min-width: 44px; flex: 0 0 44px; padding: 10px; border-radius: 12px; color: var(--ops-primary-dark); background: var(--ops-primary-soft); }
.behestan-ops__metric div { display: grid; min-width: 0; }
.behestan-ops__metric strong { font-size: 1.65rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.behestan-ops__metric span { color: var(--ops-muted); font-size: .82rem; }
.behestan-ops__filters { display: grid; grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(150px, .75fr)) auto auto; align-items: end; gap: 12px; margin-bottom: 16px; padding: 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.behestan-ops__field { display: grid; gap: 6px; }
.behestan-ops__field label, .behestan-ops__status-form label { color: var(--ops-muted); font-size: .84rem; font-weight: 700; }
.behestan-ops__field input, .behestan-ops__field select, .behestan-ops__status-form select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--ops-border); border-radius: 10px; color: var(--ops-ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.behestan-ops__field input:focus, .behestan-ops__field select:focus, .behestan-ops__status-form select:focus { border-color: var(--ops-primary-dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ops-primary) 22%, transparent); outline: none; }
.behestan-ops__field--search > div { position: relative; }
.behestan-ops__field--search .behestan-ops__icon { position: absolute; inset: 13px 13px auto auto; color: var(--ops-muted); }
.behestan-ops__field--search input { padding-right: 44px; }
.behestan-ops__button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.behestan-ops__button--primary { color: #fff !important; background: var(--ops-primary-dark); }
.behestan-ops__button--primary:hover { background: color-mix(in srgb, var(--ops-primary-dark) 86%, #000); box-shadow: 0 5px 16px color-mix(in srgb, var(--ops-primary-dark) 22%, transparent); }
.behestan-ops__button--ghost { color: var(--ops-ink) !important; border-color: var(--ops-border); background: #fff; }
.behestan-ops__button--ghost:hover { border-color: var(--ops-primary); background: var(--ops-primary-soft); }
.behestan-ops__button--danger { color: #fff !important; border-color: var(--ops-danger); background: var(--ops-danger); }
.behestan-ops__button--danger:hover { background: #8f1c14; }
.behestan-ops__button--danger-outline { color: var(--ops-danger) !important; border-color: #efb5b0; background: var(--ops-danger-soft); }
.behestan-ops__button--danger-outline:hover { color: #fff !important; border-color: var(--ops-danger); background: var(--ops-danger); }
.behestan-ops__button[disabled], .behestan-ops button[disabled] { opacity: .55; cursor: wait; }
.behestan-ops button.behestan-ops__button,
.behestan-ops a.behestan-ops__button { min-width: 0 !important; min-height: 48px !important; height: auto !important; margin: 0 !important; padding: 10px 18px !important; border-width: 1px !important; border-style: solid !important; border-radius: 10px !important; background-image: none !important; font-size: 16px !important; line-height: 1.35 !important; letter-spacing: 0 !important; text-transform: none !important; }
.behestan-ops button.behestan-ops__button--primary,
.behestan-ops a.behestan-ops__button--primary { color: #fff !important; border-color: transparent !important; background-color: var(--ops-primary-dark) !important; background-image: none !important; }
.behestan-ops button.behestan-ops__button--ghost,
.behestan-ops a.behestan-ops__button--ghost { color: var(--ops-ink) !important; border-color: var(--ops-border) !important; background-color: #fff !important; background-image: none !important; }
.behestan-ops button.behestan-ops__button--danger { color: #fff !important; border-color: var(--ops-danger) !important; background-color: var(--ops-danger) !important; }
.behestan-ops button.behestan-ops__button--danger-outline { color: var(--ops-danger) !important; border-color: #efb5b0 !important; background-color: var(--ops-danger-soft) !important; }
.behestan-ops button.behestan-ops__button--danger-outline:hover { color: #fff !important; border-color: var(--ops-danger) !important; background-color: var(--ops-danger) !important; }
.behestan-ops .behestan-ops__field input,
.behestan-ops .behestan-ops__field select,
.behestan-ops .behestan-ops__status-form select { min-height: 48px !important; height: 48px !important; margin: 0 !important; padding-block: 0 !important; padding-inline: 13px !important; border: 1px solid var(--ops-border) !important; border-radius: 10px !important; color: var(--ops-ink) !important; background-color: #fff !important; box-shadow: none; font-size: 16px !important; line-height: 1.35 !important; }
.behestan-ops .behestan-ops__field--search input { padding-right: 44px !important; }
.behestan-ops .behestan-ops__nav-link { min-height: 44px !important; padding: 8px 13px !important; border-radius: 9px !important; font-size: 15px !important; line-height: 1.4 !important; }
.behestan-ops .behestan-ops__account nav a { min-height: 44px !important; padding: 8px 14px !important; border: 1px solid var(--ops-border) !important; border-radius: 10px !important; font-size: 16px !important; line-height: 1.35 !important; }
.behestan-ops__orders, .behestan-ops__panel, .behestan-ops__detail-head, .behestan-ops__summary { border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.behestan-ops__section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--ops-border); }
.behestan-ops__table-wrap { overflow-x: auto; }
.behestan-ops table { width: 100%; border-collapse: collapse; }
.behestan-ops th, .behestan-ops td { padding: 14px 16px; border-bottom: 1px solid var(--ops-border); text-align: right; vertical-align: middle; }
.behestan-ops th { color: var(--ops-muted); background: #fafcfc; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.behestan-ops tbody tr { transition: background .18s ease, box-shadow .18s ease; }
.behestan-ops tbody tr:hover { background: color-mix(in srgb, var(--ops-primary-soft) 55%, #fff); }
.behestan-ops__order-row { cursor: pointer; }
.behestan-ops__order-row--readonly { cursor: default; }
.behestan-ops__order-row:focus-visible { outline: 3px solid color-mix(in srgb, var(--ops-primary) 48%, transparent); outline-offset: -3px; background: var(--ops-primary-soft); }
.behestan-ops tbody tr:last-child td { border-bottom: 0; }
.behestan-ops td small { display: block; max-width: 260px; overflow: hidden; color: var(--ops-muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.behestan-ops__reference { direction: ltr; display: inline-block; font-variant-numeric: tabular-nums; }
.behestan-ops__attention { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--ops-warning); font-size: .75rem; font-weight: 700; }
.behestan-ops__attention .behestan-ops__icon { width: 15px; height: 15px; }
.behestan-ops__status { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 10px; border: 1px solid var(--ops-border); border-radius: 999px; color: #34454c; background: #f3f6f7; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.behestan-ops__status--new { color: #175cd3; border-color: #b2ccff; background: #eff4ff; }
.behestan-ops__status--needs_revision { color: #8a4b00; border-color: #f2c77d; background: #fff7e6; }
.behestan-ops__status--in_progress { color: #6941c6; border-color: #d9c7ff; background: #f6f0ff; }
.behestan-ops__status--completed { color: var(--ops-success); border-color: #a7ddc3; background: var(--ops-success-soft); }
.behestan-ops__status--canceled { color: var(--ops-danger); border-color: #efb5b0; background: var(--ops-danger-soft); }
.behestan-ops__row-action a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 7px 12px; border-radius: 9px; font-weight: 800; white-space: nowrap; }
.behestan-ops__row-action a:hover { background: var(--ops-primary-soft); }
.behestan-ops__row-action .behestan-ops__icon { width: 18px; height: 18px; }
.behestan-ops__empty { display: grid; justify-items: center; padding: 64px 24px; text-align: center; }
.behestan-ops__empty > .behestan-ops__icon { width: 48px; height: 48px; margin-bottom: 12px; color: var(--ops-primary-dark); }
.behestan-ops__empty h3 { margin: 0; font-size: 1.2rem; }
.behestan-ops__empty p { margin: 5px 0 12px; color: var(--ops-muted); }
.behestan-ops__empty a { min-height: 44px; padding: 9px 14px; font-weight: 800; }
.behestan-ops__pagination { padding: 16px; border-top: 1px solid var(--ops-border); }
.behestan-ops__pagination ul { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.behestan-ops__pagination a, .behestan-ops__pagination span { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: 6px 10px; border: 1px solid var(--ops-border); border-radius: 9px; color: var(--ops-ink); }
.behestan-ops__pagination .current { color: #fff; border-color: var(--ops-primary-dark); background: var(--ops-primary-dark); }
.behestan-ops__detail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; padding: 22px 24px; }
.behestan-ops__detail-head h2 { direction: ltr; margin: 2px 0 0; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
.behestan-ops__detail-head p { margin: 5px 0 0; color: var(--ops-muted); }
.behestan-ops__summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 12px; overflow: hidden; }
.behestan-ops__summary article { display: grid; align-content: center; min-height: 104px; padding: 16px 18px; border-left: 1px solid var(--ops-border); }
.behestan-ops__summary article:last-child { border-left: 0; }
.behestan-ops__summary span { color: var(--ops-muted); font-size: .8rem; }
.behestan-ops__summary strong { margin-top: 3px; }
.behestan-ops__summary small { direction: ltr; color: var(--ops-muted); text-align: right; }
.behestan-ops__panel { overflow: hidden; }
.behestan-ops__panel--control { width: min(1120px, 100%); margin-inline: auto; }
.behestan-ops__status-form { display: grid; gap: 7px; padding: 18px 20px; border-bottom: 1px solid var(--ops-border); }
.behestan-ops__status-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.behestan-ops__actions { display: grid; gap: 8px; padding: 12px; }
.behestan-ops__actions--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; padding: 20px; }
.behestan-ops__action { margin: 0; border: 1px solid var(--ops-border); border-radius: 12px; background: #fff; transition: border-color .2s ease, background .2s ease; }
.behestan-ops__action:hover { border-color: var(--ops-primary); background: var(--ops-primary-soft); }
.behestan-ops__action > a, a.behestan-ops__action { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 14px; border: 0; color: var(--ops-ink); background: transparent; text-align: right; cursor: pointer; }
.behestan-ops__action > .behestan-ops__icon { margin: 20px 14px; }
.behestan-ops__action .behestan-ops__icon { color: var(--ops-primary-dark); }
.behestan-ops__action span { display: grid; }
.behestan-ops__action small { color: var(--ops-muted); font-weight: 400; }
.behestan-ops__action--package { border-color: color-mix(in srgb, var(--ops-primary) 45%, var(--ops-border)); background: var(--ops-primary-soft); }
.behestan-ops__file-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 20px 20px; }
.behestan-ops__file-group { min-width: 0; padding: 16px; border: 1px solid var(--ops-border); border-radius: 14px; background: #fbfdfd; }
.behestan-ops__file-group-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.behestan-ops__file-group-head h3 { margin: 0; font-size: 1rem; }
.behestan-ops__file-group-head p { margin: 3px 0 0; color: var(--ops-muted); font-size: .8rem; }
.behestan-ops__file-group-head > span { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; color: var(--ops-primary-dark); background: var(--ops-primary-soft); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.behestan-ops__files, .behestan-ops__asset-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.behestan-ops__files li a, .behestan-ops__asset-list li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 9px 11px; border: 1px solid var(--ops-border); border-radius: 10px; color: var(--ops-ink); background: #fff; }
.behestan-ops__files li a:hover { border-color: var(--ops-primary); background: var(--ops-primary-soft); }
.behestan-ops__files .behestan-ops__icon, .behestan-ops__asset-list .behestan-ops__icon { width: 20px; height: 20px; color: var(--ops-primary-dark); }
.behestan-ops__files span, .behestan-ops__asset-list span { display: grid; min-width: 0; }
.behestan-ops__files strong, .behestan-ops__asset-list strong { overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.behestan-ops__files small, .behestan-ops__asset-list small { overflow: hidden; color: var(--ops-muted); font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.behestan-ops__files-empty { margin: 0; padding: 18px 12px; color: var(--ops-muted); background: #fff; border-radius: 10px; text-align: center; }
.behestan-ops__archive-download { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 12px; padding: 7px 12px; border: 1px solid var(--ops-primary); border-radius: 9px; font-size: .82rem; font-weight: 800; }
.behestan-ops__archive-download .behestan-ops__icon { width: 18px; height: 18px; }
.behestan-ops__delivery-status { display: flex; align-items: flex-start; gap: 10px; margin: 0 20px 20px; padding: 13px 15px; border: 1px solid; border-radius: 12px; }
.behestan-ops__delivery-status > .behestan-ops__icon { margin-top: 2px; }
.behestan-ops__delivery-status div { display: grid; gap: 2px; }
.behestan-ops__delivery-status small { color: inherit; font-size: .78rem; }
.behestan-ops__delivery-status.is-success { color: var(--ops-success); border-color: #a7ddc3; background: var(--ops-success-soft); }
.behestan-ops__delivery-status.is-warning { color: var(--ops-warning); border-color: #f2c77d; background: var(--ops-warning-soft); }
.behestan-ops__panel--answers { margin-bottom: 12px; }
.behestan-ops__answer-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 20px 22px; }
.behestan-ops__answer-section { min-width: 0; padding: 16px; border: 1px solid var(--ops-border); border-radius: 14px; background: #fbfdfd; }
.behestan-ops__answer-section h3 { margin: 0 0 10px; color: var(--ops-primary-dark); font-size: 1rem; }
.behestan-ops__answer-section dl { display: grid; gap: 0; margin: 0; }
.behestan-ops__answer-section dl > div { display: grid; grid-template-columns: minmax(145px, 34%) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--ops-border); }
.behestan-ops__answer-section dl > div:last-child { border-bottom: 0; }
.behestan-ops__answer-section dt { color: var(--ops-muted); font-size: .78rem; font-weight: 800; }
.behestan-ops__answer-section dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ops-ink); font-size: .9rem; white-space: normal; }
.behestan-ops__answer-list { display: grid; gap: 5px; margin: 0; padding: 0 18px 0 0; }
.behestan-ops__answer-list .behestan-ops__answer-list { margin-top: 5px; }
.behestan-ops__asset-missing { margin-top: 12px; padding: 11px 13px; border: 1px solid #f2c77d; border-radius: 10px; color: var(--ops-warning); background: var(--ops-warning-soft); font-size: .78rem; }
.behestan-ops__asset-missing ul { margin: 5px 0 0; padding: 0 18px 0 0; }
.behestan-ops__guest { width: min(560px, calc(100% - 32px)); margin: 12vh auto; padding: 40px; border: 1px solid var(--ops-border); border-radius: 24px; background: #fff; box-shadow: var(--ops-shadow); text-align: center; }
.behestan-ops__guest h1 { margin: 6px 0 8px; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.behestan-ops__guest p { margin: 0 auto 24px; color: var(--ops-muted); }

.behestan-demand__intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--ops-primary) 35%, var(--ops-border)); border-radius: var(--ops-radius); background: linear-gradient(115deg, var(--ops-primary-soft), #fff 58%); }
.behestan-demand__intro h2 { margin: 3px 0 5px; font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.25; }
.behestan-demand__intro p { max-width: 820px; margin: 0; color: var(--ops-muted); }
.behestan-demand__scope { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 12px; border: 1px solid color-mix(in srgb, var(--ops-primary) 35%, var(--ops-border)); border-radius: 999px; color: var(--ops-primary-dark); background: #fff; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.behestan-demand__filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.behestan-demand__filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.behestan-ops .behestan-demand__filter-actions > .behestan-ops__button { display: inline-flex !important; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; white-space: nowrap; text-decoration: none; }
.behestan-demand__filter-actions .behestan-ops__icon { flex-shrink: 0; }
.behestan-demand__metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.behestan-ops__metric--text strong { display: -webkit-box; overflow: hidden; font-size: .9rem; line-height: 1.55; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.behestan-demand__panel { min-width: 0; max-width: 100%; box-sizing: border-box; margin-bottom: 16px; padding: 20px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.behestan-demand__panel--wide { width: 100%; }
.behestan-demand__panel-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.behestan-demand__panel-head h3 { margin: 0; font-size: 1.18rem; line-height: 1.45; }
.behestan-demand__panel-head p { margin: 4px 0 0; color: var(--ops-muted); font-size: .9rem; }
.behestan-demand__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.behestan-demand__grid > .behestan-demand__panel { height: 100%; margin-bottom: 0; }
.behestan-demand__ranking { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; width: 100%; gap: 14px; margin: 0; padding: 0; list-style: none; }
.behestan-demand__ranking li { min-width: 0; max-width: 100%; }
.behestan-demand__ranking li > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.behestan-demand__ranking li > div > span { min-width: 0; flex: 1 1 0; overflow-wrap: anywhere; white-space: normal; font-size: .94rem; }
.behestan-demand__ranking li strong { color: var(--ops-primary-dark); font-size: .94rem; font-variant-numeric: tabular-nums; }
.behestan-demand__track { display: block; width: 100%; max-width: 100%; overflow: hidden; height: 7px; border-radius: 999px; background: #e8eef0; }
.behestan-demand__track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ops-primary-dark), var(--ops-primary)); }
.behestan-demand__trend { display: flex; align-items: stretch; gap: clamp(8px, 1.5vw, 20px); min-height: 210px; padding: 8px 6px 0; overflow-x: auto; }
.behestan-demand__trend-item { display: grid; grid-template-rows: 24px 140px auto; gap: 7px; min-width: 64px; flex: 1 0 64px; align-items: end; text-align: center; }
.behestan-demand__trend-value { color: var(--ops-primary-dark); font-size: .82rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.behestan-demand__trend-bar { position: relative; display: flex; align-items: end; justify-content: center; width: min(38px, 72%); height: 140px; margin-inline: auto; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #f1f6f7, #e7edef); }
.behestan-demand__trend-bar > span { display: block; width: 100%; min-height: 8px; border-radius: inherit; background: linear-gradient(180deg, var(--ops-primary), var(--ops-primary-dark)); }
.behestan-demand__trend-label { direction: ltr; color: var(--ops-muted); font-size: .76rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.behestan-demand__matrix-wrap { overflow-x: auto; }
.behestan-demand__matrix { min-width: 760px; }
.behestan-demand__matrix th, .behestan-demand__matrix td { padding: 11px 12px; text-align: center; }
.behestan-demand__matrix th:first-child { position: sticky; right: 0; z-index: 1; min-width: 150px; text-align: right; background: #fafcfc; }
.behestan-demand__matrix-value { display: inline-grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; color: var(--ops-muted); background: #f1f4f5; font-size: .83rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.behestan-demand__matrix-value.has-value { color: #fff; background: var(--ops-primary-dark); }
.behestan-demand__quantity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.behestan-demand__quantity-card { display: grid; gap: 12px; padding: 16px; border: 1px solid color-mix(in srgb, var(--ops-primary) 28%, var(--ops-border)); border-radius: 14px; color: var(--ops-ink) !important; background: linear-gradient(145deg, var(--ops-primary-soft), #fff); }
.behestan-demand__quantity-card > div { display: grid; gap: 3px; }
.behestan-demand__quantity-card.is-clickable { cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.behestan-demand__quantity-card.is-clickable:hover { border-color: var(--ops-primary-dark); background: var(--ops-primary-soft); box-shadow: 0 8px 18px rgba(24,43,50,.08); }
.behestan-demand__quantity-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: auto; color: var(--ops-primary-dark) !important; font-weight: 800; }
.behestan-demand__quantity-link .behestan-ops__icon { width: 17px; height: 17px; }
.behestan-demand__quantity span { color: var(--ops-muted); font-size: .88rem; }
.behestan-demand__quantity strong { color: var(--ops-primary-dark); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.behestan-demand__quantity ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.behestan-demand__quantity li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--ops-primary) 20%, var(--ops-border)); }
.behestan-demand__quantity li b { font-variant-numeric: tabular-nums; }
.behestan-demand__quantity p { margin: 0; color: var(--ops-muted); font-size: .84rem; }
.behestan-demand__channel-map { display: grid; gap: 12px; }
.behestan-demand__legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ops-muted); font-size: .84rem; }
.behestan-demand__legend span { display: inline-flex; align-items: center; gap: 6px; }
.behestan-demand__legend span::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #2f80ed; }
.behestan-demand__legend .is-offline::before { background: #f2994a; }
.behestan-demand__legend .is-hybrid::before { background: var(--ops-primary-dark); }
.behestan-demand__channel-row { display: grid; grid-template-columns: minmax(160px, .65fr) minmax(260px, 2fr); align-items: center; gap: 14px; }
.behestan-demand__channel-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.behestan-demand__channel-row > div:first-child span { color: var(--ops-muted); font-size: .82rem; white-space: nowrap; }
.behestan-demand__channel-bar { display: flex; height: 24px; overflow: hidden; border-radius: 8px; background: #edf2f4; }
.behestan-demand__channel-bar > span { display: grid; min-width: 26px; place-items: center; color: #fff; background: #2f80ed; font-size: .72rem; }
.behestan-demand__channel-bar > .is-offline { background: #f2994a; }
.behestan-demand__channel-bar > .is-hybrid { background: var(--ops-primary-dark); }
.behestan-demand__messages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.behestan-demand__messages article { display: grid; align-content: start; gap: 11px; min-height: 160px; padding: 18px; border: 1px solid var(--ops-border); border-radius: 14px; background: linear-gradient(145deg, #fff, #f8fbfb); }
.behestan-demand__messages article > div { display: flex; flex-wrap: wrap; gap: 6px; }
.behestan-demand__messages article > div span { padding: 3px 8px; border-radius: 999px; color: var(--ops-primary-dark); background: var(--ops-primary-soft); font-size: .73rem; font-weight: 700; }
.behestan-demand__messages p { margin: 0; color: var(--ops-ink); font-size: .9rem; line-height: 1.8; }
.behestan-demand__messages a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: auto; font-size: .8rem; font-weight: 800; }
.behestan-demand__messages .behestan-ops__icon { width: 16px; height: 16px; }
.behestan-demand__muted { margin: 0; padding: 24px 0; color: var(--ops-muted); text-align: center; }
.behestan-ops__danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1120px, 100%); margin: 16px auto 0; padding: 18px 20px; border: 1px solid #efb5b0; border-radius: var(--ops-radius); background: var(--ops-danger-soft); }
.behestan-ops__danger-zone strong { color: var(--ops-danger); font-size: 1rem; }
.behestan-ops__danger-zone p { max-width: 820px; margin: 4px 0 0; color: #7a271a; font-size: .86rem; }
.behestan-ops__danger-zone form { flex: 0 0 auto; }

.behestan-ops--login { display: grid; min-height: 72dvh; place-items: center; background: radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--ops-primary) 14%, transparent), transparent 34%), var(--ops-background); }
.behestan-login { width: min(520px, 100%); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--ops-border); border-radius: 24px; background: var(--ops-surface); box-shadow: var(--ops-shadow); }
.behestan-login__mark { display: grid; width: 54px; height: 54px; margin-bottom: 18px; place-items: center; border-radius: 16px; color: #fff; background: var(--ops-primary-dark); }
.behestan-login__mark .behestan-ops__icon { width: 26px; height: 26px; }
.behestan-login h1 { margin: 4px 0 7px; font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.35; }
.behestan-login > p { margin: 0 0 22px; color: var(--ops-muted); }
.behestan-login__form { display: grid; gap: 14px; }
.behestan-login__form .behestan-ops__button { width: 100%; }
.behestan-login__remember { display: flex; align-items: center; gap: 9px; min-height: 44px; color: var(--ops-muted); cursor: pointer; }
.behestan-login__remember input { width: 18px; height: 18px; accent-color: var(--ops-primary-dark); }
.behestan-login__lost { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: .9rem; font-weight: 700; }
.behestan-login__panel { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--ops-border); border-radius: 16px; background: #fbfdfd; }
.behestan-login__panel h2 { margin: 0; font-size: 1rem; }
.behestan-login__panel > p { margin: -5px 0 0; color: var(--ops-muted); font-size: .86rem; line-height: 1.8; }
.behestan-login__mail-note { padding: 10px 12px; border-radius: 10px; color: #6f4300 !important; background: var(--ops-warning-soft); }
.behestan-login__divider { display: flex; align-items: center; gap: 12px; margin: 15px 0; color: var(--ops-muted); font-size: .78rem; font-weight: 800; }
.behestan-login__divider::before, .behestan-login__divider::after { content: ''; height: 1px; flex: 1; background: var(--ops-border); }
.behestan-ops__field small { display: block; margin-top: 4px; color: var(--ops-muted); font-size: .76rem; line-height: 1.7; }

.behestan-access__intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--ops-primary) 35%, var(--ops-border)); border-radius: var(--ops-radius); background: linear-gradient(115deg, var(--ops-primary-soft), #fff 58%); }
.behestan-access__intro h2 { margin: 3px 0 5px; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.behestan-access__intro p { margin: 0; color: var(--ops-muted); }
.behestan-access__intro .behestan-access__guide { margin-top: 12px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--ops-primary) 28%, var(--ops-border)); border-radius: 10px; color: var(--ops-ink); background: color-mix(in srgb, var(--ops-primary-soft) 66%, #fff); line-height: 1.8; }
.behestan-access__guide strong { color: var(--ops-primary-dark); }
.behestan-access__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.behestan-access__metrics article { display: grid; min-height: 96px; align-content: center; gap: 6px; padding: 16px 18px; border: 1px solid var(--ops-border); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(26, 64, 68, .04); }
.behestan-access__metrics span { color: var(--ops-muted); font-size: .8rem; font-weight: 700; }
.behestan-access__metrics strong { color: var(--ops-primary-dark); font-size: clamp(1.35rem, 2vw, 1.75rem); }
.behestan-access__credentials { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); gap: 18px; margin-bottom: 16px; padding: 20px; border: 1px solid #9bd5bc; border-radius: var(--ops-radius); background: var(--ops-success-soft); }
.behestan-access__credentials h3 { margin: 0 0 4px; font-size: 1.05rem; }
.behestan-access__credentials p { margin: 0; color: var(--ops-muted); }
.behestan-access__credentials dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.behestan-access__credentials dl > div { min-width: 0; padding: 10px 12px; border-radius: 10px; background: #fff; }
.behestan-access__credentials dt { color: var(--ops-muted); font-size: .76rem; }
.behestan-access__credentials dd { overflow: hidden; margin: 3px 0 0; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__layout { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); align-items: start; gap: 16px; }
.behestan-access__create form { display: grid; gap: 14px; padding: 18px 20px 22px; }
.behestan-access__helper { margin: 0; color: var(--ops-muted); font-size: .82rem; line-height: 1.8; }
.behestan-access__list { display: grid; gap: 10px; padding: 12px; }
.behestan-access__filters { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(170px, .8fr) minmax(170px, .8fr) auto; align-items: end; gap: 10px; padding: 14px 16px; border-block: 1px solid var(--ops-border); background: #f8fbfb; }
.behestan-access__filters .behestan-ops__field { gap: 6px; }
.behestan-access__filters .behestan-ops__button { min-height: 48px !important; white-space: nowrap; }
.behestan-access__no-results { margin: 0; }
.behestan-access__list [hidden] { display: none !important; }
.behestan-access__filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.behestan-access__user { display: grid; gap: 14px; padding: 14px; border: 1px solid var(--ops-border); border-radius: 12px; background: #fcfdfd; }
.behestan-access__user-summary { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(420px, 2fr); align-items: center; gap: 18px; }
.behestan-access__identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.behestan-access__identity > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--ops-primary-dark); font-size: 1.1rem; font-weight: 900; }
.behestan-access__identity div { min-width: 0; }
.behestan-access__identity h3 { overflow: hidden; margin: 0; font-size: .96rem; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__identity p { overflow: hidden; margin: 2px 0 0; color: var(--ops-muted); font-size: .77rem; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__identity small { display: block; overflow: hidden; margin-top: 2px; color: var(--ops-primary-dark); font-size: .72rem; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__user dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.behestan-access__user dl > div { min-width: 0; }
.behestan-access__user dt { color: var(--ops-muted); font-size: .72rem; }
.behestan-access__user dd { overflow: hidden; margin: 2px 0 0; font-size: .8rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__controls { display: flex; align-items: stretch; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ops-border); }
.behestan-access__controls form { margin: 0; }
.behestan-access__owner-note { margin: 0; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--ops-primary) 24%, var(--ops-border)); border-radius: 9px; color: var(--ops-muted); background: var(--ops-primary-soft); font-size: .8rem; }
.behestan-access__role-form { display: grid; grid-template-columns: minmax(170px, 220px) auto; gap: 8px; }
.behestan-access__account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.behestan-access__user select { width: 100%; min-height: 44px; padding: 7px 10px; border: 1px solid var(--ops-border); border-radius: 9px; color: var(--ops-ink); background: #fff; }
.behestan-access__user .behestan-ops__button { min-height: 44px !important; padding: 8px 13px !important; font-size: .8rem !important; white-space: nowrap; }
.behestan-access__switch-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1480px, 100%); margin: 0 auto 12px; padding: 12px 16px; border: 1px solid #e7bd6d; border-radius: 12px; color: #6f4300; background: var(--ops-warning-soft); }
.behestan-access__switch-banner > div { display: grid; }
.behestan-access__switch-banner span { font-size: .84rem; }
.behestan-access__switch-banner form { margin: 0; }
.behestan-access__pending { margin-bottom: 16px; }
.behestan-access__pending-list { display: grid; gap: 10px; padding: 12px; }
.behestan-access__pending-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--ops-border); border-radius: 12px; background: #fcfdfd; }
.behestan-access__pending-list article > div { min-width: 0; }
.behestan-access__pending-identity { display: grid; flex: 1; gap: 4px; }
.behestan-access__pending-identity > b { overflow: hidden; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__pending-state { width: max-content; padding: 4px 8px; border-radius: 999px; color: #7a271a; background: var(--ops-danger-soft); font-size: .7rem; font-weight: 800; }
.behestan-access__pending-identity dl { display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 8px; margin: 8px 0 0; }
.behestan-access__pending-identity dl > div { min-width: 0; }
.behestan-access__pending-identity dt { color: var(--ops-muted); font-size: .7rem; }
.behestan-access__pending-identity dd { overflow: hidden; margin: 2px 0 0; font-size: .76rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__pending-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.behestan-access__pending-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.behestan-access__pending-list small { color: var(--ops-muted); }
.behestan-access__pending-list form { margin: 0; }

@media (max-width: 1180px) {
    .behestan-ops__metrics { grid-template-columns: repeat(3, 1fr); }
    .behestan-ops__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-ops__field--search { grid-column: span 2; }
    .behestan-ops__summary { grid-template-columns: repeat(3, 1fr); }
    .behestan-ops__summary article { border-bottom: 1px solid var(--ops-border); }
    .behestan-ops__header { align-items: flex-start; }
    .behestan-ops__brand { display: grid; gap: 12px; }
    .behestan-demand__metrics { grid-template-columns: repeat(3, 1fr); }
    .behestan-demand__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-demand__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-access__layout { grid-template-columns: 1fr; }
    .behestan-access__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-access__search { grid-column: span 2; }
    .behestan-access__user-summary { grid-template-columns: minmax(180px, 1fr) minmax(360px, 2fr); }
    .behestan-access__controls { align-items: flex-start; flex-direction: column; }
}

.behestan-ops__trash-head { align-items: center; }
.behestan-ops__trash-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.behestan-ops__trash-actions form { margin: 0; }
.behestan-ops__trash-actions .behestan-ops__button { min-height: 42px; padding: 9px 14px; white-space: nowrap; }
.behestan-ops__trash tbody tr { cursor: default; }

@media (max-width: 760px) {
    .behestan-ops { padding: 12px; font-size: 16px; }
    .behestan-ops__header { align-items: flex-start; padding: 16px; }
    .behestan-ops__account { display: grid; gap: 8px; text-align: right; }
    .behestan-ops__account nav { flex-wrap: wrap; }
    .behestan-ops__brand { width: 100%; }
    .behestan-ops__primary-nav { width: 100%; overflow-x: auto; }
    .behestan-ops__nav-link { flex: 1 0 auto; justify-content: center; }
    .behestan-ops__intro { align-items: flex-start; }
    .behestan-ops__metrics { grid-template-columns: repeat(2, 1fr); }
    .behestan-ops__metric { min-height: 86px; padding: 12px; }
    .behestan-ops__filters { grid-template-columns: 1fr; }
    .behestan-ops__field--search { grid-column: auto; }
    .behestan-ops__table-wrap { overflow: visible; }
    .behestan-ops table, .behestan-ops tbody { display: block; }
    .behestan-ops thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .behestan-ops tbody { display: grid; gap: 10px; padding: 10px; }
    .behestan-ops tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px; border: 1px solid var(--ops-border); border-radius: 12px; }
    .behestan-ops td { display: grid; gap: 2px; padding: 0; border: 0; }
    .behestan-ops td::before { content: attr(data-label); color: var(--ops-muted); font-size: .74rem; font-weight: 700; }
    .behestan-ops td:first-child, .behestan-ops td:nth-child(3) { grid-column: 1 / -1; }
    .behestan-ops__summary { grid-template-columns: 1fr 1fr; }
    .behestan-ops__actions--primary, .behestan-ops__file-groups { grid-template-columns: 1fr; }
    .behestan-ops__answer-sections { grid-template-columns: 1fr; }
    .behestan-ops__detail-head { align-items: flex-start; }
    .behestan-demand__intro { align-items: flex-start; padding: 18px; }
    .behestan-demand__filters { grid-template-columns: 1fr; }
    .behestan-demand__grid { grid-template-columns: 1fr; }
    .behestan-demand__quantity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-demand__channel-row { grid-template-columns: 1fr; gap: 6px; }
    .behestan-demand__messages { grid-template-columns: 1fr; }
    .behestan-ops__danger-zone { align-items: flex-start; flex-direction: column; }
    .behestan-access__intro, .behestan-access__credentials { grid-template-columns: 1fr; align-items: flex-start; }
    .behestan-access__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-access__credentials dl { grid-template-columns: 1fr; }
    .behestan-access__filters { grid-template-columns: 1fr; }
    .behestan-access__search { grid-column: auto; }
    .behestan-access__user-summary { grid-template-columns: 1fr; }
    .behestan-access__user dl { grid-template-columns: 1fr 1fr; }
    .behestan-access__switch-banner { align-items: flex-start; flex-direction: column; }
    .behestan-access__pending-list article { align-items: stretch; flex-direction: column; }
    .behestan-access__pending-identity dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .behestan-access__pending-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .behestan-access__pending-actions form { width: 100%; }
    .behestan-access__pending-list .behestan-ops__button { width: 100%; }
}

@media (max-width: 430px) {
    .behestan-ops__header { display: grid; }
    .behestan-ops__brand { min-width: 0; }
    .behestan-ops__metrics { grid-template-columns: 1fr 1fr; }
    .behestan-ops__metric > .behestan-ops__icon { width: 36px; height: 36px; min-width: 36px; flex-basis: 36px; padding: 6px; }
    .behestan-ops__detail-head, .behestan-ops__intro { display: grid; }
    .behestan-ops__summary { grid-template-columns: 1fr; }
    .behestan-ops__status-form > div { grid-template-columns: 1fr; }
    .behestan-ops tbody tr { grid-template-columns: 1fr; }
    .behestan-ops td, .behestan-ops td:first-child, .behestan-ops td:nth-child(3) { grid-column: 1; }
    .behestan-demand__intro { display: grid; }
    .behestan-demand__scope { width: max-content; }
    .behestan-demand__quantity { grid-template-columns: 1fr; }
    .behestan-ops__answer-section dl > div { grid-template-columns: 1fr; gap: 3px; }
    .behestan-access__intro { display: grid; }
    .behestan-access__metrics { grid-template-columns: 1fr 1fr; }
    .behestan-access__metrics article { min-height: 84px; padding: 13px; }
    .behestan-access__user dl, .behestan-access__role-form { grid-template-columns: 1fr; }
    .behestan-access__pending-identity dl, .behestan-access__pending-actions { grid-template-columns: 1fr; }
    .behestan-access__account-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .behestan-access__account-actions form, .behestan-access__account-actions button { width: 100%; }
    .behestan-login { padding: 24px 18px; }
}

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

/* Portal home and controlled requester edits */
.behestan-portal__hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border:1px solid var(--ops-border);border-radius:20px;background:linear-gradient(135deg,#fff,var(--ops-soft));box-shadow:var(--ops-shadow)}
.behestan-portal__hero h2{margin:4px 0 8px;font-size:clamp(1.2rem,1.75vw,1.65rem);line-height:1.45}
.behestan-portal__hero p{margin:0;color:var(--ops-muted)}
.behestan-portal__identity{display:grid;min-width:250px;gap:4px;padding:14px 16px;border:1px solid var(--ops-border);border-radius:14px;background:#fff;text-align:left}
.behestan-portal__identity span{color:var(--ops-muted);text-align:right;font-family:"IRANYekanX",IRANYekan,Vazirmatn,Tahoma,Arial,sans-serif!important;font-size:.88rem}
.behestan-profile{margin-top:18px}
.behestan-profile__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:18px;align-items:start;padding:22px 24px 24px}
.behestan-profile__form .behestan-ops__field{align-content:start;gap:8px}
.behestan-profile__form label{margin:0!important;padding:0!important;line-height:1.55!important}
.behestan-profile__form input{font-family:"IRANYekanX",IRANYekan,Vazirmatn,Tahoma,Arial,sans-serif!important}
.behestan-profile__actions{display:flex;align-items:flex-end;min-height:82px}
.behestan-profile__actions .behestan-ops__button{width:auto;min-width:168px!important;white-space:nowrap}
.behestan-portal__profile-ready{display:flex;align-items:center;gap:12px;margin-top:18px;padding:14px 18px;border:1px solid #9fd8d5;border-radius:14px;background:#effbf9;color:#116a6e}
.behestan-portal__profile-ready>form{display:flex;align-items:end;gap:8px;margin-inline-start:auto}
.behestan-portal__profile-ready label{display:grid;gap:5px;color:var(--ops-muted);font-family:"IRANYekanX",IRANYekan,Vazirmatn,Tahoma,Arial,sans-serif!important;font-size:.78rem}
.behestan-portal__profile-ready input{min-height:42px;border:1px solid var(--ops-border);border-radius:10px;padding:8px 10px;font-family:"IRANYekanX",IRANYekan,Vazirmatn,Tahoma,Arial,sans-serif!important}
.behestan-portal__profile-ready button{min-height:42px;border:0;border-radius:10px;padding:8px 14px;background:var(--ops-primary);color:#fff;cursor:pointer}
.behestan-portal__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.behestan-portal__card{display:flex;min-height:210px;gap:16px;padding:22px;border:1px solid var(--ops-border);border-radius:18px;background:#fff;color:var(--ops-text);text-decoration:none;box-shadow:0 8px 24px rgba(26,64,68,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.behestan-portal__card:hover{transform:translateY(-2px);border-color:var(--ops-primary);box-shadow:0 14px 32px rgba(26,64,68,.09)}
.behestan-portal__card:focus-visible{outline:3px solid rgba(66,193,199,.35);outline-offset:3px}
.behestan-portal__card-icon{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border-radius:14px;background:var(--ops-soft);color:var(--ops-primary)}
.behestan-portal__card-icon .behestan-ops__icon{width:25px;height:25px}
.behestan-portal__card h3{margin:3px 0 8px;font-size:1.12rem}
.behestan-portal__card p{margin:0 0 18px;color:var(--ops-muted);font-family:"IRANYekanX",IRANYekan,Vazirmatn,Tahoma,Arial,sans-serif!important;line-height:1.9;text-align:start!important;text-wrap:pretty;word-spacing:normal;letter-spacing:normal}
.behestan-portal__card strong{display:flex;align-items:center;gap:5px;margin-top:auto;color:var(--ops-primary)}
.behestan-portal__card>div{display:flex;min-width:0;flex-direction:column}
.behestan-portal__card strong .behestan-ops__icon{width:18px;height:18px;transform:rotate(180deg)}
.behestan-order-edit{margin-block:18px}
.behestan-order-edit__request{display:grid;gap:10px}
.behestan-order-edit__request label{font-weight:800}
.behestan-order-edit__request textarea{width:100%;min-height:120px;border:1px solid var(--ops-border);border-radius:12px;padding:12px;resize:vertical}
.behestan-order-changes ol{display:grid;gap:10px;margin:0;padding:0;list-style:none}.behestan-order-changes li{padding:14px;border:1px solid var(--ops-border);border-radius:12px;background:var(--ops-soft)}.behestan-order-changes p{margin:0 0 6px}.behestan-order-changes time{color:var(--ops-muted);font-size:.76rem}
.behestan-order-completion{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-block:18px;padding:20px;border-color:#b9dfe0;background:#f4fbfb}.behestan-order-completion>div{display:flex;align-items:flex-start;gap:14px}.behestan-order-completion h2{margin:0 0 5px;font-size:1.05rem}.behestan-order-completion p{max-width:760px;margin:0;color:var(--ops-muted);line-height:1.8}.behestan-order-completion__icon{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:14px;background:#dff4f3;color:var(--ops-primary)}.behestan-order-completion__icon .behestan-ops__icon{width:24px;height:24px}.behestan-order-completion.is-completed{border-color:#a7ddc3;background:var(--ops-success-soft)}.behestan-order-completion.is-completed .behestan-order-completion__icon{background:#d9f3e6;color:var(--ops-success)}.behestan-order-completion form{flex:0 0 auto}

.behestan-order-revision{margin-block:18px;border-color:#efb5b0;background:#fffafa}
.behestan-order-revision .behestan-order-edit__request{padding:20px}
.behestan-ops__files-restricted{display:flex;align-items:flex-start;gap:12px;margin:0 20px 20px;padding:16px;border:1px solid var(--ops-border);border-radius:12px;background:#f8fbfb;color:var(--ops-muted)}
.behestan-ops__files-restricted>.behestan-ops__icon{flex:0 0 22px;color:var(--ops-primary-dark)}
.behestan-ops__files-restricted strong{display:block;color:var(--ops-ink)}
.behestan-ops__files-restricted p{margin:3px 0 0}

@media(max-width:1020px){.behestan-portal__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.behestan-profile__form{grid-template-columns:1fr 1fr}.behestan-profile__actions{grid-column:1/-1;min-height:0}.behestan-profile__actions .behestan-ops__button{width:max-content}}
@media(max-width:760px){.behestan-portal__hero{align-items:stretch;flex-direction:column;padding:20px}.behestan-portal__identity{min-width:0;text-align:right}.behestan-portal__grid,.behestan-profile__form{grid-template-columns:1fr}.behestan-profile__form{padding:18px}.behestan-profile__actions{width:100%}.behestan-profile__actions .behestan-ops__button{width:100%}.behestan-portal__profile-ready{align-items:stretch;flex-direction:column}.behestan-portal__profile-ready>form{display:grid;width:100%;margin:0}.behestan-portal__profile-ready button{width:100%}.behestan-portal__card{min-height:170px;padding:18px}.behestan-order-completion{align-items:stretch;flex-direction:column}.behestan-order-completion form,.behestan-order-completion .behestan-ops__button{width:100%}}

/* Dense dashboard controls, Excel-like multi filters, and embedded order forms. */
.behestan-ops__filters{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));padding:12px;gap:10px}
.behestan-ops__filters>.behestan-ops__button{min-height:46px!important}
.behestan-multi{position:relative;min-width:0}
.behestan-multi summary{display:flex;align-items:center;justify-content:space-between;gap:8px;height:48px;padding:0 13px;border:1px solid var(--ops-border);border-radius:10px;background:#fff;color:var(--ops-ink);cursor:pointer;list-style:none}
.behestan-multi summary::-webkit-details-marker{display:none}
.behestan-multi summary .behestan-ops__icon{width:17px;height:17px;transition:transform .16s ease}
.behestan-multi[open] summary{border-color:var(--ops-primary-dark);box-shadow:0 0 0 3px color-mix(in srgb,var(--ops-primary) 20%,transparent)}
.behestan-multi[open] summary .behestan-ops__icon{transform:rotate(180deg)}
.behestan-multi__panel{position:absolute;z-index:40;top:calc(100% + 6px);right:0;width:max(100%,270px);max-width:min(360px,90vw);padding:10px;border:1px solid var(--ops-border);border-radius:12px;background:#fff;box-shadow:0 16px 34px rgba(24,43,50,.16)}
.behestan-multi__search{position:relative}
.behestan-multi__search .behestan-ops__icon{position:absolute;top:12px;right:11px;width:18px;height:18px;color:var(--ops-muted)}
.behestan-multi__search input{height:42px!important;min-height:42px!important;padding-right:38px!important;font-size:.88rem!important}
.behestan-multi__actions{display:flex;gap:6px;margin:8px 0}
.behestan-multi__actions button{min-height:36px;padding:5px 10px;border:1px solid var(--ops-border);border-radius:8px;background:#f8fbfb;color:var(--ops-primary-dark);font-size:.78rem;font-weight:800;cursor:pointer}
.behestan-multi__options{display:grid;max-height:250px;overflow:auto;overscroll-behavior:contain}
.behestan-multi__options label{display:flex;align-items:center;gap:9px;min-height:42px;padding:7px 8px;border-radius:8px;color:var(--ops-ink);cursor:pointer}
.behestan-multi__options label:hover{background:var(--ops-primary-soft)}
.behestan-multi__options input{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;margin:0!important;padding:0!important;accent-color:var(--ops-primary-dark)}
.behestan-orders-scope{display:flex;width:max-content;max-width:100%;gap:4px;margin:0 0 12px;padding:4px;border:1px solid var(--ops-border);border-radius:11px;background:#fff}
.behestan-orders-scope a{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border-radius:8px;color:var(--ops-muted);font-size:.85rem;font-weight:800}
.behestan-orders-scope a.is-active{color:#fff;background:var(--ops-primary-dark)}
.behestan-ops__metric{min-height:76px;padding:11px 12px;gap:9px}
.behestan-ops__metric strong{font-size:1.35rem}
.behestan-demand__grid{align-items:stretch;gap:12px;margin-bottom:12px}
.behestan-demand__panel{padding:15px;margin-bottom:12px}
.behestan-demand__grid>.behestan-demand__panel{align-self:stretch;height:100%;margin-bottom:0}
.behestan-demand__panel-head{margin-bottom:12px}
.behestan-demand__ranking{gap:10px}
.behestan-demand__quantity{gap:9px}
.behestan-demand__quantity-card{gap:8px;padding:12px}
.behestan-demand__quantity strong{font-size:1.08rem}
.behestan-demand__quantity-link{min-height:36px}
.behestan-demand__messages article{min-height:140px;padding:14px}
.behestan-demand__count{display:inline-flex;align-items:center;min-height:34px;padding:4px 10px;border-radius:999px;color:var(--ops-muted);background:#f1f5f6;font-size:.78rem;font-weight:800;white-space:nowrap}
.behestan-messages-pagination{margin-top:12px;padding:12px 0 0}
.behestan-portal__card{min-height:174px;padding:18px}
.behestan-ops__forms>.mbbp-app{max-width:none;margin:0;padding:8px 0 40px}
.behestan-ops__forms .mbbp-page-head{margin-bottom:24px}
.behestan-ops__forms .mbbp-page-head h1{font-size:clamp(28px,3vw,42px)}

@media(max-width:760px){
    .behestan-multi__panel{position:fixed;z-index:100;top:auto;right:12px;bottom:12px;left:12px;width:auto;max-width:none;max-height:min(70vh,560px);overflow:auto}
    .behestan-orders-scope{width:100%}
    .behestan-orders-scope a{flex:1;justify-content:center}
    .behestan-ops__metric{min-height:72px}
    .behestan-ops__forms>.mbbp-app{padding-top:0}
}
/* Shared portal component boundaries: do not inherit Elementor typography/layout. */
body .behestan-ops { --ops-soft: var(--ops-primary-soft); --ops-text: var(--ops-ink); }
body .behestan-ops h1, body .behestan-ops h2, body .behestan-ops h3 {
 font-family: "IRANYekanX", Tahoma, sans-serif !important;
 color: var(--ops-ink) !important; font-weight: 800 !important;
 letter-spacing: 0 !important; line-height: 1.45 !important;
}
body .behestan-ops .behestan-ops__header h1 { font-size: 24px !important; margin: 2px 0 0 !important; }
body .behestan-ops .behestan-portal__hero h2 { font-size: 26px !important; margin: 4px 0 8px !important; }
body .behestan-ops h2 { font-size: 22px !important; }
body .behestan-ops h3 { font-size: 18px !important; }
body .behestan-ops .behestan-login h1 { font-size: 28px !important; margin: 4px 0 12px !important; }
body .behestan-ops .behestan-login__panel h2 { font-size: 18px !important; }
body .behestan-ops label { color: var(--ops-muted) !important; font-size: 14px !important; line-height: 1.6 !important; }
body .behestan-ops input, body .behestan-ops select { color: var(--ops-ink) !important; }
body .behestan-ops a { text-decoration: none !important; }
body .behestan-ops button.behestan-ops__button,
body .behestan-ops a.behestan-ops__button {
 display: inline-flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
 align-items: center !important; justify-content: center !important; gap: 8px !important;
 text-align: center !important; vertical-align: middle; max-width: 100%;
}
body .behestan-ops .behestan-ops__button > .behestan-ops__icon {
 position: static !important; float: none !important; display: block !important;
 width: 22px !important; height: 22px !important; flex: 0 0 22px !important;
 margin: 0 !important; padding: 0 !important;
}
body .behestan-ops .behestan-ops__button > span { margin: 0 !important; line-height: 1.5 !important; }
body .behestan-ops .behestan-ops__button > br { display: none !important; }
body .behestan-ops .behestan-ops__header { gap: 20px; }
body .behestan-ops .behestan-ops__account { flex-shrink: 0; gap: 16px; }
body .behestan-ops .behestan-ops__account > div { min-width: 100px; }
body .behestan-ops .behestan-login { width: min(600px, 100%); }
body .behestan-ops .behestan-login__remember { color: var(--ops-muted) !important; }
body .behestan-ops .behestan-access__form p { text-align: start; }
@media (max-width: 1180px) {
 body .behestan-ops .behestan-ops__header { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
 body .behestan-ops .behestan-ops__brand { width: 100%; display: grid; gap: 16px; }
 body .behestan-ops .behestan-ops__account { display: flex !important; align-items: center; justify-content: space-between; width: 100%; text-align: right; }
}
@media (max-width: 760px) {
 body .behestan-ops .behestan-ops__header h1 { font-size: 21px !important; }
 body .behestan-ops .behestan-portal__hero h2 { font-size: 23px !important; }
 body .behestan-ops .behestan-login h1 { font-size: 24px !important; }
 body .behestan-ops .behestan-ops__primary-nav { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; overflow: visible; }
 body .behestan-ops .behestan-ops__nav-link { min-width: 0; white-space: normal; font-size: 13px !important; padding: 10px 6px !important; text-align: center; justify-content: center; }
 body .behestan-ops .behestan-ops__nav-link .behestan-ops__icon { flex: 0 0 19px; }
 body .behestan-ops .behestan-demand__filter-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
 body .behestan-ops .behestan-demand__filter-actions > .behestan-ops__button { white-space: normal; font-size: 14px !important; padding-inline: 8px !important; }
}
/* Compact vendor management counters; no vendor records are changed. */
body .bbm-stats article, body .bbm-stats > a { min-height: 76px !important; padding: 12px 18px !important; align-items: center !important; }
body .bbm-stats strong { font-size: 26px !important; line-height: 1.2 !important; }
