.hue-ico-market { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }

.mk-page { font-size: 13px; line-height: 1.45; }
.mk-page *, .mk-table * { box-sizing: border-box; }
.mk-muted { color: #8A8A8A; }
.mk-ok { color: #2E6B30; }
.mk-bad { color: #A94442; }
.mk-card { background: #FFFFFF; border: 1px solid #DDDDDD; margin-bottom: 12px; }
.mk-card-title { padding: 8px 12px; background: #F7F7F7; border-bottom: 1px solid #E3E3E3; font-weight: bold; }
.mk-card-title .mk-muted { font-weight: normal; }
.mk-back { text-decoration: none; margin-right: 4px; }
.mk-body { padding: 10px 12px; }
.mk-note { margin: 0 0 10px 0; color: #444444; }
.mk-empty { padding: 26px 16px; text-align: center; color: #8A8A8A; }
.mk-flash { padding: 10px 12px; color: #2E6B30; background: #E8F5E9; border-color: #B7D8B9; font-weight: bold; }
.mk-flash-err { color: #A94442; background: #FFF4F4; border-color: #E0B4B4; }
.mk-inline { display: inline; margin: 0; }

.mk-top-head { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #3A3A3A; color: #FFFFFF; flex-wrap: wrap; }
.mk-top-title { font-weight: bold; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.mk-top-title .hue-ico { width: 18px; height: 18px; flex-basis: 18px; }
.mk-top-bal { margin-left: auto; color: #DDDDDD; font-size: 12px; }
.mk-top-bal .mk-muted { color: #BDBDBD !important; margin-left: 4px; }
.mk-tabs { display: flex; gap: 18px; padding: 0 12px; border-bottom: 1px solid #E3E3E3; overflow-x: auto; scrollbar-width: none; }
.mk-tabs::-webkit-scrollbar { display: none; }
.mk-tabs > a { flex: 0 0 auto; padding: 9px 0 7px 0; border-bottom: 2px solid transparent; color: #555555; text-decoration: none; white-space: nowrap; }
.mk-tabs > a:hover { color: #000000; }
.mk-tabs > a.active { color: #000000; font-weight: bold; border-bottom-color: #B01E1E; }
.mk-tab-count { display: inline-block; min-width: 16px; padding: 0 5px; border-radius: 8px; background: #B01E1E; color: #FFFFFF; font-size: 11px; text-align: center; font-weight: bold; }
.mk-closed { padding: 8px 12px; background: #FFFDE7; color: #6B5A00; border-top: 1px solid #E6D9A0; }
.mk-tabs + .mk-closed { border-top: 0; }
.mk-top { border-bottom: 0; }

.mk-filters { margin: 0; padding: 10px 12px; border-bottom: 1px solid #EEEEEE; }
.mk-search { display: flex; gap: 6px; }
.mk-search input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 5px 8px; font-size: 14px; }
.mk-frow { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; align-items: flex-end; }
.mk-frow label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: #777777; }
.mk-frow select, .mk-frow input { font-size: 12px; height: 30px; box-sizing: border-box; margin: 0; vertical-align: top; }
.mk-range { display: inline-flex; gap: 4px; }
.mk-range input { width: 70px; }
.mk-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 7px 12px; border-bottom: 1px solid #EEEEEE; font-size: 12px; }
.mk-summary-r { margin-left: auto; }

.mk-btn { display: inline-block; padding: 4px 12px; border: 1px solid #C9C9C9; background: #F0F0F0; color: #3A3A3A; font: bold 12px Arial, sans-serif;
    text-decoration: none; cursor: pointer; white-space: nowrap; }
.mk-btn:hover { background: #E4E4E4; }
.mk-btn-primary { background: #3A3A3A; border-color: #3A3A3A; color: #FFFFFF !important; }
.mk-btn-primary:hover { background: #4D4D4D; }
.mk-btn[disabled] { opacity: 0.5; cursor: default; }
.mk-btn-big { padding: 8px 20px; font-size: 14px; }

.mk-price { display: inline-flex; align-items: center; gap: 5px; font-weight: bold; white-space: nowrap; }
.mk-coin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE27A, #D9A400 70%);
    box-shadow: inset 0 0 0 1px #B88A00; flex: 0 0 14px; }
.mk-status { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: bold; white-space: nowrap; }
.mk-st-active { background: #E8F5E9; color: #2E6B30; }
.mk-st-sold { background: #EEEEEE; color: #555555; }
.mk-st-cancelled, .mk-st-removed, .mk-st-invalid { background: #FFF4F4; color: #A94442; }
.mk-user { font-weight: bold; text-decoration: none; }
.mk-sub { display: block; font-size: 11px; margin-top: 2px; }

.mk-table { width: 100%; border-collapse: collapse; }
.mk-table th { text-align: left; padding: 7px 12px; font-size: 11px; font-weight: normal; color: #8A8A8A; border-bottom: 1px solid #E3E3E3; white-space: nowrap; }
.mk-table td { padding: 9px 12px; border-bottom: 1px solid #F0F0F0; vertical-align: middle; font-size: 13px; }
.mk-page table { font-size: 13px; }
.mk-table tbody tr:hover { background: #FAFAFA; }
.mk-table tbody tr:last-child td { border-bottom: 0; }
.mk-row-off { opacity: 0.7; }
.mk-uname { font-size: 14px; font-weight: bold; text-decoration: none; overflow-wrap: anywhere; }
.mk-c-act { text-align: right; white-space: nowrap; }
.mk-table-admin td { font-size: 12px; padding: 6px 8px; }
.mk-table-admin th { padding: 6px 8px; }

.mk-ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 12px; }
.mk-gcard { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 10px 8px; border: 1px solid #E3E3E3; background: #FFFFFF;
    text-align: center; text-decoration: none; color: #222222; min-width: 0; }
.mk-gcard:hover { border-color: #BDBDBD; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.mk-gcard-off { opacity: 0.65; }
.mk-gtitle { font-weight: bold; margin-top: 6px; overflow-wrap: anywhere; }
.mk-gserial { font-size: 12px; font-weight: bold; }
.mk-gsub { font-size: 11px; }
.mk-gprice { margin-top: 6px; padding: 4px 10px; background: #F4F4F4; border: 1px solid #E6E6E6; }
.mk-gfoot { margin-top: 6px; }
.mk-gpic { display: block; width: 96px; height: 96px; border: 2px solid var(--rc, #8A8A8A); background: #FFFFFF; position: relative; }
.mk-gpic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mk-gpic-none { display: block; line-height: 92px; font-size: 40px; text-align: center; }
.mk-gpic-big { width: 220px; height: 220px; max-width: 100%; }
.mk-gpic-big .mk-gpic-none { line-height: 216px; font-size: 80px; }

.mk-lot { display: flex; gap: 20px; padding: 16px; align-items: flex-start; }
.mk-lot-pic { flex: 0 0 240px; display: flex; justify-content: center; }
.mk-lot-info { flex: 1 1 auto; min-width: 0; }
.mk-plate { width: 240px; max-width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 14px;
    background: linear-gradient(145deg, #2F3033, #4A4A4A); color: #FFFFFF; text-align: center; }
.mk-plate span { font-size: 24px; font-weight: bold; overflow-wrap: anywhere; line-height: 1.2; }
.mk-lot-name { margin: 6px 0 4px 0; font-size: 22px; overflow-wrap: anywhere; }
.mk-lot-price { font-size: 20px; margin-bottom: 10px; }
.mk-lot-price .mk-coin { width: 20px; height: 20px; flex-basis: 20px; }
.mk-rows { border-top: 1px solid #EEEEEE; margin-bottom: 12px; }
.mk-r { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #F2F2F2; }
.mk-r > span:first-child { color: #8A8A8A; flex: 0 0 auto; }
.mk-r > span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.mk-buy { margin: 10px 0; }
.mk-seller { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.mk-price-form input { width: 90px; }
.mk-admin-remove { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

.mk-form { display: grid; gap: 10px; max-width: 520px; margin: 0; }
.mk-field { display: flex; flex-direction: column; gap: 3px; }
.mk-field > span { font-size: 12px; color: #666666; }
.mk-field input, .mk-field select { width: 100%; }
.mk-field small { font-size: 11px; }
.mk-form-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mk-subtabs { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 9px 12px; border-bottom: 1px solid #EEEEEE; }
.mk-subtabs a { text-decoration: none; color: #555555; }
.mk-subtabs a.active { color: #000000; font-weight: bold; }
.mk-subtabs-sep { width: 1px; background: #DDDDDD; }
.mk-pages { display: flex; gap: 14px; justify-content: center; align-items: center; padding: 10px; border-top: 1px solid #EEEEEE; }

.theme-modern .mk-page { font-size: 13px; }
.theme-modern .mk-card { border: 0; border-radius: var(--radius, 10px); overflow: hidden; }
.theme-modern .mk-card-title { padding: 13px 20px; font-size: 15px; font-weight: 500; background: #FAFBFC; border-bottom-color: var(--line, #E7E8EC); }
.theme-modern .mk-top-head { background: #FFFFFF; color: var(--text, #1F2023); padding: 14px 20px 6px 20px; }
.theme-modern .mk-top-title { font-size: 18px; font-weight: 600; }
.theme-modern .mk-top-title .hue-ico { color: var(--accent, #B01E1E); width: 22px; height: 22px; flex-basis: 22px; }
.theme-modern .mk-top-bal { color: var(--muted, #818C99); font-size: 13px; }
.theme-modern .mk-top-bal b { color: var(--text, #1F2023); }
.theme-modern .mk-top-bal .mk-muted { color: var(--link, #2E3136) !important; text-decoration: underline; }
.theme-modern .mk-tabs { gap: 22px; padding: 0 20px; border-bottom-color: var(--line, #E7E8EC); }
.theme-modern .mk-tabs > a { padding: 12px 0 10px 0; font-size: 14px; color: var(--muted, #818C99) !important; }
.theme-modern .mk-tabs > a.active { color: var(--text, #1F2023) !important; font-weight: 500; border-bottom-color: var(--accent, #B01E1E); }
.theme-modern .mk-filters, .theme-modern .mk-summary, .theme-modern .mk-subtabs { padding-left: 20px; padding-right: 20px; border-color: var(--line, #E7E8EC); }
.theme-modern .mk-filters { padding-top: 14px; padding-bottom: 12px; }
.theme-modern .mk-search input[type="search"] { height: 34px; border-radius: 8px; }
.theme-modern .mk-frow label { color: var(--muted, #818C99); font-size: 12px; }
.theme-modern .mk-body { padding: 14px 20px; }
.theme-modern .mk-table th { padding: 9px 20px; color: var(--muted, #818C99); border-bottom-color: var(--line, #E7E8EC); }
.theme-modern .mk-table td { padding: 11px 20px; border-bottom-color: var(--line, #E7E8EC); }
.theme-modern .mk-table tbody tr:hover { background: var(--hover, #F0F2F5); }
.theme-modern .mk-uname, .theme-modern .mk-user { color: var(--link, #2E3136) !important; }
.theme-modern .mk-uname { font-weight: 600; }
.theme-modern .mk-ggrid { padding: 16px 20px; gap: 12px; }
.theme-modern .mk-gcard { border-radius: 10px; border-color: var(--line-strong, #DCE1E6); }
.theme-modern .mk-gpic { border-radius: 12px; overflow: hidden; background: #F7F8FA; }
.theme-modern .mk-gprice { border-radius: 8px; background: #F2F3F5; border: 0; }
.theme-modern .mk-plate { border-radius: 14px; }
.theme-modern .mk-lot { padding: 20px; }
.theme-modern .mk-lot-name { font-weight: 600; }
.theme-modern .mk-rows, .theme-modern .mk-r { border-color: var(--line, #E7E8EC); }
.theme-modern .mk-r > span:first-child { color: var(--muted, #818C99); }
.theme-modern .mk-flash { border: 0; background: #FFFFFF; font-weight: 500; }
.theme-modern .mk-flash-err { background: #FFFFFF; }
.theme-modern .mk-closed { padding: 10px 20px; }
.theme-modern .mk-btn.vk-btn { border: 0; padding: 0 14px; height: 32px; font-weight: 600; }
.theme-modern .mk-btn-primary.vk-btn { background: var(--head-2, #3A3A3A); }
.theme-modern .mk-btn-big.vk-btn { height: 40px; padding: 0 22px; font-size: 14px; border-radius: 8px; }
.theme-modern .mk-status { padding: 2px 9px; }
.theme-modern .mk-pages { border-color: var(--line, #E7E8EC); }
.theme-modern .mk-field > span { color: #5F6670; }

@media (max-width: 700px) {
    .mk-top-head { padding: 8px 12px; }
    .theme-modern .mk-top-head { padding: 12px 14px 4px 14px; }
    .mk-top-bal { margin-left: 0; flex: 1 1 100%; }
    .theme-modern .mk-tabs { gap: 18px; padding: 0 14px; }
    .theme-modern .mk-filters, .theme-modern .mk-summary, .theme-modern .mk-subtabs, .theme-modern .mk-body { padding-left: 14px; padding-right: 14px; }
    .theme-modern .mk-card-title { padding: 12px 14px; }
    .mk-frow { gap: 8px; }
    .mk-frow label { flex: 1 1 40%; min-width: 0; }
    .mk-frow select, .mk-frow input { width: 100%; height: 36px; font-size: 16px; }
    .mk-frow .mk-frange { flex-basis: 100%; }
    .mk-range { display: flex; }
    .mk-range input { flex: 1 1 0; width: auto; min-width: 0; }
    .mk-summary-r { margin-left: 0; flex: 1 1 100%; }

    .mk-table, .mk-table tbody { display: block; width: 100%; }
    .mk-table thead { display: none; }
    .mk-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; border-bottom: 1px solid #EEEEEE; align-items: center; }
    .theme-modern .mk-table tr { padding: 12px 14px; border-bottom-color: var(--line, #E7E8EC); }
    .mk-table tbody tr:last-child { border-bottom: 0; }
    .mk-table td, .theme-modern .mk-table td { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
    .mk-table td.mk-c-name { grid-column: 1 / -1; }
    .mk-table td[data-label]::before { content: attr(data-label) ": "; color: #8A8A8A; font-size: 11px; }
    .mk-table td.mk-c-price::before, .mk-table td.mk-c-status::before { content: none; }
    .mk-table td.mk-c-status { text-align: right; }
    .mk-table td.mk-c-act { grid-column: 1 / -1; text-align: left; }
    .mk-table td.mk-c-act .mk-btn { width: 100%; text-align: center; justify-content: center; }
    .mk-table td.mk-c-act form { display: block; }
    .mk-table td.mk-hide-sm, .theme-modern .mk-table td.mk-hide-sm { display: none; }
    .mk-table-admin td.mk-c-act form { display: flex; gap: 6px; }
    .mk-table-admin td.mk-c-act input[type="text"] { flex: 1 1 auto; width: auto !important; min-width: 0; }

    .mk-ggrid, .theme-modern .mk-ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
    .mk-gpic { width: 84px; height: 84px; }
    .mk-gpic-none { line-height: 80px; }

    .mk-lot, .theme-modern .mk-lot { flex-direction: column; align-items: stretch; padding: 14px; gap: 12px; }
    .mk-lot-pic { flex-basis: auto; }
    .mk-plate { width: 100%; aspect-ratio: auto; min-height: 140px; }
    .mk-gpic-big { width: 180px; height: 180px; }
    .mk-gpic-big .mk-gpic-none { line-height: 176px; }
    .mk-lot-name { font-size: 20px; }
    .mk-buy .mk-btn-big { width: 100%; }
    .mk-r { flex-wrap: wrap; }
}

.gd-bar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 20px; border-bottom: 1px solid #E7E8EC; box-sizing: border-box; }
.gd-subtabs { display: flex; gap: 18px; flex: 1 1 auto; min-width: 0; }
.gd-subtabs a { color: #555555; text-decoration: none; white-space: nowrap; }
.gd-subtabs a.active { color: #000000; font-weight: bold; }
.gd-add { margin-left: auto; flex: 0 0 auto; }
.mk-btn.gd-btn, .theme-modern .mk-btn.vk-btn.gd-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 16px;
    box-sizing: border-box; line-height: 1; margin: 0; vertical-align: top; text-align: center; }
.gd-form { display: flex; margin: 0; }

.gd-pic { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #F0F2F5; }
.gd-pic img, #main-content .gd-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gd-pic-none { position: absolute; inset: 0; display: block; background: center / 38% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8BEC6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }

.gd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; padding: 18px 20px 22px 20px; }
.gd-card { position: relative; display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.theme-modern #main-content a.gd-card:hover, a.gd-card:hover { text-decoration: none; color: inherit; }
.gd-card:hover .gd-title { text-decoration: underline; }
.gd-card-off .gd-pic img { opacity: 0.55; }
.gd-price { margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: bold; color: #000000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-price-free { font-size: 13px; }
.gd-title { margin-top: 2px; line-height: 18px; max-height: 36px; color: #2E3136; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.gd-city { margin-top: 3px; font-size: 12px; color: #818C99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-card .gd-badge { position: absolute; top: 6px; left: 6px; }
.gd-badge { display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: bold; white-space: nowrap; background: #E8F5E9; color: #2E6B30; }
.gd-st-sold { background: #3A3A3A; color: #FFFFFF; }
.gd-st-hidden { background: #EEEEEE; color: #555555; }
.gd-st-removed, .gd-st-deleted { background: #FFF4F4; color: #A94442; }

.gd-item { display: flex; gap: 24px; padding: 20px; align-items: flex-start; }
.gd-gal { flex: 0 0 340px; max-width: 340px; min-width: 0; }
.gd-main { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; background: #F0F2F5; }
.gd-main img, #main-content .gd-main img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gd-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.gd-thumb { display: block; aspect-ratio: 1 / 1; padding: 0; margin: 0; border: 2px solid transparent; background: #F0F2F5; overflow: hidden; cursor: pointer; box-sizing: border-box; }
.gd-thumb img, #main-content .gd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gd-thumb.active { border-color: #3A3A3A; }
.gd-info { flex: 1 1 auto; min-width: 0; }
.gd-status { margin-bottom: 6px; }
.gd-name { margin: 0 0 6px 0; font-size: 20px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.gd-big-price { margin-bottom: 14px; font-size: 22px; font-weight: bold; color: #000000; }
.gd-big-price.gd-price-free { font-size: 18px; }
.gd-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gd-btns-own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 400px; }
.gd-btns-own > .gd-btn, .gd-btns-own > .gd-form .gd-btn { width: 100%; }
.gd-note { margin: -6px 0 14px 0; }
.gd-rows { margin-bottom: 14px; }
.gd-seller { display: flex; align-items: center; gap: 10px; }
.gd-seller-avl { display: block; flex: 0 0 44px; }
.gd-mv, .hue-mgrid.gd-mv { display: none !important; }
.gd-seller-av, #main-content .gd-seller-av { display: block; width: 44px; height: 44px; object-fit: cover; flex: 0 0 44px; background: #F0F2F5; }
.gd-seller-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gd-seller-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-weight: 600; overflow-wrap: anywhere; }
.gd-seller-name > a:first-child { color: #2E3136; text-decoration: none; }
.gd-seller-t .mk-muted { font-size: 12px; }
.gd-desc { padding: 0 20px 18px 20px; }
.gd-h { padding: 14px 0 6px 0; border-top: 1px solid #E7E8EC; font-weight: 600; }
.gd-desc-t { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; font-size: 13.5px; }
.gd-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px; border-top: 1px solid #E7E8EC; font-size: 12px; }
.gd-admin { display: flex; gap: 8px; margin: 0; padding: 10px 20px; border-top: 1px solid #E7E8EC; }
.gd-admin input[type="text"] { flex: 1 1 auto; min-width: 0; height: 32px; box-sizing: border-box; margin: 0; padding: 0 8px; }
.gd-grid-more { padding-top: 16px; }

.gd-form-title { border-top: 0; }
.gd-error { margin: 14px 20px 0 20px; padding: 8px 12px; border: 1px solid #E0B4B4; background: #FFF4F4; color: #A94442; }
.gd-edit { display: grid; gap: 14px; max-width: 560px; margin: 0; padding: 16px 20px 20px 20px; }
.gd-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.gd-edit .mk-field input[type="text"], .gd-edit .mk-field select, .gd-edit .mk-field textarea { width: 100%; box-sizing: border-box; margin: 0; font: inherit; font-size: 13px; }
.gd-edit .mk-field input[type="text"], .gd-edit .mk-field select { height: 34px; padding: 0 8px; }
.gd-edit .mk-field textarea { padding: 7px 8px; min-height: 130px; resize: vertical; line-height: 1.45; }
.gd-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-ph { position: relative; display: block; width: 96px; height: 96px; overflow: hidden; background: #F0F2F5; box-sizing: border-box; cursor: pointer; }
.gd-ph img, #main-content .gd-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gd-ph input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.gd-ph-x { position: absolute; top: 0; right: 0; width: 24px; height: 24px; padding: 0; margin: 0; border: 0; background: rgba(0, 0, 0, 0.6); color: #FFFFFF;
    font: 18px/24px Arial, sans-serif; text-align: center; cursor: pointer; }
.gd-ph:has(input:checked) { outline: 2px solid #B01E1E; outline-offset: -2px; }
.gd-ph:has(input:checked) img { opacity: 0.3; }
.gd-ph:has(input:checked) .gd-ph-x { background: #B01E1E; }
.gd-ph-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px dashed #B8BEC6; background: #FAFBFC; color: #818C99; }
.gd-ph-add[hidden] { display: none; }
.gd-ph-add:hover { border-color: #818C99; color: #2E3136; }
.gd-ph-add input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gd-ph-plus { font-size: 28px; line-height: 1; }
.gd-ph-cap { font-size: 12px; }
.gd-form-foot { display: flex; gap: 8px; flex-wrap: wrap; }

.gd-acols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
.gd-aform { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.gd-aform input[type="text"], .gd-aform input[type="search"], .gd-aform select { height: 32px; box-sizing: border-box; margin: 0; padding: 0 8px; font: inherit; font-size: 13px; }
.gd-aform input[type="text"], .gd-aform input[type="search"] { flex: 1 1 160px; min-width: 0; }
.gd-afilter { margin-bottom: 10px; }
.gd-astats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.gd-arow { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.gd-arow .gd-pic { width: 44px; flex: 0 0 44px; }
@media (min-width: 701px) { .gd-atable td.gd-anum, .gd-atable td[data-label="Продавец"] { overflow-wrap: normal; padding-right: 12px; } }
.gd-atable { table-layout: fixed; }
.gd-atable th:nth-child(2) { width: 96px; }
.gd-atable th:nth-child(3) { width: 120px; }
.gd-atable th:nth-child(4) { width: 124px; }
.gd-atable th:nth-child(5) { width: 196px; }
.gd-atable td { overflow-wrap: anywhere; }
.gd-aremove { flex-wrap: nowrap; justify-content: flex-end; }
.gd-aremove input[type="text"] { flex: 1 1 auto; width: 0; min-width: 0; }
.gd-abox .mk-table th:first-child, .gd-abox .mk-table td:first-child { padding-left: 0; }
.gd-abox .mk-table th:last-child, .gd-abox .mk-table td:last-child { padding-right: 0; }

.hue-ico-seller { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1.5 3 5v6.2c0 5.4 3.8 10 9 11.3 5.2-1.3 9-5.9 9-11.3V5z'/%3E%3Cpath d='m7.5 12 3 3 6-6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E"); }
.gd-vb { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; color: #2E7D32; vertical-align: middle; }
.gd-vb .hue-ico { width: 14px; height: 14px; flex-basis: 14px; }
.gd-vb-text { font-size: 12px; font-weight: 600; line-height: 16px; }
.gd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-table .gd-vb, .gd-sum-seller .gd-vb { margin-left: 4px; }
.gd-pin { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 5px; font-size: 11px; font-weight: bold; line-height: 16px;
    white-space: nowrap; background: #3A3A3A; color: #FFFFFF; }
.gd-pin .hue-ico { width: 12px; height: 12px; flex-basis: 12px; }
.gd-card .gd-pin { position: absolute; top: 6px; left: 6px; }
.gd-status { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-c-status .gd-pin { display: flex; width: max-content; margin-top: 4px; }
.gd-sl { display: flex; align-items: center; gap: 4px; min-width: 0; margin-top: 4px; font-size: 12px; line-height: 16px; color: #555555; }
.gd-sl-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-frow label.gd-check { flex-direction: row; align-items: center; gap: 6px; height: 30px; font-size: 12px; color: #444444; cursor: pointer; }
.mk-frow label.gd-check input { width: 16px; height: 16px; margin: 0; flex: 0 0 16px; }
.gd-sum-seller { display: inline-flex; align-items: center; }
.gd-sum-seller > a { margin-left: 4px; font-weight: bold; }
.gd-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px 44px 16px; text-align: center; }
.gd-empty .gd-empty-ico { position: relative; inset: auto; width: 64px; height: 64px; background-size: 100%; }
.gd-empty-t { font-size: 14px; color: #818C99; }
.gd-seller-all { font-size: 12px; }
.gd-more-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gd-more-all { font-weight: normal; font-size: 12px; }
.gd-admin { display: grid; gap: 8px; }
.gd-admin-row { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; }
.gd-admin-row input[type="text"], .gd-admin-row input[type="date"] { flex: 1 1 auto; min-width: 0; height: 32px; box-sizing: border-box; margin: 0; padding: 0 8px; font: inherit; font-size: 13px; }
.gd-admin-row .gd-btn, .theme-modern .gd-admin-row .mk-btn.vk-btn.gd-btn { flex: 0 0 132px; }
.gd-admin-l { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; min-height: 32px; font-size: 12px; }
.gd-aform input[type="date"] { flex: 1 1 auto; width: 0; min-width: 0; height: 32px; box-sizing: border-box; margin: 0; padding: 0 6px; font: inherit; font-size: 12px; }
.gd-aremove + .gd-aremove { margin-top: 6px; }
.gd-aremove .gd-btn { flex: 0 0 96px; }
.gd-apin input[type="date"] { flex: 0 0 150px; width: auto; }
.gd-vtable, .gd-ptable { table-layout: fixed; }
.gd-vtable + .gd-vtable { margin-top: 10px; }
.gd-found { margin-bottom: 4px; }
.gd-vtable td:nth-child(2), .gd-vtable th:nth-child(2) { width: 130px; }
.gd-vtable th:nth-child(3) { width: 90px; }
.gd-vtable th:nth-child(4), .gd-found td.mk-c-act { width: 200px; }
.gd-vtable .mk-c-act .gd-btn { width: 180px; }
.theme-modern .gd-admin-row input[type="date"], .theme-modern .gd-aform input[type="date"] { border: 1px solid #D3D9DE; background: #FFFFFF; color: var(--text); outline: none; }
.gd-found td:nth-child(2) { width: 90px; }
.gd-ptable th:nth-child(2) { width: 130px; }
.gd-ptable th:nth-child(3) { width: 110px; }
.gd-ptable td:nth-child(3) { white-space: nowrap; }
.gd-ptable th:nth-child(4) { width: 120px; }

@media (max-width: 700px) {
    .gd-bar { padding: 8px 14px; }
    .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; padding: 14px 14px 16px 14px; }
    .gd-item { flex-direction: column; align-items: stretch; gap: 14px; padding: 0 0 16px 0; }
    .gd-gal { flex-basis: auto; max-width: none; width: 100%; }
    .gd-thumbs { padding: 0 14px; }
    .gd-info { padding: 0 14px; }
    .gd-name { font-size: 18px; }
    .gd-btns > .gd-btn, .gd-btns > .gd-form { flex: 1 1 calc(50% - 4px); }
    .gd-btns > .gd-form .gd-btn { width: 100%; }
    .mk-btn.gd-btn, .theme-modern .mk-btn.vk-btn.gd-btn { height: 40px; font-size: 14px; }
    .gd-btns > .gd-btn-main { flex-basis: 100%; }
    .gd-desc { padding: 0 14px 16px 14px; }
    .gd-foot, .gd-admin { padding: 12px 14px; }
    .gd-admin-row input[type="text"], .gd-admin-row input[type="date"] { height: 40px; font-size: 16px; }
    .gd-admin-row .gd-btn, .theme-modern .gd-admin-row .mk-btn.vk-btn.gd-btn { flex-basis: 128px; }
    .mk-frow label.gd-check { flex: 1 1 100%; height: 32px; font-size: 14px; }
    .mk-frow label.gd-check input { width: 18px; height: 18px; flex-basis: 18px; }
    .gd-aform input[type="date"] { height: 40px; font-size: 16px; }
    .gd-apin input[type="date"] { flex: 1 1 0; }
    .gd-found td.mk-c-act { width: auto; }
    .mk-table td.mk-c-act .gd-aremove .gd-btn { flex: 0 0 96px; }
    .gd-aremove + .gd-aremove { margin-top: 8px; }
    .gd-empty { padding: 32px 14px 36px 14px; }
    .gd-error { margin: 14px 14px 0 14px; }
    .gd-edit { max-width: none; padding: 14px 14px 16px 14px; }
    .gd-edit .mk-field input[type="text"], .gd-edit .mk-field select, .gd-edit .mk-field textarea { font-size: 16px; }
    .gd-edit .mk-field input[type="text"], .gd-edit .mk-field select { height: 40px; }
    .gd-row2 { grid-template-columns: minmax(0, 1fr); }
    .gd-ph { width: calc((100% - 16px) / 3); height: auto; aspect-ratio: 1 / 1; }
    .gd-form-foot > .gd-btn { flex: 1 1 0; }
    .gd-acols { grid-template-columns: minmax(0, 1fr); }
    .gd-aform input[type="text"], .gd-aform input[type="search"], .gd-aform select { height: 40px; font-size: 16px; }
    .gd-aform .gd-btn { flex: 1 1 0; }
    .gd-afilter select { flex: 1 1 100%; }
    .gd-abox .mk-table tr { padding-left: 0; padding-right: 0; }
    .gd-aremove { flex-wrap: nowrap; }
    .gd-aremove input[type="text"] { flex: 1 1 auto; width: auto; }
    .mk-table td.mk-c-act .gd-aremove .gd-btn { flex: 0 0 auto; width: auto; }
    .gd-atable td.mk-c-status { text-align: left; }
    .gd-aform:not(.gd-aremove) input[type="text"], .gd-aform input[type="search"] { flex-basis: 100%; }
}
