/* Активные задачи рыбного цеха. */
.fish_shop {
    width: 100%;
}

.fish_shop_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.fish_shop_header h2 {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    font-size: 20px;
    font-weight: 600;
}

.fish_shop_table_wrapper {
    width: 100%;
    overflow-x: auto;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--color-border-subtle);
    border-right-color: var(--color-border-subtle);
    border-bottom-color: var(--color-border-subtle);
    border-left-color: var(--color-border-subtle);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.fish_shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.fish_shop_table th,
.fish_shop_table td {
    padding-top: 12px;
    padding-right: 14px;
    padding-bottom: 12px;
    padding-left: 14px;
    text-align: left;
    vertical-align: middle;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--color-border-subtle);
}

.fish_shop_table thead th {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-page-surface);
    color: var(--color-text-graphite);
    font-size: 13px;
    font-weight: 600;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
}

.fish_shop_table tbody tr {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    transition-behavior: normal, normal;
    transition-duration: 0.15s, 0.15s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    transition-property: background-color, opacity;
}

.fish_shop_table tbody tr:hover {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface-muted);
}

.fish_shop_table tbody tr:last-child td {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.fish_shop_table th:nth-child(1),
.fish_shop_table td:nth-child(1) {
    width: 110px;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
}

.fish_shop_table th:nth-child(2),
.fish_shop_table td:nth-child(2) {
    width: 120px;
}

.fish_shop_table th:nth-child(3),
.fish_shop_table td:nth-child(3) {
    min-width: 170px;
}

.fish_shop_table th:nth-child(4),
.fish_shop_table td:nth-child(4) {
    min-width: 260px;
}

.fish_shop_table th:nth-child(5),
.fish_shop_table td:nth-child(5),
.fish_shop_table th:nth-child(6),
.fish_shop_table td:nth-child(6) {
    width: 125px;
}

.fish_shop_table th:nth-child(7),
.fish_shop_table td:nth-child(7) {
    width: 110px;
    text-align: center;
}

.fish_shop_weight_input {
    width: 100px;
    height: 38px;
    box-sizing: border-box;
    padding-top: 7px;
    padding-right: 10px;
    padding-bottom: 7px;
    padding-left: 10px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--color-border-strong);
    border-right-color: var(--color-border-strong);
    border-bottom-color: var(--color-border-strong);
    border-left-color: var(--color-border-strong);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    color: var(--color-text-strong);
    font-style: inherit;
    font-variant-ligatures: inherit;
    font-variant-caps: inherit;
    font-variant-numeric: inherit;
    font-variant-east-asian: inherit;
    font-variant-alternates: inherit;
    font-variant-position: inherit;
    font-variant-emoji: inherit;
    font-stretch: inherit;
    line-height: inherit;
    font-family: inherit;
    font-optical-sizing: inherit;
    font-size-adjust: inherit;
    font-kerning: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-language-override: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    outline-color: initial;
    outline-style: none;
    outline-width: initial;
    transition-behavior: normal, normal;
    transition-duration: 0.15s, 0.15s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    transition-property: border-color, box-shadow;
}

.fish_shop_weight_input:hover {
    border-top-color: var(--color-border-hover);
    border-right-color: var(--color-border-hover);
    border-bottom-color: var(--color-border-hover);
    border-left-color: var(--color-border-hover);
}

.fish_shop_weight_input:focus {
    border-top-color: var(--color-border-focus);
    border-right-color: var(--color-border-focus);
    border-bottom-color: var(--color-border-focus);
    border-left-color: var(--color-border-focus);
    box-shadow: var(--fish-field-focus-ring) 0px 0px 0px 3px;
}

.fish_shop_weight_input::-webkit-outer-spin-button,
.fish_shop_weight_input::-webkit-inner-spin-button {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    appearance: none;
}

.fish_shop_complete_button {
    min-width: 90px;
    height: 38px;
    padding-top: 7px;
    padding-right: 14px;
    padding-bottom: 7px;
    padding-left: 14px;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-confirm-action);
    color: var(--color-text-white);
    font-style: inherit;
    font-variant-ligatures: inherit;
    font-variant-caps: inherit;
    font-variant-numeric: inherit;
    font-variant-east-asian: inherit;
    font-variant-alternates: inherit;
    font-variant-position: inherit;
    font-variant-emoji: inherit;
    font-stretch: inherit;
    line-height: inherit;
    font-family: inherit;
    font-optical-sizing: inherit;
    font-size-adjust: inherit;
    font-kerning: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-language-override: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition-behavior: normal, normal, normal;
    transition-duration: 0.15s, 0.15s, 0.1s;
    transition-timing-function: ease, ease, ease;
    transition-delay: 0s, 0s, 0s;
    transition-property: background-color, opacity, transform;
}

.fish_shop_complete_button:hover {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-confirm-action-hover);
}

.fish_shop_complete_button:active {
    transform: translateY(1px);
}

.fish_shop_complete_button:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}

.fish_shop_row_completed {
    color: var(--color-text-soft);
    background-image: initial !important;
    background-position-x: initial !important;
    background-position-y: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    background-attachment: initial !important;
    background-origin: initial !important;
    background-clip: initial !important;
    background-color: var(--color-surface-muted) !important;
}

.fish_shop_row_completed:hover {
    background-image: initial !important;
    background-position-x: initial !important;
    background-position-y: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    background-attachment: initial !important;
    background-origin: initial !important;
    background-clip: initial !important;
    background-color: var(--color-surface-secondary) !important;
}

.fish_shop_completed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-top-left-radius: 999px;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    border-bottom-left-radius: 999px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-success-surface);
    color: var(--fish-success-text);
    font-size: 12px;
    font-weight: 600;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
}

.fish_shop_completed::before {
    content: "✓";
    margin-right: 5px;
    font-size: 12px;
}

.fish_shop_empty {
    padding-top: 40px;
    padding-right: 20px;
    padding-bottom: 40px;
    padding-left: 20px;
    color: var(--color-text-soft);
    font-size: 14px;
    text-align: center;
}

.fish_shop_weight_input.error {
    border-top-color: var(--fish-invalid-border);
    border-right-color: var(--fish-invalid-border);
    border-bottom-color: var(--fish-invalid-border);
    border-left-color: var(--fish-invalid-border);
    box-shadow: var(--fish-invalid-focus-ring) 0px 0px 0px 3px;
}

.fish_shop_original_fish {
    margin-bottom: 12px;
    color: var(--color-text-soft);
    font-size: 13px;
    line-height: 1.4;
}

.fish_shop_production_items {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    column-gap: 10px;
}

.fish_shop_production_item {
    padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface-muted);
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--color-border-subtle);
    border-right-color: var(--color-border-subtle);
    border-bottom-color: var(--color-border-subtle);
    border-left-color: var(--color-border-subtle);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.fish_shop_production_item_title {
    margin-bottom: 10px;
    color: var(--color-text-strong);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.fish_shop_production_item_weights {
    display: flex;
    align-items: flex-end;
    row-gap: 12px;
    column-gap: 12px;
    flex-wrap: wrap;
}

.fish_shop_production_item_weights label {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    column-gap: 5px;
    color: var(--color-text-soft);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.fish_shop_production_item_weights .fish_shop_weight_input {
    width: 110px;
}

#fishShopCompletedButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding-top: 7px;
    padding-right: 14px;
    padding-bottom: 7px;
    padding-left: 14px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--color-border-strong);
    border-right-color: var(--color-border-strong);
    border-bottom-color: var(--color-border-strong);
    border-left-color: var(--color-border-strong);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    color: var(--color-text-graphite);
    font-style: inherit;
    font-variant-ligatures: inherit;
    font-variant-caps: inherit;
    font-variant-numeric: inherit;
    font-variant-east-asian: inherit;
    font-variant-alternates: inherit;
    font-variant-position: inherit;
    font-variant-emoji: inherit;
    font-stretch: inherit;
    line-height: inherit;
    font-family: inherit;
    font-optical-sizing: inherit;
    font-size-adjust: inherit;
    font-kerning: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-language-override: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
    cursor: pointer;
    transition-behavior: normal, normal, normal, normal;
    transition-duration: 0.15s, 0.15s, 0.15s, 0.1s;
    transition-timing-function: ease, ease, ease, ease;
    transition-delay: 0s, 0s, 0s, 0s;
    transition-property: background-color, border-color, color, transform;
}

#fishShopCompletedButton:hover {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface-muted);
    border-top-color: var(--color-border-hover);
    border-right-color: var(--color-border-hover);
    border-bottom-color: var(--color-border-hover);
    border-left-color: var(--color-border-hover);
}

#fishShopCompletedButton:active {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface-secondary);
    transform: translateY(1px);
}

#fishShopCompletedButton:focus-visible {
    outline-color: initial;
    outline-style: none;
    outline-width: initial;
    border-top-color: var(--color-border-focus);
    border-right-color: var(--color-border-focus);
    border-bottom-color: var(--color-border-focus);
    border-left-color: var(--color-border-focus);
    box-shadow: var(--fish-field-focus-ring) 0px 0px 0px 3px;
}

@media (min-width: 769px) and (max-width: 1024px) {
.fish_shop_table th,
.fish_shop_table td {
    padding-top: 14px;
    padding-right: 10px;
    padding-bottom: 14px;
    padding-left: 10px;
}

.fish_shop_table {
    font-size: 15px;
}

.fish_shop_weight_input {
    width: 110px;
    height: 52px;
    padding-top: 8px;
    padding-right: 12px;
    padding-bottom: 8px;
    padding-left: 12px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
    font-size: 18px;
    font-weight: 600;
}

.fish_shop_complete_button {
    min-width: 110px;
    height: 52px;
    padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    padding-left: 16px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
    font-size: 16px;
    font-weight: 700;
}

.fish_shop_production_item {
    padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
}

.fish_shop_production_item_weights {
    row-gap: 10px;
    column-gap: 10px;
}

.fish_shop_production_item_weights .fish_shop_weight_input {
    width: 120px;
}
}

@media (max-width: 768px) {
.fish_shop_header {
    margin-bottom: 12px;
}

.fish_shop_header h2 {
    font-size: 20px;
}

.fish_shop_table_wrapper {
    overflow-x: visible;
    overflow-y: visible;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: transparent;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.fish_shop_table {
    display: block;
    width: 100%;
}

.fish_shop_table thead {
    display: none;
}

.fish_shop_table tbody {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
    column-gap: 14px;
}

.fish_shop_table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--color-border-subtle);
    border-right-color: var(--color-border-subtle);
    border-bottom-color: var(--color-border-subtle);
    border-left-color: var(--color-border-subtle);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.fish_shop_table tbody tr:hover {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
}

.fish_shop_table td {
    display: block;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    font-size: 15px;
    width: auto !important;
    min-width: 0px !important;
}

.fish_shop_table td:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: auto;
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 600;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
}

.fish_shop_table td:nth-child(2) {
    grid-column-start: 2;
    grid-column-end: auto;
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.fish_shop_table td:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: -1;
    margin-top: 12px;
    color: var(--color-text-strong);
    font-size: 18px;
    font-weight: 700;
}

.fish_shop_table td:nth-child(4) {
    grid-column-start: 1;
    grid-column-end: -1;
    margin-top: 6px;
    color: var(--color-text-graphite);
    font-size: 16px;
    line-height: 1.4;
}

.fish_shop_table td:nth-child(5) {
    grid-column-start: 1;
    grid-column-end: auto;
    margin-top: 16px;
    padding-right: 6px;
}

.fish_shop_table td:nth-child(6) {
    grid-column-start: 2;
    grid-column-end: auto;
    margin-top: 16px;
    padding-left: 6px;
}

.fish_shop_table td:nth-child(7) {
    grid-column-start: 1;
    grid-column-end: -1;
    margin-top: 12px;
    text-align: initial;
}

.fish_shop_weight_input {
    width: 100%;
    height: 58px;
    padding-top: 10px;
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.fish_shop_complete_button {
    width: 100%;
    height: 58px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 18px;
    font-weight: 700;
}

.fish_shop_row_completed {
    opacity: 0.72;
}

.fish_shop_completed {
    width: 100%;
    box-sizing: border-box;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: 14px;
}

.fish_shop_table td:nth-child(5)::before,
.fish_shop_table td:nth-child(6)::before {
    display: block;
    margin-bottom: 7px;
    color: var(--color-text-soft);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.fish_shop_table td:nth-child(5)::before {
    content: "Вес рыбы";
}

.fish_shop_table td:nth-child(6)::before {
    content: "Вес филе";
}

.fish_shop_original_fish {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.fish_shop_production_items {
    row-gap: 12px;
    column-gap: 12px;
}

.fish_shop_production_item {
    padding-top: 14px;
    padding-right: 14px;
    padding-bottom: 14px;
    padding-left: 14px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.fish_shop_production_item_title {
    margin-bottom: 12px;
    font-size: 16px;
}

.fish_shop_production_item_weights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;
}

.fish_shop_production_item_weights label {
    min-width: 0px;
    font-size: 11px;
}

.fish_shop_production_item_weights .fish_shop_weight_input {
    width: 100%;
}

.fish_shop_row_multi td:nth-child(4) {
    grid-column-start: 1;
    grid-column-end: -1;
    margin-top: 10px;
}

.fish_shop_row_multi td:nth-child(5) {
    grid-column-start: 1;
    grid-column-end: -1;
    margin-top: 14px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    text-align: initial;
}

.fish_shop_row_multi td:nth-child(5)::before {
    display: none;
    content: none;
}

.fish_shop_header {
    align-items: flex-start;
    flex-direction: column;
}

#fishShopCompletedButton {
    width: 100%;
}
}

/* Завершённые задачи: таблица на широком экране и карточки на телефоне. */
.fish_shop_completed_block {
    width: 100%;
    min-width: 0px;
    color: var(--fish-ink);
    line-height: 1.5;
}

.fish_shop_completed_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    row-gap: 16px;
    column-gap: 16px;
    margin-bottom: 18px;
}

.fish_shop_completed_header h3 {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    color: var(--fish-ink);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.fish_shop_completed_header h3 {
    font-size: 19px;
}

.fish_shop_completed_table_wrapper {
    width: 100%;
    overflow-x: auto;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    border: 1px solid var(--fish-line);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: var(--fish-panel-shadow-color) 0px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--fish-scrollbar-thumb) var(--fish-scrollbar-track);
}

.fish_shop_completed_table {
    width: 100%;
    border-collapse: separate;
    -webkit-border-horizontal-spacing: 0px;
    -webkit-border-vertical-spacing: 0px;
    color: var(--fish-ink);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.fish_shop_completed_table th,
.fish_shop_completed_table td {
    padding-top: 18px;
    padding-right: 16px;
    padding-bottom: 18px;
    padding-left: 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--fish-card-divider);
}

.fish_shop_completed_table thead th {
    padding-top: 14px;
    padding-bottom: 14px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-card-badge-surface);
    color: var(--fish-card-badge-text);
    border-bottom-color: var(--fish-line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
}

.fish_shop_completed_table tbody tr {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    transition-behavior: normal;
    transition-duration: 0.16s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: background-color;
}

.fish_shop_completed_table tbody tr:nth-child(2n) {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-completed-card-surface);
}

.fish_shop_completed_table tbody tr:hover {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-completed-card-hover);
}

.fish_shop_completed_table tbody tr:last-child td {
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.fish_shop_completed_block .fish_shop_original_fish {
    margin-bottom: 12px;
    color: var(--fish-muted);
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.fish_shop_completed_items {
    display: grid;
    row-gap: 10px;
    column-gap: 10px;
}

.fish_shop_completed_item_title {
    margin-bottom: 10px;
    color: var(--fish-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.fish_shop_completed_block {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--fish-line);
    scroll-margin-top: 80px;
}

.fish_shop_completed_table td {
    vertical-align: top;
}

.fish_shop_completed_table td:nth-child(1),
.fish_shop_completed_table td:nth-child(2) {
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
    color: var(--fish-completed-muted-text);
    font-size: 12px;
}

.fish_shop_completed_table td:nth-child(3) {
    min-width: 90px;
}

.fish_shop_completed_table td:nth-child(4) {
    min-width: 150px;
    font-weight: 600;
}

.fish_shop_completed_table td:nth-child(5) {
    min-width: 300px;
    width: 48%;
    overflow-wrap: anywhere;
}

.fish_shop_completed_item {
    padding-top: 12px;
    padding-right: 14px;
    padding-bottom: 12px;
    padding-left: 14px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--fish-line-soft);
    border-right-color: var(--fish-line-soft);
    border-bottom-color: var(--fish-line-soft);
    border-left-color: var(--fish-line-soft);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-completed-row-surface);
}

.fish_shop_completed_item_title {
    margin-bottom: 8px;
    font-size: 13px;
}

.fish_shop_completed_item_weights {
    display: flex;
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 10px;
    color: var(--fish-completed-muted-text);
    font-size: 12px;
}

.fish_shop_completed_item_weights span {
    padding-top: 3px;
    padding-right: 8px;
    padding-bottom: 3px;
    padding-left: 8px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-completed-action-surface);
}

#fishShopCompletedTableBody td:last-child > div:last-child {
    margin-top: 12px;
    padding-top: 10px;
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: var(--fish-line);
    border-right-color: var(--fish-line);
    border-bottom-color: var(--fish-line);
    border-left-color: var(--fish-line);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--fish-completed-state-surface);
    color: var(--fish-completed-state-text);
    font-size: 12px;
    line-height: 1.6;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.fish_shop_completed_empty {
    padding-top: 44px;
    padding-right: 20px;
    padding-bottom: 44px;
    padding-left: 20px;
    text-align: center;
    color: var(--fish-muted);
    font-size: 14px;
}

@media (max-width: 1100px) and (min-width: 769px) {
.fish_shop_completed_table th,
.fish_shop_completed_table td {
    padding-top: 14px;
    padding-right: 12px;
    padding-bottom: 14px;
    padding-left: 12px;
}
}

@media (max-width: 768px) {
.fish_shop_completed_table_wrapper {
    overflow-x: visible;
    overflow-y: visible;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: transparent;
    box-shadow: none;
}

.fish_shop_completed_table {
    display: block;
}

.fish_shop_completed_table thead {
    display: none;
}

.fish_shop_completed_table tbody {
    display: grid;
    row-gap: 14px;
    column-gap: 14px;
}

.fish_shop_completed_table tbody tr {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
    row-gap: 12px;
    column-gap: 12px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    border: 1px solid var(--fish-line);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    border-bottom-left-radius: 14px;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: var(--color-surface);
    box-shadow: var(--fish-completed-shadow-color) 0px 3px 12px;
}

.fish_shop .fish_shop_completed_table tbody td {
    display: block;
    width: auto;
    min-width: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    white-space-collapse: collapse;
    text-wrap-mode: wrap;
    overflow-wrap: anywhere;
}

.fish_shop_completed_block .fish_shop_original_fish {
    margin-bottom: 12px;
}

.fish_shop_completed_table td:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: -1;
}

.fish_shop_completed_table td:nth-child(1)::before {
    content: "Выполнено · ";
}

.fish_shop_completed_table td:nth-child(3) {
    text-align: right;
    color: var(--fish-muted);
    font-size: 12px;
}

.fish_shop_completed_table td:nth-child(4),
.fish_shop_completed_table td:nth-child(5) {
    grid-column-start: 1;
    grid-column-end: -1;
}

.fish_shop_completed_table td:nth-child(4) {
    font-size: 16px;
}

.fish_shop_completed_block {
    margin-top: 24px;
    padding-top: 20px;
}
}

@media (prefers-reduced-motion: reduce) {
.fish_shop_completed_block * {
    transition-behavior: normal;
    transition-duration: 0s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: none;
}
}
