:root {
    --ink: #202d3d;
    --muted: #738092;
    --line: #e3e8ee;
    --blue: #315bea;
    --bg: #f4f6fa;
    --green: #177b65;
    --sidebar-width: 238px;
    --sidebar-bg: #142137;
    --sidebar-line: #2b3a53;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font:
        14px/1.55 system-ui,
        -apple-system,
        Segoe UI,
        sans-serif;
}
a {
    color: var(--blue);
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
.app-sidebar {
    overflow-y: auto;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-line);
    padding: 20px 13px;
    scrollbar-color: #586986 var(--sidebar-bg);
}
.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px 17px;
    border-bottom: 1px solid var(--sidebar-line);
}
.brand {
    position: relative;
    color: #f5f8ff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 2px;
    padding-left: 45px;
    line-height: 1.15;
}
.brand-mark {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 38px;
    background: #315bea;
    color: #fff;
    border-radius: 10px;
    font-size: 23px;
}
.brand-sub {
    display: block;
    font-size: 10px;
    letter-spacing: 0;
    font-weight: 500;
    margin-top: 5px;
    color: #b0bed3;
}
.sidebar-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    background: #233451;
    border-color: #546787;
    color: #edf4ff;
    padding: 8px 13px;
}
.sidebar-toggle::after,
.help-disclosure summary::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
}
.nav-label {
    font-size: 11px;
    letter-spacing: 1.25px;
    color: #a7b7d1;
    margin: 15px 10px 4px;
    font-weight: 700;
}
.app-sidebar nav a {
    display: block;
    color: #d7e2f4;
    border-radius: 7px;
    padding: 7px 11px;
    margin: 2px 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.4;
}
.app-sidebar nav a:hover,
.sidebar-toggle:hover {
    color: #fff;
    background: #293c5b;
}
.app-sidebar nav a[aria-current="page"] {
    color: #fff;
    background: #284775;
    box-shadow: inset 3px 0 #8eaeff;
    font-weight: 700;
}
.app-sidebar :focus-visible {
    outline: 2px solid #aac2ff;
    outline-offset: 2px;
}
.workspace {
    margin-left: var(--sidebar-width);
}
.workspace.guest {
    margin-left: 0;
}
header {
    height: 79px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 0 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
header > span {
    font-weight: 600;
}
.account {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avatar {
    border-radius: 50%;
    background: #eaf0ff;
    color: var(--blue);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-weight: 700;
}
main {
    max-width: 1660px;
    margin: auto;
    padding: 34px 42px 60px;
}
h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 4px 0 5px;
    line-height: 1.3;
}
h2 {
    font-size: 17px;
    margin: 0 0 20px;
}
h3 {
    font-size: 14px;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.muted,
.subtitle {
    color: var(--muted);
}
.subtitle {
    margin: 0 0 26px;
}
.page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 26px;
}
.page-head .subtitle {
    margin: 5px 0 0;
}
.actions {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
}
.button,
button {
    cursor: pointer;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    padding: 9px 15px;
    border-radius: 7px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}
.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.danger {
    color: #b43c41;
    border-color: #edc4c7;
}
.link {
    border: 0;
    background: none;
    padding: 0;
    color: var(--muted);
    font-size: 12px;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}
.panel-body {
    padding: 24px;
}
.panel-title {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.panel-title h2 {
    margin: 0;
}
.filters,
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: end;
}
.filters {
    padding: 20px 24px;
}
label {
    display: block;
    font-size: 12px;
    color: #5b697a;
    font-weight: 600;
}
input,
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #d8dfe9;
    background: #fff;
    color: var(--ink);
    border-radius: 6px;
    padding: 9px 10px;
    margin-top: 6px;
    min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #b7c6ff;
    border-color: var(--blue);
}
input[type="checkbox"] {
    display: inline-block;
    width: auto;
    margin: 0 7px 0 0;
}
.check {
    display: flex;
    align-items: center;
    padding: 8px 0;
}
.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 22px;
}
.card .label {
    color: var(--muted);
    font-size: 12px;
}
.card .value {
    font-size: 27px;
    font-weight: 720;
    margin: 12px 0 7px;
    letter-spacing: -0.7px;
    white-space: nowrap;
}
.card .foot {
    font-size: 11px;
    color: var(--muted);
}
.card.accent {
    border-top: 3px solid var(--blue);
}
.card.green .value {
    color: var(--green);
}
.table-scroll {
    overflow: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
}
th {
    text-align: left;
    background: #fafbfe;
    color: #778294;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
th,
td {
    padding: 15px 24px;
    border-bottom: 1px solid #edf0f4;
}
tbody tr:last-child td {
    border-bottom: 0;
}
tbody tr:hover {
    background: #fbfcff;
}
.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.total {
    font-weight: 700;
    background: #f4f7fc;
}
.badge {
    display: inline-block;
    border-radius: 5px;
    padding: 3px 9px;
    font-size: 11px;
    background: #edf2fa;
    color: #506986;
}
.badge.accepted {
    background: #e8f5ef;
    color: #247354;
}
.badge.draft {
    background: #fff3da;
    color: #95711b;
}
.badge.cancelled {
    background: #fcebef;
    color: #ad445b;
}
.empty {
    text-align: center;
    padding: 54px 24px;
    color: var(--muted);
}
.empty strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 8px;
}
.notice,
.success,
.error {
    padding: 12px 17px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}
.notice {
    background: #fff5de;
    border: 1px solid #f1e2bb;
    color: #846527;
}
.success {
    background: #e8f5ef;
    color: #247354;
}
.error {
    background: #fcebef;
    color: #9b3047;
}
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}
.stack > * + * {
    margin-top: 16px;
}
.login {
    max-width: 420px;
    margin: 7vh auto;
}
.login h1 {
    font-size: 26px;
}
.login button {
    width: 100%;
    margin-top: 22px;
}
.small {
    font-size: 11px;
}
.item-edit {
    padding: 22px;
    border-bottom: 1px solid var(--line);
}
.item-edit:last-child {
    border-bottom: 0;
}
.item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.history {
    border-top: 1px solid var(--line);
    padding: 15px 0;
}
details summary {
    cursor: pointer;
    color: var(--blue);
}
pre {
    overflow: auto;
    background: #f5f7fa;
    padding: 12px;
    max-height: 350px;
    font-size: 11px;
}
footer {
    padding: 20px 42px;
    color: #929baa;
    border-top: 1px solid var(--line);
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}
.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3px 16px;
}
.pagination {
    padding: 16px;
}
.pagination-nav,
.pagination-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pagination-nav {
    justify-content: space-between;
    gap: 12px;
}
.pagination-summary {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
}
a.page-link:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #edf1ff;
}
a.page-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.page-link[aria-current="page"] {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.page-link[aria-disabled="true"] {
    color: var(--muted);
    background: var(--bg);
}
.form-grid .full {
    grid-column: 1/-1;
}
@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .split {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    header {
        padding: 0 20px;
        height: 65px;
    }
    main {
        padding: 24px 18px;
    }
    .page-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .cards {
        gap: 10px;
    }
    .card {
        padding: 15px;
    }
    .card .value {
        font-size: 21px;
    }
    th,
    td {
        padding: 12px 16px;
    }
    footer {
        padding: 20px;
    }
    .account {
        font-size: 11px;
    }
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.help-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    flex: none;
}
.help-tip:hover,
.help-tip:focus {
    color: var(--blue);
    border-color: var(--blue);
    outline: none;
}
.help-tip-text {
    display: none;
    position: absolute;
    z-index: 20;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 80vw);
    padding: 9px 12px;
    border-radius: 7px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    box-shadow: 0 6px 18px rgb(32 45 61 / 18%);
}
.help-tip:hover .help-tip-text,
.help-tip:focus .help-tip-text {
    display: block;
}
.help-tip-static {
    cursor: default;
    margin-left: 2px;
}
.help-toc {
    margin-bottom: 20px;
}
.help-toc h2 {
    margin-bottom: 12px;
}
.help-toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.help-toc-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
    min-height: 43px;
    padding: 8px 13px;
    border: 1px solid #e1e7f2;
    border-radius: 8px;
    background: #f7f9fd;
    color: #263d66;
    font-weight: 600;
}
.help-toc-list a::after {
    content: "→";
    color: #455fae;
    font-size: 16px;
}
.help-toc-list a:hover,
.help-toc-list a[aria-current="location"] {
    border-color: #a3b8f1;
    background: #eaf0ff;
    color: #163d9a;
}
.help-toc-list a:focus-visible,
.help-disclosure summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -3px;
}
.help-section {
    margin-bottom: 20px;
    scroll-margin-top: 20px;
}
.help-section:target {
    border-color: #97afea;
    box-shadow: inset 3px 0 #6c8fe7;
}
.help-disclosure {
    margin: 18px 0 6px;
    border: 1px solid #dfe7f3;
    border-radius: 10px;
    background: #f7f9fd;
}
.help-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border-radius: 9px;
    color: #263d66;
    font-weight: 650;
    list-style: none;
}
.help-disclosure summary::-webkit-details-marker {
    display: none;
}
.help-disclosure summary:hover,
.help-disclosure[open] summary {
    background: #eaf0ff;
    color: #163d9a;
}
.help-disclosure[open] summary {
    border-radius: 9px 9px 0 0;
}
.help-disclosure[open] summary::after,
.sidebar-toggle[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
}
.help-disclosure-body {
    padding: 3px 15px 15px;
    border-top: 1px solid #dfe7f3;
}
@media (prefers-reduced-motion: no-preference) {
    .app-sidebar nav a,
    .sidebar-toggle,
    .help-toc-list a,
    .help-disclosure summary {
        transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
    }
    .sidebar-toggle::after,
    .help-disclosure summary::after {
        transition: transform 160ms ease;
    }
}
.help-section h3 {
    font-size: 14px;
    margin: 18px 0 6px;
}
.help-section li {
    margin-bottom: 6px;
}
@media (max-width: 760px) {
    .help-tip-text {
        left: auto;
        right: -8px;
        transform: none;
    }
}
.item-basics {
    grid-template-columns: repeat(2, minmax(150px, 220px));
}
.price-group {
    margin: 16px 0 0;
    padding: 12px 16px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 0;
}
.price-group legend {
    padding: 0 6px;
    font-weight: 700;
    font-size: 13px;
}
.price-group .form-grid {
    grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr) minmax(90px, 120px);
}
.price-group-purchase .form-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(130px, 1fr) minmax(90px, 120px);
}
@media (max-width: 760px) {
    .item-basics,
    .price-group .form-grid,
    .price-group-purchase .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .price-group .price-source,
    .price-group-purchase label:first-child {
        grid-column: 1/-1;
    }
}
.add-items h3 {
    margin: 0 0 12px;
    font-size: 15px;
}
.add-item-row {
    grid-template-columns: minmax(0, 3fr) minmax(110px, 1fr);
    margin-bottom: 10px;
}
@media (max-width: 760px) {
    .add-item-row {
        grid-template-columns: 2fr 1fr;
    }
}
.item-card {
    position: relative;
    margin: 14px 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(32 45 61 / 5%);
}
.item-card-missing {
    border-left-color: #d99a1e;
}
.item-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    background: #f1f4fa;
    border-radius: 0 9px 0 0;
}
.item-no {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 13px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}
.item-card-missing .item-no {
    background: #d99a1e;
}
.item-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
}
.item-flag {
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #fff5de;
    color: #846527;
    font-size: 11px;
    font-weight: 700;
}
.item-remove {
    flex: none;
    font-size: 12px;
    color: var(--muted);
}
.item-card-summary {
    display: grid;
    grid-template-columns: minmax(120px, 150px) repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px 18px;
    align-items: end;
    padding: 12px 16px;
}
.item-qty input {
    margin-top: 4px;
}
.item-fig {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.item-fig span {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
}
.item-fig strong {
    font-size: 15px;
    white-space: nowrap;
}
.item-fig small {
    color: var(--muted);
    font-size: 11px;
}
.item-fig-profit strong {
    color: var(--green);
}
.item-card .notice {
    margin: 0 16px 12px;
}
.item-prices {
    border-top: 1px dashed var(--line);
    padding: 8px 16px 14px;
}
.item-prices summary {
    cursor: pointer;
    color: var(--blue);
    font-weight: 600;
    font-size: 13px;
    padding: 4px 0;
}
.item-prices[open] summary {
    margin-bottom: 8px;
}
@media (max-width: 760px) {
    .item-card {
        margin: 12px 0;
    }
    .item-card-summary {
        grid-template-columns: 1fr 1fr;
    }
}
.login-active {
    color: var(--green);
}
.flow-legend {
    color: var(--muted);
    font-size: 12px;
}
.flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 980px;
    margin: 6px 0 22px;
}
.flow-box {
    border: 1px solid var(--line);
    border-left: 4px solid #b7c2d3;
    border-radius: 9px;
    background: #fff;
    padding: 10px 14px;
}
.flow-box + .flow-box {
    margin-top: 10px;
}
.flow-box p {
    margin: 6px 0 0;
    font-size: 13px;
}
.flow-title {
    font-weight: 700;
    font-size: 14px;
}
.flow-note {
    color: var(--muted);
    font-size: 12px !important;
}
.flow-arrow {
    align-self: center;
    position: relative;
    padding: 22px 0 20px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.flow-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2px;
    bottom: 8px;
    border-left: 2px solid #b7c2d3;
    z-index: 0;
}
.flow-arrow::after {
    content: "";
    position: absolute;
    left: calc(50% - 6px);
    bottom: 0;
    border: 6px solid transparent;
    border-top: 8px solid #b7c2d3;
}
.flow-arrow span {
    position: relative;
    z-index: 1;
    padding: 1px 8px;
    background: #fff;
}
.flow-branch .flow-arrow span {
    background: #f8f9fc;
}
.flow-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.flow-branch {
    display: flex;
    flex-direction: column;
    border: 1px dashed #c9d2df;
    border-radius: 10px;
    padding: 10px;
    background: #f8f9fc;
}
.flow-branch-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 8px;
}
.flow-gate {
    border-style: dashed;
    border-left-style: solid;
    border-left-color: var(--blue);
    background: #f3f6fe;
}
.flow-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    background: #e8edf5;
}
.flow-state-draft {
    border-left-color: #d99a1e;
}
.flow-state-draft .flow-status {
    background: #fff5de;
    color: #846527;
}
.flow-state-accepted {
    border-left-color: var(--green);
}
.flow-state-accepted .flow-status {
    background: #e8f5ef;
    color: #247354;
}
.flow-state-issued {
    border-left-color: var(--ink);
}
.flow-state-issued .flow-status {
    background: var(--ink);
    color: #fff;
}
.flow-state-cancelled {
    border-left-color: #c2413a;
}
.flow-state-cancelled .flow-status {
    background: #fdeceb;
    color: #a3322c;
}
.flow-side {
    margin-top: 18px !important;
    border-style: dashed;
    border-left-style: solid;
}
.flow-product {
    border-left-color: var(--blue);
}
.flow-tag {
    display: inline-block;
    padding: 1px 7px;
    margin-right: 4px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.flow-tag-need {
    background: #fdeceb;
    color: #a3322c;
}
.flow-tag-can {
    background: #e9effd;
    color: #2d4fc6;
}
.flow-tag-perm {
    background: #eef0f3;
    color: #56616f;
}
@media (max-width: 760px) {
    .flow-split {
        grid-template-columns: 1fr;
    }
}
.login-remember {
    font-size: 13px;
    font-weight: 500;
}
.login-remember-hint {
    margin: -6px 0 4px;
}
.nowrap {
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .app-sidebar {
        position: static;
        width: 100%;
        padding: 10px 18px;
        border-right: 0;
    }
    .sidebar-head {
        padding: 0 2px;
        border-bottom: 0;
    }
    .app-sidebar[data-menu-ready] .sidebar-toggle {
        display: inline-flex;
    }
    .app-sidebar[data-menu-ready]:not([data-menu-open]) nav {
        display: none;
    }
    .app-sidebar nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
        gap: 2px 6px;
        max-height: 65vh;
        overflow-y: auto;
        margin-top: 10px;
        padding: 0 3px 6px;
        border-top: 1px solid var(--sidebar-line);
    }
    .app-sidebar .nav-label {
        grid-column: 1 / -1;
        margin-top: 10px;
    }
    .workspace {
        margin-left: 0;
    }
}
@media (min-width: 761px) and (max-width: 1100px) {
    main {
        padding: 26px 24px 50px;
    }
}

.update-notice:not([hidden]) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #fff5d6;
    border: 1px solid #e1b64c;
    border-radius: 10px;
}
.update-notice > span { flex: 1 1 300px; }
.update-notice.is-deferred { background: #eef3ff; border-color: var(--line); padding: 8px 14px; }

.stock-receipt-fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1200px) {
    .stock-receipt-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .stock-receipt-fields { grid-template-columns: minmax(0, 1fr); }
}
