#itemshop-admin-form,
#itemshop-admin-catalog,
#itemshop-admin-bulk {
    --arsenal-gap: 14px;
}
.itemshop-admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: -8px 0 16px;
}
.itemshop-admin-toolbar a {
    font-weight: 600;
}
.itemshop-admin-principle {
    margin-bottom: 18px;
}
.itemshop-admin-panel > .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.itemshop-admin-panel > .panel-heading > span {
    color: #777;
    font-size: 12px;
    font-weight: 400;
    text-align: right;
}
.itemshop-code-line {
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 15px;
    padding: 8px 10px;
}
.itemshop-code-line span {
    color: #777;
}
.itemshop-category-group {
    margin-bottom: 0;
}
.itemshop-asset-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 250px;
    padding: 12px;
    text-align: center;
}
.itemshop-asset-stage {
    align-items: center;
    background-image: linear-gradient(45deg, #f8f8f8 25%, transparent 25%), linear-gradient(-45deg, #f8f8f8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f8f8f8 75%), linear-gradient(-45deg, transparent 75%, #f8f8f8 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    min-height: 150px;
    overflow: hidden;
    padding: 10px;
}
.itemshop-asset-stage img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
}
.itemshop-asset-stage span {
    color: #999;
    font-size: 12px;
}
.itemshop-asset-card > strong,
.itemshop-asset-card > span {
    display: block;
    margin-top: 8px;
}
.itemshop-asset-card > span {
    color: #777;
    font-size: 12px;
    min-height: 34px;
}
.itemshop-option-row {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    margin: 4px 0 16px;
    padding: 12px 0;
}
.itemshop-option-row .btn-link {
    margin-left: 10px;
    padding: 0;
}
.itemshop-excellent-options .checkbox-inline {
    margin-bottom: 8px;
    margin-left: 0;
    margin-right: 16px;
}
.itemshop-excellent-options .checkbox-inline small {
    color: #888;
}
.itemshop-dimensions-row {
    margin-top: 4px;
}
.itemshop-advanced-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 10px;
    padding: 14px 14px 0;
}
.itemshop-promo-guideline {
    background: #f7fbfd;
    border: 1px solid #dceaf0;
    border-left: 3px solid #2b9db7;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px 12px;
}
.itemshop-promo-guideline strong,
.itemshop-promo-guideline span,
.itemshop-promo-guideline small {
    display: block;
}
.itemshop-promo-guideline strong {
    color: #286071;
    font-size: 12px;
    margin-bottom: 3px;
}
.itemshop-promo-guideline span {
    color: #555;
    font-size: 12px;
}
.itemshop-promo-guideline small {
    color: #7a7a7a;
    font-size: 11px;
    line-height: 1.45;
    margin-top: 4px;
}
.itemshop-current-promo {
    display: block;
    margin-top: 12px;
    max-width: 560px;
}
.itemshop-promo-stage {
    aspect-ratio: 16 / 9;
    background: #07111b;
    border: 1px solid #d6e0e5;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.itemshop-promo-stage img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.itemshop-promo-safe {
    align-items: flex-start;
    border: 1px dashed rgba(255,255,255,.52);
    bottom: 15%;
    color: rgba(255,255,255,.78);
    display: flex;
    font-size: 10px;
    justify-content: flex-end;
    left: 15%;
    padding: 5px;
    pointer-events: none;
    position: absolute;
    right: 15%;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
    top: 15%;
}
.itemshop-promo-meta {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 7px;
}
.itemshop-promo-meta strong {
    color: #555;
    font-size: 12px;
}
.itemshop-promo-meta span {
    color: #777;
    font-size: 11px;
}
.itemshop-current-promo[data-promo-quality="optimal"] .itemshop-promo-meta span { color: #2a7c5c; }
.itemshop-current-promo[data-promo-quality="good"] .itemshop-promo-meta span { color: #547b48; }
.itemshop-current-promo[data-promo-quality="low"] .itemshop-promo-meta span,
.itemshop-current-promo[data-promo-quality="crop"] .itemshop-promo-meta span { color: #a06c23; }
.itemshop-admin-summary {
    display: grid;
    gap: 7px 10px;
    grid-template-columns: 1fr auto;
}
.itemshop-admin-summary span {
    color: #777;
}
.itemshop-admin-summary strong {
    text-align: right;
}
.itemshop-publish-switches {
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    padding: 11px;
}
.itemshop-publish-switches label {
    margin: 0;
}
.itemshop-save-note {
    color: #777;
    font-size: 12px;
    line-height: 1.45;
    margin: 10px 0 0;
}
.itemshop-sticky-panel {
    position: sticky;
    top: 15px;
}
.itemshop-catalog-controls {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) minmax(140px, 1fr) auto;
    margin: 16px 0;
}
.itemshop-catalog-controls .form-group {
    margin: 0;
}
.itemshop-catalog-count {
    color: #777;
    padding-bottom: 8px;
    text-align: right;
    white-space: nowrap;
}
.itemshop-catalog-table .itemshop-row-hidden {
    display: none;
}
.itemshop-code-badge {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-weight: 700;
}
.itemshop-state-stack .label {
    display: inline-block;
    margin: 0 4px 3px 0;
}
.itemshop-stock-low {
    font-weight: 700;
}
@media (max-width: 991px) {
    .itemshop-sticky-panel { position: static; }
    .itemshop-catalog-controls { grid-template-columns: 1fr 1fr; }
    .itemshop-catalog-count { text-align: left; }
}
@media (max-width: 600px) {
    .itemshop-admin-panel > .panel-heading { align-items: flex-start; flex-direction: column; }
    .itemshop-admin-panel > .panel-heading > span { text-align: left; }
    .itemshop-catalog-controls { grid-template-columns: 1fr; }
    .itemshop-publish-switches { flex-direction: column; gap: 8px; }
}

/* Arsenal V2 Fase 3: selector autoritativo generado desde Item.txt. */
.itemshop-authoritative-picker {
    background: #f8fbfd;
    border: 1px solid #d8e5ec;
    border-radius: 5px;
    margin-bottom: 18px;
    padding: 14px;
}
.itemshop-authoritative-picker > label {
    display: block;
    margin-bottom: 7px;
}
.itemshop-authoritative-status {
    border-left: 3px solid #aaa;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 9px;
    padding: 5px 9px;
}
.itemshop-authoritative-status.is-valid {
    border-left-color: #3c763d;
    color: #3c763d;
}
.itemshop-authoritative-status.is-blocked {
    border-left-color: #a94442;
    color: #a94442;
    font-weight: 600;
}

.itemshop-authoritative-status.is-warning {
    border-left-color: #8a6d3b;
    color: #8a6d3b;
    font-weight: 600;
}

/* Arsenal V2 Fase 5: smart options derived from the server catalogs. */
.itemshop-capability-note {
    background: #f7f7f7;
    border-left: 3px solid #aaa;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    margin: -4px 0 16px;
    padding: 8px 10px;
}
.itemshop-capability-note.is-ready {
    background: #f4fbf5;
    border-left-color: #3c763d;
    color: #3c763d;
}
.itemshop-capability-note.is-warning {
    background: #fcf8e3;
    border-left-color: #8a6d3b;
    color: #8a6d3b;
}
.itemshop-smart-grid {
    display: grid;
    gap: 8px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 9px;
}
.itemshop-excellent-choice {
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    display: block;
    margin: 0 !important;
    min-height: 54px;
    padding: 8px 10px 8px 30px;
}
.itemshop-excellent-choice small {
    color: #999;
    display: block;
    margin-top: 3px;
}
.itemshop-excellent-choice.is-disabled {
    background: #f7f7f7;
    color: #aaa;
}
.itemshop-smart-selects {
    margin-top: 6px;
}
.itemshop-socket-panel {
    background: #f8fbfd;
    border: 1px solid #d8e5ec;
    border-radius: 5px;
    margin: 4px 0 18px;
    padding: 13px 14px 4px;
}
.itemshop-socket-panel.is-disabled {
    background: #fafafa;
    border-color: #e8e8e8;
}
.itemshop-socket-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.itemshop-socket-heading > span {
    color: #777;
    font-size: 12px;
}
.itemshop-byte-summary {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    min-height: 78px;
    padding: 12px;
}
.itemshop-byte-summary strong,
.itemshop-byte-summary span {
    display: block;
}
.itemshop-byte-summary span {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 6px;
}
.itemshop-locked-control {
    background-color: #f5f5f5;
    color: #888;
}
.itemshop-380-toggle input:disabled + span {
    color: #aaa;
}
@media (max-width: 767px) {
    .itemshop-smart-grid { grid-template-columns: 1fr; }
    .itemshop-socket-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
}


/* Arsenal 1.6.6 · Bulk Catalog */
.itemshop-bulk-controls {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(240px, 2fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
    margin-bottom: 12px;
}
.itemshop-bulk-controls .form-group { margin-bottom: 0; }
.itemshop-bulk-selected-only {
    align-items: center;
    display: flex;
    gap: 7px;
    margin: 0 0 8px;
    white-space: nowrap;
}
.itemshop-bulk-actions {
    align-items: center;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    margin: 0 0 14px;
    padding-bottom: 12px;
}
.itemshop-bulk-counter { color: #777; font-size: 12px; }
.itemshop-bulk-counter strong { color: #337ab7; font-size: 15px; }
.itemshop-bulk-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.itemshop-bulk-card {
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 5px;
    cursor: pointer;
    min-width: 0;
    overflow: hidden;
    position: relative;
    transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.itemshop-bulk-card:hover:not(.is-disabled) {
    border-color: #7eb6c7;
    box-shadow: 0 5px 16px rgba(43,114,137,.11);
    transform: translateY(-1px);
}
.itemshop-bulk-card.is-selected {
    border-color: #2b9db7;
    box-shadow: 0 0 0 2px rgba(43,157,183,.12);
}
.itemshop-bulk-card.is-disabled {
    background: #fafafa;
    cursor: default;
    opacity: .66;
}
.itemshop-bulk-card.is-existing { opacity: .58; }
.itemshop-bulk-check {
    height: 27px;
    margin: 0;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 27px;
    z-index: 2;
}
.itemshop-bulk-check input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}
.itemshop-bulk-check span {
    align-items: center;
    background: rgba(255,255,255,.92);
    border: 1px solid #cfd8dc;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0,0,0,.09);
    display: flex;
    height: 27px;
    justify-content: center;
    width: 27px;
}
.itemshop-bulk-check input:checked + span {
    background: #2b9db7;
    border-color: #2b9db7;
}
.itemshop-bulk-check input:checked + span:after {
    color: #fff;
    content: '✓';
    font-size: 15px;
    font-weight: 700;
}
.itemshop-bulk-check input:disabled + span { background: #eee; border-color: #ddd; }
.itemshop-bulk-visual {
    align-items: center;
    background: radial-gradient(circle at 50% 45%, #172b35 0, #09131a 62%, #050b10 100%);
    display: flex;
    height: 118px;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    position: relative;
}
.itemshop-bulk-visual:after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.055), transparent);
    bottom: 0;
    content: '';
    height: 1px;
    left: 10%;
    position: absolute;
    right: 10%;
}
.itemshop-bulk-visual img {
    display: block;
    max-height: 94px;
    max-width: 112px;
    object-fit: contain;
}
.itemshop-bulk-visual em {
    bottom: 6px;
    color: rgba(255,255,255,.42);
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 9px;
    font-style: normal;
    left: 8px;
    position: absolute;
}
.itemshop-bulk-visual.is-missing:before {
    color: rgba(255,255,255,.38);
    content: 'SIN RENDER';
    font-size: 9px;
    letter-spacing: .08em;
}
.itemshop-bulk-card-body { padding: 10px 11px 11px; }
.itemshop-bulk-code {
    color: #45869a;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.itemshop-bulk-card-body > strong {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    min-height: 30px;
    overflow: hidden;
}
.itemshop-bulk-card-body > small {
    color: #888;
    display: block;
    font-size: 10px;
    margin-top: 3px;
}
.itemshop-bulk-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 8px;
    min-height: 18px;
}
.itemshop-bulk-badges span {
    background: #eef6f8;
    border: 1px solid #dae9ed;
    border-radius: 10px;
    color: #39778a;
    font-size: 8px;
    padding: 2px 5px;
}
.itemshop-bulk-card-status {
    border-top: 1px solid #f0f0f0;
    color: #888;
    font-size: 9px;
    line-height: 1.35;
    margin-top: 8px;
    min-height: 30px;
    padding-top: 7px;
}
.itemshop-bulk-card.is-disabled .itemshop-bulk-card-status { color: #a06c23; }
.itemshop-bulk-card.is-existing .itemshop-bulk-card-status { color: #777; }
.itemshop-bulk-pagination {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}
.itemshop-bulk-pagination span { color: #777; font-size: 11px; min-width: 150px; text-align: center; }
.itemshop-bulk-empty {
    border: 1px dashed #d7dfe3;
    color: #888;
    grid-column: 1 / -1;
    padding: 32px 15px;
    text-align: center;
}
.itemshop-bulk-preset-summary {
    background: #f7fafb;
    border: 1px solid #e2eaed;
    border-radius: 4px;
    display: grid;
    gap: 6px 12px;
    grid-template-columns: 1fr auto;
    padding: 11px;
}
.itemshop-bulk-preset-summary span { color: #777; font-size: 11px; }
.itemshop-bulk-preset-summary strong { color: #4e666f; font-size: 11px; text-align: right; }
.itemshop-bulk-safety-note { font-size: 11px; line-height: 1.45; margin-top: 14px; }
.itemshop-bulk-preview-panel { margin-top: 16px; }
.itemshop-bulk-preview-table th,
.itemshop-bulk-preview-table td { font-size: 11px; vertical-align: middle !important; }
.itemshop-bulk-preview-table code { white-space: nowrap; }
.itemshop-bulk-import-bar {
    align-items: center;
    background: #f5fbf7;
    border: 1px solid #d7eadc;
    border-radius: 4px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 14px;
    padding: 12px 14px;
}
.itemshop-bulk-import-bar strong,
.itemshop-bulk-import-bar span { display: block; }
.itemshop-bulk-import-bar span { color: #6e8374; font-size: 11px; margin-top: 2px; }

@media (max-width: 1199px) {
    .itemshop-bulk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .itemshop-bulk-controls { grid-template-columns: 1fr 1fr; }
    .itemshop-bulk-selected-only { margin-bottom: 0; min-height: 34px; }
}
@media (max-width: 767px) {
    .itemshop-bulk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .itemshop-bulk-controls { grid-template-columns: 1fr; }
    .itemshop-bulk-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
    .itemshop-bulk-import-bar { align-items: stretch; flex-direction: column; }
    .itemshop-bulk-import-bar .btn { width: 100%; }
}
@media (max-width: 480px) {
    .itemshop-bulk-grid { grid-template-columns: 1fr; }
    .itemshop-bulk-visual { height: 105px; }
}

/* Arsenal Nexora 1.6.7 - publicación masiva */
.itemshop-catalog-bulkbar {
    align-items: center;
    background: #f7fafb;
    border: 1px solid #dfe8ec;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: space-between;
    margin: -2px 0 14px;
    padding: 10px 12px;
}
.itemshop-catalog-bulkbar__status {
    min-width: 190px;
}
.itemshop-catalog-bulkbar__status strong,
.itemshop-catalog-bulkbar__status span {
    display: block;
}
.itemshop-catalog-bulkbar__status strong {
    color: #315c69;
    font-size: 12px;
}
.itemshop-catalog-bulkbar__status span {
    color: #7a8d95;
    font-size: 10px;
    margin-top: 2px;
}
.itemshop-catalog-bulk-form {
    align-items: center;
    display: flex;
    flex: 1 1 520px;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.itemshop-catalog-bulk-form select {
    max-width: 190px;
    width: auto;
}
.itemshop-catalog-selected-count {
    color: #71868f;
    font-size: 10px;
    min-width: 92px;
    text-align: center;
}
.itemshop-catalog-selected-count strong {
    color: #2a687b;
}
.itemshop-catalog-publish-all {
    margin: 0;
}
.itemshop-catalog-select-col,
.itemshop-catalog-select-cell {
    text-align: center;
    width: 42px;
}
.itemshop-catalog-select-cell input {
    cursor: pointer;
    height: 15px;
    margin: 0;
    width: 15px;
}
@media (max-width: 991px) {
    .itemshop-catalog-bulkbar { align-items: stretch; }
    .itemshop-catalog-bulk-form { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .itemshop-catalog-bulk-form { align-items: stretch; flex-direction: column; }
    .itemshop-catalog-bulk-form select,
    .itemshop-catalog-bulk-form .btn,
    .itemshop-catalog-publish-all .btn { max-width: none; width: 100%; }
    .itemshop-catalog-selected-count { text-align: left; }
}

/* Arsenal Nexora 1.6.8 - Catalog Operations & Readiness */
#itemshop-admin-operations { margin-bottom: 30px; }
.itemshop-saved-presets-bar {
    align-items: center;
    background: #f7fafb;
    border: 1px solid #dfe8ec;
    border-radius: 5px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 10px 12px;
}
.itemshop-saved-presets-bar > div:first-child strong,
.itemshop-saved-presets-bar > div:first-child span { display: block; }
.itemshop-saved-presets-bar > div:first-child strong { color: #315c69; font-size: 12px; }
.itemshop-saved-presets-bar > div:first-child span { color: #7a8d95; font-size: 10px; margin-top: 2px; }
.itemshop-saved-presets-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.itemshop-saved-presets-list form {
    align-items: center;
    background: #fff;
    border: 1px solid #dde6ea;
    border-radius: 4px;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 3px 5px 3px 8px;
}
.itemshop-saved-presets-list span { color: #516b75; font-size: 10px; }
.itemshop-preset-save-box {
    background: #f7fafb;
    border: 1px solid #e2eaed;
    border-radius: 4px;
    margin: 13px 0;
    padding: 10px;
}
.itemshop-preset-save-box > label { color: #536d77; font-size: 11px; }
.itemshop-preset-save-box > small { color: #82939a; display: block; font-size: 10px; margin-top: 5px; }
.itemshop-bulk-edit-panel { margin-top: 14px; }
.itemshop-bulk-edit-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.itemshop-bulk-edit-grid > label,
.itemshop-bulk-promo-row > label {
    color: #647a83;
    font-size: 10px;
    font-weight: normal;
    margin: 0;
}
.itemshop-bulk-edit-grid > label > span { display: block; margin-bottom: 5px; }
.itemshop-bulk-edit-grid input[type="checkbox"] { margin-right: 4px; vertical-align: -2px; }
.itemshop-bulk-promo-row {
    align-items: end;
    border-top: 1px solid #edf1f3;
    display: grid;
    gap: 10px;
    grid-template-columns: 1.1fr .9fr 1fr 1fr;
    margin-top: 13px;
    padding-top: 13px;
}
.itemshop-bulk-promo-row > label > .form-control { margin-top: 5px; }
.itemshop-bulk-edit-footer {
    align-items: center;
    background: #f8fafb;
    border-radius: 4px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 13px;
    padding: 10px 12px;
}
.itemshop-bulk-edit-footer p { color: #71848c; font-size: 10px; margin: 0; }
.itemshop-bulk-edit-preview td { font-size: 10px; vertical-align: middle !important; }
.itemshop-bulk-edit-preview td div + div { margin-top: 3px; }
.itemshop-bulk-edit-apply { margin-top: 12px; text-align: right; }
.itemshop-readiness-hero {
    align-items: center;
    border: 1px solid;
    border-radius: 6px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 15px 16px;
}
.itemshop-readiness-hero.is-ready { background: #f3faf5; border-color: #cce7d3; }
.itemshop-readiness-hero.is-blocked { background: #fff7f5; border-color: #efd2cb; }
.itemshop-readiness-hero span,
.itemshop-readiness-hero strong,
.itemshop-readiness-hero small { display: block; }
.itemshop-readiness-hero span { color: #7c8f96; font-size: 10px; text-transform: uppercase; }
.itemshop-readiness-hero strong { color: #315c69; font-size: 19px; margin-top: 2px; }
.itemshop-readiness-hero.is-blocked strong { color: #9b4c3d; }
.itemshop-readiness-hero small { color: #71848c; font-size: 10px; margin-top: 3px; }
.itemshop-readiness-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 14px;
}
.itemshop-readiness-grid > div {
    background: #fff;
    border: 1px solid #e2e9ec;
    border-radius: 5px;
    padding: 11px 12px;
}
.itemshop-readiness-grid span,
.itemshop-readiness-grid strong,
.itemshop-readiness-grid small { display: block; }
.itemshop-readiness-grid span { color: #84949b; font-size: 9px; text-transform: uppercase; }
.itemshop-readiness-grid strong { color: #375e6b; font-size: 19px; line-height: 1.1; margin-top: 3px; }
.itemshop-readiness-grid small { color: #8b999f; font-size: 9px; margin-top: 3px; }
.itemshop-readiness-grid .is-danger strong { color: #a64b3d; }
.itemshop-readiness-grid .is-warning strong { color: #a5742d; }
.itemshop-readiness-table td,
.itemshop-history-table td { font-size: 10px; vertical-align: middle !important; }
.itemshop-history-table td:nth-child(5) small { color: #777; display: block; margin-top: 4px; }
.itemshop-rollback-rule { font-size: 10px; line-height: 1.45; }
@media (max-width: 991px) {
    .itemshop-bulk-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .itemshop-bulk-promo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .itemshop-readiness-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .itemshop-saved-presets-bar { align-items: flex-start; flex-direction: column; }
    .itemshop-saved-presets-list { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .itemshop-bulk-edit-grid,
    .itemshop-bulk-promo-row,
    .itemshop-readiness-grid { grid-template-columns: 1fr; }
    .itemshop-bulk-edit-footer,
    .itemshop-readiness-hero { align-items: stretch; flex-direction: column; }
    .itemshop-bulk-edit-footer .btn,
    .itemshop-readiness-hero .btn { width: 100%; }
}

/* Arsenal Nexora 1.6.9 - Analytics */
#itemshop-admin-analytics { margin-bottom: 30px; }
.itemshop-analytics-head {
    align-items: center;
    background: linear-gradient(135deg,#f6fafb,#eef5f7);
    border: 1px solid #dce7eb;
    border-radius: 6px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 13px 14px;
}
.itemshop-analytics-head strong,
.itemshop-analytics-head span { display: block; }
.itemshop-analytics-head strong { color: #315c69; font-size: 13px; }
.itemshop-analytics-head span { color: #73868e; font-size: 10px; margin-top: 3px; }
.itemshop-analytics-ranges { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.itemshop-analytics-ranges a {
    background: #fff;
    border: 1px solid #d6e1e5;
    border-radius: 4px;
    color: #58717a;
    font-size: 10px;
    padding: 5px 8px;
    text-decoration: none;
}
.itemshop-analytics-ranges a:hover,
.itemshop-analytics-ranges a.is-active { background: #315f6d; border-color: #315f6d; color: #fff; }
.itemshop-analytics-kpis {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6,minmax(0,1fr));
    margin-bottom: 14px;
}
.itemshop-analytics-kpis > div {
    background: #fff;
    border: 1px solid #e1e9ec;
    border-radius: 5px;
    min-width: 0;
    padding: 11px 12px;
}
.itemshop-analytics-kpis span,
.itemshop-analytics-kpis strong,
.itemshop-analytics-kpis small { display: block; }
.itemshop-analytics-kpis span { color: #83939a; font-size: 9px; text-transform: uppercase; }
.itemshop-analytics-kpis strong { color: #315c69; font-size: 20px; line-height: 1.15; margin-top: 4px; overflow-wrap: anywhere; }
.itemshop-analytics-kpis small { color: #8a999f; font-size: 9px; margin-top: 4px; }
.itemshop-analytics-trend-panel .panel-body { max-height: 620px; overflow: auto; }
.itemshop-analytics-chart { display: flex; flex-direction: column; gap: 5px; }
.itemshop-analytics-chart-row { align-items: center; display: grid; gap: 8px; grid-template-columns: 58px minmax(0,1fr); }
.itemshop-analytics-chart-label { color: #758991; font-size: 9px; text-align: right; }
.itemshop-analytics-chart-bars { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.itemshop-analytics-bar {
    border-radius: 2px;
    box-sizing: border-box;
    min-height: 15px;
    min-width: 3px;
    overflow: hidden;
    padding: 2px 5px;
    transition: width .2s ease;
    white-space: nowrap;
}
.itemshop-analytics-bar span { font-size: 8px; line-height: 11px; }
.itemshop-analytics-bar.is-revenue { background: #dcebf0; color: #315f6d; }
.itemshop-analytics-bar.is-orders { background: #eef2f4; color: #647981; }
.itemshop-analytics-columns { display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.itemshop-analytics-columns > .panel { min-width: 0; }
.itemshop-analytics-table { margin-bottom: 0; }
.itemshop-analytics-table th { color: #607880; font-size: 9px; }
.itemshop-analytics-table td { font-size: 10px; vertical-align: middle !important; }
.itemshop-analytics-table td small { color: #89989e; font-size: 9px; }
.itemshop-analytics-health-grid { display: grid; gap: 8px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 10px; }
.itemshop-analytics-health-grid > div { background: #f8fafb; border: 1px solid #e5ebee; border-radius: 4px; padding: 10px; }
.itemshop-analytics-health-grid span,
.itemshop-analytics-health-grid strong { display: block; }
.itemshop-analytics-health-grid span { color: #84949b; font-size: 9px; text-transform: uppercase; }
.itemshop-analytics-health-grid strong { color: #365f6c; font-size: 19px; margin-top: 3px; }
@media (max-width: 1199px) {
    .itemshop-analytics-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 991px) {
    .itemshop-analytics-head { align-items: flex-start; flex-direction: column; }
    .itemshop-analytics-ranges { justify-content: flex-start; }
    .itemshop-analytics-columns { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .itemshop-analytics-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .itemshop-analytics-health-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .itemshop-analytics-chart-row { grid-template-columns: 48px minmax(0,1fr); }
}

/* Arsenal 1.7.0 - Collections + Campaign Manager */
.itemshop-collection-list { display: flex; flex-direction: column; gap: 7px; }
.itemshop-collection-card {
    align-items: center;
    background: #f8fafb;
    border: 1px solid #dfe8eb;
    border-radius: 5px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 11px;
}
.itemshop-collection-card.is-active { background: #edf6f8; border-color: #a9cbd4; }
.itemshop-collection-card strong,
.itemshop-collection-card span { display: block; }
.itemshop-collection-card strong { color: #345e6b; font-size: 11px; }
.itemshop-collection-card span { color: #7d8f96; font-size: 9px; margin-top: 2px; }
.itemshop-collection-picker-toolbar {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(190px,1.5fr) minmax(150px,1fr) auto;
    margin: 13px 0 9px;
}
.itemshop-collection-picker-toolbar .form-group { margin-bottom: 0; }
.itemshop-collection-picker-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 1px; }
.itemshop-collection-picker-actions strong { color: #59727a; font-size: 10px; }
.itemshop-collection-picker { border: 1px solid #e1e8eb; max-height: 520px; overflow: auto; }
.itemshop-collection-picker table { margin-bottom: 0; }
.itemshop-collection-picker th { background: #f5f8f9; color: #647b83; font-size: 9px; position: sticky; top: 0; z-index: 2; }
.itemshop-collection-picker td { font-size: 10px; vertical-align: middle !important; }
.itemshop-collection-form-actions { margin-top: 12px; }
.itemshop-campaign-health {
    align-items: center;
    background: #f8fafb;
    border: 1px solid #dfe8eb;
    border-left: 4px solid #8cb1bb;
    border-radius: 5px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 12px 14px;
}
.itemshop-campaign-health.is-ready { border-left-color: #54a66b; }
.itemshop-campaign-health.is-warning { border-left-color: #d6a84e; }
.itemshop-campaign-health span,
.itemshop-campaign-health strong,
.itemshop-campaign-health small { display: block; }
.itemshop-campaign-health span { color: #82949a; font-size: 9px; text-transform: uppercase; }
.itemshop-campaign-health strong { color: #315f6d; font-size: 13px; margin-top: 2px; }
.itemshop-campaign-health small { color: #7f8f95; font-size: 9px; margin-top: 2px; }
.itemshop-campaign-actions-config {
    background: #f8fafb;
    border: 1px solid #e2eaed;
    border-radius: 5px;
    margin-bottom: 14px;
    padding: 11px 12px;
}
.itemshop-campaign-actions-config > label { display: block; font-size: 10px; font-weight: 600; margin-bottom: 9px; }
.itemshop-campaign-actions-config .form-group { margin: 11px 0; }
.itemshop-campaign-actions-config small { color: #7f9197; display: block; font-size: 9px; margin-top: 3px; }
.itemshop-campaign-table { margin-bottom: 0; }
.itemshop-campaign-table th { color: #607880; font-size: 9px; }
.itemshop-campaign-table td { font-size: 10px; vertical-align: middle !important; }
.itemshop-campaign-table td small { color: #83949a; font-size: 9px; }
@media (max-width: 991px) {
    .itemshop-collection-picker-toolbar { grid-template-columns: 1fr 1fr; }
    .itemshop-collection-picker-actions { grid-column: 1 / -1; }
    .itemshop-campaign-health { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
    .itemshop-collection-picker-toolbar { grid-template-columns: 1fr; }
    .itemshop-collection-picker-actions { grid-column: auto; }
}

/* Arsenal 1.7.1 - Purchase Center / Support Console */
.itemshop-support-filter {
    padding: 14px;
    margin: 12px 0 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}
.itemshop-support-detail {
    margin: 18px 0 24px;
    padding: 16px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
}
.itemshop-support-detail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.itemshop-support-detail__head h2 { margin: 2px 0 0; font-size: 22px; }
.itemshop-support-detail__head small { color: #777; letter-spacing: .08em; }
.itemshop-support-trait { display: inline-block; margin: 0 4px 4px 0; }
.itemshop-support-snapshot { margin: 14px 0; }
.itemshop-support-snapshot summary { cursor: pointer; font-weight: 600; }
.itemshop-support-snapshot pre { margin-top: 8px; max-height: 360px; overflow: auto; }
