@font-face{font-family:Onest;src:url('/fonts/onest-cyrillic.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:Onest;src:url('/fonts/onest-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0000-024F}
:root{--panel-ivory:#FAF8F2;--panel-scroll-thumb:#8B948D;--panel-scroll-hover:#56665A;--panel-scroll-track:#F3F4F2;scrollbar-gutter:stable;scrollbar-color:var(--panel-scroll-thumb) var(--panel-scroll-track);scrollbar-width:thin}
*{scrollbar-color:var(--panel-scroll-thumb) var(--panel-scroll-track);scrollbar-width:thin}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--panel-scroll-track)}::-webkit-scrollbar-thumb{background:var(--panel-scroll-thumb);border-radius:6px}::-webkit-scrollbar-thumb:hover,::-webkit-scrollbar-thumb:active{background:var(--panel-scroll-hover)}
.fi-body{background:var(--panel-ivory)}textarea{resize:none}button:not(:disabled),a,[role=button]:not([aria-disabled=true]){cursor:pointer}
@media(forced-colors:active){*{scrollbar-color:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.order-relations{display:grid;grid-template-columns:minmax(0,1fr);row-gap:1.5rem;overflow-anchor:none}
.order-relations>.fi-tabs{grid-area:1/1;justify-self:stretch;max-width:100%;flex-wrap:wrap}
.order-relations>.fi-sc-tabs-tab{display:block;grid-area:2/1;margin:0;min-width:0;min-block-size:26rem;visibility:hidden;pointer-events:none}
.order-relations>.fi-sc-tabs-tab.fi-active{visibility:visible;pointer-events:auto}

.production-release,.production-stack{display:grid;gap:1.5rem}.production-release .fi-section-content{display:grid;gap:1rem}.production-actions{display:flex;flex-wrap:wrap;gap:.75rem}.production-stack,.production-record{justify-items:start}.production-record{display:grid;gap:.5rem}

.audit-json { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; font-size: .875rem; }

.crm-settings-form,
.crm-chart,
.crm-chart-bars,
.crm-numbers {
    display: grid;
    gap: .75rem;
}

.crm-settings-form {
    max-width: 36rem;
    justify-items: start;
}

.crm-settings-form .fi-input-wrp {
    width: 100%;
}

.crm-order-stages {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.crm-order-stages li {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .6rem;
    border: 1px solid #dddcd6;
    border-radius: .65rem;
    color: #4d544f;
}

.crm-order-stages li[aria-current="step"] {
    background: #34473a;
    border-color: #34473a;
    color: white;
    font-weight: 650;
}

.crm-order-stages li span {
    font-variant-numeric: tabular-nums;
    font-size: .8em;
}

.crm-metric-grid,
.crm-analytics-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.crm-analytics-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
}

.crm-metric {
    display: grid;
    align-content: space-between;
    gap: .7rem;
    background: #fff;
    border: 1px solid #e3e1d9;
    border-radius: 1rem;
    padding: 1rem;
}

.crm-metric strong {
    color: #34473a;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-variant-numeric: tabular-nums;
}

.crm-metric-label, .crm-chart-legend {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.crm-metric-label svg {
    width: 1.25rem;
    height: 1.25rem;
}

.crm-chart-row, .crm-chart-line, .crm-numbers div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: .75rem;
}

.crm-chart-line, .crm-numbers div {
    grid-template-columns: minmax(0, 1fr) auto;
}

.crm-chart-line meter {
    width: 100%;
    height: .9rem;
}

.crm-chart-line meter::-webkit-meter-optimum-value,
.crm-chart-legend span::before {
    background: #55765f;
}

.crm-chart-line .crm-meter-expense::-webkit-meter-optimum-value,
.crm-chart-legend span:nth-child(2)::before {
    background: #a57b40;
}

.crm-chart-legend {
    margin-top: 1rem;
}

.crm-chart-legend span::before {
    display: inline-block;
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    margin-right: .35rem;
    content: "";
}

.crm-work-queue a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    border-top: 1px solid #e3e1d9;
    padding: .85rem .25rem;
}

.crm-work-queue a:hover {
    background: #f8f7f1;
}

.crm-work-queue a > span:first-of-type {
    flex: 1 0 12rem;
}

.crm-release-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    margin-bottom: .75rem;
}

.order-work-groups {
    scroll-margin-block-start: 5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.order-work-groups a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    color: #34473a;
    background: #fff;
    border: 1px solid #d7dfd8;
    border-radius: .625rem;
    font-size: .875rem;
    font-weight: 600;
}
.order-work-groups a:hover { background: #ecf1ec; }
.order-work-groups a[aria-current="true"] { background: #34473a; color: #fff; border-color: #34473a; }
.order-work-groups a:focus-visible { outline: 2px solid #34473a; outline-offset: 3px; }
.order-work-groups svg { width: 1rem; height: 1rem; flex-shrink: 0; }
